/* ==========================================================================
   Sky Spark Solar — design system & layout
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --teal: #073B49;
  --navy: #0A2935;
  --navy-deep: #061d26;
  --cyan: #26B6D1;
  --cyan-ink: #0d7287;      /* cyan darkened for text on light backgrounds (AA) */
  --gold: #F4C33E;
  --gold-soft: #FBE7AE;
  --white: #FAFAF7;
  --grey: #E9EFF0;
  --ink: #0A2935;
  --muted: #4a636c;
  --line: rgba(7, 59, 73, .12);
  --line-strong: rgba(7, 59, 73, .28);
  --line-dark: rgba(233, 239, 240, .14);
  --wa: #0f7a55;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgba(10, 41, 53, .06), 0 12px 32px -12px rgba(10, 41, 53, .18);
  --shadow-l: 0 30px 60px -30px rgba(10, 41, 53, .45);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(84px, 11vw, 152px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { 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: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

.accent { color: var(--cyan-ink); }
.dark .accent, .hero .accent, .cta-band .accent { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.dark .eyebrow { color: var(--cyan); }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 38em; }
.dark .lede { color: rgba(233, 239, 240, .78); }
.hint { font-weight: 500; color: var(--muted); font-size: .88em; }
.small-print { font-size: .9rem; color: var(--muted); }
.mini-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin: 28px 0 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.02rem; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-gold { --bg: var(--gold); --fg: var(--navy); }
.btn-gold:hover { --bg: #ffd25a; box-shadow: 0 10px 30px -10px rgba(244, 195, 62, .7); }
.btn-teal:hover { --bg: #0b4d5f; box-shadow: 0 10px 30px -12px rgba(7, 59, 73, .6); }
.btn-ghost { --bg: rgba(250, 250, 247, .08); --fg: var(--white); border-color: rgba(250, 250, 247, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgba(250, 250, 247, .18); border-color: var(--white); }
.btn-outline { --bg: transparent; --fg: var(--teal); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--teal); --bg: rgba(7, 59, 73, .04); }
.btn-text { --bg: transparent; --fg: var(--muted); padding-inline: 12px; text-decoration: underline; text-underline-offset: 4px; }
.btn-text:hover { --fg: var(--ink); }
.btn-whatsapp { --bg: var(--wa); --fg: #fff; }
.btn-whatsapp:hover { --bg: #0c6646; }
.btn-glow { position: relative; isolation: isolate; }
.btn-glow::after {
  content: ''; position: absolute; inset: -8px; border-radius: 16px; z-index: -1;
  background: radial-gradient(closest-side, rgba(244, 195, 62, .55), transparent); opacity: .7;
  animation: glowPulse 3.6s ease-in-out infinite;
}
@keyframes glowPulse { 50% { opacity: .2; transform: scale(.96); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white);
  transition: background-color .35s, box-shadow .35s, color .35s, height .35s;
}
.site-header.is-solid {
  background: rgba(250, 250, 247, .92); color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 41, 53, .35);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: auto; height: 40px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.is-solid .brand-mark { filter: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.12rem; letter-spacing: .02em; text-transform: uppercase; font-weight: 800; }
.brand-text span { font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 4px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a {
  position: relative; display: block; padding: 10px 12px; font-size: .92rem; font-weight: 600; text-decoration: none; opacity: .88;
  transition: opacity .2s;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { opacity: 1; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.menu-toggle { display: none; }

@media (max-width: 1140px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
    background: rgba(250, 250, 247, .1); border: 1px solid rgba(250, 250, 247, .35); color: inherit; cursor: pointer; position: relative; z-index: 2;
  }
  .is-solid .menu-toggle, .menu-open .menu-toggle { background: transparent; border-color: var(--line-strong); }
  .menu-icon { position: relative; width: 22px; height: 12px; }
  .menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .menu-icon span:first-child { top: 0; }
  .menu-icon span:last-child { top: 10px; }
  .menu-open .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
}
.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { position: relative; z-index: 2; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 1; background: var(--white); color: var(--ink);
  padding: calc(var(--header-h) + 20px) var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 38px); transition: clip-path .6s var(--ease-out), visibility 0s .6s; visibility: hidden;
}
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .7s var(--ease-out); }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) { transition-delay: .12s; } .menu-open .mobile-menu li:nth-child(2) { transition-delay: .16s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .2s; } .menu-open .mobile-menu li:nth-child(4) { transition-delay: .24s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .28s; } .menu-open .mobile-menu li:nth-child(6) { transition-delay: .32s; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none;
}
.mobile-menu nav a span { font-size: .8rem; color: var(--cyan-ink); font-weight: 700; letter-spacing: .1em; }
.mobile-menu nav a.is-active { color: var(--cyan-ink); }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mobile-call { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; padding: 10px; }
.mobile-call svg { width: 20px; height: 20px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; max-height: 1100px; display: flex; align-items: center;
  color: var(--white); background: var(--navy-deep); overflow: hidden; isolation: isolate;
}
.hero-art { position: absolute; inset: 0; z-index: -2; container-type: size; }
.hero-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: heroZoom 18s var(--ease-out) both; transform-origin: 70% 60%; }
@media (max-aspect-ratio: 16/9) {
  .hero-svg { width: calc(100cqh * 16 / 9); min-width: 100%; left: 69%; translate: -69% 0; }
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-svg .l-sky, .hero-svg .l-far, .hero-svg .l-mid, .hero-svg .l-near { transform: translate3d(0, calc(var(--py, 0) * var(--k)), 0); will-change: transform; }
.hero-svg .l-sky { --k: 120px; } .hero-svg .l-far { --k: 80px; } .hero-svg .l-mid { --k: 50px; } .hero-svg .l-near { --k: 20px; }
.hero-svg .sun-glow { transform-box: fill-box; transform-origin: center; animation: sunBreath 7s ease-in-out infinite alternate; }
.hero-svg .sun-rays { transform-box: view-box; transform-origin: 1460px 598px; animation: raySway 16s ease-in-out infinite alternate; }
@keyframes sunBreath { from { transform: scale(.92); opacity: .85; } to { transform: scale(1.06); opacity: 1; } }
@keyframes raySway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
.hero-svg .energy-trail { stroke-dasharray: 16 26; animation: trail 2.6s linear infinite; }
.hero-svg .energy-trail--glow { stroke-dasharray: 16 26; }
@keyframes trail { to { stroke-dashoffset: -84; } }
.hero-svg .lamp { animation: lamp 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes lamp { to { opacity: .6; transform: scale(.85); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 26, 34, .88) 0%, rgba(5, 26, 34, .6) 34%, rgba(5, 26, 34, 0) 62%),
    linear-gradient(180deg, rgba(5, 26, 34, .5) 0%, transparent 22%, transparent 74%, rgba(5, 26, 34, .65) 100%);
}
.hero-particles i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-soft); opacity: 0;
  left: calc(64% + var(--x) * 1%); top: calc(60% + var(--y) * 1%);
  animation: mote var(--t, 9s) linear infinite; animation-delay: var(--dl, 0s); box-shadow: 0 0 8px rgba(244, 195, 62, .9);
}
.hero-particles i:nth-child(1) { --x: 18; --y: 4; --t: 11s; } .hero-particles i:nth-child(2) { --x: 26; --y: 10; --t: 9s; --dl: -3s; }
.hero-particles i:nth-child(3) { --x: 34; --y: -2; --t: 12s; --dl: -6s; } .hero-particles i:nth-child(4) { --x: 6; --y: 12; --t: 10s; --dl: -2s; }
.hero-particles i:nth-child(5) { --x: 40; --y: 8; --t: 13s; --dl: -8s; } .hero-particles i:nth-child(6) { --x: 22; --y: 16; --t: 8s; --dl: -1s; }
.hero-particles i:nth-child(7) { --x: 12; --y: -6; --t: 14s; --dl: -9s; } .hero-particles i:nth-child(8) { --x: 30; --y: 20; --t: 10s; --dl: -5s; }
.hero-particles i:nth-child(9) { --x: 2; --y: 2; --t: 12s; --dl: -4s; } .hero-particles i:nth-child(10) { --x: 38; --y: -8; --t: 9s; --dl: -7s; }
.hero-particles i:nth-child(11) { --x: 16; --y: 22; --t: 15s; --dl: -11s; } .hero-particles i:nth-child(12) { --x: 28; --y: -10; --t: 11s; --dl: -10s; }
@keyframes mote {
  0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; }
  80% { opacity: .5; } 100% { opacity: 0; transform: translate(-60px, -180px); }
}
.hero-content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero-location {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-bottom: 26px;
  border: 1px solid rgba(250, 250, 247, .28); border-radius: 8px; background: rgba(6, 29, 38, .35); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}
.hero-location svg { width: 18px; height: 18px; color: var(--gold); }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 5rem); letter-spacing: -.035em; line-height: 1.02; max-width: 12.5em; text-wrap: balance; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 26px; max-width: 32em; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(250, 250, 247, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px;
  border: 1.5px solid rgba(250, 250, 247, .55);
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 761px) and (max-width: 1024px) {
  .hero-scrim { background: linear-gradient(90deg, rgba(5, 26, 34, .9) 0%, rgba(5, 26, 34, .72) 50%, rgba(5, 26, 34, .15) 85%), linear-gradient(180deg, rgba(5, 26, 34, .5), transparent 25%); }
}
@media (max-width: 760px) {
  .hero { align-items: flex-start; min-height: 100svh; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5, 26, 34, .85) 0%, rgba(5, 26, 34, .55) 46%, rgba(5, 26, 34, .1) 70%, rgba(5, 26, 34, .6) 100%); }
  .hero-content { padding-top: calc(var(--header-h) + 22px); }
  .hero-svg { left: 82%; translate: -82% 0; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
}

