/* ============================================================
   BACK TO ZEN WITH JEN — styles.css
   Mobile-first. Breakpoints: 640px, 960px, 1200px.
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Colors — palette
     Variable names are historical (--sage*, --clay*) but values were
     shifted to match the Back to Zen with Jen logo: teal mandala +
     warm-tan wordmark. Treat --sage* as "teal" and --clay* as
     "tan/brass" when reading new code. */
  --bg-cream:      #F5F0E8;
  --bg-cream-warm: #EDE5D6;          /* subtly deeper layered surface */
  --sage:          #4FAAA3;          /* mid teal — accent strokes, borders */
  --sage-dark:     #2D7F7A;          /* darker teal — primary buttons, links */
  --sage-deeper:   #1A5854;          /* hero gradient mid-tone */
  --sage-deepest:  #103D3A;          /* hero solid base */
  --sage-light:    #B0DBD7;          /* pale teal — footer accents, badges */
  --clay:          #9C7A47;          /* warm tan — section labels, brand accent */
  --clay-dark:     #735733;          /* btn-clay hover, accent strokes */
  --clay-light:    #DBC6A0;          /* pale tan — hero eyebrow, badges on dark */
  --charcoal:      #2C2C29;
  --card:          #FEFCF7;
  --muted:         #6B6862;          /* darkened for AA contrast on cream */
  --border:        #E4DDD3;
  --overlay:       rgba(44, 44, 41, 0.55);

  /* Typography */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.875rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(44, 44, 41, 0.06);
  --shadow-sm: 0 2px 10px rgba(44, 44, 41, 0.08);
  --shadow-md: 0 6px 24px rgba(44, 44, 41, 0.10);
  --shadow-lg: 0 16px 48px rgba(44, 44, 41, 0.13);

  /* Transitions */
  --ease:        220ms ease;
  --ease-slow:   320ms ease;

  /* Layout */
  --max-w:       1200px;
  --content-w:   740px;
  --nav-h:       68px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--charcoal);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Global keyboard-focus ring — kicks in for anything reachable by Tab
   that doesn't define its own focus-visible style. */
:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.1rem; line-height: 1.3; }

p {
  color: var(--charcoal);
  line-height: 1.7;
  max-width: 64ch;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--charcoal);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.text-center .section-label { justify-content: center; }

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--content-w);
}

.section {
  padding-block: var(--space-xl);
}

.section--card  { background: var(--card); }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* Section-head: the eyebrow + h2 + optional intro paragraph block
   that introduces a content section. Standardizes spacing so HTML
   doesn't have to ship inline margin-bottom values. */
.section-head {
  margin-bottom: var(--space-lg);
}

.section-head--lg {
  margin-bottom: var(--space-xl);
}

/* Center alignment modifier for button groups (replaces inline
   style="justify-content: center;" on cta-banner btn-groups) */
.btn-group--center {
  justify-content: center;
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8em 1.8em;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease), color var(--ease),
              transform var(--ease), box-shadow var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}
.btn-primary:hover {
  background: var(--sage);
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}
.btn-secondary:hover {
  background: var(--sage-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-clay {
  background: var(--clay);
  color: #fff;
  border-color: var(--clay);
}
.btn-clay:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ── 5.5. SKIP LINK ───────────────────────────────────────── */
/* Visually hidden until focused — for keyboard users to bypass nav. */
.skip-link {
  position: absolute;
  top: 0;
  left: var(--space-md);
  transform: translateY(-150%);
  z-index: 200;
  padding: 0.7em 1.4em;
  background: var(--sage-dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: transform var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--clay-light);
  outline-offset: 2px;
}

/* Visually-hidden helper for off-screen text reachable to AT */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── 6. HEADER & NAV ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-cream);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo em {
  font-style: italic;
  color: var(--sage-dark);
}

.primary-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-dark);
  transition: width var(--ease);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sage-dark);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.btn-book {
  flex-shrink: 0;
  display: none;
  font-size: 0.85rem;
  padding: 0.65em 1.4em;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1.4rem;
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--charcoal);
}

.mobile-nav .btn {
  font-size: 1rem;
}

/* ── 7. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo-img {
  width: 96px;
  height: 96px;
  margin-bottom: var(--space-sm);
  display: block;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--sage-light);
  margin-bottom: var(--space-sm);
  display: block;
}

.footer-logo em {
  font-style: italic;
  color: var(--clay-light);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 28ch;
  line-height: 1.6;
}

/* License credentials — small trust signal under the tagline */
.footer-license {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-sm);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--sage-light);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}

.footer-bottom a:hover {
  color: var(--sage-light);
}

