/* =========================================================
   Share-Win Solar Systems — Landing Page Styles
   ========================================================= */
:root {
  --primary: #15134D;
  --secondary: #3433B8;
  --gold: #EFDA80;
  --gold-deep: #D9BE52;
  --dark: #05050D;
  --white: #FFFFFF;
  --light: #F5F6FF;
  --ink: #12122E;
  --muted: #5B5C7A;
  --line: #E3E4F3;
  --wa: #25D366;
  --gradient: linear-gradient(125deg, #05050D, #15134D, #3433B8);
  --gradient-soft: linear-gradient(135deg, #15134D 0%, #24228A 60%, #3433B8 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(21, 19, 77, .06);
  --shadow: 0 12px 40px rgba(21, 19, 77, .10);
  --shadow-lg: 0 30px 80px rgba(5, 5, 13, .35);
  --font-head: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--dark); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 40px); }
.gold-text { color: var(--gold); }
.fine { font-size: .8rem; line-height: 1.5; opacity: .78; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .95rem 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: var(--pad); border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; --pad: .6rem 1.1rem; font-size: .8rem; }
.btn-lg { min-height: 58px; --pad: 1.05rem 1.8rem; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, #F6E59B, var(--gold) 45%, var(--gold-deep)); color: var(--dark); box-shadow: 0 10px 28px rgba(239, 218, 128, .32); }
.btn-gold:hover { box-shadow: 0 14px 38px rgba(239, 218, 128, .5); }
.btn-glow::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1;
  background: radial-gradient(closest-side, rgba(239,218,128,.55), transparent); filter: blur(10px); opacity: .7;
  animation: glow 3.2s ease-in-out infinite;
}
@keyframes glow { 0%,100% { opacity: .45; transform: scale(.96); } 50% { opacity: .85; transform: scale(1.04); } }
.btn-outline { color: var(--white); border-color: rgba(239,218,128,.65); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--gold); background: rgba(239,218,128,.1); }
.btn-outline-dark { color: var(--primary); border-color: var(--line); background: var(--white); }
.btn-whatsapp { background: var(--wa); color: #06301A; }
.btn-whatsapp:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, .35); }
.link-btn { background: none; border: 0; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--secondary); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(10, 10, 34, .82); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.brand img { width: 48px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(239,218,128,.35), 0 6px 18px rgba(0,0,0,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.main-nav ul { display: flex; gap: 1.8rem; }
.main-nav a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .4rem 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav ul a:hover { color: var(--white); }
.main-nav ul a:hover::after { transform: scaleX(1); }
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-call { display: flex; align-items: center; gap: .45rem; color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; }
.header-call svg { width: 18px; height: 18px; color: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: var(--gradient);
  padding: calc(var(--header-h) + 48px) 0 72px;
  min-height: 100svh;
}
.hero-visual { position: absolute; inset: 0; z-index: -3; }
.hero-scene, .hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 70% 60%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,5,13,.95) 0%, rgba(21,19,77,.88) 28%, rgba(30,28,120,.6) 44%, rgba(52,51,184,0) 58%, rgba(21,19,77,.25) 100%),
    linear-gradient(0deg, rgba(5,5,13,.55), transparent 35%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; pointer-events: none; }
.orb-1 { width: 380px; height: 380px; background: rgba(52,51,184,.55); left: -120px; top: 12%; animation: float 12s ease-in-out infinite; }
.orb-2 { width: 260px; height: 260px; background: rgba(239,218,128,.18); left: 32%; bottom: -60px; animation: float 15s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-26px); } }
.scene-sun { animation: sunpulse 6s ease-in-out infinite; transform-origin: 1330px 150px; }
@keyframes sunpulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
.glint { animation: glint 5s ease-in-out infinite; }
@keyframes glint { 0%,100% { opacity: 0; transform: translateX(-30px); } 50% { opacity: .3; transform: translateX(240px); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 440px); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { max-width: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(239,218,128,.35); font-size: .82rem; font-weight: 600; letter-spacing: .03em; backdrop-filter: blur(6px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(239,218,128,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,218,128,.5); } 70% { box-shadow: 0 0 0 10px rgba(239,218,128,0); } }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); font-weight: 800; text-transform: uppercase; margin: 1.1rem 0 .6rem; letter-spacing: -.025em; line-height: 1.02; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 .gold-text { display: block; background: linear-gradient(100deg, #FFF3BF, var(--gold) 40%, #D9BE52); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 700; color: var(--white); margin-bottom: .8rem; }
.hero-lead { color: rgba(255,255,255,.84); font-size: 1.05rem; max-width: 560px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.4rem; margin: 1.4rem 0 1.8rem; }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .96rem; }
.hero-points svg { width: 22px; height: 22px; flex: none; color: var(--dark); background: var(--gold); border-radius: 50%; padding: 4px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.hero .fine { color: rgba(255,255,255,.7); max-width: 540px; }

/* ---------- Form card ---------- */
.form-card {
  position: relative; background: rgba(255,255,255,.98); color: var(--ink);
  border-radius: var(--radius-lg); padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(239,218,128,.55), 0 0 60px rgba(239,218,128,.18);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary)); }
