/* ==========================================================================
   V Energy: site styles
   Mobile-first. Palette: mostly white, yellow first, then a clear corporate
   blue for ink and dark surfaces, with green accents.
   ========================================================================== */

/* The site font is Arial. Windows, macOS and iOS have it built in, so local() picks it up and nothing
   downloads. Android and Linux don't include Arial; they get Arimo, a free font drawn to Arial's exact
   letter widths (SIL Open Font License, see assets/fonts/OFL.txt), so the layout is the same everywhere. */
@font-face {
  font-family: "Arial";
  src: local("Arial"), local("ArialMT"), url("../fonts/arimo-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: local("Arial Bold"), local("Arial-BoldMT"), url("../fonts/arimo-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0b2e5b;
  --navy-900: #11396f;
  --navy-800: #174782;
  --navy-700: #205a9c;
  --navy-600: #2b6eb6;

  --blue-600: #1d5fd6;
  --blue-500: #2f7cf6;
  --blue-400: #5aa0ff;
  --blue-100: #e7f0ff;
  --blue-50: #f3f7ff;

  --yellow-600: #e8a400;
  --yellow-500: #ffb703;
  --yellow-400: #ffc629;
  --yellow-300: #ffd75e;
  --yellow-100: #fff3cc;
  --yellow-50: #fffaeb;

  --green-700: #0f7a3d;
  --green-600: #128a46;
  --green-500: #18a957;
  --green-400: #3cc879;
  --green-100: #e2f7ea;

  --red-500: #e5484d;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --ink: var(--navy-900);
  --ink-2: #304a6b;
  --muted: #56708f;
  --line: #e3e9f2;
  --line-2: #d3dce9;

  --shadow-sm: 0 1px 2px rgba(17, 57, 111, .05), 0 4px 12px -4px rgba(17, 57, 111, .08);
  --shadow-md: 0 12px 28px -10px rgba(17, 57, 111, .22), 0 2px 6px rgba(17, 57, 111, .05);
  --shadow-lg: 0 34px 70px -26px rgba(17, 57, 111, .38), 0 10px 24px -12px rgba(17, 57, 111, .14);
  --shadow-yellow: 0 12px 28px -10px rgba(232, 164, 0, .7);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

[hidden] { display: none !important; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 1.25rem + 2.7vw, 3.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

sup { font-size: .6em; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.center { text-align: center; }

.stars { display: inline-flex; gap: 2px; color: var(--yellow-500); }
.stars svg { width: 16px; height: 16px; }
.stars--lg svg { width: 22px; height: 22px; }
.stars .star-off { color: var(--line-2); }

.fineprint { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .8em 1.35em;
  border: 1.5px solid var(--btn-bd);
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { width: 1.15em; height: 1.15em; }

.btn-primary {
  --btn-bg: var(--yellow-400);
  --btn-fg: var(--navy-900);
  box-shadow: var(--shadow-yellow), inset 0 -2px 0 rgba(0, 0, 0, .08);
}
@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(232, 164, 0, .85), inset 0 -2px 0 rgba(0, 0, 0, .08); }
}

.btn-outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline:hover { --btn-bd: var(--ink); }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, .65);
  --btn-fg: var(--ink);
  --btn-bd: rgba(17, 57, 111, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { --btn-bd: var(--ink); --btn-bg: #fff; }
.btn-ghost .i { transition: transform .25s var(--ease); }
.btn-ghost:hover .i { transform: translateX(3px); }

.btn-dark {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  box-shadow: 0 14px 30px -12px rgba(17, 57, 111, .65);
}
.btn-dark:hover { --btn-bg: var(--navy-700); }

.btn-wa { --btn-bg: #25d366; --btn-fg: #04301a; box-shadow: 0 12px 26px -12px rgba(18, 140, 70, .7); }
.btn-wa:hover { --btn-bg: #34e077; }

.btn-sm { min-height: 40px; padding: .55em 1.05em; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: .95em 1.6em; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--yellow-400);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(17, 57, 111, .07), 0 10px 30px -18px rgba(17, 57, 111, .3);
}
.site-header.menu-open { background: #fff; }

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  flex: none;
  width: 46px;
  height: 35px;
}

.nav { display: none; margin-inline: auto; }
.nav-list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--ink); background: rgba(17, 57, 111, .06); }

.header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.header-phone {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.header-phone span { display: none; }
.header-phone:hover { color: var(--blue-600); }

.header-book { display: none; }

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}
.menu-icon { position: relative; display: block; width: 18px; height: 14px; }
.menu-icon i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-icon i:nth-child(1) { top: 0; }
.menu-icon i:nth-child(2) { top: 6px; }
.menu-icon i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fff;
  animation: menu-in .35s var(--ease-out);
}
.mm-list { margin: 0; padding: 0; list-style: none; }
.mm-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}
.mm-list a::after { content: "→"; color: var(--muted); font-weight: 400; }
.mm-cta { display: grid; gap: 12px; margin-top: auto; }
.mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; color: var(--muted); }

@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }

@media (min-width: 640px) {
  .header-book { display: inline-flex; }
}
@media (min-width: 900px) {
  .header-phone { display: inline-flex; gap: 8px; width: auto; height: auto; padding: 8px 12px; border: 0; background: none; }
  .header-phone span { display: inline; }
}
@media (min-width: 1180px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header-cta { margin-left: 0; }
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease-out), translate .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* ---------- Section scaffolding ---------- */

.section { position: relative; padding-block: var(--section-y); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h2 em {
  font-style: normal;
  color: var(--green-600);
}

.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }


/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(24px, 6vw, 72px)) 0 clamp(64px, 9vw, 120px);
  background: #fff;
}
.hero-inner {
  display: grid;
  gap: clamp(44px, 7vw, 72px);
  align-items: center;
}

/* Sized so "Keep the lights on." always fits on one line and, from large phones up,
   "Beat rising power bills." does too: two short lines instead of a stack of words. */
.hero-title {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}
.hero-title .hl { display: block; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(17, 57, 111, .1);
  border-radius: 6px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  color: var(--navy-700);
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hl {
  text-decoration-line: underline;
  text-decoration-color: var(--green-500);
  text-decoration-thickness: .09em;
  text-underline-offset: .12em;
  animation: underline-in .9s .3s var(--ease-out) both;
}
@keyframes underline-in { from { text-decoration-color: transparent; } }

.hero-lead {
  max-width: 34em;
  margin-bottom: 28px;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.24rem);
  color: var(--ink-2);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.hero-note .i { color: var(--green-500); width: 18px; height: 18px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(17, 57, 111, .08);
  list-style: none;
  color: var(--ink-2);
  font-size: .92rem;
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .i { color: var(--green-600); width: 19px; height: 19px; }
.hero-proof strong { color: var(--ink); }

/* Hero 3D stage */
.hero-visual { position: relative; perspective: 1600px; perspective-origin: 50% 35%; }

.stage {
  position: relative;
  width: min(100%, 600px);
  margin-inline: auto;
  aspect-ratio: 1 / .88;
  transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-8deg);
}

.stage-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #dbe5f2;
  box-shadow: 0 50px 80px -40px rgba(17, 57, 111, .55), 0 18px 36px -18px rgba(17, 57, 111, .35);
}
.stage-card picture { height: 100%; }
.stage-card img { width: 100%; height: 100%; object-fit: cover; }

.stage-main { inset: 0 0 18% 12%; transform: translateZ(0); }

.stage-real {
  left: 0;
  bottom: 0;
  width: 36%;
  aspect-ratio: 4 / 5;
  border: 5px solid #fff;
  border-radius: 12px;
  transform: translateZ(70px);
}
.stage-real figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.stage-real figcaption .i { width: 13px; height: 13px; color: var(--green-500); stroke-width: 3; }

.chip {
  --z: 100px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 22px 44px -18px rgba(17, 57, 111, .45), 0 2px 6px rgba(17, 57, 111, .08);
  white-space: nowrap;
  transform: translateZ(var(--z));
}

.chip-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--yellow-100);
  color: #b07a00;
}
.chip-ic .i { width: 20px; height: 20px; }
.chip-txt { display: flex; flex-direction: column; line-height: 1.15; }
.chip-txt small { color: var(--muted); font-size: .7rem; font-weight: 600; }
.chip-txt strong { color: var(--ink); font-family: var(--font-display); font-size: 1rem; font-variant-numeric: tabular-nums; }

.chip-solar { top: -3%; right: 4%; --z: 130px; }
.chip-save {
  right: 3%;
  bottom: 5%;
  --z: 115px;
  --delay: -1s;
  gap: 14px;
  padding: 10px 14px;
}
.spark { width: 84px; height: 28px; overflow: visible; }
.spark path {
  fill: none;
  stroke: var(--green-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw 2.4s .8s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 559px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .stage { width: 100%; }
  .chip { gap: 8px; padding: 7px 10px 7px 7px; border-radius: 8px; }
  .chip-ic { width: 30px; height: 30px; border-radius: 6px; }
  .chip-ic .i { width: 17px; height: 17px; }
  .chip-txt small { font-size: .64rem; }
  .chip-txt strong { font-size: .86rem; }
  .chip-solar { top: -5%; right: 0; }
  .chip-save { right: 2%; bottom: 3%; gap: 8px; padding: 8px 10px; }
  .spark { width: 56px; height: 22px; }
}

.chip { background: rgba(255, 255, 255, .95); }

@media (max-width: 1023px) {
  .hero-visual { margin-top: 18px; }
  .chip-solar { top: 2%; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100vh, 980px); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
  /* the text column is about half the screen here, so the title scales with it */
  .hero-title { font-size: clamp(2.9rem, 4.5vw - 7px, 3.35rem); }
}

/* ---------- Trust strip ---------- */

.trust { padding: 0 0 clamp(56px, 7vw, 88px); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.stats li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--yellow-400);
}
.stats li:nth-child(2)::before { background: var(--blue-500); }
.stats li:nth-child(3)::before { background: var(--green-500); }
.stats li:nth-child(4)::before { background: var(--yellow-400); }
.stats strong {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.stats li > span { color: var(--muted); font-size: .9rem; line-height: 1.35; }
/* the rating card is one big link down to the reviews */
.stats .stat-link { color: var(--muted); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.stats .stat-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); transition: box-shadow .2s; }
.stats .stat-link .nw { white-space: nowrap; }
.stats .stat-link .i { display: inline-block; width: 15px; height: 15px; margin-left: 5px; color: var(--blue-600); vertical-align: -2px; transition: transform .2s var(--ease); }
.stats .stat-link:hover { color: var(--ink); }
.stats .stat-link:hover::after { box-shadow: inset 0 0 0 1px var(--blue-500); }
.stats .stat-link:hover .i { transform: translateX(3px); }
.stats .stat-link:focus-visible { outline: none; }
.stats .stat-link:focus-visible::after { outline: 3px solid var(--blue-500); outline-offset: -3px; }
.star-i { width: .8em; height: .8em; margin-left: 4px; color: var(--yellow-500); }
.trust-foot { margin: 10px 0 0; color: var(--muted); font-size: .75rem; }

