/* ============================================
   dental-static template
   Warm clinical-trust LIGHT theme: warm off-white base + real brand green
   + a darkened brand-strong for AA. Re-hued per prospect via deriveLightPalette.
   Type is HARD-LOCKED to Plus Jakarta Sans (display) + Inter (body).
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand (real, verbatim) + derived AA-safe strong + decorative accent */
  --color-brand:        #704135;        /* primary green: eyebrows, icons, large headings, accents */
  --color-brand-strong: #6C372A;  /* darkened green (AA on light): button fills, links, small green text */
  --color-accent:       #77804A;       /* fresh green, DECORATIVE only: stars, featured tint, hover sheens */
  --color-brand-fg:     #FFFFFF;       /* text on brand/brand-strong fills (white) */
  --color-accent-soft:  rgba(112, 65, 53, 0.08);    /* featured-service tint */

  /* Warm neutral surfaces (a whisper of brand hue, never blue-cold) */
  --color-bg:        #FBFBFB;        /* page base, warm off-white */
  --color-surface:   color-mix(in srgb, #704135 4%, #ffffff);
  --color-band:      color-mix(in srgb, #704135 14%, #ffffff);   /* alt bands, cards */
  --color-surface-2: #F4F2F2;  /* monogram bg, nested cards */
  --color-muted:     #EEECEB;     /* subtle fills */
  --color-border:    #E7E4E4;    /* hairline borders */

  /* Text */
  --color-ink:     #1C1412;     /* near-black ink with a faint green-warm cast */
  --color-ink-dim: #7E6B62;  /* secondary / captions (AA on the light base) */

  --color-hero-overlay: rgba(112, 65, 53, 0.62); /* brand tint over the hero photo */
  --color-hero-scrim:   rgba(19, 13, 12, 0.55);   /* bottom-up dark gradient for headline legibility */
  --color-footer:       #2A1814;      /* deep brand-ink footer */

  /* Shadows: soft, sparing (light theme) */
  --color-border-accent: color-mix(in srgb, var(--color-brand) 13%, transparent);
  --color-border-accent-hover: color-mix(in srgb, var(--color-brand) 30%, transparent);
  --shadow-sm: 0 1px 2px rgba(15,26,20,0.05);
  --shadow-md: 0 12px 32px -18px rgba(15,26,20,0.22);
  --shadow-lg: 0 28px 64px -28px rgba(15,26,20,0.28);

  /* Typography: Plus Jakarta Sans display, Inter body. No Fraunces/Lora, ever.
     Playfair Display is an ACCENT ONLY: elegant italic serif for the emphasis
     word in headings (never the workhorse display; that stays Plus Jakarta). */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Georgia Pro', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;

  /* Layout */
  --max-width: 1312px;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand-strong); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-brand); }
button { cursor: pointer; font-family: var(--font-body); }

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Typography --- */
h1, h2 { font-family: var(--font-accent); font-weight: 600; line-height: 1.08; color: var(--color-ink); letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--color-ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.1; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.25; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-strong);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}
/* Emphasis word inside a section heading: italic serif in the brand-strong hue,
   the same sophistication cue as the hero accent (used by Meet-the-Provider). */
.section-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--color-brand-strong);
  letter-spacing: 0;
}

.section-desc {
  color: var(--color-ink-dim);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.7;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}
.section-head-center .section-desc { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 2.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  border: 1.5px solid transparent;
  border-radius: 3px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-brand-strong);
  color: var(--color-brand-fg);
}
.btn-primary:hover {
  filter: brightness(1.12);
  color: var(--color-brand-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand-strong);
  border-color: var(--color-brand);
}
.btn-outline:hover {
  background: var(--color-accent-soft);
  color: var(--color-brand-strong);
  transform: translateY(-2px);
}

/* Hero-only outline: white on the photo overlay */
.btn-hero-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.nav.scrolled {
  padding: 0.6rem 0;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Real logo lockup. On the transparent-over-hero bar it sits in a light chip so
   a green mark never vanishes against the photo; the chip fades once scrolled. */
/* Dual-variant logo swap: knockout over the transparent hero nav, primary once
   scrolled to the solid bar (operator quality bar 2026-07-24: logo visible
   EVERYWHERE — delta shipped primary-on-dark, an invisible mark). */
.nav-wordmark { font-family: var(--font-accent); font-size: 1.5rem; font-weight: 600; color: var(--color-ink); letter-spacing: -0.01em; }
.nav:not(.scrolled) .nav-wordmark { color: #fff; text-shadow: 0 1px 6px rgba(15,23,32,0.4); }
.nav-logo-img { height: 58px; width: auto; display: block; }
.nav.scrolled .nav-logo-img { height: 50px; }
.nav-logo img.nav-logo-dark { display: block; }
.nav-logo img.nav-logo-light { display: none; }
.nav.scrolled .nav-logo img.nav-logo-dark { display: none; }
.nav.scrolled .nav-logo img.nav-logo-light { display: block; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, box-shadow 0.25s, padding 0.25s;
}
.nav.scrolled .nav-logo { background: transparent; box-shadow: none; padding: 0; }
.nav-logo img { height: 58px; width: auto; display: block; }
.nav.scrolled .nav-logo img { height: 50px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
}
/* Over the photo hero (nav not scrolled), links read white for legibility. */
.nav:not(.scrolled) .nav-links a { color: #fff; text-shadow: 0 1px 6px rgba(15,26,20,0.35); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-phone {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav:not(.scrolled) .nav-phone { color: #fff; text-shadow: 0 1px 6px rgba(15,26,20,0.35); }
.nav-phone:hover { color: var(--color-brand); }
.nav:not(.scrolled) .nav-phone:hover { color: #fff; }

.nav-cta {
  padding: 0.65rem 1.4rem;
  background: var(--color-brand-strong);
  color: var(--color-brand-fg) !important;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.2s;
}
.nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); color: var(--color-brand-fg) !important; }
.nav-cta::after { display: none !important; }

/* Nav CTA as a Call/Book-online dropdown */
.nav-cta-wrap { position: relative; }
.nav-cta { border: none; cursor: pointer; font: inherit; }
.nav-cta-chevron { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s ease; }
.nav-cta-wrap.open .nav-cta-chevron { transform: rotate(180deg); }
.nav-cta-menu {
  position: absolute; top: calc(100% + 0.6rem); right: 0;
  min-width: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 110;
}
.nav-cta-wrap.open .nav-cta-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-cta-menu-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: calc(var(--radius) - 4px);
  color: var(--color-ink); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
}
.nav-cta-menu-item:hover { background: var(--color-band); }
.nav-cta-menu-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 1px;
  background: var(--color-ink);
  transition: all 0.3s;
}
.nav:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span { background: var(--color-ink); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Brand-gradient fallback when no hero photo is staged */
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, var(--color-hero-scrim) 0%, transparent 62%),
    linear-gradient(200deg, rgba(15,26,20,0.16) 0%, transparent 45%),
    var(--color-hero-overlay);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
