/* ==========================================================================
   ProCore Climate HVAC Solutions — styles.css
   Mobile-first, custom-property driven. No framework.
   Sections:
     1. Fonts            6. Hero & benefits      11. Service area & map
     2. Tokens           7. About & why          12. FAQs
     3. Base             8. Services grid        13. Contact & form
     4. Utilities/btns   9. Service details      14. Footer & float call
     5. Header/nav      10. Emergency & process  15. Motion & media queries
   ========================================================================== */

/* 1. FONTS (self-hosted, latin subset; see assets/fonts) ------------------ */
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/saira-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/saira-condensed-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/saira-condensed-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

/* 2. DESIGN TOKENS ---------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy: #071a2b;
  --navy-2: #0b2540;
  --navy-3: #04111d;
  --blue: #087cf0;
  --blue-strong: #0667cf; /* AA on white for text & buttons */
  --blue-deep: #0558b0;
  --cyan: #18c8ff;
  --orange: #ff6b21;
  --orange-deep: #b8430b; /* AA on white for warm text */
  --amber: #ffb020;
  --off-white: #f7fafc;
  --cool-gray: #e8eef4;
  --charcoal: #17212b;
  --muted: #4a5866;
  --line: #d5dee8;
  --input-border: #7b8ea2; /* ≥3:1 against white */
  --error: #b42318;
  --success: #1e7b45;

  /* Gradients */
  --temp-gradient: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 38%, var(--amber) 72%, var(--orange) 100%);
  --cool-gradient: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --warm-gradient: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);

  /* Typography */
  --font-display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  --fs-h1: clamp(2.45rem, 1.55rem + 3.8vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 3.15rem);
  --fs-h3: clamp(1.3rem, 1.18rem + 0.5vw, 1.55rem);
  --fs-small: 0.9rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-pad: clamp(4rem, 3rem + 5vw, 7rem);
  --header-h: 68px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 43, 0.06), 0 2px 8px rgba(7, 26, 43, 0.05);
  --shadow: 0 10px 30px -12px rgba(7, 26, 43, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 26, 43, 0.35);
  --float-call-space: 0px;

  /* Patterns */
  --grid-light: linear-gradient(rgba(8, 124, 240, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 124, 240, 0.06) 1px, transparent 1px);
  --grid-dark: linear-gradient(rgba(24, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 200, 255, 0.06) 1px, transparent 1px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--charcoal);
  background: #fff;
  overflow-x: clip;
  padding-bottom: var(--float-call-space);
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.6em;
  color: var(--navy);
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.005em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.12;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-strong);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

main:focus {
  outline: none;
}

/* Offset in-page anchors for the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.hero :focus-visible,
.emergency :focus-visible,
.contact-info :focus-visible,
.site-footer :focus-visible,
.inline-cta :focus-visible,
.why-card--feature :focus-visible {
  outline-color: var(--cyan);
}

/* 4. UTILITIES & BUTTONS ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.section {
  padding-block: var(--section-pad);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  margin-inline: auto;
}

.section-intro {
  font-size: var(--fs-lead);
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-strong);
  margin-bottom: 0.9rem;
}

/* Temperature bar accent under eyebrows */
.eyebrow::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.55rem;
  border-radius: 4px;
  background: var(--temp-gradient);
}

.eyebrow--light {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b21 0%, #ff8a33 100%);
  color: var(--navy);
  box-shadow: 0 10px 22px -10px rgba(255, 107, 33, 0.75);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7a36 0%, #ffa040 100%);
  box-shadow: 0 14px 26px -10px rgba(255, 107, 33, 0.85);
}

.btn-secondary {
  background: var(--blue-strong);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(6, 103, 207, 0.8);
}

.btn-secondary:hover {
  background: var(--blue-deep);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 10px 22px -10px rgba(255, 176, 32, 0.7);
}

.btn-amber:hover {
  background: #ffc04d;
}

.btn-sm {
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0.95rem 1.6rem;
  font-size: 1.075rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.75rem;
}

