/* =========================================================
   SUNNE · Fisioterapia avanzada — styles
   Mobile-first · tokens · transform/opacity-only motion
   ========================================================= */

/* Self-hosted fonts (latin subset, variable) — no third-party requests */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #F6F0EE;
  --surface: #FCF9F8;
  --ink: #1F1822;
  --muted: #625863;
  --sage: #C58BC4;
  --sage-soft: #F2E3EE;
  --sage-ink: #7A3A8C;
  --petrol: #5E2D73;
  --deep: #24122B;
  --sand: #EBDDE0;
  --body: #EBDDE0;
  --gold: #C29B48;
  --cream: #F8F2F1;
  --line: rgba(31, 24, 34, .12);

  --f-serif: "Fraunces", "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;

  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;

  --shadow-sm: 0 1px 2px rgba(36, 18, 43, .06), 0 4px 14px rgba(36, 18, 43, .06);
  --shadow-md: 0 2px 6px rgba(36, 18, 43, .06), 0 18px 48px rgba(36, 18, 43, .12);

  --z-rail: 10; --z-nav: 20; --z-bar: 40; --z-menu: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg[width="0"] { width: 0; height: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 .72rem/1.2 var(--f-sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-ink);
}
.h2 {
  font: 300 clamp(2.3rem, 5.4vw, 4.4rem)/1.02 var(--f-serif);
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
  margin-top: 14px;
}
.h2 em, .hero__title em { font-style: italic; color: var(--sage-ink); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 52ch; margin-top: 18px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: var(--h); padding: 6px 6px 6px 24px;
  border-radius: 999px;
  font: 600 .94rem/1 var(--f-sans);
  letter-spacing: .01em;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn--lg { --h: 58px; font-size: 1rem; }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: var(--cream); box-shadow: 0 10px 26px rgba(31, 24, 34, .18); }
