/* ============================================
   VALLEY TURF MASTERS — STYLES.CSS
   Instantiated 2026-07-30 from projects/template (reconciled).
   Divergence history lives in the template’s RECONCILIATION.md.

   FONTS: no @import here. Fonts load via <link> tags in the head
   partial (partials/head.html) — template-only improvement, the
   preconnect hints are useless with a CSS @import.
   ============================================ */

/* ============================================
   PER-SITE THEME TOKENS
   Every value in this :root block is a per-site brand decision.
   Valley Turf Masters palette — locked tokens verbatim from
   SITE3_BUILD_SPEC § 1 plus derived tokens computed 2026-07-30
   (every ratio logged in the build report). Nothing outside this
   block should contain a raw brand color — hoist it here first.
   ============================================ */
:root {
  /* — SITE3_BUILD_SPEC § 1 LOCKED tokens (verbatim) — */
  --primary:       #15556E;  /* water blue — header base */
  --primary-dark:  #0F3F52;  /* hover, pressed (white on it 11.33:1) */
  --accent:        #B87A1A;  /* CTA fills, large elements on cream (3.28:1) */
  --accent-dark:   #8A5F14;  /* accent TEXT on cream (5.13:1) */
  --mark-reverse:  #E8C87A;  /* mark + linework on primary (5.07:1) */
  --bg:            #F7F4ED;  /* page background (cream) */
  --footer:        #0A2E3D;  /* footer base (mark 8.82:1, white 14.28:1) */
  /* --accent and --mark-reverse are separate ON PURPOSE: gold at accent
     strength fails 3:1 on the primary. Never collapse the two. */
  /* — derived tokens, computed (not estimated) 2026-07-30 — */
  --primary-tint:  #1D6B8A;    /* gradient partner (white on it 5.96:1) */
  --accent-glow:   rgba(184,122,26,0.35);   /* btn-primary hover shadow */
  --accent-tint:   rgba(232,200,122,0.14);  /* hero eyebrow bg (dark ground) */
  --accent-tint-border: rgba(232,200,122,0.35); /* hero eyebrow border */
  --accent-bright: #F2D897;    /* gold hover on --footer (10.23:1) — walled-zone use */
  --roc-box-bg:    rgba(232,200,122,0.12);  /* .footer-roc — Phase 2 only */
  --roc-box-border: rgba(232,200,122,0.40);
  --bg-light:      #EDF1F1;    /* pale water section bg */
  --text:          #1A1A1A;    /* 15.84:1 on --bg */
  --text-muted:    #4E6470;    /* 5.65:1 on --bg, 5.46:1 on --bg-light */
  --white:         #FFFFFF;
  --border:        #D2DBDE;    /* decorative hairlines */
  --shadow: 0 2px 16px rgba(21,85,110,0.10);
  --shadow-md: 0 4px 28px rgba(21,85,110,0.16);
  --focus-ring: rgba(21,85,110,0.12);    /* form focus shadow */
  --hero-grad-start: #0C3B4F;  /* white 11.97:1 */
  --hero-grad-mid:   #15556E;  /* white 8.21:1 */
  --hero-grad-end:   #19627F;  /* white 6.79:1 */
  --mobile-nav-bg: #0F4157;    /* darker than --primary; white@0.8 7.64:1 */
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --max-width: 1140px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Container --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-gold { color: var(--accent-dark); } /* text on light grounds: 5.13:1 on --bg */
.text-green { color: var(--primary); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 52px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--accent-dark); border-color: var(--white); }
.btn-white:hover { background: var(--bg); border-color: var(--bg); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 18px 38px; font-size: 1.2rem; min-height: 58px; }
.btn-full { width: 100%; }

/* Phone button in header — SETTLED FIX, do not re-derive (see CLAUDE.md).
   Markup contract (partials/phone-button.html):
   - number is span-wrapped in .bp-num; icon is an inline stroke SVG
   - aria-label carries the full number (NOTE: aria-label is a swap surface)
   - tel: href untouched at every width
   Naked white-space:nowrap without the span-hide FAILED (89-104px
   overflow, measured and reverted). Verify one-line rendering with
   getClientRects().length === 1, not height heuristics. */
