/* Easyelectra: site.css
   1. Fonts and tokens   2. Base   3. Components (resting design)
   4. Responsive         5. Motion layer (only when <html class="motion">)
   6. Reduced motion */

/* ---------- 1. Fonts and tokens ---------- */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/lexend-latin-ext.woff2) format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/lexend-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-ext.woff2) format("woff2");
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/source-sans-3-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
--g-950: #022C22; --g-900: #064E3B; --g-800: #065F46; --g-700: #047857;
--g-500: #10B981; --g-200: #A7F3D0; --g-100: #D1FAE5; --g-50: #ECFDF5;
--gold: #FBBF24;
--ink: #022C22; --text: #334155; --muted: #475569; --line: #E2E8F0;
--r: 16px; --ease: cubic-bezier(.22, 1, .36, 1);
--out: cubic-bezier(.16, 1, .3, 1); --io: cubic-bezier(.65, 0, .35, 1);
--head: "Lexend", system-ui, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 18px/1.6 "Source Sans 3", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--g-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g-700); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 3. Components ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px;
font: 600 1rem var(--head); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--g-700); color: #fff; }
.btn-primary:hover { background: var(--g-800); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--g-100); }
.btn-gold { background: var(--gold); color: var(--g-950); }
.btn-gold:hover { background: #F59E0B; }
.link { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem var(--head); color: var(--g-700); text-decoration: none; }
.link .icon { width: 16px; height: 16px; transition: transform .18s; }
a:hover > * > .link .icon, a:hover .link .icon { transform: translateX(3px); }
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(16, 185, 129, .13), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* Header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 80px; }
.logo { display: inline-block; flex: none; padding: 10px 0; }
.logo img { display: block; height: 34px; width: auto; }
.nav { position: relative; display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font: 500 .95rem var(--head); color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--g-700); }
.nav-line, .charge, .grid-fx, .spark { display: none; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.nav a, .phone, .head-actions .btn { white-space: nowrap; }   /* header items stay on one line */
.phone.wa .icon { width: 20px; height: 20px; }
@media (min-width: 961px) and (max-width: 1179px) {   /* small laptops: tighter spacing, WhatsApp as icon only */
  .header .wrap, .nav { gap: 20px; }
  .head-actions { gap: 14px; }
  .phone.wa { justify-content: center; width: 40px; height: 40px; }
  .phone.wa .wa-num { display: none; }
  .phone.wa .icon { width: 22px; height: 22px; }
}
.phone { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--head); color: var(--ink); text-decoration: none; }
.phone .icon { width: 18px; height: 18px; color: var(--g-700); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; place-items: center; padding: 0; box-shadow: none; line-height: 0; }
.menu-btn .burger { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 35% 0; z-index: -1;
background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
background-size: 56px 56px; background-position: center top;
-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); }
.hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--g-100); background: #fff; border-radius: 999px; font: 500 .85rem var(--head); color: var(--g-800); margin-bottom: 22px; }
.pill b { white-space: nowrap; background: var(--g-700); color: #fff; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.75rem); font-weight: 600; }
.hero h1 .hl { color: var(--g-700); }
.hero-side .lead { margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cards { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 56px; }
.pcard { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r); min-height: 400px; padding: 32px; text-decoration: none; color: #fff; }
.pcard .tag { display: block; font: 600 .75rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--g-200); margin-bottom: 12px; }
.pcard h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 15ch; letter-spacing: -.01em; line-height: 1.2; }
.pcard p { color: rgba(255, 255, 255, .85); margin: 10px 0 22px; max-width: 32ch; }
.pcard .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.pcard.battery { background: var(--g-900); display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; align-items: center; }
.pcard.battery::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at calc(72% + var(--px, 0) * 5%) calc(50% + var(--py, 0) * 7%), rgba(251, 191, 36, .14), transparent 60%); }
.pcard.photo { display: flex; flex-direction: column; align-items: flex-start; }
.pcard.photo .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard.photo:hover .bg { transform: scale(1.04); }
.pcard.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 44, 34, .9) 0%, rgba(2, 44, 34, .5) 55%, rgba(2, 44, 34, .15) 100%); }