/* Top padding clears the fixed transparent nav (logo 58px + bar padding) with
   ~30% extra breathing room so centered hero content never crowds the logo. */
.hero-content { max-width: 680px; padding: 6.8rem 0 3rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-md);
}
.hero-badge::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--color-accent);
}

.hero h1 { color: #fff; margin-bottom: var(--space-sm); }
/* Accent word: elegant italic serif (sophistication), kept on one line with a
   soft brand-accent underline so the eye lands on the phrase that matters. */
.hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0;
  color: #f1ffbf;
}

.hero-sub {
  font-size: 1.22rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-lg);
  max-width: 38rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
}
.hero-rating strong { font-family: var(--font-display); font-size: 1.15rem; }
.hero-stars { color: #FFD466; letter-spacing: 0.06em; }
/* Honest star fill: --stars-fill (from hero.starsPercent) clips the gold to the
   real rating (4.6 -> 92%), so no full extra star is claimed. Falls back to 100%. */
.hero-stars[style*="--stars-fill"] {
  background: linear-gradient(90deg, currentColor var(--stars-fill, 100%), rgba(255,255,255,0.30) var(--stars-fill, 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-award {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-award svg { width: 18px; height: 18px; color: #FFD466; flex-shrink: 0; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-chip svg { width: 18px; height: 18px; color: #FFD466; flex-shrink: 0; }

/* --- Hero archetypes: split + bandoverlay (fullbleed = the base above) --- */
/* Split: full-bleed two-column — brand-panel content beside a real photo (or a
   bold brand->accent gradient panel when no photo is staged). */
.hero-split { min-height: auto; }
.hero-split .hero-inner {
  max-width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 88vh;
}
.hero-split .hero-content {
  max-width: none;
  padding: clamp(6.5rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(155deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-figure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--color-brand) 0%, var(--color-accent) 100%);
}
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bandoverlay: full-bleed photo + a solid brand CTA band low on the hero. */
.hero-bandoverlay .hero-inner {
  display: flex;
  align-items: flex-end;
  min-height: 92vh;
  padding: 7rem 0 clamp(2rem, 5vw, 3.5rem);
}
.hero-bandoverlay .hero-overlay { background: linear-gradient(0deg, var(--color-hero-scrim) 0%, transparent 66%); }
.hero-bandoverlay .hero-content {
  max-width: 900px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Trust / Award strip --- */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; color: var(--color-brand); flex-shrink: 0; }

/* --- Sections --- */
section {
  padding-top: clamp(1.4rem, 2.9vw, 2.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  scroll-margin-top: 72px;
}
.about-section { background: var(--color-bg); }
.services-section { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.provider-section { background: var(--color-bg); }
.credentials-section { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.firstvisit-section { background: var(--color-bg); }
.team-section { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.insurance-section { background: var(--color-bg); }
.reviews-section {
  background: var(--color-footer);
  border-top: none;
  border-bottom: none;
}
.reviews-section h2, .reviews-section .section-eyebrow { color: #F4F1EA; }
.reviews-section .section-lead, .reviews-section p { color: rgba(244,241,234,0.78); }
.reviews-section .review-card, .reviews-section .review-lead {
  background: color-mix(in srgb, #ffffff 6%, transparent);
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  color: rgba(244,241,234,0.9);
}
.reviews-section .review-card footer, .reviews-section .review-lead footer { color: rgba(244,241,234,0.6); }
.gallery-section { background: var(--color-bg); }
.visit-section { background: var(--color-bg); }

/* --- Sub-niche variant structural flags (templates/variants/*.json profiles,
   applied by fillStatic as data-emph="1" / data-compact="1" on the section
   wrapper). Section-key -> DOM mapping used across the clinical-health family
   this pack serves (dentist/chiropractor/physiotherapist/optometrist/
   veterinary/doctor/massage): about -> #about, services -> #services,
   reviews -> #reviews, provider -> #provider, credentials -> #credentials,
   gallery -> #gallery, approach -> #first-visit (closest functional section:
   the "Your first visit" process walkthrough). Copy is never touched, only
   structure/rhythm - both states must read as deliberate at any width. --- */
section[data-emph="1"] {
  padding-top: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: clamp(5rem, 9vw, 8.5rem);
}
section[data-emph="1"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-brand) 10%, transparent), transparent 55%);
}
section[data-emph="1"]::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-strong), var(--color-accent));
}
section[data-emph="1"] .section-title { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
section[data-emph="1"] .section-head-center { margin-bottom: var(--space-xl); }

section[data-compact="1"] {
  padding-top: clamp(1rem, 1.8vw, 1.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
section[data-compact="1"] .section-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: var(--space-sm); }
section[data-compact="1"] .section-desc { font-size: 0.95rem; }
section[data-compact="1"] .section-head-center { margin-bottom: var(--space-md); }
section[data-compact="1"] .about-grid,
section[data-compact="1"] .services-grid,
section[data-compact="1"] .reviews-grid,
section[data-compact="1"] .steps-grid,
section[data-compact="1"] .credentials-grid,
section[data-compact="1"] .gallery-grid { grid-template-columns: 1fr; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg, 12px); box-shadow: var(--shadow-lg); }
.about-text p { color: var(--color-ink-dim); margin-bottom: var(--space-sm); line-height: 1.75; }

.proof-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--space-md);
}
.proof-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.proof-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.proof-icon svg { width: 20px; height: 20px; color: var(--color-brand); }
.proof-point strong { display: block; color: var(--color-ink); font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 0.1rem; }
.proof-point span { color: var(--color-ink-dim); font-size: 0.84rem; line-height: 1.5; }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.service-card {
  position: relative;
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px -14px rgba(15,26,20,0.22);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-body { display: block; }
.services-section .service-card { background: var(--color-bg); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--color-brand) 35%, var(--color-border)); }
.service-card-featured { border-color: color-mix(in srgb, var(--color-accent) 50%, var(--color-border)); background: var(--color-accent-soft); }
/* Photo tile: real procedure/service image on top, copy beneath (mirrors the
   winners' procedure tiles). Only when a real image is supplied; text-only cards
   are untouched. */
.service-card-photo { padding: 0; overflow: hidden; }
.service-card-photo .service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-muted); }
.service-card-photo .service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card-photo:hover .service-media img { transform: scale(1.04); }
.service-card-photo .service-body { padding: 1.5rem 1.6rem 1.7rem; }
.service-flag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-strong);
  background: var(--color-bg);
  border: 1px solid color-mix(in srgb, var(--color-brand) 30%, var(--color-border));
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
/* Optional brand icon chip (the Peak Function service-grid cue), shown on
   text cards when a real icon is supplied; suppressed on photo cards. */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-brand);
  margin-bottom: 1rem;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card-photo .service-icon { display: none; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--color-ink-dim); font-size: 0.95rem; line-height: 1.6; }
