/* RAACH Cooling & Heating Services: one-page site styles
   Spacing follows an 8px scale. Colors come from the supplied RAACH artwork. */

:root {
  --indigo: #1D1765;
  --indigo-900: #140F4D;
  --blue: #086DB5;
  --blue-700: #065A96;
  --cyan: #55E4F2;
  --orange: #FF7916;
  --orange-300: #FF9440;
  --ice: #EFF7FB;
  --ice-200: #E1EFF7;
  --white: #FFFFFF;
  --slate: #516170;
  --ink: #17223A;
  --line: #D6E3EC;
  --line-strong: #B4C6D4;
  --error: #B42318;
  --error-bg: #FEF3F2;

  --font: "Manrope", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-organic: 112px;

  --shadow-sm: 0 1px 2px rgba(29, 23, 101, .06);
  --shadow-card: 0 1px 2px rgba(29, 23, 101, .06), 0 24px 48px -28px rgba(29, 23, 101, .32);

  --header-h: 76px;
  --mobile-bar-h: 0px;
}
@media (min-width: 900px) {
  :root { --header-h: 96px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { color: var(--indigo); margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
figure { margin: 0; }
[hidden] { display: none !important; }

.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--indigo); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s2); color: var(--white); }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 12px;
  font: 700 1rem/1.2 var(--font); letter-spacing: -0.005em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn--primary { background: var(--orange); color: var(--indigo); }
.btn--primary:hover { background: var(--orange-300); color: var(--indigo); box-shadow: 0 8px 18px -10px rgba(255, 121, 22, .9); }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--blue-700); color: var(--white); }
.btn--outline { background: var(--white); color: var(--indigo); border-color: var(--indigo); }
.btn--outline:hover { background: var(--ice); color: var(--indigo); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--xl { min-height: 64px; padding: 16px 34px; font-size: 1.25rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* ---------- Top strip & header ---------- */
.topbar { background: var(--indigo); color: #DCE1FA; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 40px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar__phone:hover { color: var(--cyan); }
.topbar :focus-visible { outline-color: var(--cyan); }
.topbar__number { font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) { .topbar__call-word { display: none; } }
@media (max-width: 419px) { .topbar__base { display: none; } .topbar { font-size: .8125rem; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(29, 23, 101, .45); }
.site-header__inner { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); padding-block: var(--s1); }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { width: 168px; }
@media (min-width: 900px) { .brand img { width: 224px; } }

.site-nav { margin-left: auto; }
.nav-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav-menu a:not(.btn) {
  display: inline-block; padding: 10px 2px; color: var(--indigo); font-weight: 600; font-size: .9375rem;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.nav-menu a:not(.btn):hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-menu__cta { display: none; }
.site-header__cta { display: none; }

.header-phone { display: none; }
@media (min-width: 600px) {
  .header-phone {
    display: inline-flex; align-items: center; gap: 10px; flex: none;
    min-height: 48px; padding: 5px 18px 5px 5px; border-radius: 999px;
    background: var(--ice); border: 1px solid var(--line);
    color: var(--indigo); font-size: 1.0625rem; font-weight: 800; letter-spacing: .005em;
    font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
  }
  .header-phone:hover { color: var(--indigo); border-color: var(--blue); background: var(--white); }
  .header-phone__icon {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--orange); color: var(--indigo);
  }
  .header-phone__icon .icon { width: 18px; height: 18px; stroke-width: 2; }
}

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 14px;
  background: var(--white); color: var(--indigo);
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: 700 .9375rem/1 var(--font); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1219px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    padding: var(--s1) var(--pad) var(--s3);
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(29, 23, 101, .45);
  }
  .js .nav-menu.is-open { display: flex; }
  .js .nav-menu li { border-bottom: 1px solid var(--line); }
  .js .nav-menu li:last-child { border-bottom: 0; }
  .js .nav-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 0; }
  .js .nav-menu__cta { display: block; padding-top: var(--s2); }
  .js .nav-menu__cta .btn { width: 100%; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
}
@media (min-width: 600px) and (max-width: 1219px) {
  .header-phone { margin-left: auto; order: 1; }
  .site-header__cta { order: 2; }
  .site-nav { order: 3; margin-left: 0; }
}
@media (min-width: 900px) {
  .site-header__cta { display: inline-flex; }
  .js .nav-menu__cta { display: none; }
}
@media (min-width: 1220px) {
  .site-nav { margin-inline: auto; }
  .site-header__inner { gap: 20px; }
  .nav-menu { flex-wrap: nowrap; gap: 4px 18px; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--blue); font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 479px) { .eyebrow { letter-spacing: .08em; font-size: .75rem; gap: 10px; } .eyebrow::before { width: 24px; } }
.eyebrow::before {
  content: ""; width: 32px; height: 3px; border-radius: 3px; flex: none;
  background: linear-gradient(90deg, var(--orange), var(--blue) 60%, var(--cyan));
}
h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.375rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: grid; gap: var(--s2); margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { max-width: 16ch; }
.section-head__intro { color: var(--slate); font-size: 1.125rem; max-width: 46ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s6); }
}