.form-head { text-align: center; margin-bottom: 1.1rem; }
.form-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); background: var(--light); padding: .35rem .8rem; border-radius: 999px; margin-bottom: .6rem; }
.form-head h2 { font-size: 1.45rem; margin-bottom: .25rem; color: var(--primary); }
.form-head p { color: var(--muted); font-size: .92rem; margin: 0; }
.field { margin-bottom: .75rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--primary); margin-bottom: .3rem; }
.field label span[aria-hidden] { color: #C2410C; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: #FBFBFF; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2315134D' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; padding-right: 2.2rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 4px rgba(52,51,184,.14); }
.field.invalid input, .field.invalid select, .field.invalid .phone-wrap { border-color: #DC2626; }
.phone-wrap { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #FBFBFF; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone-wrap:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(52,51,184,.14); }
.phone-wrap .prefix { display: grid; place-items: center; padding: 0 .7rem; font-weight: 600; color: var(--primary); background: var(--light); border-right: 1px solid var(--line); }
.phone-wrap input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; }
.error { color: #B91C1C; font-size: .76rem; margin: .25rem 0 0; min-height: 0; }
.error:empty { display: none; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; color: var(--muted); line-height: 1.45; margin: .4rem 0 .9rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--secondary); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#submit-btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(5,5,13,.25); border-top-color: var(--dark); animation: spin .8s linear infinite; }
#submit-btn.loading .spinner { display: inline-block; }
#submit-btn.loading .btn-label { opacity: .7; }
#submit-btn:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-size: .88rem; margin-top: .7rem; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.ok { background: #ECFDF5; color: #065F46; padding: .75rem .9rem; }
.form-status.err { background: #FEF2F2; color: #991B1B; padding: .75rem .9rem; }
.form-trust { display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); margin: .7rem 0 0; }
.form-trust svg { width: 14px; height: 14px; color: var(--secondary); }

/* ---------- Offer / countdown ---------- */
.offer { background: linear-gradient(180deg, var(--dark), var(--primary)); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(52,51,184,.6), transparent); }
.offer-inner {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
  padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(239,218,128,.4);
  box-shadow: 0 0 0 1px rgba(239,218,128,.08), 0 0 50px rgba(239,218,128,.12) inset, 0 20px 60px rgba(0,0,0,.35);
}
.offer h2 { text-transform: uppercase; font-size: clamp(1.45rem, 1rem + 1.8vw, 2.2rem); }
.offer p { color: rgba(255,255,255,.82); }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); background: var(--gold); padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.timer-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
.timer { display: flex; align-items: center; gap: .8rem; }
.t-unit { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.t-num {
  font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1; color: var(--gold);
  min-width: 2.2ch; padding: .9rem 1rem; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(5,5,13,.75), rgba(21,19,77,.9));
  border: 1px solid rgba(239,218,128,.5); box-shadow: 0 0 24px rgba(239,218,128,.22), inset 0 1px 0 rgba(255,255,255,.08);
  animation: borderglow 2.4s ease-in-out infinite;
}
@keyframes borderglow { 0%,100% { box-shadow: 0 0 18px rgba(239,218,128,.18), inset 0 1px 0 rgba(255,255,255,.08); } 50% { box-shadow: 0 0 34px rgba(239,218,128,.38), inset 0 1px 0 rgba(255,255,255,.08); } }
.t-num.tick { animation: tick .35s var(--ease), borderglow 2.4s ease-in-out infinite; }
@keyframes tick { from { transform: translateY(-4px); opacity: .6; } to { transform: none; opacity: 1; } }
.t-lbl { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.t-sep { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--gold); margin-bottom: 1.6rem; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.timer.ended { opacity: .45; filter: grayscale(.6); }
.timer.ended .t-sep, .timer.ended .t-num { animation: none; }
.timer-ended { margin: 0; font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--gradient); color: var(--white); position: relative; overflow: hidden; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.4rem); }
.section-head h2 { color: var(--primary); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.kicker { display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); margin-bottom: .8rem; padding-left: 26px; position: relative; }
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--gold-deep); }
.kicker-gold { color: var(--gold); }
.kicker-gold::before { background: var(--gold); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(217,190,82,.75); }
.icon-card { padding: 1.8rem 1.6rem; }
.icon-card .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--gradient-soft); color: var(--gold); box-shadow: 0 10px 24px rgba(52,51,184,.28); transition: transform .35s var(--ease); }
.icon-card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.icon-card .icon svg { width: 28px; height: 28px; }
.icon-card h3, .why-card h3, .solution h3 { color: var(--primary); }
.icon-card p, .why-card p, .solution p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Solutions */
.solution { overflow: hidden; display: flex; flex-direction: column; }
.media { position: relative; aspect-ratio: 10 / 7; overflow: hidden; background-color: #CFE1F6; background-size: cover; background-position: center; }
.media picture, .media img { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21,19,77,.35)); }
.media picture, .media::before { transition: transform .8s var(--ease); }
.media::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; }
.media picture { position: relative; z-index: 1; }
.solution:hover .media picture, .solution:hover .media::before { transform: scale(1.07); }
.media-res { background-image: url("assets/img/scene-residential.svg"); }
.media-com { background-image: url("assets/img/scene-commercial.svg"); }
.media-ind { background-image: url("assets/img/scene-industrial.svg"); }
.media-util { background-image: url("assets/img/scene-utility.svg"); }
.sol-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.sol-body .link-arrow { margin-top: auto; padding-top: .4rem; }

