/* ==========================================================================
   West Valley Cleaning Services LLC: Design System — "Quiet Editorial"
   Colors: Deep forest ink + warm ivory + a single sparing terracotta accent
   Fonts: Fraunces (display headlines) / Instrument Sans (body + UI chrome)
   ========================================================================== */

:root {
  /* Color tokens */
  --color-primary: #1B2E22;
  --color-primary-dark: #12211A;
  --color-on-primary: #FAF6F0;
  --color-accent: #C4633E;
  --color-accent-dark: #A84F30;
  --color-on-accent: #FAF6F0;
  --color-background: #FAF6F0;
  --color-foreground: #1B2E22;
  --color-muted: #F1EBE1;
  --color-muted-foreground: #5B6B5E;
  --color-border: #E4DACB;
  --color-destructive: #B3261E;
  --color-ring: #1B2E22;

  /* Dark contrast band (stats bar, footer, lightbox overlay) */
  --color-dark: #16241C;
  --color-dark-rgb: 22, 36, 28;

  /* Muted sage: secondary tint used only to add quiet variety to alternating
     icon slots — never a second "loud" color, always paired with ivory. */
  --color-sage: #7A8471;
  --color-sage-dark: #57614F;
  --color-sage-tint: #EEF1EA;
  --color-sage-border: #DCE3D5;

  /* Typography: Fraunces carries display headlines (warm, editorial, a
     little upscale); Instrument Sans is the workhorse for body copy and UI
     chrome (buttons, nav, labels, tags). */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-heading: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows — used sparingly; hairline borders do most of the separating work */
  --shadow-sm: 0 1px 2px rgba(27, 46, 34, 0.06);
  --shadow-md: 0 2px 10px rgba(27, 46, 34, 0.08);
  --shadow-lg: 0 12px 28px rgba(27, 46, 34, 0.12);
  --shadow-xl: 0 24px 48px rgba(27, 46, 34, 0.16);

  /* Layout */
  --topbar-height: 40px;
  --nav-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-width: 1200px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  padding-top: calc(var(--topbar-height) + var(--nav-height));
  overflow-x: hidden;
  position: relative;
}

/* Subtle warm paper-grain texture across the whole page — keeps flat ivory
   from reading as a blank document. Kept faint (3%) so it never fights text. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--color-foreground);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h4 { font-family: var(--font-heading); font-weight: 700; }

h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 var(--space-md); color: var(--color-muted-foreground); }

a { color: var(--color-primary); text-decoration: none; }

ul { padding-left: 0; list-style: none; margin: 0; }

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

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

/* Editorial label: tracked uppercase text, reads as a section kicker. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}
.eyebrow.blush { color: var(--color-sage-dark); }

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }

.section-head p { font-size: 1.05rem; }

.bg-muted { background-color: var(--color-muted); }

.bg-primary { background: var(--color-primary); color: var(--color-on-primary); }
.bg-primary h2, .bg-primary h3 { color: var(--color-on-primary); }
.bg-primary p { color: rgba(250, 246, 240, 0.8); }

.bg-dark {
  background-color: var(--color-dark);
  background-image: radial-gradient(circle at 20% 20%, rgba(250, 246, 240, 0.05) 0, transparent 50%);
  color: #fff;
}
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255, 255, 255, 0.72); }

/* Hairline divider — draws itself left-to-right when scrolled into view via
   the .is-visible class toggled by js/main.js's IntersectionObserver. */
.divider {
  height: 1px;
  background: var(--color-border);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.divider.is-visible { transform: scaleX(1); }

/* Scroll-reveal: quiet fade + rise as sections enter the viewport. */
.reveal-io {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-io.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-on-primary); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(250, 246, 240, 0.55);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(250, 246, 240, 0.12); border-color: #fff; }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Top Info Bar
   ========================================================================== */

.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-height);
  background: var(--color-primary-dark);
  color: rgba(250, 246, 240, 0.92);
  z-index: 1001;
  font-size: 0.85rem;
}

