/* ============================================================
   The Edit | Hair, Skin & Aesthetic Medicine
   Design system: botanical quiet luxury / editorial-medical
   No pure black anywhere. Darkest tones: forest + espresso.
   ============================================================ */

:root {
  --ivory: #FBF7F0;
  --sand: #F3EBDE;
  --blush: #EFE0CE;
  --forest: #24392C;
  --forest-deep: #1C2E22;
  --forest-soft: #3A5342;
  --olive: #6E7B58;
  --sage: #A9B79E;
  --sage-light: #D8DECB;
  --camel: #B9885A;
  --caramel: #A9743F;
  --caramel-text: #8F6134;
  --gold: #C09A62;
  --gold-light: #D9BF92;
  --espresso: #40342A;
  --espresso-soft: #6B5B4B;
  --white-warm: #FFFDF9;

  --font-display: 'Rowan', 'Georgia', serif;
  --font-body: 'Supreme', 'Segoe UI', -apple-system, sans-serif;

  --fs-hero: clamp(2.7rem, 5.6vw, 4.8rem);
  --fs-h2: clamp(2.1rem, 4.6vw, 3.8rem);
  --fs-h3: clamp(1.35rem, 2.4vw, 1.8rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: clamp(0.72rem, 0.9vw, 0.8rem);

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --space-inner: clamp(2rem, 5vw, 4rem);
  --container: 1240px;
  --radius-arch: 999px 999px 8px 8px;
  --radius-card: 8px;
  --radius-img: 18px;
  --border-line: 1px solid #E3D7C2;
  --border-line-dark: 1px solid #3E5747;
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 18px 40px -22px rgba(64, 52, 42, 0.35);
  --shadow-card: 0 8px 22px -14px rgba(64, 52, 42, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--espresso);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Page cross-fade (View Transitions) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

::selection { background: var(--sage); color: var(--forest-deep); }

/* ---------- Grain overlay ---------- */
.grain::after {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.14; color: var(--forest); letter-spacing: normal; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--caramel); }
p { max-width: 62ch; }
strong { color: var(--forest); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 500;
  letter-spacing: normal; text-transform: none;
  color: var(--caramel-text);
}
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
/* Hero kicker: echoes the clinic's wall signage (spaced caps between gold rules) */
.kicker {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--caramel-text);
}
.kicker::before, .kicker::after { content: ''; width: 38px; height: 1px; background: var(--gold); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--espresso-soft); line-height: 1.6; }

/* Masked line reveal */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.reveal-line > span { display: block; transform: translateY(115%); }
.no-js .reveal-line > span, .reveal-done .reveal-line > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .reveal-line > span { transform: none !important; }
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), calc(100vw - clamp(2.6rem, 8vw, 5rem))); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); }
.section--forest h2, .section--forest h3 { color: var(--ivory); }
.section--forest p { color: var(--sage-light); }
.section-head { max-width: 720px; margin-bottom: var(--space-inner); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 1.6rem; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.hairline { border: none; height: 1px; background: #E3D7C2; margin-block: var(--space-inner); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 2rem; min-height: 52px;
  font-weight: 600; font-size: 0.98rem; letter-spacing: normal;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--forest); color: var(--ivory); }
