/* La Clínica del Pelo — hoja de estilos (rediseño editorial, 18 de octubre de 2026)
   Tipografía: Instrument Serif (títulos, con cursiva en azul de marca) + Figtree (lectura e interfaz).
   Color: blanco, grises (sin negro), azul del logo y un azul profundo para bandas.
   Movimiento: una entrada orquestada en el héroe y apariciones suaves al hacer scroll.
   Respeta prefers-reduced-motion. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/figtree.woff2) format("woff2"); }

:root {
  --paper: #ffffff;
  --mist: #f4f8fa;
  --ice: #e7f2f8;
  --line: #e1e8ed;
  --ink: #4f565e;        /* títulos: gris, no negro */
  --text: #626970;       /* lectura */
  --muted: #80878e;
  --blue: #0090d0;       /* azul del logo */
  --blue-ink: #0a73a6;   /* azul accesible para texto */
  --cta: #0a6d9f;
  --cta-hover: #075780;
  --deep: #0c2e44;
  --deep-2: #12405e;
  --deep-fg: #eaf3f8;
  --deep-muted: #a8c3d4;
  --warn-bg: #fff7e8;
  --warn-ink: #6b4a00;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --r: 18px;
  --shadow: 0 30px 60px -30px rgba(12, 46, 68, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: clamp(1rem, .97rem + .15vw, 1.075rem); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.012em; }
h1 { font-size: clamp(2.7rem, 1.5rem + 3.6vw, 4.8rem); line-height: 1; }
h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.1rem); line-height: 1.02; }
h1 em, h2 em, .h2-like em { font-style: italic; color: var(--blue-ink); }
h3 { font-family: var(--f-body); font-weight: 650; font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.3; letter-spacing: -.005em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.eyebrow { font-family: var(--f-body); font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); line-height: 1.6; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.note.center { text-align: center; margin-top: 28px; }
.small { font-size: .9rem; color: var(--muted); }
.stack { display: grid; gap: 20px; align-content: start; }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cta); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 80; }
.skip:focus { left: 12px; }
.ico { width: 22px; height: 22px; flex: none; }
section { padding-block: clamp(64px, 8vw, 128px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--deep); color: var(--deep-fg); font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: var(--deep-fg); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .ico, .topbar svg { width: 15px; height: 15px; opacity: .85; }
.tb-hours { display: inline-flex; align-items: center; gap: 7px; color: var(--deep-muted); }
.tb-links { display: inline-flex; gap: 22px; }
.tb-label { color: var(--deep-muted); }
@media (max-width: 760px) { .topbar .wrap { flex-direction: column; justify-content: center; gap: 3px; padding-block: 7px; min-height: 0; } .tb-hours { color: var(--deep-fg); font-size: .8rem; } .tb-label { display: none; } .tb-links { gap: 18px; } }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(12,46,68,.4); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { position: relative; white-space: nowrap; color: var(--ink); text-decoration: none; padding: 10px 11px; font-size: .94rem; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.lang-switch { font-size: .8rem; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; margin-left: 8px; }
.nav a.lang-switch::after { display: none; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 .92rem var(--f-body); cursor: pointer; }
.bars { width: 16px; height: 10px; position: relative; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.header-cta { white-space: nowrap; padding: 12px 20px !important; font-size: .92rem !important; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 20px; box-shadow: 0 20px 40px -30px rgba(12,46,68,.5); }
  .nav:not(.open) { display: none; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.lang-switch { align-self: start; margin: 14px 0 0; border-bottom: 1px solid var(--line); }
  .site-header .header-cta { display: none; }
}

/* ---------- Botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 650 1rem/1.2 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 14px 30px -16px rgba(10,109,159,.8); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(10,109,159,.9); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-ink); font-weight: 650; text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico, a:hover .link-arrow .ico { transform: translateX(5px); }
.ed-link { color: var(--blue-ink); font-weight: 650; }

/* ---------- Héroe de portada ---------- */
.hero { padding: 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 880px); }
.hero-txt { display: grid; gap: 26px; align-content: center; padding: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 72px) clamp(48px, 6vw, 80px) max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
.hero h1 { max-width: 14ch; }
.hero h1 .ln { display: inline-block; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; max-width: 46ch; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); max-width: 46ch; font-style: italic; }
.hero-note .ico { width: 18px; height: 18px; color: var(--blue-ink); margin-top: 2px; }
.doc-chip { display: inline-flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); justify-self: start; background: #fff; transition: border-color .3s, box-shadow .3s; max-width: 100%; }
.doc-chip:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.doc-chip-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center; flex: none; }
.doc-chip b { display: block; color: var(--ink); font-weight: 650; font-size: .95rem; }
.doc-chip small { display: block; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.hero-media { position: relative; min-height: 520px; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease) both; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,46,68,.35)); }
.float-card { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); z-index: 2; display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; border-radius: 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; color: var(--text); box-shadow: var(--shadow); max-width: min(380px, calc(100% - 32px)); animation: rise 1s .9s var(--ease) both; transition: transform .35s var(--ease); }
.float-card:hover { transform: translateY(-4px); }
.fc-img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.float-card small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); font-weight: 650; }
.float-card b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--ink); margin: 2px 0 4px; }
.float-card em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .85rem; font-weight: 650; color: var(--blue-ink); }
.float-card em .ico { width: 16px; height: 16px; }
.follicle { position: absolute; right: clamp(12px, 3vw, 44px); top: clamp(20px, 6vw, 70px); width: clamp(70px, 8vw, 110px); height: auto; z-index: 2; overflow: visible; }
.follicle path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.follicle .f-shaft { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.2s 1.1s var(--ease) forwards; }
.follicle .f-skin { stroke-width: 2; opacity: .8; stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.4s .7s var(--ease) forwards; }
.follicle .f-bulb { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.2s .9s var(--ease) forwards; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 4.2; }
  .hero-txt { padding: 36px 16px 48px; gap: 22px; }
  .hero h1 { max-width: none; }
  .float-card { padding: 10px 16px 10px 10px; } .fc-img { width: 64px; height: 64px; } .float-card b { font-size: 1.2rem; }
}

