:root {
  --ink: #1b1029;
  --ink-2: #261739;
  --violet: #6a45a8;
  --violet-d: #4b2c82;
  --lav: #cdb9f5;
  --laser: #bb96ff;
  --mist: #f1edf8;
  --paper: #fbfaff;
  --grey: #8f899c;
  --on-dark: #efe9fb;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--on-dark); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--laser); outline-offset: 3px; }
em { font-style: italic; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.js .reveal { opacity: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--laser); color: var(--ink); padding: 8px 14px; }

.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); margin: 0 0 18px; }
.eyebrow-ink { color: var(--violet); }
.h2 { font: 400 clamp(44px, 6.4vw, 96px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; }
.h2 em { color: var(--laser); }
.h2-ink { color: var(--ink); }
.h2-ink em { color: var(--violet); }
.lead { font-size: 19px; max-width: 520px; color: #d8cfea; }
.fine { font-size: 13px; color: var(--grey); }

/* Botones (hover con translate, no transform) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; transition: translate .25s, background .25s, color .25s, border-color .25s; }
.btn:hover { translate: 0 -2px; }
.btn-laser { background: var(--laser); color: var(--ink); box-shadow: 0 0 0 0 rgba(187, 150, 255, .5), 0 10px 30px -10px rgba(187, 150, 255, .7); }
.btn-laser:hover { background: #d3bcff; }
.btn-ghost { border: 1px solid rgba(205, 185, 245, .4); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--laser); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--violet-d); }
.link { display: inline-block; margin-left: 14px; font-weight: 600; color: var(--violet); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(16px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 26px/1 var(--serif); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); margin-left: 4px; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; color: var(--laser); }
.top-cta { min-height: 42px; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); opacity: 0; filter: blur(36px) saturate(1.4); scale: 1.2; transition: opacity 1.4s ease; }
.hero-bg img.on { opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--ink) 18%, rgba(27, 16, 41, .55) 60%, rgba(27, 16, 41, .25)), linear-gradient(0deg, var(--ink), transparent 40%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #5b36a0; mix-blend-mode: color; opacity: .9; pointer-events: none; }
.hero-in { position: relative; width: min(1320px, 100% - 48px); margin: auto; padding: 100px 0 36px; display: grid; gap: 24px; }
.hero-h1 { font: 400 clamp(30px, 3.1vw, 46px)/1.02 var(--serif); margin: 0; max-width: 30ch; letter-spacing: -.01em; }
.hero-h1 em { color: var(--lav); }
.hero-head .eyebrow { margin-bottom: 12px; }
.idx-wrap { position: relative; }
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(205, 185, 245, .2); }
.idx li { border-bottom: 1px solid rgba(205, 185, 245, .2); }
.idx a { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px; padding: 4px 0 6px; text-decoration: none; color: rgba(239, 233, 251, .34); transition: color .5s; }
.idx .n { font: 500 12px/1 var(--sans); letter-spacing: .14em; }
.idx .name { font: 400 clamp(28px, 3.3vw, 50px)/1.04 var(--serif); letter-spacing: -.015em; }
.idx .tag { font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.idx li.on a, .idx a:hover, .idx a:focus-visible { color: #fff; }
.idx li.on .name { text-shadow: 0 0 28px rgba(187, 150, 255, .55); }
.idx li.on .tag, .idx li.on .n { color: var(--laser); }
.laser { position: absolute; left: -24px; right: -24px; top: 0; height: 2px; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--laser) 12%, #fff 50%, var(--laser) 88%, transparent); box-shadow: 0 0 18px 3px rgba(187, 150, 255, .75); translate: 0 var(--y, 0); transition: translate .9s var(--ease), opacity .4s; }
.js .laser { opacity: 1; }
.lens { position: absolute; right: 13%; top: 0; z-index: 1; width: clamp(220px, 24vw, 340px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; pointer-events: none; translate: 0 var(--ly, 0); transition: translate .9s var(--ease); box-shadow: 0 0 0 1px rgba(205, 185, 245, .5), 0 0 0 10px rgba(187, 150, 255, .08), 0 30px 80px -20px rgba(0, 0, 0, .7); }
.lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); transform-origin: var(--pos); scale: var(--z, 1); opacity: 0; transition: opacity .8s ease; }
.lens img.on { opacity: 1; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rating { margin: 0 0 0 8px; font-size: 14px; color: #d8cfea; }
.rating b { font: 400 26px/1 var(--serif); color: #fff; }
.rating span { color: var(--laser); }

/* TRATAMIENTOS */
.treat { padding: clamp(90px, 12vw, 160px) 0 120px; background: var(--ink); }
.treat-head { margin-bottom: 56px; }
.stack { display: grid; gap: 40px; }
.card { position: sticky; top: calc(96px + var(--i, 0) * 14px); display: grid; grid-template-columns: 1fr 1.05fr; min-height: min(72vh, 600px); background: var(--paper); color: var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .6); }
.card:nth-child(2) { --i: 1; } .card:nth-child(3) { --i: 2; } .card:nth-child(4) { --i: 3; } .card:nth-child(5) { --i: 4; } .card:nth-child(6) { --i: 5; }
.card:nth-child(even) { background: var(--mist); }
.card-img { margin: 0; position: relative; overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: clamp(28px, 4vw, 60px); align-self: center; }
.card-n { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0 0 14px; }
.card h3 { font: 400 clamp(40px, 4.6vw, 70px)/.95 var(--serif); margin: 0 0 20px; letter-spacing: -.02em; }
.card p { max-width: 46ch; color: #3b3150; }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid #cdbfe6; color: var(--violet-d); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: #3b3150; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 2px; background: var(--violet); box-shadow: 0 0 8px var(--laser); }
.price { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid #d9cdee; border-bottom: 1px solid #d9cdee; padding: 12px 0; margin: 0 0 26px; }
.price span { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }
.price b { font: 400 44px/1 var(--serif); color: var(--violet-d); }

/* RESULTADOS */
.results { background: var(--mist); color: var(--ink); padding: clamp(90px, 11vw, 150px) 0; }
.results-in { display: grid; grid-template-columns: 1fr minmax(300px, 440px) minmax(220px, 300px); gap: clamp(28px, 4vw, 64px); align-items: center; }
.results-copy p { color: #3b3150; max-width: 40ch; }
.slash { display: inline-block; width: .9em; height: 2px; vertical-align: middle; background: var(--laser); box-shadow: 0 0 14px var(--laser); rotate: -60deg; margin: 0 .1em; }
.ba { position: relative; aspect-ratio: 5 / 8; border-radius: 22px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -30px rgba(43, 20, 80, .5); touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; background: url("assets/ig-8.jpg") no-repeat; background-size: 240% auto; }
.ba-before { background-position: 0 50%; }
.ba-after { background-position: 100% 50%; clip-path: inset(0 0 0 var(--p)); }
.ba-tag { position: absolute; bottom: 16px; z-index: 2; background: rgba(27, 16, 41, .78); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 16px 2px var(--laser); z-index: 2; pointer-events: none; }
.ba-line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 6px rgba(255, 255, 255, .45); }
.ba-line i::before, .ba-line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; translate: 0 -50%; }
.ba-line i::before { left: 8px; border-right-color: var(--ink); }
.ba-line i::after { right: 8px; border-left-color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--violet); outline-offset: 4px; }
.juanete { margin: 0; }
.juanete img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.juanete figcaption { font-size: 15px; color: #3b3150; margin-top: 14px; }
.juanete a { color: var(--violet); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* MEDICINA REGENERATIVA */
.regen { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.regen-img { position: absolute; inset: 0 0 0 auto; width: 46%; margin: 0; z-index: -1; }
.regen-img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 0; transform-origin: 40% 0; scale: 2.4; filter: grayscale(1) contrast(1.1); opacity: .7; }
.regen-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #5b36a0; mix-blend-mode: color; }
.regen-img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--ink), rgba(27, 16, 41, .2) 45%, rgba(27, 16, 41, .5)); }
.big-phrase { font: 400 clamp(52px, 9vw, 150px)/.9 var(--serif); letter-spacing: -.03em; margin: 0 0 48px; }
.big-phrase span { display: block; }
.big-phrase em { color: var(--laser); }
.regen-text { max-width: 520px; margin-left: auto; }
.regen-text p { color: #d8cfea; }

/* DOCTOR */
.doc { background: var(--paper); color: var(--ink); padding: clamp(90px, 11vw, 150px) 0; }
.doc-in { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.doc-portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 200px 200px 24px 24px; position: sticky; top: 100px; }
.doc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); }
.doc-name { font: 400 clamp(54px, 8vw, 128px)/.88 var(--serif); letter-spacing: -.03em; margin: 0 0 14px; }
.doc-name em { color: var(--violet); display: block; }
.doc-role { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--violet); margin: 0 0 30px; }
.doc-copy > p { color: #3b3150; max-width: 54ch; font-size: 18px; margin-bottom: 30px; }
.doc-congress { margin: 40px 0 0; max-width: 520px; }
.doc-congress img { border-radius: 16px; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 30%; width: 100%; }
.doc-congress figcaption { font-size: 13px; color: var(--grey); margin-top: 10px; }

/* ALIANZA */
.ally { background: var(--violet-d); padding: 70px 0; overflow: hidden; }
.ally-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.ally-big { font: 400 clamp(110px, 17vw, 260px)/.8 var(--serif); margin: 0; color: var(--laser); text-shadow: 0 0 50px rgba(187, 150, 255, .5); }
.ally h2 { font: 400 clamp(30px, 3vw, 44px)/1 var(--serif); margin: 0 0 16px; }
.ally p { margin: 0 0 10px; max-width: 60ch; color: #ece4fb; }

/* TURNOS */
.turnos { background: var(--paper); color: var(--ink); padding: clamp(90px, 11vw, 140px) 0; --tn-accent: var(--violet-d); --tn-on-accent: #fff; --tn-radius: 999px; --tn-font: var(--sans); }
.turnos-in { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.turnos-head p:last-child { color: #3b3150; max-width: 40ch; }
.turnos-head { position: sticky; top: 100px; }
.turnos [data-tn] a { color: var(--violet-d); font-weight: 600; }

/* CIERRE */
.close { background: radial-gradient(120% 80% at 80% 0%, #3a2160, var(--ink) 60%); padding: clamp(90px, 11vw, 150px) 0 0; }
.close-h { font: 400 clamp(56px, 10vw, 170px)/.88 var(--serif); letter-spacing: -.03em; margin: 0 0 56px; }
.close-h em { color: var(--laser); }
.close-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(205, 185, 245, .2); padding-top: 28px; margin-bottom: 44px; }
.close-grid .k { display: block; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lav); margin-bottom: 10px; }
.close-grid a, .close-grid p { font: 400 26px/1.15 var(--serif); margin: 0; text-decoration: none; }
.close-grid a:hover { color: var(--laser); }
.close-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 100px; padding: 26px 0 30px; border-top: 1px solid rgba(205, 185, 245, .15); font-size: 13px; color: #b7aecb; }

/* Barra móvil */
.mbar { display: none; }

@media (max-width: 1100px) {
  .results-in { grid-template-columns: 1fr 1fr; }
  .results-copy { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .nav, .top-cta { display: none; }
  .wrap, .hero-in { width: calc(100% - 32px); }
  .hero-in { padding: 92px 0 28px; gap: 20px; }
  .hero-bg::after { background: linear-gradient(0deg, var(--ink) 8%, rgba(27, 16, 41, .6) 55%, rgba(27, 16, 41, .5)); }
  .idx a { grid-template-columns: 30px 1fr; gap: 8px; padding: 6px 0; }
  .idx .tag { display: none; }
  .lens { width: 96px; right: 0; }
  .idx .name { font-size: clamp(25px, 7.2vw, 34px); }
  .laser { left: -16px; right: -16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .rating { width: 100%; margin: 4px 0 0; }
  .card { grid-template-columns: 1fr; grid-template-rows: 200px auto; min-height: 0; top: calc(70px + var(--i, 0) * 10px); border-radius: 22px; }
  .card-body { padding: 24px 22px 28px; }
  .card h3 { font-size: 40px; }
  .link { display: block; margin: 16px 0 0; }
  .results-in { grid-template-columns: 1fr; }
  .ba { max-width: 420px; width: 100%; margin-inline: auto; }
  .regen-img { width: 100%; opacity: .7; }
  .regen-img::after { background: linear-gradient(0deg, var(--ink) 35%, rgba(27, 16, 41, .45)); }
  .doc-in, .turnos-in { grid-template-columns: 1fr; }
  .doc-portrait, .turnos-head { position: static; }
  .doc-portrait { max-width: 320px; }
  .ally-in { grid-template-columns: 1fr; }
  .close-grid { grid-template-columns: 1fr 1fr; }
  .close-grid a, .close-grid p { font-size: 22px; }
  .close-cta .btn { flex: 1 1 40%; }
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(27, 16, 41, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); border: 1px solid rgba(205, 185, 245, .25); }
  .mbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; }
  .mbar-main { flex: 1; background: var(--laser); color: var(--ink); }
  .mbar a:last-child { width: 56px; background: #25d366; color: #0b2a17; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