/* ── 9. HOMEPAGE HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  background: var(--sage-deepest);
  overflow: hidden;
  padding-block: var(--space-2xl) var(--space-xl);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  z-index: -2;
}

/* Directional wash for text legibility — anchored bottom-left,
   thinning out toward the upper right so the photo stays visible */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 38, 36, 0.92) 0%,
      rgba(10, 38, 36, 0.78) 38%,
      rgba(10, 38, 36, 0.35) 72%,
      rgba(10, 38, 36, 0.10) 100%
    );
  z-index: -1;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-light);
  margin-bottom: var(--space-md);
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--clay-light);
  opacity: 0.7;
  flex-shrink: 0;
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-weight: 400;
  font-size: clamp(2.75rem, 7.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay-light);
}

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* ── 10. PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  position: relative;
  background: var(--sage-deepest);
  padding-block: var(--space-xl) var(--space-lg);
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}

/* Thin clay rule at the top — small detail that ties to brand color */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--clay);
}

.page-hero .container {
  max-width: var(--content-w);
}

.page-hero h1 {
  color: #fff;
  font-weight: 400;
  margin-bottom: var(--space-xs);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  max-width: 52ch;
}

.page-hero .section-label { color: var(--clay-light); }
.page-hero .section-label::before { background: var(--clay-light); }

/* ── 11. ABOUT STRIP (homepage) ───────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-cream-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle frame detail — a thin clay rule at lower-left for distinctiveness */
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 56px;
  height: 56px;
  border-left: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  border-bottom-left-radius: var(--radius-md);
  pointer-events: none;
}

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  margin-bottom: var(--space-md);
}

.about-text p:last-of-type {
  margin-bottom: var(--space-lg);
}

/* ── 12. SERVICE CARDS ────────────────────────────────────── */
.services-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 36px;
  background: var(--clay);
  transition: width var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-light);
}

.service-card:hover::before { width: 72px; }

/* Numbered mark — replaces generic icons, uses brand serif */
.service-card-num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2xs);
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--charcoal);
  flex-grow: 1;
  max-width: none;
  line-height: 1.65;
}

.service-best-for {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--border);
}

.service-best-for strong {
  color: var(--sage-dark);
  font-weight: 600;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.82rem;
  padding: 0.6em 1.3em;
}

/* ── 13. BENEFITS GRID ────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-md);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.benefit-item h3 {
  font-size: 1.15rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--charcoal);
}

.benefit-item p {
  font-size: 0.9375rem;
  max-width: none;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ── 14. TESTIMONIALS ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.testimonial-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

/* Large decorative opening quote — typographic anchor for each card */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.2rem;
  left: var(--space-md);
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.45;
  font-style: italic;
  pointer-events: none;
}

.testimonial-stars {
  color: var(--clay);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
}

.testimonial-card blockquote {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.45;
  margin-bottom: var(--space-md);
  letter-spacing: -0.005em;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0;
}

.testimonial-time {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.testimonial-meta > div {
  display: flex;
  flex-direction: column;
}

.testimonial-meta p { margin: 0; max-width: none; }

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-cream-warm);
  flex-shrink: 0;
}

/* Initial-letter fallback when Google's profile_photo_url is absent */
.testimonial-avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Skeleton placeholder cards — shown until reviews.js populates */
.review-skeleton::before { content: none; }
.review-skeleton {
  padding: var(--space-lg);
}

.skeleton-line {
  height: 14px;
  background: var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  animation: btz-pulse 1.5s ease-in-out infinite;
}

.skeleton-line--short { width: 40%; }
.skeleton-line:nth-child(2) { animation-delay: 0.1s; }
.skeleton-line:nth-child(3) { animation-delay: 0.2s; }
.skeleton-line:nth-child(4) { animation-delay: 0.3s; }

@keyframes btz-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* Attribution link required by Google Places TOS */
.reviews-attribution {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.82rem;
  color: var(--muted);
  max-width: none;
  margin-inline: auto;
}

.reviews-attribution a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Shown when API fails / cache empty — spans the full grid row */
.reviews-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.reviews-fallback p { max-width: none; margin-inline: auto; }

.reviews-fallback a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ── 15. CTA BANNER ───────────────────────────────────────── */
/* Reads as a distinct moment from the hero: warm-charcoal base,
   clay accent rule, no diagonal gradient. */
.cta-banner {
  position: relative;
  background: #1F1E1B;
  padding-block: var(--space-xl);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--clay);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  max-width: 48ch;
  font-size: 1.0625rem;
}

.cta-banner .section-label { color: var(--clay-light); }
.cta-banner .section-label::before { background: var(--clay-light); }

/* ── 16. TRUST SECTION ────────────────────────────────────── */
.trust-section {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 1px solid var(--border);
}

.trust-section h2 {
  margin-bottom: var(--space-md);
}