.btn-phone {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-size: 1rem;
  padding: 11px 20px;
  min-height: 48px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
}
.btn-phone:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-phone svg { flex-shrink: 0; }
/* Icon-only header phone at small widths — full number returns above 500px.
   500 is the settled breakpoint: 430 was insufficient (431-500px squeeze
   band exists). tel: link and aria-label keep the number accessible. */
@media (max-width: 500px) {
  .btn-phone .bp-num { display: none; }
  .btn-phone { padding: 11px 14px; }
}

/* SVG icon system (from concrete site — replaces emoji glyphs, which
   render inconsistently across platforms). Icons are inline stroke SVGs
   with stroke="currentColor" so they follow text color automatically. */
.btn svg, .trust-item svg, .scb-btn svg, .footer-phone svg { flex-shrink: 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 14px rgba(0,0,0,0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  flex-shrink: 0;
  text-decoration: none;
}
.logo .brand-text span { color: var(--mark-reverse); } /* gold on primary: --accent fails 3:1, --mark-reverse 5.07:1 */
.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  display: block;
  color: var(--mark-reverse); /* § 1: linework on primary 5.07:1, on footer 8.82:1 */
}
@media (max-width: 400px) {
  .logo { gap: 7px; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
}
.main-nav { display: none; align-items: center; gap: 18px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--mark-reverse); }
.header-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  background: var(--mobile-nav-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover { color: var(--mark-reverse); background: rgba(255,255,255,0.03); }
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(150deg, var(--hero-grad-start) 0%, var(--hero-grad-mid) 55%, var(--hero-grad-end) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent); /* decorative divider — 3.28:1 vs --bg below; exempt vs gradient above */
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    var(--white) 0,
    var(--white) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 20px 20px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--accent-tint);
  color: var(--mark-reverse); /* 5.52:1 over tinted hero ground */
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-tint-border);
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { color: var(--mark-reverse); font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 34px;
  max-width: 580px;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.hero-meta strong { color: rgba(255,255,255,0.75); font-weight: 700; }

/* Hero fade-in */
.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUpHero 0.65s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.28s; }
.hero-content > *:nth-child(4) { animation-delay: 0.38s; }
.hero-content > *:nth-child(5) { animation-delay: 0.46s; }
@keyframes fadeUpHero {
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 960px) { .hero { padding: 104px 0 84px; } }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { background: var(--accent); padding: 13px 0; }
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-item svg, .trust-item .ti {
  flex-shrink: 0;
  font-size: 1rem;
}
.trust-sep { color: rgba(255,255,255,0.35); font-size: 0.9rem; }
@media (max-width: 520px) { .trust-sep { display: none; } }

/* ============================================
   SECTION BASE
   ============================================ */
.section { padding: 76px 0; }
.section-sm { padding: 52px 0; }
.section-bg-light { background: var(--bg-light); }
.section-bg-white { background: var(--white); }
.section-bg-dark { background: var(--primary); }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 12px; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 52px;
  max-width: 620px;
  line-height: 1.65;
}
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================
   GRIDS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  display: block;
  color: var(--text);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-icon { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.service-card h3 { color: var(--primary); margin-bottom: 6px; }
.service-card .price-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 14px;
  transition: gap var(--transition);
}
.service-card:hover .card-arrow { gap: 8px; }

/* General card */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ============================================
   PROBLEM/SOLUTION
   ============================================ */