.top-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-width: 0;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(250, 246, 240, 0.92);
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms ease;
}
.top-bar-left a:hover { color: #fff; }
.top-bar-left svg { flex-shrink: 0; color: rgba(250, 246, 240, 0.65); }

.top-bar-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(250, 246, 240, 0.95);
}

@media (max-width: 760px) {
  .top-bar-tagline { display: none; }
}

@media (max-width: 480px) {
  .top-bar-email { display: none; }
}

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

.site-header {
  position: fixed;
  top: var(--topbar-height); left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}
.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin: 0;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-foreground);
  padding: var(--space-sm) 0;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--color-primary); }

/* .nav-links a's color rule otherwise outranks .btn-primary's (both are one
   class + one element, but this one is more specific) — restore button colors
   for the CTA that lives inside the nav list. */
.nav-links a.btn {
  color: var(--color-on-primary);
  padding: 12px 20px;
}
.nav-links a.btn::after { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
}
.nav-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-foreground);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: calc(var(--topbar-height) + var(--nav-height));
    left: 0; right: 0;
    background: var(--color-background);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-md) var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav-links a { display: block; padding: var(--space-md) 0; }
  .nav-phone-label { display: none; }
  .nav-toggle { display: block; }
}

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

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: var(--space-3xl) 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(196, 99, 62, 0.16) 0, transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(250, 246, 240, 0.10) 0, transparent 50%);
  pointer-events: none;
}

.hero.has-photo {
  background-image:
    linear-gradient(120deg, rgba(19, 32, 25, 0.92) 0%, rgba(16, 27, 21, 0.88) 55%, rgba(var(--color-dark-rgb), 0.85) 100%),
    var(--hero-photo-url);
  background-size: cover;
  background-position: center;
}

/* One orchestrated load-in for the hero: each element fades and lifts into
   place in sequence, rather than scattering motion across the page. */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: reveal-up 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.35s; }
.reveal-4 { animation-delay: 0.5s; }
.reveal-5 { animation-delay: 0.62s; }
.reveal-6 { animation-delay: 0.74s; }

/* Hero headline built from stacked lines (see markup) so each line staggers
   in independently — the one deliberately "big" motion moment on the site. */
.hero-headline { display: block; }
.hero-headline .line {
  display: block;
  opacity: 0;
  animation: reveal-up 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-headline .line:nth-child(1) { animation-delay: 0.15s; }
.hero-headline .line:nth-child(2) { animation-delay: 0.26s; }
.hero-headline .line:nth-child(3) { animation-delay: 0.37s; }

.hero-content {
  max-width: 640px;
  position: relative;
}

/* Hero + stats + quote form as one responsive grid: on desktop the quote
   form sits beside the headline, above the stats band. On mobile the order
   flips so the stats band (social proof) is seen before the form is. */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "text  form"
    "stats stats";
  column-gap: var(--space-2xl);
  row-gap: var(--space-2xl);
  position: relative;
}

.hero-layout .hero-content { grid-area: text; max-width: none; }
.hero-layout .hero-quote-card { grid-area: form; }

.hero-stats-band {
  grid-area: stats;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: var(--color-dark);
  background-image: radial-gradient(circle at 20% 20%, rgba(250, 246, 240, 0.05) 0, transparent 50%);
  padding: var(--space-xl) 0;
}
.hero-stats-band .stats-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "stats"
      "form";
    row-gap: var(--space-xl);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(250, 246, 240, 0.08);
  border: 1px solid rgba(250, 246, 240, 0.22);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
}

.hero h1 { color: #fff; margin-bottom: var(--space-lg); }

.accent-word {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
}
.hero-sub { font-size: 1.15rem; color: rgba(250, 246, 240, 0.82); max-width: 540px; margin-bottom: var(--space-xl); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-2xl); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}
.hero-trust-item svg { color: rgba(250, 246, 240, 0.6); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  color: var(--color-foreground);
  width: 100%;
  max-width: 400px;
}