/* Energy diagram */
.beam { position: relative; height: 320px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.beam svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.beam .col { display: flex; flex-direction: column; gap: 82px; align-items: center; z-index: 1; }   /* circle centres 140px apart */
.beam .wire { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; stroke-linecap: round; transition: stroke .4s, opacity .4s; }
.beam .wire.lit, .beam .wire.is-focus { stroke: rgba(254, 243, 199, .55); }
.beam .trail, .beam .head { fill: none; stroke-linecap: round; opacity: 0; }
.beam .trail { stroke: #FBBF24; stroke-width: 2.5; stroke-dasharray: 22 200; }
.beam .head { stroke: #FEF3C7; stroke-width: 6.5; stroke-dasharray: .001 200; filter: drop-shadow(0 0 3px rgba(251, 191, 36, .95)) drop-shadow(0 0 9px rgba(251, 191, 36, .55)); }
/* Labels hang under their circle without taking space, so the circles alone decide the alignment */
.node { position: relative; display: grid; place-items: center; z-index: 1; }
.node .dot { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #F8FAFC; color: var(--g-900); display: grid; place-items: center; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); transition: scale .35s var(--out), box-shadow .35s var(--out); }
.node .dot .icon { width: 24px; height: 24px; }
.node small { position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; font: 500 .78rem/16px var(--head); color: rgba(255, 255, 255, .72); white-space: nowrap; transition: color .35s; }
.node.core .dot { width: 96px; height: 96px; background: linear-gradient(160deg, #FCD34D, #FBBF24 55%, #F59E0B); color: var(--g-950); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 20px 40px -18px rgba(0, 0, 0, .65), 0 0 60px -10px rgba(251, 191, 36, .35); display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.node.core small { top: calc(100% + 16px); color: #fff; font-weight: 600; font-size: .85rem; }
/* The battery in the middle: its fill and percentage follow --lvl (0..1) */
.cell { position: relative; display: block; width: 40px; height: 21px; padding: 3px; border: 2px solid currentColor; border-radius: 6px; margin-right: 4px; }
.cell::after { content: ""; position: absolute; right: -6px; top: 50%; translate: 0 -50%; width: 3px; height: 8px; border-radius: 0 2px 2px 0; background: currentColor; }
.cell i { display: block; height: 100%; width: calc(var(--lvl, 1) * 100%); border-radius: 2px; background: currentColor; }
.pct { font: 700 .8rem/1 var(--head); font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* Proof */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 24px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font: 600 clamp(2rem, 3.2vw, 2.75rem)/1 var(--head); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .98rem; }
.stat:nth-child(4) { border-right: 0; }
.certs { grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 48px; padding: 20px 0; }
.cert { display: flex; align-items: center; gap: 14px; }
.cert > span:last-child { font: 500 .9rem var(--head); color: var(--ink); white-space: nowrap; }
/* Each logo gets the height that makes it look the same size as the others (they differ in density) */
.cert-logo { display: flex; align-items: center; justify-content: center; flex: none; height: 40px; }
.cert-logo img { display: block; width: auto; max-width: none; }
.cert-logo.installq img { height: 38px; }
.cert-logo.vca img { height: 27px; }
.cert-logo.nen img { height: 31px; }
/* Wide screens: one row, divided like the stats above it */
@media (min-width: 960px) {
.certs { gap: 16px 0; }
.cert { padding: 0 34px; }
.cert + .cert { border-left: 1px solid var(--line); }
}
/* Tablets: three equal columns, logo above its label */
@media (min-width: 641px) and (max-width: 959px) {
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 22px 0; }
.cert { flex-direction: column; justify-content: center; gap: 10px; padding: 0 12px; text-align: center; }
.cert + .cert { border-left: 1px solid var(--line); }
.cert > span:last-child { white-space: normal; text-wrap: balance; }
}

/* Benefits */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.split-head .lead { margin: 18px 0 30px; }
.split-head small { display: block; margin-top: 14px; color: var(--muted); font-size: .95rem; }
/* Benefit cards: same calm card and bare line icon as the request form */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefits li { display: flex; flex-direction: column; padding: 28px 28px 30px; border: 1px solid #E6ECE9; border-radius: 16px; background: #fff; }
.benefits .ico { display: block; margin-bottom: 22px; color: var(--ink); line-height: 0; }
.benefits .ico .bi { width: 30px; height: 30px; stroke-width: 1.25; }
.benefits h3 { font-weight: 500; letter-spacing: -.005em; }
/* Line icons: one colour, few lines */
.bi { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.benefits p { color: var(--muted); margin-top: 4px; }

/* Steps */
.steps-band { background: var(--g-50); border-top: 1px solid var(--g-100); border-bottom: 1px solid var(--g-100); padding: 96px 0; }
.steps-band h2 { margin-bottom: 56px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); --p: 1; }
.track { position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--g-200); }
.track i { position: absolute; inset: 0; background: var(--g-700); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; padding-right: 28px; }
.num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--g-200); background: #fff; display: grid; place-items: center; font: 600 .95rem var(--head); color: var(--g-700); margin-bottom: 22px; transition: background .3s, color .3s, border-color .3s; }
.step.on .num { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.step p { color: var(--muted); margin-top: 8px; }
.cta-card { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--g-900); border-radius: var(--r); padding: 36px 40px; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .22), transparent 65%); z-index: -1; }
.cta-card h3 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.cta-card p { color: rgba(255, 255, 255, .8); margin-top: 6px; }
.cta-card .btn { white-space: nowrap; flex: none; }

/* Area band */
.area { background: var(--g-950); color: #fff; padding: 22px 0; overflow: hidden; }
.area .wrap { display: flex; align-items: center; gap: 24px; }
.area-label { display: inline-flex; align-items: center; gap: 10px; font: 600 .85rem var(--head); white-space: nowrap; color: var(--g-200); }
.area-label .icon { width: 18px; height: 18px; color: var(--gold); }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: scroll 40s linear infinite; }
.marquee li { font: 500 1.05rem var(--head); padding: 0 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); }
.marquee:hover ul, .area.paused .marquee ul { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.pause { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; box-shadow: none; line-height: 0; transition: background .2s, border-color .2s; }
.pause .icon { width: 16px; height: 16px; fill: currentColor; }
.pause:hover, .pause:focus { background: rgba(255, 255, 255, .08); color: #fff; }

/* Services */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.section-head .lead { max-width: 440px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .2s; }
.service:hover { border-color: var(--g-500); }
.service .img { overflow: hidden; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover img { transform: scale(1.05); }
.service .body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.service p { color: var(--muted); font-size: 1rem; flex: 1; }
.service.feature { background: var(--g-900); border-color: var(--g-900); }
.service.feature h3 { color: #fff; }
.service.feature p { color: rgba(255, 255, 255, .8); }
.service.feature .link { color: var(--g-200); }
.service.feature .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, rgba(251, 191, 36, .25), transparent 55%), var(--g-950); }
.service.feature .thumb .icon { width: 72px; height: 72px; color: var(--gold); }
.service.feature.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(251, 191, 36, .14), transparent 45%); }
.badge { align-self: flex-start; font: 600 .7rem var(--head); letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--g-950); padding: 4px 10px; border-radius: 999px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img .chip { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; font: 600 .92rem var(--head); color: var(--ink); }
.about-img .chip .icon { color: var(--g-700); }
.about .lead { margin: 18px 0 24px; }
.quote { font: 600 1.35rem/1.35 var(--head); color: var(--g-700); border-left: 3px solid var(--gold); padding-left: 18px; margin: 28px 0; }
.brands p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.brands div { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.brands img { height: 32px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brands img:hover { filter: none; opacity: 1; }

/* Contact */
.contact { background: var(--g-950); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .18), transparent 65%); z-index: -1; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--g-200); }
.contact .lead { color: rgba(255, 255, 255, .78); margin: 18px 0 36px; }
.clist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.clist li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.clist a { display: inline-block; padding: 10px 0; text-decoration: none; }
.clist a:hover { text-decoration: underline; }
.clist .ico { width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: var(--g-500); flex: none; transition: border-color .3s, background .3s; }

