/* ==========================================================================
   LL Movers — Design Tokens
   Source: LL_Movers_Brand_Design_Brief.md (Sections 5, 6, 7A)
   ========================================================================== */

:root {
  /* Color — Earthy Premium palette */
  --espresso: #2B2119;
  --terracotta: #B5622D;
  --terracotta-dark: #954E22;
  --moss: #5B5A3D;
  --sand: #EDE6D8;
  --sand-2: #E4DAC7;
  --charcoal: #4A4038;
  --brass: #9C7C4E;
  --sand-line: rgba(43, 33, 25, 0.12);
  --espresso-line: rgba(237, 230, 216, 0.16);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --font-accent: 'Source Serif 4', serif;

  /* Fluid type scale (desktop values from brief: H1 64/72, H2 48/56, H3 32/40, Body 16/26, Caption 13/18) */
  --step-h1: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  --step-h2: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-h3: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-body: 1rem;
  --step-body-lg: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --step-caption: 0.8125rem;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  /* Layout */
  --container-w: 1180px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-soft: 0 12px 32px rgba(43, 33, 25, 0.10);
  --shadow-card: 0 6px 20px rgba(43, 33, 25, 0.08);
  --header-h: 76px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  /* Fallback (var()'s 2nd argument) keeps pages that don't load liquid-glass.css
     unaffected — --text-primary/--bg-base only exist once that file is included. */
  color: var(--text-primary, var(--charcoal));
  background: var(--bg-base, var(--sand));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--text-primary, var(--espresso)); text-wrap: balance; }
p { margin: 0; color: var(--text-secondary, var(--charcoal)); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Prevent long unbreakable content from forcing grid/flex tracks wider than the viewport */
.hero .container,
.why-grid, .why-card,
.services-grid, .service-card,
.steps-grid, .step,
.split,
.footer-grid, .footer-col, .footer-brand,
.field-row, .field,
.site-header .container, .nav-links, .nav-actions {
  min-width: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

section { padding: var(--space-6) 0; }

.on-espresso { background: var(--espresso); color: var(--sand); }
.on-espresso h1, .on-espresso h2, .on-espresso h3 { color: var(--sand); }
/* The global `p { color: var(--text-secondary, var(--charcoal)) }` rule (added for
   the liquid-glass homepage) directly targets every <p>, so a bare <p> in here with
   no class of its own loses the inherited --sand from .on-espresso to that fallback
   charcoal — a real regression this fix introduced on every other page's dark
   sections. Same fix pattern: an explicit, more specific override. */
.on-espresso p { color: var(--sand); }
.on-sand-2 { background: var(--sand-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--sand); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(0,0,0,0.04); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--sand-line);
  color: var(--charcoal);
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  font-weight: 600;
  color: var(--terracotta);
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: currentColor; }

/* ==========================================================================
   Trust-signal component (brief 7A) — reused across site
   ========================================================================== */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  align-items: center;
}
.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--step-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-bar__marker {
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  flex-shrink: 0;
}
.on-espresso .trust-bar__marker { background: var(--brass); }

/* ==========================================================================
   Top locator bar
   ========================================================================== */

.top-bar {
  background: var(--espresso);
  color: var(--sand);
  text-align: center;
  padding: 0.5rem var(--space-2);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-3);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--espresso);
  flex-shrink: 0;
}
.logo__mark { color: var(--terracotta); width: 30px; height: 30px; }
.logo__word { letter-spacing: 0.01em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a { padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--terracotta); }
.mobile-nav__links a.active { color: var(--brass); }

/* ==========================================================================
   Nav dropdown ("Services") — opens on hover (desktop) or click (touch/keyboard)
   ========================================================================== */

.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav-dropdown__trigger svg { width: 13px; height: 13px; transition: transform 200ms ease; }
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger,
.nav-dropdown__trigger.active { border-bottom-color: var(--terracotta); }
.nav-dropdown.is-open .nav-dropdown__trigger svg { transform: rotate(180deg); }

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  margin-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--espresso);
  white-space: nowrap;
}
.nav-dropdown__menu a:hover, .nav-dropdown__menu a.active { background: var(--sand-2); }

