/* =====================================================================
   M's Cleaning Service — Shared Stylesheet
   ---------------------------------------------------------------------
   DESIGN SYSTEM VARIABLES
   Swap any value below to re-skin the whole site. Colors, fonts,
   spacing and radius are all centralized here.
   Default palette = warm terracotta + cream/stone (Ember Studio).
   ===================================================================== */

:root {
  /* ── Brand colors ─────────────────────────────────────────── */
  --color-primary:        #C2410C;   /* terracotta — CTAs, links, accents */
  --color-primary-hover:  #9A3412;   /* burnt sienna — hover */
  --color-accent:         #F59E0B;   /* amber — highlights, small flourishes */
  --color-accent-soft:    #FDE9C8;   /* soft amber wash */

  /* Warm neutral (stone) ramp */
  --ink:                  #1C1917;   /* headings / body */
  --ink-soft:             #44403C;   /* strong body */
  --text-secondary:       #57534E;   /* descriptions */
  --text-muted:           #78716C;   /* captions, meta */
  --border:               #E3DFDA;   /* hairline borders */
  --border-strong:        #D6D3D1;
  --surface:              #FFFFFF;   /* cards on cream */
  --surface-2:            #F5F3F0;   /* raised / alt sections */
  --surface-3:            #EDE9E3;
  --bg:                   #FAF8F5;   /* page — warm cream */
  --ink-invert:           #FAF8F5;   /* text on dark */

  /* Dark warm section (footer / feature bands) */
  --dark:                 #211C18;
  --dark-2:               #2C2521;

  /* Status */
  --success:              #16A34A;
  --warning:              #D97706;
  --error:                #DC2626;

  /* Derived overlays */
  --ring:                 rgba(194, 65, 12, 0.16);
  --glow:                 rgba(194, 65, 12, 0.28);
  --tint:                 rgba(194, 65, 12, 0.07);

  /* ── Typography ───────────────────────────────────────────── */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  /* ── Spacing (4px grid) ───────────────────────────────────── */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);

  /* ── Radius & elevation ───────────────────────────────────── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 2px rgba(28,25,23,0.05);
  --shadow-md:   0 6px 20px rgba(28,25,23,0.07);
  --shadow-lg:   0 18px 48px rgba(28,25,23,0.12);
  --shadow-glow: 0 8px 22px rgba(194,65,12,0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms ease;
  --t-med:  280ms var(--ease);
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:target { scroll-margin-top: 96px; }
[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-primary-hover); }

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

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--color-primary); color: #fff; }

.skip-link {
  position: absolute; left: var(--space-4); top: -120px;
  background: var(--color-primary); color: #fff;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  z-index: 2000; font-weight: var(--fw-semibold); transition: top var(--t-fast);
}
.skip-link:focus { top: var(--space-4); color: #fff; }

/* =====================================================================
   LAYOUT HELPERS
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

section { padding-block: clamp(56px, 9vw, 112px); }

.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head.center { margin-inline: auto; text-align: center; }

.overline {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12px; font-weight: var(--fw-semibold);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.overline::before {
  content: ""; width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px;
}
.section-head.center .overline { justify-content: center; }

h1 { font-size: clamp(40px, 6.2vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-secondary); line-height: 1.6; }
.eyebrow-num { font-family: var(--font-display); }

.text-primary { color: var(--color-primary); }
.serif { font-family: var(--font-display); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold); font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--t-fast); white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); border-color: var(--text-muted); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); color: var(--color-primary); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.topbar {
  background: var(--dark); color: var(--ink-invert);
  font-size: 14px;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; justify-content: space-between; padding-block: 9px; }
.topbar a { color: var(--ink-invert); opacity: .85; }
.topbar a:hover { color: #fff; opacity: 1; }
.topbar-info { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.topbar-info svg { width: 15px; height: 15px; color: var(--color-accent); flex-shrink: 0; }
.hide-sm { display: inline-flex; }
@media (max-width: 1024px) { .hide-sm { display: none !important; } }
.topbar-social { display: flex; gap: var(--space-3); align-items: center; }
.topbar-social a { display: grid; place-items: center; }
.topbar-social svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,248,245,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); background: rgba(250,248,245,0.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-4); }

.brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; display: block; }
.site-footer .brand-logo { height: 66px; background: var(--bg); border-radius: var(--radius-lg); padding: 8px 14px; }
@media (max-width: 560px) { .brand-logo { height: 48px; } }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 21px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); font-weight: var(--fw-semibold); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: var(--space-1); }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--radius-md);
  color: var(--ink-soft); font-weight: var(--fw-semibold); font-size: 15.5px;
  transition: all var(--t-fast); background: none; border: none;
}
.nav-link:hover { color: var(--color-primary); background: var(--tint); }
.nav-link[aria-current="page"] { color: var(--color-primary); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--color-primary); border-radius: 2px;
}
.has-submenu > .nav-link svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.has-submenu:hover > .nav-link svg, .has-submenu:focus-within > .nav-link svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 248px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu.cols2 { min-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.submenu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-md);
  color: var(--ink-soft); font-weight: var(--fw-medium); font-size: 15px;
}
.submenu a small { display: block; color: var(--text-muted); font-weight: var(--fw-regular); font-size: 12.5px; margin-top: 2px; }
.submenu a:hover { background: var(--tint); color: var(--color-primary); }

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

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border-strong);
  background: var(--surface); border-radius: var(--radius-md);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-fast), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 em { font-style: italic; color: var(--color-primary); }
.hero .lead { margin-bottom: var(--space-8); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.hero-trust .stars { display: inline-flex; gap: 2px; color: var(--color-accent); }
.hero-trust .stars svg { width: 18px; height: 18px; fill: currentColor; }
.hero-trust strong { color: var(--ink); }

.hero-media { position: relative; }
.hero-media .img-wrap {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-media .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; gap: var(--space-3);
}
.hero-badge .icon-circle { background: var(--tint); }
.hero-badge.tl { top: 24px; left: -28px; }
.hero-badge.br { bottom: 28px; right: -24px; }
.hero-badge .b-num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; color: var(--ink); line-height: 1; }
.hero-badge .b-label { font-size: 13px; color: var(--text-muted); }

.icon-circle {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--tint); color: var(--color-primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.icon-circle svg { width: 24px; height: 24px; }

/* badge ribbon */
.ribbon {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--accent-soft); color: var(--warning);
  border-radius: var(--radius-full); padding: 6px 14px;
  font-size: 13px; font-weight: var(--fw-semibold); margin-bottom: var(--space-5);
}
.ribbon svg { width: 15px; height: 15px; }