/* Contact form */
.form { background: #fff; color: var(--text); border-radius: var(--r); padding: 36px; }
.form h3 { font-size: 1.35rem; margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.field { position: relative; min-width: 0; padding: 0 0 16px; }
.field.full { grid-column: 1 / -1; }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; padding: 0; }
.field label { display: block; font: 500 .9rem var(--head); color: var(--ink); margin: 0 0 6px; }
.field .req { color: var(--g-700); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; font: 400 1rem "Source Sans 3", sans-serif; color: var(--ink); background-color: #fff; box-shadow: none; transition: border-color .2s; }
.field textarea { min-height: 112px; height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--g-100); border-color: var(--g-700); }
.field [aria-invalid="true"] { border-color: #B91C1C; }
.field .err { display: block; margin-top: 6px; color: #B91C1C; font-size: .85rem; line-height: 1.3; }
.submit-row { padding: 6px 0 0; }
.submit { display: inline-block; width: 100%; min-height: 48px; margin: 0; padding: 17px 24px; background: var(--g-700); color: #fff; border: 0; border-radius: 10px; font: 600 1rem var(--head); text-align: center; cursor: pointer; transition: background .18s; }
.submit:hover { background: var(--g-800); }
.submit[disabled] { cursor: progress; }
.form-error { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #FECACA; background: #FEF2F2; color: #991B1B; font-size: .95rem; }
.form-done { background: var(--g-50); border: 1px solid var(--g-100); color: var(--g-800); border-radius: 10px; padding: 14px 16px; }
.form-done .check { display: none; }
.form .note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.form .note a { color: var(--g-700); }
.form .note a:hover { text-decoration: underline; }

/* Hero (homepage): three short reasons to trust, under the buttons */
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font: 500 .92rem var(--head); color: var(--ink); }
.trust li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--g-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Homepage: the story for businesses, and the way to their page */
.b2b-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 24px; background: var(--g-900); color: #fff; }
.b2b-card::after { content: ""; position: absolute; right: -140px; top: -180px; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .18), transparent 65%); }
.b2b-card .eyebrow { color: var(--g-200); }
.b2b-card h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.b2b-card .lead { color: rgba(255, 255, 255, .78); margin: 18px 0 30px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.b2b-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.b2b-points li { padding: 22px 22px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.b2b-points b { display: flex; align-items: center; gap: 10px; font: 600 1.02rem/1.3 var(--head); color: #fff; }
.b2b-points b::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022C22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.b2b-points span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.45; }

/* Quick request: a few short steps (what, who or how many, when, where) */
.quick { background: #F7FAF8; border-bottom: 1px solid var(--line); }
.quick-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 40px; }
.quick-head h2 { max-width: 15ch; }
.quick-head h2 .soft { display: block; font-weight: 400; color: var(--muted); }
.quick-side { max-width: 34ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.lf { background: #fff; border: 1px solid #E6ECE9; border-radius: 24px; padding: 40px 44px 32px; box-shadow: 0 1px 0 rgba(2, 44, 34, .03), 0 40px 80px -56px rgba(2, 44, 34, .3); }
.lf-top { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.lf-count { font: 500 .85rem var(--head); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lf-count b { color: var(--ink); font-weight: 600; }
.lf-bars { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.lf-bars i { position: relative; height: 2px; border-radius: 2px; background: #E6ECE9; overflow: hidden; }
.lf-bars i::after { content: ""; position: absolute; inset: 0; background: var(--g-700); transform-origin: left; scale: 0 1; transition: scale .7s var(--out); }
.lf-bars i.on::after { scale: 1 1; }
.lf-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.lf-step + .lf-step { margin-top: 40px; }          /* without JavaScript all steps show, one under the other */
.js .lf-steps { display: grid; }   /* every step sits in the same spot, so the form keeps one size */
.js .lf-step { grid-area: 1 / 1; }
.js .lf-step:not(.is-on) { visibility: hidden; }
.js .lf-step + .lf-step { margin-top: 0; }
.js .lf .q-company[hidden] { display: block; visibility: hidden; }   /* keeps its place, so choosing Bedrijf moves nothing */
@media (min-width: 961px) { .lf .fields { grid-template-columns: repeat(3, 1fr); } }   /* contact details in two short rows */
.lf-step legend { padding: 0; margin-bottom: 24px; font: 500 clamp(1.4rem, 2.2vw, 1.75rem)/1.25 var(--head); color: var(--ink); letter-spacing: -.015em; outline: none; }
.lf-opts { display: grid; gap: 12px; }
.lf-opts.c3 { grid-template-columns: repeat(3, 1fr); }
.lf-opts.c4 { grid-template-columns: repeat(2, 1fr); }
/* An option: a calm card with a fine line icon, a round marker shows the choice */
.opt { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: center; align-content: center; padding: 16px 48px 16px 18px; border: 1px solid #E6ECE9; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt .bi { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--ink); stroke-width: 1.4; transition: color .2s; }
.opt .bi .bar { stroke-width: 2.25; }
.opt .bi .ghost { opacity: .22; }
.opt-t { grid-column: 2; font: 500 1rem/1.3 var(--head); color: var(--ink); letter-spacing: -.005em; }
.opt-s { grid-column: 2; margin-top: 2px; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.opt::before { content: ""; position: absolute; top: 50%; right: 18px; margin-top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #CBD5D1; transition: border-color .2s, background-color .2s; }
.opt::after { content: ""; position: absolute; top: 50%; right: 18px; margin-top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--g-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; scale: .4; opacity: 0; transition: scale .35s var(--out), opacity .2s; }
.opt:hover { border-color: #C9D5CF; }
.opt:hover::before { border-color: #9FB2AA; }
.opt:has(input:focus-visible) { outline: 3px solid var(--g-100); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--g-700); box-shadow: inset 0 0 0 1px var(--g-700); background: #FBFDFC; }
.opt:has(input:checked) .bi { color: var(--g-700); }
.opt:has(input:checked)::after { scale: 1; opacity: 1; }
.opt-note { font-weight: 400; color: var(--muted); }
.lf .form-error { margin-top: 4px; }
/* One bar under every step: back on the left, next (or send) on the right */
.lf-nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #EEF2F0; }
.lf-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; background: none; border: 0; font: 500 .95rem var(--head); color: var(--muted); cursor: pointer; }
.lf-back .icon { width: 16px; height: 16px; rotate: 180deg; transition: translate .25s var(--out); }
.lf-back:hover { color: var(--ink); }
.lf-back:hover .icon { translate: -3px 0; }
.lf-next, .lf .submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: auto; min-height: 50px; margin-left: auto; padding: 0 26px; border: 0; border-radius: 12px; background: var(--g-700); color: #fff; font: 600 1rem var(--head); cursor: pointer; transition: background-color .2s, opacity .2s, translate .3s var(--out); }
.lf-next .icon, .lf .submit .icon { width: 18px; height: 18px; transition: translate .25s var(--out); }
.lf-next:hover, .lf .submit:hover { background: var(--g-800); }
.lf-next:hover .icon, .lf .submit:hover .icon { translate: 3px 0; }
.lf-next[disabled] { background: #E6ECE9; color: #8A9A94; cursor: not-allowed; }
.lf-next[disabled] .icon { translate: none; }
.lf-next { display: none; }
.js .lf-next { display: inline-flex; }
.js .lf.on-last .lf-next, .js .lf:not(.on-last) .submit { display: none; }
.lf-done { padding: 36px 0 20px; text-align: center; outline: none; }
.lf-done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.lf-done p { margin: 0; color: var(--muted); }
.lf-done a { color: var(--g-700); font-weight: 600; }
.lf-check { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lf-check circle { stroke: var(--g-100); }
.lf-check path { stroke: var(--g-700); stroke-dasharray: 100; stroke-dashoffset: 100; animation: lf-tick .7s var(--out) .15s forwards; }
@keyframes lf-tick { to { stroke-dashoffset: 0; } }

/* Footer */
.footer { position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .7); padding: 72px 0 0; font-size: .98rem;
background: radial-gradient(560px circle at 88% 118%, rgba(251, 191, 36, .1), transparent 62%), radial-gradient(640px circle at 6% 125%, rgba(16, 185, 129, .16), transparent 62%), var(--g-950); }
/* A wire along the top edge instead of a plain border */
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(16, 185, 129, .55) 22%, rgba(251, 191, 36, .8) 50%, rgba(16, 185, 129, .55) 78%, transparent); }
/* The hero's grid returns, lit from below */
.footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; background-position: center bottom;
-webkit-mask-image: radial-gradient(ellipse 78% 92% at 50% 100%, #000 8%, transparent 72%); mask-image: radial-gradient(ellipse 78% 92% at 50% 100%, #000 8%, transparent 72%); }
.f-trace { display: none; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 34px; }
.footer p { margin-top: 16px; max-width: 340px; }
.f-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; }   /* certificates under the 24/7 pill */
.f-live { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 16px 8px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .04); font: 500 .85rem var(--head); color: #fff; transition: border-color .3s, background .3s; }
.f-live:hover { border-color: rgba(16, 185, 129, .7); background: rgba(16, 185, 129, .12); }
.f-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); }
.f-chip { display: inline-flex; align-items: center; gap: 8px; font: 500 .82rem var(--head); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.f-chip .icon { width: 18px; height: 18px; color: var(--g-500); }
.footer h4 { font: 600 .95rem var(--head); color: #fff; margin: 0 0 6px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; }
.footer ul a { display: inline-block; padding: 10px 0; text-decoration: none; }
.f-contact li { display: flex; align-items: center; gap: 12px; }
.f-contact .icon { width: 18px; height: 18px; color: var(--g-500); }
.f-contact .f-addr { align-items: flex-start; padding: 10px 0; }
.f-contact .f-addr .icon { margin-top: 4px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.legal-end { display: flex; align-items: center; gap: 22px; }
.credit { display: inline-flex; align-items: center; opacity: .72; transition: opacity .2s; }
.credit:hover, .credit:focus-visible { opacity: 1; }
.credit img { display: block; width: auto; height: 14px; }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, border-color .3s; }
.to-top .icon { width: 18px; height: 18px; rotate: -90deg; transition: translate .4s var(--out); }
.to-top:hover { background: var(--g-700); border-color: var(--g-700); }
.to-top:hover .icon { translate: 0 -3px; }
/* The name, large, rising out of the bottom edge */
.wordmark { position: relative; width: min(100% - 48px, 1152px); aspect-ratio: 800 / 153.22; margin: 34px auto clamp(20px, 3.2vw, 40px); background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03));
-webkit-mask: url(/assets/img/wordmark.svg) center / contain no-repeat; mask: url(/assets/img/wordmark.svg) center / contain no-repeat; }
.callbar { display: none; }

/* ---------- 4. Responsive ---------- */
@media (max-width: 1080px) {
.services { grid-template-columns: repeat(2, 1fr); }
.hero-cards { grid-template-columns: 1fr; }
.pcard.photo { min-height: 320px; }
}
/* The type scale steps down slightly on tablets and phones (carried over from the original site) */
@media (max-width: 921px) { html { font-size: 91.2%; } }
@media (max-width: 960px) {
.b2b-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
.quick-head { flex-direction: column; align-items: flex-start; gap: 16px; }
.lf-opts.c3, .lf-opts.c4 { grid-template-columns: 1fr 1fr; }
.lf-opts .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nav, .head-actions { display: none; }
.menu-btn { display: grid; }
.header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
.header.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.hero-top, .split, .about, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
.steps { grid-template-columns: 1fr; gap: 36px; }
.track { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
.track i { transform-origin: top; transform: scaleY(var(--p)); }
.step { padding: 0 0 0 68px; }
.num { position: absolute; left: 0; top: -8px; margin: 0; }
.cta-card { flex-direction: column; align-items: flex-start; }
.footer .cols { grid-template-columns: 1fr 1fr; }
.footer .cols > div:first-child { grid-column: 1 / -1; }
.section { padding: 80px 0; }
.section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
.b2b-card { padding: 30px 20px 22px; border-radius: 18px; }
.b2b-points { grid-template-columns: 1fr; }
.trust { gap: 8px 16px; }
.lf { padding: 24px 16px 18px; border-radius: 18px; }
.lf-top { gap: 14px; margin-bottom: 22px; }
.lf-step legend { margin-bottom: 18px; }
.lf-opts { gap: 10px; }
.lf-opts.c3, .lf-opts.c4 { grid-template-columns: 1fr; }   /* phones: one clear list */
.lf-opts .opt:last-child:nth-child(odd) { grid-column: auto; }
.opt { padding: 14px 44px 14px 16px; }
.opt .bi { width: 22px; height: 22px; }
.opt::before, .opt::after { right: 16px; }
.opt-t { font-size: .95rem; }
.opt-s { font-size: .85rem; }
.lf-nav { margin-top: 22px; padding-top: 16px; }
.lf-next, .lf .submit { flex: 1; }
.lf .submit { padding: 0 16px; font-size: .95rem; white-space: nowrap; }   /* the full label on one line */
.lf .submit .icon { display: none; }
.lf-back { justify-content: center; width: 50px; height: 50px; padding: 0; gap: 0; font-size: 0; border: 1px solid #E6ECE9; border-radius: 12px; }   /* icon only */
.lf-back .icon { width: 18px; height: 18px; }
.header .logo img { height: 30px; }
.wrap { padding: 0 16px; }
.hero { padding: 36px 0 64px; }
.actions .btn { flex: 1 1 100%; }
.hero-cards { margin-top: 40px; }
.pcard { padding: 24px; }
.pcard.battery { grid-template-columns: 1fr; }
.beam { height: 280px; }
.beam .col { gap: 70px; }
.node .dot { width: 50px; height: 50px; }
.node.core .dot { width: 84px; height: 84px; gap: 6px; }
.node small { top: calc(100% + 10px); }
.node.core small { top: calc(100% + 14px); }
.proof .wrap { grid-template-columns: 1fr 1fr; }
.stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; }
.certs { border-top: 0; flex-direction: column; align-items: flex-start; gap: 14px; }
.cert-logo { width: 66px; justify-content: flex-start; }
.area .wrap { flex-wrap: wrap; gap: 12px; }
.marquee { flex-basis: calc(100% - 56px); }
.services, .benefits { grid-template-columns: 1fr; }
.benefits li { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 20px 22px; }
.benefits .ico { flex: none; margin: 1px 0 0; }
.benefits .ico .bi { width: 26px; height: 26px; }
.bi { width: 22px; height: 22px; }
.cta-card { padding: 28px 24px; }
.cta-card .btn { width: 100%; }
.form { padding: 24px; }
.fields { grid-template-columns: 1fr; }
.footer .cols { grid-template-columns: 1fr; }
.wordmark { width: calc(100% - 32px); margin-top: 26px; }
.legal { margin-top: 40px; }
.legal-end { width: 100%; justify-content: space-between; }
/* Floating dock: call on the left, the main action on the right */
.callbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 8px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .13);
background: rgba(2, 44, 34, .86); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 20px 44px -14px rgba(2, 44, 34, .65), inset 0 1px 0 rgba(255, 255, 255, .08); }
.callbar::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(167, 243, 208, .55) 30%, rgba(251, 191, 36, .75) 60%, transparent); pointer-events: none; }
.cb-call { display: flex; align-items: center; gap: 10px; flex: none; min-height: 48px; padding-right: 10px; border-radius: 16px; color: #fff; transition: scale .2s var(--out); }
.cb-ico { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(16, 185, 129, .16); border: 1px solid rgba(16, 185, 129, .5); color: var(--g-200); }
.cb-ico .icon { width: 20px; height: 20px; }
.cb-txt { display: grid; line-height: 1.2; }
.cb-txt b { font: 600 .98rem var(--head); }
.cb-txt small { font: 500 .74rem var(--head); color: var(--g-200); white-space: nowrap; }
.cb-cta { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 48px; padding: 0 16px; border-radius: 15px; background: var(--gold); color: var(--g-950); font: 600 .98rem var(--head); white-space: nowrap; transition: scale .2s var(--out), background .2s; }
.cb-cta .icon { width: 18px; height: 18px; }
.cb-call:active, .cb-cta:active { scale: .97; }
.cb-cta:active { background: #F59E0B; }
/* With script the dock steps aside at the end of the page; without it, leave room below the footer */
html:not(.js) .footer { padding-bottom: 96px; }
}

@media (max-width: 359px) {
.cb-txt small, .cb-cta .icon { display: none; }
.cb-cta { padding: 0 12px; }
}

/* ---------- 5. Motion layer ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }

/* Buttons and links */
.btn { transition: background .18s, color .18s, border-color .18s, translate .5s var(--out), scale .2s var(--out); }
.btn:active { scale: .98; }
.btn .icon { transition: translate .4s var(--out); }
.btn:hover .icon:has(use[href="#i-arrow"]), .pcard:hover .btn .icon:has(use[href="#i-arrow"]) { translate: 4px 0; }
[data-magnet] { translate: var(--tx, 0) var(--ty, 0); }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); translate: -110% 0; }
.btn-gold:hover::after { translate: 110% 0; transition: translate .9s var(--out); }

/* Header: glass on scroll, charge bar, active section */
.header { transition: background-color .4s, box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s; }
.header.scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 12px 32px -22px rgba(2, 44, 34, .35); }
.motion .charge { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.charge i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--g-700), var(--g-500) 72%, var(--gold)); }
.nav a { transition: color .25s; }
.nav a[aria-current] { color: var(--g-700); }
.motion .nav-line { display: block; position: absolute; left: 0; bottom: 3px; height: 2px; width: var(--w, 0); translate: var(--x, 0) 0; opacity: var(--o, 0); background: var(--g-700); border-radius: 2px; pointer-events: none; transition: translate .55s var(--out), width .55s var(--out), opacity .3s; }
.burger path { transform-box: view-box; transform-origin: 12px 12px; transition: transform .5s var(--out), opacity .2s; }
.header.open .burger .b1 { transform: rotate(45deg) translateY(6px); }
.header.open .burger .b2 { opacity: 0; transform: scaleX(.2); }
.header.open .burger .b3 { transform: rotate(-45deg) translateY(-6px); }
@media (max-width: 960px) {
.motion .nav-line { display: none; }
.motion .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 28px 40px -28px rgba(2, 44, 34, .3);
visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--io), opacity .25s .2s, visibility 0s .45s; }
.motion .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 0; translate: 0 -10px; transition: opacity .25s, translate .3s; }
.motion .header.open .nav { visibility: visible; opacity: 1; clip-path: inset(0 0 -40px 0); transition: clip-path .6s var(--out), opacity .2s, visibility 0s; }
.motion .header.open .nav a { opacity: 1; translate: none; transition: opacity .5s var(--out) calc(var(--i, 0) * 60ms + 120ms), translate .7s var(--out) calc(var(--i, 0) * 60ms + 120ms); }
}

/* Hero: circuit traces on the grid, light under the pointer */
.motion .grid-fx { display: block; position: absolute; inset: 0 0 35% 0; z-index: -1; overflow: hidden; pointer-events: none;
-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); }
.grid-fx .glow { position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
background-image: linear-gradient(var(--g-500) 1px, transparent 1px), linear-gradient(90deg, var(--g-500) 1px, transparent 1px); background-size: 56px 56px; background-position: center top;
-webkit-mask-image: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 0%), rgba(0, 0, 0, .6), transparent 72%); mask-image: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 0%), rgba(0, 0, 0, .6), transparent 72%); }
.hero.lit .grid-fx .glow { opacity: 1; }
.trace { position: absolute; opacity: 0; }
.trace.h { left: 0; height: 1px; width: 240px; background: linear-gradient(90deg, transparent, var(--g-500) 70%, var(--gold)); animation: trace-h 10s linear infinite; }
.trace.v { top: 0; width: 1px; height: 220px; background: linear-gradient(180deg, transparent, var(--g-500) 70%, var(--gold)); animation: trace-v 13s linear infinite; }
.trace.t1 { top: 112px; animation-delay: 2.4s; }
.trace.t2 { top: 280px; animation-delay: 7.2s; animation-duration: 12s; }
.trace.t3 { left: calc(50% - 28px - 392px); animation-delay: 4.6s; }
.trace.t4 { left: calc(50% - 28px + 336px); animation-delay: 10.5s; animation-duration: 15s; }
@keyframes trace-h { 0% { transform: translateX(-260px); opacity: 0; } 4% { opacity: .9; } 38% { transform: translateX(100vw); opacity: .9; } 39%, 100% { transform: translateX(100vw); opacity: 0; } }
@keyframes trace-v { 0% { transform: translateY(-240px); opacity: 0; } 4% { opacity: .8; } 26% { transform: translateY(640px); opacity: .8; } 27%, 100% { transform: translateY(640px); opacity: 0; } }

