@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy:    #0a1628;
  --navy2:   #132240;
  --teal:    #0d9488;
  --teal-l:  #5eead4;
  --teal-xl: #f0fdfa;
  --sky:     #0ea5e9;
  --cream:   #f8f6f1;
  --amber:   #d97706;
  --amber-l: #fef3c7;
  --white:   #ffffff;
  --grey:    #f1f5f9;
  --border:  #e2e8f0;
  --muted:   #64748b;
  --text:    #0f172a;
  --sage:    #16a34a;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(10,22,40,.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,.16);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
a:hover { opacity: .85; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(1.8rem,5vw,3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; }
h3 { font-size: clamp(1rem,2vw,1.35rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--muted); }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.25rem; }
li { font-size: .93rem; line-height: 1.75; color: var(--muted); margin-bottom: .35rem; }
strong { color: var(--text); font-weight: 700; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ── TRUST BAR ── */
.trust-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 10px 5%; background: var(--navy2); border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-item { display: flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .04em; }
.trust-item span { font-size: .9rem; }

/* ── DISCLAIMER BAR ── */
.disclaimer-bar { background: #fef3c7; border-top: 3px solid #d97706; padding: 10px 5%; text-align: center; }
.disclaimer-bar p { font-size: .78rem; color: #92400e; margin: 0; line-height: 1.5; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(10,22,40,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-weight: 700; color: white; font-size: .95rem; line-height: 1.1; }
.logo-sub { font-size: .62rem; color: var(--teal-l); font-weight: 600; letter-spacing: .03em; }
.nav-links { display: flex; list-style: none; gap: .25rem; padding: 0; margin: 0; }
.nav-links a { padding: .4rem .85rem; border-radius: 8px; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.75); transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,.08); }
.nav-pill { background: var(--teal) !important; color: white !important; font-weight: 600 !important; }
.nav-pill:hover { background: #0f766e !important; opacity: 1 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 999;
  flex-direction: column; background: var(--navy); padding: 1.5rem 5%;
  overflow-y: auto; gap: .25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .85rem 1rem; border-radius: 10px; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu a:hover { color: white; background: rgba(255,255,255,.06); }
.mob-pill { background: var(--teal); color: white !important; text-align: center; margin-top: .5rem; border-radius: 10px; border-bottom: none !important; }

/* ── BODY TOP PADDING (for fixed nav) ── */
body { padding-top: 68px; }

/* ── HERO VARIANTS ── */
.hero-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: white; padding: 80px 5% 60px; position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(13,148,136,.15), transparent 60%),
              radial-gradient(ellipse 50% 50% at 10% 70%, rgba(14,165,233,.1), transparent 60%);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2rem,4.5vw,3.2rem); color: white; margin-bottom: 14px; }
.hero-title em { font-style: italic; font-weight: 400; background: linear-gradient(135deg,var(--teal-l),var(--sky)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 620px; margin-bottom: 28px; }
.topic-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(13,148,136,.12); border: 1px solid rgba(13,148,136,.25); border-radius: 100px; padding: 5px 14px; margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-l); }

