/* =====================================================================
   NAVYA SOLAR — Design System
   Plus Jakarta Sans (display) + Inter (text), self-hosted variable fonts.
   Palette: midnight navy #082B4C · deep ocean #103B60 · solar amber #FFB000
            soft ivory #F8FAFC · white · energy turquoise #12AFA3
   ===================================================================== */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy-950: #041628;
  --navy-900: #061F38;
  --navy: #082B4C;
  --ocean: #103B60;
  --ocean-600: #1A4B78;
  --ocean-300: #8FB3D6;
  --amber: #FFB000;
  --amber-600: #E59A00;
  --amber-700: #9A6400;
  --amber-tint: #FFF6DF;
  --teal: #12AFA3;
  --teal-700: #0A7C73;
  --teal-tint: #E3F7F5;
  --ivory: #F8FAFC;
  --white: #FFFFFF;

  --bg: var(--ivory);
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --surface-3: #E9EFF5;
  --text: #0E2238;
  --text-muted: #4A5D72;
  --text-soft: #5B6D82;
  --heading: var(--navy);
  --border: #E1E8F0;
  --border-strong: #C9D5E2;
  --link: #0F4F86;
  --accent-text: var(--teal-700);
  --amber-text: #9A6400;
  --focus: #FFB000;
  --chart-grid: #E3EAF2;

  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(8, 43, 76, .06), 0 2px 10px rgba(8, 43, 76, .05);
  --sh-2: 0 18px 40px -22px rgba(8, 43, 76, .35), 0 2px 6px rgba(8, 43, 76, .05);
  --sh-3: 0 40px 80px -36px rgba(8, 43, 76, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --gutter: 16px;
  --container: 1240px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #051729;
  --surface: #0A2139;
  --surface-2: #0D2844;
  --surface-3: #12314F;
  --text: #E3ECF5;
  --text-muted: #A9BACB;
  --text-soft: #8DA0B4;
  --heading: #F4F8FC;
  --border: rgba(173, 199, 226, .14);
  --border-strong: rgba(173, 199, 226, .26);
  --link: #8CC8FF;
  --accent-text: #3FD0C4;
  --amber-text: #FFB000;
  --chart-grid: rgba(173, 199, 226, .14);
  --amber-tint: rgba(255, 176, 0, .12);
  --teal-tint: rgba(18, 175, 163, .14);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #051729; --surface: #0A2139; --surface-2: #0D2844; --surface-3: #12314F;
    --text: #E3ECF5; --text-muted: #A9BACB; --text-soft: #8DA0B4; --heading: #F4F8FC;
    --border: rgba(173, 199, 226, .14); --border-strong: rgba(173, 199, 226, .26);
    --link: #8CC8FF; --accent-text: #3FD0C4; --amber-text: #FFB000; --chart-grid: rgba(173, 199, 226, .14);
    --amber-tint: rgba(255, 176, 0, .12); --teal-tint: rgba(18, 175, 163, .14);
    color-scheme: dark;
  }
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--heading); margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--navy); }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 2.8rem + 6vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 2.4rem + 4vw, 6rem); }
.section--surface { background: var(--surface); }
.section--alt { background: var(--surface-2); }
.section--navy { background: var(--navy); color: #C9D8E8; --amber-text: var(--amber); --heading: #FFFFFF; --text-muted: #B4C6D9; --text-soft: #9DB2C8; --border: rgba(255,255,255,.12); --accent-text: #5FE0D4; --link: #9ED3FF; }
.section--deep { background: radial-gradient(120% 120% at 100% 0%, #123F68 0%, var(--navy) 45%, var(--navy-950) 100%); color: #C9D8E8; --amber-text: var(--amber); --heading: #FFFFFF; --text-muted: #B4C6D9; --border: rgba(255,255,255,.12); --accent-text: #5FE0D4; --link: #9ED3FF; }
.grid { display: grid; gap: clamp(1rem, .6rem + 1.6vw, 1.75rem); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .9; }
.eyebrow--amber { color: var(--amber); }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); letter-spacing: -.032em; line-height: 1.07; margin-top: .85rem; }
.section-lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text-muted); line-height: 1.7; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--text-muted); line-height: 1.7; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose p, .prose li { color: var(--text); }
.prose a { font-weight: 500; }
.text-amber { color: var(--amber); }
.text-gradient { background: linear-gradient(100deg, var(--amber) 0%, #FFD36A 60%, #FFF0C2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--surface); --btn-fg: var(--heading); --btn-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); font-family: var(--font-display); font-weight: 700; font-size: .975rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--amber); --btn-fg: #1D1400; --btn-bd: var(--amber); box-shadow: 0 10px 24px -12px rgba(229, 154, 0, .75); }
.btn--primary:hover { --btn-bg: #FFBE2E; box-shadow: 0 16px 30px -14px rgba(229, 154, 0, .85); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--dark:hover { --btn-bg: var(--ocean); }
:root[data-theme="dark"] .btn--dark { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--heading); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bd: var(--heading); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; color: var(--heading); text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, 0); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; color: inherit; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: rgba(8, 43, 76, .07); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--heading); }
.brand__mark { width: 46px; height: auto; flex: none; }
.brand__mark .bm-ring { stroke: var(--navy); }
.brand__mark .bm-sun { fill: var(--amber); stroke: var(--amber); }
.brand__mark .bm-sun path:first-child { stroke: none; }
.brand__mark .bm-roof { stroke: var(--navy); }
.brand__mark .bm-panel { fill: #1F5FB8; }
.brand__mark .bm-grid { stroke: #BFD6F5; }
.brand__mark .bm-window { fill: var(--amber); }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; line-height: 1; }
.brand__navya { color: var(--navy); }
.brand__solar { color: var(--amber-600); }
:root[data-theme="dark"] .brand__navya, :root[data-theme="dark"] .brand__mark .bm-ring, :root[data-theme="dark"] .brand__mark .bm-roof { color: #fff; stroke: #fff; }
:root[data-theme="dark"] .brand__navya { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__navya { color: #fff; } :root:not([data-theme="light"]) .brand__mark .bm-ring, :root:not([data-theme="light"]) .brand__mark .bm-roof { stroke: #fff; } }
.site-footer .brand__navya { color: #fff; }
.site-footer .brand__mark .bm-ring, .site-footer .brand__mark .bm-roof { stroke: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--heading);
  background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--border);
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s, transform .35s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(8, 43, 76, .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__actions { display: flex; align-items: center; gap: .35rem; }
.site-header__cta { margin-left: .4rem; }
/* Overlay mode (homepage, over the hero video): fully transparent, no glass, no shadow */
.site-header--overlay:not(.is-solid) { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--navy); }
.site-header--overlay:not(.is-solid) .brand__navya { color: var(--navy); }
.site-header--overlay:not(.is-solid) .brand__mark .bm-ring, .site-header--overlay:not(.is-solid) .brand__mark .bm-roof { stroke: var(--navy); }
.site-header--overlay:not(.is-solid) .nav__link { color: var(--navy); }
.site-header--overlay:not(.is-solid) .icon-btn:hover { background: rgba(255,255,255,.45); }
.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .8rem; border: 0; background: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--heading); text-decoration: none; letter-spacing: -.005em; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__link::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover { text-decoration: none; }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 320px; padding: .5rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-3); }
.nav__menu ul { list-style: none; }
.nav__menu-link { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.nav__menu-link:hover, .nav__menu-link[aria-current] { background: var(--surface-2); }
.nav__menu-link strong { display: block; font-family: var(--font-display); color: var(--heading); font-size: .95rem; }
.nav__menu-link small { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.4; margin-top: .1rem; }
.nav__menu-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--amber-tint); color: var(--amber-700); flex: none; }
:root[data-theme="dark"] .nav__menu-icon { color: var(--amber); }
.theme-toggle .icon:last-child { display: none; }
:root[data-theme="dark"] .theme-toggle .icon:first-child { display: none; }
:root[data-theme="dark"] .theme-toggle .icon:last-child { display: block; }
.icon-btn--call { display: none; }
.site-header__cta { display: none; }
@media (min-width: 480px) { .site-header__cta { display: inline-flex; } }
@media (min-width: 1120px) {
  .nav { display: block; }
  .burger { display: none; }
  .icon-btn--call { display: inline-grid; }
}
@media (max-width: 380px) { .brand__word { font-size: 1.12rem; } .brand__mark { width: 40px; } }