/* Hero entrance */
.motion [data-hero] { opacity: 0; translate: 0 24px; }
.motion .hero.go [data-hero] { opacity: 1; translate: none; transition: opacity .9s var(--out) var(--d, 0s), translate 1.2s var(--out) var(--d, 0s); }
.motion [data-hero="pill"] { translate: 0 12px; }
.motion [data-hero="title"] { translate: none; }
.motion .hero.go [data-hero="title"] { transition: none; }
.motion [data-hero="lead"] { --d: .36s; }
.motion [data-hero="actions"] { --d: .46s; }
.motion .pcard[data-hero] { translate: 0 56px; }
.motion .pcard.battery { --d: .52s; }
.motion .pcard.photo { --d: .64s; }
.motion .pcard.photo .bg { scale: 1.2; }
.motion .hero.go .pcard.photo .bg { scale: 1; transition: scale 2.2s var(--out) .64s, transform .6s var(--ease); }

/* Line-by-line headings */
.ln { display: block; white-space: nowrap; clip-path: inset(-.12em -.3em -.18em -.3em); }
.ln > i { display: block; font-style: normal; translate: 0 135%; }
.lines-in .ln > i { translate: none; transition: translate 1.15s var(--out) calc(var(--d, 0ms) + var(--l, 0) * 90ms); }

