/* ───────────────────────────────────────────────────────────
   Clinics & Wellness template — styles (mobile-first)
   Colours & fonts are set from config.js as CSS variables.
   ─────────────────────────────────────────────────────────── */

:root {
  --c-bg: #F6F1EB;
  --c-surface: #FFFDFA;
  --c-ink: #1E1A17;
  --c-muted: #5F564E;
  --c-line: #E2D8CC;
  --c-accent: #7A5C43;
  --c-accent-ink: #FFFDFA;
  --c-soft: #EBE1D5;
  --c-deep: #26302B;
  --c-deep-ink: #F1EBE3;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: 68px; /* room for mobile action bar */
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
svg { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-ink); color: var(--c-bg); padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ─────────────────────────────────────────────────── */
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.04; }
.display em { font-style: italic; font-weight: 400; color: var(--c-accent); }
.h1 { font-size: clamp(2.75rem, 7vw, 5.4rem); }
.h2 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--c-muted); max-width: 34rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted);
}
.eyebrow .num {
  font-family: var(--f-display); font-size: 1rem; letter-spacing: 0; font-style: italic; font-weight: 500;
  color: var(--c-accent); padding-right: .75rem; border-right: 1px solid var(--c-line);
}
.fine { font-size: .84rem; color: var(--c-muted); }

/* ── Buttons & links ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid var(--c-accent);
  background: var(--c-accent); color: var(--c-accent-ink);
  font-size: .9rem; font-weight: 600; letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .45); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-ink); }
.btn-ghost svg { color: #1F8F55; }
.btn-light { background: var(--c-deep-ink); color: var(--c-deep); border-color: var(--c-deep-ink); }
.btn-small { min-height: 42px; padding: .55rem 1.15rem; font-size: .82rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; padding: .25rem 0; cursor: pointer;
  color: var(--c-accent); font-weight: 600; font-size: .92rem; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* soft placeholder behind every image (shows while loading or if it fails) */