/* ---------- Airflow signature ---------- */
.airflow { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 0; }
.airflow__line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.airflow__line--a { stroke: var(--blue); opacity: .2; stroke-width: 2.5; }
.airflow__line--b { stroke: url(#airflow-warm-cool); opacity: .6; }
.airflow__line--c { stroke: var(--cyan); opacity: .35; }
.airflow--hero { bottom: 24px; height: clamp(180px, 24vw, 320px); }
.airflow--dark .airflow__line--a { stroke: var(--cyan); opacity: .22; }
.airflow--dark { bottom: 0; height: clamp(72px, 9vw, 120px); }
.airflow--panel { bottom: 0; height: clamp(64px, 8vw, 112px); }

@media (prefers-reduced-motion: no-preference) {
  .airflow--hero .airflow__line { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: airflow-draw 1.8s cubic-bezier(.3, .6, .2, 1) .15s forwards; }
  .airflow--hero .airflow__line--b { animation-delay: .35s; }
  .hero__copy, .request-card { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .request-card { animation-delay: .1s; }
}
@keyframes airflow-draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ice); padding-block: var(--s5) var(--s12); overflow: clip; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--s5); }
.hero__copy { display: grid; gap: var(--s3); align-content: start; }
.hero__copy h1 { max-width: 13ch; margin-top: calc(var(--s1) * -1); }
.hero__display { color: var(--blue); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; margin-top: calc(var(--s1) * -1); }
.hero__lede { color: var(--ink); font-size: 1.0625rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); }
.hero__tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--indigo); font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.hero__tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(85, 228, 242, .35); }
.hero__urgent a { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo); font-weight: 700; }
.hero__urgent a:hover { color: var(--blue); }
.hero__urgent a::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange);
}


.hero__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(32px, 5vw, 72px); fill: var(--white); z-index: 1; }

@media (min-width: 600px) and (max-width: 899px) {
  .request-card { max-width: 640px; }
}
@media (max-width: 599px) {
  .hero { padding-top: var(--s4); }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (min-width: 900px) {
  .hero { padding-block: var(--s6) var(--s12); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "copy form" "stage form" "explain form";
    column-gap: var(--s6); row-gap: 28px;
    align-items: start;
  }
  .hero__copy { grid-area: copy; }
  .hero__form { grid-area: form; position: relative; z-index: 2; }
  .stage { grid-area: stage; }
  .hero__explain { grid-area: explain; }
}

@media (min-width: 1180px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    grid-template-areas: "copy stage" "copy form" "explain form";
    column-gap: 56px; row-gap: 0;
  }
  .hero__form { justify-self: end; width: min(100%, 448px); margin-top: -44px; }
  .hero__explain { margin-top: var(--s4); }
}

