/* ============================================================
   SolTech — Solar Panel Installation, Dubai
   Financial / wealth-platform aesthetic. One orange accent on navy.
   Tokens sourced from the client design handoff (high-fidelity).
   ============================================================ */

/* ============================================================
   Self-hosted fonts — no external CDN (works offline, faster, GDPR-clean).
   Schibsted Grotesk: variable 400..900 (normal + italic).
   IBM Plex Mono: 400 / 500 / 600. Latin + latin-ext subsets only.
   ============================================================ */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-italic-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-600-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #16345E;   /* primary text, navy buttons, DEWA chart line */
  --deep:       #0E2440;   /* dark section backgrounds */
  --accent:     #F08018;   /* the single accent — graphics/borders + accent text on DARK backgrounds */
  --accent-2:   #FF9633;   /* accent hover (decorative only) */
  --accent-strong: #C0530F;      /* accessible orange: ~4.6:1 as white-on-orange AND as orange text on white */
  --accent-strong-hover: #A8480C;
  --paper:      #F6F5F1;   /* page background */
  --white:      #FFFFFF;
  --muted:      #5C6B80;   /* secondary text */
  --faint:      #647082;   /* tertiary text/labels — darkened to clear WCAG AA (was #8B96A5) */
  --border:     #E5E2D9;   /* hairlines */
  --border-2:   #ECEAE2;   /* softer hairlines */
  --wa:         #25D366;   /* WhatsApp green */

  --on-dark-70: rgba(255,255,255,.72);
  --on-dark-55: rgba(255,255,255,.55);
  --on-dark-40: rgba(255,255,255,.40);

  --container: 1400px;
  --pad: 40px;

  --r-card: 18px;
  --r-btn: 10px;
  --r-pill: 999px;

  --shadow-card: 0 24px 60px -28px rgba(22,52,94,.28);
  --shadow-deep: 0 24px 60px -24px rgba(14,36,64,.45);
  --shadow-badge: 0 12px 28px -8px rgba(240,128,24,.55);

  --ease: cubic-bezier(.16,.7,.2,1);
  --ease-draw: cubic-bezier(.4,0,.2,1);

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-strong); }
button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num  { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 104px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.section--deep  { background: var(--deep); color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--on-dark { color: var(--accent); }
.eyebrow__sq { width: 8px; height: 8px; background: var(--accent); display: inline-block; flex: 0 0 auto; }

/* ---------- Headings ---------- */
.h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.022em; text-wrap: balance; margin: 0; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
.lead { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.on-dark .lead, .lead--on-dark { color: var(--on-dark-70); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--sm { padding: 11px 22px; font-size: 14.5px; font-weight: 600; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(14,36,64,.6); }
.btn--accent { background: var(--accent-strong); color: #fff; }
.btn--accent:hover { background: var(--accent-strong-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(192,83,15,.6); }
.btn--ghost { background: transparent; border-color: #C9CFD8; color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(0) scale(.985); }

/* underline link */
.ulink { display: inline-block; font-size: 15px; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: gap .25s var(--ease); }
.ulink .arw { display: inline-block; transition: transform .3s var(--ease); }
.ulink:hover .arw { transform: translateX(5px); }

/* ---------- Skip link (a11y: bypass blocks) ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Hero video pause/play control (a11y: WCAG 2.2.2) ---------- */
.hero__mediactrl {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,36,64,.55); border: 1px solid rgba(255,255,255,.35); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero__mediactrl:hover { background: rgba(14,36,64,.8); transform: scale(1.06); }
.hero__mediactrl svg { width: 18px; height: 18px; display: block; }
.hero__mediactrl .icon-play { display: none; }
.hero__mediactrl.is-paused .icon-play { display: block; }
.hero__mediactrl.is-paused .icon-pause { display: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,245,241,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-dark {
  background: rgba(9,20,38,.82);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header.is-dark .nav__link,
.site-header.is-dark .brand { color: #fff; }
.site-header.is-dark .nav__link:hover { color: var(--accent); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--ink);
}
.brand__o { position: relative; display: inline-block; }
.brand__dot { position: absolute; left: 50%; top: 56%; transform: translate(-50%,-50%); width: .26em; height: .26em; background: var(--accent); border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__link { position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav__link:hover::after { right: 0; }
.header-cta { display: inline-flex; }
.mobile-nav { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; color: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.site-header.is-dark .nav-toggle span { color: #fff; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero — full-banner video
   ============================================================ */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  overflow: hidden; padding: 72px 0 48px;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.06); animation: heroZoom 24s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,20,38,.55) 0%, rgba(9,20,38,.18) 40%, transparent 66%),
    linear-gradient(180deg, transparent 74%, var(--deep) 100%);
}
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
.hero__content { color: #fff; max-width: 980px; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero__title { color: #fff; margin: 14px 0 0; font-size: clamp(56px, 9vw, 120px); line-height: 1.0; letter-spacing: -.03em; }
.hero__sub { margin: 18px 0 0; max-width: 500px; color: var(--on-dark-70); }
.hero__cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__trust { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* Signature price stack */
.pricestack { position: relative; padding: 8px 0; }
.pricecard { border-radius: var(--r-card); padding: 30px 34px; }
.pricecard__label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.pricecard__value { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.pricecard__value .big { font-family: var(--mono); font-size: 64px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.pricecard__value .unit { font-family: var(--mono); font-size: 16px; }
.pricecard__foot { margin-top: 16px; padding-top: 14px; font-size: 13px; }

.pricecard--dewa {
  background: rgba(14,36,64,.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-deep);
}
.pricecard--dewa .pricecard__label { color: var(--on-dark-55); }
.pricecard--dewa .big { color: #fff; }
.pricecard--dewa .unit { color: var(--on-dark-55); }
.pricecard--dewa .pricecard__foot { color: var(--on-dark-55); border-top: 1px dashed rgba(255,255,255,.22); }

.pricecard--solar {
  background: #fff; border: 1.5px solid var(--accent);
  margin: -16px 0 0 44px; box-shadow: var(--shadow-card);
}
.pricecard--solar .pricecard__label { color: var(--accent-strong); }
.pricecard--solar .big { color: var(--accent-strong); }
.pricecard--solar .unit { color: var(--faint); }
.pricecard--solar .pricecard__foot { color: var(--faint); border-top: 1px dashed var(--border); }

.badge-cut {
  position: absolute; right: 22px; top: 46%; z-index: 3;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent-strong); color: #fff;
  font-family: var(--mono); font-weight: 600; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-8deg); box-shadow: var(--shadow-badge);
}

/* ============================================================
   Section head helper
   ============================================================ */
.section__head { max-width: 640px; }
.section__head .h2 { margin-top: 18px; }
.section__head .lead { margin-top: 16px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ============================================================
   Calculator
   ============================================================ */
.calc__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; margin-top: 52px; align-items: stretch; }

/* photo column */
.calc__media { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-deep); }
.calc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.calc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(9,20,38,.78)); }
.calc__media-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.calc__media-cap .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.calc__media-cap .v { font-size: 18px; font-weight: 700; color: #fff; }

/* one unified card: input + results + CTA */
.calc__panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-card); padding: 32px 34px;
  display: flex; flex-direction: column; gap: 20px;
}
.calc__label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-55); }
.calc__amount { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; }
.calc__amount .big { font-family: var(--mono); font-size: clamp(38px, 5vw, 52px); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.calc__amount .unit { font-family: var(--mono); font-size: 15px; color: var(--on-dark-55); }

.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; outline: none; cursor: pointer; background: rgba(255,255,255,.18); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,.4); cursor: grab; transition: transform .15s var(--ease); }
.slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,.4); cursor: grab; }
.slider__scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--on-dark-55); }

.calc__note {
  background: rgba(240,128,24,.12); border: 1px solid rgba(240,128,24,.4);
  border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.9);
  max-height: 200px; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .35s var(--ease), padding .35s var(--ease);
}
.calc__note[hidden] { display: block; max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin: 0; border-width: 0; }