.ph {
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, var(--c-soft), color-mix(in srgb, var(--c-soft) 70%, var(--c-accent)));
}
.img-failed { visibility: hidden; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled, body.menu-open .site-header {
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.monogram {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--c-ink); font-family: var(--f-display); font-size: 1.3rem; font-style: italic; line-height: 1;
}
.brand-name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; letter-spacing: .02em; }
.nav { display: none; }
.nav-list { display: flex; gap: 1.9rem; }
.nav-list a, .footer-nav a { text-decoration: none; font-size: .88rem; position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-surface);
  display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--c-ink); transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; background: var(--c-bg); padding: 2rem var(--gutter);
  animation: fadeIn .35s var(--ease);
}
.mobile-menu ul { display: grid; gap: .25rem; }
.mobile-menu a:not(.btn) {
  display: block; padding: .8rem 0; font-family: var(--f-display); font-size: 2rem; text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c-soft) 90%, #fff), transparent 65%); z-index: -1;
}
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-copy .h1 { max-width: 12ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; color: var(--c-muted); }
.hero-meta a { text-decoration: none; border-bottom: 1px solid var(--c-line); }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--c-muted); font-weight: 500; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #B4A796; }
.status.is-open i { background: #2E8B57; box-shadow: 0 0 0 4px rgba(46, 139, 87, .15); }

.hero-media { position: relative; margin: 0 auto; width: min(100%, 470px); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: slowZoom 18s var(--ease) both; }
@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-ring {
  position: absolute; inset: -14px -14px auto auto; width: 42%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--c-accent); opacity: .35; pointer-events: none;
}
.hero-badge {
  position: absolute; left: -6px; bottom: 9%; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: .6rem;
  background: var(--c-surface); padding: .85rem 1.1rem; border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(30, 26, 23, .45);
}
.badge-value { font-family: var(--f-display); font-size: 2rem; line-height: 1; grid-row: span 2; }
.badge-label { font-size: .72rem; color: var(--c-muted); letter-spacing: .02em; }
.stars { display: inline-flex; gap: 2px; color: #B08A3E; }
.stars svg { width: .85rem; height: .85rem; }

.scroll-cue { display: none; }

/* ── Stats strip ──────────────────────────────────────────── */
.stats { border-block: 1px solid var(--c-line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.6rem .5rem; display: grid; gap: .2rem; text-align: center; }
.stat:nth-child(odd) { border-right: 1px solid var(--c-line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
.stat strong { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; }
.stat span { font-size: .78rem; color: var(--c-muted); letter-spacing: .03em; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section-soft { background: color-mix(in srgb, var(--c-soft) 45%, var(--c-bg)); }
.section-deep { background: var(--c-deep); color: var(--c-deep-ink); }
.section-deep .eyebrow, .section-deep .section-intro { color: color-mix(in srgb, var(--c-deep-ink) 78%, transparent); }
.section-deep .eyebrow .num { border-color: rgba(255, 255, 255, .2); color: color-mix(in srgb, var(--c-soft) 85%, #fff); }
.section-deep .display em { color: color-mix(in srgb, var(--c-soft) 80%, #fff); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); max-width: 40rem; }
.section-intro { color: var(--c-muted); max-width: 36rem; }

/* ── Treatments menu ──────────────────────────────────────── */
.menu-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px);
  padding: 1.25rem; box-shadow: 0 40px 80px -60px rgba(30, 26, 23, .35);
}
.tabs {
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 -1.25rem 1rem; padding: 0 1.25rem .25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line); background: transparent; cursor: pointer;
  font-size: .88rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s;
}
.tabs button:hover { border-color: var(--c-ink); }
.tabs button[aria-selected="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.count { font-size: .7rem; opacity: .65; }
.menu-panel { animation: fadeIn .5s var(--ease); }
.menu-panel:focus-visible { outline-offset: 6px; }
.menu-item { padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); }
.menu-item:last-child { border-bottom: 0; }
.menu-row { display: flex; align-items: baseline; gap: .75rem; }
.menu-row h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.2; }
.leader { flex: 1; min-width: 1rem; border-bottom: 1px dotted color-mix(in srgb, var(--c-muted) 55%, transparent); transform: translateY(-.3em); }
.price { white-space: nowrap; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.from { font-weight: 400; font-size: .78rem; color: var(--c-muted); }
.menu-item p { margin-top: .3rem; font-size: .9rem; color: var(--c-muted); max-width: 38rem; }
.dur { white-space: nowrap; font-size: .8rem; letter-spacing: .02em; color: var(--c-accent); }
.menu-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .9rem; color: var(--c-muted);
}

/* ── Specialist ───────────────────────────────────────────── */
.doc-grid { display: grid; gap: 3rem; align-items: center; }
.doc-media { position: relative; }
.doc-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.doc-photo img, .team-photo img, .tour-item img { width: 100%; height: 100%; object-fit: cover; }
.doc-quote {
  position: relative; margin: -3.5rem 1rem 0 auto; max-width: 21rem; padding: 1.4rem 1.5rem;
  background: var(--c-deep); color: var(--c-deep-ink); border-radius: 14px; font-size: 1.35rem; font-style: italic; line-height: 1.25;
}
.doc-copy { display: grid; gap: 1.1rem; justify-items: start; }
.doc-copy > p:not(.eyebrow):not(.fine):not(.doc-title) { color: var(--c-muted); max-width: 36rem; }
.doc-title { font-size: .92rem; font-weight: 600; color: var(--c-accent); letter-spacing: .02em; }
.creds { display: grid; gap: .65rem; margin-top: .5rem; width: 100%; }
.creds li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; padding-bottom: .65rem; border-bottom: 1px solid var(--c-line); }
.creds svg { color: var(--c-accent); margin-top: .2rem; }

.team { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.team-title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; margin-bottom: 1.5rem; }
.team-list { display: grid; gap: 1rem; }
.team-card { display: flex; gap: 1rem; align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: .75rem; }
.team-photo { width: 76px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; }
.team-name { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.2; }
.team-role { font-size: .84rem; color: var(--c-muted); }

/* ── Before / after ───────────────────────────────────────── */
.ba-wrap { max-width: 920px; }
.ba-cases { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.ba-cases button {
  min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: .88rem;
  background: transparent; color: var(--c-deep-ink); border: 1px solid rgba(255, 255, 255, .25); transition: background-color .3s, color .3s;
}
.ba-cases button[aria-pressed="true"] { background: var(--c-deep-ink); color: var(--c-deep); border-color: var(--c-deep-ink); }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255, 255, 255, .9);
  transform: translateX(-.5px); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 2px; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 253, 250, .92); color: var(--c-ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.ba-handle svg { width: .9rem; height: .9rem; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-range:focus-visible ~ .ba-handle span, .ba-range:focus-visible + * { outline: 2px solid #fff; }
.ba-frame:has(.ba-range:focus-visible) .ba-handle span { outline: 2px solid #fff; outline-offset: 3px; transform: translate(-50%, -50%) scale(1.06); }
.ba-tag {
  position: absolute; top: 1rem; padding: .3rem .75rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(20, 18, 16, .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; }
.ba-detail { margin-top: 1rem; font-size: .9rem; color: color-mix(in srgb, var(--c-deep-ink) 78%, transparent); }

/* ── Testimonials ─────────────────────────────────────────── */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.head-row .section-head { margin-bottom: 0; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: var(--c-muted); }
.rating-line strong { color: var(--c-ink); }
.carousel-nav { display: flex; gap: .5rem; }
.round {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface);
  display: grid; place-items: center; cursor: pointer; transition: border-color .3s, transform .3s var(--ease);
}
.round:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 400px); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem;
  margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.quotes::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.75rem;
}
.quote-mark { font-size: 4.5rem; line-height: .6; height: 2rem; color: var(--c-accent); }
.quote-card blockquote { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; flex: 1; }
.quote-by { display: grid; font-size: .88rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.quote-by span { color: var(--c-muted); font-size: .8rem; }

/* ── Tour gallery ─────────────────────────────────────────── */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tour-item:first-child { grid-column: span 2; }
.tour-item button {
  position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
}
.tour-item:first-child button { aspect-ratio: 16 / 10; }
.tour-item img { transition: transform 1.2s var(--ease); }
.tour-item button:hover img { transform: scale(1.04); }
.tour-cap {
  position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 500;
  background: rgba(255, 253, 250, .9); color: var(--c-ink);
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 18, 16, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox-caption { color: #fff; text-align: center; margin-top: .75rem; font-size: .9rem; }
.lightbox-close {
  position: absolute; top: -3.25rem; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: 1rem; }
.faq-aside { color: var(--c-muted); font-size: .95rem; }
.faq-aside a { color: var(--c-accent); font-weight: 600; }
.faq-list details { border-bottom: 1px solid var(--c-line); }
.faq-list details:first-child { border-top: 1px solid var(--c-line); }
.faq-list summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; cursor: pointer;
  padding: 1.35rem 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1.5px; background: var(--c-accent); transition: transform .4s var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 2.5rem 1.4rem 0; color: var(--c-muted); }
.faq-list details[open] .faq-a { animation: fadeIn .45s var(--ease); }

/* ── Booking ──────────────────────────────────────────────── */
.book-grid { display: grid; gap: 2.5rem; }
.contact-list { display: grid; gap: .75rem; }
.contact-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 14px; text-decoration: none;
  background: var(--c-surface); border: 1px solid var(--c-line); transition: border-color .3s, transform .4s var(--ease);
}
.contact-list a:hover { border-color: var(--c-accent); transform: translateX(4px); }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--c-accent); }
.contact-list span { display: grid; font-weight: 600; line-height: 1.35; }
.contact-list small { font-weight: 400; font-size: .78rem; color: var(--c-muted); }

.form-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: 0 40px 80px -60px rgba(30, 26, 23, .35);
}
.book-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.opt { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c-line) 60%, var(--c-muted)); background: var(--c-bg);
  font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235F564E' stroke-width='1.6' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.1rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent); background-color: var(--c-surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 16%, transparent);
}
[aria-invalid="true"] { border-color: #A23B2A !important; }
.err { font-size: .8rem; color: #A23B2A; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; align-items: start; font-size: .86rem; color: var(--c-muted); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--c-accent); }
.check .err { grid-column: 2; }
.form-note { text-align: center; }
.form-note a { color: var(--c-accent); font-weight: 600; }

.form-success { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 2rem 0; outline: none; }
.form-success h3 { font-size: 2rem; }
.form-success p { color: var(--c-muted); max-width: 28rem; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-soft); color: var(--c-accent); }
.success-mark svg { width: 1.8rem; height: 1.8rem; }

/* ── Visit ────────────────────────────────────────────────── */
.visit-grid { display: grid; gap: 1.5rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--c-line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.55) sepia(.12) contrast(.95); }
.visit-card {
  display: grid; gap: 1rem; align-content: start; justify-items: start; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.25rem);
}
.visit-h {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; width: 100%;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted);
}
.visit-h:not(:first-child) { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.visit-h .status { letter-spacing: 0; text-transform: none; }
.visit-card address { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.35; }
.hours { display: grid; gap: .55rem; width: 100%; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.hours dt { color: var(--c-muted); }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.hours-note { display: block; font-size: .75rem; color: var(--c-muted); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--c-deep); color: var(--c-deep-ink); padding: clamp(3.5rem, 8vw, 6rem) 0 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  display: grid; gap: 1.75rem; justify-items: start; padding-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-tag { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.footer-tag em { color: color-mix(in srgb, var(--c-soft) 80%, #fff); }
.footer-grid { display: grid; gap: 2.25rem; padding: clamp(2.5rem, 6vw, 3.5rem) 0; font-size: .9rem; }
.footer-grid p, .footer-grid address { color: color-mix(in srgb, var(--c-deep-ink) 78%, transparent); margin-top: .9rem; }
.brand-light .monogram { border-color: var(--c-deep-ink); }
.footer-h { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .9rem; color: color-mix(in srgb, var(--c-deep-ink) 70%, transparent); }
.footer-grid .hours dt, .footer-grid .hours-note { color: color-mix(in srgb, var(--c-deep-ink) 70%, transparent); }
.footer-grid .hours div { font-size: .86rem; }
.footer-nav { display: grid; gap: .5rem; }
.socials { display: flex; gap: .5rem; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .3s, color .3s;
}
.socials a:hover { background: var(--c-deep-ink); color: var(--c-deep); }
.footer-base {
  display: grid; gap: .5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem; color: color-mix(in srgb, var(--c-deep-ink) 65%, transparent);
}

/* ── Floating WhatsApp + mobile bar ───────────────────────── */
.wa-float {
  display: none; position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  place-items: center; background: #1F8F55; color: #fff; box-shadow: 0 16px 34px -12px rgba(31, 143, 85, .7);
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.07); }

.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .4rem;
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--c-bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 999px;
  text-decoration: none; font-size: .84rem; font-weight: 600; border: 1px solid var(--c-line); background: var(--c-surface);
}
.mobile-bar a:nth-child(2) svg { color: #1F8F55; }
.mobile-bar .mb-book { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); }

/* ── Reveal motion (only when JS is running) ──────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .arch img { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── ≥ 640px ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border: 0 !important; border-right: 1px solid var(--c-line) !important; padding: 2.1rem .75rem; }
  .stat:last-child { border-right: 0 !important; }
  .team-list { grid-template-columns: repeat(3, 1fr); }
  .team-card { flex-direction: column; align-items: flex-start; padding: .75rem .75rem 1.25rem; }
  .team-photo { width: 100%; aspect-ratio: 4 / 3.4; }
  .team-card > div:last-child { padding: 0 .4rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .tour-grid { grid-template-columns: repeat(3, 1fr); }
  .tour-item:first-child { grid-column: span 2; grid-row: span 2; }
  .tour-item:first-child button { aspect-ratio: auto; height: 100%; }
  .menu-card { padding: 2rem 2.25rem; }
  .tabs { margin: 0 0 1.25rem; padding: 0 0 .25rem; -webkit-mask-image: none; mask-image: none; }
}

/* ── ≥ 960px ──────────────────────────────────────────────── */
@media (min-width: 960px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .mobile-bar, .nav-toggle, .mobile-menu { display: none !important; }
  .wa-float { display: grid; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .brand { margin-right: 0; }
  .nav { margin: 0 auto; }

  .hero { padding: calc(var(--header-h) + 3.5rem) 0 5.5rem; min-height: min(100vh, 900px); display: flex; align-items: center; }
  .hero > .wrap { flex: 1; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .hero-media { width: 100%; max-width: 480px; margin-right: 0; }
  .hero-badge { left: -3rem; }
  .scroll-cue {
    display: block; position: absolute; left: 50%; bottom: 1.75rem; width: 22px; height: 36px; border: 1px solid var(--c-muted);
    border-radius: 12px; transform: translateX(-50%); opacity: .6;
  }
  .scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--c-muted); border-radius: 2px; animation: cue 2.2s var(--ease) infinite; }
  @keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

  .menu-card { padding: 2.75rem 3.25rem; }
  .menu-panel .menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .menu-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

  .doc-grid { grid-template-columns: .9fr 1.1fr; gap: 5.5rem; }
  .doc-quote { margin: -4.5rem -2.5rem 0 auto; }

  .ba-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; max-width: none; align-items: start; }
  .ba-cases { flex-direction: column; align-items: stretch; }
  .ba-cases button { text-align: left; border-radius: 14px; padding: .9rem 1.1rem; }
  .ba-frame { aspect-ratio: 16 / 10; }

  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }

  .book-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; }
  .visit-grid { grid-template-columns: 1.35fr 1fr; }
  .map, .map iframe { min-height: 520px; }

  .footer-top { grid-template-columns: 1fr auto; align-items: end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 3rem; }
  .footer-base { grid-template-columns: auto 1fr; gap: 2rem; }
  .footer-base p:last-child { text-align: right; }
  .quotes { margin: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 3rem) / 3); }
}

@media (min-width: 1200px) {
  .nav-list { gap: 2.4rem; }
}

@media print {
  .site-header, .mobile-bar, .wa-float, .scroll-cue { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
