/* ==========================================================================
   BCP Cricket — design tokens + shared components
   Palette: deep cricket green, walnut brown, warm cream, gold accent.
   Fraunces (characterful serif, artisan feel) for headings, Work Sans for
   body — deliberately not Playfair+Inter, avoiding the templated AI pairing.
   ========================================================================== */

:root {
  /* --- colour --- */
  --green-900: #0f2419;
  --green-800: #163828;
  --green-700: #1f4a34;
  --green-600: #2b6249;
  --walnut-900: #2c1c10;
  --walnut-700: #4a3221;
  --walnut-500: #6b4a30;
  --cream-100: #faf6ee;
  --cream-200: #f3ecdc;
  --cream-300: #e9dfc8;
  --white: #ffffff;
  --gold-400: #cba05f;
  --gold-500: #b3854a;
  --gold-600: #8f6a39;
  --ink: #211a13;
  --ink-soft: #5c5247;
  --line: rgba(33, 26, 19, 0.12);
  --line-on-dark: rgba(250, 246, 238, 0.14);

  /* --- surface roles (light, default) --- */
  --bg: var(--cream-100);
  --bg-elevated: var(--white);
  --bg-sunken: var(--cream-200);
  --bg-dark: var(--green-900);
  --bg-dark-elevated: var(--green-800);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-on-dark: var(--cream-100);
  --text-on-dark-soft: rgba(250, 246, 238, 0.72);
  --accent: var(--gold-500);
  --accent-ink: var(--walnut-900);

  /* --- type --- */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- scale --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-md: 0 12px 32px -16px rgba(15, 36, 25, 0.35);
  --shadow-lg: 0 30px 70px -30px rgba(15, 36, 25, 0.45);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Belt-and-suspenders against horizontal overflow — nothing in this
   stylesheet should rely on this to *cause* correct layout, but it's a
   cheap, harmless backstop against any stray source (a long unbroken
   word, a mistaken vw-based width, etc). */
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* h1's minimum was too large to comfortably fit a long headline on a
   375px screen at 2.4rem — lowered the floor so small phones get a size
   that actually leaves room to breathe, not just a smaller clamp ceiling. */
h1 { font-size: clamp(1.9rem, 6.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 5vw, 2.75rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 3.2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { overflow-wrap: break-word; }

p { margin: 0 0 1em; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

/* Headings set an explicit color above, so on dark-background sections
   they need an explicit override too — plain inheritance from the
   section's own color wouldn't reach them otherwise. */
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.cta-band h1, .cta-band h2, .cta-band h3,
h1.on-dark, h2.on-dark, h3.on-dark {
  color: var(--text-on-dark);
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
/* .hero/.page-hero already get their own rule further down — this just
   covers .cta-band (previously missing entirely, so its eyebrow rendered
   in the light-background gold-600, low-contrast on dark green) and any
   future direct .on-dark usage. */
.cta-band .eyebrow, .eyebrow.on-dark { color: var(--gold-400); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold-500);
  color: var(--walnut-900);
  box-shadow: 0 14px 30px -14px rgba(179, 133, 74, 0.65);
}
.btn-primary:hover { background: var(--gold-400); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text);
}
.btn-outline:hover { background: var(--ink); color: var(--cream-100); border-color: var(--ink); }
/* Compound selector — .on-dark is applied directly on the button itself
   (e.g. class="btn btn-outline on-dark"), not as a wrapping ancestor, so
   this must NOT have a space before ".btn-outline" or it never matches.
   (Previously ".on-dark .btn-outline" — silently dead, made the hero's
   secondary button render dark-on-dark and effectively invisible.) */
.btn-outline.on-dark {
  color: var(--text-on-dark);
  border-color: var(--gold-400);
  background: rgba(15, 36, 25, 0.35);
}
.btn-outline.on-dark:hover { background: var(--gold-500); color: var(--walnut-900); border-color: var(--gold-500); }
.btn-ghost-dark {
  background: rgba(250, 246, 238, 0.08);
  border-color: var(--line-on-dark);
  color: var(--text-on-dark);
}
.btn-ghost-dark:hover { background: rgba(250, 246, 238, 0.16); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 36, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
  /* Only non-zero in edge-to-edge contexts (viewport-fit=cover, which the
     bottom safe-area bar below needs); keeps the logo/toggle clear of a
     notch/Dynamic Island instead of just the bottom inset benefiting. */
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-on-dark);
}
.brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-on-dark); }
.brand .brand-fallback {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--walnut-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-on-dark-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-on-dark); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-500);
}
.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-on-dark); transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Mobile navigation overlay — a dedicated full-screen element, deliberately
   NOT nested inside .site-header. backdrop-filter on an ancestor creates a
   new containing block for position:fixed descendants in most browsers, so
   nesting a "fixed, full-viewport" overlay inside the (backdrop-filter'd)
   header would silently confine it to the header's own small box instead
   of the real viewport — exactly the "menu opens but doesn't cover the
   page" bug this replaces. Living as its own top-level element sidesteps
   that entirely.
   ========================================================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  /* Actual header height varies with env(safe-area-inset-top); site.js sets
     this to the header's real offsetHeight on open, this is just a sane
     fallback for the instant before JS runs. */
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--green-900);
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-overlay nav {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 24px 28px calc(40px + env(safe-area-inset-bottom));
}
.mobile-nav-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mobile-nav-overlay li + li { margin-top: 4px; }
.mobile-nav-overlay a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text-on-dark-soft);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-on-dark);
  min-height: 44px;
}
.mobile-nav-overlay a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}
.mobile-nav-overlay a.active { color: var(--text-on-dark); }
.mobile-nav-overlay a.active::before { opacity: 1; }
@media (min-width: 901px) {
  .mobile-nav-overlay { display: none !important; }
}