/* ---------- Reveal motion ---------- */
.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% 6% 8% 6% round var(--radius-l)); opacity: .001; transition: clip-path 1.2s var(--ease-out), opacity .6s; }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius-l)); opacity: 1; }
.js .hero .reveal { animation: fadeUp 1s var(--ease-out) both; animation-delay: var(--d, .1s); transition: none; opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.dark { background: var(--navy); color: var(--white); }
.dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(38, 182, 209, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 182, 209, .06) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
}
.dark > .container { position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.section-head.split .lede { margin: 0; }
.display { font-size: clamp(3rem, 9vw, 7.5rem); letter-spacing: -.045em; line-height: .95; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc-section { background: var(--grey); }
.calc-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(7, 59, 73, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 59, 73, .05) 1px, transparent 1px);
  background-size: 48px 72px; mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.calc-section > .container { position: relative; }
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.calc-form { background: var(--white); padding: clamp(24px, 4vw, 48px); }
.calc-group { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.calc-group legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); }
.calc-group legend .hint { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--grey); border-radius: 12px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(10, 41, 53, .16), inset 0 -2px 0 var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 1px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(7, 59, 73, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(38, 182, 209, .22); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.input-affix { position: relative; display: flex; align-items: center; }
.input-affix > span { position: absolute; left: 14px; color: var(--muted); font-weight: 700; pointer-events: none; }
.input-affix input { padding-left: 32px; }
.input-affix.suffix > span { left: auto; right: 14px; font-size: .88rem; }
.input-affix.suffix input { padding-left: 14px; padding-right: 56px; }
.input-affix .affix-end { left: auto !important; right: 14px; font-size: .88rem; }
.input-affix input#calc-rate { padding-right: 60px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.field-error { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: #b23a26; min-height: 0; }
.field-error:empty { display: none; }
.field-help { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.assumptions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0; margin-bottom: 24px; }
.assumptions summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 10px; }
.assumptions summary::-webkit-details-marker { display: none; }
.assumptions summary::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--grey); color: var(--teal); font-weight: 800; transition: transform .3s; }
.assumptions[open] summary::before { content: '–'; }
.assumption-list { display: grid; gap: 6px; margin: 4px 0 16px; font-size: .88rem; color: var(--muted); }
.assumption-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.assumption-list b { color: var(--ink); white-space: nowrap; }
.assumption-list em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a6400; background: var(--gold-soft); padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.calc-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-alert { margin: 14px 0 0; font-weight: 600; color: #b23a26; }
.form-alert:empty { display: none; }

.calc-results { background: var(--navy); color: var(--white); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.calc-results::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(circle at 90% -10%, rgba(244, 195, 62, .28), transparent 45%),
    linear-gradient(rgba(38, 182, 209, .07) 1px, transparent 1px) 0 0 / 34px 52px,
    linear-gradient(90deg, rgba(38, 182, 209, .07) 1px, transparent 1px) 0 0 / 34px 52px;
}
.calc-results > * { position: relative; }
.results-empty { margin: auto 0; padding: 40px 0; text-align: left; color: rgba(233, 239, 240, .75); }
.results-empty-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -.02em; }
.cell-motif { width: 120px; height: 84px; margin-bottom: 26px; border-radius: 6px; background:
  linear-gradient(135deg, rgba(244, 195, 62, .5), transparent 60%),
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(233, 239, 240, .35) 22px 24px),
  repeating-linear-gradient(0deg, transparent 0 26px, rgba(233, 239, 240, .35) 26px 28px), #134a63; }
