/* A-Sthetic Clinic · estilos de todo el sitio
   Sistema: cielo nocturno + arcos (por los espejos de la clínica) + dorado de su paleta.
   Orden: base y portada primero; las páginas internas van al final, en "PÁGINAS INTERNAS".
   Tipografías: Instrument Sans (texto) e Instrument Serif itálica (acentos). Etiquetas en monoespaciada del sistema. */

:root {
  --bg: #f6f3ee;
  --bg-2: #ece7de;
  --line: rgba(38, 30, 18, .12);
  --line-2: rgba(38, 30, 18, .24);
  --ink: #1c1a16;
  --ink-2: #4f4b44;
  --ink-3: #857f76;
  --gold: #a58456;
  --gold-2: #7f6238;
  --gold-ink: #fffdf9;
  --card: #fffdfa;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- cielo ---------- */
body::before {            /* resplandores: siempre */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 45% at 78% 12%, rgba(201, 176, 138, .20), transparent 70%),
    radial-gradient(55% 40% at 12% 92%, rgba(201, 176, 138, .14), transparent 70%);
}
html:not(.js) body::after {   /* estrellas de respaldo cuando no hay JavaScript */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1px 1px at 8% 14%, #fff, transparent 60%), radial-gradient(1px 1px at 21% 62%, #fff, transparent 60%),
    radial-gradient(1px 1px at 33% 28%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 47% 76%, #fff, transparent 60%),
    radial-gradient(1px 1px at 58% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 66% 54%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 79% 33%, #fff, transparent 60%), radial-gradient(1px 1px at 88% 81%, #fff, transparent 60%),
    radial-gradient(1px 1px at 94% 9%, #fff, transparent 60%), radial-gradient(1px 1px at 14% 88%, #fff, transparent 60%);
  background-size: 620px 520px;
}
#sky { position: fixed; left: 0; top: 0; width: 100%; height: 112vh; z-index: 0; pointer-events: none; will-change: transform; }
.top, main, .foot { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ---------- utilidades ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.kicker, .eyebrow, .proof, .doc__role, .rev__meta, .closing__note, .foot__legal {
  font: 500 11.5px/1.5 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3);
}
.kicker { margin: 0; display: flex; align-items: center; gap: 12px; }
.kicker span { color: var(--gold); }
.kicker span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); margin-left: 12px; vertical-align: middle; }

h1, h2, h3 { font-family: var(--sans); font-weight: 400; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); line-height: 1.04; letter-spacing: -.032em; margin: 18px 0 20px; max-width: 19ch; }
h2 em, h1 em { font-size: 1.07em; letter-spacing: -.02em; }
.lead { color: var(--ink-2); max-width: 58ch; margin: 0 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.textlink { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; font-size: .95rem; transition: border-color .2s; }
.textlink:hover { border-color: var(--gold); }
.aside { margin: 34px 0 0; max-width: 66ch; font-size: .93rem; line-height: 1.6; color: var(--ink-3); padding-left: 16px; border-left: 1px solid var(--line-2); }

/* ---------- barra superior ---------- */
.top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--pad); border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, padding .35s;
}
.top.is-stuck { background: rgba(250, 248, 244, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); padding-top: 11px; padding-bottom: 11px; }
.top__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.top__logo img { display: block; height: 40px; width: 40px; }
.wordmark { display: grid; gap: 5px; justify-items: center; line-height: 1; }
.wordmark span:first-child { font: 400 1.5rem/1 var(--serif); letter-spacing: .012em; }
.wordmark span:last-child { font: 500 8px/1 var(--mono); letter-spacing: .46em; padding-left: .46em; text-transform: uppercase; color: var(--ink-2); }
.top__nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.top__nav a, .boxbtn, .menu nav a {
  font: 500 11.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  transition: color .2s, border-color .2s, background .2s;
}
.top__nav a:hover { color: var(--ink); }
.top__actions { display: flex; align-items: center; gap: 10px; }
.boxbtn { border: 1px solid var(--line-2); padding: 12px 15px; color: var(--ink); border-radius: 3px; white-space: nowrap; }
.boxbtn:hover { border-color: var(--gold); color: var(--gold-2); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 42px; height: 40px; display: grid; place-content: center; gap: 6px; cursor: pointer; border: 1px solid var(--line-2); border-radius: 3px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; display: grid; box-shadow: 0 24px 60px rgba(40, 30, 15, .14); }
.menu nav a { padding: 15px 14px; border-bottom: 1px solid var(--line); }
.menu nav a:last-child { border-bottom: 0; }