/* =====================================================================
   MARQUEE / CITY STRIP
   ===================================================================== */
.cities-strip { background: var(--dark); color: var(--ink-invert); padding-block: var(--space-6); overflow: hidden; }
.cities-track { display: flex; gap: var(--space-10); align-items: center; white-space: nowrap; animation: marquee 36s linear infinite; }
.cities-strip:hover .cities-track { animation-play-state: paused; }
.cities-track span { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 22px; opacity: .92; }
.cities-track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   CARDS / GRID
   ===================================================================== */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card.hoverable:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.service-card { display: flex; flex-direction: column; gap: var(--space-4); position: relative; overflow: hidden; }
.service-card .icon-circle { width: 56px; height: 56px; }
.service-card .icon-circle svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 22px; }
.service-card p { color: var(--text-secondary); font-size: 16px; }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--fw-semibold); font-size: 15px; }
.service-card .more svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service-card:hover .more svg { transform: translateX(4px); }
.service-card::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--color-primary);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-med); border-radius: 4px;
}
.service-card.hoverable:hover::after { transform: scaleY(1); }

/* feature mini list */
.feature-list { display: grid; gap: var(--space-3); }
.feature-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-soft); }
.feature-list li svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: clamp(38px, 5vw, 56px); color: var(--color-primary); line-height: 1; letter-spacing: -0.02em; }
.stat .label { margin-top: var(--space-2); font-size: 15px; color: var(--text-secondary); font-weight: var(--fw-medium); }
.stats.on-dark .stat .num { color: var(--color-accent); }
.stats.on-dark .stat .label { color: rgba(250,248,245,0.7); }

/* =====================================================================
   SPLIT / ABOUT BANDS
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.media-left { direction: rtl; }
.split.media-left > * { direction: ltr; }
.media-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; }

.band-dark { background: var(--dark); color: var(--ink-invert); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark p { color: rgba(250,248,245,0.78); }
.band-dark .overline { color: var(--color-accent); }
.band-dark .overline::before { background: var(--color-accent); }
.band-2 { background: var(--surface-2); }

/* =====================================================================
   PROCESS TIMELINE
   ===================================================================== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 7%; right: 7%; height: 2px; background: var(--border-strong); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .num-badge {
  width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: var(--radius-full);
  background: var(--surface); border: 2px solid var(--color-primary); color: var(--color-primary);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 22px;
}
.step h3 { font-size: 20px; margin-bottom: var(--space-2); }
.step p { font-size: 15px; color: var(--text-secondary); }

/* =====================================================================
   COMPARISON TABLE
   ===================================================================== */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: var(--fw-semibold); }