.btn--primary:hover { background: var(--forest-soft); }
.btn--gold { background: var(--camel); color: var(--white-warm); }
.btn--gold:hover { background: var(--caramel); }
.btn--outline { border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--ivory); }
.btn--outline-light { border: 1px solid var(--gold-light); color: var(--ivory); background: transparent; }
.btn--outline-light:hover { background: var(--gold-light); color: var(--forest-deep); }
.btn--whatsapp { border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.btn--whatsapp:hover { background: var(--forest); color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
  padding-block: 0.9rem;
}
.site-header.is-scrolled { background: var(--ivory); border-bottom: var(--border-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-img { height: 62px; width: auto; display: block; }
@media (max-width: 640px) { .logo-img { height: 52px; } }
.logo-the { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.5em; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 0.5rem; }
.logo-the::before, .logo-the::after { content: ''; height: 1px; width: 16px; background: var(--forest); }
.logo-edit { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.14em; color: var(--caramel); font-weight: 500; margin-top: 2px; }
.logo-sub { font-size: 0.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--forest-soft); margin-top: 3px; font-weight: 600; }

.main-nav { display: none; align-items: center; gap: 1.8rem; }
@media (min-width: 1080px) { .main-nav { display: flex; } }
.main-nav > a, .nav-drop > button {
  font-size: 0.92rem; font-weight: 500; color: var(--espresso);
  padding: 0.4rem 0; position: relative; display: inline-flex; align-items: center; gap: 0.3rem;
}
.main-nav > a::after, .nav-drop > button::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--caramel); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-luxe);
}
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after, .nav-drop:hover > button::after { transform: scaleX(1); transform-origin: left; }
.nav-drop { position: relative; }
.nav-drop svg { width: 12px; height: 12px; transition: transform 0.3s; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: var(--white-warm); border-radius: 8px;
  box-shadow: var(--shadow-soft); border: var(--border-line);
  padding: 0.7rem; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-luxe), transform 0.3s var(--ease-luxe), visibility 0.3s;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.is-open .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop.is-open svg { transform: rotate(180deg); }
.drop-menu a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.65rem 0.9rem; border-radius: 6px; transition: background 0.25s; }
.drop-menu a:hover { background: var(--sand); }
.drop-menu a b { font-size: 0.92rem; color: var(--forest); font-weight: 600; }
.drop-menu a span { font-size: 0.78rem; color: var(--espresso-soft); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }
.lang-switch a { color: var(--espresso-soft); padding: 0.3rem 0.2rem; }
.lang-switch a.is-active { color: var(--caramel); border-bottom: 1.5px solid var(--caramel); }
.header-cta { display: none; }
@media (min-width: 1080px) { .header-cta { display: inline-flex; padding: 0.75rem 1.6rem; min-height: 44px; } }

.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; z-index: 120; }
@media (min-width: 1080px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 26px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform 0.35s var(--ease-luxe), opacity 0.3s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--forest-deep);
  display: flex; flex-direction: column; justify-content: center; justify-content: safe center; padding: 5.5rem 8vw 7rem;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-luxe), visibility 0.45s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--ivory); padding: 0.45rem 0; display: block; transform: translateY(18px); opacity: 0; transition: transform 0.5s var(--ease-luxe), opacity 0.5s; }
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu a em { font-style: normal; color: var(--gold-light); }
.mobile-menu .mm-small { font-family: var(--font-body); font-size: 0.95rem; color: var(--sage); margin-top: 1.6rem; }
.mobile-menu .mm-langs { display: flex; gap: 1.2rem; margin-top: 0.7rem; }
.mobile-menu .mm-langs a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--sage-light); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 6.5rem; padding-bottom: 3.5rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; z-index: -1;
  width: min(46vw, 680px); height: min(88svh, 860px);
  background: var(--blush);
  border-bottom-left-radius: 340px;
}
@media (max-width: 959px) { .hero::before { width: 100%; height: 42%; bottom: auto; border-radius: 0 0 999px 999px; opacity: 0.65; } }
.hero--sub { min-height: auto; padding-top: clamp(8rem, 16vh, 11rem); }
.hero--plain::before { display: none; }
.hero-bg-mesh { position: absolute; inset: 0; z-index: -2; background: var(--ivory); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.hero-copy .eyebrow { margin-bottom: 1.6rem; }
.hero-copy h1 { margin-bottom: 1.6rem; line-height: 1.12; }
.hero-copy .lead { margin-bottom: 2.4rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: var(--border-line); }
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-item b { font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); font-weight: 500; }
.trust-item span { font-size: 0.88rem; color: var(--espresso-soft); }

