:root {
  --bg: #faf8f4;
  --bg-soft: #f2ede4;
  --ink: #2f2b25;
  --ink-soft: #675f53;
  --accent: #5a5448;
  --accent-hover: #47423a;
  --dark: #3f3a32;
  --gold: #c2a06a;
  --gold-ink: #7a5c2c;
  --gold-light: #e6d3a8;
  --line: rgba(47, 43, 37, .12);
  --radius: 14px;

  --display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --logo: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Assistant", "Heebo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --hdr-h: 76px;
  --z-header: 30;
  --z-menu: 25;
  --z-float: 40;
  --z-lightbox: 50;
  --z-admin: 60;
  --z-toast: 70;

  /* gold/sand dream gradients for the treatment cards */
  --g1: radial-gradient(60% 70% at 15% 20%, #f0d6b8 0%, transparent 70%), radial-gradient(70% 70% at 85% 80%, #c9b08f 0%, transparent 70%), #9d8f7b;
  --g2: radial-gradient(60% 70% at 80% 15%, #f3e2b6 0%, transparent 70%), radial-gradient(70% 80% at 20% 85%, #c6a46f 0%, transparent 70%), #8c7a5e;
  --g3: radial-gradient(60% 70% at 20% 80%, #e2c2b2 0%, transparent 70%), radial-gradient(60% 60% at 80% 20%, #b8a193 0%, transparent 70%), #7e7167;
  --g4: radial-gradient(60% 70% at 75% 75%, #f2e6cf 0%, transparent 70%), radial-gradient(60% 70% at 20% 20%, #d7c19a 0%, transparent 70%), #998b72;
  --g5: radial-gradient(60% 70% at 25% 25%, #c9b495 0%, transparent 70%), radial-gradient(70% 70% at 80% 80%, #7d7366 0%, transparent 70%), #534d43;
  --g6: radial-gradient(60% 70% at 80% 25%, #efd9cc 0%, transparent 70%), radial-gradient(70% 70% at 20% 80%, #c8b2a3 0%, transparent 70%), #94867a;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- Type ---------- */
.label {
  font: 600 12px/1 var(--sans);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; width: fit-content; align-items: center; gap: 10px;
  direction: ltr;
  margin-bottom: 22px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.label--light { color: #efe7d8; }
.label--light::before { background: var(--gold-light); }

.h-xl, .h-lg, .h-md, .hero__title, .stack__title { font-family: var(--display); letter-spacing: -.02em; }
.h-xl { font-size: clamp(42px, 7vw, 92px); line-height: 1.02; font-weight: 300; }
.h-lg { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 300; }
.h-md { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.h-latin { font-family: var(--logo); direction: ltr; text-align: right; letter-spacing: -.03em; }
.lead { color: var(--ink-soft); font-size: 18px; max-width: 60ch; margin-top: 22px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 0;
  font: 600 15px/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s ease, box-shadow .3s ease;
}
.pill:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(47, 43, 37, .7); }
.pill:active { transform: translateY(0) scale(.98); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); transition: transform .3s var(--ease); flex: none; }
.pill:hover .pill__dot { transform: scale(1.7) translateX(-2px); }
.pill--light { background: #fff; color: var(--ink); }
.pill--light .pill__dot { background: var(--gold); }
.pill--light:hover { background: #f4efe6; }
.pill--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.textlink { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding: 10px 0 4px; font-weight: 600; }

/* ---------- Focus / skip ---------- */
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .dark :focus-visible, .cta :focus-visible, .stack :focus-visible, .hdr:not(.is-solid) :focus-visible { outline-color: #fff; }
.skip { position: absolute; top: -60px; right: 16px; z-index: var(--z-toast); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; text-decoration: none; }
.skip:focus { top: 0; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; inset-inline: 0; z-index: var(--z-header);
  color: #fff;
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.hdr__inner { height: var(--hdr-h); display: flex; align-items: center; gap: 32px; }
.hdr.is-solid, body.menu-open .hdr {
  background: rgba(250, 248, 244, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.logo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.hdr.is-solid .logo__dot, body.menu-open .logo__dot { background: var(--gold); }
.logo__word { font-family: var(--logo); font-size: 27px; line-height: 1; direction: ltr; letter-spacing: -.01em; }
.nav { display: flex; gap: 30px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .02em; padding: 12px 0; opacity: .85; position: relative; transition: opacity .2s ease; }
.nav a::after { content: ""; position: absolute; bottom: 6px; inset-inline: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.hdr:not(.is-solid) .hdr__book { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.menu-btn { display: none; }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  padding: calc(var(--hdr-h) + 32px) 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--display); font-size: 34px; line-height: 1.2; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .pill { align-self: stretch; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero__media { position: absolute; inset: -8% 0 -8% 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.9); transform: scale(1.06); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(230, 211, 168, .28), transparent 70%),
    linear-gradient(to top, rgba(28, 25, 20, .86) 0%, rgba(28, 25, 20, .66) 50%, rgba(28, 25, 20, .32) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 140px 0 14vh; will-change: opacity, transform; }
.hero__title { font-size: clamp(56px, 10vw, 128px); line-height: .98; font-weight: 300; letter-spacing: -.03em; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #f1ebe0; max-width: 34ch; margin: 28px 0 36px; }
.hero__scroll { position: absolute; z-index: 1; bottom: 28px; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,0), #fff); animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Intro ---------- */
.intro { padding: clamp(96px, 14vw, 180px) 0; }
.intro__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.intro .h-md { max-width: 24ch; }

/* ---------- Stacking cards ---------- */
.services { padding-bottom: clamp(80px, 10vw, 140px); }
.services__head { margin-bottom: 56px; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack__item { position: sticky; top: calc(var(--hdr-h) + 16px + var(--i) * 14px); margin-bottom: 28px; }
.stack__card {
  position: relative; overflow: hidden;
  min-height: min(76vh, 640px);
  border-radius: var(--radius);
  background: var(--g, var(--g1));
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(26px, 4vw, 52px);
  transform-origin: 50% 0;
  box-shadow: 0 -20px 40px -30px rgba(28, 25, 20, .5);
}
.stack__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 25, 20, .8) 0%, rgba(28, 25, 20, .6) 55%, rgba(28, 25, 20, .56) 100%); }
.stack__shade { position: absolute; inset: 0; background: #1c1914; opacity: var(--dim, 0); pointer-events: none; z-index: 2; }
.stack__top, .stack__bottom { position: relative; z-index: 1; }
.stack__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.stack__num { font: 600 12px/1 var(--sans); letter-spacing: .11em; opacity: .85; direction: ltr; display: flex; align-items: center; gap: 10px; }
.stack__num::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.stack__title { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; font-weight: 300; max-width: 13ch; }
.stack__sub { display: block; font-size: .42em; margin-top: 10px; opacity: .9; letter-spacing: 0; }
.stack__bottom { display: grid; grid-template-columns: minmax(0, 56ch) auto; gap: 24px 40px; align-items: end; justify-content: space-between; }
.stack__desc { font-size: 17px; color: #f6f1e8; }
.stack__bullets { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #f1ebe0; }
.stack__bullets b { color: #fff; font-weight: 600; }
.stack__bullets li { padding-inline-start: 16px; position: relative; }
.stack__bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }

.stack__cta { display: flex; align-items: center; gap: 22px; }
.stack__price { font-family: var(--logo); font-size: clamp(34px, 4vw, 46px); line-height: 1; direction: ltr; }
.stack__price span { font-family: var(--sans); font-size: .5em; margin-inline-end: 4px; opacity: .85; }

/* ---------- Prices ---------- */
.prices { padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 12vw, 160px); }
.prices__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.price-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.price { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.price h3 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 400; }
.price p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.price__line { border-bottom: 1px dotted rgba(47, 43, 37, .3); margin-bottom: 10px; min-width: 20px; }
.price strong { font-family: var(--logo); font-weight: 400; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; direction: ltr; white-space: nowrap; }
.price strong span { font-family: var(--sans); font-size: .5em; color: var(--gold-ink); margin-inline-end: 4px; }

/* ---------- Dark band ---------- */
.dark {
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(194, 160, 106, .18), transparent 70%),
    var(--dark);
  color: #f4efe7;
  padding: clamp(110px, 14vw, 190px) 0;
}
.dark__text { color: #d9d1c3; font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; margin-top: 32px; }
.steps { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 239, 231, .18); }
.steps li { padding: 24px 0 0; font-size: 17px; color: #efe7d8; }
.steps span { display: block; font-family: var(--logo); font-size: 15px; color: var(--gold-light); margin-bottom: 8px; direction: ltr; text-align: right; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section--soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 56px; }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sec-head--split .lead { margin-top: 0; }

/* Clinic */
.clinic { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.clinic__list { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--line); }
.clinic__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.clinic__list b { display: block; color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 400; margin-bottom: 2px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 14px; }
.clinic__video { margin: 0; justify-self: center; width: min(420px, 100%); border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.clinic__video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cert { margin: 0; }
.cert button { all: unset; cursor: zoom-in; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.cert button:hover img { transform: scale(1.03); }
.cert figcaption { padding: 22px 2px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.cert h3 { font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 400; }
.cert p { grid-column: 1; color: var(--ink-soft); font-size: 15px; }
.cert figcaption::after { content: ""; grid-column: 2; grid-row: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-top: 12px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 16px; }
.products button { all: unset; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.products button:first-child { grid-row: span 2; }
.products img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.products button:hover img { transform: scale(1.04); }

/* Final CTA */
.cta {
  background:
    radial-gradient(60% 80% at 10% 100%, rgba(240, 214, 184, .28), transparent 70%),
    radial-gradient(50% 70% at 90% 0%, rgba(194, 160, 106, .3), transparent 70%),
    #4a453c;
  color: #fff;
  padding: clamp(96px, 12vw, 160px) 0;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cta__offer p { font-size: 20px; color: #efe7d8; margin-top: 24px; max-width: 30ch; }
.cta__offer strong { font-family: var(--logo); font-size: 1.3em; color: var(--gold-light); font-weight: 400; }
.cta__offer small { display: block; margin-top: 14px; color: #d9d1c3; font-size: 14px; }
.cta__contact { border-inline-start: 1px solid rgba(255,255,255,.2); padding-inline-start: 64px; }
.cta__phone { display: inline-block; font-family: var(--logo); font-size: clamp(40px, 5.4vw, 70px); line-height: 1.05; letter-spacing: -.02em; text-decoration: none; }
.cta__note { color: #e6dfd2; margin: 14px 0 32px; }
.cta__btns { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Footer */
.footer { padding: 32px 0; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo--footer { color: var(--ink); user-select: none; cursor: default; }
.logo--footer .logo__dot { background: var(--gold); }
.logo--footer .logo__word { font-size: 22px; }

/* WhatsApp */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: var(--z-float);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,0,0,.55); }
.wa-float svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(28, 25, 20, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 14px; left: 14px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .2s ease; }
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { width: 24px; height: 24px; }

/* ---------- Reveal (only when .anim is on <html>) ---------- */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease-out, transform .75s var(--ease); transition-delay: var(--d, 0ms); }
.anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll span { animation: none; }
  .pill, .pill__dot, .wa-float { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .hdr__book { display: none; }
  .menu-btn { display: inline-flex; margin-inline-start: auto; }
  .hdr:not(.is-solid) .menu-btn { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  body.menu-open .hdr .menu-btn { background: var(--accent); color: #fff; }
  .intro__grid, .sec-head--split, .clinic, .cta__inner, .prices__grid { grid-template-columns: 1fr; }
  .sec-head--split { gap: 16px; }
  .cta__contact { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 48px; }
  .stack__bottom { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 66px; }
  body { font-size: 16px; }
  .logo__word { font-size: 24px; }
  .hero__content { padding-bottom: 16vh; }
  .stack__item { top: calc(var(--hdr-h) + 10px + var(--i) * 10px); margin-bottom: 18px; }
  .stack__card { min-height: min(80vh, 600px); }
  .stack__desc { font-size: 16px; }
  .price { grid-template-columns: 1fr auto; }
  .price__line { display: none; }
  .certs { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .footer { padding-bottom: 92px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .pill { min-height: 50px; }
}

/* ================= Admin panel ================= */
.admin {
  position: fixed; inset: 0; z-index: var(--z-admin);
  background: rgba(30, 27, 22, .55);
  display: flex; justify-content: flex-start;
  font-size: 15px;
}
.admin__panel {
  width: min(560px, 100%); height: 100%;
  background: #fbf8f3; color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(0,0,0,.35);
}
.admin__head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.admin__head h3 { font-size: 20px; font-weight: 700; flex: 1; }
.admin__note { margin: 0; padding: 10px 20px; background: #f3e7cf; color: #6d5326; font-size: 13px; line-height: 1.5; }
.admin__tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.admin__tabs button { border: 0; background: none; padding: 10px 14px; font: 600 15px var(--sans); color: var(--ink-soft); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.admin__tabs button.is-active { color: var(--ink); border-color: var(--gold); }
.admin__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.admin__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.admin .pill { min-height: 44px; }
.abtn { min-height: 40px; min-width: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; font: 14px var(--sans); cursor: pointer; color: var(--ink); }
.abtn:hover { border-color: var(--gold); }
.abtn:disabled, .btn:disabled { opacity: .6; cursor: wait; }
.abtn--danger { color: #a33; }
.aitem { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.aitem > summary { padding: 12px 14px; cursor: pointer; font-weight: 600; display: flex; gap: 8px; align-items: center; list-style: none; }
.aitem > summary::-webkit-details-marker { display: none; }
.aitem > summary::before { content: "▸"; color: var(--gold); transition: transform .2s; }
.aitem[open] > summary::before { transform: rotate(90deg); }
.aitem__fields { padding: 4px 14px 14px; display: grid; gap: 10px; }
.afield label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 3px; }
.afield input, .afield textarea { display: block; margin-top: 4px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: 15px/1.5 var(--sans); background: #fdfcfa; color: var(--ink); }
.afield textarea { min-height: 90px; resize: vertical; }
.afield small { color: var(--ink-soft); font-size: 12px; }
.aimg { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.aimg img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.aimg__empty { width: 96px; height: 72px; border-radius: 8px; border: 1px dashed var(--line); display: grid; place-items: center; font-size: 12px; color: var(--ink-soft); }
.arow { display: flex; gap: 6px; flex-wrap: wrap; }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.agrid__cell { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.agrid__cell img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.agrid__cell .arow { padding: 6px; justify-content: center; }
.aadd { width: 100%; min-height: 48px; padding: 12px; border: 1px dashed var(--gold); border-radius: 12px; background: none; font: 600 15px var(--sans); color: var(--gold-ink); cursor: pointer; }
.toast { position: fixed; bottom: 24px; right: 50%; transform: translateX(50%); background: var(--dark); color: #fff; padding: 10px 20px; border-radius: 999px; z-index: var(--z-toast); font-size: 15px; }

/* ================= Booking calendar ================= */
.bk { position: fixed; inset: 0; z-index: var(--z-admin); background: rgba(28, 25, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.bk[hidden] { display: none; }
body.bk-open { overflow: hidden; }
.bk__panel { width: min(520px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.bk__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 26px 6px; }
.bk__head .label { margin-bottom: 10px; }
.bk__title { font-family: var(--display); font-size: 34px; line-height: 1.1; font-weight: 400; }
.bk__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; flex: none; }
.bk__close:hover { background: var(--bg-soft); }
.bk__close svg { width: 20px; height: 20px; }
.bk__body { padding: 14px 26px 28px; display: grid; gap: 18px; }
.bk__field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.bk__field select, .bk__field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(47, 43, 37, .25); border-radius: 12px; background: #fff; font: 400 17px var(--sans); color: var(--ink); }
.bk__field select:focus, .bk__field input:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; }
.bk__meta { font-size: 14px; color: var(--ink-soft); margin-top: -6px; }
.bk__msg, .bk__hint { color: var(--ink-soft); }
.bk__hint { text-align: center; font-size: 15px; }
.bk__error { background: #f7e4df; color: #8a2f1d; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.bk__loading { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); padding: 30px 0; justify-content: center; }
.bk__loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bk__next { justify-self: stretch; justify-content: center; }
.bk__summary { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.bk__summary p:nth-child(2) { grid-column: 1; color: var(--ink-soft); font-size: 15px; }
.bk__summary .textlink { grid-column: 2; grid-row: 1 / 3; background: none; border-top: 0; border-inline: 0; cursor: pointer; font: 600 15px var(--sans); color: var(--ink); }
.bk__form { display: grid; gap: 16px; }
.bk__fine { font-size: 13px; color: var(--ink-soft); text-align: center; }
.bk__done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 10px 0; }
.bk__done h3 { font-family: var(--display); font-size: 32px; font-weight: 400; }
.bk__check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.bk__check svg { width: 30px; height: 30px; }

.cal { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__month { font-family: var(--display); font-size: 21px; }
.cal__arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.cal__arrow:hover:not(:disabled) { background: var(--bg-soft); }
.cal__arrow:disabled { opacity: .25; cursor: default; }
.cal__arrow svg { width: 20px; height: 20px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: 12px; font-weight: 600; color: var(--ink-soft); padding: 4px 0 6px; }
.cal__day { aspect-ratio: 1; min-height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; color: rgba(47, 43, 37, .35); }
button.cal__day { border: 0; background: var(--bg-soft); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease; position: relative; }
button.cal__day::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
button.cal__day:hover { background: #e9e1d3; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
button.cal__day.is-sel { background: var(--accent); color: #fff; }
button.cal__day.is-sel::after { background: var(--gold-light); }
.bk__slots-title { font-weight: 600; margin-bottom: 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: 999px; border: 1px solid rgba(47, 43, 37, .22); background: #fff; font: 600 16px var(--sans); color: var(--ink); cursor: pointer; direction: ltr; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.slot:hover { border-color: var(--accent); }
.slot.is-sel { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) {
  .bk { padding: 0; align-items: flex-end; }
  .bk__panel { border-radius: 18px 18px 0 0; max-height: 92vh; max-height: 92dvh; }
  .bk__head { padding: 20px 18px 4px; }
  .bk__body { padding: 12px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { .bk__loading span { animation: none; } }

/* ================= Owner calendar page ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(47, 43, 37, .3); }
.pill--ghost:hover { background: var(--bg-soft); }
.pill:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.toast[hidden] { display: none; }

.owner { background: var(--bg); }
.ow-hdr { position: sticky; top: 0; z-index: var(--z-header); background: rgba(250, 248, 244, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ow-hdr__inner { height: 64px; display: flex; align-items: center; gap: 14px; }
.ow-hdr .logo__dot { background: var(--gold); }
.ow-hdr .logo__word { font-size: 23px; }
.ow-hdr__title { font-family: var(--display); font-size: 20px; color: var(--ink-soft); padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.ow-logout { margin-inline-start: auto; background: none; border-top: 0; border-inline: 0; cursor: pointer; font: 600 15px var(--sans); color: var(--ink); }
.ow-main { padding: 28px 0 80px; max-width: 860px; }
.ow-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-bottom: 16px; }
.ow-center { text-align: center; }
.ow-center .lead { margin-inline: auto; }
.ow-login { max-width: 460px; margin: 6vh auto 0; }
.ow-login .lead { margin-top: 14px; }
.ow-form { display: grid; gap: 16px; margin-top: 18px; }
.ow-form .pill { justify-content: center; }
.ow-loading { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 60px 0; color: var(--ink-soft); }
.ow-loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold-ink); animation: spin .8s linear infinite; }

.ow-tabs { display: flex; gap: 6px; background: var(--bg-soft); border-radius: 999px; padding: 5px; margin-bottom: 24px; }
.ow-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 600 15px var(--sans); color: var(--ink-soft); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ow-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(47, 43, 37, .3); }

.ow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.ow-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.ow-stat span { font-size: 13px; color: var(--ink-soft); }
.ow-stat strong { font-family: var(--logo); font-size: 32px; font-weight: 400; line-height: 1.1; }
.ow-day { margin-bottom: 24px; }
.ow-day__title { font-family: var(--display); font-size: 22px; margin-bottom: 10px; }
.ow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ow-bk { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ow-bk__time { font: 600 16px var(--sans); background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; white-space: nowrap; }
.ow-bk__name { font-weight: 700; font-size: 17px; }
.ow-bk__meta { font-size: 14px; color: var(--ink-soft); }
.ow-bk__actions { display: flex; gap: 6px; }
.ow-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.ow-icon:hover { background: var(--bg-soft); }
.ow-icon svg { width: 20px; height: 20px; }
.ow-icon--wa { color: #128c4b; }
.ow-icon--danger { color: #9b3a26; }
.ow-icon--sm { width: 40px; height: 40px; }
.ow-empty { text-align: center; padding: 40px 0; }
.ow-empty .lead { margin-inline: auto; }

.ow-week { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ow-week__label { text-align: center; display: grid; }
.ow-week__label strong { font-family: var(--display); font-size: 20px; font-weight: 400; }
.ow-week__label span { font-size: 13px; color: var(--ink-soft); }
.ow-help { font-size: 14px; color: var(--ink-soft); margin: 14px 2px; }
.ow-hours { display: grid; gap: 8px; }
.ow-hday { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.ow-hday.is-past { opacity: .5; }
.ow-hday__head { display: flex; justify-content: space-between; align-items: baseline; }
.ow-hday__head span { font-size: 13px; color: var(--ink-soft); }
.ow-range { display: flex; align-items: center; gap: 8px; }
.ow-range input { min-height: 44px; padding: 0 10px; border: 1px solid rgba(47, 43, 37, .25); border-radius: 10px; font: 600 16px var(--sans); color: var(--ink); background: var(--bg); direction: ltr; }
.ow-add { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px dashed rgba(47, 43, 37, .3); border-radius: 999px; background: none; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }
.ow-add svg { width: 16px; height: 16px; }
.ow-add:hover { border-color: var(--accent); }
.ow-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; margin-top: 10px; background: linear-gradient(to top, var(--bg) 70%, transparent); }
@media (max-width: 640px) {
  .ow-hdr__title { display: none; }
  .ow-bk { grid-template-columns: 1fr auto; }
  .ow-bk__time { grid-column: 1 / -1; justify-self: start; }
  .ow-stat strong { font-size: 26px; }
  .ow-actions { position: static; background: none; }
  .ow-actions .pill { flex: 1 1 100%; justify-content: center; }
}

/* Demo mode bar */
.demo-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 45; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 8px 16px; background: #2f2b25; color: #f4efe7; font-size: 13px; }
.demo-bar a, .demo-bar button { color: var(--gold-light); font: 600 13px var(--sans); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.demo-on .wa-float { bottom: 76px; }
.demo-on .footer, .demo-on .ow-main { padding-bottom: 120px; }
.demo-on .ow-actions { bottom: 48px; }
.demo-on .toast { bottom: 80px; }

/* ================= Site editor (owner page) ================= */
.se-top { margin-bottom: 16px; }
.se-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.se-chips::-webkit-scrollbar { display: none; }
.se-chips button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--sans); color: var(--ink-soft); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.se-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.se-body { display: grid; gap: 10px; padding-bottom: 90px; }
.se-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.se-card > summary { list-style: none; cursor: pointer; padding: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; min-height: 52px; }
.se-card > summary::-webkit-details-marker { display: none; }
.se-card > summary::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border-inline-end: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s ease; }
.se-card[open] > summary::after { transform: rotate(225deg); }
.se-card--flat { padding: 16px; display: grid; gap: 12px; }
.se-num { font-family: var(--logo); color: var(--gold-ink); font-weight: 400; }
.se-sum-meta { font-weight: 600; color: var(--ink-soft); font-size: 14px; }
.se-grid { display: grid; gap: 12px; padding: 0 16px 16px; }
.se-card--flat .se-grid { padding: 0; }
.se-grid--3 { grid-template-columns: 1fr 1.4fr .7fr; }
.se-field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.se-field input, .se-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(47, 43, 37, .22); border-radius: 10px; background: var(--bg); font: 400 16px/1.55 var(--sans); color: var(--ink); resize: vertical; }
.se-field input::placeholder, .se-field textarea::placeholder { color: rgba(47, 43, 37, .42); }
.se-field input:focus, .se-field textarea:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; background: #fff; }
.se-field small { font-weight: 400; font-size: 12px; }
.se-label { font-weight: 700; }
.se-media { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.se-media img, .se-media video, .se-media__empty { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.se-media__empty { display: grid; place-items: center; font-size: 12px; font-weight: 400; border: 1px dashed rgba(47, 43, 37, .25); }
.se-media__btns { display: flex; align-items: center; gap: 12px; }
.pill svg { width: 18px; height: 18px; }
.se-danger { color: #9b3a26; background: none; border-top: 0; border-inline: 0; cursor: pointer; font: 600 14px var(--sans); }
.se-tools { display: flex; gap: 6px; justify-content: flex-end; padding: 0 16px 14px; }
.se-card--flat .se-tools { padding: 0; }
.se-add { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 1px dashed rgba(47, 43, 37, .3); border-radius: 14px; background: transparent; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.se-add svg { width: 18px; height: 18px; }
.se-add:hover { border-color: var(--accent); background: #fff; }
.se-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.se-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.se-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.se-gallery .se-tools { padding: 6px; justify-content: center; }
.se-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.se-font { text-align: right; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; display: grid; gap: 2px; color: var(--ink); transition: border-color .2s ease, background-color .2s ease; }
.se-font span { font-size: 21px; line-height: 1.3; }
.se-font small { font: 600 11px var(--sans); color: var(--ink-soft); direction: ltr; text-align: right; }
.se-font[aria-pressed="true"] { border-color: var(--accent); background: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.se-colors { display: flex; flex-wrap: wrap; gap: 18px; }
.se-color { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.se-color input { width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.se-color input::-webkit-color-swatch-wrapper { padding: 3px; }
.se-color input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.se-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: var(--z-float); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.se-bar__state { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .se-grid--3 { grid-template-columns: 1fr 1fr; }
  .se-grid--3 .se-field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .se-bar { justify-content: space-between; gap: 10px; }
  .se-bar__state { display: none; }
  .ow-tabs button { font-size: 13px; }
}
.demo-on .se-bar { bottom: 56px; }

/* ================= Reviews ================= */
.reviews { padding: clamp(96px, 12vw, 160px) 0; background: var(--bg); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.shots__nav { display: flex; gap: 8px; }
.shots__nav[hidden] { display: none; }
.shots__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(47, 43, 37, .3); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, opacity .2s ease; }
.shots__arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.shots__arrow:disabled { opacity: .35; cursor: default; }
.shots__arrow svg { width: 22px; height: 22px; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(47, 43, 37, .3) transparent; }
.shots[hidden] { display: none; }
.shot { all: unset; flex: none; width: clamp(220px, 26vw, 290px); scroll-snap-align: start; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -24px rgba(47, 43, 37, .5); }
.shot:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.shot img { width: 100%; height: clamp(380px, 46vw, 520px); object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.02); }

.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 48px; }
.rv-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.rv-card__stars { color: var(--gold-ink); letter-spacing: 2px; font-size: 18px; }
.rv-card__stars span { color: rgba(47, 43, 37, .2); }
.rv-card blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.55; }
.rv-card figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.rv-card figcaption b { color: var(--ink); }
.rv-empty { color: var(--ink-soft); grid-column: 1 / -1; }
.rv-write { margin-top: 40px; display: grid; justify-items: start; gap: 18px; }
.rv-form { width: min(560px, 100%); display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rv-form[hidden], .rv-thanks[hidden], .rv-write .pill[hidden] { display: none; }
.rv-form textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(47, 43, 37, .25); border-radius: 12px; background: #fff; font: 400 17px/1.6 var(--sans); color: var(--ink); resize: vertical; }
.rv-form textarea:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; }
.rv-form .pill { justify-self: start; }
.rv-thanks { font-family: var(--display); font-size: 22px; }
.rv-stars { border: 0; padding: 0; margin: 0; }
.rv-stars legend { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 4px; padding: 0; }
.rv-stars__row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { font-size: 32px; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; color: rgba(47, 43, 37, .22); cursor: pointer; border-radius: 8px; transition: color .15s ease; }
.rv-stars input:checked ~ label, .rv-stars label:hover, .rv-stars label:hover ~ label { color: var(--gold-ink); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--gold-ink); outline-offset: 1px; }
@media (max-width: 640px) {
  .reviews__head { align-items: flex-end; }
  .shot { width: 72vw; }
  .shot img { height: 120vw; max-height: 520px; }
}

/* Video pause toggle */
.clinic__video { position: relative; }
.vid-toggle { position: absolute; bottom: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(28, 25, 20, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vid-toggle[hidden] { display: none; }
.vid-toggle svg { width: 20px; height: 20px; }

/* Footer links */
.footer__links a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; display: inline-block; }

/* ================= Accessibility menu ================= */
.a11y-btn { position: fixed; bottom: 20px; right: 20px; z-index: var(--z-float); width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: #1d4ed8; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-btn:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.a11y { position: fixed; bottom: 84px; right: 20px; z-index: var(--z-lightbox); width: min(320px, calc(100vw - 40px)); background: #fff; color: #111; border: 2px solid #1d4ed8; border-radius: 16px; padding: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); font-family: Arial, "Assistant", sans-serif; }
.a11y[hidden] { display: none; }
.a11y__title { font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__grid button { min-height: 48px; padding: 6px 10px; border: 1px solid #9ca3af; border-radius: 10px; background: #f9fafb; color: #111; font: 600 15px Arial, "Assistant", sans-serif; cursor: pointer; }
.a11y__grid button:hover { border-color: #1d4ed8; }
.a11y__grid button[aria-pressed="true"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.a11y__grid button:focus-visible, .a11y__foot :focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.a11y__foot { display: flex; justify-content: space-between; margin-top: 12px; }
.a11y__foot .textlink { color: #1d4ed8; background: none; border-top: 0; border-inline: 0; cursor: pointer; font: 600 15px Arial, sans-serif; }
.demo-on .a11y-btn { bottom: 76px; }
.demo-on .a11y { bottom: 140px; }
body.bk-open .a11y-btn { display: none; }

/* Modes */
.a11y-zoomed main, .a11y-zoomed .footer { zoom: var(--a11y-zoom); }
.a11y-links a:not(.pill):not(.logo):not(.wa-float), .a11y-links .textlink { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
.a11y-links a, .a11y-links button { outline: 1px dashed currentColor; outline-offset: 2px; }
.a11y-font { --display: Arial, "Assistant", sans-serif !important; --sans: Arial, "Assistant", sans-serif !important; --logo: Arial, sans-serif !important; }
.a11y-font body { letter-spacing: .01em; }
.a11y-contrast {
  --bg: #fff !important; --bg-soft: #f2f2f2 !important; --ink: #000 !important; --ink-soft: #1f1f1f !important;
  --accent: #000 !important; --accent-hover: #000 !important; --dark: #000 !important; --gold-ink: #6b4a12 !important;
  --line: rgba(0, 0, 0, .55) !important;
}
.a11y-contrast .hero::after { background: rgba(0, 0, 0, .78) !important; }
.a11y-contrast .stack__card::before { background: rgba(0, 0, 0, .78) !important; }
.a11y-contrast .dark, .a11y-contrast .cta { background: #000 !important; }
.a11y-contrast .label--light, .a11y-contrast .dark__text, .a11y-contrast .cta__note, .a11y-contrast .cta__offer p, .a11y-contrast .steps li { color: #fff !important; }
.a11y-contrast .hdr.is-solid { background: #fff !important; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Legal pages */
.legal { max-width: 760px; padding: 48px 0 96px; }
.legal__date { color: var(--ink-soft); font-size: 15px; margin: 10px 0 36px; }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--display); font-size: 26px; margin-bottom: 12px; }
.legal p { color: var(--ink); max-width: 68ch; }
.legal ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.legal ul li::marker { color: var(--gold-ink); }
.legal a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.legal__contact { list-style: none; padding: 0 !important; margin: 10px 0 14px !important; }
.se-rv { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; background: var(--bg); }
.se-rv.is-pending { border-color: var(--gold); background: #fffaf0; }
.se-rv__meta { font-size: 14px; color: var(--ink-soft); }
.se-rv__meta b { color: var(--ink); }
.se-rv__btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.se-rv__group { font-weight: 700; margin-top: 8px; }
#rvAdmin { display: grid; gap: 10px; }

/* Carousel items keep their own shape (phone screenshots, chat bubbles, before/after) */
.shots { align-items: center; }
.shot, .shot img { width: auto; height: auto; }
.shot { display: block; background: #fff; }
.shot img { display: block; max-height: clamp(300px, 40vw, 460px); max-width: min(78vw, 540px); object-fit: initial; }
.shot:hover img { transform: none; }

/* Preview mode (inside the editor) */
.is-preview .wa-float, .is-preview .a11y-btn, .is-preview .skip { display: none !important; }
.is-preview [data-part] { cursor: pointer; outline: 2px dashed transparent; outline-offset: -6px; transition: outline-color .2s ease; }
.is-preview [data-part]:hover { outline-color: rgba(29, 78, 216, .55); }
.is-preview [data-part].is-picked { outline: 3px solid #1d4ed8; }

/* ================= Split editor (desktop) ================= */
.se-wide .ow-main { max-width: none; width: calc(100% - 32px); padding: 16px 0 0; }
.se-wide .ow-tabs { max-width: 620px; margin: 0 auto 14px; }
.se-split { display: grid; grid-template-columns: minmax(380px, 440px) 1fr; gap: 16px; height: calc(100vh - 64px - 16px - 62px - 14px); min-height: 520px; }
.se-panel { display: flex; flex-direction: column; min-height: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.se-partpick { display: grid; gap: 6px; padding: 16px 16px 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.se-partpick select { min-height: 48px; padding: 0 14px; border: 1px solid rgba(47, 43, 37, .3); border-radius: 12px; background: var(--bg); font: 600 17px var(--sans); color: var(--ink); cursor: pointer; }
.se-tip { font-size: 13px; color: var(--ink-soft); padding: 8px 16px 12px; border-bottom: 1px solid var(--line); }
.se-split .se-body { flex: 1; overflow-y: auto; padding: 14px; gap: 12px; background: var(--bg); overscroll-behavior: contain; }
.se-split .se-card--flat { padding: 14px; }
.se-hint { font-size: 12px; color: var(--ink-soft); }
.se-split .se-bar { position: static; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; justify-content: space-between; }
.se-split .se-bar__state { display: inline; }
.se-split .se-grid--3 { grid-template-columns: 1fr 1fr; }
.se-split .se-grid--3 .se-field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.se-split .se-fonts { grid-template-columns: 1fr 1fr; }
.se-preview { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #e9e5de; }
.se-preview__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--line); font-size: 14px; }
.se-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); }
.se-live i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.se-device { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.se-device button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 14px var(--sans); color: var(--ink-soft); cursor: pointer; }
.se-device button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.se-preview__stage { flex: 1; min-height: 0; display: flex; justify-content: center; padding: 0; transition: padding .3s ease; }
.se-preview__stage iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width .3s ease; }
.se-preview__stage.is-mobile { padding: 16px 0; }
.se-preview__stage.is-mobile iframe { width: 390px; border-radius: 22px; box-shadow: 0 0 0 8px #2f2b25, 0 20px 40px -20px rgba(0,0,0,.5); }
.is-preview .demo-bar { display: none !important; }
.demo-on .se-split { height: calc(100vh - 64px - 16px - 62px - 14px - 56px); }

/* Owner login: password + remember me */
.pw { position: relative; display: block; }
.pw input { width: 100%; min-height: 50px; padding: 0 14px; padding-inline-end: 52px; border: 1px solid rgba(47, 43, 37, .25); border-radius: 12px; background: #fff; font: 400 17px var(--sans); color: var(--ink); }
.pw input:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; }
.pw__eye { position: absolute; top: 3px; left: 3px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; }
.pw__eye[aria-pressed="true"] { color: var(--ink); background: var(--bg-soft); }
.pw__eye svg { width: 20px; height: 20px; }
.ow-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ow-check input { width: 22px; height: 22px; accent-color: var(--accent); cursor: pointer; }
.ow-login__alt { display: grid; gap: 4px; justify-items: center; text-align: center; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.ow-login__alt .textlink, .ow-form .textlink { background: none; border-top: 0; border-inline: 0; cursor: pointer; font: 600 15px var(--sans); color: var(--ink); justify-self: center; }

/* Reviews tab (owner) */
.ow-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-inline-start: 6px; border-radius: 999px; background: #b42318; color: #fff; font-size: 12px; font-weight: 700; vertical-align: middle; }
.ow-badge[hidden] { display: none; }
.ow-rv { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.ow-rv.is-pending { border-color: var(--gold); background: #fffaf0; }
.ow-rv__meta { font-size: 14px; color: var(--ink-soft); }
.ow-rv__meta b { color: var(--ink); }
.ow-rv__meta span { color: var(--gold-ink); }
.ow-rv__btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ow-tabs { overflow-x: auto; scrollbar-width: none; }
.ow-tabs::-webkit-scrollbar { display: none; }
.ow-tabs button { white-space: nowrap; padding: 0 10px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Heading color (owner-editable) on light sections */
.intro :is(h2, h3), .services__head h2, .prices :is(h2, h3), .section :is(h2, h3), .reviews :is(h2, h3), .clinic__list b, .legal :is(h1, h2) { color: var(--heading, var(--ink)); }
.se-tcolors { display: grid; gap: 12px; }
.se-tcolor { display: grid; gap: 4px; }
.se-contrast { font-size: 13px; padding-inline-start: 58px; }
.se-contrast .ok { color: #15803d; font-weight: 600; }
.se-contrast .warn { color: #b42318; font-weight: 600; }
.se-addfont { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.se-addfont .se-field { flex: 1; min-width: 180px; }
.se-myfonts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.se-myfonts li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.se-myfonts li span { font-size: 19px; }
.se-myfonts li small { color: var(--ink-soft); font-size: 12px; margin-inline-end: auto; }
.se-pending { margin: 0 14px 10px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid var(--gold); font-size: 14px; display: grid; gap: 6px; }
.se-pending[hidden] { display: none; }

/* ================= Cookie consent ================= */
.cc { position: fixed; inset-inline: 16px; bottom: 16px; z-index: var(--z-toast); max-width: 640px; margin-inline: auto; background: #fff; color: #1f1c18; border: 1px solid rgba(0,0,0,.18); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); font-family: var(--sans); }
.cc[hidden] { display: none; }
.cc__inner { padding: 20px 22px; display: grid; gap: 12px; max-height: 80vh; overflow-y: auto; }
.cc__title { font-size: 19px; font-weight: 700; }
.cc__text { font-size: 15px; line-height: 1.65; color: #3a352e; }
.cc__text a { color: #1f1c18; font-weight: 700; }
.cc__cats { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.cc__cat { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid rgba(0,0,0,.14); border-radius: 12px; cursor: pointer; font-size: 14px; color: #3a352e; }
.cc__cat input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1f1c18; cursor: pointer; }
.cc__cat input:disabled { cursor: not-allowed; }
.cc__cat b { display: block; color: #1f1c18; font-size: 15px; }
.cc__btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* "Accept" and "Reject" deliberately look identical (no nudging) */
.cc__btn { flex: 1 1 140px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid #1f1c18; background: #1f1c18; color: #fff; font: 700 15px var(--sans); cursor: pointer; }
.cc__btn--line { background: #fff; color: #1f1c18; flex-basis: 100%; }
.cc__btn:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.footer__links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.legal code { background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
@media (min-width: 700px) { .cc__btn--line { flex-basis: 140px; } }