.marquee { margin-top: clamp(36px, 5vw, 60px); }
.marquee-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.marquee-viewport {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  gap: clamp(36px, 5vw, 68px);
  margin: 0;
  padding: 0 clamp(36px, 5vw, 68px) 0 0;
  list-style: none;
  animation: marquee 40s linear infinite;
}
.marquee-track li {
  color: #64748b;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color .2s;
}
.marquee-track li:hover { color: var(--ink); }
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- Services ---------- */

.services { background: var(--bg-soft); }

.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s, transform .4s var(--ease-out);
}
.svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe7f1; }
.svc-media picture { height: 100%; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.svc:hover .svc-media img { transform: scale(1.06); }

/* Generators card: a spec panel instead of a photo */
.svc-media--gen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  background: var(--navy-900);
  color: #fff;
}
.gen-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  color: var(--yellow-400);
}
.gen-ic .i { width: 28px; height: 28px; stroke-width: 1.75; }
.svc .gen-range { margin: 0; color: #c9d6e8; font-size: .92rem; line-height: 1.4; }
.svc .gen-range strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.8rem); font-weight: 700; letter-spacing: 0; line-height: 1.15; }
@media (max-width: 699px) {
  .svc-media--gen { aspect-ratio: 2 / 1; }
}

.svc-body { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.svc h3 { margin: 12px 0 8px; font-size: 1.3rem; }
.svc p { color: var(--ink-2); font-size: .97rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--yellow-100);
  color: #6f4f00;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.tag .i { width: 14px; height: 14px; }
.tag--blue { background: var(--blue-100); color: var(--blue-600); }
.tag--green { background: var(--green-100); color: var(--green-700); }
.tag--red { background: #fde8e8; color: #b42318; }

.ticks { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: .95rem; font-weight: 500; }
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding: 6px 0;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}
.svc-link .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.svc-link:hover .i { transform: translateX(4px); }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .svc { grid-column: span 3; }
  .svc:not(.svc--feature) .svc-body { padding: 20px 20px 22px; }
  .svc--feature { grid-column: span 6; }
  .svc--feature .svc-media { aspect-ratio: 16 / 9; }
  .svc--feature h3 { font-size: 1.5rem; }
}

/* ---------- Energy flow simulator ---------- */