/* ── TOPIC PAGE CSS ── */
.topic-hero { background: var(--navy); padding: 100px 5% 60px; position: relative; overflow: hidden; }
.topic-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(13,148,136,.15), transparent 55%), radial-gradient(ellipse 50% 50% at 10% 70%, rgba(14,165,233,.1), transparent 55%); }
.topic-hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.topic-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.topic-hero-title { font-family: var(--font-head); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; color: white; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.topic-hero-title em { font-style: italic; font-weight: 400; background: linear-gradient(135deg,var(--teal-l),var(--sky)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.topic-hero-sub { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.topic-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.topic-meta-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.5); }
.topic-meta-item span { color: var(--teal-l); font-weight: 600; }
.topic-author-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px; }
.topic-author-img { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.topic-author-img img { width: 100%; height: 100%; object-fit: cover; }
.topic-author-name { font-size: .95rem; font-weight: 700; color: white; margin-bottom: 2px; }
.topic-author-role { font-size: .75rem; color: var(--teal-l); font-weight: 600; margin-bottom: 12px; }
.topic-author-creds { display: flex; flex-direction: column; gap: 6px; }
.topic-author-cred { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: rgba(255,255,255,.55); }
.topic-author-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal-l); flex-shrink: 0; }
.topic-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 60px 5%; align-items: start; background: var(--cream); }
.topic-content h2 { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.topic-content h2:first-child { margin-top: 0; }
.topic-content h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); margin: 24px 0 8px; }
.topic-content p { font-size: .95rem; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.topic-content ul, .topic-content ol { margin: 0 0 16px 20px; }
.topic-content li { font-size: .9rem; line-height: 1.8; color: var(--muted); margin-bottom: 5px; }
.topic-content strong { color: var(--text); font-weight: 700; }
.key-facts-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0; }
.key-fact-card { background: var(--grey); border-radius: 14px; padding: 18px; text-align: center; }
.key-fact-icon { font-size: 1.75rem; margin-bottom: 8px; }
.key-fact-title { font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.key-fact-desc { font-size: .72rem; color: var(--muted); line-height: 1.5; }
.topic-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.sidebar-card-title { font-size: .72rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.sidebar-toc a { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); }
.sidebar-toc a:last-child { border-bottom: none; }
.sidebar-toc a:hover { color: var(--teal); }
.sidebar-toc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.sidebar-source { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--border); }
.sidebar-source:last-child { border-bottom: none; }
.sidebar-source-badge { font-size: .65rem; font-weight: 700; background: var(--teal-xl); color: var(--teal); padding: 2px 7px; border-radius: 4px; flex-shrink: 0; }
.sidebar-cta { background: var(--navy); border-radius: 16px; padding: 22px; }
.sidebar-cta-title { font-size: .9rem; font-weight: 700; color: white; margin-bottom: 6px; }
.sidebar-cta-desc { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.5; margin-bottom: 14px; }
.sidebar-cta-btn { display: block; text-align: center; background: linear-gradient(135deg,var(--teal),var(--sky)); color: white; padding: 10px 14px; border-radius: 9px; font-size: .82rem; font-weight: 700; }