.ps-section { background: var(--primary); }
.ps-section .section-label { color: var(--mark-reverse); } /* accent gold fails 3:1 on --primary ground */
.ps-section .section-title { color: var(--white); }
.ps-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.ps-card-icon { font-size: 2rem; margin-bottom: 14px; }
.ps-card h3 { color: var(--mark-reverse); margin-bottom: 10px; }
.ps-card p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.95rem; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 600px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.why-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-tint) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}
.why-text h3 { margin-bottom: 8px; font-size: 1.15rem; }
.why-text p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================
   FAQ — HYBRID PATTERN (divergence #7 resolution)
   Markup: <h3 class="faq-heading"> wraps the button (heading
   semantics, from concrete) + pergola class vocabulary. The JS
   MUST use btn.closest('.faq-item') — parentElement breaks the
   moment a wrapper sits between button and item (this is exactly
   how concrete's accordion shipped broken).
   Static FAQPage JSON-LD must mirror this visible content 1:1.
   ============================================ */
.faq-list { max-width: 820px; }
.faq-list.centered { margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-heading { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-dark);
  font-weight: 700;
  transition: transform 0.25s, background 0.2s;
  line-height: 1;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--white); }
.faq-a {
  display: none;
  padding: 0 0 20px 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { background: var(--accent); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-section p { color: rgba(255,255,255,0.88); margin-bottom: 36px; font-size: 1.1rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================
   GALLERY PLACEHOLDERS
   Placeholder gradient tiles DROPPED for Phase 1 — gallery.html is a
   walled Phase-2 page. Regenerate .gallery-ph-N stops from the turf
   palette when the gallery is built; never reuse another site’s.
   ============================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.gallery-ph {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
}
.gallery-ph-label {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px;
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.areas-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 11px 0; }
.bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.bc-list li { display: flex; align-items: center; gap: 4px; }
.bc-list li + li::before { content: '>'; color: var(--border); }
.bc-list a { color: var(--accent-dark); }
.bc-list a:hover { text-decoration: underline; }
.bc-list span { color: var(--text-muted); }

/* ============================================
   PAGE LAYOUT (inner pages)
   ============================================ */
.page-main { padding: 64px 0 80px; }
.page-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 960px) { .page-layout { grid-template-columns: 1fr 320px; align-items: start; gap: 64px; } }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .sidebar { position: sticky; top: 88px; } }
.sidebar-cta {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  color: var(--white);
}
.sidebar-cta h3 { color: var(--white); margin-bottom: 10px; font-size: 1.3rem; }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 18px; }
.sidebar-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--mark-reverse);
  margin-bottom: 14px;
  text-decoration: none;
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.sidebar-links a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
  text-decoration: none;
}
.sidebar-links a:hover { color: var(--mark-reverse); }
.sidebar-links a:last-child { border-bottom: none; }

/* ============================================
   CONTENT BODY (inner page prose)
   ============================================ */
.content-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}
.content-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.content-body h3 { margin: 28px 0 12px; color: var(--primary); }
.content-body p { color: var(--text-muted); line-height: 1.72; }
.content-body a { color: var(--accent-dark); font-weight: 500; }
.content-body a:hover { text-decoration: underline; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.check-list li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1rem;
}
.highlight-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; font-size: 0.95rem; color: var(--text); }

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  text-align: center;
}
.pricing-card.featured { border-top-color: var(--accent); }
.pricing-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-price sup { font-size: 1.1rem; }
.pricing-from { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.pricing-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 20px; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-list { display: flex; flex-direction: column; gap: 18px; }
.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.process-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-content h3 { margin-bottom: 5px; font-size: 1.1rem; }
.process-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--white);
  min-width: 480px;
}
.comp-table th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  text-align: left;
}
.comp-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--bg-light); }
.check-y { color: #1E6C3F; font-weight: 700; } /* #27864e = 4.01:1 on --bg-light; #1E6C3F = 5.64:1 (red #c0392b passes at 4.78:1) */
.check-n { color: #c0392b; font-weight: 700; }

/* ============================================
   FORMS
   ============================================ */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-title { font-size: 1.4rem; color: var(--primary); margin-bottom: 6px; }
.form-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 50px;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; line-height: 1.55; }

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust-signals { display: flex; flex-direction: column; gap: 14px; }
.ts-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.ts-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ts-text strong { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 0.97rem; }
.ts-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================
   CONTACT
   ============================================ */
.phone-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 36px;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}
.contact-card-text strong { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.contact-card-text a { color: var(--accent-dark); font-weight: 600; }
.contact-card-text a:hover { text-decoration: underline; }
.contact-card-text p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--footer); /* § 1: footer base is its own token */
  color: rgba(255,255,255,0.72);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 1.9rem; height: 1.9rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; margin-bottom: 18px; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mark-reverse);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-phone:hover { color: var(--accent-bright); }