/* ---------- Animated system stage ---------- */
.stage {
  position: relative; margin: 0;
  container: stage / inline-size;
  --duct: #A9DDF4; --glow: #55E4F2; --flow: #086DB5; --air: #2E9FDB; --exhaust: #FF7916; --screen: #086DB5; --dot: #086DB5;
  --drain-o: 1; --hl-o: 0;
}
.stage[data-mode="heating"] { --duct: #FFC596; --glow: #FF9440; --flow: #E8650A; --air: #FF7916; --exhaust: #2E9FDB; --screen: #F06A0A; --dot: #E8650A; --drain-o: 0; }
.stage[data-mode="maintenance"] { --duct: #E6EDF2; --glow: transparent; --flow: #8FA6B8; --air: #A9BBC9; --exhaust: #B4C6D4; --screen: #1D1765; --dot: #FF7916; --hl-o: 1; }
.stage__canvas {
  position: relative; overflow: hidden; aspect-ratio: 800 / 360;
  background: #EDF7FC; border-radius: var(--radius-lg) 72px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 1px 2px rgba(29, 23, 101, .06);
}
.stage__svg { display: block; width: 100%; height: 100%; }

@media (min-width: 1280px) {
  .stage { margin-right: calc((100vw - min(100vw - 2 * var(--pad), var(--max))) / -2); }
  .stage__canvas { border-radius: 96px 0 0 var(--radius-lg); }
}

.st-glow { stroke: var(--glow); stroke-width: 26; opacity: .32; transition: stroke .6s ease; }
.st-duct { stroke: var(--duct); stroke-width: 11; transition: stroke .6s ease; }
.st-flow { stroke: var(--flow); stroke-width: 3; stroke-dasharray: 4 10; transition: stroke .6s ease; animation: st-flow .8s linear infinite; }
.st-air { stroke: var(--air); stroke-width: 2.5; stroke-dasharray: 3 11; opacity: .9; transition: stroke .6s ease; animation: st-flow 1.1s linear infinite; }
.st-return { stroke: #8FA6B8; stroke-width: 2; stroke-dasharray: 3 11; opacity: .75; animation: st-flow 1.4s linear infinite; }
.st-exhaust { stroke: var(--exhaust); stroke-width: 3; stroke-dasharray: 3 11; transition: stroke .6s ease; animation: st-flow 1s linear infinite; }
.st-drain { fill: none; stroke: #2E9FDB; stroke-width: 1.6; stroke-dasharray: 2 12; opacity: var(--drain-o); transition: opacity .4s ease; animation: st-flow 1.8s linear infinite; }
.st-screen { fill: var(--screen); transition: fill .6s ease; }
.st-hl { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 5 9; opacity: var(--hl-o); transition: opacity .4s ease; animation: st-flow 2.4s linear infinite; }
.st-fan { transform-box: fill-box; transform-origin: center; animation: st-spin .45s linear infinite; }
@keyframes st-flow { to { stroke-dashoffset: -28; } }
@keyframes st-spin { to { transform: rotate(360deg); } }

.callout {
  position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .25s ease, translate .25s ease, visibility 0s linear .25s;
}
.stage[data-mode="cooling"] .callout[data-for="cooling"],
.stage[data-mode="heating"] .callout[data-for="heating"],
.stage[data-mode="maintenance"] .callout[data-for="maintenance"] {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity .35s ease calc(var(--i, 0) * 110ms + 150ms), translate .35s ease calc(var(--i, 0) * 110ms + 150ms), visibility 0s;
}
.callout::before {
  content: ""; position: absolute; left: -.75px; bottom: 6px; width: 1.5px; height: var(--stem, 18px);
  background: rgba(29, 23, 101, .45);
}
.callout--down::before { bottom: auto; top: 6px; }
.callout__dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 0 3px var(--white); transition: background-color .6s ease;
}
.callout__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: callout-pulse 1.8s ease-out infinite;
}
@keyframes callout-pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.8); opacity: 0; } }
.callout__box {
  position: absolute; left: 0; bottom: calc(var(--stem, 18px) + 6px); transform: translateX(var(--ax, -50%));
  display: grid; gap: 1px; width: max-content; max-width: 220px; padding: 8px 12px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 24px -16px rgba(29, 23, 101, .55);
}
.callout--down .callout__box { bottom: auto; top: calc(var(--stem, 18px) + 6px); }
.callout__label { color: var(--slate); font-size: .75rem; font-weight: 700; line-height: 1.3; }
.callout__value { color: var(--indigo); font-size: .875rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.005em; }
@container stage (max-width: 640px) {
  .callout__box { max-width: 150px; padding: 6px 10px; border-radius: 10px; }
  .callout__label { font-size: .6875rem; }
  .callout__value { font-size: .8125rem; }
}
@container stage (max-width: 479px) {
  .callout__box, .callout::before { display: none; }
  .callout__dot { left: -4.5px; top: -4.5px; width: 9px; height: 9px; box-shadow: 0 0 0 2px var(--white); }
}