/* ---------- portada ---------- */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: 128px var(--pad) 96px;
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); gap: clamp(28px, 6vw, 96px); align-items: center;
}
.eyebrow { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eyebrow .star, .proof .stars { color: var(--gold); }
.eyebrow .dot { color: var(--line-2); }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.7rem); line-height: 1.02; letter-spacing: -.036em; margin: 24px 0 24px; max-width: 16ch; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-2); max-width: 52ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; letter-spacing: .12em; }
.proof .stars { letter-spacing: .28em; font-size: 12px; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 410px); }
.hero__ring { position: absolute; width: 136%; left: -18%; top: -13%; z-index: 0; overflow: visible; }
.hero__ring circle { fill: none; stroke: var(--gold); stroke-opacity: .5; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; transform: rotate(-120deg); transform-origin: 50% 50%; }
.decal { position: absolute; z-index: 2; color: var(--gold-2); line-height: 1; pointer-events: none; }
.decal--a { top: 7%; right: -5%; font-size: 26px; }
.decal--b { top: 17%; right: 5%; font-size: 12px; opacity: .7; }
.decal--c { bottom: 24%; left: -8%; font-size: 16px; opacity: .8; }

.scene { position: relative; margin: 0; z-index: 1; }
.arch { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px 999px 14px 14px; border: 1px solid var(--line-2); background: var(--bg-2); }
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.arch::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 6, 9, 0) 48%, rgba(5, 6, 9, .72) 100%); }
.scene .arch { aspect-ratio: 10 / 14; }
.scene figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: grid; gap: 6px; }
.scene figcaption em { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1; }
.scene figcaption span { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; text-decoration: none; }
.cue__ring { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; color: var(--ink); font-size: 14px; transition: border-color .3s, transform .4s var(--ease); }
.cue__ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--line); }
.cue:hover .cue__ring { border-color: var(--gold); transform: scale(1.08); }
.cue__label { font: 500 10.5px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- datos de un vistazo ---------- */
.facts { margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px var(--pad); border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 10px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.03em; }
.facts dd em { font-size: .62em; color: var(--ink-2); letter-spacing: 0; }

/* ---------- secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(84px, 11vw, 160px) var(--pad) 0; }
.section__head { max-width: 860px; }

/* tratamientos */
.tx { margin-top: 52px; border-top: 1px solid var(--line); }
.tx__row {
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font: inherit; text-align: left;
  width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; align-items: baseline; gap: 14px;
  padding: 24px 2px; cursor: pointer; transition: color .25s, padding .35s var(--ease);
}
.tx__num { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); transition: color .25s; }
.tx__name { font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.025em; }
.tx__price { font: 500 13px/1 var(--mono); letter-spacing: .04em; }
.tx__arrow { font-size: 15px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s var(--ease); color: var(--gold); }
.tx__row:hover, .tx__row[aria-expanded="true"] { color: var(--ink); }
.tx__row[aria-expanded="true"] { padding-left: 10px; }
.tx__row[aria-expanded="true"] .tx__num { color: var(--gold); }
.tx__row[aria-expanded="true"] .tx__arrow, .tx__row:hover .tx__arrow { opacity: 1; transform: none; }

