/* ============================================
   J&J MOSQUITO MISTING SYSTEMS — Design Tokens
   Brand: Louisiana purple & gold, "Fight the Bite"
   ============================================ */

:root,
[data-theme='light'] {
  /* Type scale — fluid clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 6.5rem);

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

  /* Surfaces — warm cream (Louisiana bayou-cream) */
  --color-bg: #fbf7ee;
  --color-surface: #ffffff;
  --color-surface-2: #fdfbf5;
  --color-surface-offset: #f3ecdc;
  --color-surface-offset-2: #ece2cb;
  --color-surface-dynamic: #e6d9bd;
  --color-divider: #e6dcc4;
  --color-border: #ddd0ac;

  /* Text (deep purple-black) */
  --color-text: #221331;
  --color-text-muted: #6b5f7d;
  --color-text-faint: #a99ebc;
  --color-text-inverse: #fdfbf5;

  /* Primary Accent — LSU Purple */
  --color-primary: #461d7c;
  --color-primary-hover: #341460;
  --color-primary-active: #260d47;
  --color-primary-highlight: #e4d9f0;

  /* Secondary Accent — LSU Gold */
  --color-gold: #fdd023;
  --color-gold-hover: #e0b400;
  --color-gold-active: #b89100;
  --color-gold-highlight: #fdf0c0;

  /* Warning (Terra) */
  --color-warning: #964219;
  --color-warning-hover: #713417;
  --color-warning-highlight: #ddcfc6;

  /* Error */
  --color-error: #a12c2c;
  --color-error-hover: #7d1e1e;
  --color-error-highlight: #e6d3d3;

  /* Success — bayou sage green */
  --color-success: #4c7a3a;
  --color-success-hover: #3a5e2c;
  --color-success-highlight: #d8e3ce;

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

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

  /* Shadows — warm-tinted */
  --shadow-sm: 0 1px 2px oklch(0.2 0.05 300 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.05 300 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.2 0.05 300 / 0.18);

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

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #17101f;
  --color-surface: #1d1526;
  --color-surface-2: #221a2b;
  --color-surface-offset: #251c30;
  --color-surface-offset-2: #2c2237;
  --color-surface-dynamic: #362a44;
  --color-divider: #2f2539;
  --color-border: #3d3149;
  --color-text: #ece6f2;
  --color-text-muted: #b3a5c4;
  --color-text-faint: #776a8a;
  --color-text-inverse: #221331;

  --color-primary: #9b6fd1;
  --color-primary-hover: #b28ee0;
  --color-primary-active: #c7abe9;
  --color-primary-highlight: #372a49;

  --color-gold: #fdd023;
  --color-gold-hover: #fddf5f;
  --color-gold-active: #fee98a;
  --color-gold-highlight: #453b1e;

  --color-warning: #d38a5c;
  --color-warning-hover: #e0a37c;
  --color-warning-highlight: #453424;

  --color-error: #d97a7a;
  --color-error-hover: #e29a9a;
  --color-error-highlight: #45282a;

  --color-success: #8fbf74;
  --color-success-hover: #a6d090;
  --color-success-highlight: #2c3a24;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #17101f;
    --color-surface: #1d1526;
    --color-surface-2: #221a2b;
    --color-surface-offset: #251c30;
    --color-surface-offset-2: #2c2237;
    --color-surface-dynamic: #362a44;
    --color-divider: #2f2539;
    --color-border: #3d3149;
    --color-text: #ece6f2;
    --color-text-muted: #b3a5c4;
    --color-text-faint: #776a8a;
    --color-text-inverse: #221331;
    --color-primary: #9b6fd1;
    --color-primary-hover: #b28ee0;
    --color-primary-active: #c7abe9;
    --color-primary-highlight: #372a49;
    --color-gold: #fdd023;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 6px 20px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ============================================
   Layout primitives
   ============================================ */

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

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
section.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}
[data-theme='dark'] .eyebrow {
  color: var(--color-text-inverse);
  background: var(--color-primary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-text);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-block: var(--space-4) var(--space-3);
}
.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