/* Drawer (mobile navigation) */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(4, 22, 40, .45); }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(100%, 420px); background: var(--bg); padding: 1rem var(--gutter) 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem;
  animation: drawerIn .35s var(--ease-out); }
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 1rem); }
.drawer__list { list-style: none; border-top: 1px solid var(--border); }
.drawer__link { display: block; padding: 1rem .25rem; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--heading); text-decoration: none; }
.drawer__link--sub { font-size: 1.02rem; font-weight: 600; padding-left: 1.25rem; color: var(--text-muted); }
.drawer__link[aria-current] { color: var(--amber-700); }
:root[data-theme="dark"] .drawer__link[aria-current] { color: var(--amber); }
.drawer__contact { margin-top: auto; display: grid; gap: .75rem; }
.drawer__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
body.drawer-open { overflow: hidden; }

/* ---------- HERO (homepage first screen) ----------
   Strict rules: full-bleed video, no overlays/scrims/filters/blur/masks, no
   controls; only the H1, H2 and one paragraph sit directly on the footage. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #BFD9F0; isolation: isolate; }
.hero__video, .hero__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video { z-index: 0; pointer-events: none; }
.hero__video::-webkit-media-controls, .hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-start-playback-button, .hero__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.hero__still { display: none; }
.hero--still .hero__video { display: none; }
.hero--still .hero__still { display: block; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero__still { display: block; } }
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-start;
  padding-top: calc(var(--header-h) + clamp(.75rem, 3.5vh, 2.75rem)); }
.hero__text { margin-left: auto; width: min(100%, 43vw, 44rem); color: var(--navy);
  text-shadow: 0 1px 1px rgba(255, 255, 255, .55), 0 0 22px rgba(255, 255, 255, .55), 0 0 46px rgba(255, 255, 255, .35); }
.hero__title { font-size: clamp(2.2rem, min(3.25vw, 6.2vh), 3.9rem); font-weight: 800; letter-spacing: -.038em; line-height: 1.02; color: var(--navy); }
.hero__subtitle { margin-top: 1.1rem; display: flex; align-items: center; gap: .8rem; font-size: clamp(.95rem, .85rem + .45vw, 1.2rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); }
.hero__subtitle::before { content: ''; width: 40px; height: 3px; border-radius: 3px; background: var(--amber-600); box-shadow: none; flex: none; }
.hero__desc { margin-top: .9rem; max-width: 40rem; font-size: clamp(.98rem, .88rem + .3vw, 1.15rem); line-height: 1.6; font-weight: 500; color: #0B2D4F; }
/* first-paint entrance: text only, no extra elements */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__subtitle, .hero__desc { animation: heroIn 1s var(--ease-out) both; }
  .hero__subtitle { animation-delay: .12s; } .hero__desc { animation-delay: .24s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Portrait phones: keep the panels/pump/water in frame and the copy in the open sky */
@media (max-aspect-ratio: 4/5) {
  .hero__video, .hero__still img { object-position: 66% 50%; }
  .hero__content { padding-top: calc(var(--header-h) + clamp(.75rem, 3.5vh, 2rem)); }
  .hero__text { margin-left: 0; width: 100%; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 4.6vw, 2.75rem); }
  .hero__desc { font-size: 1rem; line-height: 1.55; }
  .hero__subtitle { letter-spacing: .09em; font-size: .9rem; gap: .6rem; }
  .hero__subtitle::before { width: 26px; }
}
@media (max-height: 620px) and (min-aspect-ratio: 4/5) { .hero__title { font-size: clamp(2rem, 4.6vh + 1rem, 3rem); } .hero__content { padding-top: calc(var(--header-h) + 1rem); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, #15456F 0%, var(--navy) 46%, var(--navy-950) 100%); color: #CFDDEB; --heading: #fff; --link: #9ED3FF; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 176, 0, .18); box-shadow: 0 0 0 70px rgba(255, 176, 0, .025), 0 0 0 140px rgba(255, 176, 0, .02); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .page-hero__grid--aside { grid-template-columns: 1.35fr 1fr; } }
.page-hero__title { margin-top: 1rem; font-size: clamp(2.3rem, 1.4rem + 3.3vw, 4.1rem); font-weight: 800; letter-spacing: -.036em; line-height: 1.04; max-width: 18ch; }
.page-hero__lead { margin-top: 1.25rem; max-width: 60ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: #C3D3E4; }
.page-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: #9FB4CA; margin-bottom: 1.25rem; }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .6; }
.crumbs a { color: #D8E6F3; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--border-strong); }
.card h3 { font-size: 1.2rem; letter-spacing: -.015em; }
.card p { color: var(--text-muted); margin-top: .6rem; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--amber-tint); color: var(--amber-700); margin-bottom: 1.25rem; }
:root[data-theme="dark"] .card__icon { color: var(--amber); }
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--teal { background: var(--teal-tint); color: var(--teal-700); }
:root[data-theme="dark"] .card__icon--teal { color: var(--teal); }
.card__link { margin-top: 1.25rem; }
.card--stretch .card__link a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.section--navy .card, .section--deep .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--navy .card:hover, .section--deep .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.section--navy .card__icon, .section--deep .card__icon { background: rgba(255,176,0,.12); color: var(--amber); }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-muted); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.tag--amber { background: var(--amber-tint); color: var(--amber-700); }
.tag--teal { background: var(--teal-tint); color: var(--teal-700); }
:root[data-theme="dark"] .tag--amber { color: var(--amber); }
:root[data-theme="dark"] .tag--teal { color: #5FE0D4; }
.check-list { list-style: none; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7C73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Leadership / CEO ---------- */
.leader { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); align-items: center; }
@media (min-width: 960px) { .leader { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.leader__figure { position: relative; margin: 0; max-width: 520px; width: 100%; justify-self: center; }
.leader__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #E8EEF4; box-shadow: var(--sh-3); aspect-ratio: 1142 / 1377; }
.leader__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader__figure::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border-radius: calc(var(--r-xl) + 6px); border: 1.5px solid var(--amber); z-index: -1; }
.leader__figure::after { content: ''; position: absolute; width: 120px; height: 120px; right: max(-26px, calc((100vw - 100%) / -2 + 4px)); bottom: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(18,175,163,.28), transparent 70%); z-index: -1; }
.leader__caption { position: relative; margin: -2.25rem 1.25rem 0; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--sh-2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.leader__name { display: block; font-family: var(--font-display); font-weight: 800; color: var(--heading); font-size: 1.1rem; letter-spacing: -.01em; }
.leader__role { display: block; font-size: .86rem; color: var(--text-muted); }
.leader__seal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--amber); flex: none; }
.leader__seal .icon { width: 22px; height: 22px; }
.leader__body .section-title { max-width: 16ch; }
.leader__statement { margin-top: 2rem; padding: 1.5rem 1.6rem; border-left: 3px solid var(--amber); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; color: var(--heading); line-height: 1.5; letter-spacing: -.01em; }
.leader__facts { margin-top: 2rem; display: grid; gap: .9rem; }
@media (min-width: 640px) { .leader__facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 1rem 1.1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.fact strong { display: block; font-family: var(--font-display); color: var(--heading); font-size: .98rem; }
.fact span { display: block; font-size: .84rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.45; }

/* Why choose — story chapters */
.chapters { counter-reset: ch; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .chapters { grid-template-columns: repeat(4, 1fr); } }
.chapter { counter-increment: ch; background: var(--surface); padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); position: relative; transition: background-color .3s; }
.chapter:hover { background: var(--bg); }
.chapter::before { content: counter(ch, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--amber-600); margin-bottom: 1.25rem; }
.chapter h3 { font-size: 1.16rem; }
.chapter p { margin-top: .6rem; color: var(--text-muted); font-size: .97rem; }
.chapter .tag { margin-top: 1rem; }

/* ---------- Solutions / feature rows ---------- */
.feature { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; } .feature--flip > :first-child { order: 2; } }
.feature + .feature { margin-top: clamp(4rem, 2.5rem + 5vw, 7rem); }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-3); box-shadow: var(--sh-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--contain { background: #fff; }
.media-frame--contain img { object-fit: contain; padding: 6%; }
.ratio-4x3 { aspect-ratio: 4 / 3; } .ratio-16x10 { aspect-ratio: 16 / 10; } .ratio-1 { aspect-ratio: 1; }
.solution-card { display: flex; flex-direction: column; }
.solution-card .card__link { margin-top: auto; padding-top: 1.25rem; }
.anchor-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.anchor-nav a { padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.anchor-nav a:hover { border-color: var(--amber); color: var(--amber); }

/* Process timeline */
.timeline { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; } }
.timeline--single { grid-template-columns: 1fr !important; }
.timeline li { counter-increment: step; position: relative; padding: 1.5rem 0 1.5rem 3.6rem; border-top: 1px solid var(--border); }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.45rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--amber-text); width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,176,0,.45); }
.timeline h3 { font-size: 1.06rem; }
.timeline p { margin-top: .35rem; font-size: .93rem; color: var(--text-muted); }