/* Locked while the overlay is open, so the hero/page behind it can't
   scroll underneath — set/removed by site.js. */
body.nav-open { overflow: hidden; }

/* --- sticky mobile contact bar --- */
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--green-900);
  border-top: 1px solid var(--line-on-dark);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
@media (max-width: 720px) {
  .mobile-contact-bar { display: flex; }
  .mobile-contact-bar .btn { flex: 1; padding: 12px 16px; font-size: 0.88rem; }
  body { padding-bottom: 62px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  background: linear-gradient(180deg, rgba(15,36,25,0.55) 0%, rgba(15,36,25,0.55) 40%, rgba(10,24,17,0.92) 100%), var(--green-900);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #16321f, var(--green-900));
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}
/* Sibling placeholder-fill sits behind the img explicitly (rather than
   relying on DOM order, since two auto-z-index absolutely-positioned
   siblings paint in source order — the img comes first in the markup, so
   without this it would actually render UNDER the placeholder once a real
   photo is uploaded, permanently hiding it). Only ever visible once the
   img's onerror removes it from the DOM. */
.hero-media .placeholder-fill { z-index: 1; }
.placeholder-fill.on-dark { color: var(--text-on-dark-soft); }
.placeholder-fill.on-dark code {
  background: rgba(250, 246, 238, 0.12);
  color: var(--text-on-dark);
}
.hero-inner { padding: 80px 0 72px; max-width: 760px; }

/* ==========================================================================
   Mobile hero recomposition — the desktop hero is a full-bleed background
   image with text overlaid at the bottom; at phone widths that image just
   crops to a flat wash behind the text (no real depth) and forces a huge
   92vh block. Below 720px the hero becomes a normal-flow stack instead:
   text first, then the same image as a contained card. .hero-media and
   .hero-inner are already siblings in the HTML, so this is pure
   reordering/positioning — no markup changes needed.
   ========================================================================== */
@media (max-width: 720px) {
  .hero {
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
    padding-top: 36px;
    background: var(--green-900);
    overflow: visible;
  }
  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    height: 46vh;
    min-height: 220px;
    margin: 28px 20px 0;
    border-radius: 18px;
    overflow: hidden;
  }
  .hero-media img { opacity: 1; }
  .hero-inner {
    order: 1;
    padding: 0 20px 40px;
    max-width: none;
  }
  .hero .btn-row { margin-bottom: 8px; }
  .hero-stats { margin-top: 32px; gap: 28px; }
}
.hero .eyebrow { color: var(--gold-400); }
.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-on-dark-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold-400);
}
.hero-stats .stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* smaller inner-page hero */
.page-hero {
  background: var(--green-900);
  color: var(--text-on-dark);
  padding: 150px 0 72px;
}
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero p { color: var(--text-on-dark-soft); max-width: 620px; }
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-400); }

/* ==========================================================================
   Cards, grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 26px; }
.card-media { aspect-ratio: 4/3; background: var(--cream-300); position: relative; overflow: hidden; }

.service-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.service-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon svg { width: 22px; height: 22px; }

/* ==========================================================================
   Placeholder media — graceful fallback when a real photo/video hasn't
   been uploaded yet. Each real <img>/<video> sits with onerror swapping to
   this fill; the moment a real file lands at the expected path it just
   works, no markup changes needed.
   ========================================================================== */