.text-link,
.text-link-light {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link {
  color: var(--blue-strong);
  text-decoration-color: rgba(6, 103, 207, 0.35);
}

.text-link-light {
  color: var(--cyan);
  text-decoration-color: rgba(24, 200, 255, 0.45);
}

.text-link:hover,
.text-link-light:hover {
  text-decoration-color: currentColor;
}

/* 5. HEADER & NAVIGATION ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(7, 26, 43, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  margin-right: auto;
  border-radius: 8px;
}

.brand img {
  width: 150px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  order: 2;
}

.header-phone {
  display: none;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  padding: 0.25rem 0.35rem;
  border-radius: 8px;
}

.header-phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-strong);
}

.header-phone-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.header-phone:hover .header-phone-number {
  color: var(--blue-strong);
}

/* Compact icon-only Call button on very small screens (label kept for AT) */
.header-call {
  min-width: 44px;
}

.header-call span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-toggle {
  order: 3;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-list {
  list-style: none;
}

.nav-list a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--blue-strong);
}

/* Mobile/tablet panel (JS enhanced) */
.js .site-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: 0.5rem var(--gutter) 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgba(7, 26, 43, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.js .nav-open .site-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.js .site-nav .nav-list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--cool-gray);
}

.nav-mobile-cta {
  width: 100%;
  margin-top: 1.25rem;
}

/* No-JS fallback: links shown as a scrollable row under the logo */
.no-js .header-inner {
  flex-wrap: wrap;
}

.no-js .nav-toggle,
.no-js .nav-mobile-cta {
  display: none;
}

.no-js .site-nav {
  order: 4;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.6rem;
}

.no-js .site-nav .nav-list {
  display: flex;
  gap: 1.1rem;
  white-space: nowrap;
}

.no-js .site-nav .nav-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

/* 6. HERO & BENEFITS -------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(24, 200, 255, 0.22), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(255, 107, 33, 0.16), transparent 60%),
    var(--navy);
  padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem) clamp(5.5rem, 4.5rem + 4vw, 8rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-dark);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25));
}

.airflow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.airflow path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-opacity: 0.28;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 6 10;
}

.airflow path.warm {
  stroke: var(--amber);
  stroke-opacity: 0.2;
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border: 1px solid rgba(24, 200, 255, 0.4);
  border-radius: 999px;
  background: rgba(24, 200, 255, 0.1);
  color: #d4f3ff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.6;
}

.hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.h1-accent {
  color: var(--cyan);
}

.hero-lead {
  max-width: 60ch;
  font-size: var(--fs-lead);
  color: #c9d6e3;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.4rem;
  font-weight: 600;
  color: #e6eef6;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-points .icon {
  color: var(--cyan);
  stroke-width: 2.4;
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero-link {
  margin-top: 1.4rem;
}

.hero-media {
  position: relative;
}

.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--temp-gradient);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-card {
  position: relative;
  margin: -2.5rem 1rem 0;
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.9rem;
  align-items: center;
  background: #fff;
  color: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-card strong {
  color: var(--navy);
}

.temp-dial {
  grid-row: span 2;
  display: grid;
  gap: 2px;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(160deg, #e3f6fe 0%, #e3f6fe 50%, #fff0e4 50%, #fff0e4 100%);
}

.temp-dial .icon {
  width: 20px;
  height: 20px;
}

.temp-dial .icon:first-child {
  color: var(--blue-strong);
}

.temp-dial .icon:last-child {
  color: var(--orange-deep);
}

.hero-card-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--navy);
  text-decoration: none;
}

.hero-card-phone:hover {
  color: var(--blue-strong);
}

/* Benefit strip overlapping the hero */
.benefits {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(3rem, 2.5rem + 2vw, 4rem));
}

.benefit-list {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.benefit-list::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--temp-gradient);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--cool-gray);
}

.benefit:last-child {
  border-bottom: 0;
}

.benefit strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--navy);
}

.benefit-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e3f4fd;
  color: var(--blue-strong);
}

