/* ==========================================================================
   EverCool Air HVAC Services — styles.css
   Design direction: "Thermal Contrast" — midnight navy authority, icy blue /
   cyan cooling accents, controlled orange heat accents for key actions.
   Mobile-first. All motion respects prefers-reduced-motion.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted variable WOFF2, latin subset) ---------- */
@font-face {
  font-family: "Saira";
  src: url("assets/fonts/saira-latin-var.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* Brand colors */
  --navy-950: #061226;
  --navy-900: #0B1D39;
  --navy-800: #11284B;
  --navy-700: #1B3A66;
  --slate-600: #3D5475;
  --slate-500: #4A5F80;
  --ice-600: #1A5FD0;
  --ice-500: #2E8BFF;
  --ice-100: #DCEBFF;
  --ice-50: #EEF6FF;
  --cyan-400: #19D3DA;
  --cyan-300: #7FE3E8;
  --teal-700: #0A6B73;
  --teal-50: #E6F8F9;
  --orange-700: #B8430A;
  --orange-500: #FF7A1A;
  --orange-400: #FF8A3D;
  --orange-50: #FFF4EC;
  --coral-500: #FF5E4D;
  --sun-400: #FFB21A;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-tint: #F3F8FE;
  --line: #DCE5F0;
  --line-strong: #6B7F9C;
  --text: #22375A;
  --text-muted: #4A5F80;
  --text-on-dark: #D8E4F2;
  --text-on-dark-muted: #A9BCD6;
  --error: #B42318;
  --error-bg: #FDECEC;
  --success: #0F5B3A;
  --success-bg: #E6F6EE;
  --focus: #1A5FD0;

  /* Gradients */
  --grad-thermal: linear-gradient(90deg, #19D3DA 0%, #2E8BFF 42%, #FF7A1A 78%, #FF5E4D 100%);
  --grad-heat: linear-gradient(135deg, #FFB21A 0%, #FF7A1A 52%, #FF6A3D 100%);
  --grad-cool-tile: linear-gradient(135deg, #E6F8F9 0%, #DCEBFF 100%);
  --grad-warm-tile: linear-gradient(135deg, #FFF4EC 0%, #FFE2CF 100%);

  /* Typography */
  --font-display: "Saira", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  --fs-h1: clamp(2.35rem, 1.5rem + 4.2vw, 4.25rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.3vw, 2.9rem);
  --fs-h3: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: clamp(4rem, 3rem + 5vw, 7rem);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 29, 57, 0.05), 0 2px 8px rgba(11, 29, 57, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 29, 57, 0.09);
  --shadow-lg: 0 22px 60px rgba(11, 29, 57, 0.16);
  --shadow-warm: 0 10px 26px rgba(255, 122, 26, 0.32);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 68px;
}

@media (min-width: 1180px) {
  :root { --header-h: 84px; }
}

/* ---------- 3. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
figure { margin: 0; }

a { color: var(--ice-600); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

/* Every anchor target clears the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

main:focus { outline: none; }

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

.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;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 2000;
  padding: var(--space-3) var(--space-4);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary {
  background: var(--grad-heat);
  color: var(--navy-950);
  box-shadow: var(--shadow-warm);
}
.btn--primary:hover { box-shadow: 0 14px 32px rgba(255, 122, 26, 0.42); }

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn--lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn--xl { min-height: 64px; padding: 1rem 2rem; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn__sub { font-weight: 600; opacity: 0.9; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--ice-600);
  text-decoration: none;
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: var(--cyan-300); }

.chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  background: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chip-link:hover { background: var(--ice-50); border-color: var(--ice-100); }
.chip-link--warm { background: var(--grad-heat); border-color: transparent; color: var(--navy-950); }
.chip-link--warm:hover { background: var(--grad-heat); filter: brightness(1.05); }

.link-light { color: var(--cyan-300); font-weight: 600; }

/* ---------- 5. Shared components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-thermal);
}
.eyebrow--light { color: var(--cyan-300); }

.section { padding-block: var(--section-pad); }
.section--tint {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(25, 211, 218, 0.07), transparent 60%),
    var(--bg-tint);
}
.section__head { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head--left .eyebrow { justify-content: flex-start; }
/* Split head: intro text beside a photo */
.section__head--split { max-width: none; display: grid; gap: var(--space-6); align-items: center; text-align: left; }
.section__head--split .eyebrow { justify-content: flex-start; }
.section__head-media picture { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.section__head-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 1024px) {
  .section__head--split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .section__head--split .section__head-media { order: -1; }
}
.section__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.01em; }
.section__title--light { color: var(--white); }
.section__intro { font-size: var(--fs-lead); color: var(--text-muted); }

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-cool-tile);
  color: var(--teal-700);
  flex-shrink: 0;
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--warm { background: var(--grad-warm-tile); color: var(--orange-700); }
.icon-tile--sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-tile--sm .icon { width: 21px; height: 21px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  margin-bottom: var(--space-5);
  border: 1px solid rgba(127, 227, 232, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(25, 211, 218, 0.1);
  color: var(--cyan-300);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3BE58B;
  box-shadow: 0 0 0 3px rgba(59, 229, 139, 0.2);
}
@media (prefers-reduced-motion: no-preference) {
  .status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #3BE58B;
    animation: dot-pulse 2.4s ease-out infinite;
  }
}
@keyframes dot-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

.card-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) {
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1140px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.notice {
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
  background: var(--orange-50);
  color: var(--navy-900);
}
.notice--cool { border-left-color: var(--teal-700); background: var(--teal-50); }

.thermal-rule { height: 4px; background: var(--grad-thermal); }

.text-thermal {
  color: var(--cyan-300);
  background: linear-gradient(90deg, var(--cyan-300) 0%, #9CC8FF 45%, var(--sun-400) 75%, var(--orange-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(11, 29, 57, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; border-radius: var(--radius-sm); }
.brand__logo {
  width: auto;
  height: 42px;
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.site-header.is-scrolled .brand__logo { transform: scale(0.88); }

.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.header__call { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.header__call-full { display: none; }
@media (min-width: 480px) {
  .header__call-full { display: inline; }
  .header__call-short { display: none; }
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.nav__list { list-style: none; }
.nav__link {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
}
.nav__link:hover { color: var(--teal-700); }

/* Mobile / tablet navigation (below 1180px) */
@media (max-width: 1179.98px) {
  .js .nav-toggle { display: grid; }

  .js .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--space-3) var(--gutter) var(--space-6);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 29, 57, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .js .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  .js .nav__link {
    min-height: 54px;
    padding: 0.25rem 0.25rem;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .js .nav__call { width: 100%; margin-top: var(--space-5); min-height: 56px; }

  /* Without JavaScript: a simple scrollable link row under the header */
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .header__inner { flex-wrap: wrap; height: auto; padding-block: var(--space-3); }
  html:not(.js) .primary-nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .nav__list { display: flex; gap: var(--space-4); white-space: nowrap; padding-bottom: var(--space-2); }
  html:not(.js) .nav__link { min-height: 44px; }
  html:not(.js) .nav__call { display: none; }
  html:not(.js) .hero { padding-top: var(--space-7); }
}

/* Desktop navigation */
@media (min-width: 1180px) {
  .primary-nav { display: flex; align-items: center; margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: 0.15rem; }
  .nav__link {
    position: relative;
    min-height: 44px;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.98rem;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-thermal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__call { display: none; }
  .brand__logo { height: 52px; }
  .header__call { min-height: 48px; padding: 0.65rem 1.2rem; font-size: 1rem; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.25rem, 1.5rem + 3vw, 4.5rem)) 0 clamp(6rem, 5rem + 4vw, 8.5rem);
  color: var(--text-on-dark);
  background:
    radial-gradient(700px 480px at 8% 12%, rgba(25, 211, 218, 0.18), transparent 60%),
    radial-gradient(640px 520px at 95% 95%, rgba(255, 122, 26, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 70%);
  --focus: var(--cyan-400);
}
.hero::before {
  /* subtle technical grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 4rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: var(--space-5);
}
.hero__lead {
  max-width: 36rem;
  font-size: var(--fs-lead);
  color: var(--text-on-dark);
}
.hero__lead strong { color: var(--white); }

.hero__points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: var(--space-5) 0 var(--space-6);
}
.hero__points li { display: flex; align-items: center; gap: 0.65rem; color: var(--text-on-dark); }
.hero__points .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(25, 211, 218, 0.16);
  color: var(--cyan-300);
  stroke-width: 3;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-5); }
.hero__actions .btn { flex: 1 1 100%; }
@media (min-width: 520px) {
  .hero__actions .btn { flex: 0 1 auto; }
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  isolation: isolate;
}
.hero__media::before {
  /* thermal glow frame */
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--grad-thermal);
  opacity: 0.85;
}
.hero__media picture { border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-800); }
.hero__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 60%;
}
@media (min-width: 1024px) {
  .hero__img { aspect-ratio: 5 / 4.4; }
}

.hero__readout {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 38, 0.78);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@supports (backdrop-filter: blur(1px)) {
  .hero__readout { background: rgba(6, 18, 38, 0.6); backdrop-filter: blur(10px); }
}
.readout__row { display: inline-flex; align-items: center; gap: 0.4rem; }
.readout__divider { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.25); }
.icon--cool { color: var(--cyan-300); }
.icon--heat { color: var(--orange-400); }

/* ---------- 8. Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -3rem - 2vw, -3.5rem); }
.trust__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); padding: var(--space-5); }
}
@media (min-width: 1024px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
}
.trust__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2); }
.trust__text { display: grid; line-height: 1.35; }
.trust__text strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--navy-900); }
.trust__text span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Why choose us: cards beside a photo ---------- */
.why__layout { display: grid; gap: var(--space-6); }
.why__media picture { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.why__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 1024px) {
  .why__layout { grid-template-columns: 7fr 5fr; align-items: start; }
  .why__media { order: 2; position: sticky; top: calc(var(--header-h) + 2rem); }
  .why__media img { aspect-ratio: 1 / 1; }
}
/* ---------- 9. About ---------- */
.about__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; }
}
.about__media { position: relative; padding: 0 13% 13% 0; }
.about__main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 82% 50%; max-height: 640px; }
.about__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.about__inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 40% 50%; }
@media (max-width: 899.98px) {
  .about__main img { aspect-ratio: 4 / 3.4; object-position: 50% 30%; }
}
.about__badge {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.about__badge .icon { width: 28px; height: 28px; color: var(--orange-400); }
.about__badge strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--white); }