/* Nav-island (liquid-glass) context: menu becomes glass instead of flat sand */
.nav-island .nav-dropdown__menu {
  background: var(--header-surface);
  border-color: var(--header-border);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}
.nav-island .nav-dropdown__menu a { color: var(--sand); }
.nav-island .nav-dropdown__menu a:hover, .nav-island .nav-dropdown__menu a.active { background: rgba(237, 230, 216, 0.1); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--espresso);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--espresso);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--espresso);
  color: var(--sand);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }
.mobile-nav__close { background: none; border: none; color: var(--sand); }
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: var(--space-3); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.mobile-nav__foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-2); }
/* .nav-phone's own rule hardcodes --espresso (correct for the light header it's
   normally in) — invisible against .mobile-nav's fixed dark --espresso background.
   Pre-existing on every page; not something this session's changes introduced. */
.mobile-nav__foot .nav-phone { color: var(--sand); justify-content: center; }

/* ==========================================================================
   Hero + micro quote-teaser
   ========================================================================== */

.hero {
  padding: var(--space-7) 0 var(--space-6);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}
.hero__copy .eyebrow { color: var(--brass); margin-bottom: var(--space-2); display: block; }
.hero h1 { font-size: var(--step-h1); line-height: 1.08; margin-bottom: var(--space-3); }
.hero__sub {
  font-family: var(--font-accent);
  font-size: var(--step-body-lg);
  line-height: 1.6;
  color: var(--text-secondary, var(--sand));
  opacity: 0.88;
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero .trust-bar { margin-top: var(--space-5); }

.quote-teaser {
  background: var(--sand);
  color: var(--text-primary, var(--charcoal));
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}
.quote-teaser h3 { font-size: 1.15rem; margin-bottom: var(--space-1); }
.quote-teaser__hint { font-size: 0.9rem; color: var(--text-tertiary, var(--charcoal)); opacity: 0.75; margin-bottom: var(--space-3); }
.field-row { display: flex; flex-direction: column; gap: var(--space-2); }
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary, var(--charcoal));
}
.field input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--charcoal);
}
.field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181, 98, 45, 0.15);
}
.quote-teaser .btn { margin-top: var(--space-2); }

/* ==========================================================================
   Why-us
   ========================================================================== */

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head .eyebrow { color: var(--terracotta); margin-bottom: var(--space-2); display: block; }
.section-head h2 { font-size: var(--step-h2); line-height: 1.15; margin-bottom: var(--space-2); }
.section-head p { font-size: var(--step-body-lg); color: var(--text-secondary, var(--charcoal)); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
/* .why-card never had its own padding/background/radius rule — .service-card had
   one, this didn't. It went unnoticed in the flat design (low-contrast card edge
   on sand-2) but became obvious once .glass gave the card a visible border. */
.why-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}
.why-card__icon {
  width: 44px;
  height: 44px;
  color: var(--terracotta);
  margin-bottom: var(--space-2);
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-secondary, var(--charcoal)); }

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.service-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-card__icon { width: 40px; height: 40px; color: var(--moss); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--text-secondary, var(--charcoal)); flex-grow: 1; }
.service-card--callout { background: var(--espresso); color: var(--sand); }
.service-card--callout h3 { color: var(--sand); }
.service-card--callout p { color: var(--sand); opacity: 0.85; }
.service-card--callout .service-card__icon { color: var(--brass); }
/* When liquid-glass's .glass is layered on (see index.html), its translucent
   var(--glass-surface) would otherwise replace this card's fixed dark background,
   losing the "always-featured, always-dark" callout distinction in light theme. */
.service-card--callout.glass { background: rgba(27, 20, 14, 0.72); }

