/* SMS solar installation landing page */

:root {
  --ink: #13201A;
  --ink-2: #2B3A32;
  --text-muted: #46554D;
  --text-soft: #5B6A62;
  --on-dark-muted: #C3CFC8;

  --green: #65B748;        /* brand bright green: backgrounds behind dark text */
  --green-cta: #39742A;    /* buttons with white text (5.7:1) */
  --green-deep: #2F6324;
  --green-text: #3A8029;   /* green words on white (4.8:1) */
  --green-tint: #EDF7E9;
  --green-wash: #F4F8F2;
  --green-glow: #9BE07E;   /* green words on dark */

  --yellow: #F2B400;
  --yellow-deep: #E0A100;
  --yellow-wash: #FFF7DC;
  --yellow-line: #EADFB8;

  --octopus: #2A0F5E;      /* Octopus Energy purple */
  --octopus-pink: #F050F8;

  --line: #EAEFE7;
  --line-2: #D5DED1;
  --field: #CBD6C6;
  --error: #A3361B;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  --max: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select { font: inherit; }

a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: #1E4314; }
::selection { background: #FFE07A; color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 6px; }
input[type="range"], input[type="radio"] { accent-color: var(--green-cta); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }

.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; color: var(--text-soft); }

.bolt { fill: currentColor; }
.bolt-bg { position: absolute; pointer-events: none; color: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 0;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #3A8029; color: #ffffff; }  /* white on green: 4.8:1 */
.btn-primary:hover { background: #2F6B22; color: #ffffff; }
.btn-dark { background: #101714; color: #ffffff; }
.btn-dark:hover { background: #24302A; color: #ffffff; }
.btn-ghost { background: #ffffff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: #9FB098; color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFC51F; color: var(--ink); }
.btn-outline { background: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.55); }
.btn-outline:hover { border-color: #ffffff; color: #ffffff; }

/* Header */
.site-header { background: #ffffff; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo-crop { width: 170px; height: 35px; overflow: hidden; flex: none; }  /* PNG wordmark is white: show the mark only */
.logo-crop img { width: 170px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.tel { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; min-height: 44px; }
.tel:hover { color: var(--green-deep); }
.tel svg { stroke: var(--green-cta); }
.header-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; border-radius: var(--radius-sm); }

/* Hero */
.hero-section { position: relative; background: #3A4A41; color: #ffffff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; z-index: -2; }
@media (min-width: 901px) {
  .hero-trust .accreds { display: none; }  /* accreditation strip shows on phones only */
  .hero-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.03) 75%, rgba(0, 0, 0, 0) 100%); }
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-areas: "copy form" "trust form";
  column-gap: 40px;
  row-gap: 36px;
  align-items: start;
  padding-block: 64px 80px;
}
.hero-copy { grid-area: copy; display: flex; flex-direction: column; gap: 22px; padding-top: 16px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 14px rgba(0, 0, 0, 0.55), 0 12px 36px rgba(0, 0, 0, 0.4); }
.hero-trust { grid-area: trust; display: flex; flex-direction: column; gap: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.5); }
.hero-form { grid-area: form; align-self: center; justify-self: end; width: 100%; max-width: 400px; scroll-margin-top: 16px; }

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #FFC02E; background: linear-gradient(100deg, #FFCA2E 0%, #F9A825 55%, #F28A1E 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.hero-lede { font-size: 19px; color: #E4EEE6; max-width: 680px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; }
.hero-points svg { stroke: var(--yellow); flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }

.partner-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--octopus);
  color: #ffffff;
  border: 1px solid rgba(240, 80, 248, 0.45);
}
.partner-logo { display: flex; align-items: center; gap: 9px; flex: none; padding: 6px 14px 6px 8px; border-right: 1px solid rgba(255, 255, 255, 0.25); }
.partner-mark { width: 24px; height: 27px; object-fit: contain; }
.partner-word { width: 147px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }  /* official wordmark, rendered white on Octopus purple */
.partner-text { display: flex; flex-direction: column; line-height: 1.2; padding-left: 2px; white-space: nowrap; }
.partner-text strong { font-size: 14px; font-weight: 700; }
.partner-text span { font-size: 13px; color: #E6D8FF; }

.rating { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; align-self: flex-start; color: #ffffff; text-decoration: none; min-height: 44px; }
.rating:hover { color: #ffffff; }
.rating:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rating strong { font-weight: 700; font-size: 18px; }
.rating span { color: #E4EEE6; }
.stars { display: flex; gap: 2px; color: var(--yellow); }
.stars svg { fill: currentColor; }

.accreds { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.accreds li { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #ffffff; }
.accreds svg { color: var(--yellow); }

/* Survey form */
.form-card {
  position: relative;
  background: #ffffff;
  color: var(--ink);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.progress-head { display: flex; justify-content: space-between; font-size: 14px; }
.progress-head span:first-child { font-weight: 600; }
.progress-head span:last-child { color: var(--text-soft); }
.progress { height: 6px; background: #E4EBE1; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress-bar { height: 100%; background: var(--green); border-radius: 99px; transform: scaleX(0.333); transform-origin: left; transition: transform 0.4s var(--ease-out); }

.step { display: flex; flex-direction: column; gap: 18px; }
.step[hidden] { display: none; }
.step fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step-title { font-size: 22px; font-weight: 700; padding: 0; line-height: 1.3; }
.step-hint { font-size: 14px; color: var(--text-soft); }

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.15s, background-color 0.15s;
}
.choice:hover { border-color: #9FB098; }
.choice input { width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { border: 2px solid var(--green-cta); background: var(--green-tint); padding: 13px 15px; }
.has-error .choice { border-color: #D9A99C; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.input {
  padding: 13px 14px;
  min-height: 50px;
  border-radius: var(--radius);
  border: 1px solid var(--field);
  background: #ffffff;
  color: var(--ink);
}
.input:focus-visible { outline-offset: 1px; }
.input[aria-invalid="true"] { border: 2px solid var(--error); padding: 12px 13px; }
.input-postcode { font-size: 17px; text-transform: uppercase; min-height: 52px; }

.error { font-size: 14px; color: var(--error); font-weight: 500; }
.error[hidden] { display: none; }

.notice { background: #FFF6D6; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.notice[hidden] { display: none; }
.notice .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notice .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; border-radius: var(--radius-sm); }

.step-actions { display: flex; gap: 10px; }
.step-actions .btn-primary { flex: 1; }

.done { padding-block: 12px; gap: 14px; }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); display: flex; align-items: center; justify-content: center; }
.done-icon svg { stroke: var(--green-cta); }
.done h2 { font-size: 24px; font-weight: 700; }
.link-btn { align-self: flex-start; padding: 10px 0; min-height: 44px; border: 0; background: transparent; color: var(--green-deep); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Installation expertise */
.expertise { background: var(--yellow-wash); }
.expertise .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-block: 96px; }
.story {
  flex: 1 1 460px;
  min-width: 0;
  position: relative;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(19, 32, 26, 0.95) 0%, rgba(19, 32, 26, 0.75) 45%, rgba(19, 32, 26, 0.1) 80%);
}
.story > p { position: relative; z-index: 2; }
.story-stat { font-size: 15px; color: var(--on-dark-muted); }
.story-stat strong { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1; color: var(--yellow); margin-bottom: 4px; }
.story-quote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.story-sub { color: var(--on-dark-muted); font-size: 16px; max-width: 440px; }
.services { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.services-head { display: flex; flex-direction: column; gap: 16px; }
.services-head .h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.services-head p { font-size: 18px; color: #4D5548; max-width: 540px; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--yellow-line); }
.service-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); flex: none; display: flex; align-items: center; justify-content: center; }
.service-list h3 { font-size: 19px; font-weight: 700; }
.service-list p { color: #4D5548; margin-top: 4px; }

/* Local: areas we cover */
.local { background: var(--green-wash); }
.local .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 96px; }
.local-img { flex: 1 1 440px; min-width: 0; height: 520px; object-fit: cover; object-position: center 40%; border-radius: var(--radius-xl); }
.local-main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.local-main > p { font-size: 18px; color: var(--text-muted); max-width: 560px; }
.areas { align-self: stretch; border-top: 2px solid var(--green); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.areas[hidden] { display: none; }
.areas h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-deep); }
.areas p { font-size: 16px; color: var(--ink-2); }
.areas p:empty { display: none; }
.areas .postcodes { font-size: 14px; color: var(--text-soft); }

/* Recent installs gallery */
.installs { background: #ffffff; color: var(--ink); }
.installs .wrap { display: flex; flex-direction: column; gap: 36px; padding-block: 96px; }
.installs-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.installs-head p { color: var(--text-muted); font-size: 17px; margin-top: 10px; }
.installs-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filter:hover { border-color: #9FB098; }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.deck-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; height: clamp(420px, 44vw, 580px); }
.deck-list li { flex: 1 1 0; min-width: 0; display: flex; transition: flex-grow 0.75s var(--ease-out); }
.deck-list li[hidden] { display: none; }
.deck-list li:has(.is-active) { flex-grow: 16; }
.slide {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #24302A;
  color: #ffffff;
  text-align: left;
  touch-action: pan-y;
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out), filter 0.5s; filter: saturate(0.8) brightness(0.8); }
.slide:hover img { filter: saturate(0.9) brightness(0.85); }
.slide.is-active img { transform: scale(1); filter: none; }
.slide-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 72px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(to top, rgba(19, 32, 26, 0.85), rgba(19, 32, 26, 0));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}
.slide.is-active .slide-cap { opacity: 1; transform: none; transition-delay: 0.25s; }
.slide-tag { align-self: flex-start; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.slide-title { font-size: 19px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-progress { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); margin-top: 6px; overflow: hidden; position: relative; }
.slide-progress::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.deck.is-playing .slide.is-active .slide-progress::after { animation: deck-progress var(--deck-ms, 5000ms) linear forwards; }
@keyframes deck-progress { to { transform: scaleX(1); } }

/* Thumbnail strip: the "other photos" preview, shown on phones only */
.deck-thumbs { display: none; }

.deck-controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; }
.deck-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #ffffff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.deck-btn:hover { border-color: var(--ink); }
.deck-count { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }

/* Reviews */
.reviews { background: var(--green-wash); }
.reviews .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: 96px; }
.reviews-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.score { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.score > strong { font-size: 40px; font-weight: 800; line-height: 1; }
.score span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); }
.score:hover span { text-decoration: underline; text-underline-offset: 3px; }
.reviews-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.featured {
  flex: 1.3 1 420px;
  min-width: 0;
  background: linear-gradient(135deg, #FFCA2E 0%, #F9A825 55%, #F28A1E 100%);  /* logo yellow to orange */
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.featured .bolt-bg { width: 420px; height: 720px; right: -110px; top: -150px; opacity: 0.18; color: #ffffff; }
.featured blockquote { position: relative; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; font-weight: 600; max-width: 560px; }
.featured figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.featured figcaption small { display: block; font-size: 14px; color: #4D3608; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.review-cards { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.review { background: #ffffff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review p { color: var(--text-muted); font-size: 15px; }
.review footer { font-weight: 600; font-size: 14px; margin-top: auto; }

/* Steps */
.steps .wrap { display: flex; flex-direction: column; gap: 48px; padding-block: 104px 56px; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; counter-reset: step; }
.step-list li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; counter-increment: step; }
.step-marker { display: flex; align-items: center; gap: 14px; }
.step-marker::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-marker::after { content: ""; flex: 1; height: 2px; background: #F0E3B4; }
.step-list h3 { font-size: 20px; font-weight: 700; }
.step-list p { color: var(--text-muted); max-width: 340px; }

/* Calculator */
.calc .wrap { padding-block: 56px 104px; }
.calc-box { border-radius: var(--radius-xl); border: 1px solid #E4EBE1; display: flex; flex-wrap: wrap; overflow: hidden; }
.calc-inputs { flex: 1 1 460px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 26px; }
.calc-inputs .h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }
.bill-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; }
.bill-label output { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-inputs input[type="range"] { width: 100%; }
.calc-inputs fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-inputs legend { font-weight: 600; padding: 0 0 10px; }
.calc-inputs legend span { font-weight: 400; color: var(--text-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 14px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #ffffff; color: var(--ink); cursor: pointer; }
.pill:hover { border-color: #9FB098; }
.pill[aria-pressed="true"] { border: 2px solid var(--green-cta); background: var(--green-tint); padding: 9px 15px; }
.calc-results { flex: 1 1 380px; min-width: 0; background: var(--yellow-wash); padding: 48px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.calc-results .results { display: flex; flex-direction: column; gap: 18px; }
.result-big { font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.result-mid { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.result-label { font-size: 15px; color: #4D5548; margin-top: 6px; }
.calc-results .btn { align-self: flex-start; }
.calc-results .small { color: #5D5A48; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq .wrap { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 96px; }
.faq-intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-self: flex-start; }
.faq-img { width: 100%; max-width: 340px; height: 260px; object-fit: cover; border-radius: var(--radius-lg); margin-top: 8px; }
.faq-list { flex: 2 1 560px; min-width: 0; }
.faq-list details { border-bottom: 1px solid #E4EBE1; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 44px; font-weight: 600; font-size: 17px; line-height: 1.4; }
.faq-q { flex: 1; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; stroke: var(--green-cta); transition: transform 0.25s ease-out; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { margin: 0 0 22px; color: var(--text-muted); max-width: 640px; }

/* Closing band */
.closing { padding: 0 24px 96px; }
.cta-band {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--green);
  border-radius: 32px;
  padding: 80px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(101, 183, 72, 0.96), rgba(101, 183, 72, 0.8)); }
.cta-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }
.cta-copy h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.cta-copy p { font-size: 18px; color: #16301A; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Quote pop-up */
.quote-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; inset: 0; margin: 0; display: none; align-items: center; justify-content: center; padding: 24px; }
.quote-dialog[open] { display: flex; }
.quote-dialog::backdrop { background: rgba(19, 32, 26, 0.62); backdrop-filter: blur(3px); }
.dialog-panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 22px; }
.dialog-panel .form-card { box-shadow: none; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #ffffff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dialog-close:hover { border-color: var(--ink); }
.dialog-panel .progress-wrap { padding-right: 44px; }
@media (max-width: 560px) {
  .quote-dialog { padding: 0; align-items: flex-end; }
  .dialog-panel { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; }
  .dialog-panel .form-card { border-radius: 22px 22px 0 0; border: 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-block: 28px; font-size: 13px; color: var(--text-soft); }

/* Mobile action bar */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "trust"; }
  .hero-form { max-width: none; justify-self: stretch; }
  /* White sits on a layer behind the photo band; the section keeps its dark colour until the image paints */
  .hero-section::after { content: ""; position: absolute; inset: 0; z-index: -3; background: #ffffff; }
  /* Photo band behind the headline and bullets, fading into the white below */
  .hero-bg {
    height: var(--hero-photo-h, 640px);
    bottom: auto;
    object-position: 72% 50%;
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000 68%, rgba(0, 0, 0, 0) 100%);
  }
  .hero-copy { align-items: center; text-align: center; }
  .hero-lede { max-width: none; }
  .hero-points { align-items: center; }
  .hero-points li[data-mobile-hide] { display: none; }
  .partner-badge { align-self: center; }
  .hero-trust { color: var(--ink); text-shadow: none; align-items: center; text-align: center; }
  .rating { align-self: center; justify-content: center; }
  .accreds { justify-content: center; }
  .rating, .rating:hover { color: var(--ink); }
  .rating span { color: var(--text-muted); }
  .accreds { border-top-color: var(--line); }
  .accreds li { color: var(--ink-2); }
  .accreds svg { color: var(--yellow-deep); }
}

@media (max-width: 720px) {
  .header-actions .btn { display: none; }
  .logo-crop { width: 130px; height: 27px; }
  .logo-crop img { width: 130px; }
  body.has-bar { padding-bottom: 84px; }
  .mobile-bar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #DCE5D7;
    box-shadow: 0 -8px 24px rgba(19, 32, 26, 0.08);
    z-index: 10;
    transform: translateY(110%);
    transition: transform 0.3s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { flex: 1; }
  .mobile-bar .btn { padding-inline: 12px; white-space: nowrap; }
  .mobile-bar .btn-primary { flex: 1.6; }

  .hero { padding-block: 40px 56px; row-gap: 28px; }
  .partner-word { width: 112px; height: 15px; }
  .partner-mark { width: 20px; height: 22px; }
  .partner-logo { padding: 6px 12px 6px 8px; gap: 7px; }
  .hero { padding-block: 28px 48px; row-gap: 20px; }
  .hero-copy { padding-top: 0; gap: 14px; }
  .hero h1 { font-size: 34px; }
  .hero-lede { font-size: 17px; }
  .hero-points { display: none; }  /* lede + accreditation strip cover these on phones; keeps the form on the first screen */
  .partner-badge { margin-top: 2px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-inputs, .calc-results, .story { padding: 32px 24px; }
  .story { min-height: 440px; }
  .featured { padding: 32px 24px; }
  .local-img { flex-basis: auto; width: 100%; height: 260px; }
  .local .wrap { gap: 28px; }
  .faq-img { max-width: none; height: 220px; }

  /* Gallery: one big photo, thumbnails of the rest underneath */
  .deck-list { height: auto; gap: 0; }
  .deck-list li { display: none; }
  .deck-list li:has(.is-active) { display: flex; flex: 1 1 auto; }
  .slide { height: 64vw; min-height: 240px; max-height: 420px; border-radius: 16px; }
  .slide img, .slide.is-active img { transform: none; filter: none; }
  .slide-cap { opacity: 1; transform: none; transition: none; padding: 56px 18px 16px; }
  .slide-title { font-size: 16px; }
  .deck-thumbs { display: flex; gap: 8px; margin: 12px -24px 0; padding: 0 24px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .deck-thumbs::-webkit-scrollbar { display: none; }
  .deck-thumbs button { flex: 0 0 72px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--green-wash); cursor: pointer; opacity: 0.6; transition: opacity 0.25s, border-color 0.25s; scroll-snap-align: center; }
  .deck-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
  .deck-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--yellow); }
  .deck-thumbs button[hidden] { display: none; }
  .deck-controls { justify-content: center; margin-top: 14px; }
}

@media (max-width: 560px) {
  .form-card { padding: 22px; }
  .cta-band { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-list li, .slide img, .slide-cap, .deck-thumbs button { transition: none; }
}