/* results as rows inside the card */
.calc__results { display: flex; flex-direction: column; }
.calc__result { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; padding: 15px 0; border-top: 1px dashed rgba(255,255,255,.16); }
.calc__result-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-55); }
.calc__result-ctx { margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--on-dark-70); }
.calc__result-ctx .accent { color: var(--accent); font-weight: 600; }
.calc__result-v { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 240px; text-align: right; flex: 0 0 auto; }
.calc__result-v--accent { color: var(--accent); }
.calc__result-v .sm { font-size: 15px; color: var(--on-dark-55); }

.calc__submit { text-align: center; margin-top: 4px; }
.calc__submit .btn { width: 100%; }
.calc__reqnote { text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--on-dark-55); }
.calc__foot { margin-top: 22px; font-size: 13px; color: var(--on-dark-55); }
.calc__foot a { color: var(--on-dark-55); text-decoration: underline; }
.calc__foot a:hover { color: var(--accent); }

/* ============================================================
   Compare chart
   ============================================================ */
.legend { display: flex; gap: 24px; font-size: 14px; color: var(--muted); padding-bottom: 6px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 3px; display: inline-block; border-radius: 2px; }
.legend .l-dewa { background: var(--ink); }
.legend .l-solar { background: var(--accent-strong); }
.chart-card {
  margin-top: 44px; border: 1px solid var(--border-2); border-radius: var(--r-card);
  padding: 36px 28px 20px; background: linear-gradient(180deg, #FDFDFB, #F9F8F4);
}
.chart-card .foot { padding: 18px 8px 8px; font-size: 13px; color: var(--faint); }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.chart-line--dewa { stroke: var(--ink); }
.chart-line--solar { stroke: var(--accent-strong); }
/* draw-in hidden state only when JS can animate it (progressive enhancement) */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .chart-fade { opacity: 0; }

/* ============================================================
   Trust cards (static 4-up grid)
   ============================================================ */
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }

.tcard {
  position: relative; height: clamp(360px, 42vh, 420px);
  border-radius: var(--r-card); overflow: hidden;
  background: var(--deep); box-shadow: var(--shadow-card);
}
.tcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard:hover .tcard__img { transform: scale(1.06); }
.tcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,20,38,0) 26%, rgba(9,20,38,.5) 58%, rgba(9,20,38,.92) 100%); }
.tcard__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 22px 24px; color: #fff; }
.tcard__num { font-size: 12px; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px; }
.tcard__title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; min-height: 2.4em; }
.tcard__desc {
  margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.82);
  min-height: 4.5em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* ============================================================
   Engineers — photo split
   ============================================================ */
.engineers__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.engineers__media { position: relative; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/5; }
.engineers__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.engineers__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(14,36,64,.35)); }
.engineers__badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: rgba(14,36,64,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 14px; padding: 16px 20px;
}
.engineers__badge .k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-55); }
.engineers__badge .v { font-family: var(--mono); font-size: 30px; font-weight: 600; margin-top: 4px; }
.engineers__list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.engineers__list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px dashed var(--border); font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.engineers__list li:first-child { border-top: none; }
.engineers__list b { color: var(--ink); font-weight: 700; display: block; margin-bottom: 3px; }
.engineers__list .ic { color: var(--accent-strong); flex: 0 0 auto; margin-top: 2px; }

/* ============================================================
   Journey
   ============================================================ */
.journey-grid { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; margin-top: 60px; }

/* one continuous line, orange fill that trails the traveler, and a glowing traveler dot */
.journey-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--border); z-index: 0; }
.journey-line__fill { position: absolute; left: 0; top: 7px; height: 2px; border-radius: 2px; width: calc(var(--jp, 0) * 100%); background: var(--accent); opacity: var(--jo, 0); box-shadow: 0 0 10px rgba(240,128,24,.5); z-index: 1; }
.journey-traveler {
  position: absolute; top: 8px; left: calc(var(--jp, 0) * 100%); transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent); opacity: var(--jo, 0); z-index: 4; pointer-events: none;
  box-shadow: 0 0 0 5px rgba(240,128,24,.16), 0 0 18px 5px rgba(240,128,24,.6);
}

.step { position: relative; padding-top: 30px; z-index: 2; }
.step__dot {
  position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink);
  transition: background .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.step.is-lit .step__dot { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(240,128,24,.16), 0 0 12px 2px rgba(240,128,24,.55); }