.hero-badge-card.wide {
  max-width: 540px;
  padding: var(--space-xl);
}
.hero-badge-card.wide .form-grid { gap: var(--space-md) var(--space-lg); }

.hero-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  display: block;
}

.hero-stat-label { font-size: 0.85rem; color: var(--color-muted-foreground); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-badge-card,
  .hero-badge-card.wide { max-width: 100%; }
}

/* ==========================================================================
   Page Hero (interior pages) — light and airy, not a dark corporate banner
   ========================================================================== */

.page-hero {
  background: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-foreground);
  padding: var(--space-2xl) 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-foreground); margin-bottom: var(--space-sm); }
.page-hero p { color: var(--color-muted-foreground); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}
.breadcrumb a { color: var(--color-muted-foreground); cursor: pointer; }
.breadcrumb a:hover { color: var(--color-accent-dark); }

/* Editorial pull-quote — large italic serif line with a thin left rule,
   used to lift one sentence out of a narrative block. */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--color-primary);
  border-left: 2px solid var(--color-accent);
  padding: 0.2em 0 0.2em 1.2em;
  margin: var(--space-xl) 0;
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-xl);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flat, hairline-bordered cards — depth comes from a border-color shift and
   a small lift on hover, not a drop shadow. */
.card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-muted);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}
.card-icon.blush { background: var(--color-sage-tint); color: var(--color-sage-dark); }

.card h3 { margin-bottom: var(--space-sm); }
.card p { margin-bottom: var(--space-md); font-size: 0.95rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
  cursor: pointer;
  transition: gap 200ms ease;
}
.card-link:hover { gap: var(--space-sm); }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-foreground);
  font-size: 0.97rem;
}
.check-list svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

/* ==========================================================================
   Service detail blocks
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-visual { order: -1; }

@media (max-width: 900px) {
  .service-block, .service-block.reverse .service-visual { grid-template-columns: 1fr; order: 0; }
  .service-block { grid-template-columns: 1fr; }
}

.service-visual {
  background: var(--color-muted);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.service-visual svg { width: 100%; max-width: 220px; height: auto; color: var(--color-primary); }

.service-visual.has-photo {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 4 / 3.2;
}
.service-visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.service-visual.has-photo:hover img { transform: scale(1.04); }

.service-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}
.service-tag.blush { color: var(--color-sage-dark); }
.service-tag.primary { color: var(--color-primary); }

/* ==========================================================================
   Why choose us / feature strip
   ========================================================================== */

.feature-item { text-align: center; }
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: transform 200ms ease;
}
.feature-icon.blush { background: var(--color-sage-tint); color: var(--color-sage-dark); }
.feature-item:hover .feature-icon { transform: scale(1.06); }
.feature-item h3 { font-size: 1.1rem; }
.feature-item p { font-size: 0.92rem; }

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.stats-bar .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--color-accent);
  display: block;
}
.stats-bar .label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

@media (max-width: 700px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Service area
   ========================================================================== */

.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 900px) {
  .area-layout { grid-template-columns: 1fr; }
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3.4;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-lg);
}
.area-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.area-list svg { color: var(--color-accent-dark); flex-shrink: 0; }

