/* =========================================================
   Wawim's Solar Set up — styles
   Change brand colors and type sizes in :root below.
   Spacing follows an 8px scale (--s1 = 8px).
   ========================================================= */
:root {
  --navy: #0B2B4A;
  --navy-2: #12385e;
  --blue: #1F6FB2;
  --blue-light: #4DA3E6;
  --amber: #F5A623;
  --amber-dark: #d98c0a;
  --white: #fff;
  --gray: #E9EEF3;
  --ink: #14212f;
  --muted: #4b5a6a;
  --line: #d5dde6;
  --good: #1f7a4a;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px; --s12: 96px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 43, 74, .06), 0 4px 16px rgba(11, 43, 74, .06);
  --shadow-lift: 0 2px 4px rgba(11, 43, 74, .08), 0 12px 32px rgba(11, 43, 74, .12);
  --container: 1200px;
  --header-h: 72px;

  --h1: 36px; --h2: 30px; --h3: 20px; --body: 16px;
  --section-y: var(--s7);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --h1: 46px; --h2: 34px; --h3: 22px; --body: 17px; --section-y: var(--s10); } }
@media (min-width: 1100px) { :root { --h1: 56px; --h2: 40px; --h3: 24px; --body: 18px; --section-y: var(--s12); --header-h: 80px; } }

*, *::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; background: var(--white); color: var(--ink);
  font: 400 var(--body)/1.6 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Placeholders the owner still needs to fill in */
