:root {
  --white: #ffffff;
  --g50:   #f8fafc;
  --g100:  #f1f5f9;
  --g200:  #e2e8f0;
  --g300:  #cbd5e1;
  --g400:  #94a3b8;
  --g500:  #64748b;
  --g600:  #475569;
  --g700:  #334155;
  --g800:  #1e293b;
  --g900:  #0f172a;
  --blue:     #2563eb;
  --blue-l:   #60a5fa;
  --blue-d:   #1d4ed8;
  --blue-bg:  #eff6ff;
  --dark:     #030712;
  --dark2:    #090e1b;
  --dark-card:#111827;
  --r:  16px;
  --rl: 32px;
  --shadow: 0 4px 24px rgba(0,0,0,.04);
  --shadow-md: 0 12px 48px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 64px rgba(0,0,0,.12);
  --theme-bg: #ffffff;
  --theme-surface: #ffffff;
  --theme-surface-soft: #f8fafc;
  --theme-border: #e2e8f0;
  --theme-text: #0f172a;
  --theme-muted: #475569;
  --theme-nav-glass: rgba(255,255,255,.34);
  --theme-nav-glass-strong: rgba(255,255,255,.82);
  --theme-nav-text: rgba(15,23,42,.88);
  --theme-nav-tel: rgba(15,23,42,.76);
  --theme-toggle-bg: linear-gradient(135deg, #87ceeb 0%, #bfe4f7 55%, #e1f5fe 100%);
  --theme-toggle-border: rgba(148,163,184,.4);
  --theme-toggle-shadow: 0 10px 24px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.5);
  --theme-toggle-panel: linear-gradient(180deg, #1e3a8a, #2563eb);
  --theme-toggle-panel-line: rgba(186,230,253,.55);
  --theme-toggle-thumb-bg: radial-gradient(circle at 30% 30%, #fff7d6, #fbbf24 60%, #f59e0b);
  --theme-toggle-thumb-glow: 0 0 14px rgba(251,191,36,.7), 0 4px 10px rgba(245,158,11,.4);
  --theme-toggle-rays: rgba(254,240,138,.9);
  --theme-toggle-cloud: rgba(255,255,255,.95);
  --theme-toggle-stars: #fef9c3;
}

html[data-theme='dark'] {
  color-scheme: dark;
  --g50: #07111f;
  --g100: #101b2d;
  --g200: #1c2a40;
  --g300: #31445f;
  --g400: #7f95b1;
  --g500: #9cb0c9;
  --g600: #bdd0e1;
  --g700: #d6e1ed;
  --g800: #ebf2fa;
  --g900: #f8fbff;
  --blue: #60a5fa;
  --blue-l: #93c5fd;
  --blue-d: #3b82f6;
  --blue-bg: rgba(96,165,250,.16);
  --shadow: 0 8px 30px rgba(0,0,0,.28);
  --shadow-md: 0 16px 48px rgba(0,0,0,.34);
  --shadow-lg: 0 24px 68px rgba(0,0,0,.42);
  --theme-bg: #050d19;
  --theme-surface: #0c1728;
  --theme-surface-soft: #0f1d31;
  --theme-border: #20324a;
  --theme-text: #f8fbff;
  --theme-muted: #bdd0e1;
  --theme-nav-glass: rgba(10,23,41,.76);
  --theme-nav-glass-strong: rgba(19,35,57,.96);
  --theme-nav-text: rgba(248,251,255,.92);
  --theme-nav-tel: rgba(222,233,245,.76);
  --theme-toggle-bg: linear-gradient(135deg, #060d1b 0%, #131f3a 55%, #1e3a5f 100%);
  --theme-toggle-border: rgba(96,165,250,.3);
  --theme-toggle-shadow: 0 12px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(147,197,253,.12);
  --theme-toggle-panel: linear-gradient(180deg, #0b1429, #18305a);
  --theme-toggle-panel-line: rgba(147,197,253,.55);
  --theme-toggle-thumb-bg: radial-gradient(circle at 35% 35%, #f8fafc, #cbd5e1 70%, #94a3b8);
  --theme-toggle-thumb-glow: 0 0 12px rgba(226,232,240,.45), inset -5px -2px 0 -1px #475569;
  --theme-toggle-rays: rgba(254,240,138,.9);
  --theme-toggle-cloud: rgba(255,255,255,0);
  --theme-toggle-stars: #fef9c3;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--theme-bg);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--theme-bg);
  color: var(--theme-text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; transition: filter 0.5s ease; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ─── UTILITY ─────────────────────────────────────────── */
.container   { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--g500); }
.fw-800      { font-weight: 800; }

.section        { padding: 8rem 2.5rem; }
.section--gray  { background: var(--g50); }
.section--dark  { background: var(--dark); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.2rem;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
.display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
}
.h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
}
.h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
}
.h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; line-height: 1.3;
}
.lead { font-size: 1.15rem; color: var(--g600); line-height: 1.7; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  font-weight: 700; font-size: .95rem;
  padding: 1rem 2rem; border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; position: relative; overflow: hidden;
  z-index: 1;
}
.btn-blue {
  background: var(--blue); color: var(--white);
  box-shadow: 0 8px 32px rgba(37,99,235,.2);
}
.btn-blue::before {
  content: ''; position: absolute; inset: 0; background: var(--blue-d);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn-blue:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,99,235,.3); }

.btn-outline {
  background: transparent; color: var(--g800);
  border: 2px solid var(--g200);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

.btn-white {
  background: var(--white); color: var(--blue);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(0,0,0,.15); }

.btn-sm { padding: .65rem 1.4rem; font-size: .85rem; }
.btn-lg { padding: 1.2rem 2.8rem; font-size: 1.05rem; }

/* ─── SITE HEADER NAV ────────────────────────────────── */
:root { --nav-h: 90px; }

.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 3.5rem; gap: 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav.nav-transparent { background: transparent; }
.site-nav.nav-solid {
  top: 18px;
  left: 18px;
  right: 18px;
  height: 68px;
  padding: 0 1rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(22,78,194,.94) 0%, rgba(37,99,235,.84) 32%, rgba(255,255,255,.90) 72%, rgba(255,255,255,.97) 100%);
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: 0 22px 54px rgba(15,23,42,.14);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  overflow: hidden;
}
.site-nav.nav-solid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.24), transparent 34%, rgba(255,255,255,.10) 78%, rgba(255,255,255,.22));
  pointer-events: none;
}
.site-nav.nav-solid > * {
  position: relative;
  z-index: 1;
}
.site-nav.scrolled {
  height: 76px;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 4px 30px rgba(0,0,0,.03);
}
.site-nav.nav-solid.scrolled {
  top: 12px;
  left: 12px;
  right: 12px;
  height: 64px;
  background:
    linear-gradient(90deg, rgba(23,84,208,.92) 0%, rgba(37,99,235,.80) 30%, rgba(255,255,255,.94) 74%, rgba(255,255,255,.98) 100%);
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
}