.btn--dark:hover { background: var(--petrol); }
.btn--light { background: var(--surface); color: var(--ink); padding: 0 24px; box-shadow: var(--shadow-sm); }
/* Secondary: outlined pill, plain icon + text, centered and balanced */
.btn--ghost {
  gap: 10px; padding: 0 26px; justify-content: center;
  color: var(--ink); border: 1px solid rgba(31, 24, 34, .22); background: rgba(252, 249, 248, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn__dot {
  display: grid; place-items: center;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px);
  border-radius: 50%; background: var(--cream); color: var(--ink);
}
.btn__ring { display: inline-grid; place-items: center; color: var(--sage-ink); }
.btn--ghost:has(.btn__ring:last-child) .btn__ring { order: 0; }
.btn:hover .btn__ring svg { transform: scale(1.1); }
.btn__dot svg, .btn__ring svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .btn__dot svg { transform: translateX(3px); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Surfaces ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.glass {
  background: rgba(252, 249, 248, .9);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-md);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(252, 249, 248, .66); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
}

/* Image slots: elegant fallback until real photos are dropped in /img */
.media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(150deg, var(--sage-soft), var(--sand));
}
.media::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 70% 30%, transparent 0 38px, rgba(122, 58, 140, .07) 38px 39px);
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out);
}
.media img.is-loaded { opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 10px 10px 0; }
.hero__frame {
  position: relative; isolation: isolate;
  min-height: 88svh;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: frame-in 1.2s var(--ease-out) both;
}
@keyframes frame-in { from { transform: scale(.97); opacity: 0; } }

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 78% 38%, #F9DCD6 0%, rgba(249, 220, 214, 0) 70%),
    radial-gradient(70% 60% at 12% 90%, #EBD3E4 0%, rgba(235, 211, 228, 0) 70%),
    linear-gradient(160deg, #F4ECF1 0%, #F7E6E4 100%);
}
.sunrings {
  position: absolute; width: min(110vw, 900px); height: auto;
  right: -30%; top: 50%; transform: translateY(-50%);
  stroke: rgba(122, 58, 140, .22); stroke-width: 1; fill: none;
}
.sunrings circle { stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 2.6s var(--ease-out) forwards; }
.sunrings circle:nth-child(2) { animation-delay: .15s; }
.sunrings circle:nth-child(3) { animation-delay: .3s; }
.sunrings circle:nth-child(4) { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
  will-change: transform;
}
.hero__img.is-loaded, .hero__video.is-ready { opacity: 1; }
.hero__img.is-loaded { animation: kenburns 22s var(--ease-in-out) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero__video.is-ready + .hero__scrim, .hero__img.is-loaded ~ .hero__scrim { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s;
  background:
    linear-gradient(0deg, rgba(246, 240, 238, .95) 0%, rgba(246, 240, 238, .55) 38%, rgba(246, 240, 238, 0) 70%),
    linear-gradient(90deg, rgba(246, 240, 238, .55) 0%, rgba(246, 240, 238, 0) 60%);
}

/* Nav */
.nav {
  position: relative; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 16px 0;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; color: var(--ink); }
.brand__logo { display: block; height: 26px; width: auto; }
.brand__tag { font: 500 .56rem/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.brand--light { color: var(--cream); }
.brand--light .brand__tag { color: rgba(248, 242, 241, .7); }
@media (min-width: 768px) { .brand__logo { height: 30px; } }

.nav__links { display: none; }
.nav__cta { display: none; }
.nav__burger {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(252, 249, 248, .75); border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.rail { display: none; }

.hero__content {
  margin-top: auto;
  padding: 40px 20px 28px;
  max-width: 760px;
}
.hero__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.hero__eyebrow i { width: 18px; height: 1px; background: currentColor; opacity: .6; }
.hero__title {
  margin-top: 18px;
  font: 300 clamp(3rem, 12vw, 7.4rem)/.96 var(--f-serif);
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; animation: rise 1.15s var(--ease-out) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .25s; }
.hero__title .line:nth-child(2) > span { animation-delay: .37s; }
.hero__title .line:nth-child(3) > span { animation-delay: .49s; }
@keyframes rise { from { transform: translateY(108%); } }

.hero__eyebrow, .hero__lead, .hero__actions, .hero__tags { animation: fade-up 1s var(--ease-out) both; }
.hero__eyebrow { animation-delay: .15s; }
.hero__lead { animation-delay: .7s; }
.hero__actions { animation-delay: .82s; }
.hero__tags { animation-delay: 1s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.hero__lead { margin-top: 22px; max-width: 42ch; color: #463C48; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__tags { display: none; }

.hero__toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(252, 249, 248, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero__toggle svg { width: 16px; height: 16px; }

/* Hero cards */
.hero__cards {
  position: relative; z-index: 2;
  display: grid; gap: 12px;
  padding: 12px 0 0;
}
.hcard { padding: 22px; border-radius: var(--r-md); animation: fade-up 1s var(--ease-out) both; }
.hcard:nth-child(1) { animation-delay: 1s; }
.hcard:nth-child(2) { animation-delay: 1.1s; }
.hcard:nth-child(3) { animation-delay: 1.2s; }
.hcard__title { font: 400 1.25rem/1.2 var(--f-serif); margin-top: 10px; max-width: 26ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .55);
  font-size: .9rem; font-weight: 500;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.chip:hover { background: var(--ink); color: var(--cream); }
.chip:active { transform: scale(.96); }

.score { display: flex; align-items: center; gap: 16px; }
.score__num { font: 300 3.4rem/1 var(--f-serif); font-variant-numeric: tabular-nums; }
.score p { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.score strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.stars--lg svg { width: 24px; height: 24px; }
.hcard__facts { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hcard__facts li { display: flex; align-items: center; gap: 10px; }
.hcard__facts svg { width: 18px; height: 18px; color: var(--sage-ink); }

.hcard--cta {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 200px; background: var(--deep); color: var(--cream); overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out);
}
.hcard--cta::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%;
  border: 1px solid rgba(248, 242, 241, .16); box-shadow: 0 0 0 40px rgba(248, 242, 241, .03), 0 0 0 80px rgba(248, 242, 241, .02);
}
.hcard--cta:hover { transform: translateY(-3px); }
.hcard__icon {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--ink);
  transition: transform var(--t-fast) var(--ease-out);
}
.hcard--cta:hover .hcard__icon { transform: rotate(45deg); }
.hcard__cta-title { font: 300 1.7rem/1.1 var(--f-serif); max-width: 14ch; }
.hcard__cta-sub { font-size: .9rem; color: rgba(248, 242, 241, .78); max-width: 30ch; }
.hcard__bar { height: 2px; margin-top: 12px; background: rgba(248, 242, 241, .15); position: relative; overflow: hidden; border-radius: 2px; }
.hcard__bar::after { content: ""; position: absolute; inset: 0; background: var(--sage); transform-origin: left; animation: bar 3.6s var(--ease-in-out) infinite; }
@keyframes bar { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); opacity: 0; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  display: flex;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__inner { width: 100%; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.menu__close { align-self: flex-end; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.menu ul { display: grid; gap: 4px; margin-top: 8px; }
.menu ul a {
  display: block; padding: 8px 0;
  font: 300 clamp(2rem, 9vw, 2.8rem)/1.15 var(--f-serif);
  transform: translateY(16px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + 80ms);
}
.menu.is-open ul a { transform: none; opacity: 1; }
.menu .btn { margin-top: auto; justify-content: space-between; }
.menu__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }

/* =========================================================
   PROOF MARQUEE
   ========================================================= */
.proof { padding: clamp(56px, 8vw, 96px) 0 0; }
.proof__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1240px; margin: 0 auto 18px; padding-inline: clamp(16px, 4vw, 40px); }
.proof__head p { font-size: .9rem; color: var(--muted); }
.proof__pause { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.proof__pause svg { width: 16px; height: 16px; }
.marquee {
  display: flex; overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; flex-shrink: 0; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: flex; align-items: center; white-space: nowrap;
  padding: 22px 0;
  font: 300 clamp(1.6rem, 3.6vw, 2.8rem)/1 var(--f-serif);
  font-style: italic;
}
.marquee__track li:nth-child(even) { font-style: normal; color: var(--sage-ink); }
.marquee__track li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); margin: 0 clamp(22px, 3.4vw, 48px); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Reveal (JS-enhanced only) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Treatments bento ---------- */
.bento { display: grid; gap: 14px; }
.tcard {
  position: relative; min-height: 400px; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.tcard .media { position: absolute; inset: 0; z-index: -1; }
.tcard:nth-child(2) .media { background: linear-gradient(160deg, #EFDDE9, #E8CFDF); }
.tcard:nth-child(3) .media { background: linear-gradient(160deg, #F1E2E2, #E6CFD6); }
.tcard:nth-child(4) .media { background: linear-gradient(160deg, #E9D6E6, #E4DDCF); }
.tcard:hover .media img { transform: scale(1.05); }
.tcard__body {
  position: relative; margin: 12px; padding: 22px;
  border-radius: var(--r-md);
  background: rgba(252, 249, 248, .9);
  transition: transform var(--t-med) var(--ease-out);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tcard__body { background: rgba(252, 249, 248, .72); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
}
.tcard:hover .tcard__body { transform: translateY(-4px); }
.tcard__num { position: absolute; top: 22px; right: 22px; font: 400 .85rem/1 var(--f-sans); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tcard__ico { width: 30px; height: 30px; color: var(--sage-ink); stroke-width: 1.4; }
.tcard h3 { font: 400 1.45rem/1.15 var(--f-serif); margin-top: 14px; padding-right: 30px; }
.tcard p { color: var(--muted); font-size: .95rem; margin-top: 8px; max-width: 44ch; }
.tcard .link { margin-top: 14px; }
.tcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tcard:hover .tcard__link svg { transform: translateX(4px); }
@media (max-width: 767px) {
  .tcard { min-height: 0; background: var(--surface); box-shadow: var(--shadow-sm); }
  .tcard .media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; }
  .tcard__body { margin: -56px 12px 12px; }
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li {
  padding: 5px 11px; border-radius: 999px;
  background: rgba(122, 58, 140, .1); color: var(--sage-ink);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
}

/* Full services list */
.svc { margin-top: clamp(56px, 8vw, 96px); }
.svc__title { font: 300 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--f-serif); margin-bottom: 24px; }
.svc__list { display: grid; border-top: 1px solid var(--line); }
.svc__list li {
  position: relative; display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
}
.svc__list li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--sage-ink); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.svc__list li:hover::after { transform: scaleX(1); }
.svc__n { font: 400 .8rem/1.9 var(--f-sans); color: var(--sage-ink); font-variant-numeric: tabular-nums; letter-spacing: .08em; min-width: 22px; }
.svc__list h4 { margin: 0; font: 400 1.3rem/1.2 var(--f-serif); transition: transform .4s var(--ease-out); }
.svc__list li:hover h4 { transform: translateX(4px); }
.svc__list p { margin-top: 6px; color: var(--muted); font-size: .95rem; max-width: 40ch; }
.svc__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 36px; padding: 24px 28px; border-radius: var(--r-lg);
  background: var(--sage-soft);
}
.svc__cta p { font: 300 1.3rem/1.3 var(--f-serif); max-width: 34ch; }
@media (min-width: 768px) {
  .svc__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1100px) {
  .svc__list { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
}

/* =========================================================
   SERVICE PAGES
   ========================================================= */
.hero--page .hero__frame { min-height: 74svh; }
.hero--page .hero__title { font-size: clamp(2.6rem, 9vw, 5.8rem); }
.hero--page .hero__scrim { opacity: 1; }
@media (max-width: 767px) {
  .hero__scrim {
    background: linear-gradient(0deg, rgba(246, 240, 238, .97) 0%, rgba(246, 240, 238, .9) 48%, rgba(246, 240, 238, .35) 72%, rgba(246, 240, 238, 0) 88%);
  }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

.treats { display: grid; gap: 36px; }
.conds { display: grid; gap: 10px; }
.conds li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 500;
}
.conds li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A3A8C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3L17 9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.scards { display: grid; gap: 14px; }
.scard {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scard::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sage-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.scard:hover::after { transform: scaleX(1); }
.scard__n { font: 400 .8rem/1 var(--f-sans); letter-spacing: .12em; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.scard h3 { font: 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.15 var(--f-serif); margin-top: 14px; }
.scard p { color: var(--muted); margin-top: 10px; max-width: 52ch; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 22px; font: 400 1.2rem/1.3 var(--f-serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sage-soft); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 68ch; }
.faq details[open] p { animation: fade-up .5s var(--ease-out); }

.others { display: grid; gap: 14px; }
.other {
  position: relative; display: flex; align-items: flex-end; min-height: 240px; border-radius: var(--r-lg);
  overflow: hidden; isolation: isolate; color: var(--cream);
}
.other .media { position: absolute; inset: 0; z-index: -2; }
.other::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36, 18, 43, .85), rgba(36, 18, 43, .1) 70%); }
.other:hover .media img { transform: scale(1.06); }
.other__body { padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; }
.other__body span { font: 400 1.4rem/1.15 var(--f-serif); }
.other__body small { display: block; font: 600 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(248, 242, 241, .75); margin-bottom: 8px; }
.other__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); transition: transform .4s var(--ease-out); }
.other:hover .other__arrow { transform: rotate(-45deg); }

.cta-band {
  display: grid; gap: 24px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg);
  background: var(--deep); color: var(--cream); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%;
  border: 1px solid rgba(248, 242, 241, .1); box-shadow: 0 0 0 60px rgba(248, 242, 241, .025), 0 0 0 120px rgba(248, 242, 241, .015);
}
.cta-band h2 { font: 300 clamp(2rem, 4.4vw, 3.4rem)/1.05 var(--f-serif); max-width: 18ch; position: relative; }
.cta-band h2 em { color: var(--sage); }
.cta-band p { color: rgba(248, 242, 241, .75); max-width: 46ch; position: relative; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band .btn--dark { background: var(--cream); color: var(--ink); }
.cta-band .btn--dark .btn__dot { background: var(--ink); color: var(--cream); }
.cta-band .btn--ghost { color: var(--cream); border-color: rgba(248, 242, 241, .25); background: transparent; }

.section--tight { padding-top: 0; }

@media (min-width: 768px) {
  .treats { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .conds { grid-template-columns: 1fr 1fr; }
  .scards { grid-template-columns: 1fr 1fr; }
  .steps.steps--3 { grid-template-columns: repeat(3, 1fr); }
  .others { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1.3fr 1fr; align-items: end; }
}
@media (min-width: 1100px) {
  .hero--page .hero__frame { min-height: min(82vh, 820px); }
  .hero.hero--page .hero__content { margin-top: auto; padding: 160px 0 72px 64px; }
}

/* =========================================================
   BOOKING (3 steps → WhatsApp)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.booking { background: linear-gradient(180deg, var(--bg), #F2E8EA 60%, var(--bg)); }
.bk {
  max-width: 980px; padding: clamp(14px, 2.4vw, 28px);
  border-radius: var(--r-lg); background: rgba(252, 249, 248, .7);
  border: 1px solid rgba(31, 24, 34, .08); box-shadow: var(--shadow-md);
  display: grid; gap: 14px;
}
.bk__top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-md); background: var(--surface);
}
.bk__back {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0; transition: background-color var(--t-fast);
}
.bk__back:hover { background: var(--sage-soft); }
.bk__back svg { transform: rotate(180deg); width: 18px; height: 18px; }
.bk__label { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.bk__count { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 3px; }
.bk__dots { margin-left: auto; display: flex; align-items: center; flex-shrink: 0; }
.bk__dots li {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface);
  transition: background-color .4s var(--ease-out), border-color .4s;
}
.bk__dots li + li { margin-left: 26px; }
.bk__dots li + li::before {
  content: ""; position: absolute; right: 100%; top: 50%; width: 26px; height: 1.5px; margin-right: 1.5px;
  background: var(--line);
}
.bk__dots li.is-current { border-color: var(--sage-ink); }
.bk__dots li.is-current::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--sage-ink); }
.bk__dots li.is-done { background: var(--sage-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--sage-ink); }
.bk__dots li.is-done + li::before, .bk__dots li.is-current::before { background: var(--sage-ink); }

.bk__panel { animation: fade-up .5s var(--ease-out); }
.bk__box { padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r-md); background: var(--surface); }
.bk__box h3 { font: 400 1.3rem/1.2 var(--f-serif); }

.bk__svcs { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.bk__svc {
  position: relative; display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: var(--surface);
  border: 1.5px solid transparent;
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.bk__svc:hover { border-color: var(--line); box-shadow: var(--shadow-sm); }
.bk__svc:active { transform: scale(.99); }
.bk__svc input { position: absolute; opacity: 0; pointer-events: none; }
.bk__svc:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 3px; }
.bk__svc:has(input:checked) { border-color: var(--sage-ink); }
.bk__thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--sage-soft); }
.bk__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bk__svc-text { display: grid; gap: 2px; min-width: 0; }
.bk__svc-text strong { font: 400 1.15rem/1.2 var(--f-serif); }
.bk__svc-text small { color: var(--muted); font-size: .86rem; }
.bk__go {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--ink); color: var(--cream);
  transition: transform var(--t-fast) var(--ease-out);
}
.bk__go svg { width: 16px; height: 16px; }
.bk__svc:hover .bk__go { transform: translateX(3px); }

.bk__when { display: grid; gap: 14px; }
.bk__cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk__month { font: 400 1.3rem/1.2 var(--f-serif); }
.bk__month::first-letter { text-transform: uppercase; }
.bk__cal-nav { display: flex; gap: 6px; }
.bk__cal-nav button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color var(--t-fast), opacity var(--t-fast); }
.bk__cal-nav button:hover:not(:disabled) { background: var(--sage-soft); }
.bk__cal-nav button:disabled { opacity: .35; cursor: default; }
.bk__prev svg { transform: rotate(180deg); }
.bk__cal-nav svg { width: 16px; height: 16px; }
.bk > *, .bk__when > * { min-width: 0; }
.bk__wd, .bk__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
@media (max-width: 520px) {
  .bk { padding: 10px; }
  .bk__top { padding: 12px; gap: 10px; }
  .bk__box { padding: 16px 12px; }
  .bk__days { gap: 2px; }
  .bk__days button { min-height: 0; border-radius: 10px; }
}
.bk__wd span { font-size: .75rem; font-weight: 600; color: var(--muted); padding: 6px 0; }
.bk__days button {
  aspect-ratio: 1; min-height: 40px; border-radius: 12px; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.bk__days button:hover:not(:disabled) { background: var(--sage-soft); }
.bk__days button:active:not(:disabled) { transform: scale(.94); }
.bk__days button:disabled { color: rgba(31, 24, 34, .3); text-decoration: line-through; cursor: default; }
.bk__days button.is-today { box-shadow: inset 0 0 0 1.5px var(--sage); }
.bk__days button[aria-pressed="true"], .bk__days button[aria-pressed="true"]:hover { background: var(--ink); color: var(--cream); }
.bk__hint { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.bk__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.bk__slots button {
  min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
  animation: fade-up .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.bk__slots button:hover { border-color: var(--ink); }
.bk__slots button:active { transform: scale(.95); }
.bk__slots button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.bk__slot-group { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); font-weight: 600; margin-top: 6px; }

.bk__summary ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; }
.bk__summary li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.bk__summary li span::first-letter { text-transform: uppercase; }
.bk__summary svg { color: var(--sage-ink); width: 18px; height: 18px; }
.bk__fields { display: grid; gap: 16px; margin-top: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field label span { color: var(--sage-ink); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(31, 24, 34, .2); background: var(--bg);
  font: 400 1rem/1.4 var(--f-sans); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-ink); background: #fff; box-shadow: 0 0 0 4px rgba(122, 58, 140, .14); }
.field input[aria-invalid="true"] { border-color: #A3392B; }
.field__err { color: #A3392B; font-size: .86rem; font-weight: 500; }
.bk__note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.bk__note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--sage-ink); }
.bk__submit { justify-content: space-between; }

.bk__done { text-align: center; padding: clamp(32px, 5vw, 56px) 20px; border-radius: var(--r-md); background: var(--surface); outline: none; }
.bk__check {
  display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage-ink);
}
.bk__check svg { width: 34px; height: 34px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--ease-out) .15s forwards; }
.bk__done h3 { font: 300 2rem/1.1 var(--f-serif); margin-top: 18px; }
.bk__done p { color: var(--muted); max-width: 44ch; margin: 10px auto 0; }
.bk__done-alt { font-size: .9rem; }
.bk__done-alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bk__restart { margin-top: 24px; padding: 6px 24px; }
.bk__alt { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.bk__alt a { color: var(--ink); font-weight: 600; }

@media (max-width: 520px) {
  .bk__dots li { width: 24px; height: 24px; }
  .bk__dots li + li { margin-left: 16px; }
  .bk__dots li + li::before { width: 16px; }
  .bk__dots li.is-current::after { inset: 7px; }
  .bk__svc-text small { display: none; }
}
@media (min-width: 768px) {
  .bk__when { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .bk__fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .bk__submit { justify-self: start; }
}

/* =========================================================
   LEGAL · COOKIES · WHATSAPP FAB · 404
   ========================================================= */
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__legal a, .footer__legal button { display: inline-flex; align-items: center; min-height: 32px; color: rgba(248, 242, 241, .72); font-size: .82rem; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--cream); }

.cookies {
  position: fixed; z-index: calc(var(--z-menu) - 1);
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  max-width: 460px; padding: 20px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: 0 20px 60px rgba(36, 18, 43, .25); border: 1px solid var(--line);
  animation: fade-up .5s var(--ease-out);
}
.cookies__title { font: 400 1.25rem/1.2 var(--f-serif); }
.cookies p + p { margin-top: 6px; font-size: .92rem; color: var(--muted); }
.cookies a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookies .btn { justify-content: center; padding: 0 18px; --h: 48px; box-shadow: none; }

.wa-fab {
  position: fixed; z-index: var(--z-bar); right: 22px; bottom: 22px;
  display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--deep); color: var(--cream); font-weight: 600; font-size: .92rem;
  border: 1px solid rgba(248, 242, 241, .22);
  box-shadow: 0 14px 34px rgba(36, 18, 43, .28), 0 0 0 4px rgba(248, 242, 241, .5);
  transform: translateY(140%); transition: transform .5s var(--ease-out), background-color var(--t-fast);
}
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab.is-visible { transform: none; }
.wa-fab:hover { background: var(--petrol); }
@media (min-width: 768px) { .wa-fab { display: inline-flex; } }

.map__consent {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 24px; text-align: center;
  background:
    repeating-linear-gradient(35deg, transparent 0 46px, rgba(31, 24, 34, .05) 46px 48px),
    linear-gradient(160deg, #EFE4E8, #F2E3EE);
}
.map__consent p { color: var(--muted); max-width: 30ch; font-size: .95rem; }
.map__pin {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--cream); box-shadow: 0 0 0 10px rgba(31, 24, 34, .08), 0 0 0 22px rgba(31, 24, 34, .04);
}
.map__pin svg { width: 24px; height: 24px; }

/* Plain page header (legal, 404) */
.phead { padding: 10px 10px 0; }
.phead__bar { border-radius: var(--r-lg); background: linear-gradient(160deg, #F4ECF1, #F7E6E4); padding-bottom: clamp(48px, 8vw, 96px); }
.phead__bar .nav { padding-bottom: 0; }
.phead__content { padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 40px) 0; max-width: 840px; margin-inline: auto; }
.legal { margin-inline: auto; }
.phead h1 { font: 300 clamp(2.4rem, 7vw, 4.6rem)/1.02 var(--f-serif); letter-spacing: -.02em; margin-top: 18px; }
.phead h1 em { font-style: italic; color: var(--sage-ink); }
.phead .lead { margin-top: 16px; }
@media (min-width: 768px) { .phead { padding: 16px 16px 0; } }

.legal { max-width: 760px; }
.legal h2 { font: 400 clamp(1.5rem, 2.6vw, 1.9rem)/1.2 var(--f-serif); margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #463C48; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.legal a { color: var(--sage-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; background: var(--sage-soft); }
.legal .table-wrap { overflow-x: auto; }
.todo { background: #F6E7C8; color: #6B4E12; padding: 1px 6px; border-radius: 6px; font-weight: 600; font-size: .9em; }
.legal-note { margin-top: 40px; padding: 18px 20px; border-radius: var(--r-md); background: var(--sage-soft); font-size: .92rem; }

.nf { text-align: center; }
.nf__num { font: 300 clamp(6rem, 22vw, 12rem)/.9 var(--f-serif); color: var(--sage-ink); letter-spacing: -.04em; }
.nf .lead { margin-inline: auto; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Map (interactive by default) */
.map { display: flex; flex-direction: column; gap: 16px; }
.map__frame { position: relative; flex: 1; min-height: 360px; overflow: hidden; background: var(--sand); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.03); }
.map__open { align-self: flex-start; }
@media (min-width: 768px) { .map__frame { min-height: 440px; } }

/* ---------- Method ---------- */
.method { background: var(--deep); color: var(--cream); position: relative; overflow: hidden; }
.method::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  right: -380px; top: -420px;
  border: 1px solid rgba(248, 242, 241, .07);
  box-shadow: 0 0 0 90px rgba(248, 242, 241, .02), 0 0 0 180px rgba(248, 242, 241, .015);
  pointer-events: none;
}
.sec-head--light .eyebrow { color: var(--sage); }
.sec-head--light .h2 em { color: var(--sage); }
.sec-head--light .lead { color: rgba(248, 242, 241, .74); }
.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 0 36px 64px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: rgba(248, 242, 241, .16); }
.step::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--sage);
  transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease-out);
}
.step:last-child::before, .step:last-child::after { display: none; }
.step.is-active::after { transform: scaleY(1); }
.step__n {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(248, 242, 241, .3);
  font: 400 .85rem/1 var(--f-sans); font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--ease-out), color .5s, border-color .5s;
}
.step.is-active .step__n { background: var(--sage); border-color: var(--sage); color: var(--deep); }
.step h3 { font: 300 1.7rem/1.15 var(--f-serif); padding-top: 6px; }
.step p { color: rgba(248, 242, 241, .74); margin-top: 10px; max-width: 34ch; }
.step h3, .step p { transition: opacity .8s var(--ease-out); }
.step h3 { opacity: .55; }
.step p { opacity: .78; } /* ≥ 4.5:1 also before activation */
.step.is-active h3, .step.is-active p { opacity: 1; }

/* ---------- Clinic ---------- */
.clinic__grid { display: grid; gap: 48px; align-items: center; }
.clinic__media { position: relative; padding-bottom: 60px; }
.media--tall { aspect-ratio: 4 / 5; border-radius: var(--r-lg); width: 82%; }
.media--small {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3;
  border-radius: var(--r-md); border: 6px solid var(--bg);
  background: linear-gradient(160deg, #E9D6E6, #F2E3EE);
}
.clinic__badge {
  position: absolute; left: 6%; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
}
.clinic__badge strong { font: 300 2.4rem/1 var(--f-serif); }
.clinic__badge span { font-size: .82rem; line-height: 1.3; color: var(--muted); }
.feats { display: grid; gap: 18px; margin-top: 32px; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-ink); }
.feats strong { display: block; font-weight: 600; }
.feats span { color: var(--muted); font-size: .95rem; }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(180deg, var(--bg), #F1E6E8); }
.reviews__grid { display: grid; gap: 40px; align-items: center; }
.bigscore { display: flex; align-items: center; gap: 22px; margin: 32px 0 28px; }
.bigscore__num { font: 300 clamp(5rem, 13vw, 8.5rem)/.9 var(--f-serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bigscore p { margin-top: 8px; color: var(--muted); }
.bigscore strong { color: var(--ink); }
.reviews__themes { padding: clamp(24px, 3.4vw, 40px); }
.reviews__themes h3 { font: 400 1.5rem/1.2 var(--f-serif); }
.reviews__themes > .muted { margin-top: 6px; font-size: .95rem; }
.bars { display: grid; gap: 18px; margin: 26px 0 22px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; }
.bars span { font-weight: 500; }
.bars b { font: 400 1.1rem/1 var(--f-serif); font-variant-numeric: tabular-nums; }
.bars i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--sage-soft); position: relative; overflow: hidden; }
.bars i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sage-ink);
  transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.4s var(--ease-out);
}
.js .bars i::after { transform: scaleX(0); }
.bars li:nth-child(2) i::after { transition-delay: .1s; }
.bars li:nth-child(3) i::after { transition-delay: .2s; }
.bars li:nth-child(4) i::after { transition-delay: .3s; }
.js .is-in .bars i::after { transform: scaleX(var(--v)); }

/* ---------- Visit ---------- */
.visit__grid { display: grid; gap: 40px; }
.contact { display: grid; gap: 20px; margin-top: 32px; }
.contact li { display: flex; gap: 16px; align-items: flex-start; }
.contact svg { width: 22px; height: 22px; margin-top: 3px; color: var(--sage-ink); }
.contact span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact strong { font-weight: 500; font-size: 1.05rem; }
.contact a:hover strong { color: var(--sage-ink); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(248, 242, 241, .8); padding: 72px 0 calc(100px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 36px; }
.footer__claim { margin-top: 18px; font: 300 1.4rem/1.25 var(--f-serif); color: var(--cream); max-width: 22ch; }
.footer__links { display: grid; gap: 6px; }
.footer__links a { display: inline-block; padding: 6px 0; }
.footer a:hover { color: var(--cream); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(248, 242, 241, .12); font-size: .82rem; color: rgba(248, 242, 241, .55); }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; padding: 6px;
  border-radius: 999px;
  background: rgba(252, 249, 248, .88); border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  transform: translateY(140%); transition: transform .5s var(--ease-out);
}
.actionbar.is-visible { transform: none; }
.actionbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.actionbar svg { width: 18px; height: 18px; }
.actionbar__main { background: var(--ink); color: var(--cream); }

/* =========================================================
   ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  .hero { padding: 16px 16px 0; }
  .hero__frame { min-height: 86vh; }
  .nav { padding: 22px 24px 0; }
  .hero__content { padding: 60px 40px 40px; }
  .hero__cards { grid-template-columns: 1fr 1fr; padding: 16px 0 0; }
  .hcard--cta { grid-column: 1 / -1; min-height: 180px; }


  .bento { grid-template-columns: 1fr 1fr; }
  .tcard--xl { grid-column: 1 / -1; min-height: 460px; }
  .tcard--wide { grid-column: 1 / -1; min-height: 360px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 70px 0 0; }
  .step::before, .step::after { left: 56px; right: -28px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step::after { transform: scaleX(0); transform-origin: left; }
  .step.is-active::after { transform: scaleX(1); }

  .clinic__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .reviews__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .visit__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; }
  .footer { padding-bottom: 104px; } /* room for the floating WhatsApp button */
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .actionbar { display: none; }
}

/* =========================================================
   ≥ 1100px — editorial desktop layout (ref: floating glass)
   ========================================================= */
@media (min-width: 1100px) {
  .hero__frame { min-height: calc(100vh - 32px); max-height: 980px; }
  .nav { padding: 24px 28px 0 36px; }
  .nav__links {
    display: flex; gap: 4px; padding: 6px;
    border-radius: 999px;
    background: rgba(252, 249, 248, .62); border: 1px solid rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--shadow-sm);
  }
  .nav__links a {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px;
    font-size: .9rem; font-weight: 500; transition: background-color var(--t-fast), color var(--t-fast);
  }
  .nav__links a:hover { background: rgba(31, 24, 34, .06); }
  .nav__links a.is-current { background: var(--ink); color: var(--cream); }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }

  .rail {
    position: absolute; z-index: var(--z-rail); left: 24px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 10px; border-radius: 999px;
    background: rgba(252, 249, 248, .62); border: 1px solid rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
    animation: fade-up 1s var(--ease-out) .9s both;
  }
  .rail a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast); }
  .rail a:hover { background: var(--ink); color: var(--cream); }
  .rail svg { width: 19px; height: 19px; }
  .rail__sep { width: 20px; height: 1px; background: var(--line); margin: 4px 0; }
  .rail__score { flex-direction: column; gap: 2px; height: 58px !important; }
  .rail__score strong { font: 400 .95rem/1 var(--f-serif); }
  .rail__score svg { width: 12px; height: 12px; fill: var(--gold); stroke: none; }

  .hero__content { margin-top: 0; padding: clamp(80px, 14vh, 150px) 0 220px 128px; }
  .hero__tags {
    display: grid; gap: 6px; position: absolute; right: 36px; top: 120px;
    padding-left: 16px; border-left: 1px solid rgba(31, 24, 34, .35);
    font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #3A2F3C;
  }
  .hero__toggle { right: 28px; bottom: 28px; }

  .hero__cards {
    grid-template-columns: 1.25fr 1fr .85fr;
    margin: -180px 0 0; padding: 0 48px 0 128px; gap: 16px;
    align-items: stretch;
  }
  .hcard { padding: 26px; }
  .hcard--cta { grid-column: auto; min-height: 0; }

  .bento { grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: minmax(440px, auto); }
  .tcard--xl { grid-column: 1; grid-row: span 2; min-height: 900px; }
  .tcard--wide { grid-column: 2 / 4; min-height: 0; }
  .tcard { min-height: 0; }
}