.benefit-icon--dual {
  background: linear-gradient(135deg, #e3f4fd 0%, #e3f4fd 50%, #fff0e4 50%, #fff0e4 100%);
  color: var(--orange-deep);
}

/* 7. ABOUT & WHY CHOOSE US -------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: center;
}

.about-media {
  position: relative;
  padding: 0 1rem 1rem 0;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 0 1.5rem;
  z-index: -1;
  border-radius: var(--radius-lg);
  background-image: var(--grid-light);
  background-size: 22px 22px;
  background-color: var(--off-white);
  border: 1px solid var(--cool-gray);
}

.about {
  position: relative;
  isolation: isolate;
}

.about-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-tag {
  position: absolute;
  left: 1rem;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.about-tag .icon:first-child {
  color: var(--cyan);
}

.about-tag .icon:last-child {
  color: var(--amber);
}

.about-copy p {
  color: #2d3a47;
}

.why {
  background-color: var(--off-white);
  background-image: var(--grid-light);
  background-size: 34px 34px;
  border-block: 1px solid var(--cool-gray);
}

.why-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.why-card {
  position: relative;
  padding: 1.75rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #bcd3ea;
}

.why-card h3 {
  margin-bottom: 0.45rem;
}

.why-card p {
  color: var(--muted);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: #e3f4fd;
  color: var(--blue-strong);
}

.why-icon .icon {
  width: 26px;
  height: 26px;
}

.why-icon--warm {
  background: #fff0e4;
  color: var(--orange-deep);
}

.why-card--feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(26rem 18rem at 100% 0%, rgba(24, 200, 255, 0.25), transparent 65%),
    var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.why-card--feature::before {
  content: "24/7";
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 3.5rem + 4vw, 7rem);
  line-height: 1;
  color: rgba(24, 200, 255, 0.12);
  pointer-events: none;
}

.why-card--feature h3 {
  color: #fff;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
}

.why-card--feature p {
  color: #c9d6e3;
}

.why-card--feature .why-icon {
  background: rgba(24, 200, 255, 0.14);
  color: var(--cyan);
}

.why-phone {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--amber);
  text-decoration: none;
}

.why-phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 8. SERVICES GRID ---------------------------------------------------------- */
.section-head--split {
  max-width: none;
  display: grid;
  gap: 0.5rem 3rem;
  align-items: end;
}

.section-head--split h2 {
  margin-bottom: 0;
}

.service-grid {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.45rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--cool-gradient);
}

.service-card--warm::before {
  background: var(--warm-gradient);
}

.service-card--alert::before {
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--cyan));
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card:focus-within {
  outline: 3px solid var(--blue-strong);
  outline-offset: 2px;
}

.service-card:focus-within .card-link:focus-visible {
  outline: none;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #e3f4fd;
  color: var(--blue-strong);
}

.service-icon .icon {
  width: 25px;
  height: 25px;
}

.service-card--warm .service-icon {
  background: #fff0e4;
  color: var(--orange-deep);
}

.service-card--alert .service-icon {
  background: var(--navy);
  color: var(--amber);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.service-desc {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 700;
  color: var(--blue-strong);
  text-decoration: none;
}

/* Make the whole card a large touch target */
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card-link .icon {
  transition: transform 0.2s ease;
}

.service-card:hover .card-link .icon {
  transform: translateX(4px);
}

.service-card--warm .card-link {
  color: var(--orange-deep);
}

/* 9. SERVICE DETAILS -------------------------------------------------------- */
.details {
  background: linear-gradient(180deg, var(--off-white) 0%, #eef3f8 100%);
  border-top: 1px solid var(--cool-gray);
}

.details-layout {
  display: grid;
  gap: 2rem;
}

.details-index {
  min-width: 0;
}

.details-index-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.details-index ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.details-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.details-index a .icon {
  color: var(--blue-strong);
}

.details-index a:hover {
  border-color: var(--blue-strong);
  color: var(--blue-strong);
}

.details-index-cta {
  display: none;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

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

.detail--alert {
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(255, 176, 32, 0.12), transparent 65%),
    #fff;
}

.detail-media {
  position: relative;
}

/* Cool/warm temperature accent along the bottom edge of each photo */
.detail-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: var(--cool-gradient);
}

.detail--warm .detail-media::after {
  background: var(--warm-gradient);
}

.detail--alert .detail-media::after {
  background: linear-gradient(90deg, var(--orange), var(--amber));
}

.detail-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.detail-body {
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
}

.detail-body p {
  color: #2d3a47;
}

.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-strong);
}