/* Logos */
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 720px) { .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.logo-tile { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s; }
.logo-tile { min-width: 0; }
.logo-tile img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.logo-tile:hover img, button.logo-tile:focus-visible img { filter: none; opacity: 1; }
button.logo-tile { cursor: pointer; font: inherit; }
button.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }

/* Product cards */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card__media { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .6s var(--ease); }
.product-card__media--cover img { object-fit: cover; padding: 0; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.12rem; margin-top: .7rem; }
.product-card__body p { font-size: .95rem; }
.product-card__actions { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 40px; padding: .45rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-weight: 600; font-size: .9rem; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #1D1400; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-soft); width: 18px; height: 18px; }
.search input { padding-left: 2.6rem !important; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--text-muted); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }

/* Product detail */
.pd { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 960px) { .pd { grid-template-columns: 1.05fr 1fr; align-items: start; } .pd__gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.pd__main { aspect-ratio: 1; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pd__main--cover img { object-fit: cover; padding: 0; }
.pd__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.pd__thumb { width: 78px; height: 78px; padding: 0; border-radius: var(--r-sm); border: 2px solid var(--border); overflow: hidden; background: #fff; }
.pd__thumb[aria-pressed="true"] { border-color: var(--amber); }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 38%; color: var(--text-muted); font-weight: 600; }
.notice { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--amber-tint); color: var(--text); font-size: .92rem; border: 1px solid rgba(229,154,0,.25); }
.notice .icon { color: var(--amber-700); margin-top: .1rem; }
:root[data-theme="dark"] .notice .icon { color: var(--amber); }
.notice--info { background: var(--teal-tint); border-color: rgba(18,175,163,.25); }
.notice--info .icon { color: var(--teal-700); }

/* Certificates */
.cert-card { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; text-align: left; width: 100%; font: inherit; color: inherit; cursor: pointer; }
.cert-card img { border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--sh-1); aspect-ratio: 910 / 1287; object-fit: cover; background: #fff; }
.cert-card > span, .cert-card .cert-std, .cert-card .cert-meta { display: block; }
.cert-card .cert-std { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--heading); }
.cert-card .cert-meta { font-size: .86rem; color: var(--text-muted); margin-top: .3rem; line-height: 1.5; }
.cert-card .link-arrow { margin-top: .7rem; font-size: .92rem; }