.trust-section p {
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

/* ── 17. FAQ ACCORDION ────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: var(--content-w);
  margin-inline: auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  background: none;
  cursor: pointer;
  transition: color var(--ease);
}

.faq-trigger:hover {
  color: var(--sage-dark);
}

.faq-trigger:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: -3px;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--sage-dark);
  transition: transform var(--ease);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 var(--space-lg) var(--space-md);
}

.faq-content.open {
  display: block;
}

.faq-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: none;
}

.faq-content p + p { margin-top: 0.75rem; }

.faq-content a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 18. CONTACT FORM ─────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75em 1em;
  background: var(--bg-cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-size: 0.95rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 170, 163, 0.22);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: var(--space-sm);
  font-style: italic;
}

.form-success {
  text-align: center;
  padding-block: var(--space-xl);
  outline: none;
}

.form-success-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.form-success p {
  max-width: none;
}

.form-success a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info-card {
  background: var(--sage-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  color: rgba(255,255,255,0.85);
}

.contact-info-card h2 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-size: 1.7rem;
}

/* Lead paragraph inside the info card — sits right under the h2. */
.contact-info-card > p {
  color: rgba(255,255,255,0.75);
  max-width: none;
  margin-bottom: var(--space-lg);
}

/* Form-card sub-heading is tighter than a regular page h2. */
.contact-form-card h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

/* Button modifier: full-width within its container */
.btn--full {
  width: 100%;
  justify-content: center;
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--sage-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail p,
.contact-detail address {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: none;
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.contact-detail a {
  color: rgba(255,255,255,0.8);
  transition: color var(--ease);
}

.contact-detail a:hover {
  color: var(--sage-light);
}

.contact-detail address a {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--sage-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mailto-fallback {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.mailto-fallback p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  max-width: none;
  margin-bottom: var(--space-sm);
}

/* ── 19. BOOKING PAGE ─────────────────────────────────────── */
.booking-intro {
  max-width: var(--content-w);
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.booking-intro p {
  margin-inline: auto;
}

.booking-intro p + p {
  margin-top: var(--space-sm);
}

/* Booking policies: small grid of three cards under the widget */
.booking-policies {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.booking-policy {
  background: var(--bg-cream);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.booking-policy h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.booking-policy p {
  font-size: 0.92rem;
  max-width: none;
}

.booking-policy a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-widget-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  /* Reserve vertical space so the page doesn't jump when Vagaro renders.
     Vagaro injects DOM inline (not in an iframe) so the iframe min-height
     rule below catches the iframe case; this min-height handles the inline
     case. The widget will exceed this; that's fine — it just grows. */
  min-height: 600px;
}

@media (min-width: 640px) {
  .booking-widget-wrap {
    padding: var(--space-lg);
    min-height: 700px;
  }
}

.booking-widget-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: var(--radius-md);
  display: block;
}

.booking-fallback {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 0.88rem;
  color: var(--muted);
}

.booking-fallback a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 20. ABOUT PAGE ───────────────────────────────────────── */
.about-page-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Credentials block — sits under Jen's bio. Two-up at desktop,
   stacked at mobile. Treated as a discreet trust signal, not loud. */
.credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.credentials > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credentials dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.credentials dd {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--charcoal);
  margin: 0;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .credentials { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.approach-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: border-left-color var(--ease);
}

.approach-card:hover { border-left-color: var(--clay); }

.approach-card h3 {
  font-size: 1.2rem;
  margin: 0 0 var(--space-2xs);
}

.approach-card p {
  font-size: 0.9375rem;
  color: var(--charcoal);
  max-width: none;
  line-height: 1.6;
  margin: 0;
}

.first-visit-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.first-visit-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-number {
  counter-increment: steps;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 21. PRIVACY PAGE ─────────────────────────────────────── */
.prose h2 {
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.prose p, .prose li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: none;
  margin-bottom: var(--space-sm);
}

.prose ul {
  list-style: disc;
  padding-left: var(--space-lg);
}

.prose a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 22. ANIMATIONS ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }

/* ── 23. MEDIA QUERIES ────────────────────────────────────── */

/* 640px — small tablets, large phones landscape */
@media (min-width: 640px) {
  .services-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-widget-wrap iframe {
    min-height: 800px;
  }
}

/* 960px — tablets, small laptops */
@media (min-width: 960px) {
  .primary-nav {
    display: flex;
  }

  .btn-book {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .services-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-strip {
    grid-template-columns: 1fr 1.4fr;
  }

  .about-page-intro {
    grid-template-columns: 1fr 1.4fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1.6fr;
  }

  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  }

  .first-visit-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1024px — iPad landscape and up: services-preview opens to 4 cols.
   Done at 1024 (not 1200) so the 2→4 transition isn't a one-pixel jump
   in the 1100–1199 dead zone (Surface, narrow desktop windows). */
@media (min-width: 1024px) {
  .services-preview {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 1200px — full desktop: roomier container padding for editorial feel */
@media (min-width: 1200px) {
  .container {
    padding-inline: var(--space-xl);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .stagger > * {
    opacity: 1;
    transform: none;
  }
}