.media-slot {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-300), var(--cream-200));
  display: block;
}
.media-slot img, .media-slot video {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  z-index: 2;
}
/* .hero-media isn't a .media-slot (its dark hero background is deliberately
   different from that component's light cream fill) but reuses the same
   placeholder-fill markup pattern, so it shares this layout via a
   comma-joined selector rather than duplicating the whole block. */
.media-slot .placeholder-fill, .hero-media .placeholder-fill {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px; text-align: center;
  color: var(--walnut-500);
}
.media-slot .placeholder-fill svg, .hero-media .placeholder-fill svg { width: 30px; height: 30px; opacity: 0.7; }
.media-slot .placeholder-fill span, .hero-media .placeholder-fill span { font-size: 0.75rem; font-family: var(--font-body); line-height: 1.4; }
.media-slot .placeholder-fill code, .hero-media .placeholder-fill code {
  display: block; margin-top: 4px; font-size: 0.68rem;
  background: rgba(44, 28, 16, 0.08); padding: 2px 6px; border-radius: 4px; color: var(--walnut-700);
}

/* ==========================================================================
   Before / After slider
   ========================================================================== */
.ba-slider {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
}
.ba-slider .ba-after,
.ba-slider .ba-before {
  position: absolute; inset: 0;
}
.ba-slider .ba-before {
  overflow: hidden;
  width: 50%;
  border-right: 2px solid var(--white);
}
/* .ba-after IS a .media-slot itself (class="ba-after media-slot"), so it
   already gets the correct 100%/100% sizing from .media-slot's own base
   rule above — no override needed. .ba-before's inner .media-slot is a
   true descendant and needs to render at the slider's full width despite
   sitting inside a narrower, variable-width clip container; 200% (relative
   to .ba-before's default 50% width) is only a same-viewport-safe initial
   fallback — site.js pins the real value in px once JS runs, since the
   drag position changes .ba-before's width away from 50%. */
.ba-slider .ba-before .media-slot { width: 200%; max-width: none; height: 100%; }
.ba-tag {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(15, 36, 25, 0.85);
  color: var(--cream-100);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}
.ba-tag.tag-before { left: 16px; }
.ba-tag.tag-after { right: 16px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 4;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23211a13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 8 3 12 7 16'/%3E%3Cpolyline points='17 8 21 12 17 16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ==========================================================================
   Testimonials carousel
   ========================================================================== */
.tcarousel { position: relative; }
.tcarousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.tcarousel-track::-webkit-scrollbar { display: none; }
.tcard {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 88vw);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.tcard .quote { font-size: 1.02rem; color: var(--text); margin-bottom: 20px; }
.tcard .who { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }
.tcarousel-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: center; }
.tcarousel-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-elevated);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tcarousel-nav button:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream-100); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-q .plus { background: var(--gold-500); border-color: var(--gold-500); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after { background: var(--walnut-900); }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 4px 22px; max-width: 680px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  columns: 3 240px;
  column-gap: 18px;
}
.gallery-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-grid .media-slot { aspect-ratio: auto; }
@media (max-width: 640px) { .gallery-grid { columns: 1 240px; } }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(179, 133, 74, 0.18);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .field-error {
  color: #a3372f;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: #a3372f; }
.form-field.invalid .field-error { display: block; }
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 18px;
  display: none;
}
.form-status.success { display: block; background: rgba(43, 98, 73, 0.12); color: var(--green-700); }
.form-status.error { display: block; background: rgba(163, 55, 47, 0.1); color: #a3372f; }

/* ==========================================================================
   CTA band, footer
   ========================================================================== */
.cta-band {
  background: var(--green-900);
  color: var(--text-on-dark);
  text-align: center;
  padding: 90px 0;
}
.cta-band .btn-row { justify-content: center; }
.cta-band p { color: var(--text-on-dark-soft); max-width: 520px; margin: 0 auto 28px; }

.site-footer {
  background: var(--walnut-900);
  color: rgba(250, 246, 238, 0.75);
  padding: 64px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { color: var(--cream-100); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--cream-100); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Scroll-reveal (subtle, respects reduced motion)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .service-card:hover { transform: none; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow-row { display: flex; align-items: center; gap: 14px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
.bg-sunken { background: var(--bg-sunken); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--walnut-900);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