.stage.is-paused *, .stage.is-paused *::after, .stage.is-offscreen *, .stage.is-offscreen *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html:not(.js) .stage *, html:not(.js) .stage *::after { animation: none !important; }
  .callout { transition: none !important; translate: none; }
}

/* Mode explainer */
.hero__explain {
  display: grid; gap: 14px; align-content: start;
  padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.explain__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.explain__title { color: var(--indigo); font-size: 1rem; font-weight: 800; }
.explain__pause, .explain__tabs { display: none; }
.js .explain__pause {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-strong); color: var(--indigo);
  font: 700 .8125rem/1 var(--font); cursor: pointer;
}
.js .explain__pause:hover { border-color: var(--blue); }
.explain__pause .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.explain__play-icon { display: none; fill: currentColor; }
.explain__pause.is-paused .explain__pause-icon { display: none; }
.explain__pause.is-paused .explain__play-icon { display: block; }
.js .explain__tabs {
  display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%;
  padding: 4px; background: var(--ice); border-radius: 999px;
}
.explain__tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--indigo); font: 700 .9375rem/1 var(--font); cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.explain__tab:hover { background: var(--white); }
.explain__tab[aria-selected="true"] { background: var(--indigo); color: var(--white); }
.explain__swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.explain__tab[data-mode="heating"] .explain__swatch { background: var(--orange); }
.explain__tab[data-mode="maintenance"] .explain__swatch { background: #8FA6B8; }
.explain__tab[aria-selected="true"][data-mode="cooling"] .explain__swatch { background: var(--cyan); }
.explain__panel { display: grid; gap: 8px; }
.explain__panel p { color: var(--slate); font-size: .9375rem; line-height: 1.55; max-width: 60ch; }
.explain__panel strong { color: var(--indigo); }
.explain__panel a { justify-self: start; font-weight: 700; font-size: .9375rem; }
.js .explain__panel:not(.is-active) { display: none; }

/* ---------- Service-request card ---------- */
.request-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.request-card__title { font-size: 1.5rem; line-height: 1.2; }
.request-card__title:focus { outline: none; }
.request-card__title:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.request-card__note { color: var(--slate); font-size: .875rem; margin-top: 6px; }

.request-form { display: grid; gap: 18px; margin-top: var(--s3); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 400px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { color: var(--indigo); font-size: .9375rem; font-weight: 700; }
.field__optional { color: var(--slate); font-weight: 500; }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 500 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input:hover { border-color: #8EA6B8; }
.field__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 109, 181, .28); }
.field__input[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .22); }
.field__input--area { min-height: 96px; resize: vertical; }
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg); pointer-events: none;
}
.field__hint { color: var(--slate); font-size: .8125rem; }
.field__error { color: var(--error); font-size: .875rem; font-weight: 600; }

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

.form-alert {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #FFF5EC; border: 1px solid #FFD1AD; border-left: 4px solid var(--orange);
  color: var(--ink); font-size: .9375rem;
}
.form-alert strong { color: var(--indigo); }
.form-alert a { font-weight: 700; color: var(--indigo); }

.request-form__submit { margin-top: 4px; }
.request-form__submit[aria-disabled="true"] { cursor: progress; opacity: .8; }
.request-form__status:empty { display: none; }
.request-form__status { color: var(--indigo); font-size: .9375rem; font-weight: 600; }
.request-form__micro { color: var(--slate); font-size: .8125rem; line-height: 1.5; }

