/* Hallmark · built: Cherry Blue espectacular · genre: editorial · theme: brand (logo blush + Blue night) · posture: committed · hero: espejo · job: book */
/* Cherry Blue · Belleza & Spa · propuesta CaveDev
   Tema: "cerrá los ojos" (los párpados del logo). Bodoni Moda + Hanken Grotesk. */
:root {
  color-scheme: light;
  --night: #141a2e;
  --night-2: #1c2440;
  --night-3: #27304f;
  --blush: #eab9a9;
  --blush-2: #f3d4c9;
  --blush-soft: #f8e7e0;
  --cream: #fbf5f1;
  --paper: #fffaf7;
  --ink: #1e2335;
  --muted: #574f5c;
  --on-night: #d9d3dd;
  --cherry: #8e2440;
  --cherry-2: #741a33;
  --line: #e2d3cf;
  --line-night: rgba(234, 185, 169, .22);
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --header-h: 4.5rem;
  --wa: #127a3f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.02em; text-wrap: balance; font-optical-sizing: auto; }
h2 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 em, h1 em { font-style: italic; color: var(--cherry); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: min(80rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
section[id] { scroll-margin-top: var(--header-h); }
.skip { position: fixed; z-index: 400; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cherry); }
.eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: currentColor; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.4rem; border: 1px solid transparent; border-radius: 999px; font-size: .9688rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out); }
.btn:active { transform: scale(.96); }
.btn-lg { min-height: 3.5rem; padding-inline: 1.9rem; font-size: 1rem; }
.btn-blush { background: var(--blush); color: var(--night); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-cherry { background: var(--cherry); color: var(--paper); }
@media (hover: hover) {
  .btn-blush:hover { background: var(--blush-2); }
  .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .hero .btn-ghost:hover, .ritual .btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
  .btn-cherry:hover { background: var(--cherry-2); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Intro: párpados ---------- */
.intro { display: none; }
.intro-on .intro, .intro.is-open { display: block; position: fixed; inset: 0; z-index: 300; cursor: pointer; }
.intro-on { overflow: hidden; }
.lid { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--blush); transition: transform 1.05s var(--ease-io); will-change: transform; }
.lid-top { top: 0; }
.lid-bottom { bottom: 0; }
.lid-edge { position: absolute; left: 0; width: 100%; height: 22vh; overflow: visible; }
.lid-top .lid-edge { top: 100%; margin-top: -1px; }
.lid-bottom .lid-edge { bottom: 100%; margin-bottom: -1px; }
.lid-edge path { fill: var(--blush); }
.lashes line { stroke: #4b4646; stroke-width: 2.6; stroke-linecap: round; }
.intro-center { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 1.5rem; text-align: center; transition: opacity .35s ease; }
.intro-center::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, rgba(255, 245, 240, .55), transparent 70%); }
.intro-center img { width: clamp(8rem, 18vw, 12rem); border-radius: 50%; }
.intro-line { position: relative; height: 2.4em; white-space: nowrap; min-width: 18ch; font: italic 400 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 var(--serif); color: #3f3a3c; }
.intro-line span { position: absolute; inset: 0; transition: opacity .45s ease, filter .45s ease; }
.intro-line .l2 { opacity: 0; filter: blur(6px); }
.intro.is-ready .l1 { opacity: 0; filter: blur(6px); }
.intro.is-ready .l2 { opacity: 1; filter: none; }
.intro.is-open .lid-top { transform: translateY(calc(-100% - 23vh)); }
.intro.is-open .lid-bottom { transform: translateY(calc(100% + 23vh)); }
.intro.is-open .intro-center { opacity: 0; }
.intro.is-open { pointer-events: none; }
.intro-skip { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; min-height: 2.75rem; padding: .5rem 1.1rem; border: 1px solid rgba(30, 35, 53, .35); border-radius: 999px; background: transparent; color: var(--ink); font-size: .875rem; cursor: pointer; }
.intro.is-open .intro-skip { opacity: 0; }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--paper); transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header.is-dim { background: rgba(20, 26, 46, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-solid { background: rgba(251, 245, 241, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; white-space: nowrap; font: 500 1.35rem/1 var(--serif); }
.brand img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.brand small { display: block; margin-top: .3rem; font: 500 .8125rem/1 var(--sans); opacity: .8; }
.nav { display: flex; gap: 2rem; font-size: .9375rem; font-weight: 500; }
.nav a { position: relative; white-space: nowrap; display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease-out); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav-cta { min-height: 2.75rem; padding: .55rem 1.2rem; }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; cursor: pointer; place-content: center; gap: 8px; }
.menu-btn i { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s var(--ease-out); }
.menu-btn[aria-expanded='true'] i:first-of-type { transform: translateY(4.75px) rotate(45deg); }
.menu-btn[aria-expanded='true'] i:last-of-type { transform: translateY(-4.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--paper); padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(38rem 38rem at var(--gx, 70%) var(--gy, 40%), rgba(234, 185, 169, .2), transparent 62%), radial-gradient(60rem 30rem at 10% 110%, rgba(142, 36, 64, .35), transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.hero-kicker { font-size: .875rem; color: var(--on-night); }
.live { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.25rem; padding: .35rem .9rem .35rem .75rem; border: 1px solid var(--line-night); border-radius: 999px; }
.live::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blush); }
.live.is-open::before { background: #7fd1a2; box-shadow: 0 0 0 0 rgba(127, 209, 162, .6); animation: pulse 2.2s infinite; }
.hero-title { display: grid; font-size: clamp(3.4rem, 15vw, 9rem); line-height: .92; letter-spacing: -.035em; }
.hero-title span { display: block; }
.ht-b { font-size: .52em; line-height: 1.15; padding-left: .1em; }
.ht-b em { color: var(--blush); }
.mirror { position: relative; width: min(78%, 22rem); justify-self: center; aspect-ratio: 3 / 4; margin-block: 1rem .5rem; border-radius: 50%; }
.mirror::after { content: ''; position: absolute; inset: -.85rem; border: 1px solid var(--line-night); border-radius: 50%; pointer-events: none; }
.mirror-img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; border-radius: 50%; }
.lens { position: absolute; z-index: 2; left: 0; top: 0; width: 9.5rem; height: 9.5rem; overflow: hidden; border-radius: 50%; border: 2px solid var(--blush-2); box-shadow: 0 18px 50px rgba(8, 10, 20, .45), inset 0 0 0 6px rgba(255, 250, 247, .18); opacity: 0; transform: translate3d(var(--lx, 0), var(--ly, 0), 0) scale(.9); transition: opacity .25s ease, scale .25s var(--ease-out); pointer-events: none; }
.lens img { position: absolute; left: 0; top: 0; max-width: none; object-fit: cover; object-position: 66% 40%; }
.mirror.is-lens .lens { opacity: 1; transform: translate3d(var(--lx, 0), var(--ly, 0), 0) scale(1); }
.mirror.is-lens { cursor: none; }
.hero-lead { max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-night); }
.hero .actions { margin-top: 1.4rem; }
.seal-badge { position: absolute; z-index: 3; right: 2%; top: clamp(17rem, 90vw, 25rem); width: clamp(6.5rem, 22vw, 8.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--blush); color: var(--night); text-decoration: none; transition: transform .16s var(--ease-out); }
.seal-badge:active { transform: scale(.96); }
.seal-badge svg { width: 100%; height: 100%; }
.seal-badge text { font: 600 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.seal-rot { transform-origin: 100px 100px; transform: rotate(var(--rot, 0deg)); }
.seal-arrow { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); transform-origin: 100px 100px; }
@media (hover: hover) { .seal-badge:hover .seal-arrow { transform: rotate(45deg); } }
.photo-note { position: absolute; right: var(--gutter); bottom: .9rem; font-size: .75rem; color: var(--on-night); opacity: .75; }

/* entrada del hero */
.js .reveal-hero { opacity: 0; transform: translateY(1.5rem); }
.js .reveal-mirror { clip-path: ellipse(50% 0% at 50% 50%); }
.is-loaded .reveal-hero { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.is-loaded .reveal-mirror { clip-path: ellipse(50% 50% at 50% 50%); transition: clip-path 1.3s var(--ease-io) .1s; }
.is-loaded .reveal-mirror.done { clip-path: none; }

/* ---------- Cinta ---------- */
.ribbon { overflow: hidden; background: var(--blush); color: var(--night); border-block: 1px solid rgba(20, 26, 46, .12); }
.ribbon-track { display: flex; align-items: center; gap: 2.25rem; width: max-content; padding-block: 1.1rem; font: 400 clamp(1.6rem, 3.4vw, 2.75rem)/1 var(--serif); white-space: nowrap; transform: translate3d(var(--rx, 0), 0, 0); }
.ribbon-track b { font: 400 1rem var(--sans); color: var(--cherry); }
.ribbon-track em { color: var(--cherry); }

/* ---------- Tratamientos ---------- */
.treat { background: var(--cream); padding-block: var(--space); }
.treat-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.treat-head h2, .ritual-head h2, .visit-copy h2, .booking h2 { max-width: 12ch; }
.treat-mirror, .treat-dots { display: none; }
.treat-list { display: grid; gap: clamp(3rem, 8vw, 4.5rem); }
.treat-item { display: grid; gap: 1.5rem; }
.treat-photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 1.25rem 1.25rem; background: var(--blush-soft); }
.treat-photo img { width: 100%; height: 100%; object-fit: cover; }
.treat-num { font: italic 400 1.1rem var(--serif); color: var(--cherry); }
.treat-num i { color: var(--muted); }
.treat-cat { margin-top: .9rem; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.treat-body h3 { margin-top: .35rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.treat-body > p:not(.treat-cat) { max-width: 34ch; margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; margin-top: 1.1rem; color: var(--cherry); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover::after { transform: translateX(4px); } }

/* ---------- Tu visita ---------- */
.ritual { position: relative; background: var(--night); color: var(--paper); padding-block: var(--space); overflow: clip; }
.ritual::before { content: ''; position: absolute; inset: auto -10% -40% auto; width: 40rem; height: 40rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 185, 169, .14), transparent); pointer-events: none; }
.ritual .eyebrow { color: var(--blush); }
.ritual h2 em { color: var(--blush); }
.ritual-grid { display: grid; gap: 3rem; }
.ritual-lead { max-width: 30ch; margin-top: 1.25rem; color: var(--on-night); font-size: 1.125rem; }
.ritual-steps { position: relative; padding-left: 3.75rem; }
.brush { position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 40px; height: calc(100% - .8rem); overflow: visible; }
.brush path { fill: none; stroke-linecap: round; }
.brush-bg { stroke: var(--night-3); stroke-width: 3; }
.brush-ink { stroke: var(--blush); stroke-width: 6; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.step { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.step:last-child { padding-bottom: 0; }
.step-dot { position: absolute; left: calc(-3.75rem + 20px - .5rem); top: .55rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--night); border: 2px solid var(--night-3); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.step-n { font: italic 400 1rem var(--serif); color: var(--blush); }
.step h3 { margin-top: .3rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); transition: color .35s; }
.step p { max-width: 34ch; margin-top: .6rem; color: var(--on-night); }
.js .step h3 { color: #a9a5b9; }
.js .step p, .js .step .step-n { opacity: .8; transition: opacity .35s; }
.step.is-lit h3 { color: var(--paper); }
.step.is-lit p, .step.is-lit .step-n { opacity: 1; }
.step.is-lit .step-dot { background: var(--blush); border-color: var(--blush); box-shadow: 0 0 0 6px rgba(234, 185, 169, .18); }

/* ---------- Ubicación ---------- */
.visit { padding-block: var(--space); background: var(--cream); }
.visit-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.arch { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 1.25rem 1.25rem; background: var(--blush-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.visit-address { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted); }
.week { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.week li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.week li.is-today { color: var(--ink); font-weight: 600; }
.week li.is-today span:first-child::after { content: ' · hoy'; color: var(--cherry); font-weight: 500; }

/* ---------- Cita ---------- */
.booking { padding-block: var(--space); background: var(--blush-soft); }
.booking-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.booking-lead { max-width: 38ch; margin-top: 1.1rem; color: var(--muted); font-size: 1.0625rem; }
form { display: grid; gap: 1.4rem; margin-top: 2.25rem; }
.field { display: grid; gap: .5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 1.4rem; }
label, legend { padding: 0; font-size: .9375rem; font-weight: 600; }
input[type='text'], input[type='date'] { width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid #b9a7a6; border-radius: .9rem; background: var(--paper); color: var(--ink); transition: border-color .2s; }
input[type='text']:focus-visible, input[type='date']:focus-visible { outline: none; border-color: var(--cherry); box-shadow: 0 0 0 3px rgba(142, 36, 64, .18); }
input[aria-invalid='true'] { border-color: var(--cherry); }
::placeholder { color: #7d727d; opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; font-weight: 500; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 2.875rem; padding: .55rem 1.15rem; border: 1px solid #b9a7a6; border-radius: 999px; background: var(--paper); transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--ease-out); }
.chip input:checked + span { background: var(--night); border-color: var(--night); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 3px; }
.chip:active span { transform: scale(.96); }
@media (hover: hover) { .chip:hover span { border-color: var(--night); } }
button:disabled { cursor: not-allowed; opacity: .55; }
.err { min-height: 0; color: var(--cherry); font-size: .875rem; font-weight: 500; }
.err:empty { display: none; }
.form-note { color: var(--muted); font-size: .875rem; }
form .btn { justify-self: start; }

.card-wrap { position: relative; }
.appt-card { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; background: var(--paper) radial-gradient(circle at 100% 0, rgba(234, 185, 169, .35), transparent 45%); box-shadow: 0 1px 0 rgba(30, 35, 53, .04), 0 30px 60px -30px rgba(30, 35, 53, .35); outline: 1px solid var(--line); outline-offset: -.6rem; }
.appt-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.appt-head img { width: 4rem; height: 4rem; border-radius: 50%; }
.appt-brand { font: italic 500 1.6rem/1 var(--serif); }
.appt-sub { margin-top: .35rem; font-size: .875rem; color: var(--muted); }
.appt-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.appt-lines > div { grid-column: 1 / -1; padding: 1rem 0 .7rem; border-bottom: 1px dashed #d8c3bd; }
.appt-lines > .half { grid-column: auto; }
.appt-lines dt { font-size: .875rem; font-weight: 500; color: var(--muted); }
.appt-lines dd { margin-top: .3rem; min-height: 1.3em; font: italic 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--serif); color: #7a6c72; overflow-wrap: anywhere; transition: color .25s; }
.appt-lines dd.is-filled { color: var(--ink); }
.appt-lines dd.flash { animation: ink .45s var(--ease-out); }
.appt-foot { margin-top: 1.4rem; font-size: .875rem; color: var(--muted); }
.wax { position: absolute; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 1.75rem); display: grid; place-items: center; width: 5.25rem; height: 5.25rem; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; background: radial-gradient(circle at 35% 30%, #b8405f, var(--cherry) 55%, #5e1328); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12), inset 0 0 0 8px rgba(255, 255, 255, .08), 0 8px 18px rgba(94, 19, 40, .35); color: #f6d9df; font: italic 500 1.5rem/1 var(--serif); opacity: 0; transform: scale(1.35); pointer-events: none; }
.appt-card.is-sealed .wax { opacity: 1; transform: scale(1); animation: stamp .5s var(--ease-out); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night); padding: clamp(3.5rem, 8vw, 6rem) 0 5.5rem; overflow: clip; }
.footer-word { font: 400 clamp(4rem, 17vw, 15rem)/.85 var(--serif); letter-spacing: -.04em; color: var(--paper); }
.footer-word em { color: var(--blush); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-night); font-size: .875rem; }
.credits summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; }
.credits p { display: flex; flex-wrap: wrap; gap: 0 .9rem; max-width: 28rem; }
.credits a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem; height: 3.5rem; padding: 0 1rem; border-radius: 999px; background: var(--wa); color: var(--paper); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(20, 26, 46, .3); transition: transform .16s var(--ease-out); }
.wa-float svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.wa-float:active { transform: scale(.96); }

/* ---------- Reveal genérico ---------- */
.js .rv { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 209, 162, .55); } 70%, 100% { box-shadow: 0 0 0 .55rem rgba(127, 209, 162, 0); } }
@keyframes stamp { 0% { transform: scale(1.35); opacity: 0; } 60% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ink { from { opacity: .3; filter: blur(3px); } to { opacity: 1; filter: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 47.99rem) {
  .js .nav { position: absolute; top: calc(100% - .25rem); right: var(--gutter); flex-direction: column; gap: 0; min-width: 13rem; padding: .5rem; border-radius: 1rem; background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgba(20, 26, 46, .25); transform-origin: top right; opacity: 0; transform: scale(.96) translateY(-4px); visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility 0s .15s; }
  .js .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s; }
  .nav a { padding: 0 .9rem; min-height: 3rem; }
  .nav a::after { display: none; }
  .js .menu-btn { display: grid; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: .75rem; }
  html:not(.js) .nav { order: 3; width: 100%; gap: 1.25rem; }
  .nav-cta { padding-inline: 1rem; }
  .brand small { display: none; }
  .header-inner { gap: .6rem; }
  .brand { flex-shrink: 0; font-size: 1.1rem; gap: .55rem; }
  .brand img { width: 2.4rem; height: 2.4rem; }
  .nav-cta { font-size: .875rem; }
  .booking-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .booking-form-wrap { display: contents; }
  .booking-form-wrap > .eyebrow, .booking-form-wrap > h2, .booking-form-wrap > .booking-lead { order: -2; }
  .card-wrap { order: -1; margin-top: 2rem; }
  #cita { margin-top: 2.25rem; }
  .wa-float span { display: none; }
  .wa-float { width: 3.5rem; padding: 0; justify-content: center; }
}

@media (min-width: 40rem) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .treat-item { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; }
}

@media (min-width: 60rem) {
  :root { --header-h: 5rem; }
  .hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(17rem, 25vw) minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 0; align-items: end; }
  .hero-title { display: contents; font-size: clamp(4.5rem, 8.6vw, 9.25rem); }
  .hero-kicker { grid-column: 1; grid-row: 1; align-self: start; }
  .mirror { grid-column: 2; grid-row: 1 / 5; width: 100%; margin: 0; align-self: center; }
  .ht-a { grid-column: 1; grid-row: 2; justify-self: end; text-align: right; font-size: clamp(4.5rem, 8.6vw, 9.25rem); line-height: .9; margin-top: 2rem; }
  .ht-b { grid-column: 3; grid-row: 2; align-self: end; font-size: clamp(2.4rem, 4.4vw, 4.75rem); padding: 0 0 .4em; }
  .ht-c { grid-column: 3; grid-row: 3; align-self: start; font-size: clamp(4.5rem, 8.6vw, 9.25rem); line-height: .9; }
  .hero-side { grid-column: 1; grid-row: 3 / 5; justify-self: end; align-self: start; padding-top: 2.25rem; text-align: right; }
  .hero-side .actions { justify-content: flex-end; }
  .hero-lead { margin-left: auto; }
  .seal-badge { grid-column: 3; grid-row: 4; position: relative; right: auto; top: auto; justify-self: start; margin: 1.5rem 0 0 -4.5rem; width: 8.5rem; }

  /* Tratamientos: el espejo se abre con el scroll */
  .js .treat { height: 340vh; padding: 0; }
  .js .treat-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
  .js .treat-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: clamp(3rem, 6vw, 6rem); width: min(80rem, calc(100% - 2 * var(--gutter))); padding-top: var(--header-h); height: 100%; padding-bottom: 3rem; }
  .js .treat-head { grid-column: 1; grid-row: 1; margin: 2.5rem 0 0; }
  .js .treat-mirror { display: block; position: relative; grid-column: 2; grid-row: 1 / 4; align-self: center; height: calc(100vh - var(--header-h) - 5rem); max-height: 52rem; aspect-ratio: 3 / 4; margin: 0; clip-path: ellipse(var(--ex, 16%) var(--ey, 10%) at 50% 50%); background: var(--blush-soft); }
  .treat-mirror img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.4s var(--ease-out); }
  .treat-mirror img.is-on { opacity: 1; transform: scale(1); }
  .treat-ring { position: absolute; inset: 1.1rem; border: 1px solid rgba(255, 250, 247, .7); border-radius: 50%; pointer-events: none; }
  .js .treat-list { grid-column: 1; grid-row: 2; position: relative; align-self: center; display: block; min-height: 22rem; }
  .js .treat-item { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transform: translateY(1.25rem); transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s .45s; }
  .js .treat-item.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .1s, transform .7s var(--ease-out) .1s, visibility 0s; }
  .js .treat-photo { display: none; }
  .js .treat-body h3 { font-size: clamp(3rem, 5vw, 4.75rem); }
  .js .treat-dots { grid-column: 1; grid-row: 3; display: flex; gap: .6rem; align-items: center; }
  .treat-dots i { width: 3.5rem; height: 2px; background: var(--line); transform: scaleX(.57); transform-origin: left; transition: background-color .3s, transform .3s var(--ease-out); }
  .treat-dots i.is-on { transform: none; background: var(--cherry); }

  .ritual-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .ritual-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .visit-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .card-wrap { position: sticky; top: calc(var(--header-h) + 2rem); margin-top: 3.5rem; }
}

/* ---------- Movimiento reducido: fundidos en vez de desplazamientos ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lid { transition: none; }
  .intro.is-open { opacity: 0; transition: opacity .7s ease; }
  .intro.is-open .lid-top, .intro.is-open .lid-bottom { transform: none; }
  .js .reveal-hero, .js .rv { transform: none; }
  .js .reveal-mirror { clip-path: none; opacity: 0; }
  .is-loaded .reveal-mirror { opacity: 1; transition: opacity .9s ease .1s; }
  .treat-mirror img, .treat-mirror img.is-on { transform: none; }
  .js .treat-item, .js .treat-item.is-on { transform: none; }
  .live.is-open::before { animation: none; }
  .appt-card.is-sealed .wax { animation: fadein .5s ease; transform: none; }
  .wax { transform: none; }
  .appt-lines dd.flash { animation: none; }
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
