/* ================================================
   maxim88-fishing.com — FOREST GREEN + GOLD
   Design language: Clean white body, forest green
   nav, gold accents. Aligns with homepage theme.
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --nav-bg:     #0b2e14;
  --surface:    #f3f4f6;
  --raised:     #e5e7eb;
  --gold:       #c9a028;
  --gold-hi:    #e8c444;
  --gold-lo:    #7a5f10;
  --gold-tint:  rgba(201,160,40,0.10);
  --gold-line:  rgba(201,160,40,0.30);
  --white:      #ffffff;
  --body-text:  #374151;
  --muted:      #6b7280;
  --heading:    #111827;
  --border:     #e5e7eb;
  --ease:       cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter',system-ui,sans-serif;
  font-size:1rem; line-height:1.75;
  color:var(--body-text); background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; height:auto; display:block; }
:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ── TOPBAR ── */
.topbar {
  background:#000; border-bottom:1px solid #1a1a1a;
  height:38px; display:flex; align-items:center; padding:0 24px;
}
.topbar-inner {
  max-width:1200px; width:100%; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
}
.tb-left { display:flex; align-items:center; gap:8px; }
.tb-flag { font-size:.9rem; }
.tb-loc { font-size:.7rem; color:#555; letter-spacing:.3px; }
.tb-clock {
  font-size:.72rem; font-weight:600; color:var(--gold);
  letter-spacing:.8px; font-family:'Montserrat',sans-serif;
}
.tb-right { display:flex; align-items:center; gap:10px; }

/* ── NAVBAR ── */
.site-header { position:sticky; top:0; z-index:1000; }
.navbar {
  background:var(--nav-bg);
  border-bottom:1px solid rgba(201,160,40,0.20);
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.navbar-inner {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; height:68px; gap:0;
}

.logo {
  display:flex; align-items:center; gap:10px;
  text-decoration:none; flex-shrink:0; margin-right:40px;
}
.logo-img { height:42px; width:auto; display:block; }

.main-nav {
  display:flex; list-style:none; flex:1; gap:0;
  overflow-x:auto; scrollbar-width:none;
}
.main-nav::-webkit-scrollbar { display:none; }
.main-nav li { padding:0; }
.main-nav li::before { display:none; }
.main-nav li a {
  display:block; padding:0 14px; line-height:68px;
  color:rgba(255,255,255,.65); text-decoration:none;
  font-size:.75rem; font-weight:600; letter-spacing:1.2px;
  text-transform:uppercase; white-space:nowrap;
  transition:color .15s var(--ease);
}
.main-nav li a:hover { color:var(--gold); }

.nav-cta { display:flex; align-items:center; gap:10px; margin-left:auto; flex-shrink:0; }
.btn-nav-login {
  color:rgba(255,255,255,.5); font-size:.75rem; font-weight:600;
  letter-spacing:.5px; text-decoration:none;
  transition:color .15s var(--ease);
}
.btn-nav-login:hover { color:#fff; }
.btn-nav-join {
  display:inline-block; padding:8px 20px;
  background:linear-gradient(135deg,var(--gold),var(--gold-hi));
  color:#000; font-family:'Montserrat',sans-serif;
  font-size:.72rem; font-weight:800; letter-spacing:1.2px;
  text-transform:uppercase; text-decoration:none;
  border-radius:4px;
  box-shadow:0 2px 14px rgba(201,160,40,.35);
  transition:box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn-nav-join:hover {
  box-shadow:0 4px 24px rgba(201,160,40,.55);
  transform:translateY(-1px); color:#000; text-decoration:none;
}

/* ── HERO ── */
.page-hero {
  background:
    radial-gradient(ellipse 55% 90% at 95% 50%, rgba(201,160,40,.07) 0%, transparent 70%),
    linear-gradient(160deg, #0d2912 0%, #0b2e14 55%);
  border-bottom:1px solid var(--gold-line);
  padding:5rem 24px 4.5rem;
  position:relative; overflow:hidden;
}
.page-hero::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.hero-wrap { max-width:780px; }

.hero-eyebrow {
  display:inline-block; margin-bottom:1.25rem;
  padding:5px 14px;
  border:1px solid var(--gold-line);
  background:var(--gold-tint);
  color:var(--gold); font-size:.7rem; font-weight:700;
  letter-spacing:2px; text-transform:uppercase; border-radius:3px;
}
.page-hero h1 {
  font-family:'Montserrat',sans-serif;
  font-size:clamp(2rem,4.5vw,3rem); font-weight:900;
  color:#fff; line-height:1.1; letter-spacing:-.5px;
  margin-bottom:1.25rem;
}
.hero-sub {
  font-size:1.05rem; color:rgba(255,255,255,.65); line-height:1.7;
  max-width:560px; margin-bottom:2rem;
}
.hero-btns { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:2.5rem; }
.btn-cta-main {
  display:inline-block; padding:14px 32px;
  background:linear-gradient(135deg,var(--gold),var(--gold-hi));
  color:#000; font-family:'Montserrat',sans-serif;
  font-size:.85rem; font-weight:800; letter-spacing:1px;
  text-transform:uppercase; text-decoration:none; border-radius:4px;
  box-shadow:0 4px 20px rgba(201,160,40,.4);
  transition:box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn-cta-main:hover {
  box-shadow:0 6px 32px rgba(201,160,40,.6);
  transform:translateY(-2px); color:#000; text-decoration:none;
}
.btn-cta-sec {
  display:inline-block; padding:13px 28px;
  border:1.5px solid var(--gold-line); color:var(--gold);
  font-size:.82rem; font-weight:600; letter-spacing:.5px;
  text-decoration:none; border-radius:4px;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-cta-sec:hover {
  border-color:var(--gold); background:var(--gold-tint);
  color:var(--gold-hi); text-decoration:none;
}

.trust-bar {
  display:flex; flex-wrap:wrap; gap:0; list-style:none;
  border:1px solid rgba(201,160,40,.25); border-radius:4px;
  overflow:hidden; width:fit-content;
}
.trust-bar li {
  padding:8px 18px; font-size:.72rem; font-weight:600;
  color:rgba(255,255,255,.55); letter-spacing:.5px;
  border-right:1px solid rgba(201,160,40,.2);
}
.trust-bar li::before { display:none; }
.trust-bar li:last-child { border-right:none; }

/* ── LAYOUT ── */
.content-wrap { max-width:860px; margin:0 auto; padding:3.5rem 24px 5rem; }
main { max-width:860px; margin:0 auto; padding:3rem 24px 4rem; }
body > nav[aria-label="Breadcrumb"] {
  background:#0d2912; width:100%; padding:.85rem 0 0;
}
body > nav[aria-label="Breadcrumb"] ol {
  max-width:860px; margin:0 auto; padding:0 24px; margin-bottom:0;
}
body > nav[aria-label="Breadcrumb"] li,
body > nav[aria-label="Breadcrumb"] li+li::before {
  color:rgba(255,255,255,.4);
}
body > nav[aria-label="Breadcrumb"] a {
  color:rgba(255,255,255,.4); font-weight:400;
}
body > nav[aria-label="Breadcrumb"] a:hover { color:var(--gold); }

/* ── TYPOGRAPHY ── */
h2 {
  font-family:'Montserrat',sans-serif;
  font-size:1.4rem; font-weight:800; color:var(--heading);
  margin:3.5rem 0 1.25rem; line-height:1.2; letter-spacing:-.2px;
  padding-bottom:.65rem; position:relative;
}
h2::after {
  content:''; display:block; position:absolute; bottom:0; left:0;
  width:40px; height:2px; background:var(--gold);
}
h3 {
  font-family:'Montserrat',sans-serif;
  font-size:1.05rem; font-weight:700; color:var(--heading);
  margin:2rem 0 .5rem;
}
p { margin-bottom:1.2rem; }
main > p:first-of-type { font-size:1.05rem; color:#4b5563; }
a { color:var(--gold-lo); text-decoration:none; font-weight:500; transition:color .15s; }
a:hover { color:var(--gold); text-decoration:underline; }
strong { color:var(--heading); font-weight:600; }

ul,ol { margin:0 0 1.4rem; padding:0; list-style:none; }
li { padding:.3rem 0 .3rem 1.4rem; position:relative; }
li::before {
  content:''; position:absolute; left:0; top:.85rem;
  width:5px; height:5px; background:var(--gold); border-radius:50%;
}
ol { counter-reset:lc; }
ol li { counter-increment:lc; }
ol li::before {
  content:counter(lc); background:var(--gold-tint); color:var(--gold-lo);
  border:1px solid var(--gold-line); border-radius:50%;
  width:20px; height:20px; font-size:.65rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; top:.52rem;
}

/* ── SECTION NAV ── */
nav[aria-label="Site sections"] {
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:1.25rem 0; margin-bottom:3rem;
}
nav[aria-label="Site sections"]::before {
  content:'Browse Sections';
  display:block; font-size:.65rem; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:var(--muted); margin-bottom:.75rem;
}
nav[aria-label="Site sections"] ul { display:flex; flex-wrap:wrap; gap:.4rem; list-style:none; margin:0; padding:0; }
nav[aria-label="Site sections"] li { padding:0; }
nav[aria-label="Site sections"] li::before { display:none; }
nav[aria-label="Site sections"] a {
  display:inline-block; padding:6px 16px;
  border:1px solid var(--border); border-radius:3px;
  background:var(--white);
  color:var(--muted); font-size:.8rem; font-weight:500;
  text-decoration:none; transition:all .15s var(--ease);
}
nav[aria-label="Site sections"] a:hover {
  border-color:var(--gold-line); color:var(--gold-lo);
  background:var(--gold-tint); text-decoration:none;
}

/* ── BREADCRUMB ── */
nav[aria-label="Breadcrumb"] ol {
  display:flex; flex-wrap:wrap; gap:.25rem;
  list-style:none; margin:0 0 2rem; padding:0;
  font-size:.78rem; color:var(--muted);
}
nav[aria-label="Breadcrumb"] li { padding:0; }
nav[aria-label="Breadcrumb"] li::before { display:none; }
nav[aria-label="Breadcrumb"] li+li::before { content:"›"; margin:0 .25rem; display:inline; }
nav[aria-label="Breadcrumb"] a { color:var(--muted); text-decoration:none; font-weight:400; }
nav[aria-label="Breadcrumb"] a:hover { color:var(--gold); }

/* ── FAQ ── */
#faq { margin-top:4rem; padding-top:2.5rem; border-top:1px solid var(--border); }
#faq h2 { color:var(--heading); }
#faq dl { margin-top:1.5rem; }
#faq dt {
  font-family:'Montserrat',sans-serif;
  font-weight:700; color:var(--heading); margin-top:1.75rem;
  font-size:.95rem; display:grid; grid-template-columns:auto 1fr;
  align-items:start; gap:.75rem;
}
#faq dt::before {
  content:'Q'; width:22px; height:22px; flex-shrink:0;
  background:var(--gold); color:#000; font-size:.65rem; font-weight:900;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin-top:1px;
}
#faq dd { margin:.5rem 0 0 2rem; color:var(--muted); font-size:.92rem; line-height:1.75; }

/* ── FOOTER ── */
.site-footer { background:#dde0db; border-top:2px solid var(--nav-bg); padding:3.5rem 24px 2.5rem; }
.footer-wrap { max-width:1200px; margin:0 auto; }
.footer-cols {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem; padding-bottom:2.5rem; margin-bottom:2rem;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.footer-col-brand { display:flex; flex-direction:column; gap:.75rem; }
.footer-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-img.footer-logo-img { height:36px; width:auto; display:block; }
.footer-about { font-size:.82rem; color:#555; line-height:1.6; max-width:240px; }
.footer-col-title {
  font-family:'Montserrat',sans-serif;
  font-size:.68rem; font-weight:700; letter-spacing:1.8px;
  text-transform:uppercase; color:#444;
  margin-bottom:1rem; display:block;
}
.footer-col ul { list-style:none; margin:0; padding:0; }
.footer-col li { margin-bottom:.5rem; padding:0; }
.footer-col li::before { display:none; }
.footer-col a { color:#555; font-size:.84rem; font-weight:500; text-decoration:none; transition:color .15s; }
.footer-col a:hover { color:var(--gold); }
.footer-legal { display:flex; flex-direction:column; gap:.6rem; }
.footer-disclaimer { font-size:.74rem; color:#555; line-height:1.7; }
.footer-copy { font-size:.72rem; color:#666; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .footer-cols { grid-template-columns:1fr 1fr 1fr; gap:2rem; }
}
@media (max-width:768px) {
  .topbar { display:none; }
  .navbar-inner { padding:0 16px; height:60px; }
  .main-nav { display:none; }
  .logo { margin-right:0; }
  .page-hero { padding:3rem 16px 2.5rem; }
  .page-hero h1 { font-size:clamp(1.7rem,6vw,2.2rem); }
  .content-wrap { padding:2.5rem 16px 3.5rem; }
  .footer-cols { grid-template-columns:1fr 1fr; gap:2rem; }
  .site-footer { padding:2.5rem 16px 2rem; }
  .trust-bar { flex-wrap:wrap; width:100%; }
  .trust-bar li { border-bottom:1px solid rgba(201,160,40,.15); border-right:none; flex:1 0 40%; }
}
@media (max-width:480px) {
  .hero-btns { flex-direction:column; align-items:flex-start; }
  .btn-cta-main,.btn-cta-sec { width:100%; text-align:center; }
  .footer-cols { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════════════
   CONTENT DESIGN SYSTEM
   Article card · TOC · Step cards · Callout boxes
   ═══════════════════════════════════════════════════════ */

/* ── ARTICLE CARD CONTAINER ── */
article {
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:2.5rem 3rem;
  box-shadow:0 2px 20px rgba(0,0,0,.06);
  margin-bottom:2rem;
}

/* ── TABLE OF CONTENTS ── */
.toc-nav {
  background:linear-gradient(135deg,rgba(11,46,20,.04),rgba(11,46,20,.01));
  border:1px solid var(--border);
  border-left:3px solid var(--gold);
  border-radius:0 6px 6px 0;
  padding:1.4rem 1.75rem;
  margin-bottom:2.5rem;
}
.toc-title {
  font-family:'Montserrat',sans-serif;
  font-size:.72rem; font-weight:700; letter-spacing:1.8px;
  text-transform:uppercase; color:var(--muted);
  margin-bottom:.9rem; display:block;
}
.toc-nav ol {
  margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:.3rem;
}
.toc-nav li { padding:0; counter-increment:none; }
.toc-nav li::before { display:none; }
.toc-nav a {
  color:var(--body-text); font-size:.88rem; font-weight:500;
  text-decoration:none; display:flex; align-items:center; gap:.65rem;
  transition:color .15s;
}
.toc-nav a::before {
  content:''; display:inline-block;
  width:5px; height:5px; border-radius:50%;
  background:var(--gold); flex-shrink:0;
}
.toc-nav a:hover { color:var(--gold); text-decoration:none; }

/* ── STEP CARDS ── */
.step-card {
  display:flex; align-items:flex-start; gap:1.25rem;
  background:#fff; border:1px solid var(--border);
  border-radius:8px; padding:1.25rem 1.5rem;
  margin:.75rem 0 1.25rem;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  transition:box-shadow .2s;
}
.step-card:hover { box-shadow:0 4px 18px rgba(0,0,0,.09); }
.step-badge {
  flex-shrink:0; width:38px; height:38px;
  background:linear-gradient(135deg,var(--nav-bg),#1e6b36);
  color:#fff; font-family:'Montserrat',sans-serif;
  font-size:.8rem; font-weight:900; letter-spacing:.5px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 8px rgba(11,46,20,.3);
}
.step-content { flex:1; line-height:1.75; }
.step-content strong:first-child {
  display:block; color:var(--heading);
  font-family:'Montserrat',sans-serif;
  font-size:.92rem; margin-bottom:.3rem;
}

/* ── TIP / CALLOUT BOXES ── */
.callout-tip {
  background:rgba(201,160,40,.06);
  border-left:3px solid var(--gold);
  border-radius:0 6px 6px 0;
  padding:1rem 1.4rem; margin:1.5rem 0;
}
.callout-tip strong:first-child {
  color:var(--gold-lo); font-family:'Montserrat',sans-serif;
  font-size:.78rem; letter-spacing:.5px; text-transform:uppercase;
}

/* ── HIDE ARTICLE H1 WHEN PAGE HERO IS PRESENT ── */
section.page-hero ~ main article h1 { font-family:'Montserrat',sans-serif; font-size:1.55rem; font-weight:900; color:var(--heading); margin:0 0 1.5rem; line-height:1.2; padding-bottom:.6rem; position:relative; }
section.page-hero ~ main article h1::after { content:''; display:block; position:absolute; bottom:0; left:0; width:44px; height:3px; background:var(--gold); }

/* ── SECTION DIVIDERS (article-scoped h2) ── */
article h2 {
  border-top:1px solid var(--border);
  padding-top:2.5rem;
}
article h2:first-of-type { border-top:none; padding-top:0; }

/* ── INTERNAL LINKS ── */
article a:not([class]) {
  color:var(--gold-lo); font-weight:500; text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .15s,border-color .15s;
}
article a:not([class]):hover {
  color:var(--gold); border-bottom-color:var(--gold-line);
  text-decoration:none;
}

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  main { padding:2rem 16px 3.5rem; }
  body > nav[aria-label="Breadcrumb"] ol { padding:0 16px; }
  article { padding:1.5rem 1.25rem; border-radius:6px; }
  .step-card { flex-direction:column; gap:.85rem; }
  .step-badge { width:32px; height:32px; font-size:.75rem; }
}

/* ── HERO TITLE (p.hero-title replaces h1 in hero — keeps single H1 in article) ── */
.page-hero .hero-title {
  font-family:'Montserrat',sans-serif;
  font-size:clamp(2rem,4.5vw,3rem); font-weight:900;
  color:#fff; line-height:1.1; letter-spacing:-.5px;
  margin-bottom:1.25rem;
}