.request-success { display: grid; gap: 12px; margin-top: var(--s3); }
.request-success__icon { width: 48px; height: 48px; fill: var(--ice); stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.request-success__title { font-size: 1.375rem; }
.request-success__title:focus { outline: none; }
.request-success a { font-weight: 700; }

/* ---------- Services ---------- */
.services { padding-top: clamp(56px, 6vw, 88px); }
.service-grid { display: grid; gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.service:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.service p { color: var(--slate); font-size: 1rem; }
.service__icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 4px;
  background: var(--ice); border-radius: 12px;
  fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.service__link { margin-top: auto; padding-top: 4px; font-weight: 700; align-self: flex-start; }

.service--featured {
  background: var(--ice); border-color: transparent; border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px); gap: var(--s2); overflow: hidden;
}
.service--featured::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--blue) 45%, var(--cyan));
}
.service--featured h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.1; letter-spacing: -0.025em; }
.service--featured p { color: var(--ink); font-size: 1.0625rem; }
.service--featured .service__icon { background: var(--white); width: 56px; height: 56px; padding: 13px; }
.service__list-title { color: var(--indigo) !important; font-weight: 700; font-size: .9375rem !important; margin-top: var(--s1); }
.symptoms { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); }
.symptoms li {
  padding: 8px 14px; border-radius: 999px; background: var(--white);
  color: var(--indigo); font-size: .9375rem; font-weight: 600; line-height: 1.3;
  border: 1px solid var(--line);
}
.service--featured__main, .service--featured__side { display: flex; flex-direction: column; gap: var(--s2); }
.service--featured__side { justify-content: flex-end; }
.service--featured__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: var(--s1); }
.service__phone { color: var(--indigo); font-weight: 700; }
.service__phone:hover { color: var(--blue); }
@media (min-width: 800px) {
  .service--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: var(--s5); align-items: end; }
  .service--featured__side { padding-left: var(--s5); border-left: 1px solid var(--line-strong); }
}

.service--urgent { border-left: 6px solid var(--orange); }
.service--urgent__body { display: grid; gap: var(--s1); }
.service--urgent .icon, .service--urgent .service__icon { stroke: var(--orange); background: #FFF2E8; }
.service--urgent .btn { align-self: flex-start; }

@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service--featured, .service--urgent { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service--featured { grid-column: 1 / span 2; }
  .service--urgent { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--s4); padding-block: 24px; }
  .service--urgent .service__icon { margin: 0; }
  .service--urgent__body { flex: 1; }
  .service--urgent .btn { align-self: center; }
}

/* ---------- Why RAACH ---------- */
.why { background: var(--ice); }
.why__grid { display: grid; gap: var(--s6); align-items: center; }
.why__media { overflow: hidden; border-radius: var(--radius-lg) var(--radius-organic) var(--radius-lg) var(--radius-lg); background: var(--white); }
.why__media img { width: 100%; aspect-ratio: 640 / 540; object-fit: cover; }
.why__copy { display: grid; gap: var(--s3); }
.why__copy h2 { max-width: 17ch; }
.why__lede { font-size: 1.125rem; max-width: 58ch; }
.benefits { list-style: none; display: grid; gap: 0; margin-top: var(--s1); border-top: 1px solid var(--line-strong); }
.benefit { display: grid; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line-strong); }
.benefit p { color: var(--slate); font-size: 1rem; max-width: 60ch; }
@media (min-width: 960px) {
  .why__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 88px); }
}

/* ---------- Process ---------- */
.process__title { max-width: 18ch; margin-bottom: clamp(32px, 5vw, 56px); }
.steps { list-style: none; display: grid; gap: var(--s4); position: relative; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-left: 72px; }
.step__num {
  position: absolute; left: 0; top: -6px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue);
  color: var(--indigo); font-size: 1.25rem; font-weight: 800;
}
.step p { color: var(--slate); font-size: 1rem; max-width: 34ch; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
  .steps::before {
    content: ""; position: absolute; top: 26px; left: 26px; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 18px);
    opacity: .9;
  }
  .step { padding-left: 0; padding-top: 76px; }
  .step__num { top: 0; }
}

/* ---------- Emergency band ---------- */
.emergency { position: relative; overflow: hidden; background: var(--indigo); color: #D7DCF6; padding-block: clamp(64px, 8vw, 104px) clamp(104px, 12vw, 152px); }
.emergency::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue) 50%, var(--cyan));
}
.emergency__inner { position: relative; z-index: 1; display: grid; gap: var(--s4); align-items: center; }
.emergency h2 { color: var(--white); max-width: 20ch; }
.emergency p { font-size: 1.125rem; max-width: 52ch; margin-top: var(--s2); }
.emergency :focus-visible { outline-color: var(--cyan); }
@media (min-width: 900px) {
  .emergency__inner { grid-template-columns: 1fr auto; gap: var(--s8); }
}