/* Subsidy */
.section-dark::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(closest-side, rgba(239,218,128,.16), transparent); }
.subsidy-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.84); }
.expander { border: 1px solid rgba(255,255,255,.16); border-radius: 14px; margin: 0 0 .8rem; background: rgba(255,255,255,.04); }
.expander summary { cursor: pointer; padding: .95rem 1.1rem; font-weight: 700; font-family: var(--font-head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.expander summary::-webkit-details-marker { display: none; }
.expander summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform .3s var(--ease); }
.expander[open] summary::after { transform: rotate(45deg); }
.expander-body { padding: 0 1.1rem 1rem; }
.expander-body p { margin: .6rem 0 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; color: rgba(255,255,255,.88); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.subsidy-grid .btn { margin-top: 1rem; }
.subsidy-table { background: rgba(255,255,255,.06); border: 1px solid rgba(239,218,128,.4); border-radius: var(--radius-lg); padding: 1.4rem; backdrop-filter: blur(8px); box-shadow: 0 0 60px rgba(239,218,128,.1); }
.st-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .6rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
.st-row span:last-child { font-family: var(--font-head); font-weight: 800; }
.st-head { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); padding-top: 0; }
.st-head span:last-child { font-weight: 600; font-family: var(--font-body); }
.st-hi { background: linear-gradient(90deg, rgba(239,218,128,.18), rgba(239,218,128,.04)); border-radius: 12px; border-bottom: 0; color: var(--gold); font-size: 1.2rem; margin-top: .4rem; }
.st-hi small { font-size: .7rem; font-weight: 600; opacity: .8; }
.subsidy-table .fine { margin: 1rem .4rem 0; }
.subsidy-table .fine a { color: var(--gold); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; }
.timeline::after { content: ""; position: absolute; top: 30px; left: 10%; width: 80%; height: 3px; background: linear-gradient(90deg, var(--secondary), var(--gold)); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.timeline.in::after { transform: scaleX(1); }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 62px; height: 62px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--gold); background: var(--gradient-soft); border: 4px solid var(--white); box-shadow: 0 0 0 2px rgba(217,190,82,.6), 0 10px 26px rgba(52,51,184,.3); }
.step h3 { color: var(--primary); font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Why */
.why-card { padding: 1.6rem 1.4rem; }
.why-card > svg { width: 38px; height: 38px; color: var(--secondary); margin-bottom: 1rem; padding: 7px; border-radius: 12px; background: var(--light); box-shadow: inset 0 0 0 1px rgba(239,218,128,.6); }
.why-cta { background: var(--gradient-soft); color: var(--white); text-decoration: none; display: flex; flex-direction: column; justify-content: center; border-color: rgba(239,218,128,.55); }
.why-cta h3 { color: var(--gold); font-size: 1.35rem; }
.why-cta p { color: rgba(255,255,255,.82); margin-bottom: 1rem; }
.why-cta .link-arrow { color: var(--gold); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--white); }
.calc-inputs { padding: clamp(1.4rem, 3vw, 2.4rem); }
.calc-inputs .field { margin-bottom: 1.4rem; }
.calc-inputs label { font-size: .92rem; }
.calc-inputs output { color: var(--secondary); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
input[type=range] { width: 100%; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; padding: 0; border: 0; min-height: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--secondary) var(--fill, 10%), var(--line) var(--fill, 10%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--secondary); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--gold); border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(21,19,77,.35); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(21,19,77,.35); }
.range-scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.calc-results { background: var(--gradient); color: var(--white); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .9rem; align-content: start; }
.result { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.r-lbl { font-size: .9rem; color: rgba(255,255,255,.75); }
.r-val { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-align: right; }
.result-main { flex-direction: column; align-items: flex-start; background: rgba(239,218,128,.1); border: 1px solid rgba(239,218,128,.4); border-radius: 14px; padding: 1rem 1.1rem; }
.result-main .r-val { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); color: var(--gold); text-align: left; }
.calc-results .btn { margin-top: .4rem; }
.assumptions { grid-column: 1 / -1; padding: 1rem clamp(1.4rem, 3vw, 2.4rem) 1.4rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.assumptions summary { cursor: pointer; font-weight: 700; color: var(--primary); font-family: var(--font-head); padding: .4rem 0; }
.assumptions ul { list-style: disc; padding-left: 1.2rem; margin-top: .6rem; }
.assumptions li { margin-bottom: .35rem; }

/* Reviews */
.trust-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); background: var(--white); border: 1px dashed rgba(52,51,184,.35); box-shadow: var(--shadow-sm); }
.trust-empty h3 { color: var(--primary); font-size: 1.25rem; }
.trust-empty p { color: var(--muted); margin: 0; }
.trust-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--gradient-soft); color: var(--gold); display: grid; place-items: center; }
.trust-icon svg { width: 32px; height: 32px; }
.review { padding: 1.6rem; margin: 0; }
.review blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink); }
.review figcaption { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.review figcaption strong { color: var(--primary); }

/* FAQ */
.accordion { display: grid; gap: .8rem; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.acc-item.open { border-color: rgba(217,190,82,.8); box-shadow: var(--shadow-sm); }
.acc-item h3 { margin: 0; font-size: 1rem; }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; padding: 1.15rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--primary); border-radius: 16px; min-height: 56px; }
.acc-btn::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233433B8' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.acc-btn[aria-expanded="true"]::after { transform: rotate(135deg); background-color: var(--gold); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; background: var(--gradient); color: var(--white); padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(239,218,128,.25), transparent 60%); }
.orb-3 { width: 340px; height: 340px; background: rgba(52,51,184,.6); right: -80px; top: -80px; animation: float 14s ease-in-out infinite; }
.final-inner { position: relative; max-width: 860px; }
.final-cta h2 { text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 3.4vw, 3.4rem); }
.final-cta p { font-size: 1.15rem; color: rgba(255,255,255,.84); margin-bottom: 2rem; }
.final-ctas { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.final-secondary { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 2rem; padding-bottom: 2.6rem; }
.footer-brand img { width: 72px; height: auto; border-radius: 14px; margin-bottom: 1rem; }
.f-name { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.site-footer h3 { color: var(--gold); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.f-list li { margin-bottom: .55rem; }
address { font-style: normal; line-height: 1.7; }
.areas { line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0 calc(1.3rem + var(--safe-b)); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Floating CTAs ---------- */
.floaters { position: fixed; right: 20px; bottom: calc(20px + var(--safe-b)); z-index: 90; display: flex; flex-direction: column; gap: 12px; transition: bottom .3s var(--ease); }
.fab { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab-call { background: linear-gradient(135deg, #F6E59B, var(--gold) 50%, var(--gold-deep)); color: var(--dark); box-shadow: 0 10px 28px rgba(217,190,82,.45), 0 0 0 3px rgba(21,19,77,.9); }
.fab-wa { background: var(--wa); color: #fff; position: relative; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: breathe 2.6s ease-out infinite; }
@keyframes breathe { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
body.cookie-open .floaters { bottom: calc(var(--cookie-h, 0px) + 20px + var(--safe-b)); }

.mobile-bar { display: none; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: calc(20px + var(--safe-b)); z-index: 95; max-width: 420px; background: var(--white); color: var(--ink); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .86rem; }
.cookie p { margin: 0 0 .8rem; }
.cookie-actions { display: flex; gap: .6rem; justify-content: flex-end; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in:hover { transition-delay: 0s; }
.js .card.reveal.in:hover { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav ul { gap: 1.2rem; }
  .header-call span { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  /* mobile nav */
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-call { width: 46px; height: 46px; justify-content: center; border-radius: 12px; background: rgba(239,218,128,.14); border: 1px solid rgba(239,218,128,.4); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(8,8,28,.97); backdrop-filter: blur(16px);
    padding: 1rem 20px 1.6rem; transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility .4s; border-bottom: 1px solid rgba(239,218,128,.25);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 1rem .2rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav ul a::after { display: none; }
  .nav-phone { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--gold) !important; font-weight: 700; font-size: 1.1rem; }
  .nav-phone svg { width: 20px; height: 20px; }
  .site-header.menu-open { background: rgba(8,8,28,.97); }

  /* hero stacks: copy → image → form */
  /* order on tablet/mobile: headline & CTAs → house image → form card */
  .hero { min-height: 0; display: flex; flex-direction: column; padding: calc(var(--header-h) + 32px) 0 40px;
          background: linear-gradient(180deg, #05050D 0%, #15134D 60%, #1d1b72 100%); }
  .hero-overlay { display: none; }
  .hero-grid { display: contents; }
  .hero-copy { order: 1; width: min(720px, 100% - 40px); margin-inline: auto; padding-bottom: 12px; }
  .hero-visual { order: 2; position: relative; inset: auto; z-index: 0; width: 100%; height: clamp(240px, 58vw, 460px); }
  .hero-visual::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; z-index: 2; background: linear-gradient(180deg, #11103F, transparent); pointer-events: none; }
  .form-card { order: 3; margin: -64px auto 0; width: min(560px, 100% - 40px); z-index: 3; }
  .subsidy-grid { grid-template-columns: 1fr; }
  .offer-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .timeline::before, .timeline::after { top: 30px; bottom: 30px; left: 30px; right: auto; width: 3px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 1.1rem; text-align: left; padding-bottom: 1.8rem; }
  .step-num { margin: 0; }
  .calc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-empty { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 32px, 1240px); }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-copy, .form-card { width: calc(100% - 32px); }
  .hero-points { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .offer-inner .btn, .timer-wrap { max-width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.5rem 1.15rem 1.2rem; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  /* mobile conversion bar replaces floating buttons */
  .floaters { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(8,8,28,.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(239,218,128,.35);
    padding: 8px 8px calc(8px + var(--safe-b)); gap: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.25);
    transition: transform .35s var(--ease);
  }
  .mobile-bar.hide { transform: translateY(110%); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 12px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.06); }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a:first-child svg { color: var(--gold); }
  .mobile-bar a:nth-child(2) svg { color: var(--wa); }
  .mobile-bar .mb-quote { background: linear-gradient(135deg, #F6E59B, var(--gold) 50%, var(--gold-deep)); color: var(--dark); }
  body { padding-bottom: calc(72px + var(--safe-b)); }
  .cookie { left: 12px; right: 12px; max-width: none; bottom: calc(82px + var(--safe-b)); }
  .grid-4, .grid-why { grid-template-columns: 1fr; }
  .result { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .r-val { text-align: left; }
}

@media (max-width: 380px) {
  .brand-text small { letter-spacing: .1em; }
  .brand-text strong { font-size: 1rem; }
  .brand img { width: 40px; }
  .btn { white-space: normal; text-align: center; }
  .t-num { padding: .7rem .7rem; }
  .final-secondary .btn { flex: 1 1 100%; }
}

@media (min-width: 1600px) {
  .container { width: min(1360px, 100% - 80px); }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) 470px; }
}

/* ---------- 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; }
  .reveal { opacity: 1; transform: none; }
}