/* Energy diagram: circles and wires come in once, then the story loop (script) takes over */
.motion .beam .node { transition: opacity .6s var(--out) var(--nd, 0s), scale 1s var(--out) var(--nd, 0s); }
.motion .beam .node.core { --nd: .75s; }
.motion .beam .node.out { --nd: 1.45s; }
.motion .beam:not(.on) .node { opacity: 0; scale: .6; }
.motion .beam .wire { stroke-dasharray: 100 130; transition: stroke-dashoffset .85s var(--io) var(--wd, .1s), stroke .4s, opacity .4s; }
.motion .beam .wire.out { --wd: .95s; }
.motion .beam:not(.on) .wire { stroke-dashoffset: 104; }
.beam.running .node { transition: opacity .35s var(--out), scale .35s var(--out); }
/* Hover one item: it lights up, the rest steps back */
.beam.focus .node:not(.is-focus):not(.core) { opacity: .4; }
.beam.focus .wire:not(.is-focus) { opacity: .3; }
.beam .node.is-focus .dot { scale: 1.07; box-shadow: 0 0 0 6px rgba(254, 243, 199, .16), 0 14px 26px -14px rgba(0, 0, 0, .6); }
.beam .node.is-focus small { color: #fff; }
.hero.away .trace { animation-play-state: paused; }

/* Reveal on scroll */
[data-a] { --rt: opacity .9s var(--out) var(--d, 0ms), translate 1.15s var(--out) var(--d, 0ms); }
.motion [data-a] { opacity: 0; translate: 0 36px; }
.motion [data-a].in { opacity: 1; translate: none; transition: var(--rt); }
.motion [data-a="lines"] { translate: none; }
.motion [data-a="lines"].in { transition: none; }
.motion :is([data-seq], .seq-group) > * { opacity: 0; translate: 0 24px; }
.motion [data-seq] > .seq-group { opacity: 1; translate: none; }
.motion :is([data-seq], .seq-group) > :is(h2, .eyebrow) { translate: none; }
.motion [data-seq].in > *, .motion [data-seq].in > .seq-group > * { opacity: 1; translate: none; transition: opacity .9s var(--out) calc(var(--i, 0) * 90ms), translate 1.15s var(--out) calc(var(--i, 0) * 90ms); }
.motion [data-seq].in > h2, .motion [data-seq].in > .seq-group > h2 { transition: none; }
:is([data-seq], .seq-group) > :nth-child(2) { --i: 1; }
:is([data-seq], .seq-group) > :nth-child(3) { --i: 2; }
:is([data-seq], .seq-group) > :nth-child(4) { --i: 3; }
:is([data-seq], .seq-group) > :nth-child(5) { --i: 4; }
:is([data-seq], .seq-group) > :nth-child(6) { --i: 5; }
.section-head > .lead { --i: 2; }
.motion [data-seq] .eyebrow { letter-spacing: .26em; white-space: nowrap; }
.motion [data-seq].in .eyebrow { letter-spacing: .1em; transition: opacity .9s var(--out), letter-spacing 1.5s var(--out); }

/* Stats: meter digits */
.motion .stat strong, .motion .stat > span { opacity: 0; }
.motion .stat.in strong { opacity: 1; }
.motion .stat.in > span { opacity: 1; transition: opacity .9s var(--out) calc(var(--d, 0ms) + .35s); }
.odo { display: inline-flex; }
.odo-col { display: block; height: 1em; text-align: center; clip-path: inset(0 -.3em); }
.odo-reel { display: block; }
.odo-reel > span { display: block; height: 1em; }
.roll .odo-reel { translate: 0 calc(var(--to) * 1em); transition: translate 1.9s var(--out); }
.motion .cert { opacity: 0; translate: 0 12px; }
.motion .certs.in .cert { opacity: 1; translate: none; transition: opacity .8s var(--out) calc(var(--n, 0) * 110ms), translate 1s var(--out) calc(var(--n, 0) * 110ms); }

/* Cards */
.benefits li { transition: border-color .25s; }
.benefits .ico { transition: color .25s; }
@media (hover: hover) {
.benefits li:hover { border-color: #C9D5CF; }   /* no shadow here, by request */
.benefits li:hover .ico { color: var(--g-700); }
.service:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(6, 95, 70, .5); }
.clist li:hover .ico { border-color: rgba(16, 185, 129, .6); background: rgba(16, 185, 129, .1); }
}
.motion [data-a] .bi .ln { stroke-dasharray: 100; stroke-dashoffset: 100; }
.motion [data-a].in .bi .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--io) calc(var(--d, 0ms) + .2s); }
.service { transition: border-color .2s, transform .5s var(--out), box-shadow .5s var(--out); }
/* service photos show right away: no curtain or zoom on scroll, by request */
.motion .service.feature .thumb::before, .motion .service.feature .thumb::after { content: ""; position: absolute; left: 50%; top: 55%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; border: 1px solid rgba(251, 191, 36, .5); animation: ring 3.8s var(--out) infinite; pointer-events: none; }
.motion .service.feature .thumb::after { animation-delay: 1.9s; }
@keyframes ring { from { scale: .55; opacity: .9; } to { scale: 2.3; opacity: 0; } }