/* Column labels are <p class="footer-col-title">, not <h4> — footer nav
   labels don't belong in the document outline (h1→h4 skip on thin pages;
   2026-07-30 audit). line-height 1.15 matches the old heading box. */
.footer-col .footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--mark-reverse); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal span { color: rgba(255,255,255,0.60); } /* 0.45 = 4.06:1 on --footer (fail); 0.60 = 6.05:1 */

/* Footer compliance block — TWO VARIANTS, chosen per site via
   site-config.json variants.complianceStyle (divergence: concrete
   used a highlighted box, pergola a plain span).
   "plain": put the line in a plain <span> inside .footer-legal.
   "box":   use <span class="footer-roc"> shown below. */
/* NO color-mix() here or anywhere in this file — this block renders the
   Arizona ROC compliance line (a legal display requirement) and must not
   depend on newer CSS. Explicit rgba values only, held as theme tokens. */
.footer-roc {
  display: inline-block;
  background: var(--roc-box-bg);
  border: 1px solid var(--roc-box-border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 599px) {
  .hero { padding: 48px 0 40px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 52px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 340px; }
  .form-wrap { padding: 24px 18px; }
}

/* ============================================
   VALUES LIST (about page)
   ============================================ */
.values-list { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.value-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.value-text strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.value-text p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ============================================
   SMS CONSENT CHECKBOX
   ============================================ */
.consent-group { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 20px; }
.consent-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
  appearance: auto;
  -webkit-appearance: auto;
}
.consent-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.consent-group label a { color: var(--accent-dark); text-decoration: underline; }

/* ============================================
   LEGAL PAGES (privacy / terms)
   ============================================ */
.legal-body { max-width: 820px; }
.legal-body h2 { margin-top: 40px; margin-bottom: 12px; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.legal-body h3 { margin: 24px 0 10px; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-body ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-body ul li { margin-bottom: 6px; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 28px; }
.legal-callout {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 20px 0;
}
.legal-callout p { margin-bottom: 10px; }
.legal-callout p:last-child { margin-bottom: 0; }

/* ============================================
   FOOTER LEGAL LINKS
   ============================================ */
.footer-legal a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--mark-reverse); }

/* ============================================
   MOBILE STICKY CALL BAR
   ============================================ */
.sticky-call-bar { display: none; }
@media (max-width: 768px) {
  .sticky-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--primary);
    border-top: 2px solid var(--accent);
    padding: 8px 10px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 -2px 14px rgba(0,0,0,0.3);
  }
  .scb-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .scb-call { background: var(--accent); color: var(--white); }
  .scb-text { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
  /* Reserve space so the bar never obscures content or footer CTAs.
     GUARDED: public Phase-1 pages render no sticky bar — walled pages
     add class="has-sticky-bar" to <body> to claim the space. */
  body.has-sticky-bar { padding-bottom: 68px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header, .trust-bar, .cta-section, .site-footer, .mobile-nav, .nav-toggle, .sticky-call-bar { display: none !important; }
  body { background: white; color: black; }
  .hero { background: var(--primary); -webkit-print-color-adjust: exact; }
}

/* ============================================
   PAGE-SCOPED RULES (formerly inline <style> blocks)
   Concrete carried per-page inline styles on 6 pages; the template
   bans inline <style> blocks — page-specific rules live here under
   a page-scoped parent class instead (divergence #10 resolution).
   ============================================ */
.faq-page-list .faq-q { font-size: 1.1rem; }