.detail--warm .detail-kicker,
.detail--alert .detail-kicker {
  color: var(--orange-deep);
}

.detail-note {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff7ea;
  font-size: 0.95rem;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  background:
    radial-gradient(20rem 10rem at 100% 50%, rgba(24, 200, 255, 0.18), transparent 70%),
    var(--navy);
  color: #fff;
}

.inline-cta--warm {
  background:
    radial-gradient(20rem 10rem at 100% 50%, rgba(255, 107, 33, 0.28), transparent 70%),
    var(--navy);
}

.inline-cta-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.25;
}

.inline-cta-text a {
  color: var(--cyan);
  white-space: nowrap;
}

/* 10. EMERGENCY CTA & PROCESS ---------------------------------------------- */
.emergency {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  color: #fff;
  background:
    linear-gradient(115deg, var(--navy) 0%, #1e1a24 48%, #8f3408 82%, #b8430b 100%);
}

.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-dark);
  background-size: 40px 40px;
}

.emergency-shapes .icon {
  position: absolute;
  z-index: -1;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  stroke-width: 0.9;
}

.shape-snow {
  left: -50px;
  bottom: -60px;
  color: rgba(24, 200, 255, 0.16);
}

.shape-flame {
  right: -40px;
  top: -50px;
  color: rgba(255, 176, 32, 0.22);
}

.emergency-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.emergency h2 {
  color: #fff;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
}

.emergency-copy p:not(.eyebrow) {
  max-width: 52ch;
  font-size: var(--fs-lead);
  color: #e3e9f0;
}

.emergency-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.8rem + 3.4vw, 4.4rem);
  line-height: 1;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.emergency-phone:hover {
  color: var(--amber);
}

.emergency .btn-row {
  margin-top: 1.25rem;
}

.process {
  background: #fff;
}

.steps {
  list-style: none;
  position: relative;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 1.75rem 1.6rem;
  background: var(--off-white);
  border: 1px solid var(--cool-gray);
  border-radius: var(--radius-lg);
}

.step-num {
  position: absolute;
  top: 0.75rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #b9c9da;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--cool-gray);
}

.step-icon .icon {
  width: 26px;
  height: 26px;
}

.step:nth-child(3) .step-icon {
  color: var(--amber);
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
}

/* 11. SERVICE AREA & MAP ---------------------------------------------------- */
.area {
  background-color: var(--cool-gray);
  background-image: var(--grid-light);
  background-size: 30px 30px;
}

.area-grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.area-copy > p {
  color: #2d3a47;
}

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 1.25rem;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
}

.area-chip--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.area-chip--primary .icon {
  color: var(--cyan);
  width: 1.1em;
  height: 1.1em;
}

.chip-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.area-note {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 0.9rem;
  border-left: 3px solid var(--blue);
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #dde6ef;
}

.map {
  height: clamp(320px, 55vw, 480px);
  background-color: #dde6ef;
  background-image: var(--grid-light);
  background-size: 26px 26px;
  z-index: 0;
}

.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
}

.map-legend {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 500;
  display: grid;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-swatch {
  display: inline-block;
  flex-shrink: 0;
}

.legend-swatch--pin {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--navy);
}

.legend-swatch--area {
  width: 16px;
  height: 12px;
  border-radius: 3px;
  background: rgba(8, 124, 240, 0.16);
  border: 2px dashed var(--blue-strong);
}

.map-caption {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #2d3a47;
}

.map-caption > .icon {
  margin-top: 0.2rem;
  color: var(--blue-strong);
}