/* Timeline */
.motion .spark { display: block; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(251, 191, 36, .22), 0 0 18px 4px rgba(251, 191, 36, .7); translate: calc(var(--p) * var(--len, 0px)) 0; opacity: var(--so, 0); transition: opacity .4s; }
/* Steps that the wire has not reached yet sit slightly lower and quieter, but stay fully readable */
.motion .step h3, .motion .step p { transition: color .6s, translate .8s var(--out); }
.motion .step:not(.on) h3 { color: var(--muted); }
.motion .step:not(.on) h3, .motion .step:not(.on) p { translate: 0 8px; }
.motion .step.on .num { animation: num-pop .7s var(--out); }
.motion .step.on .num::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--g-500); pointer-events: none; animation: ripple 1s var(--out) both; }
@keyframes num-pop { 0% { scale: .82; } 55% { scale: 1.1; } 100% { scale: 1; } }
@keyframes ripple { from { scale: 1; opacity: .8; } to { scale: 2.1; opacity: 0; } }
/* With motion on, the wire ends at the last number (its length is measured by the script) */
.motion .track { right: auto; width: var(--tl, calc(100% - 44px)); }
@media (max-width: 960px) {
.motion .spark { left: 50%; top: 0; translate: 0 calc(var(--p) * var(--len, 0px)); }
.motion .track { bottom: auto; width: 2px; height: var(--tl, calc(100% - 44px)); }
}
.motion .cta-card::after { animation: orb 12s ease-in-out infinite alternate; }
@keyframes orb { from { translate: 0 0; } to { translate: -70px 50px; } }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .09) 50%, transparent 62%); translate: -100% 0; pointer-events: none; }
.motion .cta-card.in::before { translate: 100% 0; transition: translate 1.8s var(--io) .5s; }