/* entrada orquestada del héroe */
.h-anim .ln { opacity: 0; transform: translateY(.45em); animation: rise 1s var(--ease) forwards; }
.h-anim .ln:nth-child(2) { animation-delay: .18s; }
.hero .rv { animation: rise .9s var(--ease) both; }
.hero-txt > .eyebrow { animation-delay: .05s !important; }
.hero-txt > .hero-lead { animation-delay: .35s !important; }
.hero-txt > .btn-row { animation-delay: .5s !important; }
.hero-txt > .hero-note { animation-delay: .62s !important; }
.hero-txt > .doc-chip { animation-delay: .74s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* aparición al hacer scroll (solo si hay JS) */
.js .rv, .js .rv-group > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in, .js .rv-group.in > * { opacity: 1; transform: none; }
.js .rv-group.in > *:nth-child(2) { transition-delay: .1s; }
.js .rv-group.in > *:nth-child(3) { transition-delay: .2s; }
.js .rv-group.in > *:nth-child(4) { transition-delay: .3s; }
.js .rv-group.in > *:nth-child(5) { transition-delay: .4s; }

/* ---------- Diferenciadores ---------- */
.proof { padding-block: 0; border-bottom: 1px solid var(--line); background: #fff; }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf { display: grid; gap: 8px; align-content: start; padding: 34px 26px 34px 0; }
.pf + .pf { padding-left: 26px; border-left: 1px solid var(--line); }
.pf .ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 6px; }
.pf b { color: var(--ink); font-weight: 650; font-size: 1.04rem; line-height: 1.3; }
.pf span { font-size: .92rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .proof-row { grid-template-columns: 1fr 1fr; } .pf:nth-child(3) { padding-left: 0; border-left: 0; } .pf:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 540px) { .proof-row { grid-template-columns: 1fr; } .pf, .pf + .pf { padding: 24px 0; border-left: 0; } .pf + .pf { border-top: 1px solid var(--line); } .pf { grid-template-columns: 40px 1fr; column-gap: 14px; } .pf .ico { grid-row: span 2; margin: 0; } }

/* ---------- Cinta de los cinco pasos ---------- */
.ticker { overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); padding: 20px 0; }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.ticker span { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); color: var(--ink); white-space: nowrap; }
.ticker i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Empatía ---------- */
.emp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.emp-photo { margin: 0; position: sticky; top: 110px; }
.emp-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.emp-photo figcaption, .doc-photo figcaption { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin-top: 14px; line-height: 1.35; }
.emp-txt { display: grid; gap: 22px; }
.facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.facts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.fact-n { font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--blue); white-space: nowrap; }
.fact-n b { font-weight: 400; }
.fact-n .ico { width: 40px; height: 40px; color: var(--blue); }
.facts strong { display: block; color: var(--ink); font-weight: 650; font-size: 1.08rem; line-height: 1.4; margin-bottom: 4px; }
.facts span { color: var(--text); }
.source { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .emp-grid { grid-template-columns: 1fr; } .emp-photo { position: static; } .emp-photo img { aspect-ratio: 16 / 11; } .facts li { grid-template-columns: 64px minmax(0,1fr); gap: 14px; } .fact-n { font-size: 1.5rem; } }