.arch-frame { position: relative; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-arch); box-shadow: var(--shadow-soft); }
.arch-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-arch); box-shadow: var(--shadow-soft); display: block; }
.arch-frame::before {
  content: ''; position: absolute; inset: -18px -18px auto -18px; bottom: 30%;
  border: 1.5px solid var(--gold); border-bottom: none; border-radius: 999px 999px 0 0; pointer-events: none;
}
.arch-frame::after {
  content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid var(--gold); right: -46px; top: 8%; z-index: -1; pointer-events: none;
}
.hero-photo { max-width: 500px; margin-inline: auto; aspect-ratio: 4 / 5.1; }
.hero-badge {
  position: absolute; right: -14px; bottom: -20px; background: var(--white-warm);
  border-radius: 8px; box-shadow: var(--shadow-soft); padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: 0.8rem; max-width: 290px;
  border: var(--border-line);
}
.hero-badge svg { width: 30px; height: 30px; color: var(--olive); flex: none; }
.hero-badge b { display: block; font-size: 0.88rem; color: var(--forest); line-height: 1.3; }
.hero-badge span { font-size: 0.75rem; color: var(--espresso-soft); }

/* TL;DR strip */
.tldr { background: var(--forest); color: var(--ivory); padding-block: 1.6rem; }
.tldr-inner { display: flex; flex-wrap: wrap; gap: 0.9rem 2.6rem; align-items: center; justify-content: center; }
.tldr-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 500; color: var(--sage-light); }
.tldr-item svg { width: 16px; height: 16px; color: var(--gold-light); flex: none; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid rgba(192, 154, 98, 0.4); padding-block: 1.4rem; background: var(--white-warm); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: 0.06em; color: var(--forest); display: flex; align-items: center; gap: 3.6rem; margin-right: 3.6rem; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--camel); }
.marquee-track span::after { content: '✦'; color: var(--gold); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Service cards ---------- */
.svc-card {
  background: var(--white-warm); border-radius: var(--radius-card);
  padding: 2rem 1.8rem; border: var(--border-line);
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.45s var(--ease-luxe), box-shadow 0.45s var(--ease-luxe);
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.svc-card:active { transform: scale(0.98); }
.svc-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold); }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { font-size: 0.94rem; color: var(--espresso-soft); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--caramel-text); }
.svc-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-luxe); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }
.svc-card--img { padding: 0; }
.svc-card--img figure { aspect-ratio: 16/10; overflow: hidden; }
.svc-card--img figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-luxe); }
.svc-card--img:hover figure img { transform: scale(1.05); }
.svc-card--img .svc-body { padding: 1.6rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }

/* Featured service rows */
.feature-row { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .feature-row--flip > .feature-media { order: 2; }
}
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-img); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.feature-media--tall img { aspect-ratio: 4/4.6; }
.feature-media--portrait img { aspect-ratio: 4/5; }
.feature-media--natural img { aspect-ratio: auto; }
.feature-media video { border-radius: var(--radius-img); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.feature-tag {
  position: absolute; top: 18px; left: 18px; background: var(--ivory);
  padding: 0.45rem 1rem; border-radius: 4px; font-size: 0.85rem; font-weight: 500;
  font-family: var(--font-body); color: var(--forest);
  border: var(--border-line);
}
.feature-copy .eyebrow { margin-bottom: 1rem; }
.feature-copy h2, .feature-copy h3 { margin-bottom: 1.1rem; }
.feature-copy p { margin-bottom: 1rem; }
.check-list { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; }
.check-list svg { width: 19px; height: 19px; color: var(--olive); flex: none; margin-top: 3px; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; gap: 2rem; text-align: center; }
@media (min-width: 700px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-light); font-weight: 500; display: block; }
.stat b span { font-size: inherit; color: inherit; font-family: inherit; }
.stat > span { font-size: 0.92rem; color: var(--sage); }

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative; border-radius: var(--radius-img); overflow: hidden;
  aspect-ratio: 1 / 1; box-shadow: var(--shadow-soft); touch-action: pan-y;
  user-select: none; -webkit-user-select: none; background: var(--sand);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white-warm);
  box-shadow: 0 0 18px rgba(64, 52, 42, 0.4); pointer-events: none;
}
.ba-handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--white-warm); color: var(--forest);
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow-card);
}
.ba-label { position: absolute; top: 14px; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 4px; background: var(--forest); color: var(--ivory); }
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; }
.ba-caption { margin-top: 0.9rem; font-size: 0.88rem; color: var(--espresso-soft); text-align: center; }

