/* ==========================================================================
   FRONTLINE RESTORATION — Design Tokens
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6.5vw, 6.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Motion */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Brand hues — Fire / Water / Mold */
  --color-fire: #e2402f;
  --color-fire-hover: #c8301f;
  --color-fire-active: #a12518;
  --color-fire-highlight: #3d2320;

  --color-water: #2f8ee0;
  --color-water-hover: #2172ba;
  --color-water-active: #185890;
  --color-water-highlight: #1b2c3a;

  --color-mold: #63a445;
  --color-mold-hover: #4e8834;
  --color-mold-active: #3b6a27;
  --color-mold-highlight: #21301c;
}

:root,
[data-theme='dark'] {
  --color-bg: #0e0c0b;
  --color-surface: #171412;
  --color-surface-2: #1d1a17;
  --color-surface-offset: #221e1a;
  --color-surface-offset-2: #292420;
  --color-surface-dynamic: #322c26;
  --color-divider: #2b2622;
  --color-border: #3a342d;

  --color-text: #f4f1ec;
  --color-text-muted: #aca69d;
  --color-text-faint: #726c63;
  --color-text-inverse: #16140f;

  --color-primary: var(--color-fire);
  --color-primary-hover: var(--color-fire-hover);
  --color-primary-active: var(--color-fire-active);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.55);
}

[data-theme='light'] {
  --color-bg: #f6f4f0;
  --color-surface: #ffffff;
  --color-surface-2: #fbf9f6;
  --color-surface-offset: #efebe4;
  --color-surface-offset-2: #e8e3da;
  --color-surface-dynamic: #ded8cd;
  --color-divider: #e2ddd4;
  --color-border: #d8d2c7;

  --color-text: #1b1815;
  --color-text-muted: #665f55;
  --color-text-faint: #9b9387;
  --color-text-inverse: #f6f4f0;

  --color-primary: var(--color-fire);
  --color-primary-hover: var(--color-fire-hover);
  --color-primary-active: var(--color-fire-active);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.2 0.02 60 / 0.1);
  --shadow-lg: 0 20px 48px oklch(0.2 0.02 60 / 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0e0c0b;
    --color-surface: #171412;
    --color-surface-2: #1d1a17;
    --color-surface-offset: #221e1a;
    --color-text: #f4f1ec;
    --color-text-muted: #aca69d;
    --color-text-faint: #726c63;
    --color-border: #3a342d;
    --color-divider: #2b2622;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-default);
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-title {
  font-size: var(--text-2xl);
  line-height: 1.05;
  margin-block: var(--space-3) var(--space-4);
  max-width: 20ch;
}
.section-lede {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-transform: none;
  max-width: 56ch;
  font-weight: 400;
}

.text-muted {
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 48px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn--fire {
  background: var(--color-fire);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--fire:hover {
  background: var(--color-fire-hover);
  box-shadow: var(--shadow-md);
}
.btn--fire:active {
  background: var(--color-fire-active);
}
.btn--water {
  background: var(--color-water);
  color: #fff;
}
.btn--water:hover {
  background: var(--color-water-hover);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: oklch(from var(--color-text) l c h / 0.22);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-text);
  background: oklch(from var(--color-text) l c h / 0.06);
}
.btn--block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}
.brand__mark {
  width: 42px;
  height: 50px;
  flex: none;
}
.brand__logo-header {
  height: 84px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex: none;
}
.brand__logo-full {
  height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}
.brand__tagline {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
  white-space: nowrap;
}
.brand__tagline b.f {
  color: var(--color-fire);
}
.brand__tagline b.w {
  color: var(--color-water);
}
.brand__tagline b.m {
  color: var(--color-mold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-2);
  position: relative;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-text);
}
.nav__links a {
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-fire);
  transition: width var(--transition-interactive);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.14);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-fire);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
}
.call-pill:hover {
  background: var(--color-fire-hover);
}
.call-pill svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.call-pill__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
}
.call-pill__num {
  display: block;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  overflow-y: auto;
  padding: var(--space-6) var(--space-5);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}