/* ---------- Método: cinco pasos ---------- */
.method { background: var(--mist); }
.method .sec-head { text-align: center; margin-inline: auto; justify-items: center; }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; position: relative; display: grid; gap: 14px; }
.steps::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 39px; top: 40px; width: 2px; height: calc((100% - 80px) * var(--p, 0)); background: var(--blue); transition: height .2s linear; }
.steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 26px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px 26px 0; transition: box-shadow .35s, border-color .35s; }
.steps li:hover { box-shadow: var(--shadow); border-color: transparent; }
.st-n { justify-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue); font-family: var(--f-serif); font-size: 1.7rem; color: var(--blue-ink); margin-left: 12px; }
.steps li.key { background: var(--deep); border-color: var(--deep); }
.steps li.key h3 { color: #fff; }
.steps li.key p { color: var(--deep-fg); }
.steps li.key .st-n { background: var(--blue); color: #fff; border-color: var(--blue); }
.steps h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin-bottom: 6px; }
.steps p { color: var(--text); }
@media (max-width: 640px) { .steps li { grid-template-columns: 60px minmax(0,1fr); gap: 14px; padding: 22px 18px 22px 0; } .st-n { width: 44px; height: 44px; font-size: 1.35rem; margin-left: 8px; } .steps::before, .steps::after { left: 29px; } }

/* ---------- Tratamientos ---------- */
.tiles-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { position: relative; display: grid; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; min-height: 600px; isolation: isolate; }
.tile-img { position: absolute; inset: 0; z-index: -1; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,46,68,0) 30%, rgba(12,46,68,.88) 100%); }
.tile-txt { align-self: end; display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.tile h3 { font-family: var(--f-serif); font-weight: 400; color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1.05; }
.tile p { color: rgba(255,255,255,.88); max-width: 46ch; }
.tile .tag { justify-self: start; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; }
.tile .link-arrow { color: #fff; }
.tiles-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.mini { display: grid; text-decoration: none; color: var(--text); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.mini:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mini img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.mini span { display: grid; gap: 8px; padding: 22px 24px 26px; font-size: .95rem; }
.mini b { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 1.05rem; }
.mini b .ico { color: var(--blue); }
@media (max-width: 860px) { .tiles-2, .tiles-3 { grid-template-columns: 1fr; } .tile { min-height: 480px; } }

/* ---------- Banda de cita ---------- */
.quote-band { position: relative; color: var(--deep-fg); background: var(--deep); overflow: hidden; isolation: isolate; }
.qb-bg { position: absolute; inset: 0; z-index: -1; }
.qb-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.qb-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,46,68,.95) 30%, rgba(12,46,68,.6)); }
.qb-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.quote-band blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.04; color: #fff; }
.quote-band cite { display: block; margin-top: 24px; font: 500 .95rem var(--f-body); font-style: normal; color: var(--deep-muted); }
.quote-band p { color: var(--deep-fg); }
@media (max-width: 860px) { .qb-grid { grid-template-columns: 1fr; } }

