/* Fidella: site styles
   Colour rules: amber (--sun) marks solar energy only; sky (--sky) marks stored energy.
   Cobalt is the one action colour. */

:root {
  --ink: #0E1B33;
  --ink-soft: #34445E;
  --cobalt: #1F4FD1;
  --cobalt-deep: #173DAA;
  --sky: #5CC8F5;
  --sun: #F2A516;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --slate: #56657D;
  --line: #DDE3EB;
  --night: #0A1730;
  --night-line: #22375C;
  --night-text: #A9B8D0;
  --focus: var(--cobalt);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Major-third scale on a 17px base */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.5625rem;

  --r-control: 8px;
  --r-media: 14px;
  --r-panel: 22px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(72px, 9vw, 128px);
  --header-h: 72px;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

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

a { color: var(--cobalt); text-underline-offset: 0.2em; }
a:hover { color: var(--cobalt-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 28px; height: 28px; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-control);
}
.skip:focus { top: 12px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7rem 1.15rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-control);
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-deep); color: var(--white); }

.btn-ghost { border-color: rgba(14, 27, 51, 0.22); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(31, 79, 209, 0.35);
}
.link:hover { text-decoration-color: currentColor; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 249, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 32px; }
.brand-word {
  font-size: 1.6rem;
  font-weight: 650;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-bottom: 3px;
}
.brand-light, .brand-light:hover { color: var(--white); }

.site-nav { display: flex; gap: 28px; margin-left: 8px; }
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-contact { display: none; }

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.975rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--cobalt); width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1140px) {
  .header-phone { display: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(14, 27, 51, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 0;
    font-size: 1.125rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-contact { display: block; color: var(--cobalt); font-weight: 600; border-bottom: 0; }
}

@media (max-width: 440px) {
  .header-cta { display: none; }
}

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

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 4.6vw, 4.5rem);
  font-stretch: 116%;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 span + span { margin-top: 0.12em; }

.lead {
  margin-top: 28px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-call { margin-top: 22px; color: var(--slate); font-size: 0.975rem; }
.hero-call a { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Energy diagram */

.energy { margin: 0; }

.energy-panel {
  overflow: hidden;
  border-radius: var(--r-panel);
  background: var(--night);
  box-shadow: 0 40px 70px -32px rgba(14, 27, 51, 0.55), 0 0 0 1px rgba(14, 27, 51, 0.08);
}
.energy-svg { width: 100%; height: auto; }

.energy-readout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 4px 24px 22px;
  color: #DCE6F5;
}
.readout-time,
.readout-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 650;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.readout-state,
.readout-label { display: block; margin-top: 4px; color: var(--night-text); font-size: 0.9rem; line-height: 1.35; }
.readout-state { min-height: 2.7em; max-width: 26em; }
.readout-charge { text-align: right; }
.readout-value { color: var(--sky); }

.energy-key {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-left: 4px;
  color: var(--slate);
  font-size: 0.875rem;
}
.energy-key span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 4px; border-radius: 2px; }
.swatch-sun { background: var(--sun); }
.swatch-sky { background: var(--sky); }

/* Assurances */

.assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.assurances li { display: flex; gap: 14px; align-items: flex-start; }
.assurances .icon { color: var(--cobalt); width: 24px; height: 24px; margin-top: 2px; }
.assurances strong { display: block; font-weight: 650; line-height: 1.35; }
.assurances span { display: block; margin-top: 2px; color: var(--slate); font-size: 0.95rem; line-height: 1.45; }

/* ---------- Sections ---------- */

.section { padding: var(--section-space) 0; }

.section-head { max-width: 44rem; }
.section-head h2 {
  font-size: clamp(1.95rem, 1.3rem + 2.3vw, 2.85rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.section-head p {
  margin-top: 20px;
  color: var(--slate);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 38em;
}

h3 {
  font-size: var(--t-md);
  font-stretch: 106%;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Batteries */

.section-batteries { background: var(--white); }

.range-head { margin-top: 64px; max-width: 44rem; }
.range-head h3 { font-size: var(--t-lg); font-stretch: 110%; }
.range-head p { margin-top: 10px; color: var(--slate); }
.range-head-secondary { margin-top: clamp(72px, 8vw, 104px); }

/* Lithium models: a comparison sheet */

.models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.model {
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.model-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-media);
  background: linear-gradient(180deg, #EEF2F7 0%, #E3E9F1 100%);
}
.model-photo img {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(14, 27, 51, 0.18));
}

.model-name {
  margin: 22px 0 0;
  font-size: 1.85rem;
  font-weight: 700;
  font-stretch: 114%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.model-fit { margin-top: 8px; color: var(--slate); min-height: 4.8em; }

.specs { margin: 18px 0 0; }
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--slate); }
.specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.spec-note { color: var(--slate); font-weight: 400; }

.model-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 22px;
}
.file-meta { color: var(--slate); font-weight: 400; font-size: 0.875rem; }

/* Lead-acid ranges: datasheet rows */

.sheet { margin-top: 28px; border-top: 2px solid var(--ink); }

.sheet-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.sheet-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 12px;
  background: var(--paper);
}
.sheet-art svg { width: 100%; height: auto; }

.sheet-main h4 { margin: 0; font-size: var(--t-md); font-stretch: 108%; font-weight: 650; line-height: 1.25; }
.sheet-main p { margin-top: 6px; color: var(--slate); max-width: 34em; }
.sheet-uses { color: var(--ink-soft); font-size: 0.95rem; }
.sheet-cta { justify-self: end; text-align: right; }