.mobile-drawer__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-drawer__close svg {
  width: 26px;
  height: 26px;
}
.mobile-drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mobile-drawer__links a {
  display: block;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
}
.mobile-drawer__cta {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, oklch(0.05 0 0 / 0.55) 0%, oklch(0.05 0 0 / 0.35) 40%, oklch(0.05 0 0 / 0.85) 100%),
    linear-gradient(90deg, oklch(0.05 0 0 / 0.75) 0%, oklch(0.05 0 0 / 0.15) 55%, oklch(0.05 0 0 / 0.6) 100%);
}
.hero__content {
  position: relative;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32)) var(--space-12);
  width: 100%;
}
.hero__eyebrow {
  color: #fff;
  opacity: 0.92;
}
.hero__eyebrow::before {
  background: var(--color-fire);
}
.hero__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: var(--text-hero);
  line-height: 1.02;
  max-width: 16ch;
  margin-block: var(--space-4) var(--space-5);
  text-shadow: 0 4px 24px oklch(0 0 0 / 0.4);
}
.hero__subtitle {
  font-family: var(--font-body);
  color: oklch(1 0 0 / 0.86);
  font-size: var(--text-lg);
  text-transform: none;
  font-weight: 400;
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}
.hero__ctas .btn {
  font-size: var(--text-base);
  padding: var(--space-5) var(--space-8);
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.15);
  padding-top: var(--space-8);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: #fff;
}
.trust-item svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--color-fire);
  margin-top: 2px;
}
.trust-item:nth-child(2) svg {
  color: var(--color-text-faint);
}
.trust-item:nth-child(3) svg {
  color: var(--color-water);
}
.trust-item:nth-child(4) svg {
  color: var(--color-mold);
}
.trust-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 2px;
}
.trust-item p {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.65);
}

/* ==========================================================================
   Services (asymmetric alternating rows)
   ========================================================================== */

.services {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  background: var(--color-surface);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding-block: var(--space-16);
}
.service-row:not(:last-child) {
  border-bottom: 1px solid var(--color-divider);
}
.service-row.is-reversed .service-media {
  order: 2;
}
.service-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-media__tag {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: oklch(0.1 0 0 / 0.7);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}
.service-index {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-surface-offset-2);
  line-height: 1;
  margin-bottom: var(--space-2);
  -webkit-text-stroke: 1px var(--color-border);
}
.service-title {
  font-size: var(--text-xl);
  margin-block: 0 var(--space-4);
}
.service-title--fire {
  color: var(--color-fire);
}
.service-title--water {
  color: var(--color-water);
}
.service-title--mold {
  color: var(--color-mold);
}
.service-desc {
  font-family: var(--font-body);
  text-transform: none;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
  max-width: 44ch;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.service-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.service-row:nth-of-type(1) .service-list svg {
  color: var(--color-fire);
}
.service-row:nth-of-type(2) .service-list svg {
  color: var(--color-water);
}
.service-row:nth-of-type(3) .service-list svg {
  color: var(--color-mold);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 2px solid var(--color-fire);
  padding-bottom: 2px;
}
.service-row:nth-of-type(2) .service-link {
  border-color: var(--color-water);
}
.service-row:nth-of-type(3) .service-link {
  border-color: var(--color-mold);
}
.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-interactive);
}
.service-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.why {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-bg);
}
.why__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: end;
  margin-bottom: var(--space-12);
}
.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-10);
}
.why-item {
  display: flex;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.why-item__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-fire);
  flex: none;
  width: 2.4ch;
}
.why-item h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.why-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.process__head {
  margin-bottom: var(--space-12);
  text-align: left;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--color-divider);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.process-step__num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 2px solid var(--color-fire);
  color: var(--color-fire);
  font-family: var(--font-display);
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step:nth-child(2) .process-step__num {
  border-color: var(--color-water);
  color: var(--color-water);
}
.process-step:nth-child(3) .process-step__num {
  border-color: var(--color-mold);
  color: var(--color-mold);
}
.process-step:nth-child(4) .process-step__num {
  border-color: var(--color-fire);
  color: var(--color-fire);
}
.process-step:nth-child(5) .process-step__num {
  border-color: var(--color-water);
  color: var(--color-water);
}
.process-step h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.process-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Gallery — before / after
   ========================================================================== */