.fact-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
@media (min-width: 640px) {
  .fact-list { grid-template-columns: repeat(3, 1fr); }
}
.fact {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-4) + 3px) var(--space-4) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.fact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-thermal);
}
.fact dt {
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fact dd { margin: 0; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.fact dd a { color: var(--navy-900); font-weight: 700; }

/* ---------- 10. Feature & service cards ---------- */
.feature-card,
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover,
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ice-100); }
.feature-card h3,
.service-card h3 { margin: var(--space-2) 0 0; }
.feature-card p,
.service-card p { color: var(--text-muted); margin: 0; }

.service-card { overflow: hidden; }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-thermal);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }
.service-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
}

.service-card--urgent {
  background:
    radial-gradient(260px 200px at 100% 0%, rgba(255, 122, 26, 0.28), transparent 70%),
    var(--navy-900);
  border-color: var(--navy-900);
  --focus: var(--cyan-400);
}
.service-card--urgent h3 { color: var(--white); }
.service-card--urgent p { color: var(--text-on-dark); }
.service-card--urgent .text-link { color: var(--cyan-300); }
.service-card--urgent:hover { border-color: var(--navy-700); }

/* ---------- 11. Detailed service content ---------- */
.details { display: grid; gap: var(--space-5); }
@media (min-width: 900px) {
  .details { grid-template-columns: repeat(2, 1fr); }
  .detail--feature { grid-column: 1 / -1; }
}
.detail {
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.detail h3 { font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: var(--space-3); }
.detail p { color: var(--text); }
.detail--feature { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 1024px) {
  .detail--feature { grid-template-columns: 1.15fr 0.85fr; }
  .detail--feature.detail--warm .detail__media { order: -1; }
  .detail--feature.detail--warm { grid-template-columns: 0.85fr 1.15fr; }
}
.detail__media picture { border-radius: var(--radius-lg); overflow: hidden; }
.detail__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail__media--ac img { object-position: 50% 30%; }
.detail__media--heat img { object-position: 50% 25%; }
@media (min-width: 1024px) {
  .detail__media img { aspect-ratio: 4 / 4.2; }
}

.detail__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-3);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--teal-50);
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.detail__tag .icon { width: 1.05em; height: 1.05em; }
.detail__tag--warm { background: var(--orange-50); color: var(--orange-700); }