/* Solar */

.solar-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.photo { width: 100%; border-radius: var(--r-media); object-fit: cover; background: #DDE3EB; }

.solar-photos { position: relative; padding-bottom: 72px; }
.solar-photos .photo-a { width: 84%; margin-left: auto; aspect-ratio: 4 / 3; }
.solar-photos .photo-b {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 16 / 10;
  border: 6px solid var(--paper);
  border-radius: calc(var(--r-media) + 6px);
}

.segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: clamp(56px, 7vw, 88px);
}
.segment { padding-top: 26px; border-top: 2px solid var(--ink); }
.segment .icon { color: var(--cobalt); }
.segment h3 { margin-top: 18px; font-size: var(--t-lg); font-stretch: 110%; }
.segment p { margin-top: 10px; color: var(--slate); }
.segment .link { display: inline-block; margin-top: 16px; }

/* One system */

.section-system { background: var(--ink); color: var(--white); --focus: var(--sky); }
.section-system .section-head p { color: var(--night-text); }

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.reasons { margin: 0; padding: 0; list-style: none; }
.reasons li { padding: 26px 0; border-top: 1px solid var(--night-line); }
.reasons li:last-child { border-bottom: 1px solid var(--night-line); }
.reasons h3 { font-size: var(--t-lg); font-stretch: 110%; }
.reasons p { margin-top: 8px; color: var(--night-text); max-width: 36em; }

/* Services */

.section-services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.services-photo .photo { aspect-ratio: 4 / 3.4; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.services li { padding-top: 22px; border-top: 1px solid var(--line); }
.services .icon { color: var(--cobalt); }
.services h3 { margin-top: 14px; }
.services p { margin-top: 8px; color: var(--slate); font-size: 0.975rem; }

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { position: relative; counter-increment: step; padding-top: 64px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 700;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: -28px;
  height: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: 8px; color: var(--slate); font-size: 0.95rem; }

/* FAQ */

.section-faq { background: var(--white); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head a { color: var(--ink); font-weight: 600; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--cobalt); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--slate); }

/* Contact */

.section-contact { background: var(--ink); color: var(--white); --focus: var(--sky); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.2rem);
  font-stretch: 114%;
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.contact-copy > p { margin-top: 20px; color: var(--night-text); font-size: 1.125rem; max-width: 30em; }

.contact-lines { margin: 40px 0 0; padding: 0; list-style: none; }
.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--night-line);
}
.contact-lines li:last-child { border-bottom: 1px solid var(--night-line); }
.contact-lines .icon { color: var(--sky); width: 24px; height: 24px; }
.contact-lines a {
  color: var(--white);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  font-stretch: 108%;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-lines a:hover { color: var(--sky); }

.enquiry {
  --focus: var(--cobalt);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-panel);
  background: var(--white);
  color: var(--ink);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.925rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #C5CFDD;
  border-radius: var(--r-control);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(31, 79, 209, 0.18);
}
.field [aria-invalid="true"] { border-color: #B42318; }

.form-error { margin: 0 0 14px; color: #B42318; font-size: 0.95rem; font-weight: 500; }
.form-note { margin-top: 14px; color: var(--slate); font-size: 0.875rem; line-height: 1.5; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile:not(:empty) { margin-bottom: 16px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.enquiry-sent { padding: 8px 0; }
.enquiry-sent:focus { outline: none; }
.enquiry-sent h3 { font-size: var(--t-lg); font-stretch: 110%; }
.enquiry-sent p { margin: 12px 0 24px; color: var(--slate); }
.enquiry-sent a { color: var(--ink); font-weight: 600; }

/* Footer */

.site-footer { background: #081226; color: var(--night-text); --focus: var(--sky); padding: 64px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-brand p { margin-top: 16px; max-width: 30em; font-size: 0.95rem; }
.footer-nav,
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact a { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.footer-base { margin-top: 48px; font-size: 0.875rem; }
.footer-base p { padding-top: 22px; border-top: 1px solid #1B2C4D; }
.site-footer .brand { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .sheet-row { grid-template-columns: 96px minmax(0, 1.3fr) minmax(0, 1fr); }
  .sheet-cta { grid-column: 2 / -1; justify-self: start; text-align: left; }
  .models { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .model {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 36px;
    align-items: start;
  }
  .model > * { grid-column: 2; }
  .model > .model-photo { grid-column: 1; grid-row: 1 / span 4; }
  .model-name { margin-top: 0; }
  .model-fit { min-height: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .steps li:nth-child(3)::after { display: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .solar-top,
  .system-grid,
  .services-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .energy { max-width: 620px; }
  .assurances { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .segments { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .services-photo { order: 2; }
}

@media (max-width: 640px) {
  .model { display: flex; align-items: stretch; }
  .model-name { margin-top: 20px; }
  .sheet-row { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 18px; align-items: start; }
  .sheet-uses,
  .sheet-cta { grid-column: 2 / -1; }

  .services { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .steps li { padding: 0 0 0 64px; min-height: 44px; }
  .steps li::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; }
  .steps li:nth-child(3)::after { display: block; }
  .steps li:last-child::after { display: none; }

  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .energy-readout { padding: 2px 16px 16px; }
  .readout-time, .readout-value { font-size: 1.4rem; }
  .readout-state { font-size: 0.85rem; }
  .solar-photos { padding-bottom: 48px; }
  .faq details p { padding-right: 0; }
}

/* 404 */
.not-found-title {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.8rem);
  font-stretch: 116%;
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

a[href^="tel:"] { white-space: nowrap; }