.gallery {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-bg);
}
.gallery__head {
  margin-bottom: var(--space-10);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.ba {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after {
  z-index: 1;
}
.ba__before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}
.ba__before-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px oklch(0 0 0 / 0.2);
}
.ba__handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #fff;
  color: #16140f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.ba__handle-btn svg {
  width: 18px;
  height: 18px;
}
.ba__label {
  position: absolute;
  top: var(--space-3);
  z-index: 4;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: oklch(0.1 0 0 / 0.55);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba__label--before {
  left: var(--space-3);
}
.ba__label--after {
  right: var(--space-3);
}
.ba-caption {
  margin-top: var(--space-4);
}
.ba-caption__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-fire);
}
.gallery-grid > *:nth-child(2) .ba-caption__cat {
  color: var(--color-water);
}
.gallery-grid > *:nth-child(3) .ba-caption__cat {
  color: var(--color-mold);
}
.ba-caption__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  margin-top: var(--space-1);
}
.ba-caption__loc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.testi-card {
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testi-card:nth-child(2) {
  transform: translateY(calc(-1 * var(--space-3)));
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--color-fire);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.testi-quote {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  flex: 1;
}
.testi-name {
  font-weight: 700;
  font-size: var(--text-sm);
}
.testi-loc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Coverage
   ========================================================================== */

.coverage {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-bg);
}
.coverage-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
}
.radar {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar::before,
.radar::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
}
.radar::before {
  inset: 16%;
}
.radar::after {
  inset: 34%;
}
.radar-pin {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-fire);
}
.radar-pin::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 2px solid oklch(from var(--color-fire) l c h / 0.4);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}
.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.coverage-tags span {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.coverage-copy h2 {
  margin-bottom: var(--space-3);
}
.coverage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2) var(--space-6);
  list-style: none;
  margin-top: var(--space-6);
}
.coverage-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.coverage-list svg {
  width: 14px;
  height: 14px;
  color: var(--color-mold);
  flex: none;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  background: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}
[data-theme='dark'] .cta-banner,
:root:not([data-theme]) .cta-banner {
  background: #050403;
}
[data-theme='light'] .cta-banner {
  background: #16140f;
}
.cta-banner__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-banner__title {
  color: #fff;
  font-size: var(--text-xl);
  max-width: 20ch;
}
.cta-banner__phone {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.cta-banner__phone svg {
  width: 40px;
  height: 40px;
  color: var(--color-fire);
  flex: none;
}
.cta-banner__phone a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  text-decoration: none;
}
.cta-banner__phone p {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.6);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  background: var(--color-surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-12);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.contact-info__item {
  display: flex;
  gap: var(--space-4);
}
.contact-info__item svg {
  width: 22px;
  height: 22px;
  color: var(--color-fire);
  flex: none;
  margin-top: 2px;
}
.contact-info__item h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: var(--text-sm);
  font-weight: 700;
}
.contact-info__item p,
.contact-info__item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.contact-info__item a:hover {
  color: var(--color-fire);
}

.form-card {
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 48px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-fire);
  outline-offset: 1px;
}
.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--space-3);
  background: oklch(from var(--color-mold) l c h / 0.12);
  border: 1px solid oklch(from var(--color-mold) l c h / 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  width: 20px;
  height: 20px;
  color: var(--color-mold);
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 30ch;
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.footer-social a:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-col h3 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-bottom a {
  color: var(--color-text-faint);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .nav__links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .why__head {
    grid-template-columns: 1fr;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .radar {
    margin-inline: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 860px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-row,
  .service-row.is-reversed {
    grid-template-columns: 1fr;
  }
  .service-row.is-reversed .service-media {
    order: 0;
  }
  .why-list {
    grid-template-columns: 1fr;
  }
  .process-track {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .process-track::before {
    top: 0;
    bottom: 0;
    left: 22px;
    width: 2px;
    height: auto;
    right: auto;
  }
  .process-step {
    flex-direction: row;
    align-items: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .testi-track {
    grid-template-columns: 1fr;
  }
  .testi-card:nth-child(2) {
    transform: none;
  }
  .coverage-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner__grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .call-pill__label {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: var(--space-2);
  }
  .nav__actions {
    gap: var(--space-2);
  }
  .brand__tagline {
    display: none;
  }
  .brand__logo-header {
    height: 46px;
  }
  .call-pill {
    padding: var(--space-2);
  }
  .call-pill__num {
    display: none;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .coverage-list {
    grid-template-columns: 1fr 1fr;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
}
