/* SSSIHMS Whitefield — site stylesheet
   Implements the "Sacred Warmth" variation chosen in the Claude Design project
   (design-handoff/sssihms-website/project/SSSIHMS Website.html, theme-a),
   resolved as the ONLY theme (theme-b / "Dignified Modern" has been dropped). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

:root {
  --bg: #f9f5ef; --bg-alt: #f0e8d6; --bg-dark: #2c1a0e; --bg-card: #fefcf8;
  --primary: #c8813a; --pd: #7a4a2e; --pl: #f0d5b0;
  --text: #2a1f14; --tm: #7a6a55; --border: #e0d5c0;
  --nav-bg: #2c1a0e; --nav-text: #f0d5b0;
  --hero-ov: rgba(44,26,14,0.54);
  --f-head: 'EB Garamond', Georgia, serif;
  --f-body: 'Nunito Sans', system-ui, sans-serif;
  --r: 10px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--f-body); line-height: 1.65; min-height: 100vh; }
h1,h2,h3,h4 { font-family: var(--f-head); line-height: 1.2; }

/* ── LAYOUT ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: white; }

/* ── TYPE ── */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; display: block; font-family: var(--f-body); }
.eyebrow::before { content: '◆  '; font-size: 8px; }
.section-title { font-size: clamp(26px,3.5vw,42px); font-weight: 600; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--tm); max-width: 580px; line-height: 1.75; }

/* ── PILLS ── */
.free-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; font-family: var(--f-body); white-space: nowrap; }
.free-pill-sm { display: inline-flex; align-items: center; background: var(--pl); color: var(--pd); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; white-space: nowrap; font-family: var(--f-body); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: 14px; padding: 11px 26px; border-radius: 6px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline-w { border: 2px solid rgba(255,255,255,.6); color: white; background: transparent; }
.btn-outline-w:hover { background: rgba(255,255,255,.14); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--pd); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.88); }
.btn-inv { background: rgba(255,255,255,.14); color: white; border: 1px solid rgba(255,255,255,.28); font-size: 13px; padding: 9px 20px; }
.btn-inv:hover { background: rgba(255,255,255,.26); }

/* ── TOP BAR ── */
.topbar { background: var(--nav-bg); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--nav-text); font-weight: 500; flex-wrap: wrap; gap: 4px 14px; }
.topbar-inner > span { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 720px) { .topbar-inner > span:first-child { display: none; } .topbar-inner { justify-content: center; } }
.topbar a, .topbar button { color: inherit; opacity: .85; }
.topbar a:hover, .topbar button:hover { opacity: 1; color: var(--primary); }
.tb-sep { margin: 0 10px; opacity: .35; }

