/* ==========================================================================
   The Carter Companies — Restoration Contractor Site
   Palette: black / white / gray / red · Display: Barlow Condensed
   Body: Inter · Utility/mono: IBM Plex Mono
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-soft: #18181b;
  --paper: #fbfaf8;
  --steel-100: #f1efec;
  --steel-200: #e8e5df;
  --steel-300: #dcd8d0;
  --steel-500: #948f86;
  --steel-600: #6b6660;
  --signal: #d81e3d;
  --signal-dark: #9c1329;
  --signal-tint: #fbe3e7;

  /* legacy aliases kept so older markup/utility references still resolve */
  --black: var(--ink);
  --near-black: var(--ink-soft);
  --white: var(--paper);
  --gray-100: var(--steel-100);
  --gray-200: var(--steel-200);
  --gray-400: var(--steel-500);
  --gray-600: var(--steel-600);
  --gray-800: var(--ink-soft);
  --red: var(--signal);
  --red-dark: var(--signal-dark);
  --red-light: var(--signal-tint);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max-width: 1180px;
  --radius: 6px;
  --radius-lg: 16px;
  --shadow: 0 2px 14px rgba(11, 11, 12, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(11, 11, 12, 0.45);
  --ease: cubic-bezier(.22,.85,.32,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { padding-left: 1.1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  line-height: 1.05;
  margin: 0 0 0.45em;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; text-transform: none; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; color: var(--steel-600); }
strong { color: var(--ink-soft); }
.accent { color: var(--signal); }

.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--black { background: var(--ink); color: var(--paper); }
.section--black p, .section--black h2, .section--black h3 { color: var(--paper); }
.section--gray { background: var(--steel-100); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 16px;
  border: 1px solid var(--steel-300);
  padding: 5px 10px 5px 8px;
  border-radius: 3px;
}
.eyebrow::before { content: "//"; color: var(--signal); font-weight: 700; }
.section--black .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.lead-section .eyebrow {
  color: var(--steel-200);
  border-color: rgba(251, 250, 248, 0.28);
}

.section-head { max-width: 620px; margin: 0 0 44px; text-align: left; }
.section-head p { color: var(--steel-600); font-size: 1.05rem; }
.section--black .section-head p { color: var(--steel-500); }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Status pill (live dispatch indicator) ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(251, 250, 248, 0.08);
  border: 1px solid rgba(251, 250, 248, 0.22);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.55;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--signal); color: var(--paper); box-shadow: 0 10px 26px -10px rgba(216,30,61,0.65); }
.btn--red:hover { background: var(--signal-dark); box-shadow: 0 14px 32px -10px rgba(216,30,61,0.8); }
.btn--black { background: var(--ink); color: var(--paper); }
.btn--black:hover { background: var(--ink-soft); }
.btn--outline { background: transparent; border-color: currentColor; color: var(--paper); }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--outline-black { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline-black:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar__emergency { color: var(--paper); font-weight: 700; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em; }
.topbar__emergency span { color: var(--signal); }
.topbar__phone {
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.topbar__phone:hover { color: var(--signal); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--steel-200);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease;
}
.site-header .container {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 32px;
  padding-right: 32px;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 52px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  width: 42px;
  height: 38px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle::before { top: 12px; }
.nav-toggle span { top: 18px; }
.nav-toggle::after { top: 24px; }

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.94rem;
}
.main-nav__list a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta__phone {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.02rem;
  white-space: nowrap;
}
.header-cta__phone:hover { color: var(--signal); }
.header-cta__call { display: none; padding: 10px 18px; font-size: 0.95rem; }
.header-cta__quote { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- Hero (photo-backed) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  color: var(--paper);
  background: var(--ink) center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11,11,12,0.96) 28%, rgba(11,11,12,0.78) 55%, rgba(11,11,12,0.42) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { color: var(--paper); margin-bottom: 18px; }
.hero p.lead { color: var(--steel-200); font-size: 1.18rem; max-width: 540px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 28px; font-size: 0.82rem; color: var(--steel-300);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.hero-trust li { list-style: none; display: flex; align-items: center; gap: 6px; }
.hero-trust { display: flex; padding: 0; }
.hero-trust .dot { color: var(--signal); }

.hero-card {
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { margin-bottom: 4px; }
.hero-card p.small { color: var(--steel-600); font-size: 0.9rem; margin-bottom: 18px; }

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  padding: 68px 0 62px;
  background: var(--ink) center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,11,12,0.94) 35%, rgba(11,11,12,0.62) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); margin-bottom: 12px; }