.compare thead th.us { color: var(--color-primary); }
.compare tbody td { color: var(--ink-soft); }
.compare td.feature { font-weight: var(--fw-semibold); color: var(--ink); }
.compare .col-us { background: var(--tint); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--success); display: inline-flex; }
.compare .no { color: var(--text-muted); display: inline-flex; }
.compare svg { width: 20px; height: 20px; }
.compare thead th.us { background: var(--tint); }

/* =====================================================================
   FAQ ACCORDION (CSS-only)
   ===================================================================== */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-5) var(--space-6);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 24px; height: 24px; color: var(--color-primary); transition: transform var(--t-med); flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--space-6) var(--space-5); color: var(--text-secondary); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi-grid { columns: 3; column-gap: var(--space-6); }
.testi {
  break-inside: avoid; margin-bottom: var(--space-6);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.testi .stars { display: inline-flex; gap: 2px; color: var(--color-accent); margin-bottom: var(--space-3); }
.testi .stars svg { width: 17px; height: 17px; fill: currentColor; }
.testi blockquote { font-size: 17px; color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--space-4); }
.testi .who { display: flex; align-items: center; gap: var(--space-3); }
.testi .avatar { width: 44px; height: 44px; border-radius: var(--radius-full); display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); color: #fff; flex-shrink: 0; }
.testi .who .name { font-weight: var(--fw-semibold); color: var(--ink); font-size: 15px; }
.testi .who .loc { font-size: 13px; color: var(--text-muted); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-band.band-dark .cta-inner h2 { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* quick call form */
.quick-form { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.quick-form input { flex: 1 1 200px; }

/* =====================================================================
   FORMS
   ===================================================================== */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label { font-weight: var(--fw-semibold); color: var(--ink); font-size: 15px; }
.field label .req { color: var(--color-primary); }
.field .hint { font-size: 13px; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); padding: 13px 15px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--ring); }
.textarea { resize: vertical; min-height: 130px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: var(--space-3); }
.form-success { display: none; background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.3); color: #15803d; border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-5); font-weight: var(--fw-medium); }
.form-success.show { display: block; }

/* contact info cards */
.contact-rows { display: grid; gap: var(--space-4); }
.contact-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-row .icon-circle { width: 46px; height: 46px; }
.contact-row .icon-circle svg { width: 22px; height: 22px; }
.contact-row .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: var(--fw-semibold); }
.contact-row .value { font-size: 18px; color: var(--ink); font-weight: var(--fw-semibold); }
.contact-row .value a { color: var(--ink); }
.contact-row .value a:hover { color: var(--color-primary); }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: clamp(48px, 7vw, 88px); }
.page-hero .breadcrumb { display: flex; gap: var(--space-2); align-items: center; font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-4); }
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--color-primary); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: var(--space-4); }
.page-hero p { max-width: 640px; }