.step__label { font-family: var(--mono); font-size: 12px; color: var(--faint); transition: color .45s var(--ease); }
.step.is-lit .step__label { color: var(--accent-strong); }
.step__title { margin-top: 8px; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.journey__foot { margin-top: 44px; font-size: 14px; color: var(--faint); }
.journey__foot a { text-decoration: underline; }

/* ============================================================
   Gallery — installations
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(200px, 1fr)); gap: 20px; margin-top: 48px; }
.gallery-grid--two { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.gallery-grid--two .shot { aspect-ratio: 3/2; }
.shot { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--deep); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14,36,64,.66)); }
.shot__cap { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; }
.shot__cap .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.shot__cap .v { font-size: 17px; font-weight: 700; margin-top: 4px; }
.shot--tall { grid-row: span 2; }
.gallery__note { margin: 22px 0 0; font-size: 12.5px; color: var(--faint); }

/* ============================================================
   Models
   ============================================================ */
.models-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.model { border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.model--light { background: #fff; border: 1px solid var(--border-2); }
.model--dark { background: var(--deep); color: #fff; }
.model__media { position: relative; height: 220px; overflow: hidden; }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.model:hover .model__media img { transform: scale(1.05); }
.model__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,36,64,.5)); }
.model__pill {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(14,36,64,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-pill); padding: 6px 12px;
}
.model__body { padding: 34px 38px 38px; display: flex; flex-direction: column; flex: 1; }
.model__title { font-size: 24px; font-weight: 800; }
.model--dark .model__title { color: #fff; }
.spec-list { margin: 22px 0 0; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed var(--border); font-size: 15px; }
.model--dark .spec { border-top-color: rgba(255,255,255,.2); }
.spec__k { color: var(--muted); }
.model--dark .spec__k { color: var(--on-dark-55); }
.spec__v { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.spec__v--accent { color: var(--accent); }
.model--light .spec__v--accent { color: var(--accent-strong); }
.model__cta { margin-top: auto; padding-top: 26px; }
.model--dark .ulink { color: #fff; } .model--dark .ulink:hover { color: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-head { text-align: center; }
.faq-head .eyebrow { justify-content: center; }
.faq-list { margin-top: 48px; }
.faq-item { border-top: 1px solid var(--border-2); }
.faq-item:last-child { border-bottom: 1px solid var(--border-2); }
.faq-q {
  all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%; padding: 24px 4px; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink);
}
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-q__icon { font-family: var(--mono); font-size: 22px; color: var(--accent-strong); flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-draw); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 4px 26px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 640px; }

/* ============================================================
   Final CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; padding: 120px 0; background: var(--deep); }
.cta__bg { position: absolute; inset: 0; z-index: 0; opacity: .3; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,36,64,.86), rgba(14,36,64,.94)); }
.cta .container { position: relative; z-index: 2; max-width: 820px; text-align: center; }
.cta .h2 { color: #fff; margin-top: 20px; font-size: clamp(32px, 4.6vw, 48px); }
.cta .lead { margin: 20px auto 0; max-width: 520px; color: var(--on-dark-70); }
.cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--paper); border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 64px var(--pad) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--faint); max-width: 260px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-col__k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.35);
  animation: waPulse 2.6s ease-out infinite;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
/* reveal hiding only applies when JS is available (progressive enhancement) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero on-load stagger (runs immediately, not scroll-gated) */
.load-up { opacity: 0; transform: translateY(28px); animation: loadUp .9s var(--ease) forwards; }
.load-up.d1 { animation-delay: .1s; } .load-up.d2 { animation-delay: .2s; }
.load-up.d3 { animation-delay: .3s; } .load-up.d4 { animation-delay: .4s; }
.load-up.d5 { animation-delay: .25s; } .load-up.d6 { animation-delay: .4s; } .load-up.d7 { animation-delay: .55s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pricestack { max-width: 460px; }
  .engineers__grid { grid-template-columns: 1fr; gap: 36px; }
  .journey-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
  .journey-line, .journey-line__fill, .journey-traveler { display: none; }
  .step { border-top: 2px solid var(--border); padding-top: 18px; }
  .step__dot { top: -6px; width: 10px; height: 10px; }
  .step.is-lit .step__dot { transform: none; box-shadow: none; background: var(--ink); }
  .step.is-lit .step__label { color: var(--faint); }
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: grid;
    position: fixed; inset: 72px 0 auto 0; z-index: 55;
    background: rgba(14,36,64,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    display: grid; gap: 4px; padding: 20px var(--pad) 28px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { color: #fff; font-size: 17px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mobile-nav .btn { margin-top: 14px; }

  .section { padding: 76px 0; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__media { min-height: 0; aspect-ratio: 16/10; }
  .calc__result-v { min-width: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .shot { aspect-ratio: 16/10; }
  .shot--tall { grid-row: auto; aspect-ratio: 16/11; }
  .models-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .hero { padding: 108px 0 72px; min-height: auto; }
  .pricecard--solar { margin-left: 24px; }
  .badge-cut { width: 64px; height: 64px; font-size: 16px; right: 8px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .trust-cards { grid-template-columns: 1fr; }
  .tcard { height: 400px; }
}

@media (hover: none) {
  .nav__link::after { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__video { animation: none; transform: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .load-up { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wa-float { animation: none; }
  .draw { stroke-dashoffset: 0 !important; }
  .chart-fade { opacity: 1 !important; }
  .carousel-track { scroll-behavior: auto; }
  .tcard__img { transition: none; }
  .journey-traveler { display: none; }
}