.sim { background: #fff; }

.sim-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.sim-scene {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 32px);
  background: var(--bg-soft);
  transition: background-color .6s;
}
.sim-scene.is-night { background: #e8eef7; }
.sim-scene-title {
  margin: 0;
  color: #4d6684;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Monitoring-style flow diagram: five nodes on a 3 x 3 grid, lines drawn between cell centres */
.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: ". solar ." "grid inv home" ". batt .";
  width: 100%;
  max-width: 640px;
  margin: 0 auto 18px;
  aspect-ratio: 4 / 3;
}
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-lines path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow-base { stroke: var(--line-2); stroke-width: 3; transition: stroke .3s; }
.flow {
  stroke-width: 4;
  stroke-dasharray: 2 10;
  opacity: 0;
  transition: opacity .4s;
  animation: flow var(--flow-speed, 1s) linear infinite;
}
.flow.is-on { opacity: 1; }
.flow.is-rev { animation-direction: reverse; }
.flow--solar { stroke: var(--yellow-600); }
.flow--home { stroke: var(--blue-500); }
.flow--batt { stroke: var(--green-500); }
.flow--grid { stroke: #6b7f99; }
@keyframes flow { to { stroke-dashoffset: -12; } }

.fnode { position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; }
.fnode--solar { grid-area: solar; }
.fnode--grid { grid-area: grid; }
.fnode--inv { grid-area: inv; }
.fnode--home { grid-area: home; }
.fnode--batt { grid-area: batt; }
.fnode-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(52px, 11vw, 76px);
  aspect-ratio: 1;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, color .3s;
}
.fnode-ic .i { width: 44%; height: 44%; }
.fnode--solar .fnode-ic { color: var(--yellow-600); }
.fnode--home .fnode-ic { color: var(--blue-600); }
.fnode--batt .fnode-ic { border-color: transparent; color: var(--green-600); }
.fnode--grid .fnode-ic { color: #5d708a; }
.fnode--inv .fnode-ic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: clamp(86px, 17vw, 128px);
  aspect-ratio: 5 / 4;
  border: 0;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--yellow-400);
  box-shadow: var(--shadow-md);
}
.fnode--inv .fnode-ic .i { width: clamp(24px, 5vw, 36px); height: clamp(24px, 5vw, 36px); }
.fnode-inv-label { color: #fff; font-size: clamp(.62rem, .55rem + .3vw, .74rem); font-weight: 700; line-height: 1.15; text-align: center; }

.fnode-txt { position: absolute; display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.fnode--solar .fnode-txt,
.fnode--batt .fnode-txt { top: 50%; left: calc(50% + clamp(34px, 7vw, 44px)); transform: translateY(-50%); }
.fnode--grid .fnode-txt,
.fnode--home .fnode-txt { top: calc(50% + clamp(32px, 6.8vw, 42px)); left: 50%; align-items: center; text-align: center; transform: translateX(-50%); }
.fnode-label { color: #4d6684; font-size: .76rem; font-weight: 600; }
.fnode-val {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

/* Battery charge ring */
.ring { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: var(--line); }
.ring-val { stroke: var(--green-500); stroke-linecap: round; transition: stroke-dasharray .3s, stroke .3s; }
.ring-val.is-mid { stroke: var(--yellow-500); }
.ring-val.is-low { stroke: var(--red-500); }

.flow-map.is-night .fnode--solar .fnode-ic { color: #9aabc2; }
.flow-map.is-night .fnode--solar .fnode-val { color: #4d6684; }
.flow-map.is-ls .fnode--grid .fnode-ic { border-color: var(--red-500); color: var(--red-500); }
.flow-map.is-ls .fnode--grid .fnode-label,
.flow-map.is-ls .fnode--grid .fnode-val { color: #b42318; }
.flow-map.is-ls .flow-base--grid { stroke: var(--red-500); stroke-dasharray: 4 7; }

.sim-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--navy-900);
  color: #d9e3f1;
}

.sim-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sim-clock-label { color: #b3c4dc; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sim-time {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.sim-range-wrap { display: block; padding-top: 4px; }
.sim-range {
  width: 100%;
  height: 10px;
  margin: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.sim-range::-webkit-slider-thumb {
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 7px rgba(255, 198, 41, .22), 0 4px 12px rgba(0, 0, 0, .3);
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.sim-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 0 7px rgba(255, 198, 41, .22), 0 4px 12px rgba(0, 0, 0, .3);
  cursor: grab;
}
.sim-range:focus-visible { outline-offset: 8px; }
.sim-range-scale { display: flex; justify-content: space-between; margin-top: 10px; color: #a9bcd6; font-size: .72rem; }

.sim-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sim .btn-outline { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.sim .btn-outline:hover { --btn-bd: #fff; }
#sim-play .i-pause { display: none; }
#sim-play[aria-pressed="true"] .i-play { display: none; }
#sim-play[aria-pressed="true"] .i-pause { display: block; }
#sim-play .i { fill: currentColor; stroke: none; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-ui {
  position: relative;
  flex: none;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  transition: background-color .25s;
}
.switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease);
}
.switch input:checked + .switch-ui { background: var(--red-500); }
.switch input:checked + .switch-ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.sim-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(60, 200, 121, .35);
  border-radius: 8px;
  background: rgba(24, 169, 87, .16);
  color: #d6f5e3;
  font-size: .92rem;
  font-weight: 500;
  transition: background-color .3s, border-color .3s, color .3s;
}
.sim-status.is-alert { border-color: rgba(255, 110, 115, .6); background: rgba(229, 72, 77, .24); color: #ffe4e5; }
.sim-status.is-night { border-color: rgba(150, 190, 255, .4); background: rgba(90, 160, 255, .16); color: #dceaff; }
.sim .fineprint { margin: 0; color: #a9bcd6; }

@media (max-width: 559px) {
  .fnode-label { font-size: .7rem; }
}
@media (min-width: 1024px) {
  .sim-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* ---------- Savings advisor ---------- */

.advisor { background: var(--yellow-50); }

.advisor-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }

.advisor-form { margin-top: 28px; }
.advisor-go { margin-top: 4px; }
.advisor-go .i { transform: rotate(90deg); }

.q { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.q legend, .q-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
}
.q-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: .82rem;
}
.q-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.q-row .q-label { margin-bottom: 10px; }
.bill-out {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.seg { display: grid; gap: 8px; }
.seg--2 { grid-template-columns: 1fr 1fr; }
.seg--3 { grid-template-columns: 1fr; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  height: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.seg span .i { width: 18px; height: 18px; }
.seg label:hover span { border-color: var(--navy-700); }
.seg input:checked + span {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(17, 57, 111, .7);
}
.seg input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.range {
  --fill: 10%;
  width: 100%;
  height: 10px;
  margin: 6px 0 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--yellow-400) var(--fill), #e4e9f1 var(--fill));
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range::-webkit-slider-thumb {
  width: 32px;
  height: 32px;
  border: 7px solid var(--navy-800);
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 6px 16px -4px rgba(17, 57, 111, .55);
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 7px solid var(--navy-800);
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 6px 16px -4px rgba(17, 57, 111, .55);
  cursor: grab;
}
.range:focus-visible { outline-offset: 8px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: .78rem; }

.result-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  color: #d4deeb;
}

.result-photo { margin: 0 0 20px; overflow: hidden; aspect-ratio: 32 / 15; border-radius: 10px; background: var(--navy-800); }
.result-photo picture { height: 100%; }
.result-photo img { width: 100%; height: 100%; object-fit: cover; }

.result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--yellow-400);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.result-name { margin-bottom: 6px; color: #fff; font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.2rem); }
.result-sub { margin: 0; color: #9fb1cb; font-size: .94rem; }

.result-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 16px; }
.result-stats div { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; background: rgba(255, 255, 255, .05); }
.result-stats dt { color: #9fb1cb; font-size: .78rem; }
.result-stats dd {
  margin: 4px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.result-stats div:nth-child(-n+2) dd { color: #5fe39a; }

.result-extra p { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-size: .92rem; }
.result-extra .i { margin-top: 2px; color: var(--yellow-400); width: 18px; height: 18px; }
.result-extra strong { color: #fff; }

.result-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 16px 0 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.result-price span { color: #9fb1cb; }
.result-price strong { color: #fff; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; }
.result-card .fineprint { color: #a9bcd6; font-size: .78rem; }
.result-card .btn { white-space: normal; text-align: center; }

.result-card.is-updating .result-name,
.result-card.is-updating dd { animation: tick .45s var(--ease-out); }
@keyframes tick { from { opacity: .3; transform: translateY(6px); } }

@media (min-width: 520px) {
  .seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .advisor-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .advisor-go { display: none; }
}

/* ---------- Packages ---------- */

.packages { background: #fff; }

/* Product range tabs (shown when JavaScript runs; otherwise every range is listed in turn) */
.price-tabs { display: none; }
.js .price-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(20px, 3vw, 30px);
  padding: 6px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  scrollbar-width: none;
}
.price-tabs::-webkit-scrollbar { display: none; }
.price-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.price-tab .i { width: 18px; height: 18px; }
.price-tab:hover { color: var(--ink); }
.price-tab[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: 0 10px 22px -12px rgba(17, 57, 111, .7); }
.price-tab:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.price-panel + .price-panel { margin-top: clamp(36px, 5vw, 56px); }
.js .price-panel + .price-panel { margin-top: 0; }
.price-panel:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 8px; border-radius: 8px; }
.price-panel-title { margin-bottom: 6px; font-size: 1.4rem; text-align: center; }
.js .price-panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.price-intro { max-width: 46em; margin: 0 auto 14px; color: var(--muted); text-align: center; }
@media (max-width: 599px) {
  /* All three ranges stay visible on phones */
  .js .price-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 10px; }
  .price-tab { justify-content: center; min-height: 54px; padding: 6px 8px; border-radius: 8px; font-size: .84rem; line-height: 1.2; text-align: center; white-space: normal; }
  .price-tab .i { display: none; }
}

.pkgs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 84%);
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 18px var(--gutter) 26px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.pkgs::-webkit-scrollbar { display: none; }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: center;
  transition: box-shadow .3s;
}
.pkg:hover { box-shadow: var(--shadow-lg); }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pkg-tags .pkg-kva { margin-bottom: 0; }
.pkg-phase {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 700;
}
.pkg--featured .pkg-phase { background: rgba(255, 255, 255, .12); color: #e3ebf6; }
.pkg-price--quote span { font-size: 1.75rem; }
.pkg-price .pkg-vat { margin-top: 2px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pkg--featured .pkg-price .pkg-vat { color: #b3c4dc; }

.pkg-kva {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 800;
}
.pkg-name { margin-bottom: 6px; font-size: 1.45rem; }
.pkg-desc { color: var(--muted); font-size: .95rem; }
.pkg-price { display: flex; flex-direction: column; margin: 4px 0 18px; }
.pkg-price small { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pkg-price span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}
.pkg-list {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pkg-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.pkg-list .i { width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }
.pkg .btn { margin-top: auto; }

.pkg--featured {
  border-color: transparent;
  background: var(--navy-900);
  box-shadow: 0 34px 64px -26px rgba(17, 57, 111, .7);
  color: #cfd9e8;
}
.pkg--featured .pkg-name,
.pkg--featured .pkg-price span { color: #fff; }
.pkg--featured .pkg-kva { background: rgba(255, 198, 41, .16); color: var(--yellow-400); }
.pkg--featured .pkg-desc,
.pkg--featured .pkg-price small { color: #9fb1cb; }
.pkg--featured .pkg-list { border-color: rgba(255, 255, 255, .12); }
.pkg--featured .pkg-list li { color: #dbe4f0; }
.pkg--featured .pkg-list .i { color: var(--yellow-400); }

.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 6px;
  background: var(--yellow-400);
  box-shadow: var(--shadow-yellow);
  color: var(--navy-900);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
  translate: -50% 0;
}
.pkg-badge .i { width: 13px; height: 13px; }

.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}
.swipe-hint .i { width: 16px; height: 16px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.custom-card {
  display: grid;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid #f2e2a8;
  border-radius: var(--radius-xl);
  background: var(--yellow-50);
}
.custom-media { min-height: 220px; }
.custom-media picture { height: 100%; }
.custom-media img { width: 100%; height: 100%; object-fit: cover; }
.custom-body { padding: clamp(24px, 4vw, 44px); }
.custom-body h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
.custom-body p:not(.kicker) { max-width: 40em; }
.scope-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 880px;
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 18px 22px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  background: var(--blue-50);
}
.scope-note .why-ic { width: 42px; height: 42px; border-radius: 8px; }
.scope-note p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.scope-note strong { display: block; margin-bottom: 3px; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }

@media (min-width: 700px) {
  .pkgs { grid-auto-columns: minmax(300px, 46%); }
}
@media (min-width: 900px) {
  .custom-card { grid-template-columns: 420px 1fr; align-items: stretch; }
  .custom-body { align-self: center; }
}
@media (min-width: 1100px) {
  .pkgs {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: 0;
    padding: 22px 0 8px;
    overflow: visible;
  }
  .pkgs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }
  .pkg--featured { translate: 0 -14px; }
  .swipe-hint { display: none; }
}

/* ---------- Why V Energy ---------- */

.why { overflow: hidden; background: var(--blue-50); }

.why-grid { display: grid; gap: clamp(44px, 6vw, 84px); align-items: center; }

.why-visual { position: relative; width: 100%; max-width: 480px; margin-inline: auto; }
.why-frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.why-frame picture { height: 100%; }
.why-frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.fb-1 { top: 9%; right: -18px; }
.fb-1 strong { color: var(--ink); font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: 0; }
.fb-1 span { color: var(--muted); font-size: .84rem; line-height: 1.3; }
.fb-2 { bottom: 11%; left: -18px; }
.fb-2 .i { width: 38px; height: 38px; padding: 8px; border-radius: 8px; background: var(--green-100); color: var(--green-600); }
.fb-2 span { color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.3; }

.why-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.why-list li {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  transition: background-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.why-list li:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateX(4px); }
.why-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--yellow-100);
  color: #8a6100;
}
.why-ic--blue { background: var(--blue-100); color: var(--blue-600); }
.why-ic--green { background: var(--green-100); color: var(--green-700); }
.why-list h3 { margin: 2px 0 4px; font-size: 1.06rem; }
.why-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }

@media (max-width: 559px) {
  .fb-1 { right: 8px; top: 6%; padding: 12px 14px; }
  .fb-2 { left: 8px; bottom: 6%; padding: 12px 14px; }
  .fb-1 strong { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

/* ---------- Process ---------- */

.process { background: #fff; }

.steps { position: relative; display: grid; gap: 14px; margin: 0 0 44px; padding: 0; list-style: none; counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step { counter-increment: step; }
.step::after {
  content: "0" counter(step);
  position: absolute;
  top: 12px;
  right: 16px;
  color: rgba(17, 57, 111, .07);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}
.step-ic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy-800);
  box-shadow: 0 12px 24px -12px rgba(17, 57, 111, .7);
  color: var(--yellow-400);
}
.step h3 { margin: 2px 0 6px; padding-right: 48px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .94rem; }

@media (min-width: 700px) and (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 47px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--yellow-400);
    transform: scaleX(var(--steps-progress, 0));
    transform-origin: 0 50%;
    transition: transform 1.6s var(--ease-out);
  }
  .steps.is-in::before { --steps-progress: 1; }
  .step { display: block; padding: 22px 20px 24px; }
  .step h3 { padding-right: 0; }
  .step-ic { margin-bottom: 18px; }
}

/* ---------- Parallax band ---------- */

.band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(520px, 60vw, 660px);
  padding-block: clamp(56px, 8vw, 110px);
  background: #fff;
}
.band-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.band-parallax { position: absolute; inset: -14% 0; will-change: transform; }
.band-parallax picture { height: 100%; }
.band-parallax img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.band-card {
  max-width: 600px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.band-card h2 { max-width: 15em; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); letter-spacing: 0; }
.band-card h2 span { display: block; color: var(--green-600); }
.band-rotator { margin-bottom: 24px; color: var(--ink-2); font-size: 1.12rem; font-weight: 500; }
@media (max-width: 899px) {
  .band { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .band-media { position: relative; inset: auto; order: 2; height: clamp(280px, 70vw, 440px); margin-top: 28px; }
  .band-parallax img { object-position: 70% 60%; }
  .band-card { padding: 0; border-radius: 0; background: none; box-shadow: none; }
}

/* ---------- Recent installs ---------- */

.work { background: #fff; }

.work-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }

.work-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: #e8eef6;
  box-shadow: var(--shadow-sm);
}
.work-item a { position: relative; display: block; height: 100%; }
.work-item picture { height: 100%; }
.work-item img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease-out); }
.work-item--lg img { aspect-ratio: 4 / 3; }
.work-item:hover img { transform: scale(1.05); }
.work-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}
.zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s var(--ease);
}
.work-item:hover .zoom, .work-item a:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .zoom { opacity: 1; transform: none; } }

.work-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--yellow-400);
  color: var(--navy-900);
}
.work-cta h3 { position: relative; color: var(--navy-900); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.work-cta p { position: relative; max-width: 30em; color: var(--navy-800); }
.work-cta .btn-primary { --btn-bg: var(--navy-800); --btn-fg: #fff; box-shadow: 0 14px 30px -12px rgba(17, 57, 111, .6); }
@media (max-width: 699px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-item--lg, .work-cta { grid-column: 1 / -1; }
  .work-item:not(.work-item--lg) figcaption { left: 6px; right: 6px; bottom: 6px; padding: 7px 9px; border-radius: 6px; font-size: .72rem; }
  .work-item:not(.work-item--lg) .zoom { top: 8px; right: 8px; width: 34px; height: 34px; }
}
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-item--lg, .work-cta { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .work-item--lg { grid-column: 1; grid-row: span 2; }
  .work-item--lg img { aspect-ratio: auto; }
  .work-cta { grid-column: 2 / span 2; }
}

/* ---------- Reviews ---------- */

.reviews { overflow: hidden; background: var(--bg-soft); }

.rating-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 26px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: center;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 18px;
  color: var(--yellow-300);
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption small { color: var(--muted); font-size: .84rem; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-100);
  color: #6f4f00;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
}
.avatar--blue { background: var(--blue-100); color: var(--blue-600); }
.avatar--green { background: var(--green-100); color: var(--green-700); }

.g-reviews {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.g-reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.g-reviews-head h3 { margin: 0 0 2px; font-size: 1.2rem; }
.g-reviews-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.g-reviews-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.g-reviews-frame { display: grid; place-items: center; min-height: 220px; margin-top: 18px; overflow: hidden; border-radius: 10px; background: var(--bg-soft); }
.g-reviews-frame iframe { display: block; width: 100%; height: 460px; border: 0; }
.g-reviews-ph { margin: 0; color: var(--muted); }

@media (min-width: 700px) {
  .review-track { grid-auto-columns: minmax(300px, 46%); }
}
@media (min-width: 1024px) {
  .review-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding: 8px 0 34px;
    overflow: visible;
  }
  .review:nth-child(3n + 2) { translate: 0 22px; }
}

/* ---------- FAQ ---------- */

.faq { background: #fff; }

.faq-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
.faq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.06rem; font-weight: 600; letter-spacing: 0; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--blue-600); }
.faq-item summary .i {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary .i { transform: rotate(180deg); background: var(--yellow-400); color: var(--navy-900); }
.faq-a { padding: 0 4px 22px; color: var(--ink-2); }
.faq-a p { margin: 0; }

@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height .4s var(--ease), content-visibility .4s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact / final CTA ---------- */

.contact {
  isolation: isolate;
  overflow: hidden;
  background: var(--yellow-400);
  color: var(--navy-900);
}

.contact-grid { display: grid; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact h2 { color: var(--navy-900); font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.7rem); letter-spacing: 0; }
.contact .lead { color: var(--navy-800); }
.kicker--dark { color: var(--navy-800); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 30px; }

.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--navy-800); font-weight: 500; }
.contact-list .i { width: 22px; height: 22px; margin-top: 1px; }
.contact-list a { color: var(--navy-900); font-weight: 600; text-decoration-color: rgba(17, 57, 111, .35); }
.contact-list a[href^="tel"] { white-space: nowrap; }
.contact-list a:hover { text-decoration-color: currentColor; }

.contact-card {
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 44px 80px -34px rgba(17, 57, 111, .5);
  color: var(--ink-2);
}
.contact-card h3 { margin-bottom: 4px; font-size: 1.6rem; }
.contact-card > p { color: var(--muted); }

.areas { margin-top: clamp(44px, 6vw, 68px); }
.areas h3 { margin-bottom: 12px; color: var(--navy-800); font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.areas-note { max-width: 48em; margin: 0 0 14px; color: var(--navy-800); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.area-list li {
  padding: 8px 14px;
  border: 1px solid rgba(17, 57, 111, .14);
  border-radius: 6px;
  background: rgba(255, 255, 255, .55);
  color: var(--navy-800);
  font-size: .9rem;
  font-weight: 600;
}
.area-list .more { border-color: transparent; background: var(--navy-800); color: #fff; }

@media (max-width: 559px) {
  .contact-ctas .btn, .faq-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 14px; }
.field label, .field-label { color: var(--ink); font-size: .875rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field-row { display: grid; column-gap: 14px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2139' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #94a2b6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 124, 246, .16);
}
.field .is-invalid, .is-invalid { border-color: var(--red-500) !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .14) !important; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 18px; color: var(--ink-2); font-size: .86rem; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-800); }
.consent.is-invalid { border-radius: 6px; box-shadow: 0 0 0 3px rgba(229, 72, 77, .35) !important; border-color: transparent !important; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 12px 0 0; font-size: .95rem; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--green-700); }
.form-msg.is-err { color: #b42318; }

.quick-form .btn { white-space: normal; }
.quick-form.is-sent { text-align: center; }

@media (min-width: 560px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Footer ---------- */

.site-footer { padding: clamp(56px, 8vw, 88px) 0 28px; background: var(--navy-900); color: #b4c2d6; }

.footer-grid { display: grid; gap: 36px; }
.brand--light, .brand--light:hover { color: #fff; }
.footer-brand p { max-width: 32em; margin: 16px 0 22px; font-size: .95rem; }
.footer-col h2 { margin-bottom: 16px; color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #b4c2d6; text-decoration: none; }
.footer-col a:hover { color: var(--yellow-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .i { margin-top: 3px; color: var(--yellow-400); width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #a9bcd6;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b4c2d6; }
.footer-bottom a:hover { color: var(--yellow-400); }

@media (max-width: 699px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
}

/* ---------- Sticky mobile actions + WhatsApp ---------- */

.action-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px -14px rgba(17, 57, 111, .5), 0 0 0 1px rgba(17, 57, 111, .07);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  transform: translateY(calc(100% + 30px));
  transition: transform .45s var(--ease-out);
  container: actionbar / inline-size;
}
.action-bar.is-visible { transform: none; }
.ab-btn {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 54px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.ab-btn span { white-space: nowrap; }
.ab-btn:active { background: var(--bg-soft); }
.ab-btn .i { width: 22px; height: 22px; }
.ab-btn--wa { color: #0b7a3e; }
/* Book sizes to its own label and never wraps; Call and WhatsApp share what is left */
.ab-btn--book {
  flex: 0 0 auto;
  flex-direction: row;
  gap: 8px;
  padding-inline: 18px;
  background: var(--yellow-400);
  box-shadow: var(--shadow-yellow);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: .95rem;
}
.ab-btn--book:active { background: var(--yellow-500); }
.ab-btn--book .i { width: 20px; height: 20px; }
/* Small phones or large text settings: Call and WhatsApp keep their icons and
   drop the visible label (still read out by screen readers) */
@container actionbar (max-width: 19.5em) {
  .ab-btn:not(.ab-btn--book) span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@container actionbar (max-width: 15em) {
  .ab-btn--book { padding-inline: 12px; }
  .ab-btn--book .i { display: none; }
}

.wa-fab {
  isolation: isolate;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: none;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1da851;
  box-shadow: 0 16px 32px -10px rgba(18, 140, 70, .7);
  color: #fff;
  transition: transform .3s var(--ease);
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 211, 102, .55);
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  from { opacity: 1; transform: scale(1); }
  80%, to { opacity: 0; transform: scale(1.55); }
}
.wa-fab:hover { color: #fff; transform: scale(1.08); }
.wa-fab .i { width: 30px; height: 30px; }
.wa-tip {
  position: absolute;
  top: 50%;
  right: 72px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy-800);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .25s, transform .25s var(--ease);
}
.wa-fab:hover .wa-tip, .wa-fab:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }

/* Back to top: a see-through arrow in the middle, so what's behind it still shows */
.to-top {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 89;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  background: rgba(17, 57, 111, .5);
  color: #fff;
  transform: translateX(-50%);
  transition: opacity .3s var(--ease), visibility .3s, background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.to-top .i { width: 22px; height: 22px; stroke-width: 2.25; }
.to-top:hover, .to-top:focus-visible { background: var(--navy-900); color: #fff; }
.js .to-top:not(.is-visible) { opacity: 0; visibility: hidden; }

@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  /* just above the Call / WhatsApp / Book bar */
  .to-top { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .action-bar { display: none; }
  .wa-fab { display: grid; }
}

/* ---------- Booking dialog ---------- */

.book {
  width: min(640px, calc(100% - 32px));
  max-width: 100%;
  max-height: min(92dvh, 880px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 50px 100px -20px rgba(11, 46, 91, .55);
  color: var(--ink-2);
}
.book[open] { display: flex; animation: pop-in .45s var(--ease-out); }
.book::backdrop { background: rgba(11, 46, 91, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

.book-form { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }

.book-head {
  flex: none;
  padding: 20px 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--yellow-50);
}
.book-title-row { display: flex; align-items: center; gap: 12px; }
.book-mark svg { display: block; width: 46px; height: 35px; }
.book-kicker { margin: 0 0 2px; color: var(--blue-600); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.book h2 { margin: 0; font-size: clamp(1.22rem, 1.05rem + .8vw, 1.6rem); }

.icon-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: background-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--bg-soft); transform: rotate(90deg); }

.book-steps { display: flex; gap: 8px; margin: 16px 0 12px; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; font-weight: 600; }
.book-steps li { display: flex; flex: 1; align-items: center; gap: 6px; }
.book-steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: .7rem;
}
.book-steps li.is-active { color: var(--ink); }
.book-steps li.is-active span { border-color: transparent; background: var(--navy-800); color: #fff; }
.book-steps li.is-done span { border-color: transparent; background: var(--green-500); color: #fff; }
.book-progress { height: 3px; margin: 0 -22px; background: var(--line); }
.book-progress span { display: block; width: var(--p, 33%); height: 100%; background: var(--green-500); transition: width .45s var(--ease); }

.book-body { flex: 1 1 auto; min-height: 0; padding: 22px; overflow-y: auto; overscroll-behavior: contain; }

.book-step { min-width: 0; margin: 0; padding: 0; border: 0; animation: step-in .4s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.book-step legend { margin-bottom: 14px; padding: 0; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.step-help { margin: -6px 0 14px; color: var(--muted); font-size: .9rem; }
.step-error { margin: 8px 0 0; color: #b42318; font-size: .9rem; font-weight: 600; }
.step-error:empty { display: none; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice .i { width: 26px; height: 26px; margin-bottom: 6px; color: var(--blue-600); }
.choice strong { color: var(--ink); font-family: var(--font-display); font-size: .96rem; line-height: 1.25; }
.choice small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.choice:hover span { border-color: var(--navy-700); }
.choice input:checked + span { border-color: var(--navy-800); background: var(--yellow-50); box-shadow: 0 0 0 3px rgba(255, 198, 41, .5); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slot input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.slot { position: relative; display: block; }
.slot span {
  display: grid;
  place-items: center;
  height: 46px;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s, border-color .2s;
}
.slot:hover span { border-color: var(--navy-700); }
.slot input:checked + span { border-color: var(--yellow-600); background: var(--yellow-400); color: var(--navy-900); }
.slot-when { margin: 0 0 18px; color: var(--green-700); font-size: .92rem; font-weight: 600; }
.slot-when:empty { display: none; }

.seg--sm span { min-height: 46px; font-size: .9rem; }
.seg--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.book-foot {
  display: flex;
  flex: none;
  gap: 10px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.book-foot [data-back] { margin-right: auto; }
.book-foot .btn-primary { flex: 1 1 auto; }

.book-done, .book-fail { padding: 6px 0 4px; text-align: center; outline: none; }
.done-badge {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 10px var(--green-100);
  color: #fff;
  animation: pop-badge .7s var(--ease-out);
}
.done-badge .i { width: 40px; height: 40px; stroke-width: 3; }
@keyframes pop-badge { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); } }
.book-done h3, .book-fail h3 { font-size: 1.55rem; }
.done-summary { color: var(--ink-2); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 14px; }
.done-actions .btn { flex: 1 1 auto; }

@media (max-width: 639px) {
  .book {
    width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }
  .book[open] { animation: sheet-in .45s var(--ease-out); }
  .book-steps li { font-size: .72rem; }
  .book-body { padding: 18px; }
  .book-head { padding: 16px 18px 0; }
  .book-progress { margin: 0 -18px; }
  .book-foot { padding-inline: 18px; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }

@media (min-width: 640px) {
  .book-foot .btn-primary { flex: 0 0 auto; min-width: 210px; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox[open] { display: grid; place-items: center; animation: fade-in .3s ease; }
.lightbox::backdrop { background: rgba(11, 46, 91, .94); }
@keyframes fade-in { from { opacity: 0; } }
.lightbox figure { max-width: min(1200px, 92vw); margin: 0; }
.lightbox img { max-width: 100%; max-height: 80dvh; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 14px; color: #e3eaf3; font-weight: 500; text-align: center; }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .i { width: 26px; height: 26px; }
.lb-prev { top: 50%; left: 14px; translate: 0 -50%; }
.lb-prev .i { transform: rotate(90deg); }
.lb-next { top: 50%; right: 14px; translate: 0 -50%; }
.lb-next .i { transform: rotate(-90deg); }
.lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }

/* ---------- Pause decoration while off-screen (class set by main.js) ---------- */

.is-offscreen .marquee-track,
.is-offscreen .flow { animation-play-state: paused; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .flow { stroke-dasharray: none; }
}