/* City band: driven by script */
.marquee ul.driven { animation: none; will-change: transform; }

/* About */
.motion [data-a="media"] { opacity: 1; translate: none; }
.motion [data-a="media"]::after { content: ""; position: absolute; inset: -1px; z-index: 1; background: #fff; transform-origin: right; transition: transform 1.5s var(--io); }
.motion [data-a="media"].in::after { transform: scaleX(0); }
.motion [data-a="media"] .chip { z-index: 2; }
.motion [data-a="media"] img { scale: 1.3; }
.motion [data-a="media"].in img { scale: 1; transition: scale 2s var(--out); }
.motion [data-a="media"] .chip { opacity: 0; translate: 0 14px; }
.motion [data-a="media"].in .chip { opacity: 1; translate: none; transition: opacity .7s var(--out) 1s, translate .9s var(--out) 1s; }
.motion [data-seq] > .quote { translate: none; clip-path: inset(0 0 100% 0); }
.motion [data-seq].in > .quote { clip-path: inset(0); transition: opacity .6s var(--out) calc(var(--i) * 90ms), clip-path 1s var(--io) calc(var(--i) * 90ms); }
.motion [data-seq] .brands img { opacity: 0; }
.motion [data-seq].in .brands img { opacity: .7; transition: opacity .8s var(--out) calc(.55s + var(--n, 0) * 90ms), filter .2s; }
.motion [data-seq].in .brands img:hover { opacity: 1; transition: opacity .2s, filter .2s; }

/* Contact */
.motion [data-seq] > .clist { opacity: 1; translate: none; }
.motion [data-seq] .clist li { opacity: 0; translate: -18px 0; }
.motion [data-seq].in .clist li { opacity: 1; translate: none; transition: opacity .8s var(--out) calc(.35s + var(--n, 0) * 90ms), translate 1s var(--out) calc(.35s + var(--n, 0) * 90ms); }
.motion .contact::after { content: ""; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, .1), transparent 65%); z-index: -1; animation: orb 16s ease-in-out infinite alternate; }
.motion .field .err { animation: err-in .35s var(--out); }
@keyframes err-in { from { opacity: 0; translate: 0 -4px; } }
.submit.busy .submit-label::before { content: ""; display: inline-block; width: 16px; height: 16px; margin: -3px 10px 0 0; vertical-align: middle; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.form.sent { display: flex; flex-direction: column; }
.form.sent .form-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 32px 24px; }
.form.sent .form-done .check { display: block; width: 56px; height: 56px; color: var(--g-700); }
.form.sent .form-done p { max-width: 30ch; font-size: 1.1rem; font-weight: 600; }
.motion .form.sent .check circle { stroke-dasharray: 63; stroke-dashoffset: 63; animation: draw .9s var(--io) .1s forwards; }
.motion .form.sent .check path { stroke-dasharray: 12; stroke-dashoffset: 12; animation: draw .5s var(--out) .8s forwards; }
.motion .form.sent .form-done p { animation: vt-in .8s var(--out) .5s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Footer links */
.footer ul a, .legal a:not(.to-top):not(.credit) { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: color .2s, background-size .45s var(--out); }
.legal a:not(.to-top):not(.credit) { background-position: 0 100%; }
.footer ul a:hover, .legal a:not(.to-top):not(.credit):hover { background-size: 100% 1px; }

/* Footer: the top wire draws out from the centre, a pulse runs along it, the name catches the light */
.motion .footer::before { scale: 0 1; transition: scale 1.8s var(--io); }
.motion .footer.in::before { scale: 1 1; }
.motion .f-trace { display: block; position: absolute; left: 0; top: 0; width: 260px; height: 1px; background: linear-gradient(90deg, transparent, #FEF3C7 70%, #fff); filter: drop-shadow(0 0 6px rgba(251, 191, 36, .9)); opacity: 0; animation: f-trace 9s linear 2s infinite; }
@keyframes f-trace { 0% { transform: translateX(-280px); opacity: 0; } 4% { opacity: 1; } 34% { transform: translateX(100vw); opacity: 1; } 35%, 100% { transform: translateX(100vw); opacity: 0; } }
.motion .f-live i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--g-500); animation: live 2.4s var(--out) infinite; }
@keyframes live { from { scale: 1; opacity: .9; } to { scale: 3.4; opacity: 0; } }
.motion .wordmark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 42%, rgba(251, 191, 36, .75) 50%, transparent 58%) 130% 0 / 300% 100% no-repeat; animation: mark-light 9s var(--io) 1.5s infinite; }
@keyframes mark-light { 0% { background-position: 130% 0; } 40%, 100% { background-position: -30% 0; } }
.footer.away .f-trace, .footer.away .wordmark::after, .footer.away .f-live i::after { animation-play-state: paused; }