.ph { font-style: normal; font-weight: 600; color: #8a5a00; background: #fff4dd; border-radius: 4px; padding: 0 4px; font-size: .9em; }
.ph-block { color: #8a5a00; background: #fff4dd; border: 1px dashed #e6b860; border-radius: 8px; padding: var(--s2); font-weight: 600; }

.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 768px) { .container { padding: 0 var(--s4); max-width: calc(var(--container) + 64px); } }

.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--s8) 0; }
.section-alt { background: var(--gray); }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head h2 + .lead { margin-top: var(--s2); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: var(--s1); }
.eyebrow-light { color: var(--blue-light); }
.lead { color: var(--muted); font-size: 1.05em; }
.note { font-size: 14px; color: var(--muted); margin-top: var(--s2); }
.section-cta { margin-top: var(--s5); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .i { width: 20px; height: 20px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #f7b23f; box-shadow: 0 0 0 4px rgba(245, 166, 35, .25), 0 8px 24px rgba(245, 166, 35, .35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); box-shadow: 0 0 0 4px rgba(245, 166, 35, .2); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 166, 35, .25); }
.btn-ghost-light { color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(245, 166, 35, .2); }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: var(--s2); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand-badge { position: relative; width: 48px; height: 48px; flex: none; }
.brand-badge img { width: 48px; height: 48px; }
.brand-sun { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-rays { transform-origin: 49.9px 45.2px; transition: transform 1.6s var(--ease); }
.brand:hover .brand-rays { animation: rays-turn 6s linear infinite; }
@keyframes rays-turn { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; color: var(--amber); margin-top: 3px; }

.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; color: var(--white); cursor: pointer; border-radius: 8px; }
.menu-btn .i { width: 28px; height: 28px; }
.header-cta { display: none; }

.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); padding: var(--s2) var(--s2) var(--s4);
  display: flex; flex-direction: column; gap: var(--s3); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.nav ul { display: flex; flex-direction: column; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; color: var(--white); text-decoration: none; font-weight: 500; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav a:not(.btn):hover { color: var(--amber); }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav { position: static; inset: auto; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; flex-direction: row; overflow: visible; }
  .nav ul { flex-direction: row; gap: 2px; }
  .nav a:not(.btn) { min-height: 44px; padding: 0 10px; font-size: 14.5px; border: 0; position: relative; }
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav a:not(.btn):hover { color: var(--white); }
  .nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 18px; font-size: 15px; }
}
@media (min-width: 1100px) and (max-width: 1240px) { .nav a:not(.btn) { padding: 0 7px; font-size: 13.5px; } .brand-text small { letter-spacing: .2em; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); min-height: min(88vh, 760px); display: flex; align-items: center; }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo img { object-position: 30% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 43, 74, .78); }
.hero-inner { padding-top: var(--s10); padding-bottom: var(--s10); }
.hero h1 { color: var(--white); max-width: 14em; }
.hero .eyebrow { color: var(--amber); }
.hero-lead { margin-top: var(--s3); max-width: 36em; font-size: 1.08em; color: rgba(255, 255, 255, .9); }
.hero-actions { margin-top: var(--s4); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Trust bar ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s2); padding-top: var(--s4); padding-bottom: var(--s4); }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; color: var(--navy); line-height: 1.35; }
.trust-list .i { width: 32px; height: 32px; color: var(--blue); }
.trust-list .ph { display: block; width: fit-content; margin-top: 2px; font-size: 12px; }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); } .trust-list li { font-size: 16px; } }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cards { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Packages ---------- */
.packages { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .packages { gap: var(--s4); }
  .pkg { padding: var(--s4); }
  .pkg-list { columns: 2; column-gap: var(--s4); }
  .pkg-list li { break-inside: avoid; }
  .pkg-list li:last-child { border-bottom: 1px dashed var(--line); }
}
.pkg { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pkg-featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.pkg h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.pkg-kw { display: block; font-size: 36px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.pkg-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.pkg-facts { margin: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
.pkg-facts div + div { border-top: 1px solid var(--line); }
.pkg-facts dt { font-size: 14px; color: var(--muted); }
.pkg-facts dd { font-weight: 700; color: var(--navy); text-align: right; font-size: 15.5px; white-space: nowrap; }
.pkg-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); }
.pkg-list { flex: 1; margin-bottom: var(--s3); font-size: 15px; }
.pkg-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; }
.pkg-list li:last-child { border-bottom: 0; }
.pkg-list span { color: var(--muted); font-size: 13.5px; }
.pkg-more { margin-top: var(--s4); text-align: center; color: var(--muted); }
.pkg-more strong { color: var(--navy); }

.included { margin-top: var(--s6); display: grid; gap: var(--s4); align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.included-photo img { width: 100%; border-radius: 8px; }
.included-text h3 { margin-bottom: var(--s2); }
@media (min-width: 900px) { .included { grid-template-columns: 7fr 5fr; padding: var(--s4); gap: var(--s6); } }

.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.checks .i { color: var(--blue); width: 22px; height: 22px; margin-top: 3px; stroke-width: 2; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: 5fr 6fr; gap: var(--s8); } .calc-grid .section-head { margin-bottom: 0; } }
.calc-steps { counter-reset: s; margin-top: var(--s3); }
.calc-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-top: 1px solid var(--line); color: var(--muted); }
.calc-steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.calc-steps strong { color: var(--navy); }
.calc { padding: var(--s3); }
@media (min-width: 768px) { .calc { padding: var(--s5); } }
.calc label { font-weight: 600; color: var(--navy); display: block; margin-bottom: var(--s1); }
.input-peso { position: relative; }
.input-peso > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); pointer-events: none; }
.input-peso input[type] { padding-left: 38px; }
#calc-bill { font-size: 24px; font-weight: 700; min-height: 64px; padding-left: 46px !important; }
.calc .input-peso > span { font-size: 22px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.calc-out { margin-top: var(--s3); }
.calc-figs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; }
.calc-figs div { padding: 12px; text-align: center; }
.calc-figs div + div { border-left: 1px solid var(--line); }
.calc-figs dt { font-size: 12.5px; color: var(--muted); }
.calc-figs dd { font-weight: 700; color: var(--navy); font-size: 16px; }
.calc-rec { margin: var(--s2) 0; background: var(--navy); color: var(--white); border-radius: 8px; padding: var(--s3); text-align: center; }
.calc-rec-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light); font-weight: 600; }
.calc-rec-kw { font-size: clamp(28px, 7vw, 40px); font-weight: 700; line-height: 1.15; margin-top: 4px; }
.calc-rec-note { font-size: 15px; color: rgba(255, 255, 255, .85); margin-top: 4px; }