/* ── NAV ── */
.navbar { background: var(--nav-bg); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 24px rgba(0,0,0,.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; max-width: 1200px; margin: 0 auto; height: 66px; }
.nav-brand { cursor: pointer; display: flex; align-items: center; gap: 8px; }
.nav-logo { height: 46px; width: auto; display: block; background: #fff; padding: 5px 12px; border-radius: 6px; }
@media (max-width: 960px) { .nav-logo { height: auto; width: auto; max-height: 40px; max-width: 60vw; } }
.nav-emblem { color: var(--primary); font-size: 21px; line-height: 1; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; color: var(--nav-text); font-family: var(--f-head); font-size: 21px; font-weight: 700; line-height: 1.02; letter-spacing: .01em; }
.nav-logo-sub { font-family: var(--f-body); font-size: 9.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; opacity: .62; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-btn { color: var(--nav-text); font-size: 13px; font-weight: 600; padding: 8px 11px; border-radius: 5px; display: flex; align-items: center; gap: 4px; transition: background .15s; white-space: nowrap; background: none; border: none; cursor: pointer; font-family: var(--f-body); }
.nav-btn:hover, .nav-btn.active { background: rgba(255,255,255,.12); color: white; }
.nav-btn svg { opacity: .55; flex-shrink: 0; }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 6px; min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .15s, transform .15s; z-index: 300; }
.nav-item:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 8px 12px; color: var(--text); font-size: 13px; border-radius: 5px; transition: background .1s; background: none; border: none; cursor: pointer; font-family: var(--f-body); }
.dropdown a:hover, .dropdown button:hover { background: var(--bg-alt); color: var(--primary); }
.nav-cta { background: var(--primary) !important; color: #fff !important; padding: 8px 18px !important; border-radius: 6px !important; margin-left: 6px; border: none; }
.nav-cta:hover { filter: brightness(1.1) !important; }
.nav-hamburger { display: none; color: var(--nav-text); padding: 8px; }
@media (max-width: 960px) { .nav-links { display: none; } .nav-hamburger { display: flex; } }

/* ── DROPDOWN HOVER BRIDGE (keeps menu open across the gap so items are clickable) ── */
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav-item:focus-within .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

/* ── NESTED DROPDOWN FLYOUT ── */
.dd-item { position: relative; }
.dd-item > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dd-arrow { opacity: .45; font-size: 14px; line-height: 1; }
.dd-flyout { position: absolute; top: -6px; left: calc(100% + 2px); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 6px; min-width: 200px; box-shadow: 0 8px 32px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transform: translateX(-4px); transition: opacity .15s, transform .15s; z-index: 310; }
.dd-flyout::before { content: ''; position: absolute; top: 0; bottom: 0; left: -8px; width: 10px; }
.dd-item:hover > .dd-flyout, .dd-item:focus-within > .dd-flyout { opacity: 1; pointer-events: all; transform: translateX(0); }
/* flyouts near the right edge open leftwards */
.nav-item:nth-last-child(-n+3) .dd-flyout { left: auto; right: calc(100% + 2px); }
.nav-item:nth-last-child(-n+3) .dd-flyout::before { left: auto; right: -8px; }

/* ── HERO (image banner, text below) ── */
.hero { background: var(--bg); }
.hero-banner { width: 100%; height: clamp(260px,40vw,500px); overflow: hidden; background: var(--bg-dark); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
.hero-text { max-width: 840px; margin: 0 auto; text-align: center; padding: 52px 28px 8px; }
.hero-text h1 { font-size: clamp(30px,4.6vw,52px); font-weight: 600; color: var(--text); line-height: 1.14; margin: 18px 0 18px; }
.hero-desc { color: var(--tm); font-size: 17px; line-height: 1.75; margin: 0 auto 28px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px) { .hero-text { padding: 36px 22px 6px; } }
.hero-overlay { background: var(--hero-ov), repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(200,129,58,.025) 60px, rgba(200,129,58,.025) 61px); }

/* ── INNER-PAGE SECTION SYSTEM ── */
.prose-p { font-size: 15px; color: var(--tm); line-height: 1.8; margin-bottom: 14px; }
.banner-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 9px; }
.banner-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.full-banner { width: 100%; height: clamp(220px,32vw,360px); overflow: hidden; background: var(--bg-dark); }
.full-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.auto-grid { display: grid; grid-template-columns: repeat(var(--cols,3), 1fr); gap: 20px; }
@media (max-width: 900px) { .auto-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .auto-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border-top: 3px solid var(--primary); }
.info-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.info-card-icon { font-size: 26px; color: var(--primary); line-height: 1; margin-bottom: 12px; font-family: var(--f-head); }
.info-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.info-card-head h3 { font-family: var(--f-head); font-size: 20px; color: var(--pd); line-height: 1.25; }
.info-card p { font-size: 13.5px; color: var(--tm); line-height: 1.65; flex: 1; }
.info-card .btn { margin-top: 16px; align-self: flex-start; font-size: 12.5px; padding: 9px 18px; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.intro-media { border-radius: var(--r); overflow: hidden; min-height: 300px; background: var(--bg-alt); }
.intro-media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; display: block; }
.media-fallback { position: relative; min-height: 300px; background-image: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 14px, var(--border) 14px, var(--border) 15px); display: flex; align-items: center; justify-content: center; }
.media-fallback::after { content: attr(data-label); font-family: ui-monospace, 'SFMono-Regular', monospace; font-size: 12px; color: var(--tm); background: var(--bg); padding: 5px 12px; border-radius: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px 28px; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.55; padding: 13px 0; border-bottom: 1px solid var(--border); }
.feature-tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--pl); color: var(--pd); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .split-grid { grid-template-columns: 1fr; gap: 32px; } }
.split-title { font-family: var(--f-head); font-size: clamp(22px,2.6vw,30px); font-weight: 600; margin-bottom: 12px; line-height: 1.2; }

.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 26px; border-left: 3px solid var(--primary); }
.t-quote { font-family: var(--f-head); font-size: 52px; line-height: .5; color: var(--primary); opacity: .4; display: block; height: 26px; }
.t-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.t-attr { display: flex; flex-direction: column; gap: 2px; }
.t-attr strong { font-size: 13.5px; color: var(--pd); }
.t-attr span { font-size: 12px; color: var(--tm); }