.nav-brand { display: flex; align-items: center; gap: 1rem; cursor: pointer; text-decoration: none; }
.nav-brand-img {
  height: 36px; width: auto; border-radius: 6px;
  object-fit: contain;
  transition: all 0.4s ease;
}
.site-nav.scrolled .nav-brand-img { height: 30px; }
.site-nav.nav-solid .nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  z-index: 10;
  min-width: 60px;
  min-height: 50px;
}
.site-nav.nav-solid .nav-brand-img {
  height: 40px;
}
.site-nav.nav-solid.scrolled .nav-brand-img {
  height: 36px;
}

.nav-links { flex: 1; display: flex; justify-content: center; gap: .5rem; }
.nav-lnk {
  padding: .6rem 1.2rem; font-size: .9rem; font-weight: 600;
  color: var(--g500); border-radius: 100px;
  transition: all 0.3s ease; position: relative;
}
.nav-lnk:hover { color: var(--blue); background: var(--blue-bg); }
.nav-lnk.active { color: var(--blue); background: var(--blue-bg); }
.site-nav.nav-transparent .nav-lnk { color: rgba(255,255,255,.8); }
.site-nav.nav-transparent .nav-lnk:hover { color: var(--white); background: rgba(255,255,255,.12); }
.site-nav.nav-transparent .nav-lnk.active { color: var(--white); background: rgba(255,255,255,.18); }
.site-nav.nav-solid .nav-links {
  justify-content: flex-start;
  gap: .45rem;
  flex: 1 1 auto;
}
.site-nav.nav-solid .nav-lnk {
  padding: .62rem .98rem;
  font-size: .82rem;
  background: rgba(255,255,255,.34);
  color: rgba(15,23,42,.88);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-nav.nav-solid .nav-lnk:hover,
.site-nav.nav-solid .nav-lnk.active {
  background: rgba(255,255,255,.82);
  color: var(--blue-d);
  border-color: rgba(255,255,255,.72);
  transform: translateY(-1px);
}

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-tel { font-weight: 700; font-size: .9rem; color: var(--g900); }
.site-nav.nav-transparent .nav-tel { color: var(--white); }
.site-nav.nav-solid .nav-right {
  gap: .8rem;
  margin-left: auto;
}
.site-nav.nav-solid .nav-tel {
  color: rgba(15,23,42,.76);
}
.site-nav.nav-solid .btn-sm {
  padding: .72rem 1.24rem;
  border-radius: 999px;
  background: rgba(37,99,235,.96);
  border: 1px solid rgba(37,99,235,.96);
  box-shadow: 0 12px 28px rgba(37,99,235,.24);
}

.theme-toggle {
  position: relative;
  width: 76px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: transparent;
  box-shadow: var(--theme-toggle-shadow);
  cursor: pointer;
  overflow: visible;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .35s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--theme-toggle-bg);
  transition: background .55s ease;
}
.theme-toggle-stars {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .45s ease;
}
.theme-toggle-stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--theme-toggle-stars);
  box-shadow: 0 0 6px rgba(254,240,138,.7);
  animation: tt-twinkle 2.4s ease-in-out infinite;
}
.theme-toggle-stars i:nth-child(1) { top: 7px; left: 38px; animation-delay: 0s; }
.theme-toggle-stars i:nth-child(2) { top: 22px; left: 46px; width: 3px; height: 3px; animation-delay: .6s; }
.theme-toggle-stars i:nth-child(3) { top: 11px; left: 54px; animation-delay: 1.2s; }
.theme-toggle-stars i:nth-child(4) { top: 24px; left: 62px; animation-delay: 1.8s; }
@keyframes tt-twinkle {
  0%, 100% { opacity: .35; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.15); }
}
.theme-toggle-clouds {
  position: absolute; inset: 0;
  transition: opacity .45s ease;
}
.theme-toggle-clouds i {
  position: absolute; background: var(--theme-toggle-cloud); border-radius: 999px;
  box-shadow: 4px 0 0 -1px var(--theme-toggle-cloud), -4px 0 0 -1px var(--theme-toggle-cloud);
}
.theme-toggle-clouds i:nth-child(1) {
  top: 9px; left: 40px; width: 10px; height: 4px;
  animation: tt-drift 7s ease-in-out infinite;
}
.theme-toggle-clouds i:nth-child(2) {
  top: 21px; left: 34px; width: 8px; height: 3px; opacity: .75;
  animation: tt-drift 9s ease-in-out infinite reverse;
}
@keyframes tt-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.theme-toggle-panel {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: var(--theme-toggle-panel);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 4px 8px rgba(15,23,42,.28), inset 0 0 6px rgba(255,255,255,.08);
  transform: translateY(-50%) perspective(40px) rotateX(10deg) skewX(-14deg);
  overflow: hidden;
  transition: right .55s cubic-bezier(0.16, 1, 0.3, 1), background .45s ease, box-shadow .45s ease;
}
.theme-toggle-panel i { position: absolute; background: var(--theme-toggle-panel-line); }
.theme-toggle-panel i:nth-child(1) { left: 6px; top: 0; bottom: 0; width: 1px; }
.theme-toggle-panel i:nth-child(2) { left: 12px; top: 0; bottom: 0; width: 1px; }
.theme-toggle-panel i:nth-child(3) { left: 0; right: 0; top: 7px; height: 1px; }
.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--theme-toggle-thumb-bg);
  box-shadow: var(--theme-toggle-thumb-glow);
  transform: translateY(-50%);
  transition: left .55s cubic-bezier(0.34, 1.56, 0.64, 1), background .45s ease, box-shadow .45s ease;
  z-index: 2;
}
.theme-toggle-rays {
  position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg 20deg, var(--theme-toggle-rays) 20deg 25deg,
    transparent 25deg 65deg, var(--theme-toggle-rays) 65deg 70deg,
    transparent 70deg 110deg, var(--theme-toggle-rays) 110deg 115deg,
    transparent 115deg 155deg, var(--theme-toggle-rays) 155deg 160deg,
    transparent 160deg 200deg, var(--theme-toggle-rays) 200deg 205deg,
    transparent 205deg 245deg, var(--theme-toggle-rays) 245deg 250deg,
    transparent 250deg 290deg, var(--theme-toggle-rays) 290deg 295deg,
    transparent 295deg 335deg, var(--theme-toggle-rays) 335deg 340deg,
    transparent 340deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 12px, #000 13px, #000 18px, transparent 19px);
          mask: radial-gradient(circle, transparent 12px, #000 13px, #000 18px, transparent 19px);
  opacity: .9;
  animation: tt-spin 14s linear infinite;
  transition: opacity .45s ease;
  pointer-events: none;
}
@keyframes tt-spin { to { transform: rotate(360deg); } }
.theme-toggle-craters {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.theme-toggle-craters i {
  position: absolute;
  background: rgba(100,116,139,.5);
  border-radius: 50%;
  box-shadow: inset 1px 1px 0 rgba(15,23,42,.25);
}
.theme-toggle-craters i:nth-child(1) { width: 5px; height: 5px; top: 6px; left: 7px; }
.theme-toggle-craters i:nth-child(2) { width: 3px; height: 3px; top: 14px; left: 15px; }

html[data-theme='dark'] .theme-toggle-thumb {
  left: calc(100% - 31px);
}
html[data-theme='dark'] .theme-toggle-rays { opacity: 0; }
html[data-theme='dark'] .theme-toggle-craters { opacity: 1; }
html[data-theme='dark'] .theme-toggle-stars { opacity: 1; }
html[data-theme='dark'] .theme-toggle-clouds { opacity: 0; }
html[data-theme='dark'] .theme-toggle-panel {
  right: calc(100% - 26px);
}

.site-nav.nav-solid .theme-toggle { margin-left: .35rem; }
.site-nav.nav-transparent .theme-toggle {
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.nav-burger { display: none; }

/* ─── MOBILE DRAWER ─── */
.mob-drawer {
  position: fixed; inset: 0; background: var(--white); color: var(--g900); z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  padding: 5.5rem 2rem 3rem;
  text-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mob-drawer.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mob-drawer .mob-drawer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100%, 320px);
  opacity: 1;
  visibility: visible;
}
.mob-drawer a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--g900);
  line-height: 1;
  display: block;
  width: 100%;
  max-width: 320px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.mob-drawer .btn.btn-blue { color: var(--white); }
.mob-drawer .close {
  position: absolute; top: 2rem; right: 2rem; font-size: 2rem; color: var(--g900);
  z-index: 2;
}

/* ─── GSAP HELPER CLASSES ────────────────────────────── */
.reveal-gsap { opacity: 0; transform: translateY(40px); }
.parallax-img { overflow: hidden; }
.parallax-img img { height: 120%; width: 100%; object-fit: cover; margin-top: -10%; }

/* ─── STATS ─── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); }
.stat-col { padding: 5rem 2rem; text-align: center; border-right: 1px solid var(--g100); }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 4.5rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-lbl { font-size: .9rem; font-weight: 600; color: var(--g500); text-transform: uppercase; letter-spacing: .05em; margin-top: .5rem; }

/* ─── CARDS ─── */
.card {
  background: var(--white); border-radius: var(--rl); padding: 2.5rem;
  border: 1px solid var(--g100); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--blue-bg); }

