/* ===========================================================
   PureSun Energy — design system
   Forest green and sunrise amber. Light theme only.
   Display: Bricolage Grotesque. Body: Figtree.
   =========================================================== */

:root {
  --forest: #0D3B2E;
  --forest-deep: #082A20;
  --leaf: #1FA84F;
  --leaf-text: #137C3A;
  --lime: #84C612;
  --leaf-soft: #DCEFE3;
  --sun: #FFF212;
  --sun-deep: #E8DB00;
  --sun-soft: #FFFBBF;
  --mist: #F2F7F3;
  --paper: #FFFFFF;
  --ink: #12241D;
  --muted: #53685F;
  --line: #D6E2D9;
  --display: 'Bricolage Grotesque', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.015em; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
.nav :focus-visible, .hero :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--sun); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--forest-deep); }
.btn-sun:hover { background: #FFF75A; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-deep); }
.btn-line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line-dark { border-color: var(--forest); color: var(--forest); }
.btn-line-dark:hover { background: var(--forest); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8,42,32,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 62px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15.5px; color: #BBD3C5; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--sun); }
.nav-cta { padding: 11px 22px; font-size: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
  padding: 84px 0 104px;
}
.hero-sun { position: absolute; width: 700px; height: 700px; right: -210px; top: -250px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; color: #fff; max-width: 14ch; }
.hero .lede { margin-top: 26px; font-size: 19px; line-height: 1.55; color: #CFE3D7; max-width: 46ch; }
.hero .btn-row { margin-top: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .call-line { margin-top: 28px; color: #A9C7B6; font-size: 15.5px; }
.hero .call-line a { color: #fff; font-weight: 600; text-decoration-color: var(--sun); text-underline-offset: 4px; }

/* Fuel calculator — the one memorable element */
.calc {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.55);
}
.calc h2 { font-size: 28px; font-weight: 700; }
.calc .calc-sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; align-items: end; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: #fff; }
.calc-results { margin-top: 26px; border-top: 1px solid var(--line); }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.calc-row span { color: var(--muted); font-size: 15px; }
.calc-row strong { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--forest); font-variant-numeric: tabular-nums; }
.calc-row.big strong { font-size: 34px; color: var(--forest); }
.calc-row.big { background: var(--sun-soft); margin: 0 -12px; padding: 16px 12px; border-radius: 12px; border-bottom: 0; margin-top: 6px; }
.calc .calc-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.calc .btn { margin-top: 20px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2, .split-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p, .split-head p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 56ch; }

/* Problems */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-head { position: sticky; top: 110px; }
.problem { padding: 28px 0; border-top: 1px solid var(--line); }
.problem:last-child { border-bottom: 1px solid var(--line); }
.problem h3 { font-size: 25px; font-weight: 700; margin-bottom: 10px; }
.problem p { color: var(--muted); max-width: 52ch; }

/* System sizes */
.size-table { border-top: 2px solid var(--forest); }
.size-row { display: grid; grid-template-columns: 1.1fr 1.7fr 1.2fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.size-row h3 { font-size: 24px; font-weight: 700; }
.size-row .size-kva { display: block; margin-top: 4px; font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--leaf-text); letter-spacing: 0; }
.size-row p { color: var(--ink); }
.size-row .size-for { color: var(--muted); font-size: 15.5px; }
.size-note { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* Services list */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.svc-item { display: block; text-decoration: none; padding: 26px 0; border-top: 1px solid var(--line); transition: padding .2s ease; }
.svc-item h3 { font-size: 24px; font-weight: 700; color: var(--forest); }
.svc-item p { margin-top: 8px; color: var(--muted); max-width: 44ch; }
.svc-item:hover { padding-left: 10px; }
.svc-item:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.text-link { display: inline-block; margin-top: 30px; font-weight: 700; color: var(--forest); text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Process (a true sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: var(--sun);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 19px;
}
.step::after { content: ''; position: absolute; top: 21px; left: 54px; right: -12px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* FAQ */
.acc-list { max-width: 820px; }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 24px 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em;
}
.acc-q:hover { color: var(--forest); }
.acc-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--leaf-soft); position: relative; transition: background .25s ease, transform .25s ease; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: var(--forest); border-radius: 2px; }
.acc-icon::after { transform: rotate(90deg); transition: transform .25s ease; }
.acc-item.open .acc-icon { background: var(--lime); transform: none; }
.acc-item.open .acc-icon::after { transform: rotate(0deg); }
.acc-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-a-wrap { grid-template-rows: 1fr; }
.acc-a-wrap > div { overflow: hidden; }
.acc-a { padding: 0 52px 26px 0; color: var(--muted); max-width: 64ch; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--forest); color: #fff; padding: 88px 0; }
.cta .hero-sun { right: auto; left: -260px; top: auto; bottom: -440px; width: 640px; height: 640px; opacity: .9; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.02em; color: #fff; max-width: 16ch; }
.cta p { margin-top: 16px; color: #CFE3D7; font-size: 18px; max-width: 48ch; }
.cta .btn-row { justify-content: flex-start; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--mist); padding: 76px 0 68px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; letter-spacing: -0.025em; max-width: 18ch; }
.page-hero p { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 54ch; }

.svc-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-row:first-child { padding-top: 8px; }
.svc-row h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.svc-row .svc-for { margin-top: 12px; color: var(--leaf-text); font-weight: 600; }
.svc-row p { color: var(--muted); max-width: 58ch; }
.svc-row ul { list-style: none; margin: 22px 0 0; padding: 0; }
.svc-row li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); }
.svc-row li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }

.values { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.value { padding: 28px 0; border-top: 1px solid var(--line); }
.value h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--muted); max-width: 46ch; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 18px; }
.prose p { font-size: 18.5px; color: #2B4036; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
.form-card { background: var(--mist); border: 1px solid var(--line); border-radius: 24px; padding: 38px; }
.form-card h2 { font-size: 30px; font-weight: 800; }
.form-card .form-sub { margin: 10px 0 26px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.channel { padding: 24px 0; border-top: 1px solid var(--line); }
.channel:first-child { border-top: 0; padding-top: 0; }
.channel h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.channel a, .channel span { display: block; color: var(--muted); text-decoration: none; font-size: 18px; }
.channel a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Projects / photos ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-item { margin: 0; }
.work-item .ph { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; background: var(--leaf-soft); }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-item:hover img { transform: scale(1.04); }
.work-item figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.work-note { margin-top: 26px; color: var(--muted); font-size: 15px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin-top: 36px; }
.photo-pair .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--leaf-soft); }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }
.svc-photo { margin-top: 26px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--leaf-soft); max-width: 58ch; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deep); color: #BBD3C5; padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand p { margin-top: 16px; max-width: 32ch; font-size: 15.5px; }
.footer h4 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.footer a, .footer span { display: block; color: #BBD3C5; text-decoration: none; font-size: 15.5px; padding: 4px 0; }
.footer a:hover { color: var(--sun); }
.footer .logo { display: inline-flex; padding: 0; }
.footer .logo img { height: 72px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14.5px; }
.footer-bottom span, .footer-bottom a { display: inline; padding: 0; font-size: 14.5px; }

/* Developer credit: stacked on the left so the floating WhatsApp button never covers it */
.footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
.footer { padding-bottom: 44px; }
.footer-bottom .dev-link { color: #BBD3C5; text-decoration: none; }
.footer-bottom .dev-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sun); }