.detail__related {
  padding-top: var(--space-4);
  border-top: 1px dashed var(--line);
  font-size: 0.98rem;
  color: var(--text-muted) !important;
}
.detail__related a { font-weight: 600; }
.detail__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.detail--urgent { border-left: 5px solid var(--orange-500); }

.check-list { list-style: none; display: grid; gap: 0.5rem; margin: 0 0 var(--space-4); }
@media (min-width: 640px) {
  .check-list { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-5); }
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6B73' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.check-list--warm li::before {
  background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8430A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ---------- 12. Emergency CTA ---------- */
.emergency {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  color: var(--text-on-dark);
  background:
    radial-gradient(520px 320px at 0% 100%, rgba(25, 211, 218, 0.2), transparent 65%),
    radial-gradient(620px 360px at 100% 0%, rgba(255, 122, 26, 0.3), transparent 65%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 60%, #1a2447 100%);
  --focus: var(--cyan-400);
}
.emergency::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--grad-thermal);
}
.emergency__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 1024px) {
  .emergency__inner { grid-template-columns: 7fr 5fr; gap: var(--space-8); }
  .emergency__media { order: 2; }
}
.emergency__media { position: relative; }
.emergency__media picture { border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.emergency__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 1024px) {
  .emergency__media img { aspect-ratio: 4 / 3; }
}
.emergency__icon {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-heat);
  color: var(--navy-950);
  box-shadow: var(--shadow-warm);
}
.emergency__icon .icon { width: 34px; height: 34px; }
@media (prefers-reduced-motion: no-preference) {
  .emergency__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(255, 138, 61, 0.6);
    border-radius: 50%;
    animation: ring 2.8s ease-out infinite;
  }
}
@keyframes ring {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.emergency__title {
  font-size: clamp(1.8rem, 1.25rem + 2.3vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.emergency__content p { max-width: 40rem; }
.status-pill--dark { margin-bottom: var(--space-4); }
.emergency__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.emergency__actions .btn { flex: 1 1 100%; }
@media (min-width: 520px) {
  .emergency__actions .btn { flex: 0 1 auto; }
}

/* ---------- 13. Service area & map ---------- */
.area__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
@media (min-width: 1024px) {
  .area__grid { grid-template-columns: 5fr 7fr; align-items: center; }
}
.area__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: var(--space-5) 0;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .area__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.area__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.25;
}
.area__list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(25, 211, 218, 0.22);
}
.area__list li:first-child::before { background: var(--orange-500); box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.22); }
.area__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.map-frame {
  position: relative;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(rgba(26, 95, 208, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(26, 95, 208, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--ice-50);
}
@media (min-width: 1024px) {
  .map-frame { aspect-ratio: 5 / 4.3; }
}
.map { position: absolute; inset: 0; z-index: 1; }
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6);
  text-align: center;
  color: var(--navy-900);
}
.map-fallback__icon { width: 44px; height: 44px; color: var(--orange-700); margin-bottom: var(--space-2); }
.map-fallback__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 0; }
.map-fallback__address { font-weight: 600; }
.map-fallback__status { max-width: 26rem; color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.map-fallback__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-top: var(--space-2); }
.map-fallback__links a { font-weight: 700; }
.map-frame.is-loaded .map-fallback { display: none; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.map-legend__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend-swatch { display: inline-block; flex-shrink: 0; }
.legend-swatch--pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange-500); border: 2px solid var(--navy-900); }
.legend-swatch--town { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-400); border: 2px solid var(--navy-900); }
.legend-swatch--area { width: 22px; height: 14px; border-radius: 4px; background: rgba(46, 139, 255, 0.14); border: 2px dashed var(--ice-600); }