/* ---------- Services ---------- */
.svc { padding: var(--s4) var(--s3); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #c3cfdb; }
.svc-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--gray); color: var(--blue); margin-bottom: var(--s3); }
.svc-icon .i { width: 28px; height: 28px; }
.svc:hover .svc-icon .i { animation: hop .6s var(--ease); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }
.svc h3 { margin-bottom: var(--s1); }
.svc p { color: var(--muted); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .why-grid { grid-template-columns: 5fr 7fr; gap: var(--s8); } }
.why-intro .lead { margin-top: var(--s2); }
.why-panel { width: 200px; margin-top: var(--s4); }
.why-panel polygon { opacity: .25; transition: opacity .35s ease, fill .35s ease; }
.why-panel.lit polygon { opacity: 1; fill: var(--blue-light); }
.why-panel.lit polygon:nth-child(2) { transition-delay: .1s; } .why-panel.lit polygon:nth-child(3) { transition-delay: .2s; }
.why-panel.lit polygon:nth-child(4) { transition-delay: .3s; } .why-panel.lit polygon:nth-child(5) { transition-delay: .4s; }
.why-panel.lit polygon:nth-child(6) { transition-delay: .5s; } .why-panel.lit polygon:nth-child(7) { transition-delay: .6s; }
.why-panel.lit polygon:nth-child(8) { transition-delay: .7s; } .why-panel.lit polygon:nth-child(9) { transition-delay: .8s; }
.why-list { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-list li { display: flex; flex-direction: column; gap: var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.why-list .i { width: 32px; height: 32px; color: var(--blue); }
.why-list h3 { margin-bottom: 6px; font-size: 19px; }
.why-list p { color: var(--muted); font-size: .95em; }
.warranty { margin-top: var(--s6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
@media (min-width: 768px) { .warranty { padding: var(--s4); } }
.warranty dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s3); }
@media (min-width: 768px) { .warranty dl { grid-template-columns: repeat(4, 1fr); } }
.warranty dl div { border-left: 3px solid var(--amber); padding-left: var(--s2); }
.warranty dt { font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.warranty dd { color: var(--muted); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; gap: var(--s4); }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--amber); transform: scaleY(var(--draw, 0)); transform-origin: top; }
.step { position: relative; padding-left: 72px; }
.step-n { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px var(--white); }
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
  .steps::before, .steps::after { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform: scaleX(var(--draw, 0)); transform-origin: left; }
  .step { padding-left: 0; padding-top: 72px; }
}

/* ---------- Credentials ---------- */
.cred-grid { display: grid; gap: var(--s2); }
@media (min-width: 768px) { .cred-grid { grid-template-columns: repeat(3, 1fr); } }
.cred { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.cred h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--s1); }
.cred p { font-weight: 600; color: var(--navy); }

