/* ---------- 1. El espejo ---------- */
.intro-ph { display: none; }
.espejo { position: relative; }
.stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head) + 10px) 0 24px; overflow: hidden;
  background: radial-gradient(60% 70% at 72% 46%, #f4f1ec 0%, rgba(244,241,236,0) 70%), var(--stone); }
.stage-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 90px); align-items: center; max-width: var(--max); }
.caps { position: relative; min-height: 440px; }
.cap { position: absolute; inset: auto 0 auto 0; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.cap.on { opacity: 1; visibility: visible; }
.cap-intro { position: relative; top: auto; transform: none; }
.no-js .cap-intro, .cap-intro.on { opacity: 1; visibility: visible; }
.cap .big { margin: 0 0 26px; max-width: 9.5em; }
.cap-intro h1.kick { font-size: 15px; color: var(--ink-2); }
.cap .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.stars { font-size: 15px; color: var(--ink-2); margin: 0; }
.stars span { letter-spacing: 2px; color: var(--ink); }
.cap-hint { display: none; }
.cap-case .h-l { margin-bottom: 22px; }
.ad { display: flex; align-items: center; gap: 14px; font: 500 14px/1 var(--f); letter-spacing: .04em; margin: 0 0 22px; color: var(--ink-3); }
.ad .bar { position: relative; width: 120px; height: 1px; background: var(--line); }
.ad .bar i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.ad .a { color: var(--ink); }
.cap-case.after .ad .a { color: var(--ink-3); }
.cap-case.after .ad .d { color: var(--ink); }
.more { display: inline-flex; gap: .5em; font: 500 16px/1 var(--f); text-decoration: none; border-bottom: 1px solid currentColor; padding: 6px 0; }
.mirror-col { display: flex; justify-content: center; }
.chooser { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; max-width: var(--max); }
.chooser.on { opacity: 1; visibility: visible; }
.chooser .kick { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 450 14px/1 var(--f); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 11px 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flipad { min-height: 40px; font-size: 14px; }
.no-js .chooser, .static .chooser { opacity: 1; visibility: visible; }

/* ---------- 2. Hablar ---------- */
.hablar { padding: clamp(90px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.hablar-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 110px); align-items: end; }
.hablar .h-xl { margin-bottom: 30px; }
.words .w { opacity: .18; transition: none; }
.hablar-photo { margin: 0; position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 3 / 4; }
.hablar-photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(60px, 8vw, 120px); }
.pillars > div { border-top: 1px solid var(--ink); padding-top: 22px; }
.pillars h3 { font-size: 22px; font-weight: 450; margin-bottom: 12px; letter-spacing: -.01em; }
.pillars p { color: var(--ink-2); margin: 0; }

/* ---------- 3. Tratamientos (walnut, like their reception desk) ---------- */
.trat { position: relative; background: linear-gradient(180deg, #3f281b, var(--walnut) 40%, #2f1d13); padding: clamp(90px, 11vw, 160px) 0; }
.led { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--glow) 18%, #fff4dc 50%, var(--glow) 82%, transparent);
  box-shadow: 0 0 22px 4px rgba(247,226,185,.45), 0 0 80px 10px rgba(247,226,185,.18); }
.trat-head { max-width: 860px; margin-bottom: clamp(50px, 6vw, 90px); }
.trat-head .h-l { margin-bottom: 22px; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); }
.unit-name { font-size: clamp(26px, 2.4vw, 34px); font-weight: 330; padding-bottom: 16px; border-bottom: 1px solid rgba(241,233,223,.35); margin-bottom: 6px; }
.grp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 500 15px/1.2 var(--f); letter-spacing: .04em; color: var(--walnut-dim); border-bottom: 1px solid rgba(241,233,223,.14); }
.grp summary::-webkit-details-marker { display: none; }
.grp summary span::after { content: " +"; }
.grp[open] summary span::after { content: " –"; }
.grp ul { list-style: none; padding: 8px 0 18px; margin: 0; columns: 1; column-gap: 28px; }
@media (min-width: 1500px) { .grp ul { columns: 2; } }
.grp li { break-inside: avoid; }
.grp a { display: flex; align-items: baseline; gap: 8px; text-decoration: none; padding: 7px 0; font-size: 19px; font-weight: 350; color: var(--walnut-ink); transition: color .2s, transform .3s var(--ease); }
.grp a:hover { color: #fff; transform: translateX(4px); }
.has-case { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--glow); background: radial-gradient(circle at 35% 35%, rgba(255,250,235,.9), rgba(247,226,185,.25) 60%); vertical-align: middle; flex: none; position: relative; top: -1px; }
.trat-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 5vw, 80px); }
.trat-mirror { position: sticky; top: calc(var(--head) + 40px); align-self: start; display: grid; justify-items: center; gap: 10px; }
.trat-mirror .mirror { --rim: #0d0a08; }
.trat-mirror .mirror .face { background: #2a1b12; }
.tm-note { font-size: 14px; color: var(--walnut-dim); text-align: center; max-width: 18em; margin: 0; }
.results { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 200px; height: 200px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek-in { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--rim), 0 20px 50px rgba(0,0,0,.4); }
.peek-in img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Doctor ---------- */
.doctor { padding: clamp(90px, 12vw, 170px) 0; }
.doctor-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.doc-photo { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.04); }
.doc-text .h-l { margin-bottom: 24px; }
.doc-text p { color: var(--ink-2); max-width: 34em; }
.firma { width: min(360px, 80%); margin: 26px 0 18px -14px; }
.firma img { width: 100%; height: auto; }

/* ---------- 5. La clínica ---------- */
.lugar { background: var(--paper); overflow: hidden; }
.lugar-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head) + 30px) 0 50px; }
.lugar-head { margin-bottom: clamp(30px, 4vw, 50px); }
.lugar-head .h-l { margin-bottom: 16px; }
.track { display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--pad); width: max-content; align-items: center; }
.track .p { margin: 0; height: min(58svh, 560px); overflow: hidden; border-radius: 3px; flex: none; }
.track .p img { height: 100%; width: auto; max-width: none; }
.track .p2, .track .p4 { height: min(50svh, 480px); }