.faculty-card { display: flex; gap: 14px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.faculty-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--pl); color: var(--pd); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-head); flex-shrink: 0; }
.faculty-name { font-size: 14px; font-weight: 700; color: var(--text); }
.faculty-role { font-size: 12px; color: var(--tm); }

/* ── FREE STRIP ── */
.free-strip { background: var(--primary); color: white; padding: 16px 0; }
.free-strip-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.fi { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 4px 20px; letter-spacing: .02em; border-right: 1px solid rgba(255,255,255,.25); }
.fi:last-child { border-right: none; }
@media (max-width: 640px) { .fi { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); width: 100%; justify-content: center; } }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 22px; text-align: center; border-top: 3px solid var(--primary); }
.stat-val { font-family: var(--f-head); font-size: 46px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 7px; }
.stat-lbl { font-size: 12.5px; color: var(--tm); font-weight: 600; letter-spacing: .02em; line-height: 1.45; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ── SPECIALTIES ── */
.spec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.spec-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; cursor: pointer; border-top: 3px solid var(--primary); }
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.1); }
.spec-img { width: 100%; height: 148px; object-fit: cover; }
.spec-body { padding: 18px; }
.spec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.spec-name { font-family: var(--f-head); font-size: 21px; color: var(--pd); line-height: 1.2; }
.spec-desc { font-size: 13px; color: var(--tm); line-height: 1.65; }
.spec-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--primary); font-family: var(--f-body); letter-spacing: .02em; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .spec-grid { grid-template-columns: 1fr; } }

/* ── PHILOSOPHY ── */
.phil-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-mark { font-family: var(--f-head); font-size: 100px; line-height: .8; color: var(--primary); opacity: .45; margin-bottom: 4px; display: block; }
.quote-text { font-family: var(--f-head); font-size: clamp(17px,2.2vw,23px); font-style: italic; line-height: 1.65; color: rgba(255,255,255,.93); margin-bottom: 22px; }
.quote-attr { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); opacity: .9; font-family: var(--f-body); }
.phil-img { width: 100%; height: 420px; object-fit: cover; object-position: top center; border-radius: var(--r); }
@media (max-width: 768px) { .phil-inner { grid-template-columns: 1fr; gap: 32px; } .phil-img { height: 260px; } }

/* ── BHAGAWAN ── */
.bhag-inner { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: start; }
.bhag-portrait { border-radius: var(--r); overflow: hidden; height: 380px; background: var(--bg-alt); }
.bhag-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bhag-content h2 { margin-bottom: 16px; }
.bhag-content p { font-size: 15px; color: var(--tm); line-height: 1.8; margin-bottom: 14px; }
@media (max-width: 768px) { .bhag-inner { grid-template-columns: 1fr; } .bhag-portrait { height: 300px; } }

/* ── ACADEMICS ── */
.acad-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.acad-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.acad-icon { min-width: 48px; height: 48px; background: var(--pl); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-family: var(--f-head); color: var(--pd); flex-shrink: 0; }
.acad-body h3 { font-family: var(--f-head); font-size: 20px; margin-bottom: 8px; line-height: 1.25; }
.acad-body p { font-size: 13px; color: var(--tm); line-height: 1.65; }
@media (max-width: 768px) { .acad-grid { grid-template-columns: 1fr; } }

