/* Devon Aeroworks — site styles */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy-950: #08131F;
  --navy-900: #0C1C2E;
  --navy-800: #13283F;
  --navy-700: #1C3755;
  --navy-600: #2A4A6E;
  --sky: #74C3EE;
  --sky-strong: #4AAEE6;
  --blue: #2F6FB7;
  --mist: #EEF3F8;
  --paper: #FFFFFF;
  --line: #D6E0EA;
  --ink: #0E1B2A;
  --ink-soft: #46586C;
  --amber: #FFC247;
  --amber-deep: #E39A0B;
  --on-dark: #F2F6FA;
  --on-dark-soft: #A9BBCD;
  --danger: #C2410C;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Arial, sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--sky-strong); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-stretch: 112%; }
h4 { font-size: 1.1rem; font-stretch: 108%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--sky); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lede, .dark .lede { color: var(--on-dark-soft); }
.measure { max-width: 66ch; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sky); color: var(--navy-950); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--sky); color: var(--navy-950); }
.btn--primary:hover { background: #9AD5F4; color: var(--navy-950); }
.btn--navy { background: var(--navy-800); color: var(--on-dark); }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(242,246,250,.45); color: var(--on-dark); background: rgba(8,19,31,.25); }
.btn--ghost:hover { border-color: var(--on-dark); color: #fff; }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: .95; font-family: var(--display); font-stretch: 112%; font-weight: 800; }
.logo__word span:first-child { font-size: 1.05rem; letter-spacing: .02em; }
.logo__word span:last-child { font-size: 1.05rem; letter-spacing: .02em; color: var(--sky); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
  transition: background-color .25s, box-shadow .25s;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--wrap) + 80px); margin: 0 auto;
  padding: 22px calc(var(--gutter) + 12px);
}
.site-header.is-solid { background: rgba(12,28,46,.97); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.is-solid .site-header__inner { padding-top: 12px; padding-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"] { background: rgba(116,195,238,.16); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--on-dark); text-decoration: none; font-weight: 600; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.header-phone:hover { color: var(--sky); }
.header-phone svg { width: 18px; height: 18px; }
.header-actions .btn { min-height: 44px; padding: 10px 20px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(8,19,31,.35); color: #fff; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1040px) {
  .header-phone span { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 96px var(--gutter) 40px;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav a { font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 1.8rem; padding: 12px 8px; border-radius: var(--r-sm); }
  .nav .btn { margin-top: 20px; font-family: var(--body); font-size: 1.05rem; padding: 14px 26px; border-radius: 999px; }
  .nav a.btn--primary, .nav a.btn--primary:hover { color: var(--navy-950); background: var(--sky); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero-frame { padding: 12px; background: var(--paper); }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  min-height: min(920px, 94vh);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  background: var(--navy-900);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media--flip img { transform: scaleX(-1); object-position: 40% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,19,31,.92) 0%, rgba(8,19,31,.72) 38%, rgba(8,19,31,.15) 70%),
    linear-gradient(0deg, rgba(8,19,31,.75) 0%, rgba(8,19,31,0) 45%);
}
.hero__inner {
  width: 100%; max-width: calc(var(--wrap) + 80px); margin: 0 auto;
  padding: 150px calc(var(--gutter) + 12px) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end;
}
.hero h1 { max-width: 13ch; margin-bottom: 24px; }
.hero__text { max-width: 54ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #D3DEE9; margin-bottom: 32px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 36px 0 0; padding: 0; list-style: none;
  font-size: .95rem; color: var(--on-dark-soft);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--sky); flex: none; }

/* Telemetry card in the hero */
.readout {
  justify-self: end; width: min(100%, 360px);
  background: rgba(12,28,46,.72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 22px;
  font-size: .92rem;
}
@supports (backdrop-filter: blur(8px)) {
  .readout { background: rgba(12,28,46,.5); backdrop-filter: blur(14px) saturate(1.2); }
}
.readout__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.readout__title { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.05rem; }
.readout__tag { font-size: .78rem; color: var(--on-dark-soft); border: 1px solid rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; }
.readout dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.readout dt { color: var(--on-dark-soft); }
.readout dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.readout dd.up { color: var(--sky); }
.readout dd.hot { color: var(--amber); }
.readout__bar { margin-top: 16px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; display: flex; }
.readout__bar span { display: block; height: 100%; }
.readout__note { margin: 10px 0 0; font-size: .78rem; color: var(--on-dark-soft); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 120px; }
  .readout { justify-self: start; }
  .hero::before {
    background: linear-gradient(0deg, rgba(8,19,31,.95) 0%, rgba(8,19,31,.75) 55%, rgba(8,19,31,.35) 100%);
  }
}
@media (max-width: 560px) {
  .hero-frame { padding: 0; }
  .hero { border-radius: 0; }
}

/* Inner page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg);
  color: var(--on-dark); background: var(--navy-900);
  min-height: 520px; display: flex; align-items: flex-end;
}
.page-hero .hero__media img { object-position: 50% 45%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,19,31,.92) 0%, rgba(8,19,31,.6) 55%, rgba(8,19,31,.2) 100%);
}
.page-hero__inner {
  width: 100%; max-width: calc(var(--wrap) + 80px); margin: 0 auto;
  padding: 140px calc(var(--gutter) + 12px) clamp(40px, 5vw, 64px);
}
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 16ch; }
.page-hero p { max-width: 58ch; color: #D3DEE9; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.page-hero--plain { min-height: 380px; }
.page-hero--plain::before { background: radial-gradient(120% 140% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 60%); }
@media (max-width: 560px) { .page-hero { border-radius: 0; min-height: 460px; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.service-lead {
  grid-column: span 7; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); color: var(--on-dark); background: var(--navy-900);
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3.5vw, 40px);
}
.service-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.service-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,19,31,.95) 10%, rgba(8,19,31,.3) 65%, rgba(8,19,31,.1)); }
.service-lead h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 18ch; }
.service-lead p { color: #D3DEE9; max-width: 48ch; }
.service-list {
  grid-column: span 5; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-900); color: var(--on-dark);
}
.service-list li + li { border-top: 1px solid rgba(255,255,255,.09); }
.service-list a {
  display: grid; grid-template-columns: 52px 1fr 20px; gap: 18px; align-items: center;
  padding: 24px clamp(20px, 2.5vw, 30px); color: inherit; text-decoration: none; height: 100%;
}
.service-list a:hover { background: var(--navy-800); color: #fff; }
.service-list img { width: 52px; height: 52px; }
.service-list h3 { margin: 0 0 4px; font-size: 1.2rem; }
.service-list p { margin: 0; font-size: .95rem; color: var(--on-dark-soft); }
.service-list .chev { width: 20px; height: 20px; color: var(--sky); }
@media (max-width: 960px) {
  .service-lead, .service-list { grid-column: 1 / -1; }
  .service-lead { min-height: 440px; }
}

/* ---------- Generic splits & lists ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--r-lg); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }
.section--dark .ticks svg, .dark .ticks svg { color: var(--sky); }
.crosses svg { color: var(--danger); }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-family: var(--display); font-stretch: 110%; font-size: 1.02rem; background: var(--mist); }
.compare thead th.us { background: var(--navy-800); color: var(--on-dark); }
.compare td.us { background: #F4F9FD; font-weight: 600; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 500; }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 8px; }
.yes svg, .no svg, .part svg { width: 20px; height: 20px; flex: none; }
.yes svg { color: #1F8A5B; }
.no svg { color: var(--danger); }
.part svg { color: var(--amber-deep); }

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1);
}
.calc__inputs { padding: clamp(24px, 4vw, 48px); background: var(--navy-800); }
.calc__result {
  padding: clamp(24px, 4vw, 48px); background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.field { margin-bottom: 26px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label, fieldset > legend {
  display: block; font-weight: 600; margin-bottom: 10px; padding: 0;
}
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__value { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.15rem; color: var(--sky); font-variant-numeric: tabular-nums; }
.field__hint { font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }
.dark .field__hint, .section--dark .field__hint { color: var(--on-dark-soft); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sky) var(--fill, 50%), rgba(255,255,255,.18) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--sky); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: block; text-align: center; cursor: pointer;
  padding: 12px 8px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2);
  font-size: .92rem; line-height: 1.3;
}
.segmented label small { display: block; color: var(--on-dark-soft); font-size: .78rem; margin-top: 2px; }
.segmented input:checked + label { background: var(--sky); border-color: var(--sky); color: var(--navy-950); }
.segmented input:checked + label small { color: var(--navy-800); }
.segmented input:focus-visible + label { outline: 3px solid var(--sky-strong); outline-offset: 2px; }

.calc__big { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; margin: 6px 0 10px; }
.calc__label { color: var(--on-dark-soft); margin: 0; }
.calc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.calc__stats div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; }
.calc__stats dt { font-size: .88rem; color: var(--on-dark-soft); }
.calc__stats dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.calc__small { font-size: .82rem; color: var(--on-dark-soft); margin: 0; }
.calc .text-input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Before / after slider ---------- */
.reveal { margin: 0; }
.reveal__frame {
  --pos: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--navy-800);
  aspect-ratio: 1600 / 888;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.reveal__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reveal__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.reveal__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 12px rgba(8,19,31,.45); pointer-events: none;
}
.reveal__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: #fff; color: var(--navy-800);
  display: grid; place-items: center; box-shadow: 0 4px 18px rgba(8,19,31,.35);
}
.reveal__knob svg { width: 30px; height: 30px; }
.reveal__tag {
  position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; pointer-events: none;
}
.reveal__tag--before { left: 16px; background: rgba(8,19,31,.8); color: #fff; }
.reveal__tag--after { right: 16px; background: var(--sky); color: var(--navy-950); }
.reveal__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.reveal__frame:has(.reveal__range:focus-visible) { outline: 3px solid var(--sky-strong); outline-offset: 4px; }
.reveal figcaption { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.reveal-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.reveal-intro .section-head { margin-bottom: 0; }
@media (max-width: 760px) {
  .reveal-intro { grid-template-columns: 1fr; }
  .reveal__frame { aspect-ratio: 4 / 3; }
  .reveal__knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}

/* ---------- Photo rows (inspections) ---------- */
.photo-row { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.photo-row--2 { grid-template-columns: 1.4fr 1fr; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }
.photo-row--2 img { aspect-ratio: 16 / 9; }
.photo-row figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 900px) { .photo-row { grid-column: 1 / -1; } }
@media (max-width: 620px) { .photo-row, .photo-row--2 { grid-template-columns: 1fr; } }

.thermal-shot { margin: 28px 0 0; }
.thermal-shot img { width: 100%; border-radius: var(--r-md); }
.thermal-shot figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Hot spot diagram ---------- */
.hotspot-figure { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hotspot-figure figure { margin: 0; }
.hotspot-figure svg { width: 100%; height: auto; border-radius: var(--r-md); }
.hotspot-figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.section--dark .hotspot-figure figcaption { color: var(--on-dark-soft); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.package {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); background: var(--paper);
}
.package h3 { margin-bottom: 6px; }
.package__price { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.6rem; margin: 6px 0 4px; }
.package__price small { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.package > p:not(.package__price) { color: var(--ink-soft); }
.package .ticks { margin-top: 8px; flex: 1; align-content: start; }
.package--featured { background: var(--navy-900); color: var(--on-dark); border-color: var(--navy-900); }
.package--featured > p:not(.package__price), .package--featured .package__price small { color: var(--on-dark-soft); }
.package--featured .ticks svg { color: var(--sky); }
.package__flag { align-self: flex-start; background: var(--amber); color: var(--navy-950); font-weight: 600; font-size: .82rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; } }
.insurer-note {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 24px;
  border: 1px solid var(--line); border-left: 4px solid var(--sky-strong); border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 28px); background: var(--paper);
}
.insurer-note > svg { width: 32px; height: 32px; flex: none; color: var(--sky-strong); }
.insurer-note h3 { margin: 0 0 6px; }
.insurer-note p { margin: 0; color: var(--ink-soft); max-width: 75ch; }

/* ---------- Warranty ---------- */
.warranty { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.warranty__list { display: grid; gap: 12px; }
.warranty__item { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.warranty__item > div { padding: 16px 18px; font-size: .96rem; }
.warranty__item .risk { background: #FFF6EF; }
.warranty__item strong { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 4px; }
.warranty__item .risk strong { color: var(--danger); }
.warranty__item .ours strong { color: var(--blue); }
@media (max-width: 860px) { .warranty { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .warranty__item { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 24px 0 0; border-top: 2px solid var(--line); position: relative; }
.steps li::before {
  content: counter(step); position: absolute; top: -18px; left: 0;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: .95rem;
}
.steps h3 { font-size: 1.15rem; margin-top: 12px; }
.steps p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 24px 32px; }
  .steps li::before { left: -18px; top: 0; }
  .steps h3 { margin-top: 4px; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--navy-800); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(8,19,31,.78); color: #fff; font-size: .85rem;
}
.gallery .g1 { grid-column: span 4; grid-row: span 2; }
.gallery .g2 { grid-column: span 2; grid-row: span 2; }
.gallery .g3, .gallery .g4, .gallery .g5 { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery .g1 { grid-column: span 2; }
  .gallery .g2 { grid-column: span 1; grid-row: span 2; }
  .gallery .g3, .gallery .g4, .gallery .g5 { grid-column: span 1; }
  .gallery .g5 { grid-column: span 2; }
}

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.area__map { background: var(--navy-900); border-radius: var(--r-lg); padding: 20px; }
.area__map svg { width: 100%; height: auto; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.5em; }
.towns li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .94rem; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.partner {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-top: 4px solid var(--sky-strong); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); background: var(--paper);
}
.partner h3 { margin: 0 0 8px; }
.partner p { color: var(--ink-soft); flex: 1; }
.partner__link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; }
.partner__link svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }
.footer-partners { margin-top: 14px; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display); font-stretch: 106%; font-weight: 600; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313283F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { padding-bottom: 8px; }
.faq .faq__body { padding: 0 24px 20px; color: var(--ink-soft); max-width: 72ch; }
.faq .faq__body p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-lg); overflow: hidden; position: relative; isolation: isolate;
  color: var(--on-dark); background: var(--navy-900);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px);
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,31,.95) 20%, rgba(8,19,31,.55)); }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 52ch; color: #D3DEE9; }