/* Tools band */
.tool-card { display: flex; flex-direction: column; min-height: 100%; }
.tool-card__art { height: 150px; margin: -.25rem -.25rem 1.25rem; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; overflow: hidden; }
.tool-card__art svg { width: 82%; height: auto; }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .82rem; color: var(--text-soft); }
.post-card h3 { font-size: 1.15rem; margin-top: .8rem; line-height: 1.3; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 1.1rem; font-size: .92rem; }
.post-featured { display: grid; gap: 0; overflow: hidden; padding: 0; }
@media (min-width: 900px) { .post-featured { grid-template-columns: 1.15fr 1fr; } .post-featured .post-card__media { aspect-ratio: auto; min-height: 100%; } }
.post-featured .post-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); justify-content: center; }
.post-featured h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-top: 1rem; }
.post-featured h2 a { color: inherit; text-decoration: none; }
.post-featured h2 a::after { content: ''; position: absolute; inset: 0; }
.article-hero-img { margin-top: -3rem; position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 16 / 9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } .article-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* ---------- FAQ (native details) ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--sh-1); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--heading); font-size: 1.04rem; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082B4C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.35rem 1.25rem; color: var(--text-muted); }
.faq__body p + p { margin-top: .7rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--heading); display: flex; align-items: center; gap: .4rem; }
.field .req { color: #C2410C; }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5D72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ocean-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(255, 176, 0, .35); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #C2410C; }
.field__error { font-size: .84rem; color: #B42318; font-weight: 500; }
:root[data-theme="dark"] .field__error { color: #FF9C8A; }
.field__hint { font-size: .82rem; color: var(--text-soft); }
.input-affix { position: relative; display: flex; align-items: stretch; }
.input-affix .input { flex: 1; }
.input-affix .affix { display: grid; place-items: center; padding: 0 .85rem; font-size: .88rem; font-weight: 600; color: var(--text-muted); background: var(--surface-2); border: 1.5px solid var(--border-strong); }
.input-affix .affix--pre { border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-affix .affix--pre + .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.input-affix .affix--post { border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.input-affix .input:has(+ .affix--post) { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.form-status { display: none; padding: 1rem 1.15rem; border-radius: var(--r); font-size: .95rem; }
.form-status.is-visible { display: flex; gap: .75rem; }
.form-status--ok { background: var(--teal-tint); color: var(--text); border: 1px solid rgba(18,175,163,.35); }
.form-status--err { background: #FDECEA; color: #7A1A10; border: 1px solid #F5C2BB; }
.consent { font-size: .82rem; color: var(--text-soft); }

/* Range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--amber) 0 var(--fill, 50%), var(--surface-3) var(--fill, 50%) 100%); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-3); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--amber); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 2px 8px rgba(8,43,76,.3); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(255,176,0,.5); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(255,176,0,.5); }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: .9rem; align-items: center; }
.range-row .input, .tool__inputs .input-affix .input { padding-inline: .7rem; min-width: 0; }
.tool__inputs .affix { padding: 0 .6rem; font-size: .82rem; }

/* Tooltip (info button + popover text) */
.tip { position: relative; display: inline-flex; }
.tip__btn { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text-muted); }
.tip__btn .icon { width: 15px; height: 15px; }
.tip__btn:hover, .tip__btn[aria-expanded="true"] { background: var(--navy); color: #fff; }
.tip__text { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: min(280px, 72vw); padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--navy-900); color: #E8F0F8; font-size: .82rem; font-weight: 400; line-height: 1.5; box-shadow: var(--sh-3); }
@media (max-width: 640px) { .tip__text { left: auto; right: -40px; transform: none; } }

/* ---------- Tool pages (calculators) ---------- */
.tool { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (min-width: 1080px) { .tool { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
.tool__inputs { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--sh-1); }
.tool__inputs fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.tool__inputs fieldset + fieldset { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.tool__inputs legend { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .25rem; padding: 0; }
.tool__results { display: grid; gap: 1.25rem; min-width: 0; }
.kpis { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.1rem 1.15rem; min-width: 0; }
.kpi__label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); text-transform: uppercase; }
.kpi__value { margin-top: .35rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + .8vw, 1.65rem); letter-spacing: -.025em; color: var(--heading); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi__sub { font-size: .8rem; color: var(--text-soft); margin-top: .25rem; }
.kpi--hero { background: var(--navy); border-color: var(--navy); --heading: #fff; }
.kpi--hero .kpi__label { color: #A9C1D9; } .kpi--hero .kpi__sub { color: #9FB6CC; }
.kpi--hero .kpi__value { color: var(--amber); }
.kpi--warn { border-color: rgba(194,65,12,.45); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.15rem, .9rem + 1vw, 1.6rem); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.panel__title { font-size: 1.08rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--text-muted); list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; }
.sw--navy { background: var(--ocean-600); } .sw--amber { background: var(--amber); } .sw--teal { background: var(--teal); } .sw--slate { background: #94A3B8; } .sw--red { background: #E0564A; }
.chart { width: 100%; overflow: hidden; }
.chart svg { width: 100%; height: auto; overflow: visible; font-family: var(--font-body); }
.chart text { fill: var(--text-soft); font-size: 11px; }
.chart .grid-line { stroke: var(--chart-grid); stroke-width: 1; }
.chart .axis-zero { stroke: var(--border-strong); stroke-width: 1.2; }
.chart .bar-pos { fill: var(--teal); } .chart .bar-neg { fill: #E0564A; } .chart .bar-navy { fill: var(--ocean-600); } .chart .bar-amber { fill: var(--amber); } .chart .bar-slate { fill: #94A3B8; }
.chart .line-amber { stroke: var(--amber-600); fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart .line-navy { stroke: var(--ocean-600); fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
:root[data-theme="dark"] .chart .line-navy { stroke: #7FB5EA; }
:root[data-theme="dark"] .chart .bar-navy { fill: #4F86C0; }
.chart .line-dash { stroke-dasharray: 6 5; }
.chart .marker { fill: var(--amber); stroke: var(--surface); stroke-width: 3; }
.chart .marker-label { fill: var(--heading); font-weight: 700; font-size: 12px; }
.chart .bar-anim { transform-box: fill-box; transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) { .chart.is-animated .bar-anim { animation: growY .7s var(--ease-out) both; } .chart.is-animated .line-anim { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.1s var(--ease-out) forwards; } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.donut-wrap { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 560px) { .donut-wrap { grid-template-columns: 180px 1fr; } }
.donut-wrap svg { max-width: 180px; margin-inline: auto; }
.split-list { list-style: none; display: grid; gap: .6rem; }
.split-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.split-list li span:first-child { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); }
.split-list strong { font-variant-numeric: tabular-nums; color: var(--heading); }
.toggle-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.seg button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: var(--r-pill); font-weight: 600; font-size: .88rem; color: var(--text-muted); min-height: 38px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--heading); box-shadow: var(--sh-1); }
.switch { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .92rem; color: var(--heading); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 26px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; transition: background-color .2s; cursor: pointer; flex: none; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--teal); border-color: var(--teal); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); max-height: 460px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: .6rem .8rem; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--heading); font-weight: 700; z-index: 1; }
.data-table tr.is-breakeven td { background: var(--amber-tint); font-weight: 700; }
.data-table .neg { color: #B42318; }
:root[data-theme="dark"] .data-table .neg { color: #FF9C8A; }
.method { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.method summary { cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 700; color: var(--heading); display: flex; gap: .6rem; align-items: center; }
.method summary .icon { color: var(--accent-text); }
.method__body { padding: 0 1.4rem 1.4rem; font-size: .93rem; color: var(--text-muted); }
.method__body h3 { font-size: 1rem; margin: 1.3rem 0 .4rem; }
.method__body code, .formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; background: var(--surface-2); padding: .15rem .4rem; border-radius: 6px; color: var(--heading); }
.formula { display: block; padding: .75rem 1rem; margin: .5rem 0; white-space: pre-wrap; overflow-x: auto; }
.method__body ul { padding-left: 1.2rem; }
.method__body li + li { margin-top: .35rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.disclaimer { font-size: .84rem; color: var(--text-soft); line-height: 1.6; }

/* Simulator */
.sim-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(#BFDDF6, #EAF4FC); border: 1px solid var(--border); aspect-ratio: 16 / 10; min-height: 320px; touch-action: none; }
@media (max-width: 640px) { .sim-stage { aspect-ratio: 4 / 5; } }
.sim-stage canvas { width: 100% !important; height: 100% !important; display: block; }
.sim-stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.sim-stage__fallback svg { width: 100%; height: 100%; }
.sim-hud { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: .5rem; pointer-events: none; }
.sim-hud span { pointer-events: auto; background: rgba(255,255,255,.92); color: var(--navy); border-radius: var(--r-pill); padding: .35rem .75rem; font-size: .8rem; font-weight: 600; box-shadow: var(--sh-1); font-variant-numeric: tabular-nums; }
.sim-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy); font-weight: 600; }
.sim-start { position: absolute; inset: 0; display: grid; place-items: center; }
.sim-tag { position: absolute; top: 12px; left: 12px; background: rgba(8,43,76,.88); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .7rem; border-radius: var(--r-pill); }
.flow-anim { stroke-dasharray: 8 10; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
@media (prefers-reduced-motion: reduce) { .flow-anim { animation: none; } }
.daybar { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; }

/* ---------- Dialog ---------- */
dialog.modal { width: min(100% - 32px, 860px); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 40px 120px -20px rgba(4, 22, 40, .6); }
dialog.modal::backdrop { background: rgba(4, 22, 40, .62); }
dialog.modal[open] { animation: modalIn .35s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 1.15rem; }
.modal__body { padding: 1.25rem; overflow: auto; }
.modal__img { width: 100%; max-height: 72vh; object-fit: contain; margin-inline: auto; border-radius: var(--r-sm); background: #fff; }
.modal__grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .modal__grid { grid-template-columns: 220px 1fr; } }
.modal__logo { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 1.25rem; }
.modal__logo img { max-height: 90px; width: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.contact-list { list-style: none; display: grid; gap: .85rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .2s, transform .25s var(--ease); }
a.contact-item:hover { border-color: var(--amber); transform: translateY(-2px); }
.contact-item .card__icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.contact-item strong { display: block; font-family: var(--font-display); color: var(--heading); }
.contact-item span { display: block; font-size: .93rem; color: var(--text-muted); overflow-wrap: anywhere; }
.map-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--surface-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; gap: .75rem; align-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9BCD0; padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); --heading: #fff; --link: #fff; }
.footer__cta { display: grid; gap: 2rem; align-items: center; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 960px) { .footer__cta { grid-template-columns: 1.5fr auto; } }
.footer__cta-title { margin-top: .9rem; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); letter-spacing: -.03em; line-height: 1.12; color: #fff; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer__grid { display: grid; gap: 2.5rem 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.35fr .8fr 1fr .85fr 2fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer__brand { grid-column: auto; } }
.footer__brand p { margin-top: 1rem; font-size: .93rem; max-width: 34ch; }
.footer__social { list-style: none; display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--amber); color: var(--amber); }
.footer__social .icon { width: 19px; height: 19px; }
.footer__title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.footer__col ul { list-style: none; display: grid; gap: .6rem; }
.footer__col a { color: #B9CADB; text-decoration: none; font-size: .93rem; }
.footer__col a:hover { color: var(--amber); }
.footer__contact { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer__contact { grid-column: auto; } }
.footer__contact a, .footer__plain { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: #B9CADB; overflow-wrap: break-word; min-width: 0; }
.footer__contact span { min-width: 0; overflow-wrap: anywhere; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--amber); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bottom a { color: #B9CADB; text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* Floating contact dock — hidden on the homepage until the hero has been scrolled past */
.dock { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: .6rem; transition: opacity .35s, transform .35s var(--ease); }
.dock.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.dock__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 12px 28px -10px rgba(4,22,40,.55); transition: transform .25s var(--ease); }
.dock__btn:hover { transform: scale(1.07); }
.dock__btn .icon { width: 26px; height: 26px; }
.dock__btn--wa { background: #1E9E57; }
.dock__btn--call { background: var(--navy); }
body[data-page="home"] .dock:not(.is-ready) { opacity: 0; visibility: hidden; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(8% 8% 8% 8% round 36px); transition: clip-path 1.2s var(--ease-out); }
  .js .reveal-img.is-in { clip-path: inset(0 0 0 0 round 36px); }
}

/* ---------- Misc ---------- */
.split { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.split > .section-head { margin-bottom: 0; }
.split > .lead, .split > p { max-width: 46ch; padding-bottom: .35rem; }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr 1fr; } }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.pill-note { display: inline-flex; gap: .5rem; align-items: center; padding: .45rem .9rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-muted); font-size: .85rem; }
.review-band { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.review-band h3 { font-size: 1.25rem; }
.stat-line { display: flex; flex-wrap: wrap; gap: 2rem; }
.kv { list-style: none; display: grid; gap: .5rem; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .93rem; }
.kv li span:first-child { color: var(--text-muted); }
.kv li strong { color: var(--heading); text-align: right; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 0 4rem; }

/* ---------- Print (calculator summaries) ---------- */
@media print {
  .site-header, .site-footer, .dock, .drawer, .page-hero__actions, .no-print, .tool__inputs .actions-row { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; --heading: #000; }
  .page-hero::after, .crumbs { display: none; }
  .section { padding: 1rem 0; }
  .tool { grid-template-columns: 1fr 1.4fr; }
  .tool__inputs { position: static; max-height: none; overflow: visible; box-shadow: none; }
  .kpi--hero { background: #fff; --heading: #000; } .kpi--hero .kpi__value { color: #000; }
  .panel, .kpi, .tool__inputs { break-inside: avoid; }
  .table-wrap { max-height: none; overflow: visible; }
  .method[open], .method { display: block; }
  a { color: #000; text-decoration: none; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ---------- Additions: compact hero, small headings, signal path ---------- */
.page-hero--compact { padding: calc(var(--header-h) + 1.25rem) 0 1rem; }
.page-hero--compact::after { display: none; }
.page-hero--compact .crumbs ol { margin-bottom: 0; }
.pd-section { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.h-small { font-size: 1.05rem; letter-spacing: -.01em; }
.signal { list-style: none; counter-reset: none; }
@media (min-width: 1024px) { .signal { grid-template-columns: repeat(5, 1fr); } }
.signal__step { display: grid; gap: .35rem; align-content: start; padding: 1rem; border-radius: var(--r); background: var(--bg); border: 1px solid var(--border); position: relative; }
.signal__step .card__icon { margin-bottom: .5rem; width: 44px; height: 44px; }
.signal__step strong { font-family: var(--font-display); color: var(--heading); }
.mb-cards { margin-bottom: 1.25rem; }
.field__head { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.field__head label, .field__head .label { font-weight: 600; font-size: .9rem; color: var(--heading); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.chart .seg-teal { fill: var(--teal); } .chart .seg-amber { fill: var(--amber); } .chart .seg-slate { fill: #94A3B8; } .chart .seg-navy { fill: var(--ocean-600); }
.toggle-row .input { width: 84px; min-height: 40px; padding: .4rem .6rem; }
.toggle-row { align-items: center; }
.sim-tip { position: absolute; left: 0; top: 0; z-index: 4; max-width: 240px; padding: .65rem .8rem; border-radius: var(--r-sm); background: rgba(6, 31, 56, .94); color: #E8F0F8; font-size: .8rem; line-height: 1.45; pointer-events: none; box-shadow: var(--sh-2); }
.sim-tip strong { display: block; color: var(--amber); font-family: var(--font-display); margin-bottom: .15rem; }

@media (min-width: 720px) { .kpis--4 .kpi__value { font-size: clamp(1.15rem, .85rem + .75vw, 1.45rem); } }

:root[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3ECF5' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E3ECF5' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); } }
/* Keep the floating dock from covering form fields on small screens */
@media (max-width: 1079px) { body[data-page="calculator"] .dock, body[data-page="roi"] .dock, body[data-page="pump"] .dock, body[data-page="contact"] .dock { display: none; } }
.only-mobile { display: inline-flex; }
@media (min-width: 1080px) { .only-mobile { display: none !important; } }
.link-btn { display: inline; padding: 0; border: 0; background: none; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { text-decoration-thickness: 2px; }

/* =====================================================================
   v2.1 — the whole site floats on one fixed background video
   ===================================================================== */
html { background: var(--bg); }
body { background: transparent; }
.site-video { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #BFD9F0 url('../img/hero/navya-hero-poster-768.webp') center / cover no-repeat; pointer-events: none; }
.site-video__media, .site-video__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-video__media::-webkit-media-controls, .site-video__media::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.site-video__still { display: none; }
.site-video.is-still .site-video__media { display: none; }
.site-video.is-still .site-video__still { display: block; }
@media (prefers-reduced-motion: reduce) { .site-video__media { display: none; } .site-video__still { display: block; } }
@media (max-width: 900px) { .site-video__media, .site-video__still img { object-position: 66% 50%; } }

/* Same video hero on every page (transparent: the fixed video shows through) */
.hero { background: transparent; }
.hero--page { height: auto; min-height: 100vh; min-height: 100svh; }
.hero--page .hero__content { min-height: inherit; }
.hero__eyebrow { display: inline-block; margin-bottom: .9rem; padding: .35rem .85rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); color: var(--amber-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-shadow: none; }
.hero--page .hero__title { max-width: 20ch; }
.hero .crumbs ol { color: var(--ocean); font-weight: 600; margin-bottom: 1rem; }
.hero .crumbs a { color: var(--navy); }
.hero .crumbs [aria-current] { color: var(--ocean); }
.hero__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; text-shadow: none; }
.hero .btn--outline-light { --btn-bg: rgba(255,255,255,.82); --btn-fg: var(--navy); --btn-bd: var(--navy); }
.hero .anchor-nav a { color: var(--navy); border-color: rgba(8,43,76,.35); background: rgba(255,255,255,.72); text-shadow: none; }
.hero .anchor-nav a:hover { color: var(--amber-700); border-color: var(--amber-600); }
.hero__cue { position: absolute; left: 50%; bottom: clamp(1rem, 4vh, 2rem); z-index: 2; translate: -50% 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--navy); box-shadow: var(--sh-2); }
.hero__cue .icon { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) { .hero__cue { animation: cue 2.2s ease-in-out infinite; } }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.anchor-target { position: relative; top: calc(-1 * var(--header-h)); height: 0; }
@media (max-width: 900px) { .hero--page .hero__content { padding-bottom: 5.5rem; } .hero__actions .btn { flex: 1 1 auto; } }

/* Sections: translucent veils so the video stays visible behind every section */
.section, .page-404 { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.section--surface { background: color-mix(in srgb, var(--surface) 84%, transparent); }
.section--alt { background: color-mix(in srgb, var(--surface-2) 84%, transparent); }
.section--navy { background: color-mix(in srgb, var(--navy) 88%, transparent); }
.section--deep { background: radial-gradient(120% 120% at 100% 0%, rgba(18, 63, 104, .86) 0%, rgba(8, 43, 76, .88) 45%, rgba(4, 22, 40, .92) 100%); }
@media (min-width: 1024px) and (hover: hover) {
  @supports (backdrop-filter: blur(1px)) { .section, .page-404 { backdrop-filter: blur(5px) saturate(1.1); -webkit-backdrop-filter: blur(5px) saturate(1.1); } }
}
main > .section + .section { border-top: 1px solid rgba(255, 255, 255, .28); }
.site-footer { background: rgba(4, 22, 40, .93); }
@supports (backdrop-filter: blur(1px)) { .site-footer { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }

/* ---------- Brand logo (uploaded Navya Solar logo) ---------- */
.brand { gap: 0; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--color { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__logo--color { display: none; } :root:not([data-theme="light"]) .brand__logo--light { display: block; } }
.site-header--overlay:not(.is-solid) .brand__logo--color { display: block; }
.site-header--overlay:not(.is-solid) .brand__logo--light { display: none; }
.brand--footer .brand__logo--color { display: none !important; }
.brand--footer .brand__logo--light { display: block !important; height: 64px; }
@media (max-width: 480px) { .site-header .brand__logo { height: 40px; } }
@media (max-width: 360px) { .site-header .brand__logo { height: 34px; } }

/* ---------- Contact page: icon boxes no longer squeeze / overlap ---------- */
.contact-item { align-items: center; }
.contact-item > .card__icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; }
.contact-item > .card__icon .icon { width: 24px; height: 24px; }
.contact-item > span:last-child { min-width: 0; flex: 1 1 auto; }
.contact-item > span:last-child > span { display: block; }
.form-row--2 { align-items: start; }

/* ---------- Floating WhatsApp / call buttons: fixed in place, never slide upward ---------- */
.dock { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); transition: none; transform: none; }
.dock.is-hidden, body[data-page="home"] .dock:not(.is-ready) { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.dock__btn:hover { transform: none; filter: brightness(1.08); }
@media (max-width: 720px) { .dock__btn { width: 50px; height: 50px; } .footer__bottom { padding-bottom: 5.5rem; } }

/* ---------- Photo cards (real photographs) ---------- */
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-3); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.photo-card:hover .photo-card__media img { transform: scale(1.05); }
.photo-card__media { overflow: hidden; }
.photo-card__icon { position: absolute; left: 1.1rem; bottom: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.94); color: var(--amber-700); box-shadow: var(--sh-2); }
.photo-card__icon .icon { width: 24px; height: 24px; }
.photo-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.photo-card__body .card__link { margin-top: auto; padding-top: 1.1rem; }
.photo-credits a { color: inherit; }

/* ---------- Pump simulator: step-by-step explainer + 3D labels ---------- */
.flow-steps { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.1rem, .9rem + 1vw, 1.6rem); }
.flow-steps__title { font-size: 1.1rem; margin-bottom: 1rem; }
.flow-steps ol { list-style: none; display: grid; gap: .7rem; }
@media (min-width: 640px) { .flow-steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .flow-steps ol { grid-template-columns: repeat(3, 1fr); } }
.flow-steps li { display: flex; gap: .8rem; padding: .85rem .9rem; border-radius: var(--r); border: 1.5px solid var(--border); background: var(--surface-2); transition: border-color .4s, background-color .4s, box-shadow .4s; }
.flow-steps li strong { display: block; font-family: var(--font-display); color: var(--heading); font-size: .97rem; }
.flow-steps li p { font-size: .86rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.5; }
.flow-steps li em { display: block; margin-top: .4rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.flow-steps__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); color: var(--text-muted); font-weight: 800; font-family: var(--font-display); transition: background-color .4s, color .4s; }
.flow-steps li.is-on .flow-steps__n { background: var(--amber); color: var(--navy); }
.flow-steps li.is-active { border-color: var(--amber); background: var(--amber-tint); box-shadow: 0 10px 26px -18px rgba(154, 100, 0, .6); }
.sim-label { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem .22rem .25rem; border-radius: var(--r-pill); background: rgba(255,255,255,.93); color: var(--navy); font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(4,22,40,.6); pointer-events: none; transition: background-color .3s, transform .05s linear; }
.sim-label b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .7rem; }
.sim-label.is-active { background: var(--amber); }
.sim-label.is-active b { background: var(--navy); }
@media (max-width: 560px) { .sim-label { font-size: .66rem; } }
.sim-3d-toggle { position: absolute; top: 12px; right: 12px; z-index: 3; min-height: 40px; padding: .4rem .9rem; border: 0; border-radius: var(--r-pill); background: var(--amber); color: var(--navy); font-weight: 700; font-size: .82rem; box-shadow: var(--sh-2); }
.sim-stage { background: linear-gradient(#2F86E0, #9FD0F5 70%, #D6ECFF); }
@media (pointer: coarse) { .sim-stage { touch-action: pan-y; } }
.home-sim .tool__results { gap: 1rem; }

/* ---------- Footer: "powered by DataNova" ---------- */
.footer__powered { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer__dn-logo { display: block; flex: none; background: #fff; border-radius: 14px; padding: .35rem .7rem; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.footer__dn-logo img { width: 140px; height: auto; }
.footer__dn-text { min-width: 0; }
.footer__dn-title { color: #fff; font-size: 1rem; }
.footer__dn-title strong { color: #E61ED8; letter-spacing: .02em; }
.footer__dn-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .45rem; }
.footer__dn-links a { display: inline-flex; align-items: center; gap: .45rem; color: #B9CADB; text-decoration: none; font-size: .9rem; overflow-wrap: anywhere; }
.footer__dn-links a:hover { color: var(--amber); }
.footer__dn-links .icon { width: 17px; height: 17px; color: var(--amber); }
@media (pointer: coarse) { .sim-tag { display: none; } }

/* ---------- "People Behind the Power" photo: even frame, caption below the photo (v2.1.1) ---------- */
.leader__figure { padding: 12px; }
.leader__figure::before { display: none; }
.leader__photo { position: relative; padding: 10px; border: 1.5px solid var(--amber); border-radius: calc(var(--r-xl) + 10px); }
.leader__figure { padding: 0; }
.leader__frame img { object-position: center center; }
.leader__caption { margin: 1.75rem 0 0; justify-content: flex-start; gap: .9rem; padding: .95rem 1.2rem; }
.leader__names { min-width: 0; }
.leader__name { font-size: 1.2rem; line-height: 1.2; }
.leader__role { margin-top: .15rem; }
@media (max-width: 480px) { .leader__caption { padding: .85rem 1rem; } .leader__name { font-size: 1.08rem; } }