/* ── PATIENTS ── */
.pat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 22px; text-align: center; }
.pat-icon { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.pat-card h3 { font-family: var(--f-head); font-size: 21px; margin-bottom: 10px; }
.pat-card p { font-size: 13.5px; color: var(--tm); line-height: 1.65; }
.pat-card .btn { margin-top: 18px; font-size: 13px; }
@media (max-width: 768px) { .pat-grid { grid-template-columns: 1fr; } }

/* ── GET INVOLVED ── */
.inv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.inv-card { background: var(--pd); border-radius: var(--r); padding: 36px 26px; text-align: center; color: white; }
.inv-icon { font-size: 40px; margin-bottom: 14px; line-height: 1; opacity: .7; font-family: var(--f-head); }
.inv-card h3 { font-family: var(--f-head); font-size: 24px; color: white; margin-bottom: 10px; }
.inv-card p { font-size: 13.5px; opacity: .8; line-height: 1.65; margin-bottom: 20px; }
@media (max-width: 768px) { .inv-grid { grid-template-columns: 1fr; } }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; }
.news-tag { display: inline-block; background: var(--pl); color: var(--pd); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; font-family: var(--f-body); align-self: flex-start; }
.news-title { font-family: var(--f-head); font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.news-desc { font-size: 13px; color: var(--tm); line-height: 1.65; flex: 1; }
.news-date { font-size: 11.5px; color: var(--tm); margin-top: 14px; opacity: .65; font-weight: 600; font-family: var(--f-body); letter-spacing: .04em; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ── ADMISSIONS CTA ── */
.admit-section { background: linear-gradient(130deg, var(--primary) 0%, var(--pd) 100%); color: white; padding: 64px 0; }
.admit-inner { display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.admit-inner h2 { font-family: var(--f-head); font-size: clamp(22px,3vw,36px); color: white; margin-bottom: 10px; }
.admit-inner p { opacity: .88; font-size: 15px; line-height: 1.65; max-width: 600px; }
.admit-cta { flex-shrink: 0; }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-logo { height: 50px; background: #fff; padding: 6px 12px; border-radius: 6px; margin-bottom: 16px; display: block; }
.footer-tagline { font-size: 13px; opacity: .58; line-height: 1.75; }
.footer-free-badge { display: inline-block; margin-top: 16px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; font-family: var(--f-body); opacity: 1 !important; }
.footer-col h4 { font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-col button { font-size: 13px; opacity: .6; transition: opacity .15s, color .15s; display: inline; background: none; border: none; cursor: pointer; font-family: var(--f-body); color: inherit; padding: 0; }
.footer-col a:hover, .footer-col button:hover { opacity: 1; color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; opacity: .42; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── DEPARTMENT SUB-NAV ── */
.subnav { background: var(--bg-card); border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.subnav-inner { display: flex; gap: 2px; overflow-x: auto; }
.subnav-link { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--tm); padding: 14px 14px 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav-link:hover { color: var(--primary); }
.subnav-link.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ── STATS DASHBOARDS ── */
.dash-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dash-pill { font-family: var(--f-body); font-size: 12.5px; font-weight: 600; padding: 7px 15px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg-card); color: var(--tm); transition: all .15s; }
.dash-pill:hover { border-color: var(--primary); color: var(--primary); }
.dash-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.dash-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 32px rgba(0,0,0,.12); background: #0D2137; }

/* ── PAGE BANNER (inner pages) ── */
.page-banner { background: var(--bg-dark); color: white; padding: 56px 0; }
.page-banner h1 { font-family: var(--f-head); font-size: clamp(26px,4vw,46px); font-weight: 600; color: white; }
.breadcrumb { display: flex; align-items: center; font-size: 12.5px; opacity: .55; margin-bottom: 14px; font-family: var(--f-body); }
.breadcrumb a:hover { color: var(--primary); opacity: 1; }

/* ── MISC ── */
.section-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.section-hd-left { max-width: 600px; }
@media (prefers-reduced-motion: no-preference) {
  .spec-card { animation: fadeUp .45s ease both; }
  .stat-card { animation: fadeUp .4s ease both; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .mobile-menu.open { display: block; background: var(--nav-bg); border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 66px); overflow-y: auto; padding: 8px 0 20px; box-shadow: 0 16px 30px rgba(0,0,0,.3); }
}
.mm-group { border-bottom: 1px solid rgba(255,255,255,.07); }
.mm-head { display: block; width: 100%; text-align: left; color: #fff; font-weight: 700; font-size: 14px; padding: 13px 28px 7px; font-family: var(--f-body); }
.mm-subs { display: flex; flex-direction: column; padding-bottom: 8px; }
.mm-subs a { text-align: left; color: var(--nav-text); opacity: .72; font-size: 13.5px; padding: 8px 28px 8px 42px; font-family: var(--f-body); display: block; }
.mm-subs a:active, .mm-subs a:hover, .mm-head:hover { color: var(--primary); opacity: 1; }
.mm-cta { margin: 16px 28px 4px; width: calc(100% - 56px); justify-content: center; }
.nav-hamburger.open svg rect:nth-child(1) { transform: translateY(7px) rotate(45deg); transform-origin: center; }
.nav-hamburger.open svg rect:nth-child(2) { opacity: 0; }
.nav-hamburger.open svg rect:nth-child(3) { transform: translateY(-7px) rotate(-45deg); transform-origin: center; }
.nav-hamburger svg rect { transition: transform .2s, opacity .2s; }