/* ---------- Projects ---------- */
.project { overflow: hidden; display: flex; flex-direction: column; }
.project picture { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover img { transform: scale(1.03); }
.project-body { padding: var(--s3); }
.project-size { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.project h3 { margin: 4px 0 var(--s1); }
.project-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.project-loc .i { width: 18px; height: 18px; margin-top: 3px; }
.project-spec { margin-top: var(--s1); font-size: 14.5px; color: var(--ink); }
.results { margin-top: var(--s6); display: grid; gap: var(--s2); }
.results h3 { margin-bottom: var(--s1); }
@media (min-width: 900px) { .results { grid-template-columns: 1fr 1fr; } .results h3, .results .note { grid-column: 1 / -1; } }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.result-label { font-size: 14px; color: var(--muted); }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin: var(--s2) 0 var(--s1); }
.result-row span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.result-row strong { font-size: clamp(22px, 5.5vw, 30px); color: var(--navy); line-height: 1.2; }
.result-row strong.good { color: var(--good); }
.result-arrow { color: var(--amber); width: 28px; height: 28px; stroke-width: 2; }
.result-foot { font-size: 14px; color: var(--muted); }

/* ---------- Referral ---------- */
.refer { background: var(--navy); color: rgba(255, 255, 255, .88); padding: var(--s8) 0; }
.refer-inner { display: flex; flex-direction: column; gap: var(--s3); }
.refer h2 { color: var(--white); margin-bottom: var(--s2); }
.refer strong { color: var(--amber); }
@media (min-width: 900px) { .refer-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s8); } .refer-inner > div { max-width: 720px; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.about-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.about-text h2 { margin-bottom: var(--s2); }
.about-text > p + p { margin-top: var(--s2); }
.about-text > p:not(.eyebrow) { color: var(--muted); }
.about-facts { margin-top: var(--s4); border-top: 1px solid var(--line); }
.about-facts div { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--muted); }
.about-facts dd { font-weight: 600; color: var(--navy); text-align: right; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 64px; padding: var(--s2) var(--s3); font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s var(--ease); color: var(--blue); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--s3) var(--s3); color: var(--muted); }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 4fr 7fr; gap: var(--s8); } .quote-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.quote-grid .checks { margin-top: var(--s3); }
.form-card { padding: var(--s3); }
@media (min-width: 768px) { .form-card { padding: var(--s5); } }
.form-grid { display: grid; gap: var(--s3) var(--s3); margin-bottom: var(--s4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 600; color: var(--navy); margin-bottom: var(--s1); font-size: 15px; padding: 0; }
.req { color: #b4410e; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; background: var(--white);
  border: 1.5px solid #b9c5d2; border-radius: 8px; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231F6FB2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 178, .2); }
[aria-invalid="true"] { border-color: #b4261b !important; }
.error { color: #b4261b; font-size: 14px; margin-top: 6px; font-weight: 500; }
.error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s1); }
.choice { position: relative; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1.5px solid #b9c5d2; border-radius: 8px; font-weight: 500; color: var(--ink); transition: all .2s; }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.choices.invalid .choice span { border-color: #b4261b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alt { margin-top: var(--s2); text-align: center; }
.form-alt a { font-weight: 600; }
.form-privacy { margin-top: var(--s1); text-align: center; font-size: 14px; color: var(--muted); }
.form-status { margin-top: var(--s2); font-size: 15px; text-align: center; }
.form-status:empty { display: none; }
.form-status.err { color: #b4261b; }
.form-done { text-align: center; padding: var(--s4) 0; outline: none; }
.form-done h3 { margin: var(--s3) 0 var(--s2); }
.form-done p { color: var(--muted); max-width: 32em; margin: 0 auto var(--s4); }
.done-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e6f4ec; color: var(--good); }
.done-icon .i { width: 36px; height: 36px; stroke-width: 2.2; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Payment ---------- */
.pay-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; } }
.pay-card { padding: var(--s3); display: grid; gap: var(--s3); }
@media (min-width: 560px) { .pay-card { grid-template-columns: 1fr 180px; padding: var(--s4); align-items: center; } }
.pay-details > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-details > div:last-child { border-bottom: 0; }
.pay-details dt { font-size: 13px; color: var(--muted); }
.pay-details dd { font-weight: 700; color: var(--navy); font-size: 18px; margin-top: 2px; word-break: break-word; }
.pay-num dd { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qr-box { aspect-ratio: 1; width: 100%; max-width: 220px; margin: 0 auto; border: 2px dashed #b9c5d2; border-radius: 8px; display: grid; place-items: center; text-align: center; padding: var(--s2); font-size: 13px; font-weight: 600; color: #8a5a00; background: #fffaf0; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.pay-steps ol { display: grid; gap: var(--s2); }
.pay-steps li { display: flex; gap: var(--s2); align-items: flex-start; }
.pay-steps .step-n { position: static; width: 40px; height: 40px; font-size: 16px; box-shadow: none; flex: none; }
.pay-steps p { padding-top: 7px; }
.pay-note { margin-top: var(--s3); display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; padding: var(--s2); font-weight: 600; color: var(--navy); }
.pay-note .i { color: var(--amber-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: var(--s3); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.contact-card .i { width: 28px; height: 28px; color: var(--blue); margin-bottom: var(--s1); }
.c-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.c-value { font-weight: 600; color: var(--navy); }
.c-email { word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: var(--s8) 0 var(--s3); font-size: 15px; }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer-brand img { width: 88px; height: 88px; margin-bottom: var(--s2); }
.footer-brand p strong { color: var(--white); font-size: 18px; }
.footer-brand p span { color: var(--amber); letter-spacing: .2em; font-size: 12px; font-weight: 600; }
.footer-tag { margin-top: var(--s1); max-width: 22em; }
.site-footer h2 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s2); }
.site-footer li { padding: 4px 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; font-size: 14px; }
.footer-bottom a { margin-right: var(--s3); }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-template-columns: 64px 76px minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(11, 43, 74, .1); transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .ready .action-bar { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 12px; white-space: nowrap; border-radius: 8px; border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; }
  .action-bar .i { width: 20px; height: 20px; }
  .action-bar a:not(.ab-primary) { flex-direction: column; gap: 2px; padding: 4px; font-size: 11.5px; border-color: var(--line); }
  .action-bar .ab-primary { background: var(--amber); border-color: var(--amber); font-size: 15px; }
  .site-footer { padding-bottom: var(--s4); }
}
@media (max-width: 340px) { .action-bar .ab-primary { font-size: 13px; } }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Gallery + photo viewer ---------- */
.gallery { margin-top: var(--s6); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s3); margin-bottom: var(--s3); }
.gallery-head p { color: var(--muted); font-size: 15px; }
.gallery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--s2) * -1); padding-left: var(--s2); padding-right: var(--s2); scrollbar-width: thin; }
.gallery-grid li { scroll-snap-align: start; }
@media (min-width: 768px) { .gallery-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.g-item { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--gray); aspect-ratio: 4 / 5; position: relative; }
.g-item picture { display: block; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 43, 74, .08); }
.g-item:hover img { transform: scale(1.04); }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: var(--s8) var(--s2) var(--s4); border: 0; background: rgba(6, 22, 38, .94); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(92vw, 720px); max-height: calc(100vh - 180px); width: auto; height: auto; object-fit: contain; border-radius: 8px; min-width: min(70vw, 360px); }
.lightbox figcaption { margin-top: var(--s2); text-align: center; font-size: 15px; display: flex; flex-direction: column; gap: 4px; max-width: 40em; }
.lb-count { font-size: 13px; color: rgba(255, 255, 255, .6); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; } .lb-prev .i { transform: rotate(180deg); }
.lb-next { right: 16px; }
@media (max-width: 767px) { .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lightbox { padding-bottom: 96px; } .lightbox img { max-height: calc(100vh - 260px); } }