/* ---------- Hombres y mujeres ---------- */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.who-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.who-card:hover img { transform: scale(1.04); }
.who-txt { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.who-txt h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; }
.who-txt .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Herramienta de orientación ---------- */
.orient-sec { background: var(--mist); }
.orient { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; font-size: .95rem; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.opt:hover { transform: translateY(-2px); border-color: var(--blue); }
.opt input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--ice); }
.msg-preview { background: #fff; border-radius: 24px; padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow); min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center; }
.chat-head b { display: block; color: var(--ink); font-size: .95rem; }
.chat-head small { display: block; color: var(--muted); font-size: .78rem; }
.bubble { position: relative; background: #dcf6e6; color: #34413a; border-radius: 16px 16px 4px 16px; padding: 14px 16px; white-space: pre-wrap; font-size: .95rem; overflow-wrap: anywhere; justify-self: end; max-width: 92%; }
@media (max-width: 900px) { .orient { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .opts { grid-template-columns: 1fr; } }

/* ---------- Dirección médica ---------- */
.doc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.doc-photo { margin: 0; position: relative; }
.doc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r); }
.doc-photo::before { content: ""; position: absolute; top: -20px; left: -20px; width: 60%; height: 60%; border-radius: var(--r); background: var(--ice); z-index: -1; }
.doc-sec { position: relative; isolation: isolate; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 6px; }
.stats b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); line-height: 1; color: var(--blue-ink); }
.stats b span { font: inherit; color: inherit; }
.stats > div > span { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .doc-photo::before { top: -12px; left: -12px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Después del procedimiento ---------- */
.aftercare { background: linear-gradient(180deg, #fff, var(--mist)); }
.ac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ac { display: grid; gap: 12px; align-content: start; padding: 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.ac:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ac .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ice); color: var(--blue-ink); }
@media (max-width: 860px) { .ac-grid { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 4px; font-weight: 600; color: var(--ink); font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--blue-ink), var(--blue-ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--blue-ink), var(--blue-ink)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 22px; color: var(--text); display: grid; gap: 10px; max-width: 70ch; }

/* ---------- Páginas internas ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px); background: linear-gradient(180deg, var(--mist), #fff); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.02; max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }
.ph-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 72px) !important; }
.ph-txt { display: grid; gap: 20px; animation: rise .9s var(--ease) both; }
.ph-img { margin: 0; animation: rise 1s .2s var(--ease) both; }
.ph-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 25%; border-radius: var(--r); box-shadow: var(--shadow); }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } .ph-img { order: -1; } .ph-img img { aspect-ratio: 16 / 11; } }
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.two-col { display: grid; gap: clamp(28px, 4vw, 72px); grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; max-width: 70ch; min-width: 0; }
.prose h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); margin-top: 26px; }
.prose h3 { margin-top: 6px; }
.prose p, .prose li { line-height: 1.75; }
.aside-card { position: sticky; top: 100px; border-radius: var(--r); padding: 30px; display: grid; gap: 16px; background: var(--deep); color: var(--deep-fg); }
.aside-card h3 { color: #fff; font-family: var(--f-serif); font-weight: 400; font-size: 1.8rem; line-height: 1.12; }
.aside-card .eyebrow { color: #8fd0ef; }
.aside-card .muted, .aside-card .note { color: var(--deep-muted); }
.aside-card .note a { color: #fff; }
.aside-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) { .aside-card { position: static; } }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; background: #fff; min-width: 0; transition: box-shadow .35s, transform .35s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { color: var(--ink); }
.step { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--mist); }
.step .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--f-serif); font-size: 1.3rem; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 34px; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--ice); }
.check li::after { content: ""; position: absolute; left: 8px; top: calc(.3em + 5px); width: 5px; height: 10px; border: solid var(--blue-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cross li::before { background: #f1f2f3; }
.cross li::after { left: 6px; top: calc(.3em + 10px); width: 10px; height: 2px; border: 0; background: var(--muted); transform: none; }
.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: 14px; padding: 18px 20px; font-size: .94rem; border-left: 3px solid #e2b04a; }
.pair { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.photo { margin: 0; min-width: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.photo figcaption { font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; color: var(--muted); padding-top: 10px; }
.doc .photo { aspect-ratio: auto !important; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
blockquote { color: var(--ink); }
.band-tint { background: var(--mist); border-block: 1px solid var(--line); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.form.card { padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border-color: transparent; }
.form.card:hover { transform: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,144,208,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list small { font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aside-card .contact-list small { color: var(--deep-muted); }
.aside-card .contact-list a { color: #fff; }
.form [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.form .form-status:empty { display: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.is-disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap table, table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { font-weight: 650; background: var(--mist); color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.prose dl.contact-list { margin: 0; }
.prose dl.contact-list > div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.prose dl.contact-list dt { font-weight: 650; }
.prose dl.contact-list dd { margin: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); }
.foot-cta { background: linear-gradient(120deg, var(--blue-ink), var(--deep-2)); color: #fff; padding-block: clamp(44px, 5vw, 72px); }
.foot-cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; }
.h2-like { font-family: var(--f-serif); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.05; color: #fff; margin-bottom: 10px; }
.foot-cta p:not(.h2-like) { color: rgba(255,255,255,.85); }
.foot-cta .btn-primary { background: #fff; color: var(--deep); box-shadow: none; }
.foot-cta .btn-primary:hover { background: var(--ice); }
.foot-cta .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 860px) { .foot-cta .wrap { grid-template-columns: 1fr; } }
.site-footer > .wrap { padding-block: 64px 30px; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1.5fr 1fr 1fr .7fr; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand img { height: 56px; background: #fff; padding: 8px 12px; border-radius: 12px; box-sizing: content-box; }
.foot-slogan { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: #fff; margin: 16px 0 18px; }
.foot-h { font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: #8fd0ef; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--deep-fg); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-data li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .93rem; line-height: 1.5; }
.foot-data .ico, .foot-data svg { width: 18px; height: 18px; color: #8fd0ef; margin-top: 2px; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: var(--deep-muted); display: grid; gap: 8px; }
.foot-legal a { color: inherit; }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none; font-weight: 650; box-shadow: 0 14px 30px -12px rgba(16,90,45,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,168,85,.55); animation: pulse 2.8s 3s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } }
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); gap: 10px; }
.mobile-bar .btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: .95rem; }
.mobile-bar .btn:first-child { flex: 1.6; }
@media (max-width: 760px) { .mobile-bar { display: flex; } .wa-float { display: none; } body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Cookies ---------- */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.cc-banner[hidden] { display: none; }
.cc-inner { pointer-events: auto; max-width: 760px; margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 50px rgba(12,46,68,.22); padding: 20px 22px; display: grid; gap: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.cc-title { font-weight: 650; font-size: 1.05rem; margin: 0; }
.cc-text { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0; }
.cc-settings { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.cc-settings[hidden] { display: none; }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.cc-opt input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.cc-opt b { color: var(--ink); font-weight: 650; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-banner .btn { min-height: 44px; padding: 10px 18px; font-size: .93rem; box-shadow: none; }
@media (max-width: 560px) { .cc-inner { padding: 16px; } .cc-actions { display: grid; grid-template-columns: 1fr 1fr; } .cc-actions .cc-all { grid-column: 1 / -1; } .cc-banner .btn { width: 100%; padding-inline: 10px; } }

/* Modo página de aterrizaje */
body.lp .nav, body.lp .menu-btn, body.lp .crumbs { display: none !important; }
body.lp .site-header .header-cta { display: inline-flex !important; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-group > *, .h-anim .ln { opacity: 1 !important; transform: none !important; }
  .follicle path { stroke-dashoffset: 0 !important; }
  .ticker-track { transform: none; }
}
.doc .stack h2:not(.rv) { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); margin-top: 14px; }
.doc .stack blockquote { margin: 6px 0 0; padding-left: 20px; border-left: 2px solid var(--blue); }