/* Gallery scroll-snap */
.snap-gallery { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--camel) transparent; }
.snap-gallery > * { flex: 0 0 min(340px, 82vw); scroll-snap-align: center; }
.snap-gallery figure { border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-card); }
.snap-gallery img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.snap-gallery figcaption { font-size: 0.82rem; color: var(--espresso-soft); padding: 0.6rem 0.2rem 0; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white-warm); border-radius: var(--radius-card); padding: 2rem 1.8rem;
  border: var(--border-line);
  display: flex; flex-direction: column; gap: 1rem;
}
.testi-stars { color: var(--caramel); letter-spacing: 0.2em; font-size: 0.9rem; }
.testi-card blockquote { font-family: var(--font-body); font-size: 1.05rem; color: var(--forest); line-height: 1.55; }
.testi-card figcaption { font-size: 0.85rem; color: var(--espresso-soft); }
.testi-card figcaption b { color: var(--espresso); display: block; font-size: 0.92rem; }

/* ---------- Pricing tables ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: var(--border-line); }
table.price-table { width: 100%; border-collapse: collapse; background: var(--white-warm); min-width: 520px; }
.price-table th { font-family: var(--font-body); font-size: 0.92rem; text-align: left; color: var(--ivory); background: var(--forest); padding: 1rem 1.4rem; font-weight: 600; }
.price-table td { padding: 1rem 1.4rem; border-top: var(--border-line); font-size: 0.95rem; vertical-align: top; }
.price-table td:last-child { font-weight: 600; color: var(--forest); white-space: nowrap; }
.price-table tr:hover td { background: var(--sand); }
.price-table--wide { min-width: 0; }
.price-table--wide td:last-child { white-space: normal; font-weight: 400; color: inherit; }
.price-note { font-size: 0.83rem; color: var(--espresso-soft); margin-top: 0.9rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 1.6rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(var(--steps-cols, 4), 1fr); } }
.step { position: relative; padding: 1.8rem 1.5rem 1.6rem; background: var(--white-warm); border-radius: var(--radius-card); border: var(--border-line); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--gold);
  display: block; margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--espresso-soft); }

/* ---------- FAQ ---------- */
:root { interpolate-size: allow-keywords; }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: var(--border-line); }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.4s var(--ease-luxe), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0.2rem; font-family: var(--font-display); font-size: 1.12rem; color: var(--forest); font-weight: 500;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--caramel); }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--caramel); transition: transform 0.35s var(--ease-luxe); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0.2rem 1.5rem; color: var(--espresso-soft); font-size: 0.97rem; max-width: 68ch; }
.faq .faq-a p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest); padding-block: clamp(4rem, 8vw, 6.5rem); }
.cta-inner { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-inner .avatar-row { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.avatar-row img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--forest); margin-left: -12px; }
.avatar-row img:first-child { margin-left: 0; }
.cta-inner h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-inner p { color: var(--sage-light); margin-inline: auto; margin-bottom: 2rem; }
.cta-inner .hero-ctas { justify-content: center; }

/* ---------- Forms ---------- */
.form-card { background: var(--white-warm); border-radius: var(--radius-card); padding: clamp(1.8rem, 4vw, 2.8rem); border: var(--border-line); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--forest); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1.1rem; border-radius: 6px; min-height: 50px;
  border: 1px solid #C9BBA4; background: var(--ivory);
  font: inherit; color: var(--espresso); transition: border-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--espresso-soft); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }

/* ---------- Contact info ---------- */
.info-list { display: flex; flex-direction: column; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--caramel); flex: none; margin-top: 3px; }
.info-list b { display: block; color: var(--forest); font-size: 0.95rem; }
.info-list a:hover, .info-list span { color: var(--espresso-soft); }
.info-list small { color: var(--espresso-soft); font-size: 0.88rem; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.55rem 0; border-bottom: var(--border-line); font-size: 0.93rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--forest); }