/* ── CALLOUTS ── */
.callout { border-radius: 14px; padding: 18px 22px; margin: 22px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.callout-title { font-size: .82rem; font-weight: 700; margin-bottom: 5px; }
.callout-text { font-size: .82rem; line-height: 1.65; }
.callout-teal { background: var(--teal-xl); border-left: 4px solid var(--teal); }
.callout-teal .callout-title { color: var(--teal); }
.callout-teal .callout-text { color: #1e4d4a; }
.callout-amber { background: var(--amber-l); border-left: 4px solid var(--amber); }
.callout-amber .callout-title { color: var(--amber); }
.callout-amber .callout-text { color: #78350f; }
.callout-red { background: #fee2e2; border-left: 4px solid #dc2626; }
.callout-red .callout-title { color: #dc2626; }
.callout-red .callout-text { color: #7f1d1d; }
.callout-navy { background: var(--navy); border-left: 4px solid var(--teal-l); }
.callout-navy .callout-title { color: var(--teal-l); }
.callout-navy .callout-text { color: rgba(255,255,255,.7); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s; border: 2px solid transparent; }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: #0f766e; color: white; opacity: 1; }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: white; opacity: 1; }
.btn-ghost { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.2); }
.btn-ghost:hover { background: rgba(255,255,255,.18); opacity: 1; }
.btn-red { background: #ef4444; color: white; }
.btn-red:hover { background: #dc2626; opacity: 1; }

/* ── CARDS ── */
.card { background: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.topic-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; display: block; text-decoration: none; cursor: pointer; }
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.topics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.topic-link { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 600; color: var(--teal); }

/* ── FILTER TABS ── */
.filter-btn { padding: .45rem 1.1rem; border-radius: 20px; border: 2px solid var(--border); background: white; font-size: .82rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }

/* ── AGE PILLS ── */
.age-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.age-pill { padding: .5rem 1.1rem; border-radius: 20px; border: 2px solid var(--border); background: white; font-size: .82rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.age-pill.active { background: var(--teal); color: white; border-color: var(--teal); }

/* ── SYMPTOM CHECKER ── */
.symptom-step { background: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 18px; }
.symptom-step-hdr { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: white; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-title { font-family: var(--font-head); font-size: 1rem; color: var(--navy); font-weight: 600; }
.sym-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 10px; }
.sym-btn { background: var(--grey); border: 2px solid transparent; border-radius: 12px; padding: 14px 8px; text-align: center; cursor: pointer; transition: all .2s; font-family: var(--font-body); }
.sym-btn:hover { border-color: var(--teal); background: var(--teal-xl); }
.sym-btn.sel { border-color: var(--teal); background: var(--teal-xl); }
.sym-icon { font-size: 1.75rem; margin-bottom: 5px; }
.sym-name { font-size: .75rem; font-weight: 600; color: var(--navy); }
.result-card { background: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); animation: fadeUp .3s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* ── SAFETY CHECKER ── */
.safety-input { width: 100%; padding: .85rem 1rem; border: 2px solid var(--border); border-radius: 10px; font-family: var(--font-body); font-size: .95rem; transition: border-color .2s; }
.safety-input:focus { outline: none; border-color: var(--teal); }
.loading-ring { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TESTIMONIALS ── */
.testimonial-card { background: white; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content:'"'; font-family: var(--font-head); font-size: 3.5rem; color: var(--teal); opacity:.15; position: absolute; top: 10px; left: 18px; line-height: 1; }
.testimonial-stars { color: #f59e0b; font-size: .9rem; margin-bottom: 10px; }
.testimonial-text { font-size: .9rem; line-height: 1.75; color: var(--muted); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .85rem; color: var(--navy); }
.testimonial-role { font-size: .72rem; color: var(--muted); }

/* ── VIDEO CARDS ── */
.video-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.video-thumb { position: relative; }
.video-thumb-img { width: 100%; height: 190px; object-fit: cover; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); }
.video-play-btn span { width: 52px; height: 52px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.video-card-body { padding: 18px; }
.video-stat { background: var(--teal); color: white; font-size: .68rem; font-weight: 700; padding: .2rem .6rem; border-radius: 20px; display: inline-block; margin-bottom: .5rem; }

/* ── BLOG ── */
.blog-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 170px; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-tag { background: var(--teal-xl); color: var(--teal); font-size: .68rem; font-weight: 700; padding: .2rem .6rem; border-radius: 20px; text-transform: uppercase; display: inline-block; margin-bottom: .5rem; }
.blog-title { font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: .4rem; line-height: 1.3; }
.blog-excerpt { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.blog-meta { font-size: .72rem; color: var(--muted); display: flex; gap: 1rem; }

/* ── EMERGENCY TOPICS ── */
.emergency-card { background: white; border-radius: 16px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); border-left: 4px solid #ef4444; }
.emergency-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; letter-spacing: -.01em; }
.emg-step { display: flex; align-items: flex-start; gap: .65rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .83rem; color: var(--muted); }
.emg-step:last-child { border-bottom: none; }
.emg-num { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: white; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 32px 5%; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { font-size: .82rem; line-height: 1.6; }
.footer-brand strong { color: white; }
.footer-links { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-links a:hover { color: white; }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-bubble { background: white; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 32px rgba(0,0,0,.15); display: none; max-width: 240px; animation: fadeUp .3s ease; }
.wa-bubble.open { display: block; }
.wa-bubble-title { font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.wa-bubble-msg { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.wa-bubble-btn { display: block; text-align: center; background: #25D366; color: white; padding: 8px 12px; border-radius: 8px; font-size: .8rem; font-weight: 700; }
.wa-btn { width: 54px; height: 54px; border-radius: 50%; background: #25D366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s; position: relative; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }
.wa-badge { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: #ef4444; border: 2px solid white; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; color: white; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION TOPIC GROUPING ── */
.topic-section-hdr { display: flex; align-items: center; gap: 10px; margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.topic-section-icon { font-size: 1.25rem; }
.topic-section-title { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.topic-section-count { font-size: .72rem; color: var(--muted); background: var(--grey); padding: .15rem .6rem; border-radius: 20px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET 768px
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topic-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .topic-author-card { display: none; }
  .topic-layout { grid-template-columns: 1fr; padding: 36px 1.25rem; gap: 28px; }
  .topic-sidebar { position: static; }
  .toc-hidden-mobile { display: none; }
  .key-facts-strip { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: repeat(2,1fr); }
  .hero-dark { padding: 56px 1.25rem 44px; }
  .topic-hero { padding: 80px 1.25rem 44px; }
  .logo-sub { display: none; }
  footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: .65rem; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE 480px
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  body { padding-top: 60px; }
  nav { height: 60px; }
  .mobile-menu { top: 60px; }
  .trust-bar { gap: .35rem 1rem; padding: 8px 1rem; }
  .trust-item { font-size: .65rem; }
  section, .hero-dark { padding-left: 1rem; padding-right: 1rem; }
  .grid-3, .grid-4, .topics-grid { grid-template-columns: 1fr; }
  .key-facts-strip { grid-template-columns: 1fr; }
  .sym-grid { grid-template-columns: repeat(2,1fr); }
  .age-pills { gap: .4rem; }
  .age-pill { font-size: .78rem; padding: .4rem .85rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .topic-layout { padding: 28px 1rem; }
  .topic-hero { padding: 72px 1rem 36px; }
  .wa-float { bottom: 16px; right: 16px; }
  .hero-title { font-size: 1.75rem; }
}

/* iPad landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .topic-layout { grid-template-columns: 1fr 260px; gap: 32px; }
}