/* Leaflet customizations (specificity raised so they win over lazily loaded leaflet.css) */
.map .leaflet-container,
.map.leaflet-container { font-family: var(--font-body); background: var(--ice-50); }
.map .map-pin {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--grad-heat);
  border: 3px solid var(--navy-900);
  box-shadow: 0 6px 14px rgba(11, 29, 57, 0.35);
}
.map .map-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--navy-900);
}
.map .town-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan-400);
  border: 3px solid var(--navy-900);
  box-shadow: 0 2px 6px rgba(11, 29, 57, 0.3);
}
.map .leaflet-marker-icon:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.map .leaflet-popup-content { margin: 12px 16px; font-size: 0.95rem; line-height: 1.45; color: var(--navy-900); }
.map .leaflet-popup-content strong { font-family: var(--font-display); }
.map .leaflet-tooltip.area-label {
  background: var(--navy-900);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
}
.map .leaflet-tooltip.area-label::before { display: none; }
.map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--navy-900); }
.map .leaflet-control-attribution { font-size: 0.72rem; }

/* ---------- 14. FAQ ---------- */
.faq__layout { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .faq__layout { grid-template-columns: 4fr 8fr; gap: var(--space-8); align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq__media img { aspect-ratio: 4 / 3; }
}
.faq__layout .section__head { margin-bottom: var(--space-5); }
.faq__media picture { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.faq__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:has(.faq-item__btn[aria-expanded="true"]) { border-color: var(--ice-100); box-shadow: var(--shadow-md); }
.faq-item__q { margin: 0; font-size: inherit; }
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-height: 60px;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.faq-item__btn:hover { color: var(--teal-700); }
.faq-item__chev {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 50%;
  background: var(--ice-50);
  color: var(--ice-600);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq-item__btn[aria-expanded="true"] .faq-item__chev { transform: rotate(180deg); background: var(--grad-warm-tile); color: var(--orange-700); }
.faq-item__panel { padding: 0 1.25rem 1.25rem; color: var(--text); }
/* Collapsed panels use hidden="until-found" where supported (find-in-page still works) */
.faq-item__panel[hidden] { padding-block: 0; }
.faq-item__more { margin-top: var(--space-3); font-size: 0.95rem; }
.faq-item__more a { font-weight: 700; }

/* ---------- 15. Contact & form ---------- */
.contact {
  position: relative;
  color: var(--text-on-dark);
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(25, 211, 218, 0.16), transparent 60%),
    radial-gradient(600px 420px at 100% 100%, rgba(255, 122, 26, 0.16), transparent 60%),
    linear-gradient(170deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.contact__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 5fr 7fr; row-gap: var(--space-6); }
  .contact__info { grid-column: 1; grid-row: 1; }
  .contact__grid > .form-card { grid-column: 2; grid-row: 1 / span 2; }
  .contact__media { grid-column: 1; grid-row: 2; }
  .contact__media img { aspect-ratio: 4 / 3; }
}
.contact__media picture { border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.contact__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.contact__info { --focus: var(--cyan-400); }
.contact__lead { font-size: var(--fs-lead); margin-bottom: var(--space-6); }
.contact-card {
  padding: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}
.contact-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-4); }
.contact-card__list { list-style: none; display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-card__list li { display: flex; align-items: center; gap: var(--space-3); line-height: 1.35; }
.contact-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.contact-card__phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; }
.contact-card__phone:hover { color: var(--cyan-300); text-decoration: underline; }

.form-card {
  padding: clamp(1.4rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.form-card__title { font-size: 1.5rem; margin-bottom: var(--space-2); }
.form-card__note { color: var(--text-muted); font-size: 0.95rem; margin-bottom: var(--space-5); }

.lead-form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; align-items: start; }
}
.field__label { font-weight: 700; color: var(--navy-900); }
.field__input {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-900);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input--area { min-height: 132px; resize: vertical; line-height: 1.5; }
.field__input:hover { border-color: var(--navy-700); }
.field__input:focus { outline: none; border-color: var(--ice-600); box-shadow: 0 0 0 4px rgba(46, 139, 255, 0.28); }
.field__input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14); }
.field__hint { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.field__error { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }

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

.field--consent { margin-top: var(--space-2); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-tint);
}
.consent__box {
  width: 24px;
  height: 24px;
  margin: 0.1rem 0 0;
  flex-shrink: 0;
  accent-color: var(--teal-700);
  cursor: pointer;
}
.consent__label { font-size: 0.92rem; line-height: 1.55; color: var(--text); cursor: pointer; }
.consent:has(.consent__box[aria-invalid="true"]) { border-color: var(--error); }