/* ---------- Savings estimate ---------- */
.calc-save { margin-top: var(--s2); border: 1px solid #b8dcc7; background: #f1f9f4; border-radius: 8px; padding: var(--s2) var(--s3); text-align: center; }
.calc-save-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--good); font-weight: 600; }
.calc-save-val { font-size: clamp(24px, 6vw, 32px); font-weight: 700; color: var(--good); line-height: 1.25; margin-top: 4px; }
.calc-save-year { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Floating chat button (desktop) ---------- */
.chat-fab { display: none; }
@media (min-width: 900px) {
  .chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 8px 28px rgba(11, 43, 74, .28); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .25s, background-color .2s; }
  .ready .chat-fab { opacity: 1; transform: none; pointer-events: auto; }
  .chat-fab .i { width: 24px; height: 24px; color: var(--amber); }
  .chat-fab:hover { background: var(--navy-2); box-shadow: 0 0 0 4px rgba(245, 166, 35, .25), 0 10px 32px rgba(11, 43, 74, .32); }
  .toast { bottom: 96px; }
}

/* ---------- Scroll reveal (once) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero stagger after the intro */
.js .hero-item { opacity: 0; transform: translateY(18px); }
.js.ready .hero-item { animation: fade-up .7s var(--ease) forwards; }
.js.ready .hero-item:nth-child(2) { animation-delay: .15s; }
.js.ready .hero-item:nth-child(3) { animation-delay: .3s; }
.js.ready .hero-item:nth-child(4) { animation-delay: .45s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.ready .brand-badge { animation: settle .6s var(--ease); }
@keyframes settle { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================
   INTRO (splash). Only shown when <html> has .intro or .intro-lite.
   Timeline: horizon 0s · sun 0.3–1.2s · panel 0.8–1.6s · words 1.6–2.3s · reveal 2.4–3.0s
   ========================================================= */
#intro { display: none; }
.intro #intro, .intro-lite #intro { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.intro-cover { position: absolute; inset: 0; overflow: hidden; }
/* The navy screen is the shadow of a small circle at the sun; scaling the circle opens a hole from the sun outward */
.intro-hole { position: absolute; left: var(--sx, 50%); top: var(--sy, 40%); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; box-shadow: 0 0 0 200vmax var(--navy); will-change: transform; }
.intro-hole::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--navy); }
.intro .intro-hole::after { animation: fade-out .2s ease 2.4s forwards; }
.intro-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 6vh; }
.intro-mark { width: min(240px, 60vw); height: auto; overflow: visible; }
.intro-word { margin-top: 18px; font-size: clamp(34px, 9vw, 52px); font-weight: 700; color: var(--white); letter-spacing: .06em; display: flex; line-height: 1; }
.intro-word span { display: inline-block; opacity: 0; transform: translateY(14px); }
.intro-sub { margin-top: 12px; font-size: clamp(13px, 3.4vw, 16px); font-weight: 600; letter-spacing: .4em; padding-left: .4em; color: var(--amber); opacity: 0; }
.intro-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; pointer-events: auto; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: var(--white); font-weight: 600; font-size: 14px; cursor: pointer; }
.intro-skip:hover { background: rgba(255, 255, 255, .15); }