.map-noscript {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Leaflet custom markers & tooltips */
.map-pin {
  display: grid;
  place-items: center;
}

.map-pin span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--orange);
  border: 3px solid var(--navy);
  box-shadow: 0 6px 14px -4px rgba(7, 26, 43, 0.6);
}

.leaflet-tooltip.map-tip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
}

.leaflet-container {
  font-family: var(--font-body);
}

.leaflet-container a.leaflet-popup-close-button {
  width: 32px;
  height: 32px;
  font-size: 22px;
}

/* 12. FAQS ------------------------------------------------------------------ */
.faqs {
  background: #fff;
}

.faq-layout {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.faq-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.faq-index {
  margin-top: 1.5rem;
}

.faq-index ul {
  list-style: none;
  display: grid;
  gap: 0.15rem;
  border-left: 2px solid var(--cool-gray);
}

.faq-index a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.3rem 0 0.3rem 0.9rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--blue-strong);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.faq-index a:hover {
  border-left-color: var(--cyan);
  color: var(--navy);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  margin: 0;
  font-size: inherit;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 56px;
  padding: 1.15rem 0.25rem;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.38rem);
  line-height: 1.2;
  color: var(--navy);
  cursor: pointer;
}

.faq-toggle .icon {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: #e3f4fd;
  color: var(--blue-strong);
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
  background: var(--navy);
  color: var(--cyan);
}

.faq-toggle:hover .faq-q-text {
  color: var(--blue-strong);
}

.no-js .faq-toggle {
  cursor: default;
}

.no-js .faq-toggle .icon {
  display: none;
}

.faq-a {
  padding: 0 0.25rem 1.35rem;
}

.faq-a p {
  max-width: 70ch;
  color: #2d3a47;
}

/* 13. CONTACT & FORM -------------------------------------------------------- */
.contact {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(50rem 30rem at 0% 0%, rgba(24, 200, 255, 0.16), transparent 60%),
    radial-gradient(40rem 26rem at 100% 100%, rgba(255, 107, 33, 0.14), transparent 60%),
    var(--navy);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-dark);
  background-size: 44px 44px;
}

.contact-grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.contact-info h2 {
  color: #fff;
}

.contact-lead {
  font-size: var(--fs-lead);
  color: #c9d6e3;
  max-width: 46ch;
}

.nap-card {
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nap-title {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.nap {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  color: #e3e9f0;
}

.nap-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.45;
}

.nap-row .icon {
  margin-top: 0.1rem;
  color: var(--cyan);
}

.nap a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
  text-decoration: none;
}

.nap a:hover {
  color: var(--amber);
}

.form-card {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--temp-gradient);
}

.form-intro {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--navy);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(8, 124, 240, 0.28);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  background: #fffafa;
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.22);
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

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

.field--consent {
  margin-top: 0.5rem;
  padding: 1rem 1rem 1rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--cool-gray);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--blue-strong);
  cursor: pointer;
}

.field .consent label {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--charcoal);
  cursor: pointer;
}

.lead-form .btn[type="submit"] {
  margin-top: 0.5rem;
}

.form-status:not(:empty) {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--blue-strong);
  background: #eaf4fe;
  color: var(--charcoal);
  font-weight: 500;
}

.form-status.is-error {
  border-left-color: var(--error);
  background: #fdecea;
}

.form-status.is-success {
  border-left-color: var(--success);
  background: #e8f7ee;
}