.form-status { font-size: 0.98rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-tint);
  color: var(--navy-900);
}
.form-status.is-success { background: var(--success-bg); border-color: #9ED9BB; color: var(--success); }
.form-status.is-error { background: var(--error-bg); border-color: #F2B8B5; color: #8A1C12; }
.form-status.is-demo { background: var(--orange-50); border-color: #FFC9A3; color: var(--navy-900); }
.form-status a { font-weight: 700; color: inherit; }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  --focus: var(--cyan-400);
}
.footer__grid {
  display: grid;
  gap: var(--space-6);
  padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem) var(--space-6);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.5fr 1.1fr 0.8fr 1fr; }
}
.footer__logo {
  display: inline-block;
  padding: 0.7rem 1rem;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--white);
}
.footer__logo img { width: 200px; height: auto; }
.footer__brand p { max-width: 22rem; }
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer__list { list-style: none; display: grid; gap: 0.6rem; }
.footer__list li { display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.45; }
.footer__list .icon { width: 1.1em; height: 1.1em; margin-top: 0.15em; color: var(--cyan-300); }
.footer__list a { display: inline-flex; align-items: flex-start; gap: 0.6rem; color: var(--text-on-dark); text-decoration: none; }
.footer__list a:hover { color: var(--cyan-300); text-decoration: underline; }
.footer__list--links a { min-height: 28px; align-items: center; }
.footer__bottom {
  padding-block: var(--space-5) var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
}
.footer__copy { color: var(--text-on-dark); }
.footer__disclaimer { font-size: 0.82rem; line-height: 1.6; color: var(--text-on-dark-muted); max-width: 70rem; }

/* ---------- 17. Mobile floating call button ---------- */
.fab-call {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--grad-heat);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(6, 18, 38, 0.35), var(--shadow-warm);
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0s;
}
.fab-call .icon { width: 1.2em; height: 1.2em; }
.fab-call.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}
@media (max-width: 767.98px) {
  body { padding-bottom: 84px; }
}
@media (min-width: 768px) {
  .fab-call { display: none; }
}

/* ---------- 18. Scroll reveal (only when JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.reveal-pending { opacity: 0; transform: translateY(18px); }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .feature-card:hover, .service-card:hover { transform: none; }
}

/* ---------- 20. Forced colors / print ---------- */
@media (forced-colors: active) {
  .btn, .chip-link, .faq-item, .field__input { border: 2px solid CanvasText; }
  .text-thermal { -webkit-text-fill-color: currentColor; background: none; }
}
@media print {
  .site-header, .fab-call, .nav-toggle, .map-frame, .hero__media { display: none !important; }
  .hero, .emergency, .contact, .site-footer { background: none !important; color: #000 !important; }
  .faq-item__panel[hidden] { display: block !important; }
}