/* ==========================================================================
   How it works
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--space-4);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--space-2);
}
.step h3 { font-size: 1.1rem; color: var(--text-primary, var(--sand)); margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary, var(--sand)); opacity: 0.8; font-size: 0.95rem; }

/* ---- Flip-card variant of the same 4-step grid (homepage only) ----
   Front: number + icon + title. Back: title + description. Flips on hover
   (desktop, real hover) or once via scroll-into-view (touch — see js/main.js;
   gated on `(hover: none)` so desktop doesn't get a redundant scroll-trigger
   on top of hover). Fixed height front/back stack via position:absolute, so
   the card doesn't reflow the grid when it flips. */
.step-card { perspective: 1200px; }
.step-card__inner {
  position: relative;
  min-height: 190px;
  transform-style: preserve-3d;
  transition: transform 650ms var(--spring, cubic-bezier(.34,1.56,.64,1));
}
.step-card:hover .step-card__inner,
.step-card.is-flipped .step-card__inner { transform: rotateY(180deg); }
.step-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
}
.step-card__front {
  background: var(--panel-surface, rgba(237, 230, 216, 0.06));
  border: 1px solid var(--divider, rgba(237, 230, 216, 0.14));
}
.step-card__back {
  background: var(--panel-surface, rgba(237, 230, 216, 0.1));
  border: 1px solid var(--divider, rgba(237, 230, 216, 0.14));
  transform: rotateY(180deg);
  justify-content: center;
}
.step-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.step-card__icon { width: 30px; height: 30px; color: var(--icon-tone, var(--brass)); margin-bottom: auto; }
.step-card__front h3, .step-card__back h3 { font-size: 1.05rem; color: var(--text-primary, var(--sand)); margin-bottom: 0.4rem; }
.step-card__back p { color: var(--text-secondary, var(--sand)); opacity: 0.85; font-size: 0.92rem; }
.step-card__hint { margin-top: auto; font-size: 0.75rem; color: var(--text-tertiary, rgba(237,230,216,0.5)); }
@media (hover: none) {
  .step-card__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step-card__inner { transition: none; }
}

/* ==========================================================================
   Story / Service-area teasers
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.split__media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand-2), var(--brass) 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary, var(--espresso));
  opacity: 0.6;
}
.split__media svg { width: 64px; height: 64px; }
.split h2 { font-size: var(--step-h2); margin-bottom: var(--space-2); }
.split p { color: var(--text-secondary, var(--charcoal)); margin-bottom: var(--space-3); font-size: var(--step-body-lg); }

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.area-list li { display: flex; align-items: center; gap: 0.5rem; }
.area-list li::before { content: ''; width: 6px; height: 6px; background: var(--moss); flex-shrink: 0; }

/* ==========================================================================
   Placeholder (testimonials/gallery — deferred)
   ========================================================================== */

.placeholder-card {
  border: 1px dashed var(--panel-border, var(--sand-line));
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  background: var(--panel-surface, var(--sand-2));
}
/* On liquid-glass pages this already sits inside a themed .section-panel; its own
   fixed --sand-2 fill was opaque and light-only, so dark theme's light (--text-primary)
   heading/text landed on a light card — the actual cause of the unreadable placeholder. */
.placeholder-card h3 { margin-bottom: 0.5rem; }
.placeholder-card p { color: var(--text-secondary, var(--charcoal)); max-width: 46ch; margin: 0 auto; }

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