/* ---------- Credentials ---------- */
.cred-list { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cred-list { grid-template-columns: 1fr 1fr; } }
.cred-list li { display: flex; gap: 0.8rem; align-items: flex-start; background: var(--white-warm); padding: 1.1rem 1.3rem; border-radius: var(--radius-card); border: var(--border-line); font-size: 0.93rem; }
.cred-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--sage-light); padding: 4.5rem 0 2rem; position: relative; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-logo .logo-the { color: var(--sage-light); }
.footer-logo .logo-the::before, .footer-logo .logo-the::after { background: var(--sage); }
.footer-logo .logo-edit { color: var(--gold-light); }
.footer-logo .logo-sub { color: var(--sage); }
.footer-tagline { font-family: var(--font-display); margin-top: 1rem; color: var(--sage); font-size: 0.98rem; }
.site-footer .footer-head { color: var(--ivory); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1.1rem; font-weight: 500; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer ul a { font-size: 0.92rem; color: var(--sage-light); transition: color 0.25s; }
.site-footer ul a:hover { color: var(--gold-light); }
.site-footer .footer-contact li { display: flex; gap: 0.6rem; margin-bottom: 0.8rem; font-size: 0.9rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-light); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #5A7361; display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.footer-social a:hover { background: var(--forest-soft); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: var(--gold-light); }
.footer-bottom { border-top: var(--border-line-dark); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; font-size: 0.8rem; color: var(--sage); }
.footer-bottom a { color: var(--sage); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-disclaimer { font-size: 0.75rem; color: var(--sage); max-width: 100%; margin-top: 1rem; line-height: 1.5; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 92px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #2E7D5B;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(64, 52, 42, 0.3);
  transition: transform 0.3s var(--ease-luxe);
}
@media (min-width: 1080px) { .wa-float { bottom: 26px; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 28px; height: 28px; color: #FFFDF9; }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  background: var(--ivory);
  border-top: var(--border-line);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  transform: translateY(0); transition: transform 0.4s var(--ease-luxe);
}
.mobile-cta-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 1080px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar .btn { min-height: 50px; padding: 0.7rem 1rem; font-size: 0.9rem; }

/* ---------- Share button ---------- */
.share-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--espresso-soft); padding: 0.6rem 1.1rem; border: 1px solid #C9BBA4; border-radius: 6px; transition: border-color 0.3s, color 0.3s; }
.share-btn:hover { border-color: var(--caramel); color: var(--caramel); }
.share-btn svg { width: 16px; height: 16px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.82rem; color: var(--espresso-soft); margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.crumbs a { color: var(--caramel-text); font-weight: 500; }
.crumbs span[aria-hidden] { color: var(--gold); }

/* ---------- Success page ---------- */
.success-wrap { min-height: 88svh; display: flex; align-items: center; text-align: center; padding-top: 6rem; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 1.6rem; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; }
.success-icon svg { width: 40px; height: 40px; color: var(--forest); }
.next-steps { text-align: left; max-width: 480px; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: 1.1rem; counter-reset: ns; }
.next-steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white-warm); border-radius: var(--radius-card); padding: 1.1rem 1.3rem; border: var(--border-line); }
.next-steps li::before { counter-increment: ns; content: counter(ns); font-family: var(--font-display); color: var(--caramel); font-size: 1.2rem; line-height: 1.2; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.legal-body p, .legal-body li { color: var(--espresso-soft); font-size: 0.96rem; margin-bottom: 0.8rem; }
.legal-body ul { padding-left: 1.2rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .hero { padding-top: 5.5rem; }
  .hero-photo { max-width: 88vw; }
  .hero-badge { left: 4px; bottom: 6%; padding: 0.7rem 1rem; max-width: 230px; }
}
@media (max-width: 1079px) {
  body { padding-bottom: 74px; } /* room for sticky bar */
}