.page-hero p { color: var(--steel-200); max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--steel-400, var(--steel-300)); margin-bottom: 16px; text-transform: uppercase; }
.breadcrumb a { color: var(--steel-300); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--steel-100);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-bar__list li {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border-left: 1px solid var(--steel-300);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.trust-bar__list li:first-child { border-left: none; }
.trust-bar__list li::before {
  content: "▸";
  color: var(--signal);
  font-size: 1rem;
  line-height: 1;
}
.trust-bar__stat { font-family: var(--font-mono); color: var(--signal); font-size: 1.05rem; font-weight: 700; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: var(--signal); transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.card:hover .icon-badge { border-color: var(--signal); color: var(--signal); }
.card a.card-link {
  color: var(--signal);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}
.card a.card-link:hover { text-decoration: underline; }

.card--media { padding: 0; overflow: hidden; }
.card--media .card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.card--media .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card--media:hover .card__media img { transform: scale(1.08); }
.card--media .card__body { padding: 22px 24px 26px; }
.card--media .icon-badge { margin-top: -36px; position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(11,11,12,0.22); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-left: 6px; }
.step__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Why choose us ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.image-placeholder {
  background: var(--steel-200);
  border: 1px dashed var(--steel-500);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-600);
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 280px;
  text-align: center;
  padding: 20px;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.stat-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
}
.stat-badge__num {
  font-family: var(--font-mono);
  color: var(--signal);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.stat-badge__label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-top: 4px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-weight: 600;
}
.check-list .check {
  color: var(--paper);
  background: var(--signal);
  border-radius: 50%;
  width: 22px; height: 22px;
  min-width: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ---------- Before / After slider (signature element) ---------- */
.ba-section .section-head { margin-bottom: 36px; }
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  touch-action: pan-y;
  box-shadow: var(--shadow-lg);
  user-select: none;
  background: var(--steel-200);
}
.ba-slider img {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}
.ba-slider__after { position: absolute; inset: 0; }
.ba-slider__after img { width: 100%; }
.ba-slider__before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
  border-right: 3px solid var(--paper);
}
.ba-slider__handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  color: var(--ink);
  font-size: 1rem;
  pointer-events: none;
}
.ba-slider__label {
  position: absolute;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(11,11,12,0.75);
  color: var(--paper);
  padding: 5px 12px;
  border-radius: 3px;
  pointer-events: none;
}
.ba-slider__label--before { left: 16px; }
.ba-slider__label--after { right: 16px; }
.ba-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--steel-600);
  margin-top: 14px;
  font-style: italic;
}
/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.stars { color: var(--signal); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--steel-200);
}
.testimonial__name { font-weight: 800; }
.testimonial__loc { color: var(--steel-600); font-size: 0.85rem; }

/* ---------- Service areas ---------- */
.area-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.area-pill {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.area-pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- FAQ (native accordion) ---------- */
.faq details {
  border-bottom: 1px solid var(--steel-200);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--signal);
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 12px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details p { margin-top: 12px; }

/* ---------- Lead form ---------- */
.lead-section {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: flex-start;
}
.lead-grid h2 { color: var(--paper); }
.lead-grid p { color: var(--steel-200); }
.lead-perks { list-style: none; padding: 0; margin: 24px 0 0; }
.lead-perks li {
  display: flex; gap: 10px; margin-bottom: 12px; color: var(--steel-200); font-weight: 600;
}
.lead-perks .dot { color: var(--signal); }

.form-card {
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--steel-100);
  transition: outline-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--signal);
  background: var(--paper);
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.78rem; color: var(--steel-600); margin-top: 10px; }
.form-success {
  display: none;
  background: var(--signal-tint);
  border: 1px solid var(--signal);
  color: var(--signal-dark);
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--signal);
  color: var(--paper);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.08) 0 16px, transparent 16px 32px);
  pointer-events: none;
}
.cta-banner .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.cta-banner h2 { color: var(--paper); margin: 0; font-size: 1.6rem; }
.cta-banner p { color: var(--signal-tint); margin: 4px 0 0; }

/* ---------- Map ---------- */
.map-placeholder {
  background: var(--steel-200);
  border: 1px dashed var(--steel-500);
  min-height: 360px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-600);
  font-weight: 700;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--steel-200);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--steel-500);
  padding: 56px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: var(--paper);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--steel-500); text-decoration: none; }
.footer-grid a:hover { color: var(--paper); }
.footer-logo { display: inline-block; margin-bottom: 14px; line-height: 0; }
.footer-logo img { height: 60px; width: auto; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer-badge {
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--steel-500);
}
.footer-bottom {
  border-top: 1px solid var(--ink-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--steel-500); }

/* ---------- Call popup ---------- */
body.call-popup-open { overflow: hidden; }
.call-popup { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.call-popup[hidden] { display: none; }
.call-popup__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, 0.72); }
.call-popup__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 30px 28px;
  animation: call-popup-in 0.35s var(--ease);
}
.call-popup__card .eyebrow { margin-left: auto; margin-right: auto; }
.call-popup__card h3 { font-size: 1.55rem; margin: 6px 0 10px; }
.call-popup__card p { font-size: 0.92rem; margin-bottom: 22px; }
.call-popup__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--steel-500);
  cursor: pointer;
  padding: 6px;
}
.call-popup__close:hover { color: var(--ink); }
.call-popup__later {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--steel-600);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
}
@keyframes call-popup-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .call-popup__card { animation: none; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--reveal-index, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  .pulse-dot::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Site-structure components (service pages, insurance, contact, areas)
   ========================================================================== */

.hero--service { padding: 72px 0 68px; }
.hero--service h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* Anchor nav (Restoration page) */
.anchor-nav {
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-soft);
}
.anchor-nav__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav__list::-webkit-scrollbar { display: none; }
.anchor-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--steel-200);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(251, 250, 248, 0.22);
  border-radius: 3px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.anchor-nav__list a span { color: var(--signal); font-weight: 700; }