p {
  max-width: 68ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--color-gold);
  color: #241300;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-gold-hover);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-secondary:hover {
  background: var(--color-primary-hover);
}
.btn-outline {
  background: transparent;
  border-color: oklch(from var(--color-text) l c h / 0.2);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-block {
  width: 100%;
}
.btn svg {
  width: 18px;
  height: 18px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand-mark {
  width: auto;
  height: 108px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-word strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.brand-word span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding-block: var(--space-1);
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--color-primary);
}
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.phone-link {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
}
.phone-link svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-primary);
}
.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .phone-link {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--color-bg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--color-text);
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a[aria-current='page'] {
  color: var(--color-primary);
}
.mobile-nav .btn {
  margin-top: var(--space-8);
}
.mobile-nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  text-decoration: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-12), 6vw, var(--space-20));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, oklch(from var(--color-gold) l c h / 0.16), transparent 70%),
    radial-gradient(50% 40% at 5% 90%, oklch(from var(--color-primary) l c h / 0.12), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
  }
}
.hero-heading {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.03;
}
.hero-heading .accent {
  color: var(--color-primary);
}
.hero-heading .underline-gold {
  position: relative;
  white-space: nowrap;
}
.hero-heading .underline-gold::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.14em;
  background: var(--color-gold);
  z-index: -1;
  border-radius: var(--radius-full);
}
.hero-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/11;
}
.hero-media-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-media-badge svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.hero-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  line-height: 1.2;
}
.hero-media-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================
   Stats / Credentials Row
   ============================================ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-10);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.stat-item {
  text-align: center;
  min-width: 160px;
}
.stat-item .stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  line-height: 1.1;
}
.stat-item .stat-label {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}

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

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
[data-theme='dark'] .card-icon {
  background: var(--color-surface-offset);
}
.card-icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.card ul,
.check-list {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.card ul li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.card ul li svg,
.check-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}
.card-price {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-sm);
}
.card--featured,
.card--accent {
  border-color: var(--color-gold);
  position: relative;
}
.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: var(--space-6);
  background: var(--color-gold);
  color: #241300;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

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

.steps {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: var(--space-12);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: var(--text-base);
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   Section variants
   ============================================ */

.section-alt {
  background: var(--color-surface-offset);
}
.section-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-active));
  color: var(--color-text-inverse);
}
.section-primary h2,
.section-primary .section-title {
  color: var(--color-text-inverse);
}
.section-primary p {
  color: oklch(from var(--color-text-inverse) l c h / 0.82);
}

.split {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse {
    direction: rtl;
  }
  .split--reverse > * {
    direction: ltr;
  }
}
.split img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* ============================================
   Badges / pills
   ============================================ */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
}

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

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}
.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 70ch;
}

/* ============================================
   Forms
   ============================================ */

.form-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .form-grid--2col {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
}
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  font-size: var(--text-base);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--color-error);
}
.field.has-error .field-error {
  display: block;
}
.field-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-16) var(--space-6);
}
.form-success.is-visible {
  display: block;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-success-highlight);
  color: var(--color-success);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}
.form-success-icon svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   Testimonial / quote block
   ============================================ */

.quote-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.quote-block svg {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.quote-block p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.quote-attribution {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  flex-shrink: 0;
}
.quote-attribution strong {
  display: block;
  font-size: var(--text-sm);
}
.quote-attribution span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================
   Map / service area
   ============================================ */

.area-map {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.area-map svg {
  width: 100%;
  height: auto;
}

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

.cta-banner {
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-active));
  color: var(--color-text-inverse);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.cta-banner h2 {
  color: var(--color-text-inverse);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.cta-banner p {
  color: oklch(from var(--color-text-inverse) l c h / 0.85);
}
.cta-banner-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

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

.footer {
  background: var(--color-primary-active);
  color: oklch(from var(--color-text-inverse) l c h / 0.9);
  padding-block: var(--space-16) var(--space-8);
}
.footer a {
  color: inherit;
  text-decoration: none;
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-brand .brand-mark {
  width: auto;
  height: 84px;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  color: #fff;
}
.footer p {
  font-size: var(--text-sm);
  color: oklch(from var(--color-text-inverse) l c h / 0.7);
}
.footer h4 {
  color: #fff;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer ul a {
  font-size: var(--text-sm);
  color: oklch(from var(--color-text-inverse) l c h / 0.78);
}
.footer ul a:hover {
  color: var(--color-gold);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text-inverse) l c h / 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.6);
}
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: oklch(from var(--color-text-inverse) l c h / 0.1);
  display: grid;
  place-items: center;
}
.footer-social a:hover {
  background: var(--color-gold);
  color: #241300;
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Page hero (interior pages)
   ============================================ */

.page-hero {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-10), 5vw, var(--space-14));
  text-align: center;
  background: var(--color-surface-offset);
}
.page-hero .eyebrow {
  margin-bottom: var(--space-4);
}
.page-hero h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
}
.page-hero p {
  margin-inline: auto;
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  max-width: 56ch;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ============================================
   Sticky mobile CTA bar
   ============================================ */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px oklch(0.2 0.05 300 / 0.1);
}
.mobile-cta-bar .btn {
  flex: 1;
}
@media (min-width: 640px) {
  .mobile-cta-bar {
    display: none;
  }
}
body {
  padding-bottom: 76px;
}
@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }
}

/* ============================================
   Utility
   ============================================ */

.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.flex-center {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-12 {
  margin-top: var(--space-12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Skeleton (used sparingly, e.g. map placeholder fallback) */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skeleton {
  background: linear-gradient(90deg, var(--color-surface-offset) 25%, var(--color-surface-dynamic) 50%, var(--color-surface-offset) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