/* ---------- Info cards (inspections) ---------- */
.inspection { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.inspection:first-of-type { border-top: 0; }
.inspection__icon { width: 88px; height: 88px; border-radius: 22px; background: var(--navy-900); display: grid; place-items: center; }
.inspection__icon img { width: 52px; height: 52px; }
.inspection h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.inspection h3 { font-size: 1.05rem; margin-bottom: 12px; }
.inspection .ticks { font-size: .98rem; }
@media (max-width: 900px) { .inspection { grid-template-columns: 1fr; } }

/* ---------- Stats / proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof div { border-left: 2px solid var(--sky); padding-left: 18px; }
.proof strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: 1.15rem; margin-bottom: 4px; }
.proof span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .proof { grid-template-columns: 1fr; } }

.freq { width: 100%; border-collapse: collapse; font-size: .98rem; }
.freq th, .freq td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.freq thead th { font-family: var(--display); font-stretch: 108%; }

/* ---------- Quote form ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; counter-reset: qstep; }
.progress li { flex: 1; counter-increment: qstep; font-size: .88rem; color: var(--ink-soft); }
.progress li::before { content: ""; display: block; height: 4px; border-radius: 99px; background: var(--line); margin-bottom: 8px; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--blue); }
.progress li.is-current { color: var(--ink); font-weight: 600; }
.step[hidden] { display: none; }
.step h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.text-input, select.text-input, textarea.text-input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid #B8C6D4; border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
textarea.text-input { min-height: 120px; resize: vertical; }
.text-input:focus { outline: 3px solid rgba(74,174,230,.45); outline-offset: 0; border-color: var(--blue); }
.text-input[aria-invalid="true"] { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.error-msg:empty { display: none; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choices--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice label {
  display: flex; flex-direction: column; gap: 2px; height: 100%; cursor: pointer;
  padding: 14px 16px; border: 1px solid #B8C6D4; border-radius: var(--r-sm); background: #fff;
  font-weight: 500; line-height: 1.35;
}
.choice label small { font-weight: 400; color: var(--ink-soft); font-size: .86rem; }
.choice label:hover { border-color: var(--blue); }
.choice input:checked + label { border-color: var(--blue); background: #EAF4FC; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + label { outline: 3px solid var(--sky-strong); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice label { border-color: var(--danger); }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.form-nav .btn:only-child { margin-left: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.estimate { position: sticky; top: 100px; background: var(--navy-900); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.estimate h2 { font-size: 1.35rem; margin-bottom: 4px; }
.estimate .estimate__figure { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; margin: 14px 0 8px; color: var(--sky); font-variant-numeric: tabular-nums; }
.estimate .estimate__figure.is-muted { font-size: 1.3rem; font-stretch: 108%; color: var(--on-dark); line-height: 1.3; }
.estimate p { color: var(--on-dark-soft); font-size: .93rem; }
.estimate ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: .92rem; display: grid; gap: 6px; }
.estimate li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 8px; }
.estimate li span:first-child { color: var(--on-dark-soft); }
.estimate__contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.estimate__contact a { color: var(--sky); font-weight: 600; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } .estimate { position: static; } }

.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-sm); }
.form-status:empty { display: none; }
.form-status.is-error { background: #FFF1EA; color: #8A2E07; }
.success { text-align: left; }
.success h2 { color: var(--navy-800); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 72px 0 32px; margin-top: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1rem; font-stretch: 108%; color: var(--on-dark); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer .logo { color: var(--on-dark); margin-bottom: 18px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__text, .hero .btn-row, .hero__facts { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text { animation-delay: .08s; }
  .hero .btn-row { animation-delay: .16s; }
  .hero__facts { animation-delay: .24s; }
  .readout { animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