/* ---------- 6. Opiniones ---------- */
.opiniones { padding: clamp(90px, 11vw, 160px) 0; }
.op-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 22px; margin-bottom: clamp(36px, 5vw, 60px); }
.op-head .kick { margin: 0; }
.score { display: flex; align-items: flex-end; gap: 16px; margin: 0; }
.score .num { font-size: clamp(64px, 8vw, 120px); font-weight: 250; line-height: .8; letter-spacing: -.04em; }
.score .of { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); padding-bottom: 6px; }
.score .st { letter-spacing: 3px; color: var(--ink); }
.quotes { display: grid; }
.q { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.q.on { opacity: 1; visibility: visible; }
.q blockquote { margin: 0 0 22px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; line-height: 1.32; letter-spacing: -.012em; max-width: 30em; }
.q figcaption { font-size: 15px; color: var(--ink-3); }
.q-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.q-names button { font: 450 14px/1 var(--f); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 12px 16px; cursor: pointer; color: var(--ink-2); }
.q-names button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 7. Regalo ---------- */
.regalo { padding: 0 0 clamp(90px, 11vw, 160px); }
.regalo-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.regalo .h-l { margin-bottom: 20px; }
.regalo .lede { margin-bottom: 28px; }
.card3d { perspective: 1200px; display: flex; justify-content: center; }
.gcard { position: relative; width: min(460px, 100%); aspect-ratio: 1.586; border-radius: 18px; padding: 8%; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #5f3e2a 0%, #3c2619 55%, #2b1a10 100%); color: var(--walnut-ink); box-shadow: 0 30px 60px rgba(40,25,15,.35), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotateX(8deg) rotateY(-14deg); transform-style: preserve-3d; overflow: hidden; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,240,215,.22) 48%, transparent 60%); transform: translateX(var(--sx, -40%)); }
.gcard img { width: 44%; height: auto; filter: invert(1) brightness(1.7); opacity: .95; }
.gcard .gl { font-size: clamp(20px, 2vw, 26px); font-weight: 330; }
.gcard .gv { position: absolute; right: 8%; bottom: 8%; font-size: 15px; color: var(--walnut-dim); }

/* ---------- 8. Contacto ---------- */
.contacto { position: relative; background: var(--walnut); padding: clamp(90px, 11vw, 150px) 0; }
.contacto-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.contacto .h-l { margin-bottom: 30px; }
.c-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; margin: 0 0 30px; }
.c-list dt { font-size: 14px; letter-spacing: .04em; color: var(--walnut-dim); margin-bottom: 6px; }
.c-list dd { margin: 0; font-size: 18px; line-height: 1.45; }
.c-list a { text-decoration: none; border-bottom: 1px solid rgba(241,233,223,.3); }
.contacto .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.c-map img { width: 100%; height: auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 10px var(--rim), 0 30px 70px rgba(0,0,0,.35); }
.c-map { max-width: 560px; justify-self: center; width: 100%; }
.credit-map { font-size: 12px; color: var(--walnut-dim); text-align: center; margin-top: 22px; }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .intro-ph { display: block; padding-top: calc(var(--head) + 16px); padding-bottom: 0; }
  .intro-ph .h-l { font-size: clamp(34px, 10vw, 46px); margin-bottom: 14px; }
  .intro-ph .lede { font-size: 16px; margin-bottom: 8px; }
  .intro-ph .stars { font-size: 14px; }
  .stage { padding: calc(var(--head) + 6px) 0 14px; justify-content: flex-start; }
  .stage-in { grid-template-columns: 1fr; gap: 10px; }
  .mirror-col { order: -1; }
  .caps { min-height: 0; height: 180px; }
  .flipad { display: none !important; }
  .chooser.on ~ * , .stage .disc { cursor: pointer; }
  .mirror { height: calc(var(--d) * 1.12); clip-path: inset(-14% -14% 0 -14%); }
  .cap-case .kick { display: none; }
  .cap { top: 0; transform: none; }
  .cap-intro { position: absolute; }
  .cap-intro .big, .cap-intro .lede, .cap-intro .stars { display: none; }
  .cap-intro h1.kick { font-size: 14px; margin-bottom: 14px; }
  .cap-intro .ctas { margin: 0; }
  .cap-case .h-l { font-size: 34px; margin-bottom: 12px; }
  .cap-case .kick { margin-bottom: 8px; }
  .ad { margin-bottom: 12px; }
  .cap-case .lede { font-size: 16px; margin-bottom: 10px; }
  .chooser { gap: 10px; margin-top: 0; }
  .chooser .kick { display: none; }
  .static .chooser .kick { display: block; width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; width: calc(100% + var(--pad) * 2); }
  .chip { white-space: nowrap; }
  .chips::after { content: ""; flex: none; width: 60px; }
  .hablar-in, .doctor-in, .regalo-in, .contacto-in { grid-template-columns: 1fr; }
  .hablar-photo { max-width: 420px; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .units { grid-template-columns: 1fr; }
  .trat-grid { grid-template-columns: 1fr; }
  .trat-mirror { display: none; }
  .results { display: flex; list-style: none; gap: 16px; padding: 0 var(--pad) 8px; margin: 0 calc(var(--pad) * -1) 44px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .results li { flex: none; scroll-snap-align: start; }
  .results a { display: grid; justify-items: center; gap: 10px; text-decoration: none; width: 118px; text-align: center; font-size: 15px; line-height: 1.25; }
  .rm { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 4px solid #0d0a08; box-shadow: 0 0 0 1px rgba(247,226,185,.35), 0 10px 26px rgba(0,0,0,.35); }
  .rm img { width: 100%; height: 100%; object-fit: cover; }
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .grp ul { columns: 1; }
  .grp a { font-size: 18px; }
  .lugar-pin { min-height: 0; padding: 90px 0 70px; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .track .p { scroll-snap-align: center; height: 62vw; }
  .track .p2, .track .p4 { height: 72vw; }
  .c-list { grid-template-columns: 1fr; }
  .c-map { max-width: 420px; }
  .regalo-in > :first-child { order: 2; }
}