@media (min-width: 1440px) {
  .hero__content { padding-left: 160px; }
  .hero__cards { padding-left: 160px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .spot__ring { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   BRAND ACCENTS — SUNNE gradient (purple → magenta → coral)
   Only on details: highlighted words, arrow dots, progress,
   hover lines. Text versions are darkened/lightened for contrast.
   ========================================================= */
:root {
  --brand: #864899;
  --brand-grad: linear-gradient(100deg, #864899 0%, #CA4594 55%, #F05E6B 100%);
  --brand-grad-text: linear-gradient(100deg, #864899 0%, #A93A7F 55%, #C8384F 100%);      /* ≥ 4.4:1 on cream */
  --brand-grad-text-dark: linear-gradient(100deg, #C9A0DF 0%, #F08BC4 55%, #FF9A8F 100%); /* ≥ 6.5:1 on deep green */
}
::selection { background: rgba(202, 69, 148, .18); }

/* Highlighted words in headings */
.h2 em, .hero__title em, .phead h1 em, .cta-band h2 em, .sec-head--light .h2 em {
  color: var(--brand);
  background: var(--brand-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .08em; margin-right: -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.sec-head--light .h2 em, .cta-band h2 em { background-image: var(--brand-grad-text-dark); }

/* Arrow dot on primary buttons and booking rows */
.btn--dark .btn__dot, .cta-band .btn--dark .btn__dot, .bk__go { background: var(--brand-grad); color: #fff; }
.btn--dark:hover .btn__dot { filter: saturate(1.15) brightness(1.05); }
.hcard__icon { background: var(--brand-grad); color: #fff; }

/* Progress & selection states */
.bk__dots li.is-current { border-color: var(--brand); }
.bk__dots li.is-current::after { background: var(--brand-grad); }
.bk__dots li.is-done { background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"), var(--brand-grad); background-size: 16px, 100% 100%; background-position: center; background-repeat: no-repeat; border-color: transparent; }
.bk__dots li.is-done + li::before, .bk__dots li.is-current::before { background: var(--brand-grad); }
.bk__svc:has(input:checked) { border-color: var(--brand); }
.step.is-active .step__n { background: var(--brand-grad); border-color: transparent; color: #fff; }
.step::after { background: var(--brand-grad); }
@media (max-width: 767px) { .step::after { background: linear-gradient(180deg, #864899, #CA4594 55%, #F05E6B); } }

/* Thin brand lines */
.hcard__bar::after, .scard::after, .svc__list li::after { background: var(--brand-grad); }
.marquee__track li::after { background: var(--brand-grad); }
.footer { position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-grad); }