.service-price {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-brand-strong);
}
.services-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* --- First visit (steps) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.step-card {
  padding: 2.25rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-brand-fg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.15rem;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { color: var(--color-ink-dim); font-size: 0.95rem; line-height: 1.6; }
.step-card p a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* --- Team --- */
.team-award {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--color-accent-soft);
  border: 1px solid color-mix(in srgb, var(--color-brand) 26%, var(--color-border));
  border-radius: 999px;
  color: var(--color-brand-strong);
  font-size: 0.9rem;
  font-weight: 600;
}
.team-award svg { width: 18px; height: 18px; color: var(--color-brand); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 880px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.team-photo { flex-shrink: 0; }
.team-photo img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.team-monogram {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-brand-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.02em;
}
.team-body h3 { font-family: var(--font-accent); font-weight: 600; font-size: 1.45rem; }
.team-body h3 { margin-bottom: 0.15rem; }
.team-role {
  color: var(--color-brand-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.6rem;
}
.team-body p { color: var(--color-ink-dim); font-size: 0.9rem; line-height: 1.6; }

/* Stock-team placeholder: honest, always-visible "this can be your team" demo card,
   shown ONLY when the clinic has no real staff photos. Never passed off as real
   staff (no name, no title) — a permanent ribbon + label mark it as a demo. */
.team-card--placeholder .team-photo { position: relative; }
.team-card--placeholder .team-photo img { filter: saturate(0.9) contrast(0.98); }
.team-ph-ribbon {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: var(--color-brand-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.team-card--placeholder .team-ph-title { color: var(--color-brand-strong); margin-bottom: 0.3rem; }
.team-card--placeholder .team-ph-note { color: var(--color-ink-dim); font-size: 0.9rem; line-height: 1.6; }

/* --- Meet the provider (single portrait trust anchor) ---
   A rich brand BAND (the way Wayne Dental Arts / Shafer stage "Meet the Doctor")
   so the practice's face is the dramatic centrepiece: deep brand gradient, a
   framed real portrait with an offset accent frame, white copy + credentials. */
.provider-section {
  background:
    radial-gradient(120% 140% at 12% 0%, color-mix(in srgb, var(--color-brand) 78%, #000 22%) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
  color: #fff;
}
.provider-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.provider-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: color-mix(in srgb, #000 14%, var(--color-brand-strong));
  aspect-ratio: 4 / 4.6;
  z-index: 1;
}
/* Offset accent frame behind the portrait: the framed-portrait cue. */
.provider-media::before {
  content: '';
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-xl);
  opacity: 0.55;
  z-index: -1;
}
.provider-media img { width: 100%; height: 100%; object-fit: cover; }
.provider-badge {
  position: absolute;
  left: 0.9rem; bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.provider-badge svg { width: 18px; height: 18px; color: #FFD466; flex-shrink: 0; }
.provider-text .section-label { color: rgba(255,255,255,0.85); }
.provider-text .section-title { color: #fff; margin-bottom: var(--space-sm); }
.provider-text .section-title em { color: #fff; }
.provider-text p { color: rgba(255,255,255,0.9); margin-bottom: var(--space-sm); line-height: 1.75; }
.provider-creds {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
  margin: var(--space-md) 0;
}
.provider-creds li { display: flex; align-items: flex-start; gap: 0.55rem; color: #fff; font-size: 0.92rem; line-height: 1.45; }
.provider-creds svg { width: 18px; height: 18px; color: #FFD466; flex-shrink: 0; margin-top: 0.15rem; }
.provider-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: var(--space-sm); }
.provider-actions .btn-primary { background: #fff; color: var(--color-brand-strong); }
.provider-actions .btn-primary:hover { background: #fff; filter: brightness(0.96); color: var(--color-brand-strong); }
.provider-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.provider-actions .btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }

/* --- Credential / association trust strip --- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 1040px;
  margin: 0 auto;
}
.credential-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.credential-card > svg { width: 30px; height: 30px; color: var(--color-brand); flex-shrink: 0; }
.credential-card strong { display: block; color: var(--color-ink); font-family: var(--font-display); font-size: 0.98rem; line-height: 1.25; margin-bottom: 0.1rem; }
.credential-card span { color: var(--color-ink-dim); font-size: 0.82rem; line-height: 1.4; }
/* Real association/board LOGO variant: centered, greyed until hover (like the
   winners badge rows), only when a real logo image is supplied. */
.credential-card-logo { justify-content: center; padding: 1.4rem; }
.credential-card-logo img { max-height: 52px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s, opacity 0.25s; }
.credential-card-logo:hover img { filter: none; opacity: 1; }
.credentials-note { text-align: center; color: var(--color-ink-dim); font-size: 0.88rem; margin-top: var(--space-md); }

/* --- Before / after gallery (aesthetic results) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 980px;
  margin: 0 auto;
}
.gallery-item { margin: 0; }
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.gallery-ba { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-muted); }
.gallery-ba img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tag {
  position: absolute;
  left: 0.6rem; top: 0.6rem;
  padding: 0.28rem 0.7rem;
  background: color-mix(in srgb, var(--color-footer) 82%, transparent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
}
.gallery-tag-after { background: var(--color-brand-strong); }
.gallery-item figcaption { margin-top: 0.85rem; text-align: center; color: var(--color-ink-dim); font-size: 0.9rem; }
.gallery-note { text-align: center; color: var(--color-ink-dim); font-size: 0.85rem; margin-top: var(--space-md); }

/* --- Insurance / Payment --- */
.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}
.insurance-panel {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.insurance-panel h3 { margin-bottom: 1rem; }
.insurance-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.insurance-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--color-ink-dim); font-size: 0.95rem; }
.insurance-list svg { width: 18px; height: 18px; color: var(--color-brand); flex-shrink: 0; margin-top: 0.2rem; }
.method-marks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.method-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-width: 68px;
  padding: 0 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.method-mark img { height: 26px; width: auto; }
.method-text { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--color-ink); }
.insurance-note { color: var(--color-ink-dim); font-size: 0.9rem; line-height: 1.6; }

/* --- Reviews --- */
.reviews-section .section-head-center { margin-bottom: var(--space-md); }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  padding: 0.5rem 1.1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-ink-dim);
}
.rating-platform { display: inline-flex; }
.rating-platform svg { width: 20px; height: 20px; display: block; }
.rating-score { font-family: var(--font-display); font-weight: 800; color: var(--color-ink); font-size: 1.15rem; }
.rating-stars { color: #E8A33D; letter-spacing: 0.05em; }

.review-lead {
  max-width: 820px;
  margin: 0 auto var(--space-lg);
  padding: 2rem 2.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.review-lead p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-ink);
  margin: 0.5rem 0 0.85rem;
}
.review-lead footer { font-size: 0.9rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.review-card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.review-stars { color: #E8A33D; font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.review-card blockquote { color: var(--color-ink); font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--space-sm); }
.review-meta { display: flex; align-items: center; gap: 0.65rem; }
.review-platform { display: inline-flex; flex-shrink: 0; }
.review-platform svg { width: 22px; height: 22px; display: block; }
.review-author { font-family: var(--font-display); font-weight: 700; color: var(--color-ink); font-size: 0.9rem; }
.review-source { color: var(--color-ink-dim); font-size: 0.8rem; }

/* --- Book / CTA --- */
.book-section {
  position: relative;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
  color: #fff;
  overflow: hidden;
}
.book-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('img/book-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.book-section .container { position: relative; z-index: 1; }
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.book-intro .section-desc { color: rgba(255,255,255,0.9); }
.book-form-heading { color: #fff; margin-bottom: 1.25rem; }
.book-call-heading { color: #fff; }
.book-faq-heading { color: #fff; margin-bottom: 0.75rem; }
.book-faq + .book-call-heading, .book-faq ~ .book-call-heading { margin-top: var(--space-lg); }
.book-call-note { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-top: 0.75rem; margin-bottom: 0; }
.book-call {
  margin-top: var(--space-md);
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
}
.book-call .btn-primary { background: #fff; color: var(--color-brand-strong); }
.book-call .btn-primary:hover { background: #fff; filter: brightness(0.96); color: var(--color-brand-strong); }

.book-form {
  padding: 2.25rem 2rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.15rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-ink-dim);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: color-mix(in srgb, var(--color-brand) 30%, var(--color-border));
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }
.book-submit { width: 100%; margin-top: 0.25rem; }

/* --- Visit / Map --- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}
.visit-details { display: flex; flex-direction: column; gap: 0.9rem; }
.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.visit-detail svg { width: 22px; height: 22px; color: var(--color-brand); flex-shrink: 0; margin-top: 0.1rem; }
.visit-detail strong { display: block; color: var(--color-ink); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.15rem; }
.visit-detail span { color: var(--color-ink-dim); font-size: 0.9rem; line-height: 1.55; }
.visit-detail a { color: var(--color-brand-strong); font-weight: 600; }
.visit-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: var(--space-md); }
.visit-note { color: var(--color-ink-dim); font-size: 0.88rem; margin-top: var(--space-sm); }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  min-height: 380px;
}
.map-container iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* --- Page hero (services.html) --- */
.page-hero {
  padding: calc(4.5rem + var(--space-md)) 0 var(--space-lg);
  text-align: center;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-strong) 100%);
}
.page-hero .section-label { color: rgba(255,255,255,0.85); }
.page-hero .section-title,
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); }
.page-hero .section-desc { color: rgba(255,255,255,0.9); margin: 0 auto; max-width: 620px; }

/* --- Full services page --- */
.full-services-section { padding: calc(var(--space-xl) * 0.4) 0 var(--space-xl); }
.full-services-category { margin-bottom: var(--space-xl); }
.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.category-header h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); white-space: nowrap; }
.category-header .line { flex: 1; height: 1px; background: var(--color-border); }
.full-services-section .services-cta { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.full-services-section .services-cta .section-desc { margin: 0 auto; }
.services-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: var(--space-sm); }

/* --- Footer --- */
.footer {
  background: var(--color-footer);
  padding: calc(var(--space-xl) * 0.4) 0 var(--space-md);
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-logo {
  height: 52px; width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: var(--space-sm);
}
.footer-wordmark { display: block; font-family: var(--font-accent); font-size: 1.4rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; margin-bottom: var(--space-sm); }
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 0.88rem; max-width: 300px; line-height: 1.65; }
.footer-tag { margin-top: 0.75rem; color: #fff !important; font-weight: 600; font-size: 0.88rem !important; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact li svg { width: 15px; height: 15px; flex: none; margin-top: 0.2rem; color: rgba(255,255,255,0.85); }
.footer-hours { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-hours-row { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.footer-hours-row span:first-child { color: #fff; font-weight: 600; }
.footer-hours-row span:last-child { text-align: right; white-space: nowrap; }
.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,26,20,0.5);
  z-index: 250;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  padding: var(--space-md);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-sm);
}
.modal-icon svg { width: 28px; height: 28px; color: var(--color-brand); }
.modal h3 { margin-bottom: var(--space-xs); }
.modal p { color: var(--color-ink-dim); margin-bottom: var(--space-md); font-size: 0.92rem; line-height: 1.6; }

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand-strong);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(0.96); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* --- Animations --- */
html.js-anim .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js-anim .fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn:hover, .back-to-top:hover, .service-card:hover, .team-card:hover { transform: none; }
}

/* --- Preview disclosure badge (required on every preview) --- */
.preview-badge {
  position: fixed;
  left: 12px; bottom: 12px;
  z-index: 2000;
  display: inline-flex;
  align-items: stretch;
  background: rgba(15, 26, 20, 0.85);
  font-size: 0.72rem;
  line-height: 1;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.92;
}
.preview-badge:hover, .preview-badge:focus-within { opacity: 1; }
.preview-badge a { display: inline-flex; align-items: center; padding: 7px 10px; text-decoration: none; white-space: nowrap; }
.preview-badge a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.preview-badge-info, .preview-badge-info:hover { color: #fff; }
.preview-badge-cta { background: var(--color-brand); color: #fff; font-weight: 600; }
.preview-badge-cta:hover { background: var(--color-brand-strong); color: #fff; }

/* --- Mobile sticky call CTA (conversion kit; mobile only, ported from
   trades-static's mobile-call-bar). Call-only: booking already has the hero,
   nav dropdown, services and #book CTAs, so this stays a single thumb-reachable
   action. Auto-hidden via .is-hidden while #book scrolls into view (main.js)
   so it never sits on top of the booking form. --- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -8px 24px -12px rgba(15,26,20,0.35);
  transition: transform 0.25s ease;
}
.mobile-call-bar.is-hidden { transform: translateY(100%); }
.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--color-brand-strong);
  color: var(--color-brand-fg);
}
.mobile-call-btn svg { width: 19px; height: 19px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-call-bar { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem var(--space-lg) var(--space-lg);
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }
  .nav:not(.scrolled) .nav-links a { color: var(--color-ink); text-shadow: none; }
  .nav-phone { display: none; }
  .nav-logo { flex: 1 1 auto; min-width: 0; }
  .nav-wordmark { display: block; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-logo-img { height: 42px; max-width: 100%; }
  .nav.scrolled .nav-logo-img { height: 38px; }
  .nav-actions { gap: 0.5rem; }
  .nav-cta { padding: 0.55rem 0.7rem; }
  .nav-cta-label, .nav-cta-chevron { display: none; }
  .nav-cta-menu { right: -0.7rem; }
  /* The nav phone pill is gone below this breakpoint - the sticky call bar
     replaces it so the phone is never more than a tap away. */
  .mobile-call-bar { display: flex; }
  .back-to-top { bottom: calc(64px + 1rem); }
  .preview-badge { bottom: calc(64px + 12px); }
  .footer { padding-bottom: calc(64px + var(--space-md)); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid,
  .reviews-grid,
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .book-grid,
  .visit-grid,
  .insurance-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .provider-media { max-width: 460px; margin: 0 auto; aspect-ratio: 4 / 3.4; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

@media (max-width: 900px) {
  /* Split + bandoverlay collapse to a single column on smaller screens. */
  .hero-split .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-split .hero-content { padding: 7rem clamp(1.5rem, 6vw, 2.5rem) 3rem; }
  .hero-split .hero-figure { order: 2; min-height: 46vh; }
  .hero-bandoverlay .hero-content { max-width: none; }
}

@media (max-width: 620px) {
  .hero { min-height: 70svh; }
  .hero-content { padding-top: 6rem; }
  .hero-split .hero-content { padding-top: 6.5rem; }
  .hero-bandoverlay .hero-inner { min-height: 100svh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  /* Too much copy crowding a short mobile hero: smaller H1/sub. (The badge/
     rating row hides too - see the later, cascade-winning rule below, since
     an unconditional .hero-badge-row{display:flex} rule sits after this block.) */
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .hero-sub { font-size: 1rem; }
  .services-grid,
  .reviews-grid,
  .steps-grid,
  .proof-points,
  .provider-creds { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .credential-card { flex-direction: column; text-align: center; gap: 0.5rem; padding: 1.1rem 0.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .visit-detail span br { display: none; }
  .map-container, .map-container iframe { min-height: 300px; }
}


/* sw-trust widget skin (frameworks/_base/widgets/trust-bar.css, pack-tinted).
   Shared STRUCTURE across packs; this pack's palette supplies the look. */
.sw-trust { background: var(--color-brand-strong, var(--color-brand)); border-bottom: 1px solid rgba(255,255,255,0.08); }
.sw-trust-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: center; }
.sw-trust-item { display: flex; align-items: baseline; gap: 8px; }
.sw-trust-value { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.sw-trust-label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
@media (max-width: 640px) { .sw-trust-inner { gap: 8px 22px; padding: 12px 16px; } .sw-trust-value { font-size: 1rem; } }

/* sw-booking action row (widget contract): submit + quiet phone fallback. */
.sw-booking-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sw-btn-ghost { color: var(--color-brand-strong, var(--color-brand)); text-decoration: underline; text-underline-offset: 3px; font-size: 0.95rem; }
.sw-btn-ghost:hover { opacity: 0.8; }

/* Elevation pass (Rustico DNA): cards lift toward the accent on hover. */
.proof-card, .proof-point { border-radius: 6px; }
.service-card:hover, .team-card:hover, .proof-card:hover, .proof-point:hover { border-color: var(--color-border-accent-hover); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card, .team-card, .proof-card, .proof-point { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }

/* --- Comfort commitment band (whitemandental reference DNA) --- */
.comfort-section { background: var(--color-band); }
.comfort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
.comfort-card { background: rgba(255,255,255,0.72); border: 1px solid var(--color-border-accent); border-radius: 6px; padding: 1.75rem 1.5rem; }
.comfort-icon { display: inline-flex; width: 34px; height: 34px; color: var(--color-brand-strong); margin-bottom: 0.85rem; }
.comfort-icon svg { width: 100%; height: 100%; }
.comfort-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.comfort-card p { color: var(--color-ink-dim); font-size: 0.95rem; line-height: 1.62; }
@media (max-width: 900px) { .comfort-grid { grid-template-columns: 1fr; } }

/* --- Concern navigator (whitemandental reference DNA) --- */
.concerns { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 0.9rem 0; }
.concerns-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.concerns-label { font-family: var(--font-accent); font-style: italic; font-size: 1.05rem; color: var(--color-ink); white-space: nowrap; }
.concerns-list { display: flex; gap: 0.5rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.concern-chip { display: inline-block; padding: 0.45rem 0.95rem; border: 1px solid var(--color-border-accent-hover); border-radius: 3px; font-size: 0.88rem; font-weight: 500; color: var(--color-brand-strong); background: #fff; text-decoration: none; transition: background .2s ease, color .2s ease; }
.concern-chip:hover { background: var(--color-brand-strong); color: #fff; }

/* --- Round #11 (operator verdicts) --- */
@media (min-width: 1025px) {
  .nav-phone { display: inline-flex; align-items: center; gap: 0.45rem; }
}
.nav-phone-icon { width: 17px; height: 17px; color: var(--color-accent); flex-shrink: 0; }
/* Hero: full-screen, content on the full-bleed image (not pushed right) */
.hero { min-height: 62svh; }
.hero-split .hero-inner { grid-template-columns: 1fr; }
.hero-split .hero-figure { position: absolute; inset: 0; z-index: -1; }
.hero-split .hero-figure img { width: 100%; height: 100%; object-fit: cover; }
/* CTAs stand out on the dark hero: white-filled primary, solid-bordered outline */
.hero .btn-primary {
  background: color-mix(in srgb, #fff 92%, var(--color-accent) 8%);
  color: var(--color-brand-strong);
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--color-brand-strong) 55%, transparent);
}
.hero .btn-primary:hover {
  background: var(--color-accent);
  color: #fff;
  filter: saturate(1.15);
  box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.hero .btn-hero-outline { border: 2px solid rgba(255,255,255,0.85); color: #fff; }
/* Concern label pops */
.concerns-label { color: var(--color-brand-strong); font-weight: 600; }
.concern-chip { border-color: var(--color-brand-strong); }
/* Trust bar: icon points, stars first */
.trust-bar { background: var(--color-band); border-bottom: 1px solid var(--color-border); }
.trust-item svg { width: 20px; height: 20px; color: var(--color-brand-strong); }
.trust-item { font-weight: 600; color: var(--color-ink); }
.trust-stars { color: #E7A934; letter-spacing: 0.1em; }
/* About media cluster: 1 wide top + 2 below, rounded squares, level with heading */
.about-grid { align-items: stretch; }
.about-cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-cluster img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; box-shadow: var(--shadow-md); }
.about-cluster-top { grid-column: 1 / -1; aspect-ratio: 2.05 / 1; }
/* Before/after cycling photo tiles: same tile shell as a static img, but crossfades between shots */
.about-cycle { position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; }
.about-cycle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: about-cycle-fade 9s infinite; }
@keyframes about-cycle-fade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  44% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}
.about-cycle-tag {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: rgba(17, 17, 17, 0.55); color: #fff;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.about-cycle-tag--after { background: var(--color-accent); }

/* --- Round #12 (operator voice notes) --- */
/* Sleeker nav: no chip behind the wordmark; chip stays only for logo images that need it */
.nav-logo { background: none; box-shadow: none; padding: 0; }
.nav-wordmark { background: none; }
/* Nav phone icon: white over the hero, accent when scrolled; Book button = accent */
.nav:not(.scrolled) .nav-phone-icon { color: #fff; }
.nav.scrolled .nav-phone-icon { color: var(--color-accent); }
.nav-cta { background: var(--color-accent); color: #fff; display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-cta:hover { filter: brightness(1.1); }
/* Buttons: shared icon sizing; Call = white bg + accent phone icon */
.btn-ico { width: 17px; height: 17px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-call { background: #fff; color: var(--color-brand-strong); border: 1px solid var(--color-border); }
.btn-call .btn-ico-phone { color: var(--color-accent); }
/* Operator 2026-07-31: hero book + call icons must MATCH — both accent. Icon
   falls back to inherited text color on the accent-filled hover so it never
   disappears accent-on-accent. */
.hero .btn-primary .btn-ico { color: var(--color-accent); }
.hero .btn-primary:hover .btn-ico { color: inherit; }
.btn-call:hover { border-color: var(--color-accent); }
/* Hero: badge sits lower; stars pinned bottom-right with the badge row */
.hero .hero-rating { position: absolute; right: clamp(1.25rem, 4vw, 2.5rem); bottom: 2.2rem; margin: 0; }
.hero-content { padding-bottom: 3.5rem; }
/* Concern label: accent, same as the phone treatment */
.concerns-label { color: var(--color-accent); }
/* Trust + step + comfort icons: brighter, stand out from the band */
.trust-item svg { color: var(--color-accent); }
.step-num { background: var(--color-accent); color: #fff; }
.comfort-icon { color: var(--color-accent); }
.firstvisit-section .steps-grid .step-card { text-align: center; }
.firstvisit-section .step-num { margin-inline: auto; }
/* About cluster squared off: shorter top, larger bottom pair */
.about-cluster-top { aspect-ratio: 2.6 / 1; }
.about-cluster .about-cycle { aspect-ratio: 1 / 0.92; }
/* Book section breathing room at the page end */
.booking-section { padding-top: calc(var(--space-xl) * 0.6); }

/* Badge row: eyebrow left, Google stars inline to its right (operator, 2026-07-25) */
.hero-badge-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 60px; margin-bottom: 0.9rem; }
.hero-badge-row .hero-badge { margin-bottom: 0; }
.hero-badge-rating { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.hero-badge-rating .hero-stars { color: #E7A934; letter-spacing: 0.06em; }
.hero-badge-rating strong { font-family: var(--font-display); }
.hero .hero-rating { position: static; }
/* MISSED: comfort cards centered like the 1-2-3 steps (operator: "same thing with the
   options for the sedation ... and hours") */
.comfort-card { text-align: center; }
.comfort-icon { margin-inline: auto; }
/* MISSED: booking section spacing at the page end */
.booking-section { padding-bottom: calc(var(--space-xl) * 0.9); }

/* --- Round #13 (operator voice) --- */
/* Middot between the badge and the Google rating on the same line */
.hero-badge-dot { color: rgba(255,255,255,0.5); font-weight: 700; }
/* About picture cluster: smaller, so its bottom edge lines up with the
   proof-point 2x2 card column on the right */
.about-cluster { max-width: 92%; gap: 10px; }
.about-cluster-top { aspect-ratio: 2.7 / 1; }
.about-cluster .about-cycle { aspect-ratio: 1 / 0.72; }
/* Reduce the space above "What we do" (services) an additional 60% */
.services-section { padding-top: calc(var(--space-xl) * 0.16); }

/* --- Round #14 (operator) --- */
/* Phone-icon call buttons: force centered content everywhere, no cascade ambiguity */
.btn-call, a.btn-call { justify-content: center !important; text-align: center; }

/* --- Round #14 (operator voice, services page) --- */
/* Book section: title + intro centered "for more effect" */
.book-intro { text-align: center; }
.book-intro .section-head-center, .book-intro .section-label { justify-content: center; }
.book-call { margin-inline: auto; max-width: 420px; }

/* --- Round #15 (operator) --- */
.book-intro { display: flex; flex-direction: column; justify-content: center; }
.book-form-col { display: flex; flex-direction: column; }

/* --- Round #16 (operator) --- */
/* Hero: blur the top-left corner of the photo (badge/eyebrow legibility) */
.hero-corner-blur {
  position: absolute; top: 0; left: 0;
  width: 46%; height: 42%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: radial-gradient(circle at 0% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(circle at 0% 0%, #000 55%, transparent 100%);
  pointer-events: none;
}

/* --- Round #17 (operator): unify EVERY icon color site-wide to the accent --- */
.visit-detail svg, .proof-icon svg, .modal-icon svg, .service-icon,
.comfort-icon, .trust-item svg, .concern-chip svg { color: var(--color-accent) !important; }
.service-icon { background: var(--color-accent-soft); }
/* Get-directions: icon left, arrow right, gap between all three */
.btn-directions { gap: 0.55rem; }
.btn-ico-arrow { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn-directions:hover .btn-ico-arrow { transform: translateX(3px); }

/* --- Round #18 (operator): bolder, more readable h1 --- */
.hero h1 { font-weight: 700; letter-spacing: -0.005em; }

/* --- Round #19 (operator): testimonials + square-off stretch-fill --- */
.about-media { display: flex; flex-direction: column; height: 100%; }
.about-cluster { flex: 1; grid-template-rows: auto 1fr; }
.about-cluster-top { height: auto; }
.about-cluster .about-cycle { height: 100%; aspect-ratio: auto; }
.about-text { display: flex; flex-direction: column; }
.proof-points { flex: 1; grid-template-rows: 1fr 1fr; }
.proof-point { height: 100%; }

/* Testimonial cards: same card shell, quote-forward content */
.testimonial-card { flex-direction: column; align-items: stretch; gap: 0.75rem; background: var(--color-surface); }
.testimonial-head { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.testimonial-who strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--color-ink); }
.testimonial-time { font-size: 0.78rem; color: var(--color-ink-dim); }
.testimonial-glogo { width: 22px; height: 22px; flex-shrink: 0; }
.testimonial-rating { display: flex; align-items: center; gap: 0.4rem; }
.testimonial-stars { color: #FBBC05; letter-spacing: 0.05em; font-size: 1rem; }
.testimonial-verified { width: 17px; height: 17px; color: #4285F4; }
.testimonial-quote-text { color: var(--color-ink); font-family: var(--font-body); font-style: normal; font-size: 0.92rem; line-height: 1.5; margin: 0; flex: 1; }

/* Parking note folded into the Address block (operator round #20): a small,
   quieter line so it reads as supplementary info, not another primary fact. */
.visit-parking { display: inline-block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--color-ink-dim); font-style: italic; }

/* Hours added to Visit/Contact as its own detail row (operator: "hours should
   be in the contact section"), same shell as Address/Phone. */
.visit-hours-row { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.2rem 0; }
.visit-hours-row:not(:last-child) { border-bottom: 1px solid var(--color-border); }
.visit-hours-row span:first-child { color: var(--color-ink); font-weight: 600; }

/* Email folded into the Phone card, same box (operator: "optional spot for email beside phone") */
.visit-email-row { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; margin-left: calc(-22px - 0.85rem); }
.visit-email-icon { width: 16px; height: 16px; color: var(--color-brand); flex-shrink: 0; }

/* Round #25 (operator): hero ~30% shorter - trim the section padding, the
   oversized badge-row top margin, and the sub/actions spacing rather than
   shrinking the H1 itself */
.hero { padding: clamp(1.5rem, 3vw, 2.4rem) 0; }
.hero-badge-row { margin-top: 0; margin-bottom: 1.1rem; }
@media (max-width: 620px) {
  .hero-badge-row { display: none; }
}
.hero-content { padding-bottom: 1.5rem; }
@media (min-width: 621px) {
  .hero-content { padding-top: 1.2rem; }
}
.hero-sub { margin-bottom: 1rem; }
.hero-actions { margin-bottom: 0.5rem; }

/* Round #26 (operator): FAQ above the call block, squares off the book-intro
   column with the taller contact-form column instead of leaving it blank */
.book-faq { text-align: left; margin-top: var(--space-md); display: flex; flex-direction: column; gap: 0; }
.book-faq-item { border-bottom: 1px solid rgba(255,255,255,0.18); padding: 0.9rem 0; }
.book-faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.18); }
.book-faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff;
}
.book-faq-item summary::-webkit-details-marker { display: none; }
.book-faq-toggle { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.book-faq-toggle::before, .book-faq-toggle::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--color-accent-contrast, #fff); transform: translate(-50%, -50%);
}
.book-faq-toggle::before { width: 14px; height: 2px; }
.book-faq-toggle::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.book-faq-item[open] .book-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.book-faq-item p { color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.6; margin: 0.65rem 0 0; }

/* Get-directions row: centered, with social icons filling the space below it
   (operator round #21) */
.visit-actions { justify-content: center; }
.visit-socials { display: flex; justify-content: center; gap: 1rem; margin-top: 0.9rem; }
.visit-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-accent); transition: background .2s ease, transform .2s ease; }
.visit-social-link svg { width: 19px; height: 19px; }
.visit-social-link:hover { background: var(--color-accent-soft); transform: translateY(-2px); }

/* --- Round #27 (polish pass 3, residual QA): nav / trust-bar / first-visit /
   hero.cta+sub / booking / footer / about / services / map --- */

/* Nav: link weight/size balance tightened back from the widened gap, plus a
   crisper scrolled state (more opaque blur, a touch more lift under the bar). */
.nav-links { gap: 1.85rem; }
.nav-links a { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; }
.nav.scrolled {
  padding: 0.55rem 0;
  background: color-mix(in srgb, var(--color-bg) 93%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border), 0 10px 26px -20px rgba(15,26,20,0.4);
}

/* Trust strip: deliberate icon/text rhythm with a real divider rhythm on
   wide screens instead of loose wrapped gaps; consistent icon/label baseline. */
.trust-bar-inner { padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem); row-gap: 0.85rem; column-gap: 1.5rem; }
.trust-item { gap: 0.6rem; line-height: 1.1; }
.trust-item svg { width: 19px; height: 19px; }
@media (min-width: 640px) {
  .trust-bar-inner { column-gap: 0; }
  .trust-item:not(:last-child) { padding-right: 2.25rem; border-right: 1px solid var(--color-border); }
}
/* Concern navigator shares the trust-bar QA anchor: same deliberate rhythm cue. */
.concerns { padding: 1rem 0; }
.concerns-inner { gap: 1.1rem; }
.concern-chip { line-height: 1.2; }

/* First visit steps: a more deliberate number treatment + consistent rhythm. */
.steps-grid { gap: 1.75rem; }
.step-card { padding: 2.5rem 1.85rem 2.25rem; }
.step-num { width: 50px; height: 50px; font-size: 1.3rem; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--color-accent) 55%, transparent); }

/* Hero CTA regression fix: near-white button with brand-strong text (readable
   against the photo) instead of the tinted/saturated treatment; hover stays rich. */
.hero .btn-primary {
  background: color-mix(in srgb, #fff 97%, var(--color-accent) 3%);
  color: var(--color-brand-strong);
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--color-brand-strong) 55%, transparent);
}
.hero .btn-primary:hover {
  background: var(--color-accent);
  color: #fff;
  filter: none;
  box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--color-accent) 60%, transparent);
}

/* Hero sub-copy: subtle warmth nudged in from the existing accent var, no
   hardcoded hue. */
.hero-sub { color: color-mix(in srgb, #fff 89%, var(--color-accent) 11%); }

/* Booking: continue the input/label rhythm - a touch more breathing room per
   field and a tighter, more consistent label-to-field gap. */
.book-form { padding: 2.5rem 2.25rem; }
.form-row { gap: 1rem 1.25rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label { margin-bottom: 0.5rem; letter-spacing: 0.12em; }
.form-group input, .form-group select, .form-group textarea { padding: 0.9rem 1.05rem; }

/* Footer: clearer weight/size step between section headers and body copy. */
.footer-col h4 { font-size: 0.8rem; margin-bottom: 1rem; }
.footer-col li, .footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.62); font-weight: 400; }
.footer-brand p { font-size: 0.86rem; }
.footer-hours-row { font-size: 0.86rem; }

/* About imagery: one more depth step - the container shadow is the reliable
   visible cue (nested image shadows get clipped by the media mask). */
.about-media { box-shadow: 0 30px 60px -28px rgba(15,26,20,0.32), 0 10px 20px -12px rgba(15,26,20,0.18); }

/* Services cards: one more slight depth step on the resting shadow. */
.service-card { box-shadow: 0 16px 34px -18px rgba(15,26,20,0.26); }

/* Visit / Map: clearer hierarchy - heading anchors the left column instead of
   floating centered above the two-column grid; detail cards get a touch more
   presence to balance the map's own shadow; grouped spacing is more deliberate. */
.visit-section .section-head-center { text-align: left; margin: 0 0 var(--space-lg); max-width: 620px; }
.visit-section .section-head-center .section-desc { margin-left: 0; }
.visit-details { gap: 1rem; }
.visit-detail { padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm); }
.visit-detail strong { font-size: 1rem; margin-bottom: 0.25rem; }
.visit-actions { margin-top: var(--space-md); }
.map-container { box-shadow: var(--shadow-lg); }