/* prose for legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.prose p, .prose li { color: var(--text-secondary); margin-bottom: var(--space-4); }
.prose ul { list-style: disc; padding-left: var(--space-6); }
.prose ul li { margin-bottom: var(--space-2); }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--text-muted); font-size: 15px; margin-bottom: var(--space-8); }

/* area cards */
.area-card { display: flex; flex-direction: column; gap: var(--space-3); }
.area-card h3 { font-size: 20px; display: flex; align-items: center; gap: var(--space-2); }
.area-card h3 svg { width: 20px; height: 20px; color: var(--color-primary); }
.area-card p { font-size: 15px; color: var(--text-secondary); }
.area-card .more { margin-top: auto; font-weight: var(--fw-semibold); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.area-card .more svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.area-card:hover .more svg { transform: translateX(3px); }

/* image with caption tag */
.img-tag { position: absolute; left: var(--space-4); bottom: var(--space-4); background: rgba(33,28,24,0.82); color: #fff; backdrop-filter: blur(6px); padding: 8px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: var(--fw-semibold); }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-full); padding: 8px 16px; font-size: 14px; font-weight: var(--fw-medium); color: var(--ink-soft); }
.pill svg { width: 14px; height: 14px; color: var(--color-primary); }
.band-dark .pill { background: var(--dark-2); border-color: rgba(255,255,255,0.12); color: rgba(250,248,245,0.9); }

/* =====================================================================
   IMAGE FALLBACK (when remote photo fails)
   ===================================================================== */
.img-ph {
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  display: grid; place-items: center; color: var(--text-muted);
}
.img-ph svg { width: 24%; height: 24%; max-width: 80px; opacity: .5; }

/* =====================================================================
   MAP EMBED
   ===================================================================== */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--surface-2); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-frame.sm iframe { height: 320px; }

.review-card { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.review-card .stars { display: inline-flex; gap: 2px; color: var(--color-accent); }
.review-card .stars svg { width: 18px; height: 18px; fill: currentColor; }
.btn .g-mark { width: 18px; height: 18px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: rgba(250,248,245,0.72); padding-top: var(--space-20); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-10); padding-bottom: var(--space-16); }
.site-footer .brand-name, .site-footer h4 { color: #fff; }
.site-footer h4 { font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: var(--fw-semibold); margin-bottom: var(--space-5); }
.footer-about p { margin-block: var(--space-4) var(--space-5); max-width: 320px; }
.footer-links { display: grid; gap: var(--space-3); }
.footer-links a { color: rgba(250,248,245,0.72); font-size: 15px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: var(--space-3); font-size: 15px; }
.footer-contact a { color: rgba(250,248,245,0.72); }
.footer-contact a:hover { color: #fff; }
.footer-contact .line { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1); display: grid; place-items: center; color: rgba(250,248,245,0.8); }
.footer-social a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: center; justify-content: space-between; font-size: 14px; }
.footer-bottom .legal-links { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-bottom a { color: rgba(250,248,245,0.72); }
.footer-bottom a:hover { color: #fff; }

/* =====================================================================
   SCROLL ANIMATIONS
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* hero entrance */
.hero-anim { opacity: 0; transform: translateY(24px); animation: heroUp 0.8s var(--ease) forwards; }
.hero-anim.h1 { animation-delay: 0.05s; }
.hero-anim.h2 { animation-delay: 0.18s; }
.hero-anim.h3 { animation-delay: 0.31s; }
.hero-anim.h4 { animation-delay: 0.44s; }
.hero-media-anim { opacity: 0; transform: scale(0.97) translateY(16px); animation: heroIn 1s var(--ease) 0.2s forwards; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-anim, .hero-media-anim { opacity: 1; transform: none; }
  .cities-track { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .footer-about { grid-column: 1 / -1; }
  .testi-grid { columns: 2; }
}

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu, .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn { padding: 11px 18px; }

  /* mobile menu panel */
  .nav-mobile {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    background: var(--surface); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform var(--t-med);
    z-index: 1500; padding: var(--space-6); overflow-y: auto;
    display: flex; flex-direction: column; gap: var(--space-2);
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-overlay { position: fixed; inset: 0; background: rgba(28,25,23,0.45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); z-index: 1400; }
  .nav-overlay.open { opacity: 1; visibility: visible; }
}

@media (max-width: 860px) {

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .timeline::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--space-8); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-badge.tl { left: 0; }
  .hero-badge.br { right: 0; }

  .split, .cta-inner { grid-template-columns: 1fr; }
  .split.media-left { direction: ltr; }
  .split .media-stack { order: -1; }
  .cta-band .media-stack { order: -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .grid-2, .timeline, .stats, .field-row { grid-template-columns: 1fr; }
  .testi-grid { columns: 1; }
  .hero-badge { display: none; }
  .submenu.cols2 { grid-template-columns: 1fr; }
  .topbar-info { font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-form input { flex-basis: 100%; }
  .nav-mobile .submenu-m { padding-left: var(--space-4); }
}

/* mobile submenu (inside panel) */
.nav-mobile { display: none; }
@media (max-width: 992px) { .nav-mobile { display: flex; } }
.nav-mobile .m-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: var(--radius-md); font-weight: var(--fw-semibold); font-size: 17px; color: var(--ink); }
.nav-mobile .m-link:hover { background: var(--tint); color: var(--color-primary); }
.nav-mobile .m-group > button { width: 100%; background: none; border: none; }
.nav-mobile .m-group .chev { width: 18px; height: 18px; transition: transform var(--t-fast); color: var(--text-muted); }
.nav-mobile .m-group.open .chev { transform: rotate(180deg); }
.nav-mobile .submenu-m { display: none; flex-direction: column; gap: 2px; padding-left: var(--space-3); margin-bottom: var(--space-2); }
.nav-mobile .m-group.open .submenu-m { display: flex; }
.nav-mobile .submenu-m a { padding: 10px 12px; border-radius: var(--radius-md); color: var(--text-secondary); font-size: 15.5px; }
.nav-mobile .submenu-m a:hover { background: var(--tint); color: var(--color-primary); }
.nav-mobile .m-divider { height: 1px; background: var(--border); margin: var(--space-3) 0; }
.nav-mobile .m-foot { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.nav-mobile .m-contact { font-size: 14px; color: var(--text-muted); text-align: center; margin-top: var(--space-2); }