/* Mobile call bar slides in after the hero */
@media (max-width: 640px) {
.js .callbar { translate: 0 calc(100% + 32px); scale: .94; opacity: 0; visibility: hidden; transition: translate .75s var(--out), scale .75s var(--out), opacity .35s, visibility 0s .75s; }
.js .callbar.show { translate: none; scale: 1; opacity: 1; visibility: visible; transition: translate .75s var(--out), scale .75s var(--out), opacity .35s, visibility 0s; }
.motion .cb-ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(16, 185, 129, .7); animation: live-dock 2.6s var(--out) infinite; }
@keyframes live-dock { from { scale: 1; opacity: .9; } to { scale: 1.55; opacity: 0; } }
.motion .cb-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .7) 50%, transparent 68%); translate: -120% 0; }
.motion .callbar.show .cb-cta::after { animation: dock-glint 7s var(--out) .9s infinite; }
@keyframes dock-glint { 0% { translate: -120% 0; } 16%, 100% { translate: 120% 0; } }
.motion .callbar.show .cb-cta .icon { animation: nudge 7s var(--out) 1.1s infinite; }
@keyframes nudge { 0%, 14%, 100% { translate: 0 0; } 7% { translate: 4px 0; } }
}

/* Scroll-linked depth, where the browser can run it off the main thread */
@supports (animation-timeline: view()) {
.motion [data-a="media"].in img { scale: 1.12; animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
.motion .hero::before { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
.motion .contact::before { animation: rise linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
.motion .wordmark { animation: mark-rise linear both; animation-timeline: view(); animation-range: entry -30% entry 85%; }
@keyframes drift { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }
@keyframes sink { to { translate: 0 90px; } }
@keyframes rise { from { translate: 0 120px; } to { translate: 0 -80px; } }
@keyframes mark-rise { from { translate: 0 70%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
}

/* ---------- 6. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.marquee ul { animation: none; flex-wrap: wrap; width: auto; row-gap: 8px; }
.marquee { -webkit-mask-image: none; mask-image: none; }
.marquee li[aria-hidden] { display: none; }
.pause { display: none; }
* { transition: none !important; }
@view-transition { navigation: none; }
}