.site-footer { background: var(--espresso); color: var(--sand); padding-top: var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--espresso-line);
}
.footer-brand .logo { color: var(--sand); margin-bottom: var(--space-2); }
.footer-brand p { color: var(--sand); opacity: 0.7; max-width: 30ch; }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--espresso-line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--sand); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col address { color: var(--sand); opacity: 0.8; font-style: normal; }
.footer-col a:hover { opacity: 1; }
.footer-hours { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; opacity: 0.8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0 var(--space-4);
  font-size: 0.85rem;
  opacity: 0.65;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer-bottom a:hover { opacity: 1; }

/* ==========================================================================
   Inner-page hero (Residential/Commercial/Service Areas/About/FAQ)
   ========================================================================== */

.hero--page { padding: var(--space-6) 0 var(--space-5); }
.hero--page h1 { font-size: var(--step-h2); }
.hero--page .hero__sub { margin-bottom: var(--space-2); }

/* ==========================================================================
   Feature grid (sub-services, detail lists)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-4);
}
.feature-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.feature-card__icon { width: 34px; height: 34px; color: var(--moss); margin-bottom: var(--space-2); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-secondary, var(--charcoal)); font-size: 0.95rem; }

/* ==========================================================================
   Callout box (pricing guarantee, COI assistance, etc.)
   ========================================================================== */

.callout-box {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--espresso);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.callout-box__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  color: var(--brass);
}
.callout-box h3 { color: var(--sand); font-size: 1.2rem; margin-bottom: 0.4rem; }
.callout-box p { color: var(--sand); opacity: 0.85; margin-bottom: var(--space-2); }
.callout-box--light { background: var(--sand); color: var(--charcoal); border: 1px solid var(--sand-line); }
.callout-box--light h3 { color: var(--espresso); }
.callout-box--light p { color: var(--charcoal); opacity: 1; }
.callout-box--light .callout-box__icon { color: var(--terracotta); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--sand);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--espresso);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { margin-top: 0.8rem; color: var(--charcoal); }
.faq-group { margin-bottom: var(--space-5); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h3 { font-size: 1.15rem; margin-bottom: var(--space-2); color: var(--terracotta); }

/* ==========================================================================
   Region cards (Service Areas)
   ========================================================================== */

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.region-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.region-card h3 { margin-bottom: 0.4rem; }
.region-card p { color: var(--text-secondary, var(--charcoal)); margin-bottom: var(--space-2); }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  background: var(--sand-2);
  color: var(--charcoal);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* ==========================================================================
   Quote wizard
   ========================================================================== */

.wizard-shell { padding: var(--space-5) 0 var(--space-6); }
.wizard-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-4);
  align-items: start;
  min-width: 0;
}
.wizard-main {
  background: var(--sand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  min-width: 0;
}
.wizard-progress { display: flex; gap: 6px; margin-bottom: var(--space-4); }
.wizard-progress__seg { flex: 1; height: 5px; border-radius: 3px; background: var(--sand-line); }
.wizard-progress__seg.is-done { background: var(--terracotta); }
.wizard-progress__seg.is-current { background: var(--brass); }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: wizard-fade-in 0.25s ease; }
@keyframes wizard-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-step h2 { font-size: var(--step-h3); margin-bottom: 0.4rem; }
.wizard-step .step-hint { color: var(--charcoal); margin-bottom: var(--space-3); }
.step-skip { display: inline-block; margin-top: var(--space-2); font-size: 0.9rem; color: var(--charcoal); text-decoration: underline; }

.service-type-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
.chip-choice { position: relative; }
.chip-choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip-choice span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--sand-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.chip-choice input:checked + span { border-color: var(--terracotta); background: rgba(181, 98, 45, 0.1); color: var(--terracotta); }
.chip-choice input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.wizard-substep { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--sand-line); }

.details-block { margin-bottom: var(--space-4); }
.details-block h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.details-block:last-of-type { margin-bottom: var(--space-2); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--space-2); min-width: 0; }
.choice-card { position: relative; }
.choice-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice-card__body {
  /* Was a bare <span> with no display override — stayed inline, so the icon's
     margin:auto centering did nothing and padding/border didn't box correctly
     around the stacked icon+label. */
  display: block;
  border: 1.5px solid var(--sand-line);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice-card__body svg { width: 26px; height: 26px; color: var(--moss); margin: 0 auto var(--space-1); }
.choice-card__body span { display: block; font-weight: 600; font-size: 0.92rem; }
.choice-card input:checked + .choice-card__body { border-color: var(--terracotta); background: rgba(181, 98, 45, 0.07); }
.choice-card input:focus-visible + .choice-card__body { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.number-grid { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.number-card { position: relative; width: 84px; }
.number-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.number-card__body {
  border: 1.5px solid var(--sand-line);
  border-radius: var(--radius);
  padding: var(--space-3) 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.number-card input:checked + .number-card__body { border-color: var(--terracotta); background: rgba(181, 98, 45, 0.07); color: var(--terracotta); }

.date-choice-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.date-choice-row .choice-card { flex: 1; min-width: 130px; }
.field-inline { margin-bottom: var(--space-3); }
.checkbox-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--charcoal); }

.stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--sand-line); gap: var(--space-2); }
.stepper-row:last-of-type { border-bottom: none; }
.stepper-label { font-weight: 500; }
.stepper-sub { font-size: 0.82rem; color: var(--charcoal); opacity: 0.7; }
.stepper-controls { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.stepper-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--sand-line);
  background: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.stepper-value { min-width: 1.4rem; text-align: center; font-weight: 600; }