/* ─── FOOTER ─── */
.footer { background: var(--dark); color: var(--white); padding: 8rem 2.5rem 4rem; }
.footer-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 6rem; }
.footer-brand-logo { height: 50px; margin-bottom: 2rem; }
.footer-socials { display: flex; gap: 1rem; margin-top: 2rem; }
.footer-soc {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.footer-soc:hover { background: var(--blue); transform: translateY(-5px); }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 2rem; color: var(--white); }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col a { color: var(--g400); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--white); }

.footer-bottom { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.05); padding-top: 2rem; color: var(--g500); font-size: .9rem; }

html[data-theme='dark'] .site-nav.nav-solid {
  background: linear-gradient(90deg, rgba(8,18,33,.96) 0%, rgba(13,29,48,.94) 42%, rgba(16,35,57,.98) 100%) !important;
  border: 1px solid rgba(96,165,250,.16) !important;
  box-shadow: 0 22px 54px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
}
html[data-theme='dark'] .site-nav.nav-solid.scrolled {
  background: linear-gradient(90deg, rgba(8,18,33,.98) 0%, rgba(13,29,48,.97) 46%, rgba(16,35,57,.99) 100%) !important;
  border: 1px solid rgba(96,165,250,.18) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.30) !important;
}
html[data-theme='dark'] .site-nav.nav-solid::before { display: none !important; }
html[data-theme='dark'] .site-nav.scrolled {
  background: rgba(10,20,35,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.26);
}
html[data-theme='dark'] .site-nav.nav-solid .nav-lnk {
  background: rgba(16,34,55,.72);
  color: var(--theme-nav-text);
  border-color: rgba(96,165,250,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
html[data-theme='dark'] .site-nav.nav-solid .nav-lnk:hover,
html[data-theme='dark'] .site-nav.nav-solid .nav-lnk.active {
  background: rgba(96,165,250,.16);
  color: #f8fbff;
  border-color: rgba(147,197,253,.28);
}
html[data-theme='dark'] .site-nav.nav-solid .nav-tel { color: var(--theme-nav-tel); }
html[data-theme='dark'] .site-nav.nav-solid .btn-sm {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-color: rgba(96,165,250,.26);
  box-shadow: 0 12px 28px rgba(37,99,235,.22);
}
html[data-theme='dark'] .mob-drawer {
  background: linear-gradient(180deg, #07111f, #0c1728);
}
html[data-theme='dark'] .mob-drawer a,
html[data-theme='dark'] .mob-drawer .close {
  color: var(--g900);
}
html[data-theme='dark'] .stats-row,
html[data-theme='dark'] .story,
html[data-theme='dark'] .timeline,
html[data-theme='dark'] .partners,
html[data-theme='dark'] .cta-final,
html[data-theme='dark'] .featured-article,
html[data-theme='dark'] .blog-section,
html[data-theme='dark'] .newsletter,
html[data-theme='dark'] .projects-section,
html[data-theme='dark'] .project-body,
html[data-theme='dark'] .gallery-section,
html[data-theme='dark'] .ba-section,
html[data-theme='dark'] .related-section,
html[data-theme='dark'] .contact-section,
html[data-theme='dark'] .faq-section,
html[data-theme='dark'] .services-hero,
html[data-theme='dark'] .services-intro,
html[data-theme='dark'] .services-grid-section,
html[data-theme='dark'] .process-section,
html[data-theme='dark'] .service-main,
html[data-theme='dark'] .detail-section,
html[data-theme='dark'] .detail-section--soft {
  background: var(--theme-bg) !important;
  color: var(--theme-text);
}
html[data-theme='dark'] .section--gray,
html[data-theme='dark'] .founder,
html[data-theme='dark'] .certs-section,
html[data-theme='dark'] .map-section,
html[data-theme='dark'] .social-video-strip,
html[data-theme='dark'] .blog-prev {
  background: var(--theme-surface-soft) !important;
}
html[data-theme='dark'] .card,
html[data-theme='dark'] .intro-card,
html[data-theme='dark'] .cred,
html[data-theme='dark'] .cert-card,
html[data-theme='dark'] .service-card,
html[data-theme='dark'] .support-card,
html[data-theme='dark'] .process-card,
html[data-theme='dark'] .contact-form-card,
html[data-theme='dark'] .faq-item,
html[data-theme='dark'] .gallery-card,
html[data-theme='dark'] .detail-card,
html[data-theme='dark'] .applications-card,
html[data-theme='dark'] .contact-card,
html[data-theme='dark'] .related-card,
html[data-theme='dark'] .stat-card,
html[data-theme='dark'] .service-side-card,
html[data-theme='dark'] .ba-card,
html[data-theme='dark'] .services-hero-panel,
html[data-theme='dark'] .service-hero-panel,
html[data-theme='dark'] .article-body,
html[data-theme='dark'] .map-frame,
html[data-theme='dark'] .f-input,
html[data-theme='dark'] .newsletter-form input,
html[data-theme='dark'] .filter-btn,
html[data-theme='dark'] .social-video-card {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text);
  box-shadow: var(--shadow);
}
html[data-theme='dark'] .filter-btn:hover {
  background: var(--theme-surface-soft) !important;
}
html[data-theme='dark'] .cert-pill {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
html[data-theme='dark'] .marquee-wrap::before {
  background: linear-gradient(to right, var(--theme-surface-soft), transparent) !important;
}
html[data-theme='dark'] .marquee-wrap::after {
  background: linear-gradient(to left, var(--theme-surface-soft), transparent) !important;
}
html[data-theme='dark'] .partner-strip {
  background: var(--theme-surface-soft);
  border-color: var(--theme-border);
}

/* ─── PAGE HERO (inner pages) ─────────────────────────── */
body[data-page="about"] .page-hero,
body[data-page="services"] .page-hero,
body[data-page="projects"] .page-hero,
body[data-page="blog"] .page-hero,
body[data-page="contact"] .page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--g100);
}
.page-hero--dark {
  background: var(--dark2); color: var(--white); border: none;
}
body[data-page="about"] .page-hero-grid,
body[data-page="services"] .page-hero-grid,
body[data-page="projects"] .page-hero-grid,
body[data-page="blog"] .page-hero-grid,
body[data-page="contact"] .page-hero-grid {
  display: block;
  max-width: 900px;
}
body[data-page="about"] .page-hero-copy,
body[data-page="services"] .page-hero-copy,
body[data-page="projects"] .page-hero-copy,
body[data-page="blog"] .page-hero-copy,
body[data-page="contact"] .page-hero-copy {
  padding: 2.5rem 3rem;
  background: #f0f6ff;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  box-shadow: none;
}
body[data-page="about"] .page-hero-side,
body[data-page="services"] .page-hero-side,
body[data-page="projects"] .page-hero-side,
body[data-page="blog"] .page-hero-side {
  display: none;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--g400); margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-hero .eyebrow { display: block; margin-bottom: .9rem; }
.page-hero .display  { margin-bottom: 1rem; }
body[data-page="about"] .page-hero .lead,
body[data-page="services"] .page-hero .lead,
body[data-page="projects"] .page-hero .lead,
body[data-page="blog"] .page-hero .lead,
body[data-page="contact"] .page-hero .lead {
  max-width: 620px;
  color: var(--g600);
}

html[data-theme='dark'] body[data-page="about"] .page-hero,
html[data-theme='dark'] body[data-page="projects"] .page-hero,
html[data-theme='dark'] body[data-page="blog"] .page-hero,
html[data-theme='dark'] body[data-page="contact"] .page-hero {
  background: var(--theme-bg);
  border-bottom-color: var(--theme-border);
}
html[data-theme='dark'] body[data-page="about"] .page-hero-copy,
html[data-theme='dark'] body[data-page="projects"] .page-hero-copy,
html[data-theme='dark'] body[data-page="blog"] .page-hero-copy,
html[data-theme='dark'] body[data-page="contact"] .page-hero-copy {
  background: linear-gradient(180deg, rgba(16,28,45,.98), rgba(12,22,37,.96));
  border-color: rgba(96,165,250,.18);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}
html[data-theme='dark'] body[data-page="about"] .page-hero .display,
html[data-theme='dark'] body[data-page="projects"] .page-hero .display,
html[data-theme='dark'] body[data-page="blog"] .page-hero .display,
html[data-theme='dark'] body[data-page="contact"] .page-hero .display {
  color: var(--theme-text);
}
html[data-theme='dark'] body[data-page="about"] .page-hero .lead,
html[data-theme='dark'] body[data-page="projects"] .page-hero .lead,
html[data-theme='dark'] body[data-page="blog"] .page-hero .lead,
html[data-theme='dark'] body[data-page="contact"] .page-hero .lead,
html[data-theme='dark'] body[data-page="about"] .page-hero .breadcrumb,
html[data-theme='dark'] body[data-page="projects"] .page-hero .breadcrumb,
html[data-theme='dark'] body[data-page="blog"] .page-hero .breadcrumb,
html[data-theme='dark'] body[data-page="contact"] .page-hero .breadcrumb {
  color: var(--theme-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .site-nav { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 992px) {
  .nav-links, .nav-right { display: none; }
  .site-nav .theme-toggle { display: none; }
  .theme-toggle {
    width: 64px;
    height: 32px;
    margin-left: auto;
    margin-right: .4rem;
  }
  .mob-drawer-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--theme-border);
  }
  .mob-drawer-theme-label {
    font-weight: 600;
    color: var(--theme-text);
    letter-spacing: .02em;
  }
  .mob-drawer-theme .theme-toggle { margin: 0; }
  .theme-toggle-thumb { width: 22px; height: 22px; left: 4px; }
  .theme-toggle-rays { inset: -6px; -webkit-mask: radial-gradient(circle, transparent 10px, #000 11px, #000 15px, transparent 16px); mask: radial-gradient(circle, transparent 10px, #000 11px, #000 15px, transparent 16px); }
  html[data-theme='dark'] .theme-toggle-thumb { left: calc(100% - 26px); }
  .theme-toggle-panel { width: 15px; height: 12px; right: 6px; }
  .theme-toggle-panel i:nth-child(1) { left: 5px; }
  .theme-toggle-panel i:nth-child(2) { left: 10px; }
  .theme-toggle-panel i:nth-child(3) { top: 6px; }
  html[data-theme='dark'] .theme-toggle-panel { right: calc(100% - 22px); }
  .theme-toggle-stars i:nth-child(1) { top: 6px; left: 32px; }
  .theme-toggle-stars i:nth-child(2) { top: 19px; left: 39px; }
  .theme-toggle-stars i:nth-child(3) { top: 9px; left: 46px; }
  .theme-toggle-stars i:nth-child(4) { top: 21px; left: 52px; }
  .theme-toggle-clouds i:nth-child(1) { top: 8px; left: 34px; }
  .theme-toggle-clouds i:nth-child(2) { top: 18px; left: 28px; }
  .site-nav.nav-solid .theme-toggle { margin-left: auto; }
  .nav-burger { display: flex; flex-direction: column; gap: 6px; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
  .nav-burger span { width: 28px; height: 2px; background: var(--g900); display: block; }
  .site-nav.nav-solid {
    top: 14px;
    left: 14px;
    right: 14px;
    height: 66px;
    padding: 0 1rem;
  }
  .site-nav.nav-solid .nav-brand-img {
    height: 36px;
  }
  .site-nav.nav-solid .nav-burger {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    border: 1px solid rgba(255,255,255,.46);
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
  }
  .site-nav.nav-solid .nav-burger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--g900);
  }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 1.5rem; }
  .stats-row {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .stat-col {
    padding: 3rem 1rem;
  }
  .stat-num {
    font-size: clamp(2.6rem, 13vw, 3.3rem);
    line-height: .95;
  }
  .stat-lbl {
    font-size: .82rem;
    line-height: 1.45;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  body[data-page="about"] .page-hero,
  body[data-page="services"] .page-hero,
  body[data-page="projects"] .page-hero,
  body[data-page="blog"] .page-hero,
  body[data-page="contact"] .page-hero {
    padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
  }
}