/* ---------- Service areas ---------- */
.areas__head { display: grid; gap: var(--s2); margin-bottom: clamp(32px, 5vw, 56px); }
.areas__head h2 { max-width: 15ch; }
.areas__lede { color: var(--slate); font-size: 1.125rem; max-width: 56ch; }
@media (min-width: 900px) {
  .areas__head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s6); }
}
.areas__layout { display: grid; gap: var(--s4); }
@media (min-width: 1040px) {
  .areas__layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
}

.compass { position: relative; display: grid; gap: var(--s2); }
.compass__lines { display: none; }
.compass__note { order: 10; color: var(--slate); font-size: .875rem; }
.compass__hub {
  display: flex; align-items: baseline; gap: 12px;
  padding: 20px 24px; border-radius: var(--radius); background: var(--indigo);
}
.compass__hub-name { color: var(--white); font-size: 1.5rem; letter-spacing: -0.02em; }
.compass__hub p { color: var(--cyan); font-size: .875rem; font-weight: 700; }
.area-group { padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.area-group h3 { color: var(--blue); font-size: .9375rem; font-weight: 800; letter-spacing: 0; margin-bottom: 8px; }
.area-group ul { list-style: none; display: grid; gap: 2px; }
.area-group li { color: var(--indigo); font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
@media (max-width: 699px) {
  .area-group ul { display: flex; flex-wrap: wrap; gap: 2px 20px; }
}

@media (min-width: 700px) {
  .compass {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "note north" "west hub" "southwest south";
    gap: var(--s4) var(--s5);
    padding: var(--s3);
    background: var(--ice); border-radius: var(--radius-lg);
  }
  .compass__lines {
    display: block; position: absolute; inset: var(--s3); width: calc(100% - 2 * var(--s3)); height: calc(100% - 2 * var(--s3));
    fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55;
  }
  .compass__lines path { vector-effect: non-scaling-stroke; }
  .compass > :not(.compass__lines) { position: relative; z-index: 1; }
  .compass__note { grid-area: note; align-self: start; max-width: 26ch; order: 0; }
  .compass__hub {
    grid-area: hub; place-self: center;
    flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 168px; height: 168px; padding: 0; border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(85, 228, 242, .22), 0 0 0 22px rgba(8, 109, 181, .08);
  }
  .compass__hub-name { font-size: 1.625rem; }
  .area-group--north { grid-area: north; }
  .area-group--west { grid-area: west; align-self: center; }
  .area-group--southwest { grid-area: southwest; }
  .area-group--south { grid-area: south; }
}

.areas__aside {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s2);
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.areas__aside .service__link { margin-top: 0; }
.areas__closing { color: var(--indigo); font-size: 1.375rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: var(--s1); }

/* ---------- Customer confidence ---------- */
.confidence { background: var(--ice); }
.confidence__grid { display: grid; gap: var(--s5); align-items: start; }
.confidence__copy { display: grid; gap: var(--s2); }
.confidence__copy p { color: var(--slate); font-size: 1.125rem; max-width: 44ch; }
.facts {
  margin: 0; display: grid;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s1) clamp(20px, 3vw, 32px);
}
.facts__row { display: grid; gap: 2px 24px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--slate); font-size: .8125rem; font-weight: 700; }
.facts dd { margin: 0; color: var(--indigo); font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.facts dd a { color: var(--blue); }
@media (min-width: 640px) {
  .facts__row { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .facts dt { font-size: .875rem; }
}
@media (min-width: 960px) {
  .confidence__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); }
}

/* ---------- FAQs ---------- */
.faqs__grid { display: grid; gap: var(--s5); }
.faqs__intro { display: grid; gap: var(--s2); align-content: start; }
.faqs__intro h2 { max-width: 14ch; }
.faqs__intro p { color: var(--slate); max-width: 36ch; }
.faqs__intro a { font-weight: 700; }
@media (min-width: 1000px) {
  .faqs__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--s10); }
  .faqs__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.accordion { border-top: 1px solid var(--line-strong); }