.results-tag { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.results-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244, 195, 62, .2); }
.kpi-main { display: grid; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.kpi-label { font-size: .9rem; color: rgba(233, 239, 240, .7); font-weight: 600; }
.kpi-value { font-size: clamp(3.2rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: .38em; margin-left: 6px; color: var(--white); letter-spacing: 0; }
.kpi-note { font-size: .86rem; color: rgba(233, 239, 240, .7); margin-top: 6px; }
.kpi-note:empty { display: none; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.kpi-grid > div { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.kpi-grid > div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line-dark); }
.kpi-grid > div:nth-child(even) { padding-left: 18px; }
.kpi-grid dt { font-size: .82rem; color: rgba(233, 239, 240, .65); font-weight: 600; }
.kpi-grid dd { margin: 4px 0 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-grid small { font-size: .62em; font-weight: 600; color: rgba(233, 239, 240, .7); letter-spacing: 0; }
.compare { display: grid; gap: 12px; margin: 22px 0 6px; }
.compare-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'l v' 'b b'; gap: 6px 12px; align-items: center; }
.compare-label { grid-area: l; font-size: .86rem; color: rgba(233, 239, 240, .75); font-weight: 600; }
.compare-val { grid-area: v; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar { grid-area: b; height: 12px; border-radius: 6px; background: rgba(233, 239, 240, .1); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.1s var(--ease-out); }
.bar-now { background: linear-gradient(90deg, #6b8792, #a9bcc2); }
.bar-after { background: linear-gradient(90deg, var(--cyan), var(--gold)); }
.payback { margin: 16px 0 4px; font-size: .92rem; color: rgba(233, 239, 240, .82); padding: 14px 16px; border-radius: 10px; background: rgba(233, 239, 240, .06); border: 1px solid var(--line-dark); }
.payback:empty { display: none; }
.payback strong { color: var(--gold); }
.flags { display: grid; gap: 8px; margin: 12px 0 20px; font-size: .88rem; color: var(--gold-soft); }
.flags li { display: flex; gap: 10px; }
.flags li::before { content: '!'; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(244, 195, 62, .18); color: var(--gold); font-weight: 800; font-size: .75rem; }
.calc-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .8rem; line-height: 1.55; color: rgba(233, 239, 240, .6); }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .calc-actions .btn-teal { flex: 1; }
}

/* ---------- Why solar ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.why-macro { margin: 32px 0 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.why-macro img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.why-macro figcaption { position: absolute; left: 14px; bottom: 12px; font-size: .8rem; font-weight: 700; color: var(--white); background: rgba(10, 41, 53, .7); padding: 5px 10px; border-radius: 6px; }
.why-figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-l); }
.why-figure img { width: 100%; height: 100%; object-fit: cover; }
.benefits { counter-reset: b; border-top: 1px solid var(--line-strong); }
.benefit {
  display: grid; grid-template-columns: 70px 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 28px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line); transition: background-color .3s;
}
.benefit:hover { background: linear-gradient(90deg, rgba(244, 195, 62, .1), transparent 60%); }
.benefit-no { font-size: .85rem; font-weight: 800; color: var(--cyan-ink); letter-spacing: .1em; padding-top: 6px; }
.benefit-ico { width: 44px; height: 44px; color: var(--teal); }
.benefit h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); padding-top: 4px; }
.benefit p { margin: 0; color: var(--muted); padding-top: 4px; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 16px; }
  .benefit-no { grid-row: span 3; }
  .benefit-ico { width: 38px; height: 38px; }
}
.daycurve { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-l); background: var(--navy); color: var(--white); }
.daycurve h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 14px; }
.daycurve p { color: rgba(233, 239, 240, .75); }
.legend { display: grid; gap: 8px; font-size: .9rem; color: rgba(233, 239, 240, .8); }
.legend li { display: flex; align-items: center; gap: 10px; }
.sw { width: 22px; height: 4px; border-radius: 2px; }
.sw-gold { background: var(--gold); } .sw-cyan { background: var(--cyan); }
.daycurve-chart { width: 100%; height: auto; color: var(--grey); }
.daycurve-chart text { font-family: var(--font); }
.js .daycurve .draw { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease-out) .3s; }
.js .daycurve.is-in .draw { stroke-dashoffset: 0; }
.js .daycurve .dc-area { opacity: 0; transition: opacity 1.2s 1.2s; }
.js .daycurve.is-in .dc-area { opacity: 1; }
@media (max-width: 860px) { .daycurve { grid-template-columns: 1fr; } }

/* ---------- Residential ---------- */
.residential { background: var(--white); }
.res-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); user-select: none; touch-action: pan-y; position: sticky; top: calc(var(--header-h) + 24px); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(10, 41, 53, .82); color: var(--white); pointer-events: none; }
.ba-tag-l { left: 16px; } .ba-tag-r { right: 16px; background: var(--gold); color: var(--navy); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(10, 41, 53, .15); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(10, 41, 53, .35); }
.ba-handle span::before, .ba-handle span::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--teal); border-width: 0 0 2.5px 2.5px; }
.ba-handle span::before { left: 12px; transform: rotate(45deg); } .ba-handle span::after { right: 12px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.res-steps { counter-reset: s; display: grid; gap: 10px; }
.res-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--muted); }
.res-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-weight: 800; color: var(--cyan-ink); font-size: .85rem; }
.res-steps strong { color: var(--ink); }
.suit { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.suit li { background: var(--white); padding: 14px 16px; font-size: .9rem; color: var(--muted); }
.suit span { display: block; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 960px) { .res-grid { grid-template-columns: 1fr; } .ba { position: relative; top: 0; } }
@media (max-width: 480px) { .suit { grid-template-columns: 1fr; } }

/* ---------- Commercial ---------- */
.com-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(48px, 7vw, 88px); }
.com-fig { margin: 0; position: relative; }
.com-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-l); }
.com-fig-a { grid-column: 1 / span 7; }
.com-fig-b { grid-column: 8 / span 5; margin-top: clamp(40px, 9vw, 120px); }
.com-fig-b img { aspect-ratio: 4 / 3.4; object-position: 40% 50%; }
.com-fig figcaption { margin-top: 12px; font-size: .86rem; color: rgba(233, 239, 240, .65); display: flex; gap: 10px; align-items: center; }
.com-fig figcaption::before { content: ''; width: 18px; height: 2px; background: var(--gold); }
.com-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.com-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.com-list li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.com-list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.com-list p { margin: 0; font-size: .94rem; color: rgba(233, 239, 240, .7); }
.flow { border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px); background: linear-gradient(160deg, rgba(38, 182, 209, .12), rgba(7, 59, 73, .4)); border: 1px solid var(--line-dark); }
.flow-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: 14px; }
.flow-svg { width: 100%; height: auto; }
.flow-path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 11; animation: flow 1.4s linear infinite; }
.flow-path--glow { stroke-width: 9; opacity: .18; stroke-dasharray: none; animation: none; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.f-sun { transform-box: fill-box; transform-origin: center; animation: sunBreath 4s ease-in-out infinite alternate; }
.flow-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; font-size: .86rem; color: rgba(233, 239, 240, .75); counter-reset: f; }
.flow-legend li { counter-increment: f; }
.flow-legend li::before { content: counter(f, decimal-leading-zero); display: block; color: var(--gold); font-weight: 800; font-size: .78rem; margin-bottom: 2px; }
.flow-legend span { display: block; color: var(--white); font-weight: 700; }
.com-cta { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.com-cta p { margin: 0; font-size: 1.15rem; max-width: 30em; color: rgba(233, 239, 240, .85); }
@media (max-width: 960px) {
  .com-grid { grid-template-columns: 1fr; }
  .com-fig-a, .com-fig-b { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 560px) { .com-list { grid-template-columns: 1fr; } .com-cta .btn { width: 100%; white-space: normal; } }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.how-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.how-fig { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.how-fig img { width: 100%; }
.how-cap { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.how-steps h2 { margin-bottom: 40px; }
.timeline-wrap { position: relative; }
.timeline-track { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--gold)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { position: relative; padding: 0 0 clamp(36px, 6vw, 72px) 84px; min-height: 120px; }
.step:last-child { padding-bottom: 0; }
.step-no {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); border: 2px solid var(--line-strong); font-weight: 800; color: var(--muted);
  transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.step h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); padding-top: 10px; margin-bottom: 8px; transition: color .4s; }
.step p { color: var(--muted); max-width: 30em; margin: 0; }
.step.is-active .step-no { background: var(--navy); color: var(--gold); border-color: var(--navy); transform: scale(1.06); }
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; } .how-visual { order: 2; } .how-sticky { position: static; } }
@media (max-width: 480px) { .step { padding-left: 70px; } .step-no { width: 48px; height: 48px; } .timeline-track { left: 23px; } }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.tech-diagram { position: relative; border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(38, 182, 209, .1), rgba(7, 59, 73, .3)); border: 1px solid var(--line-dark); padding: 10px; }
.sys-svg { width: 100%; height: auto; }
.sys-svg .part { transition: opacity .4s, filter .4s; }
.sys-svg.has-active .part { opacity: .35; }
.sys-svg.has-active .part.is-active { opacity: 1; filter: drop-shadow(0 0 10px rgba(244, 195, 62, .55)); }
.hotspots { position: absolute; inset: 10px; pointer-events: none; }
.hotspot {
  pointer-events: auto;
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; box-shadow: 0 0 0 6px rgba(244, 195, 62, .2);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.hotspot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ping 2.6s ease-out infinite; }
.hotspot:hover, .hotspot.is-active { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(244, 195, 62, .3); }
.hotspot.is-active { background: var(--white); }
@keyframes ping { 0% { opacity: .8; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.8); } }
.tech-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tech-tab {
  border: 1px solid var(--line-dark); background: transparent; color: rgba(233, 239, 240, .8); padding: 9px 14px; border-radius: 8px;
  font-weight: 700; font-size: .88rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.tech-tab:hover { border-color: rgba(233, 239, 240, .4); color: var(--white); }
.tech-tab[aria-selected="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tech-info { border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); background: var(--white); color: var(--ink); min-height: 240px; }
.tech-info .ti-no { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--cyan-ink); }
.tech-info h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 6px 0 10px; }
.tech-info .ti-role { font-weight: 700; color: var(--teal); }
.tech-info p { color: var(--muted); }
.tech-info .ti-spec { font-size: .86rem; padding: 10px 12px; border-radius: 8px; background: var(--grey); color: var(--teal); margin: 0; }
.tech-info.swap { animation: swap .45s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.tech-photo { margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: end; }
.tech-photo img { width: 100%; border-radius: var(--radius-l); }
.tech-photo figcaption { font-size: 1.05rem; color: rgba(233, 239, 240, .75); border-left: 2px solid var(--gold); padding-left: 18px; }
@media (max-width: 960px) { .tech-grid, .tech-photo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hotspot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .7rem; box-shadow: 0 0 0 4px rgba(244, 195, 62, .2); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-fig { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-l); }
.about-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.eyebrow):not(.lede) { color: var(--muted); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 28px 0; }
.principles li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .92rem; color: var(--muted); }
.principles svg { width: 22px; height: 22px; color: var(--navy); background: var(--gold); border-radius: 6px; padding: 3px; }
.principles strong { display: block; color: var(--ink); }
.about-card { padding: 22px 24px; border-radius: var(--radius); background: var(--grey); display: grid; gap: 10px; }
.about-owner { margin: 0; font-weight: 800; }
.about-owner span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-ink); font-weight: 800; }
.about-card address { display: grid; gap: 8px; font-size: .94rem; color: var(--muted); }
.about-card address > * { display: flex; gap: 10px; align-items: flex-start; }
.about-card svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal); }
.about-card a { font-weight: 700; color: var(--ink); text-decoration: none; }
.about-card a:hover { text-decoration: underline; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .about-fig { aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--grey); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .lede a { color: var(--cyan-ink); font-weight: 700; }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item:first-child { border-top: 1px solid var(--line-strong); }
.acc-item h3 { font-size: inherit; }
.acc-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  background: none; border: 0; text-align: left; cursor: pointer; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; color: var(--ink);
}
.acc-item button svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 8px; background: var(--white); color: var(--teal); transition: transform .4s var(--ease), background-color .3s; }
.acc-item button:hover svg { background: var(--gold); }
.acc-item.open button svg { transform: rotate(45deg); background: var(--gold); }
.acc-panel { display: grid; grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 46em; }
.acc-panel a { color: var(--cyan-ink); font-weight: 700; }
.js .acc-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease-out), visibility 0s .45s; }
.js .acc-item.open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease-out); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; min-height: clamp(380px, 48vw, 600px); display: flex; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; background: var(--navy); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 60% 50%; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 29, 38, .55) 0%, rgba(6, 29, 38, .15) 45%, rgba(6, 29, 38, .7) 100%); }
.cta-inner { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -.04em; max-width: 14em; margin: 0 auto 32px; text-wrap: balance; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-card { margin-top: 32px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l); background: var(--grey); }
.contact-name { font-size: 1.4rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.contact-owner { color: var(--cyan-ink); font-weight: 700; margin-bottom: 16px; }
.contact-line { display: flex; gap: 10px; color: var(--muted); }
.contact-line svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--teal); }
.contact-line a { color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.contact-buttons .btn { white-space: normal; text-align: center; }
.contact-form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.form-title { font-size: 1.5rem; margin-bottom: 24px; }
.req { color: #b23a26; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 6px; }
.check { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; font-weight: 500 !important; font-size: .9rem !important; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--teal); }
.check a { color: var(--cyan-ink); font-weight: 700; }
.form-mode { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-mode:empty { display: none; }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.form-status .msg { padding: 14px 16px; border-radius: 10px; font-size: .94rem; font-weight: 600; }
.form-status .msg-ok { background: #e6f4ee; color: #0b5a3e; border: 1px solid #b7dfcd; }
.form-status .msg-info { background: #e8f5f8; color: #0b4d5f; border: 1px solid #b9e1ea; }
.form-status .msg-err { background: #fbeceb; color: #8f2b1c; border: 1px solid #f0c4bd; }
.form-status a { color: inherit; font-weight: 800; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-buttons { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(233, 239, 240, .75); padding: clamp(56px, 8vw, 96px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 18px; background: var(--white); border-radius: 14px; padding: 10px 14px; }
.footer-brand p { max-width: 26em; }
.footer-h { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 8px; margin-bottom: 18px; }
.footer-contact a { color: var(--white); font-weight: 700; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -10px rgba(10, 41, 53, .6);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out), background-color .2s;
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { background: #0c6646; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-simple { min-height: 100svh; display: flex; flex-direction: column; }
.page-simple .site-header { position: sticky; background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.page-simple main { flex: 1; }
.prose { max-width: 760px; padding-block: clamp(48px, 8vw, 96px); }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-bottom: 1em; }
.prose a { color: var(--cyan-ink); font-weight: 700; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: var(--white); padding: 40px var(--gutter); }
.notfound h1 { font-size: clamp(5rem, 18vw, 11rem); color: var(--gold); letter-spacing: -.05em; line-height: 1; }
.notfound p { color: rgba(233, 239, 240, .8); font-size: 1.15rem; margin: 18px auto 30px; max-width: 28em; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- 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; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .js .hero-title .line > span { transform: none; }
  .hero-particles, .hero-svg .energy-trail { display: none; }
  .hero-svg .l-sky, .hero-svg .l-far, .hero-svg .l-mid, .hero-svg .l-near { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .float-wa, .hero-art, .scroll-cue, .cta-band { display: none; }
  .hero { min-height: 0; color: var(--ink); background: none; }
}