.form-status a {
  font-weight: 700;
}
/* Shown only without JavaScript while the form endpoint is still a placeholder. */
.form-noscript {
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--orange-deep);
  background: #fff4ec;
  color: var(--charcoal);
  font-weight: 600;
}
.form-noscript a {
  font-weight: 700;
}
.lead-form .btn[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
/* 14. FOOTER & FLOATING CALL ------------------------------------------------ */
.site-footer {
  background: var(--navy-3);
  color: #b8c7d6;
  padding-top: clamp(3rem, 2.5rem + 3vw, 4.5rem);
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: inline-block;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: 14px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 32ch;
}

.footer-title {
  margin-bottom: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}

.footer-nap {
  line-height: 1.8;
}

.footer-nap strong {
  color: #fff;
}

.footer-nap a {
  color: var(--cyan);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d5e1ec;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  padding-block: 1.6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #9fb1c3;
  max-width: 110ch;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9fb1c3;
}

.float-call {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b21 0%, #ff8a33 100%);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(7, 26, 43, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0s;
}

.float-call.is-hidden {
  transform: translateY(calc(100% + 1.5rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}

.float-call:focus-visible {
  outline-color: var(--navy);
}

/* 15. MOTION & MEDIA QUERIES ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .pulse-dot::after {
    animation: pulse 2.4s ease-out infinite;
  }

  .airflow path {
    animation: flow 18s linear infinite;
  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    80%, 100% { transform: scale(2.6); opacity: 0; }
  }

  @keyframes flow {
    to { stroke-dashoffset: -320; }
  }
}

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

/* Small phones: only the floating call button needs body padding */
@media (max-width: 767.98px) {
  :root {
    --float-call-space: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 480px) {
  .header-call span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

@media (min-width: 560px) {
  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit {
    border-right: 1px solid var(--cool-gray);
  }

  .benefit:nth-child(2n) {
    border-right: 0;
  }

  .benefit:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
  }

  .brand img {
    width: 190px;
  }

  .header-phone {
    display: flex;
  }

  .float-call {
    display: none;
  }

  .hero-card {
    position: absolute;
    left: -1.25rem;
    bottom: -2rem;
    margin: 0;
    max-width: 330px;
  }

  .detail {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .detail--reverse .detail-media {
    order: 2;
  }

  .detail-media img {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 3.3rem;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 3px;
    background: var(--temp-gradient);
    opacity: 0.55;
  }

  .step {
    background: rgba(247, 250, 252, 0.94);
  }
}

@media (min-width: 900px) {
  .emergency-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }

  .emergency-actions {
    justify-self: end;
    text-align: left;
  }

  .section-head--split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .benefit-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit,
  .benefit:nth-child(2n) {
    border-right: 1px solid var(--cool-gray);
    border-bottom: 0;
  }

  .benefit:last-child {
    border-right: 0;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card--feature {
    grid-row: span 2;
  }

  .details-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .details-index {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }

  .details-index ul {
    flex-direction: column;
    gap: 0.15rem;
    overflow: visible;
    padding: 0;
  }

  .details-index a {
    width: 100%;
    border-color: transparent;
    border-radius: var(--radius-sm);
    white-space: normal;
  }

  .details-index a:hover {
    background: #eef6fe;
    border-color: transparent;
  }

  .details-index-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 1rem;
  }

  .area-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .contact-info {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1.1fr 0.8fr 1fr;
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop navigation */
@media (min-width: 1200px) {
  .nav-toggle,
  .nav-mobile-cta,
  .no-js .nav-mobile-cta {
    display: none;
  }

  .js .site-nav,
  .no-js .site-nav {
    position: static;
    order: 0;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .no-js .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav .nav-list,
  .no-js .site-nav .nav-list {
    display: flex;
    gap: 0.1rem;
  }

  .js .site-nav .nav-list a,
  .no-js .site-nav .nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    font-size: 0.98rem;
    border-bottom: 0;
    border-radius: 8px;
  }

  .site-nav .nav-list a::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--temp-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .site-nav .nav-list a:hover::after,
  .site-nav .nav-list a.is-active::after {
    transform: scaleX(1);
  }

  .brand {
    margin-right: 0;
  }

  .site-nav {
    margin-inline: auto;
  }
}

@media (min-width: 1400px) {
  .js .site-nav .nav-list a {
    padding-inline: 0.85rem;
  }
}

/* Print: keep contact details, drop decoration */
@media print {
  .site-header,
  .float-call,
  .map-frame,
  .hero-bg,
  .emergency-shapes {
    display: none !important;
  }

  .hero,
  .emergency,
  .contact,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