.intro .i-horizon { transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: horizon .35s var(--ease) forwards; }
.intro .i-sun { transform: translateY(80px); animation: sun-rise .9s cubic-bezier(.3, .8, .3, 1) .3s forwards; }
.intro .i-rays line { transform-box: fill-box; opacity: 0; transform: scale(0); animation: ray-pop .32s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.intro .i-rays line:nth-child(1) { transform-origin: right center; animation-delay: .80s; }
.intro .i-rays line:nth-child(2) { transform-origin: right bottom; animation-delay: .86s; }
.intro .i-rays line:nth-child(3) { transform-origin: right bottom; animation-delay: .92s; }
.intro .i-rays line:nth-child(4) { transform-origin: center bottom; animation-delay: .98s; }
.intro .i-rays line:nth-child(5) { transform-origin: left bottom; animation-delay: 1.04s; }
.intro .i-rays line:nth-child(6) { transform-origin: left bottom; animation-delay: 1.10s; }
.intro .i-rays line:nth-child(7) { transform-origin: left center; animation-delay: 1.16s; }
.intro .i-lines line { transform-box: fill-box; animation: draw .3s var(--ease) forwards; }
.intro .i-lines .h { transform-origin: left center; transform: scaleX(0); }
.intro .i-lines .v { transform-origin: center top; transform: scaleY(0); }
.intro .i-lines line:nth-child(1) { animation-delay: .80s; }
.intro .i-lines line:nth-child(3) { animation-delay: .92s; }
.intro .i-lines line:nth-child(4) { animation-delay: .92s; }
.intro .i-lines line:nth-child(2) { animation-delay: 1.08s; }
.intro .i-cells polygon { opacity: 0; animation: cell .25s ease-out forwards; }
.intro .i-cells polygon:nth-child(1) { animation-delay: 1.20s; } .intro .i-cells polygon:nth-child(2) { animation-delay: 1.25s; }
.intro .i-cells polygon:nth-child(3) { animation-delay: 1.30s; } .intro .i-cells polygon:nth-child(4) { animation-delay: 1.35s; }
.intro .i-cells polygon:nth-child(5) { animation-delay: 1.40s; } .intro .i-cells polygon:nth-child(6) { animation-delay: 1.45s; }
.intro .i-cells polygon:nth-child(7) { animation-delay: 1.50s; } .intro .i-cells polygon:nth-child(8) { animation-delay: 1.55s; }
.intro .i-cells polygon:nth-child(9) { animation-delay: 1.60s; }
.intro .intro-word span { animation: fade-up .45s var(--ease) forwards; }
.intro .intro-word span:nth-child(1) { animation-delay: 1.60s; } .intro .intro-word span:nth-child(2) { animation-delay: 1.66s; }
.intro .intro-word span:nth-child(3) { animation-delay: 1.72s; } .intro .intro-word span:nth-child(4) { animation-delay: 1.78s; }
.intro .intro-word span:nth-child(5) { animation-delay: 1.84s; } .intro .intro-word span:nth-child(6) { animation-delay: 1.90s; }
.intro .intro-word span:nth-child(7) { animation-delay: 1.96s; }
.intro .intro-sub { animation: fade .4s ease 2.0s forwards; }
/* Reveal: art fades, hole opens from the sun, then the whole layer is gone (also the fail-safe if JS stops) */
.intro .intro-art { animation: fade-out .3s ease 2.4s forwards; }
.intro .intro-hole { animation: open-hole .65s cubic-bezier(.6, 0, .3, 1) 2.4s forwards; }
.intro #intro { animation: gone 0s linear 3.1s forwards; }
.intro-lite .intro-art { display: none; }
.intro-lite #intro { animation: fade-out .3s ease forwards, gone 0s linear .31s forwards; }
.intro-lite .intro-skip { display: none; }

@keyframes horizon { to { transform: scaleX(1); } }
@keyframes sun-rise { to { transform: translateY(0); } }
@keyframes ray-pop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes draw { to { transform: none; } }
@keyframes cell { to { opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes open-hole { to { transform: scale(var(--hole-scale, 60)); } }
@keyframes gone { to { visibility: hidden; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro-lite #intro { animation-duration: .3s !important; }
  .js .reveal, .js .hero-item { opacity: 1; transform: none; }
  .steps::after { transform: none !important; }
}