/* WhatsApp: always visible while scrolling */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  height: 64px; min-width: 64px; padding: 0 18px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.5);
  transition: transform .2s ease;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 999px; background: #25D366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.05); }
.wa-label { font-weight: 700; font-size: 16px; white-space: nowrap; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 16ch; }
  .hero-sun { width: 520px; height: 520px; right: -170px; top: -335px; }
  .split, .svc-row, .contact-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .split-head { position: static; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 34px 64px; min-height: 60px; }
  .step::after { top: 46px; bottom: 4px; left: 20px; right: auto; width: 2px; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 86px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest-deep); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 24px 22px;
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 17px; }
  .nav-links a.active { border-bottom-color: rgba(255,255,255,.1); color: var(--sun); }
  .nav-cta { margin-top: 18px; padding: 15px 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 60px; }
  .hero .lede { font-size: 17.5px; }
  .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
  .calc { padding: 26px 22px; border-radius: 20px; }
  .calc h2 { font-size: 25px; }
  .calc-fields { grid-template-columns: 1fr; }
  .calc-row.big strong { font-size: 29px; }
  .size-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .svc-list, .values { grid-template-columns: 1fr; }
  .work-grid, .photo-pair { gap: 12px; }
  .work-item .ph { border-radius: 14px; }
  .work-item figcaption { font-size: 14px; }
  .form-card { padding: 26px 20px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .acc-q { font-size: 18.5px; padding: 20px 0; }
  .acc-a { padding-right: 0; }
  .page-hero { padding: 52px 0 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 64px 0; }
  .nav-inner { height: 72px; }
  .nav-links { top: 72px; }
  .logo img { height: 50px; }
  .wa-float { right: 14px; bottom: 14px; height: 60px; min-width: 60px; padding: 0; width: 60px; }
  .wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.text-link-inline { font-weight: 700; color: var(--forest); text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Team ---------- */
.team { background: var(--forest-deep); color: #fff; }
.team .section-head h2 { color: #fff; }
.team .section-head p { color: #BBD3C5; }
.team-photo { border-radius: 24px; overflow: hidden; background: var(--forest); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.team-photo img { width: 100%; height: auto; }
.team-copy { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; margin-top: 44px; align-items: start; }
.team-line { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.02em; color: var(--sun); }
.team-text p { color: #CFE3D7; font-size: 18px; max-width: 56ch; }
.team-text p + p { margin-top: 16px; color: #fff; font-weight: 600; }
@media (max-width: 960px) { .team-copy { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .team-photo { border-radius: 16px; } }
.calc .calc-save { margin-top: 20px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--forest); letter-spacing: -0.01em; }

/* Comfortable tap targets on phones */
@media (max-width: 860px) {
  .channel a, .channel span { padding: 8px 0; }
  .text-link { padding: 10px 0; }
}

/* ---------- Home: video hero ---------- */
.vhero { position: relative; overflow: hidden; background: var(--forest-deep); color: #fff; min-height: min(88vh, 820px); display: flex; align-items: center; padding: 120px 0 190px; }
.vhero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,30,22,.92) 0%, rgba(5,30,22,.74) 42%, rgba(5,30,22,.28) 100%),
  linear-gradient(0deg, rgba(5,30,22,.85) 0%, rgba(5,30,22,0) 38%); }
.vhero-inner { position: relative; z-index: 1; }
.vhero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); font-size: 14.5px; font-weight: 600; color: #fff; }
.vhero-kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,242,18,.25); }
.vhero h1 { margin-top: 26px; font-size: clamp(46px, 7vw, 96px); line-height: .98; font-weight: 800; letter-spacing: -0.03em; color: #fff; max-width: 13ch; }
.vhero .lede { margin-top: 26px; font-size: 20px; line-height: 1.5; color: #E2EFE7; max-width: 46ch; }
.vhero .btn-row { margin-top: 36px; }
.vhero-scroll { position: absolute; z-index: 1; left: 50%; bottom: 150px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.55); border-radius: 16px; transform: translateX(-50%); }
.vhero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sun); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Calculator hangs over the video */
.calc-band { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 40px; scroll-margin-top: 90px; }
.calc.calc-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 48px; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(5,30,22,.55); border: 1px solid var(--line); }
.calc-wide .calc-fields { grid-template-columns: 1fr 1fr; }
.calc-wide .calc-results { margin-top: 0; border-top: 0; }
.calc-wide .calc-save { margin-top: 20px; }

/* Problems as cards */
.pcards { padding-top: 72px; }
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { position: relative; padding: 34px 30px 36px; border-radius: 24px; background: var(--mist); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(8,42,32,.5); }
.pcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--sun), var(--lime), var(--leaf)); }
.pcard-num { display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--leaf); letter-spacing: -0.03em; margin-bottom: 22px; }
.pcard h3 { font-size: 25px; font-weight: 700; margin-bottom: 12px; }
.pcard p { color: var(--muted); }

@media (max-width: 960px) {
  .vhero { padding: 84px 0 170px; min-height: 0; }
  .vhero-scroll { display: none; }
  .calc.calc-wide { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
  .pcard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vhero { padding: 56px 0 150px; }
  .vhero-shade { background: linear-gradient(180deg, rgba(5,30,22,.78) 0%, rgba(5,30,22,.7) 55%, rgba(5,30,22,.92) 100%); }
  .vhero h1 { font-size: clamp(40px, 12vw, 54px); }
  .vhero .lede { font-size: 17.5px; }
  .vhero .btn-row .btn { width: 100%; }
  .calc-band { margin-top: -96px; }
  .calc.calc-wide { padding: 26px 20px; border-radius: 22px; }
  .calc-wide .calc-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .vhero-scroll span { animation: none !important; } }