.ficha { margin: 16px 0 28px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ficha h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 12px; }
.ficha > p { color: var(--ink-2); font-size: .98rem; margin: 0 0 20px; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 400 12px/1.4 var(--mono); color: var(--ink-3); }
.spec dd { margin: 0; font: 600 12.5px/1.4 var(--mono); color: var(--ink); text-align: right; }
.ficha .btn { width: 100%; margin-top: 22px; }
.ficha small { display: block; margin-top: 14px; text-align: center; font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.js .ficha { display: none; }
.js .ficha.is-on { display: block; animation: fichaIn .5s var(--ease) both; }
@keyframes fichaIn { from { opacity: 0; transform: translateY(10px); } }

/* la clínica */
.section--wide { max-width: var(--max); }
.frame { position: relative; margin: 52px 0 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 2 / 1; background: var(--bg-2); transform-origin: 50% 60%; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; filter: saturate(.9) contrast(1.04); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 9, .42) 0%, rgba(5, 6, 9, 0) 38%), linear-gradient(180deg, rgba(5, 6, 9, 0) 52%, rgba(5, 6, 9, .78) 100%); }
.frame figcaption { position: absolute; left: clamp(20px, 3.4vw, 48px); bottom: clamp(18px, 3vw, 40px); z-index: 1; display: grid; gap: 10px; }
.frame figcaption em { font-size: clamp(2rem, 4.6vw, 4rem); line-height: .95; }
.frame figcaption span { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.frame--lead { margin: 0 0 clamp(56px, 8vw, 110px); }

.lineup { list-style: none; margin: 72px 0 0; padding: 0; display: flex; align-items: flex-end; gap: clamp(10px, 1.7vw, 24px); }
.lineup li { flex: 1 1 0; min-width: 0; position: relative; transition: transform .6s var(--ease); }
.lineup li:nth-child(even) { transform: translateY(34px); }
.lineup figure { margin: 0; }
.lineup .arch { aspect-ratio: 3 / 5; border-color: var(--line); }
.lineup figcaption { margin-top: 14px; text-align: center; font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .3s; }
.lineup li:hover { transform: translateY(-10px); }
.lineup li:nth-child(even):hover { transform: translateY(22px); }
.lineup li:hover .arch img { transform: scale(1.06); filter: saturate(1) contrast(1.02) brightness(1); }
.lineup li:hover figcaption { color: var(--gold-2); }

/* doctores */
.docs { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.doc { border-top: 1px solid var(--line); padding-top: 30px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: start; }
.doc__photo { width: 170px; aspect-ratio: 4 / 5; }
.doc__photo::after { background: linear-gradient(180deg, rgba(5, 6, 9, 0) 62%, rgba(5, 6, 9, .5) 100%); }
.doc__photo--empty { display: grid; place-content: center; justify-items: center; gap: 12px; background: rgba(38, 30, 18, .035); border-style: dashed; }
.doc__photo--empty::after { display: none; }
.doc__photo--empty span { font: italic 400 2.3rem/1 var(--serif); color: var(--gold-2); }
.doc__photo--empty small { font: 400 9px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; max-width: 11ch; }
.doc h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.05; }
.doc__role { margin: 10px 0 14px; }
.doc p:not(.doc__role) { color: var(--ink-2); margin: 0 0 20px; font-size: .98rem; }
.spec--pending dd { font-weight: 400; color: var(--ink-3); font-style: normal; }
.spec--pending dd::before { content: "○ "; color: var(--gold); }

/* cómo llegar */
.route { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.origin { margin: 30px 0 30px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.origin__q { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: -.015em; }
.origin__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; background: none; cursor: pointer; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 10px; padding: 11px 14px; font: 400 14px/1.2 var(--sans); transition: border-color .2s, color .2s, background .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip.is-on { border-color: var(--gold); color: var(--ink); background: rgba(201, 176, 138, .08); }
.origin__panel { margin-top: 18px; }
.origin__panel p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.js .origin__panel { display: none; }
.js .origin__panel.is-on { display: block; animation: fichaIn .45s var(--ease) both; }
html:not(.js) .origin__chips { display: none; }

.steps { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps__n { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--gold); padding-top: 9px; }
.steps h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; }
.steps p { margin: 6px 0 0; color: var(--ink-3); font-size: .95rem; }

/* reseñas */
.rev { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rev__score { position: sticky; top: 110px; }
.rev__big { margin: 26px 0 0; font: italic 400 clamp(6.5rem, 15vw, 12rem)/.82 var(--serif); letter-spacing: -.04em; }
.rev__stars { margin: 22px 0 14px; color: var(--gold); letter-spacing: .34em; font-size: 15px; }
.rev__meta { margin: 0 0 26px; max-width: 30ch; }
.rev__quotes blockquote { margin: 0; padding: 30px 0; border-top: 1px solid var(--line); }
.rev__quotes blockquote:last-child { border-bottom: 1px solid var(--line); }
.rev__quotes p { margin: 0 0 14px; font: 400 clamp(1.3rem, 2.3vw, 1.85rem)/1.28 var(--serif); letter-spacing: -.005em; }
.rev__quotes footer { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rev__quotes footer::before { content: "✦ "; color: var(--gold); }

/* producto */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spec--brands { margin-top: 30px; max-width: 560px; }
.spec--brands dt { font-family: var(--sans); font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.spec--brands dd { font-weight: 400; color: var(--ink-3); }
.spec--brands div { padding: 14px 0; }
.split__media { margin: 0; justify-self: end; width: min(100%, 390px); }
.split__media .arch { aspect-ratio: 3 / 4.3; }
.split__media figcaption { margin-top: 14px; text-align: center; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* preguntas */
.faq { margin-top: 44px; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: baseline; padding: 24px 2px; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; transition: color .2s; color: var(--ink-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--gold); justify-self: end; transition: transform .3s var(--ease); }
.faq details[open] summary { color: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink); }
.faq__n { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.faq details p { margin: 0; padding: 0 2px 26px 54px; color: var(--ink-2); max-width: 62ch; }

/* cierre */
.closing { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 15vw, 210px) var(--pad) clamp(100px, 13vw, 180px); display: grid; justify-items: center; text-align: center; }
.closing h2 { max-width: 16ch; margin-top: 44px; }
.closing .lead { margin: 0 auto 34px; max-width: 46ch; }
.closing__note { margin: 22px 0 0; }
.closing__star { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; text-decoration: none; color: var(--ink); font-size: 26px; transition: border-color .3s, color .3s, transform .5s var(--ease); }
.closing__star::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid var(--line); }
.closing__star::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(38, 30, 18, .035); }
.closing__star:hover { border-color: var(--gold); color: var(--gold-2); transform: scale(1.06) rotate(45deg); }

/* pie */
.foot { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 92px; border-top: 1px solid var(--line); }
.foot__main { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3.2vw, 52px); align-items: start; }
.foot__brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; text-decoration: none; color: var(--ink); }
.foot__brand img { display: block; width: 52px; height: 52px; }
.foot__brand .wordmark span:first-child { font-size: 1.6rem; }
.foot__nap { font-style: normal; color: var(--ink-2); font-size: .93rem; line-height: 1.7; }
.foot__nap strong { color: var(--ink); font-weight: 500; }
.foot__nap a { text-decoration: none; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.foot__hours { margin: 14px 0 0; color: var(--ink-3); font-size: .9rem; }
.foot__links { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot__links a { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-3); transition: color .2s; }
.foot__links a:hover { color: var(--gold-2); }
.foot__col { display: grid; gap: 11px; justify-items: start; align-content: start; }
.foot__col p { margin: 0 0 6px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.foot__col a { font-size: .92rem; line-height: 1.3; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.foot__col a:hover { color: var(--ink); }
.foot__fine { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 92ch; font-size: .85rem; line-height: 1.6; color: var(--ink-3); }
.foot__legal { margin: 14px 0 0; }

.proto { position: fixed; left: 14px; bottom: 14px; z-index: 30; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 250, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 400 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); max-width: calc(100vw - 28px); }
.proto::before { content: "● "; color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- movimiento (solo con JavaScript y sin "reducir movimiento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* La cabecera entra con un leve desplazamiento, pero siempre visible: título, texto, botones e imagen
     no dependen de que la animación corra (pestañas en segundo plano, capturas, LCP). */
  .js .seq { animation: riseSoft .9s var(--ease) both; animation-delay: calc(.06s + var(--i, 0) * .1s); }
  @keyframes riseSoft { from { transform: translateY(14px); } to { transform: none; } }
  .js .cue.seq { opacity: 0; animation-name: riseCue; animation-fill-mode: forwards; }
  @keyframes riseCue { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .js .hero__ring circle { stroke-dashoffset: 100; animation: draw 2.4s .35s cubic-bezier(.6, 0, .2, 1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .decal { animation: twinkle 4.2s ease-in-out infinite; }
  .decal--b { animation-delay: -1.4s; }
  .decal--c { animation-delay: -2.6s; }
  @keyframes twinkle { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
  .cue__ring span, .closing__star span { animation: breathe 3.4s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.86); } }

  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .frame { animation: frameIn linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    @keyframes frameIn { from { transform: scale(.9); border-radius: 44px; opacity: .55; } to { transform: scale(1); border-radius: 20px; opacity: 1; } }
    .frame img { animation: frameImg linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes frameImg { from { transform: scale(1.08); } to { transform: scale(1); } }
  }
}

/* ---------- escritorio: lista a la izquierda, ficha fija a la derecha ---------- */
@media (min-width: 960px) {
  .js .tx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); column-gap: clamp(36px, 6vw, 100px); align-items: start; border-top: 0; }
  .js .tx__item { display: contents; }
  .js .tx__row { grid-column: 1; }
  .js .tx__item:first-child .tx__row { border-top: 1px solid var(--line); }
  .js .ficha { grid-column: 2; grid-row: 1 / span 7; position: sticky; top: 96px; margin: 0; }
}

/* ---------- tableta y celular ---------- */
@media (max-width: 959px) {
  .top__nav { display: none; }
  .menu { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 112px; padding-bottom: 56px; min-height: 0; gap: 44px; }
  .hero__visual { justify-self: center; width: min(74vw, 340px); margin-top: 6px; }
  .cue { display: none; }
  h1 { max-width: 18ch; }
  .route, .rev, .split { grid-template-columns: 1fr; }
  .split__media { justify-self: center; width: min(78vw, 340px); }
  .rev__score { position: static; }
  .docs { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 4 / 3; }
  .lineup { margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 12px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); align-items: flex-start; scrollbar-width: none; }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup li, .lineup li:nth-child(even), .lineup li:hover, .lineup li:nth-child(even):hover { flex: 0 0 46vw; transform: none; scroll-snap-align: center; }
  .foot__main { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .foot__id { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top__logo img { height: 32px; }
  .boxbtn { padding: 12px 12px; letter-spacing: .12em; font-size: 10.5px; }
  .boxbtn__long { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tx__row { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .tx__arrow { display: none; }
  .ficha { padding: 22px; }
  .doc { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .doc__photo { width: 110px; }
  .doc__photo--empty span { font-size: 1.7rem; }
  .wordmark span:first-child { font-size: 1.25rem; }
  .top__logo img { height: 34px; width: 34px; }
  .lineup li, .lineup li:nth-child(even), .lineup li:hover, .lineup li:nth-child(even):hover { flex-basis: 62vw; }
  .faq summary { grid-template-columns: 30px minmax(0, 1fr) 20px; }
  .faq details p { padding-left: 44px; }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); }
  .cta-row .btn { width: 100%; }
  .proto { font-size: 9px; left: 10px; bottom: 10px; padding: 7px 10px; }
  .proto span { display: none; }
}
@media (max-height: 760px) and (min-width: 960px) { .cue { display: none; } .hero { padding-bottom: 56px; } }

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */

/* ---------- menú: desplegable de tratamientos y menú de celular ---------- */
.top__nav { align-items: center; }
.top__nav a[aria-current="page"], .menu nav a[aria-current="page"] { color: var(--gold-2); }
.navdrop { position: relative; }
.navdrop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font: 500 11.5px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.navdrop summary::-webkit-details-marker { display: none; }
.navdrop summary::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.navdrop summary:hover, .navdrop[open] summary { color: var(--ink); }
.navdrop[open] summary::after { transform: translateY(1px) rotate(225deg); }
.navdrop__panel { position: absolute; left: -26px; top: calc(100% + 14px); width: min(580px, 84vw); padding: 24px 26px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(40, 30, 15, .14); }
.navdrop__panel p { margin: 0 0 8px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.navdrop__panel div { display: grid; align-content: start; }
.navdrop__panel div a { padding: 7px 0; font: 400 .95rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.navdrop__panel div a:hover { color: var(--ink); }
.top__nav a.navdrop__all { grid-column: 1 / -1; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.top__nav a.navdrop__all:hover { color: var(--gold-2); }

.menu nav { position: fixed; left: 12px; right: 12px; top: 66px; min-width: 0; max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; display: block; padding: 6px 16px 16px; }
.menu__main, .menu__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.menu nav a, .menu nav a:last-child { padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu__group { margin: 0; padding: 20px 0 4px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.menu nav .menu__grid a { padding: 12px 0; font: 400 .95rem/1.25 var(--sans); letter-spacing: 0; text-transform: none; }
@media (max-width: 1119px) { .top__nav { display: none; } .menu { display: block; } }

/* ---------- añadidos a la portada ---------- */
.proof a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.proof a:hover { color: var(--ink-2); border-color: var(--gold); }
.ficha .ficha__wa { display: block; margin-top: 14px; text-align: center; font-size: .9rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.ficha .ficha__wa:hover { color: var(--ink); text-decoration-color: var(--gold); }
.txall { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.txall__label { margin: 0 0 14px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.txall ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.txall li a { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .92rem; line-height: 1.2; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s; }
.txall li a:hover { border-color: var(--gold); color: var(--ink); }
.txall__more, .rev__links { margin: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.aside--link { border-left: 0; padding-left: 0; }
.doc h3 a { text-decoration: none; transition: color .2s; }
.doc h3 a:hover { color: var(--gold-2); }
.doc .doc__more { margin: 18px 0 0; }
.split__more { margin: 26px 0 0; }
.route .cta-row { margin-top: 4px; }

/* ---------- migas y cabecera de página ---------- */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 112px var(--pad) 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-3); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

.phero { max-width: var(--max); margin: 0 auto; padding: clamp(26px, 3.6vw, 52px) var(--pad) clamp(52px, 6.5vw, 92px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.phero--media { grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); }
.phero h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); max-width: 19ch; margin: 22px 0; }
.phero .lede { max-width: 62ch; margin-bottom: 30px; }
.lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.phero__meta { margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font: 500 10.5px/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.phero__meta > span::before { content: "✦ "; color: var(--gold); }
.phero__visual { justify-self: end; width: min(100%, 350px); }
.figarch { margin: 0; }
.figarch .arch { aspect-ratio: 10 / 13; }
.figarch figcaption { margin-top: 14px; text-align: center; font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.figarch__empty { display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(38, 30, 18, .035); border-style: dashed; }
.figarch__empty::after { display: none; }
.figarch__empty span { font: italic 400 4rem/1 var(--serif); color: var(--gold-2); }
.figarch__empty small { font: 400 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- artículo: índice + texto ---------- */
.article { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.article--toc { grid-template-columns: 232px minmax(0, 1fr); }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: thin; }
.toc summary { list-style: none; pointer-events: none; font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 16px 0 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 1px solid transparent; font-size: .9rem; line-height: 1.35; color: var(--ink-3); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { color: var(--ink); border-left-color: var(--gold); }

.prose { min-width: 0; max-width: 790px; }
.prose--wide { max-width: none; }
.prose > section { display: flow-root; padding-top: clamp(46px, 5.4vw, 72px); }
.prose > section:first-child { padding-top: 0; }
.prose h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; max-width: 25ch; }
.prose h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; letter-spacing: -.02em; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 16px; max-width: 68ch; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a:not(.btn):not(.card):not(.textlink) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.prose a:not(.btn):not(.card):not(.textlink):hover { color: var(--gold-2); }
.prose ul:not(.cards), .prose ol:not(.steps) { list-style: none; margin: 0 0 18px; padding: 0; max-width: 68ch; }
.prose ul:not(.cards) > li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.prose ul:not(.cards) > li::before { content: "✦"; position: absolute; left: 2px; top: .42em; font-size: 9px; line-height: 1; color: var(--gold); }
.prose ol:not(.steps) { counter-reset: n; border-top: 1px solid var(--line); }
.prose ol:not(.steps) > li { counter-increment: n; position: relative; padding: 15px 0 15px 54px; border-bottom: 1px solid var(--line); }
.prose ol:not(.steps) > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 2px; top: 21px; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--gold); }
.prose .lead { max-width: 68ch; }
.prose .rev__quotes { margin: 26px 0; }
.prose .rev__quotes p { max-width: none; color: var(--ink); font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
.prose .faq { margin-top: 26px; max-width: none; }
.prose .faq summary { font-size: clamp(1.05rem, 1.5vw, 1.25rem); padding: 20px 2px; }
.prose .faq__group { margin: 0; padding: 34px 2px 14px; border-bottom: 1px solid var(--line); font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.cta-inline { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

.frame--inline { margin: 30px 0 26px; aspect-ratio: 16 / 9; }
.frame--inline figcaption em { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.figarch--side { float: right; width: 230px; margin: 6px 0 22px 36px; }

/* tablas */
.ptable__wrap { margin: 22px 0 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ptable th, .ptable td { padding: 15px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.ptable thead th { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ptable thead th:last-child { text-align: right; }
.ptable tbody th { font-weight: 500; color: var(--ink); }
.ptable tbody td { color: var(--ink-2); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td.ptable__p { font: 400 1.45rem/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; text-align: right; }
.ptable__unit { display: block; margin-top: 5px; font: 400 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ptable tbody tr { transition: background .25s; }
.ptable tbody tr:hover { background: rgba(165, 132, 86, .06); }
.prose .ptable__note { margin: 0 0 18px; font: 400 10.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ptable--plain thead th:last-child { text-align: left; }
.ptable--plain { min-width: 520px; }

/* notas, paneles, revisión médica */
.note, .panel { display: flow-root; }          /* se acomodan junto a una foto flotada en vez de pasar por debajo */
.note { margin: 24px 0; padding: 18px 20px; max-width: 68ch; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(38, 30, 18, .035); font-size: .95rem; }
.prose .note p { margin: 0 0 8px; }
.prose .note p:last-child { margin: 0; }
.panel { margin: 24px 0; padding: 26px; max-width: 68ch; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.panel > h3:first-child { margin-top: 0; }
.panel .spec dd { max-width: 62%; }
.panel > :last-child { margin-bottom: 0; }
.reviewbox { margin-top: clamp(46px, 5.4vw, 72px); padding: 22px 24px; max-width: 68ch; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.reviewbox__mark { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); font-size: 13px; }
.prose .reviewbox p { margin: 0 0 6px; font-size: .92rem; }
.prose .reviewbox p:last-child { margin: 0; color: var(--ink-3); }
.tbc { display: inline-block; padding: 1px 7px; border: 1px dashed rgba(201, 176, 138, .6); border-radius: 5px; font: 500 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; vertical-align: .1em; }
.map { margin: 26px 0; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.04); }

/* tarjetas */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.prose .cards { margin: 26px 0 8px; }
.card { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: var(--card); transition: border-color .25s, transform .35s var(--ease); }
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card__name { font-size: 1.3rem; line-height: 1.12; letter-spacing: -.025em; color: var(--ink); }
.card__text { font-size: .92rem; line-height: 1.5; color: var(--ink-3); }
.card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.card__price b { font-weight: 600; color: var(--ink); }
.card__go { color: var(--gold); transition: transform .3s var(--ease); }
.card:hover .card__go { transform: translateX(4px); }
.related { max-width: var(--max); margin: 0 auto; padding: clamp(76px, 9vw, 132px) var(--pad) 0; }
.related h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); max-width: none; margin: 16px 0 28px; }

@media (max-width: 959px) {
  .phero--media { grid-template-columns: 1fr; }
  .phero__visual { justify-self: center; width: min(68vw, 300px); }
  .article--toc { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; max-height: none; overflow: visible; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; }
  .toc summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .toc summary::after { content: "+"; font: 400 18px/1 var(--mono); color: var(--gold); transition: transform .3s var(--ease); }
  .toc[open] summary::after { transform: rotate(45deg); }
  .toc ol { margin: 0 0 16px; }
}
@media (max-width: 620px) {
  .crumbs { padding-top: 92px; }
  .phero h1 { font-size: clamp(2.05rem, 9.4vw, 2.6rem); }
  .figarch--side { float: none; width: min(64vw, 260px); margin: 6px auto 24px; }
  .panel { padding: 20px; }
  .panel .spec dd { max-width: 58%; }
  .ptable:not(.ptable--plain) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable:not(.ptable--plain) tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable:not(.ptable--plain) tbody tr:last-child { border-bottom: 0; }
  .ptable:not(.ptable--plain) th, .ptable:not(.ptable--plain) td { padding: 0; border: 0; }
  .ptable:not(.ptable--plain) td:nth-child(2) { grid-column: 1; grid-row: 2; padding-top: 4px; font-size: .88rem; }
  .ptable:not(.ptable--plain) td:nth-child(2):empty { display: none; }
  .ptable:not(.ptable--plain) td.ptable__p { grid-column: 2; grid-row: 1 / span 2; }
  .ptable--plain th, .ptable--plain td { padding: 13px 16px; }
  .reviewbox { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .foot__main { column-gap: 20px; }
}

/* ==========================================================================
   TEMA CLARO · clínico y limpio (sustituye al cielo nocturno)
   ========================================================================== */
#sky, html:not(.js) body::after { display: none; }
.btn--gold { background: var(--ink); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-2); }
.arch { background: var(--bg-2); }
.arch::after, .doc__photo::after { display: none; }
.scene .arch::after { display: block; }
.scene figcaption, .frame figcaption { color: #fff; }
.scene figcaption span, .frame figcaption span { color: rgba(255, 255, 255, .82); }
.frame::after { background: linear-gradient(180deg, rgba(5, 6, 9, 0) 55%, rgba(5, 6, 9, .62) 100%); }
.card, .ptable__wrap, .panel, .ficha, .origin { box-shadow: 0 1px 2px rgba(40, 30, 15, .04), 0 12px 32px rgba(40, 30, 15, .05); }
.ficha { -webkit-backdrop-filter: none; backdrop-filter: none; }
.chip.is-on { background: rgba(165, 132, 86, .12); }
.tbc { border-color: rgba(127, 98, 56, .55); }
.boxbtn { background: var(--card); }
.map iframe { filter: none; }

/* ==========================================================================
   MOVIMIENTO EDITORIAL · píldoras, palabra gigante, cinta, imagen que crece, títulos por palabra
   Todo es decoración: sin JavaScript o con "reducir movimiento" la página queda completa y quieta.
   ========================================================================== */
.btn, .boxbtn, .chip, .txall li a { border-radius: 999px; }
.btn { padding: 16px 26px; }
.menu summary { border-radius: 50%; width: 42px; height: 42px; }

.hero__copy, .hero__visual, .cue { z-index: 1; }
.hero__copy { position: relative; }
.hero__word { position: absolute; z-index: 0; right: -3%; bottom: 3%; pointer-events: none; user-select: none; white-space: nowrap;
  font: italic 400 clamp(7rem, 18vw, 18rem)/.8 var(--serif); letter-spacing: -.04em; color: rgba(165, 132, 86, .14); will-change: transform; }
.hero__corner { position: absolute; bottom: 30px; margin: 0; z-index: 1; font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hero__corner--l { left: var(--pad); }
.hero__corner--r { right: var(--pad); }
.hero .arch img, .phero .arch img { transition: none; will-change: transform; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(18px, 2.6vw, 34px) 0; max-width: 100vw; }
.marquee__track { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; }
.marquee span { font: italic 400 clamp(1.9rem, 4.6vw, 3.8rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.marquee span:nth-of-type(even) { color: var(--ink-3); }
.marquee i { font-style: normal; font-size: 14px; color: var(--gold); }

.frame.frame--grow { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); aspect-ratio: 16 / 9; max-height: 100vh; border: 0;
  animation: none; transform: scale(calc(.66 + .34 * var(--p, 1))); border-radius: calc((1 - var(--p, 1)) * 40px); will-change: transform; }
.frame--grow figcaption { left: clamp(20px, 6vw, 96px); bottom: clamp(22px, 5vw, 72px); opacity: var(--p, 1); }
.frame--grow figcaption em { font-size: clamp(2.6rem, 8vw, 7rem); }

.split-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .05em .12em; margin: -.06em -.05em -.12em; }
.split-w > span { display: inline-block; transform: translateY(110%); transition: transform .95s var(--ease); transition-delay: calc(var(--n, 0) * 42ms); }
.is-split.in .split-w > span { transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .btn--gold span[aria-hidden] { display: inline-block; transition: transform .5s var(--ease); }
  .btn--gold:hover span[aria-hidden] { transform: rotate(90deg) scale(1.2); }
}
@media (max-width: 959px) {
  .hero__corner { display: none; }
  .hero__word { right: auto; left: 50%; bottom: 1%; transform: translateX(-50%); font-size: 30vw; }
  .frame.frame--grow { aspect-ratio: 4 / 5; }
}

/* Portada: la foto del doctor es la protagonista. Arco alto, casi a toda la altura de la pantalla. */
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); padding-top: 104px; padding-bottom: 72px; gap: clamp(28px, 4vw, 72px); }
  .hero__visual { width: min(100%, 540px); }
  .scene .arch { aspect-ratio: auto; height: min(calc(100svh - 190px), 760px); min-height: 520px; }
  .hero h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); }
  .scene figcaption em { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
}

/* ==========================================================================
   RECORRIDO · las salas pasan una tras otra mientras se hace scroll (como una cámara que avanza)
   Sin JavaScript o con "reducir movimiento" son cuatro fotos apiladas, completas.
   ========================================================================== */
.tour { margin-top: clamp(40px, 6vw, 88px); }
.tour__pin { display: grid; gap: 16px; }
.tour__slide { position: relative; margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 9; background: var(--bg-2); }
.tour__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 9, 0) 50%, rgba(5, 6, 9, .66) 100%); }
.tour__slide figcaption { position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); bottom: clamp(22px, 5vw, 72px); display: grid; gap: 10px; color: #fff; }
.tour__slide figcaption em { font-size: clamp(2.2rem, 6.4vw, 5.6rem); line-height: .95; }
.tour__slide figcaption span { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.tour__bar { display: none; }

.tour.is-live { width: 100vw; margin-left: calc(50% - 50vw); height: 420vh; }
.tour.is-live .tour__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: block; overflow: hidden; }
.tour.is-live .tour__slide { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; opacity: var(--o, 0); will-change: opacity; }
.tour.is-live .tour__slide:first-child { opacity: 1; }
.tour.is-live .tour__slide img { transform: scale(var(--s, 1)); will-change: transform; }
.tour.is-live .tour__slide figcaption { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.tour.is-live .tour__slide.is-on figcaption { opacity: 1; transform: none; }
.tour.is-live .tour__bar { display: block; position: absolute; z-index: 2; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: clamp(14px, 2.4vw, 34px); height: 1px; background: rgba(255, 255, 255, .28); }
.tour__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }

/* cortina: la foto se descubre de abajo hacia arriba al entrar en pantalla */
.curtain { clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.curtain.in { clip-path: inset(0 0 0 0); transform: none; }
.btn--gold, .boxbtn { will-change: transform; }

/* Recorrido en video: cada tramo es un clip que avanza con el scroll (solo en escritorio; en celular quedan las fotos). */
.tour__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.tour__slide.has-video video { opacity: 1; }
.tour__note { display: none; }
.tour.is-live .tour__note { display: block; position: absolute; z-index: 2; right: clamp(20px, 6vw, 96px); bottom: clamp(26px, 3.4vw, 50px); margin: 0;
  font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (max-width: 620px) { .tour.is-live .tour__note { display: none; } }

/* Nitidez: ninguna foto se agranda por encima de su tamaño real. Se quitan los acercamientos y los filtros que la ablandaban. */
.arch img, .frame img, .tour__slide img { filter: none; }
.frame img { animation: none; transform: none; }
.lineup li:hover .arch img { transform: none; }
.curtain { transform: none; }
.hero .arch img, .phero .arch img { transform: none; }

/* ==========================================================================
   RECORRIDO AUTOMÁTICO · un solo video que se reproduce solo, en bucle y sin sonido, al llegar a la sección
   Sin JavaScript queda como un video normal con sus controles.
   ========================================================================== */
.walk { position: relative; width: 100vw; margin: clamp(40px, 6vw, 88px) 0 0 calc(50% - 50vw); background: #0d0d0d; overflow: hidden; }
.walk__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 100vh; max-height: 100svh; object-fit: cover; background: #0d0d0d; }
.walk::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 6, 9, 0) 55%, rgba(5, 6, 9, .62) 100%); }
.walk__cap, .walk__btn, .walk__bar, .walk__note { display: none; }
.walk.is-live .walk__cap { display: grid; gap: 10px; position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); bottom: clamp(30px, 5vw, 76px); color: #fff; pointer-events: none; }
.walk__n, .walk__sub { font: 500 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.walk__title { font-size: clamp(2rem, 6.4vw, 5.6rem); line-height: .95; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.walk.is-switching .walk__title, .walk.is-switching .walk__sub { opacity: 0; transform: translateY(14px); }
.walk__sub { transition: opacity .5s var(--ease), transform .7s var(--ease); }
.walk.is-live .walk__btn { display: inline-block; position: absolute; z-index: 2; right: clamp(20px, 6vw, 96px); top: clamp(16px, 2.4vw, 34px); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .28); color: #fff; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.walk__btn:hover { background: rgba(0, 0, 0, .5); }
.walk.is-live .walk__bar { display: block; position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: clamp(14px, 2.4vw, 34px); height: 1px; background: rgba(255, 255, 255, .28); }
.walk__bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
.walk.is-live .walk__note { display: block; position: absolute; z-index: 1; right: clamp(20px, 6vw, 96px); bottom: clamp(26px, 3.4vw, 50px); margin: 0;
  font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.walk.is-live .walk__cap { right: clamp(20px, 6vw, 96px); }
/* sin título grande sobre el video: solo una línea chica con el número y el nombre de la sala */
.walk.is-live .walk__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; bottom: clamp(26px, 3.4vw, 50px); right: auto; max-width: 46%; }
.walk__title { font: 500 10.5px/1.4 var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.walk__sub { display: none; }
.walk::after { background: linear-gradient(180deg, rgba(5, 6, 9, 0) 72%, rgba(5, 6, 9, .5) 100%); }
@media (max-width: 620px) { .walk.is-live .walk__note { display: none; } .walk__video { max-height: none; }
  .walk.is-live .walk__cap { gap: 4px 12px; bottom: 26px; max-width: none; } .walk__n, .walk__sub, .walk__title { font-size: 9px; letter-spacing: .12em; } }

/* Página de precios: los cuatro precios más pedidos, en grande */
.facts--big div { padding: 34px var(--pad) 36px; }
.facts--big dd { margin-top: 16px; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.045em; }
.facts--big dd em { display: block; margin-top: 12px; font-size: 1.05rem; letter-spacing: 0; color: var(--ink-2); }
@media (max-width: 620px) { .facts--big div { padding: 24px var(--pad) 26px; } .facts--big dd { font-size: 2.4rem; } .facts--big dd em { font-size: .95rem; } }

/* Celular: las notas chicas en mayúsculas suben a 11.5px para leerse bien */
@media (max-width: 620px) { .phero__meta, .prose .ptable__note, .facts dt, .ptable thead th, .ptable__unit { font-size: 11.5px; } }