.anchor-nav__list a:hover,
.anchor-nav__list a.is-active { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.anchor-nav__list a:hover span,
.anchor-nav__list a.is-active span { color: var(--paper); }

/* Service blocks */
.svc { scroll-margin-top: calc(var(--header-h, 72px) + 64px); }
.svc + .svc { border-top: 1px solid var(--steel-200); }
.svc__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.svc__code {
  flex-shrink: 0;
  min-width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
}
.svc__head h2 { margin-bottom: 8px; }
.svc__head p { max-width: 720px; margin: 0; font-size: 1.05rem; }
.svc__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.svc__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__media--slider { overflow: visible; box-shadow: none; border-radius: 0; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.panel {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.panel h3 { margin-bottom: 14px; font-size: 1.15rem; }
.panel--dark { background: var(--ink); border-color: var(--ink); }
.panel--dark h3, .panel--dark .tick-list li { color: var(--paper); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.97rem; }
.tick-list li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--signal); font-weight: 700; }
.tip-box {
  margin-top: 24px;
  border-left: 4px solid var(--signal);
  background: var(--paper);
  border-top: 1px solid var(--steel-200);
  border-right: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
}
.tip-box strong { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); display: block; margin-bottom: 6px; }
.tip-box p { margin: 0; color: var(--ink-soft); }

.tick-list--2 { columns: 2; column-gap: 40px; }
.tick-list--2 li { break-inside: avoid; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
.trust-bar__list small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.02em; color: var(--steel-600); }
.form-card .form-row select { appearance: auto; }
.hero-card .form-note a { color: var(--signal); font-weight: 700; }

/* Five-step process */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step { padding: 0; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; }

/* Insurance (dark) */
.section--black .check-list li { color: var(--paper); font-weight: 500; }
.section--black .lead-copy { color: var(--steel-200); font-size: 1.08rem; }
.assign-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.section--black .assign-card .eyebrow { color: var(--ink-soft); border-color: var(--steel-300); }
.assign-card h3 { margin-bottom: 8px; color: var(--ink); }
.assign-card p { color: var(--steel-600); }

/* Credentials / why list */
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; }
.cred { padding: 24px 22px; border-left: 1px solid var(--steel-200); background: var(--paper); }
.cred:first-child { border-left: none; }
.cred__k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin-bottom: 8px; }
.cred__v { font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.cred__s { font-size: 0.86rem; color: var(--steel-600); margin-top: 4px; }

/* Contact / areas */
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.city {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  padding: 16px 16px;
  font-weight: 700;
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.city small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--signal); }
.city:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-cards .card a { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.contact-cards .card a:hover { color: var(--signal); }
.contact-cards .card p { margin: 6px 0 0; font-size: 0.92rem; }
.person { display: flex; gap: 18px; align-items: flex-start; }
.person__mono {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  border-radius: 3px;
}
.person h3 { margin-bottom: 2px; }
.person p { margin: 0; font-size: 0.92rem; }
.form-hint { font-size: 0.8rem; color: var(--steel-600); margin: -6px 0 16px; }
.form-legend { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-600); margin: 6px 0 12px; }
.testimonial--ph p { color: var(--steel-500); font-style: italic; }
.review-note { margin-top: 18px; font-size: 0.82rem; color: var(--steel-600); }
.faq-group { max-width: 820px; }
.faq-group h3 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin: 34px 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; order: 3; }
  .main-nav.is-open { display: block; }
  .main-nav__list { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 12px; }
  .main-nav__list a { display: block; padding: 11px 0; width: 100%; }
  .site-header .container { flex-wrap: wrap; padding-left: 20px; padding-right: 20px; }
  .logo { margin-right: auto; }
  .header-cta__phone, .header-cta__quote { display: none; }
  .header-cta__call { display: inline-flex; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .tick-list--2 { columns: 1; }
  .split--flip > :first-child { order: 0; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { border-left: none; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--steel-200); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .trust-bar__list li { flex: 1 1 50%; border-left: none; border-top: 1px solid var(--steel-300); }
  .trust-bar__list li:nth-child(odd) { border-left: none; }
  .trust-bar__list li:nth-child(-n+2) { border-top: none; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .logo img { height: 42px; }
  .header-cta { gap: 8px; }
  .header-cta__call { padding: 9px 14px; font-size: 0.9rem; }
  .hero { padding: 48px 0 56px; }
  .hero--service { padding: 44px 0 52px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; }
  .form-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred { border-left: none !important; border-top: 1px solid var(--steel-200); }
  .cred:first-child { border-top: none; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .svc__head { flex-direction: column; gap: 12px; }
  .section { padding: 56px 0; }
  .trust-bar__list li { flex: 1 1 100%; border-left: none !important; border-top: 1px solid var(--steel-300); }
  .trust-bar__list li:first-child { border-top: none; }
}