.stepper-other { margin-top: var(--space-3); }
.stepper-other textarea { width: 100%; font-family: var(--font-body); padding: 0.7rem 0.9rem; border: 1px solid var(--sand-line); border-radius: var(--radius); resize: vertical; min-height: 70px; }

.upload-drop {
  border: 1.5px dashed var(--sand-line);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  color: var(--charcoal);
  background: var(--sand-2);
}
.upload-drop input { margin-top: var(--space-2); }
.upload-drop__hint { font-size: 0.85rem; opacity: 0.75; margin-top: 0.3rem; }

.textarea-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 110px;
}

.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; margin: var(--space-3) 0; font-size: 0.88rem; color: var(--charcoal); }
.consent-row input { margin-top: 0.25rem; flex-shrink: 0; }
.consent-row a { text-decoration: underline; }
/* .consent-row's own --charcoal is correct in the main wizard (light card) but
   wrong reused inside the dark sidebar callback form — same fixed-color-in-a-
   variable-background pattern as elsewhere on this page. */
.wizard-sidebar .consent-row { color: var(--sand); }
.wizard-sidebar .field label { color: rgba(237, 230, 216, 0.7); }

.hidden-field { position: absolute; left: -9999px; top: -9999px; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-4); }
.wizard-nav__spacer { flex-grow: 1; }

.wizard-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--espresso);
  color: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 0;
}
.wizard-sidebar h4 { color: var(--sand); font-size: 0.95rem; margin-bottom: var(--space-3); }
.wizard-sidebar .trust-bar { flex-direction: column; align-items: flex-start; gap: 0.7rem; margin-bottom: var(--space-3); }
.wizard-sidebar__phone { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--sand); margin-bottom: 0.3rem; }
.wizard-sidebar__note { font-size: 0.85rem; opacity: 0.75; color: var(--sand); }
.wizard-sidebar hr { border: none; border-top: 1px solid var(--espresso-line); margin: var(--space-3) 0; }

.wizard-success { text-align: center; padding: var(--space-5) var(--space-2); }
.wizard-success__icon { width: 60px; height: 60px; color: var(--terracotta); margin: 0 auto var(--space-3); }
.wizard-success h2 { margin-bottom: var(--space-2); }
.wizard-success p { color: var(--charcoal); max-width: 46ch; margin: 0 auto var(--space-2); }

@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-sidebar { position: static; }
}
@media (max-width: 560px) {
  .region-grid { grid-template-columns: 1fr; }
  .wizard-main { padding: var(--space-3); }
}

/* ==========================================================================
   Floating quote tab
   ========================================================================== */

.floating-tab {
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--terracotta);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 1.1rem 0.6rem;
  border-radius: var(--radius) 0 0 var(--radius);
  z-index: 90;
  box-shadow: var(--shadow-soft);
}
.floating-tab:hover { background: var(--terracotta-dark); }

@media (max-width: 720px) {
  .floating-tab { display: none; }
  .mobile-quote-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--espresso);
    padding: 0.7rem var(--space-2);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  }
}
@media (min-width: 721px) {
  .mobile-quote-bar { display: none; }
}

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

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .why-grid, .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-5); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  section { padding: var(--space-5) 0; }
  .hero { padding: var(--space-5) 0 var(--space-4); }
  .steps-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