.accordion__item { border-bottom: 1px solid var(--line-strong); }
.accordion__heading { font-size: inherit; letter-spacing: normal; }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  width: 100%; padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--indigo); font: 700 1.125rem/1.35 var(--font); letter-spacing: -0.01em;
}
.accordion__trigger:hover { color: var(--blue); }
.accordion__trigger::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--ice);
  transition: transform .2s ease;
}
.accordion__trigger[aria-expanded="true"]::after {
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    var(--ice);
}
.accordion__panel { padding-bottom: 24px; padding-right: 48px; }
.accordion__panel p { color: var(--slate); max-width: 66ch; }
@media (max-width: 599px) { .accordion__panel { padding-right: 0; } }

/* ---------- Final contact ---------- */
.contact { padding-top: 0; }
.contact__panel {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s5);
  padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 72px) clamp(96px, 11vw, 136px);
  background: var(--ice);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-organic) var(--radius-lg);
}
.contact__copy, .contact__details { position: relative; z-index: 1; }
.contact__copy { display: grid; gap: var(--s2); }
.contact__copy h2 { max-width: 15ch; }
.contact__copy p { font-size: 1.125rem; max-width: 48ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s2); }
.contact__details { list-style: none; display: grid; gap: var(--s3); align-content: center; }
.contact__details li { display: grid; gap: 2px; color: var(--indigo); font-size: 1.125rem; font-weight: 700; }
.contact__details a { overflow-wrap: anywhere; }
.contact__label { color: var(--slate); font-size: .8125rem; font-weight: 700; }
@media (max-width: 599px) { .contact__actions .btn { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .contact__panel { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; }
  .contact__details { padding-left: var(--s5); border-left: 1px solid var(--line-strong); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: #CBD2F2; padding-block: var(--s10) var(--s4); font-size: .9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--cyan); }
.site-footer__grid { display: grid; gap: var(--s5); }
.site-footer__brand { display: grid; gap: var(--s2); max-width: 34ch; }
.site-footer__logo { display: inline-block; justify-self: start; padding: 12px 16px; background: var(--white); border-radius: var(--radius); }
.site-footer__logo img { width: 200px; }
.site-footer__heading { color: var(--cyan); font-size: .875rem; font-weight: 800; letter-spacing: 0; margin-bottom: 12px; }
.site-footer__col ul { list-style: none; display: grid; gap: 8px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3);
  margin-top: var(--s8); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .875rem;
}
@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 899px) {
  :root { --mobile-bar-h: 72px; }
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s1);
    padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -12px 28px -20px rgba(29, 23, 101, .5);
    transition: transform .2s ease;
  }
  .mobile-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; border-radius: 12px; font-weight: 800; font-size: 1rem; text-decoration: none;
  }
  .mobile-bar__btn--call { background: var(--indigo); color: var(--white); gap: 10px; }
  .mobile-bar__btn--call .icon { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.2; }
  .mobile-bar__text { display: grid; line-height: 1.15; text-align: left; }
  .mobile-bar__kicker { font-size: .75rem; font-weight: 700; color: #C9D1F5; }
  .mobile-bar__number { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mobile-bar__btn--call:hover { color: var(--white); }
  .mobile-bar__btn--request { background: var(--orange); color: var(--indigo); }
  .mobile-bar__btn--request:hover { color: var(--indigo); }
  .is-typing .mobile-bar { transform: translateY(110%); }
}

/* ---------- Simple utility page (privacy, 404) ---------- */
.page { padding-block: clamp(48px, 7vw, 96px); }
.page__inner { max-width: 72ch; }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: var(--s2); }
.page h2 { font-size: 1.375rem; margin-top: var(--s5); margin-bottom: var(--s1); }
.page p, .page li { color: var(--ink); }
.page p + p { margin-top: var(--s2); }
.page ul { padding-left: 1.25rem; display: grid; gap: 6px; margin-top: var(--s1); }
.page__meta { color: var(--slate); font-size: .9375rem; }
.page ul + p { margin-top: var(--s2); }
.page-header__call { margin-left: auto; }
@media (max-width: 599px) { .page-header__call { display: none; } }

@media print {
  .topbar, .site-header, .mobile-bar, .airflow, .hero__edge, .hero__form, .stage, .explain__tabs, .explain__pause { display: none !important; }
}