@media (max-width: 500px) {
  .area-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA banner — deep forest panel, one accent-colored button for pop
   ========================================================================== */

.cta-banner {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--color-on-primary);
}
.cta-banner h2 { color: var(--color-on-primary); margin-bottom: var(--space-sm); }
.cta-banner p { color: rgba(250, 246, 240, 0.8); max-width: 520px; margin: 0 auto var(--space-xl); }
.cta-banner .btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.cta-banner .btn-primary:hover { background: var(--color-accent-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* ==========================================================================
   Photo Gallery / Lightbox
   ========================================================================== */

.photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-muted);
  cursor: pointer;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 450ms ease;
}
.photo:hover img { transform: scale(1.06); }
.photo:hover { border-color: var(--color-accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.gallery-grid .photo { aspect-ratio: 1 / 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.photo-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
/* Soft glow behind the photo trio so they lift off the flat muted background */
.photo-strip::before {
  content: '';
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(196, 99, 62, 0.10) 0%, transparent 65%);
  pointer-events: none;
}
.photo-strip .photo { aspect-ratio: 4 / 3.2; cursor: default; }
.photo-strip .photo:hover img { transform: none; }

@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(var(--color-dark-rgb), 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  z-index: 3000;
}
.lightbox.is-open { display: flex; }

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  touch-action: pan-y;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  user-select: none;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}

.lightbox-close {
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  z-index: 1;
}
.lightbox-close:hover { background: rgba(250, 246, 240, 0.25); }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox-arrow:hover { background: rgba(250, 246, 240, 0.25); transform: translateY(-50%) scale(1.06); }
.lightbox-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox-prev { left: var(--space-lg); }
.lightbox-next { right: var(--space-lg); }

@media (max-width: 640px) {
  .lightbox-arrow { width: 44px; height: 44px; }
  .lightbox-prev { left: var(--space-sm); }
  .lightbox-next { right: var(--space-sm); }
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  background: rgba(250, 246, 240, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Quick Quote — compact lead-capture band on the homepage, below the stats
   ========================================================================== */

.quick-quote-section { padding: var(--space-2xl) 0; }

.quick-quote-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.quick-quote-head { text-align: center; margin-bottom: var(--space-lg); }
.quick-quote-head h2 { margin-bottom: 4px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.quick-quote-head p { margin: 0; font-size: 0.95rem; }

.quick-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
  align-items: end;
}
.quick-quote-grid .full { grid-column: 1 / -1; }

.quick-quote-submit { display: flex; margin-top: var(--space-xs); }
.quick-quote-submit .btn { width: 100%; }

@media (max-width: 560px) {
  .quick-quote-card { padding: var(--space-lg); }
  .quick-quote-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Forms — underline-style fields, editorial rather than boxy
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: var(--space-xs); }

.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.field .required { color: var(--color-accent); }

.field input,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 2px;
  border: none;
  border-bottom: 1.5px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-foreground);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6B5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
}

.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-foreground);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.field input:invalid[data-touched="true"],
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--color-destructive);
}

.field-error {
  font-size: 0.82rem;
  color: var(--color-destructive);
  min-height: 1.1em;
}

.form-status {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-status.success { display: block; background: #ECF3EA; color: #2F4A2C; border: 1px solid #C9DDC3; }
.form-status.error { display: block; background: #FBEEEA; color: #8C3A22; border: 1px solid #F0CFC0; }
.form-status.loading { display: block; background: var(--color-muted); color: var(--color-primary); }

/* ==========================================================================
   Contact info cards
   ========================================================================== */

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-muted);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon.blush { background: var(--color-sage-tint); color: var(--color-sage-dark); }
.contact-info-card h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-heading); }
.contact-info-card p { margin: 0; font-size: 0.95rem; }
.contact-info-card a { color: var(--color-accent-dark); font-weight: 600; cursor: pointer; }

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

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 0.8fr 1.3fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.footer-logo img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.footer-col li { margin-bottom: var(--space-sm); }
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.94rem;
  cursor: pointer;
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--color-accent); }

.footer-social { display: none; gap: var(--space-sm); margin-top: var(--space-lg); } /* hidden until real social links are added */
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 200ms ease;
}
.footer-social a:hover { background: var(--color-accent); }

.footer-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px var(--space-md);
}
.footer-cities li {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  line-height: 1.3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 2000;
  transition: top 200ms ease;
}
.skip-link:focus { top: var(--space-md); }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; }
