/* =========================================================
   VOLVER · Landing RD — Tratamiento residencial de adicciones
   Paleta: blanco predominante + rojo VOLVER + grises neutros
   ========================================================= */

:root {
  --red: #A11C22;          /* rojo del logotipo */
  --red-600: #8A161B;
  --red-050: #FBF1F1;
  --red-100: #F4DADB;
  --ink: #17191E;
  --ink-2: #3A3E46;
  --muted: #646A73;
  --line: #E7E5E2;
  --line-2: #D9D6D1;
  --paper: #FFFFFF;
  --mist: #EEEBE5;
  --stone: #EEECE8;
  --night: #121418;
  --night-2: #1B1E24;
  --wa: #1FA855;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23,25,30,.06), 0 2px 8px rgba(23,25,30,.05);
  --shadow: 0 2px 6px rgba(23,25,30,.05), 0 18px 40px -18px rgba(23,25,30,.22);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 72px;
  --sticky-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }

/* ---------- Tipografía ---------- */
h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08;
     font-size: clamp(2.05rem, 1.2rem + 2.5vw, 3.3rem); font-weight: 600; font-optical-sizing: auto; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 500; color: var(--red); }
h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12;
     font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.75rem); text-wrap: balance; }
h2 em { font-style: italic; color: var(--red); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.005em; }

.eyebrow, .kicker {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: #F1B9BB; }
.kicker { color: var(--ink-2); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-100); flex: none; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 + .section-intro { margin-top: 20px; }
.section-intro { color: var(--ink-2); font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 70ch; margin-bottom: 0; }
.section-head-split { max-width: none; display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 960px) { .section-head-split { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(161,28,34,.7); }
.btn-red:hover { background: var(--red-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-wa:hover { border-color: var(--wa); }
.btn-wa .ico-wa { color: var(--wa); }
.btn-wa-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-wa-dark:hover { border-color: var(--wa); background: rgba(31,168,85,.12); }
.btn-wa-dark .ico-wa { color: #4ADE80; }
.btn-xl { --h: 68px; padding: 0 26px; justify-content: flex-start; border-radius: 18px; font-size: 1.15rem; }
.btn-xl .ico { width: 26px; height: 26px; }
.btn-xl span { display: flex; flex-direction: column; text-align: left; }
.btn-xl small { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .82; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 42px; width: auto; }
.btn-header { --h: 46px; padding: 0 20px; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-hours { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.header-hours .ico { color: var(--red); }
@media (max-width: 899px) { .hide-md { display: none; } }
.show-sm { display: none; }
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .btn-header { padding: 0 16px; }
}

/* ---------- Barra de emergencia ---------- */
.emergency { background: var(--ink); color: #E9E7E3; font-size: .86rem; }
.emergency-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; }
.emergency p { margin: 0; text-align: center; }
.emergency strong { color: #fff; }
.emergency a { color: #fff; font-weight: 800; text-underline-offset: 3px; white-space: nowrap; }
.emergency a:hover { color: #F1B9BB; }
.em-sep { margin: 0 6px; opacity: .5; }
.em-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.6); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }

/* ---------- 1 · Hero (foto a sangre) ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.hero-bg { display: block; }
.hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1E2A17; }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { padding-block: 28px 32px; }
.hero-copy h1 { margin-bottom: 20px; }
.lead { font-size: clamp(1.03rem, .96rem + .35vw, 1.2rem); color: var(--ink-2); max-width: 56ch; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.micro { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); max-width: 54ch; margin: 0; }
.micro .ico { color: var(--red); margin-top: 3px; }
.link-form { color: var(--red); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 899px) {
  /* Video de fondo: ocupa la parte superior y se funde con el negro detrás del texto */
  .hero-bg { position: absolute; top: 0; left: 0; right: 0; height: 480px; overflow: hidden; }
  .hero-bg video { object-position: 51% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(18,20,24,.08) 0, rgba(18,20,24,.12) 110px, rgba(18,20,24,.76) 195px, rgba(18,20,24,.9) 330px, #121418 480px); }
  .hero-inner { z-index: 2; }
  .hero-copy { padding-block: 185px 32px; }
}
@media (max-width: 559px) { .cta-row .btn { width: 100%; } }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h) - 40px), 820px); justify-content: center; }
  .hero-bg { position: absolute; top: 0; bottom: 0; right: 0; left: 42%; }
  .hero-bg video { object-position: 51% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #121418 0%, #121418 42%, rgba(18,20,24,.92) 46%, rgba(18,20,24,.55) 51%, rgba(18,20,24,.15) 57%, rgba(18,20,24,0) 62%); }
  .hero-inner { z-index: 2; }
  .hero-copy { max-width: min(600px, 44vw); padding-block: 56px 64px; }
  .cta-row .btn-wa { background: rgba(255,255,255,.9); }
}

/* Cifras + franja de confianza */
.proof { background: var(--mist); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 26px 20px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-2); }
.stats li:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) { .stats li:nth-child(2n) { border-right: 1px solid var(--line-2); } .stats li:last-child { border-right: 0; } .stats li { padding-inline: 28px; } }
@media (max-width: 899px) { .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }
.stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--red); letter-spacing: -.02em; }
.stats span { font-size: .88rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; max-width: 24ch; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-block: 18px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.trust-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@media (max-width: 559px) { .trust-list { justify-content: flex-start; gap: 8px 18px; } }

/* ---------- 2 · Señales ---------- */
.signal-grid { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .signal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .signal-grid { grid-template-columns: repeat(4, 1fr); } }
.signal-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.signal-card::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; }
.signal-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.signal-num { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--red); margin-bottom: 18px; font-weight: 500; }
.signal-card h3 { margin-bottom: 10px; }
.signal-card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.signal-close {
  margin-top: 40px; display: grid; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 36px); background: var(--mist); border-radius: var(--radius-lg); border-left: 4px solid var(--red);
}
.signal-close p { margin: 0; font-size: 1.06rem; color: var(--ink-2); max-width: 70ch; }
.signal-close strong { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .signal-close { grid-template-columns: 1fr auto; } }
@media (max-width: 559px) { .signal-close .btn { width: 100%; white-space: normal; } }

/* ---------- 3 · Video ---------- */
.video-sec { background: var(--night); color: #E9E7E3; }
.video-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .video-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.video-copy h2 { color: #fff; margin-bottom: 20px; }
.video-copy h2 em { color: #E5484D; }
.video-copy > p { color: #BDBAB4; font-size: 1.05rem; }
.video-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.video-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.18); }
.video-who span { display: flex; flex-direction: column; font-size: .9rem; color: #A8A59F; }
.video-who strong { color: #fff; font-size: 1rem; }
.video-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-cover {
  position: absolute; inset: 0; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(18,20,24,.15), rgba(18,20,24,.65)), url("../img/sp-jardin-1536.webp") center / cover;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.video-cover .play {
  width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(161,28,34,.28); transition: transform .25s, box-shadow .25s;
}
.video-cover .play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-cover:hover .play { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(161,28,34,.22); }
.video-meta { font-size: .85rem; font-weight: 600; letter-spacing: .04em; background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 999px; }
.video-box.is-playing .video-cover { display: none; }
.video-fallback { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; background: rgba(18,20,24,.88); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: .92rem; }

/* ---------- 4 · Identidad / R narrativa ---------- */
.identity { background: var(--paper); overflow: hidden; }
.identity-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .identity-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: stretch; } }
.identity-mark { position: relative; margin: 0; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--night);
  min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 48px); }
@media (max-width: 959px) { .identity-mark { min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; } }
.identity-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2;
  transform: scale(1.06); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.identity.is-in .identity-photo { transform: none; }
.identity-mark::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,20,24,.35) 0%, rgba(18,20,24,0) 22%, rgba(18,20,24,0) 48%, rgba(18,20,24,.62) 74%, rgba(18,20,24,.9) 100%); }
.identity-emblem { position: absolute; top: clamp(22px, 3vw, 32px); left: clamp(22px, 3vw, 32px); width: 76px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.identity-mark .verse { margin: 0; padding: 4px 0 4px 20px; border-left: 2px solid #F1B9BB; max-width: 440px; }
.identity-mark .verse p { color: #fff; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.identity-mark .verse cite { color: rgba(255,255,255,.78); }
.emblem-wrap { position: relative; max-width: 440px; }
.emblem { position: relative; z-index: 1; width: 100%; transform: translateY(18px); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.identity.is-in .emblem { transform: none; opacity: 1; }
.verse { margin: 32px 0 0; padding: 24px 0 0 20px; border-left: 2px solid var(--red); max-width: 460px; }
.verse p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.verse cite { font-style: normal; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.identity-copy h2 { margin-bottom: 28px; }
.identity-copy > p { color: var(--ink-2); }

/* ---------- 5 · Modelo clínico ---------- */
.model { background: var(--mist); }
.model-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .model-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.model-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.model-ico { width: 48px; height: 48px; color: var(--red); margin-bottom: 26px; }
.model-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin-bottom: 12px; }
.model-card p { color: var(--ink-2); margin: 0; }

/* ---------- 6 · Metodología ---------- */
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23A11C22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks strong { color: var(--ink); }

/* ---------- 7 · Ruta clínica ---------- */
.route { background: var(--mist); }
.route-track { display: grid; gap: 0; position: relative; }
.center-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.center-img { aspect-ratio: 16/8; overflow: hidden; background: var(--stone); }
.center-img img { width: 100%; height: 100%; object-fit: cover; }
.center-body { padding: clamp(24px, 3vw, 36px); }
.center-step { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.center-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .86rem; font-weight: 600; color: var(--ink-2); background: var(--mist); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.route-link { display: grid; place-items: center; height: 64px; position: relative; color: var(--red); }
.route-link span { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(var(--red) 0 6px, transparent 6px 12px); }
.route-link .ico { position: relative; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--red); color: #fff; transform: rotate(90deg); }
@media (min-width: 900px) {
  .route-track { grid-template-columns: 1fr 96px 1fr; align-items: stretch; }
  .route-link { height: auto; }
  .route-link span { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); }
  .route-link .ico { transform: none; }
}
.route-close { margin: 36px auto 0; max-width: 62ch; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2); }

/* ---------- 8 · Instalaciones ---------- */
.facilities { background: var(--mist); }
.amenities { display: grid; gap: 10px 28px; margin-bottom: 56px; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .amenities { grid-template-columns: repeat(4, 1fr); } }
.amenities li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-2); font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.amenities li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 2px; background: var(--red); }
.gallery-block + .gallery-block { margin-top: 48px; }
.gallery-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 1.05rem; margin-bottom: 18px; }
.gallery-title .ico { color: var(--red); }
.gallery-title span { font-weight: 500; color: var(--muted); font-size: .92rem; padding-left: 12px; border-left: 1px solid var(--line-2); }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .8rem; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.94); padding: 6px 12px; border-radius: 999px; }
/* Mobile: carrusel swipe */
@media (max-width: 899px) {
  .gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 4px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 84%; aspect-ratio: 4/3; scroll-snap-align: start; }
}
/* Desktop: grid editorial */
@media (min-width: 900px) {
  .gallery-sp { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
  .gallery-sp .g-a { grid-row: span 2; }
  .gallery-sp .g-wide { grid-column: span 2; }
  .gallery-sd { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
  .gallery-sd .g-a { grid-row: span 2; }
}

/* ---------- 9 · Equipo ---------- */
.team { background: var(--night); color: #E9E7E3; }
.team-hero { position: relative; height: clamp(440px, 86vh, 900px); overflow: hidden; isolation: isolate; }
.team-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.team.is-in .team-hero-img { transform: scale(1); }
.team-hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(18,20,24,.0) 35%, rgba(18,20,24,.55) 68%, var(--night) 100%),
  linear-gradient(90deg, rgba(18,20,24,.35), rgba(18,20,24,0) 50%); }
.team-hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); }
.team-hero-copy h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); max-width: 24ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
@media (max-width: 699px) {
  .team-hero { height: auto; display: flex; flex-direction: column; }
  .team-hero-img { position: relative; height: auto; aspect-ratio: 1636/774; object-position: 50% 30%; }
  .team-hero-shade { background: linear-gradient(180deg, rgba(18,20,24,0) 30%, var(--night) 62%); }
  .team-hero-copy { position: relative; bottom: auto; margin-top: -48px; padding-bottom: 8px; }
}
.team-body { padding-block: clamp(36px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.team-intro { display: grid; gap: 24px; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 960px) { .team-intro { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; } }
.team-intro p { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: #C9C6C0; margin: 0; }
.team-intro strong { color: #fff; font-weight: 600; }
.team-disciplines { display: flex; flex-wrap: wrap; gap: 8px; }
.team-disciplines li { font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #E9E7E3; }

.team-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(4, 1fr); } .person-lead { grid-column: span 2; grid-row: span 2; } .team-grid .person-wide { grid-column: span 2; flex-direction: row; } .team-grid .person-wide img { width: 52%; height: auto; min-height: 100%; aspect-ratio: auto; flex: 0 0 52%; } .team-grid .person-wide .person-info { align-self: flex-end; padding: 22px 24px 24px; } .team-grid .person-wide h3 { font-size: 1.5rem; } }
.person { background: var(--night-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 11/10; object-fit: cover; object-position: 50% 20%; background: #2A2E35; }
.person-lead { flex-direction: row; }
@media (min-width: 1040px) { .person-lead { flex-direction: column; } .person-lead img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; object-position: 50% 15%; } .person-lead .person-info { padding: 22px 26px 26px; } .person-lead h3 { font-size: 1.9rem; } }
@media (max-width: 1039px) { .person-lead { flex-direction: column; } }
.avatar { aspect-ratio: 441/401; display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; color: rgba(255,255,255,.55);
  background: radial-gradient(circle at 70% 25%, rgba(161,28,34,.35), transparent 60%), linear-gradient(160deg, #262A31, #1B1E24); position: relative; }
.avatar::after { content: ""; position: absolute; right: 10%; bottom: 8%; width: 28%; aspect-ratio: 500/419; background: url("../img/emblema-r.png") center / contain no-repeat; opacity: .14; filter: grayscale(1) brightness(3); }
.person-info { padding: 18px 20px 20px; }
.person h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.person .role { color: #F1B9BB; font-weight: 600; font-size: .92rem; margin: 0 0 2px; }
.person .cred { color: #9C9993; font-size: .88rem; margin: 0; }
.person[data-pending] .role, .person[data-pending] .cred { color: #A19E98; font-style: italic; font-weight: 500; }
.person-cta { justify-content: center; align-items: flex-start; gap: 18px; padding: 28px; background: linear-gradient(135deg, var(--red) 0%, var(--red-600) 100%); border: 0; }
.person-cta p { font-family: var(--serif); font-size: clamp(1.3rem, 1.6vw, 1.6rem); line-height: 1.2; color: #fff; margin: 0; max-width: 18ch; }
.person-cta .btn-red { background: #fff; color: var(--red); box-shadow: none; }
.person-cta .btn-red:hover { background: var(--red-050); }
/* Mobile: carrusel horizontal */
@media (max-width: 699px) {
  .team-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .team-grid::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 74%; scroll-snap-align: start; }
}

/* ---------- 10 · Admisión ---------- */
.paths { display: grid; gap: 18px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; gap: 22px; } }
.path { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); background: #fff; position: relative; }
.path-label { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: var(--red-050); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 12px; }
.path p { color: var(--ink-2); margin: 0; }
.transfer { margin-top: 22px; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); display: grid; gap: 16px 48px; }
.transfer h3 { font-size: 1.05rem; }
.transfer p { margin: 0; color: var(--ink-2); }
@media (min-width: 960px) { .transfer { grid-template-columns: 220px 1fr auto; align-items: center; } }
@media (max-width: 559px) { .transfer .btn { width: 100%; white-space: normal; } }

/* ---------- 11 · Transparencia ---------- */
.pricing { background: var(--paper); border-top: 1px solid var(--line); }
.pricing-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.pricing-grid h2 { margin-bottom: 22px; }
.pricing-lead { color: var(--ink-2); font-size: 1.08rem; }
.key-msg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.key-msg span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; padding: 9px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.key-msg span:last-child { background: var(--red); }
.steps { counter-reset: st; display: grid; gap: 16px; }
.steps li { counter-increment: st; position: relative; padding: 28px 28px 28px 84px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.steps li::before { content: counter(st); position: absolute; left: 26px; top: 26px; width: 38px; height: 38px; border-radius: 50%; background: var(--red-050); color: var(--red); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; display: grid; place-items: center; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 559px) { .steps li { padding: 24px; } .steps li::before { position: static; margin-bottom: 14px; } }

/* ---------- 12 · Internacional ---------- */

/* ---------- 13 · FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: stretch; } }
.faq-grid > header { display: flex; flex-direction: column; }
.faq-card { margin-top: auto; background: var(--ink); color: #E9E7E3; border-radius: var(--radius-lg); padding: 26px 26px 24px; }
.faq-grid > header .faq-aside { margin-bottom: 28px; }
.faq-card p { margin: 0 0 16px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: #fff; }
.faq-card span { display: block; font-family: var(--sans); font-size: .88rem; color: #BDBAB4; margin-top: 6px; }
.faq-card .btn { width: 100%; }
.faq-grid h2 { margin-bottom: 18px; }
.faq-aside { color: var(--muted); }
.faq-aside a { color: var(--red); font-weight: 700; }
.accordion { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-item h3 { font-size: inherit; }
.acc-btn {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 20px 4px; text-align: left; cursor: pointer; color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: 1.06rem; line-height: 1.35;
}
.acc-btn .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: transform .3s, background-color .3s, color .3s; }
.acc-btn[aria-expanded="true"] .ico { transform: rotate(180deg); background: var(--red); color: #fff; }
.acc-btn:hover .ico { background: var(--red-050); color: var(--red); }
.acc-btn[aria-expanded="true"]:hover .ico { background: var(--red-600); color: #fff; }
.acc-panel { padding: 0 52px 22px 4px; color: var(--ink-2); }
.acc-panel p { margin: 0; }
.js .acc-panel[hidden] { display: none; }

/* ---------- 15 · Contacto ---------- */
.contact { position: relative; background: var(--night); color: #E9E7E3; padding-block: clamp(72px, 9vw, 128px); overflow: hidden; }
.contact-emblem { position: absolute; right: -6%; top: -8%; width: min(560px, 60vw); opacity: .06; filter: grayscale(1) brightness(4); pointer-events: none; }
.contact-grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 480px; gap: 80px; align-items: center; } }
.contact-copy h2 { color: #fff; margin-bottom: 22px; font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.9rem); }
.contact-copy > p { color: #BDBAB4; font-size: 1.08rem; max-width: 56ch; }
.contact-ctas { display: grid; gap: 12px; margin-top: 32px; max-width: 460px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form-card > h3 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; margin-bottom: 6px; }
.form-sub { color: var(--muted); font-size: .94rem; margin-bottom: 24px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23,25,30,.08); }
.field [aria-invalid="true"] { border-color: var(--red); }
.select { position: relative; }
.select .ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.radios { display: grid; gap: 10px; }
@media (min-width: 440px) { .radios { grid-template-columns: 1fr 1fr; } }
.radio { position: relative; display: block; cursor: pointer; margin: 0 !important; font-weight: 600 !important; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font-size: .93rem; transition: border-color .2s, background-color .2s; }
.radio .ico-wa { color: var(--wa); }
.radio input:checked + span { border-color: var(--red); background: var(--red-050); }
.radio input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.err { color: var(--red); font-size: .84rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.form-card button[type="submit"] { margin-top: 8px; white-space: normal; }
.form-micro { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin: 16px 0 0; line-height: 1.5; }
.form-micro .ico { color: var(--ink-2); margin-top: 2px; }
.form-success { text-align: center; padding: 24px 0; outline: none; }
.form-success > .ico { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--red-050); color: var(--red); margin-bottom: 14px; }
.form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); margin: 0; }
.form-success a { color: var(--red); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #08090B; border-top: 1px solid rgba(255,255,255,.12); color: #A8A59F; padding: 56px 0 40px; font-size: .92rem; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 20px; }
.footer-inst { max-width: 70ch; color: #C9C6C0; }
.footer-cols { display: grid; gap: 20px; margin: 28px 0; padding-block: 28px; border-block: 1px solid rgba(255,255,255,.08); }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols p { margin: 0; }
.footer-cols strong { color: #fff; }
.footer-cols a { color: #E9E7E3; text-decoration: none; display: inline-block; min-height: 44px; line-height: 44px; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin: 0; font-size: .84rem; }
.footer-legal a { color: #C9C6C0; }

/* ---------- Barra sticky móvil ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: none; grid-template-columns: 1fr 1fr;
  background: #fff; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--sticky-h); font-weight: 800; font-size: .95rem; text-decoration: none; }
.sb-call { background: var(--red); color: #fff; }
.sb-wa { background: var(--wa); color: #fff; }
.sticky-bar.is-visible { transform: none; }
@media (max-width: 899px) { .sticky-bar { display: grid; } body.has-sticky { padding-bottom: 0; } }

/* ---------- Consentimiento ---------- */
.consent {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin-inline: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45);
  padding: 18px 18px 16px; font-size: .9rem;
}
@media (min-width: 900px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; max-width: 400px; } }
.consent p { margin: 0 0 14px; color: var(--ink-2); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Revelado suave ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Primer paso: qué pasa cuando llama ---------- */
.first-step { background: var(--mist); }
.first-grid { display: grid; gap: 40px; }
@media (max-width: 959px) { .first-copy { order: -1; } }
@media (min-width: 960px) { .first-grid { grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: stretch; } .first-media { display: flex; flex-direction: column; } .first-media picture { flex: 1; display: flex; } .first-media img { height: 100%; min-height: 460px; aspect-ratio: auto; object-position: 50% 35%; } }
.first-media { position: relative; }
.first-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/3.4; object-fit: cover; object-position: 50% 25%; }
.reassure { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 960px) {
  .reassure { position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
}
.reassure li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.reassure .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; }
.first-copy h2 { margin-bottom: 18px; }
.call-steps { counter-reset: cs; margin: 32px 0 30px; display: grid; gap: 0; position: relative; }
.call-steps::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: var(--red-100); }
.call-steps li { counter-increment: cs; position: relative; padding: 0 0 22px 60px; }
.call-steps li:last-child { padding-bottom: 0; }
.call-steps li::before { content: counter(cs); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.call-steps h3 { font-size: 1.12rem; margin: 8px 0 6px; }
.call-steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Banda CTA intermedia ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-band-inner { display: grid; gap: 24px; padding-block: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); margin-bottom: 8px; color: #fff; }
.cta-band p { margin: 0; color: #F6D9DA; max-width: 60ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: #fff; color: var(--red); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.cta-band .btn-red:hover { background: var(--red-050); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cta-band :focus-visible { outline-color: #fff; }
@media (max-width: 559px) { .cta-band-actions .btn { width: 100%; } }

/* ---------- Testimonios ---------- */
.voices { background: var(--mist); }
.voice-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .voice-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.voice { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.voice-q { display: block; font-family: var(--serif); font-size: 4.5rem; line-height: 1; height: 40px; color: var(--red); margin-bottom: 10px; }
.voice blockquote { margin: 0 0 22px; flex: 1; }
.voice blockquote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--ink); margin: 0; }
.voice figcaption { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.voice figcaption span { color: var(--muted); }
/* Marca visible mientras el testimonio sea un ejemplo de formato */
.voice[data-placeholder]::after { content: "Ejemplo · reemplazar por testimonio autorizado"; position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); background: var(--mist); border: 1px dashed var(--line-2); padding: 4px 8px; border-radius: 6px; }
@media (max-width: 899px) {
  .voice-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .voice-grid::-webkit-scrollbar { display: none; }
  .voice { flex: 0 0 86%; scroll-snap-align: start; padding-top: 44px; }
}

/* ---------- Horarios en contacto ---------- */
.contact-hours { display: grid; gap: 10px; margin-top: 24px; font-size: .92rem; color: #BDBAB4; }
.contact-hours li { display: flex; align-items: center; gap: 10px; }
.contact-hours .ico { color: #F1B9BB; }
.contact-hours a { color: #fff; font-weight: 700; }

/* ---------- Reseñas de Google: cita destacada + tarjeta enlace ---------- */
.voice-feature { margin: 0 0 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
  display: grid; gap: 22px; }
.voice-feature blockquote { margin: 0; }
.voice-feature blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.35; color: var(--ink-2); max-width: 62ch; }
.voice-feature em { font-style: italic; color: var(--red); }
.voice-feature figcaption { display: flex; flex-direction: column; font-size: .92rem; white-space: nowrap; }
.voice-feature figcaption span, .voice figcaption span { color: var(--muted); }
.voice-google { justify-content: space-between; gap: 18px; text-decoration: none; background: var(--ink); border-color: var(--ink); color: #fff; transition: transform .25s, box-shadow .25s; }
.voice-google:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vg-label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F1B9BB; }
.voice-google strong { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.25; }
.vg-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; }

/* ---------- Reseñas de Google (estilo Google) ---------- */
:root { --g-blue: #1A73E8; --g-star: #FBBC04; --g-line: #DADCE0; --g-text: #202124; --g-muted: #5F6368; }
.g-stars { display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 1px; color: transparent;
  background: linear-gradient(90deg, var(--g-star) var(--pct, 100%), var(--g-line) var(--pct, 100%)); -webkit-background-clip: text; background-clip: text; }
.g-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; background: #fff; border: 1px solid var(--g-line); border-radius: 16px;
  padding: 22px clamp(20px, 3vw, 32px); margin-bottom: 22px; box-shadow: 0 1px 2px rgba(60,64,67,.15), 0 2px 6px rgba(60,64,67,.08); }
.g-brand { display: flex; align-items: center; gap: 14px; }
.g-logo { width: 40px; height: 40px; flex: none; }
.g-brand strong { display: block; font-size: 1.05rem; color: var(--g-text); }
.g-brand span { font-size: .86rem; color: var(--g-muted); }
.g-score { display: flex; align-items: center; gap: 14px; padding-left: 40px; border-left: 1px solid var(--g-line); }
.g-num { font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--g-text); letter-spacing: -.02em; }
.g-score .g-stars { font-size: 1.35rem; }
.g-count { display: block; font-size: .86rem; color: var(--g-muted); margin-top: 4px; }
.g-btn { margin-left: auto; background: var(--g-blue); color: #fff; border-radius: 999px; box-shadow: none; }
.g-btn:hover { background: #1765CC; }
@media (max-width: 759px) { .g-score { padding-left: 0; border-left: 0; } .g-btn { margin-left: 0; width: 100%; } }

.g-grid { display: grid; gap: 18px; }
/* 1 destacada (ancho completo) + 3 + 2: cuadrícula de 6 columnas sin huecos */
@media (min-width: 900px) {
  .g-grid { grid-template-columns: repeat(6, 1fr); }
  .g-grid > .g-review { grid-column: span 2; }
  .g-grid > .g-feature { grid-column: 1 / -1; }
}
.g-review { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-line); border-radius: 14px;
  padding: 22px 24px 18px; color: var(--g-text); transition: box-shadow .2s, transform .2s; }

.g-head { display: flex; align-items: center; gap: 12px; }
.g-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--av); color: #fff; font-weight: 600; font-size: 1.05rem; }
.g-who { display: flex; flex-direction: column; line-height: 1.3; }
.g-who strong { font-size: .97rem; font-weight: 600; }
.g-who span { font-size: .8rem; color: var(--g-muted); }
.g-mark { width: 22px; height: 22px; margin-left: auto; flex: none; }
.g-meta { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; font-size: .84rem; color: var(--g-muted); }
.g-review blockquote { margin: 14px 0 0; flex: 1; }
.g-meta + blockquote { margin-top: 0; }
.g-review blockquote p { margin: 0; font-size: .96rem; line-height: 1.6; color: #3C4043; }
.g-feature { padding: clamp(24px, 3vw, 36px); border-left: 4px solid var(--red); }
.g-feature blockquote p { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.4; color: var(--ink-2); max-width: 64ch; }
.g-feature em { font-style: italic; color: var(--red); }
.g-src { align-self: flex-start; font-size: .86rem; font-weight: 600; color: var(--g-blue); text-decoration: none; }
.g-src::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.g-src:hover { text-decoration: underline; }
.g-src:focus-visible { outline: none; }
.g-src:focus-visible::after { outline: 3px solid var(--g-blue); outline-offset: 2px; }
.g-cta { text-decoration: none; justify-content: center; align-items: flex-start; gap: 14px; background: #F8F9FA; }
.g-cta strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; color: var(--g-text); }
.g-cta-score { display: flex; align-items: center; gap: 8px; color: var(--g-text); }
.g-cta-score b { font-size: 1.2rem; font-weight: 600; }
.g-cta-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--g-blue); }
@media (max-width: 899px) {
  .g-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 4px; }
  .g-grid::-webkit-scrollbar { display: none; }
  .g-review { flex: 0 0 86%; scroll-snap-align: start; }
}
.g-tagline { margin: 0; padding-left: 40px; border-left: 1px solid var(--g-line); color: var(--g-muted); font-size: .98rem; max-width: 60ch; }
@media (max-width: 759px) { .g-tagline { padding-left: 0; border-left: 0; } }
.g-review:has(.g-src) { margin-top: 0; }
.g-review:has(.g-src) blockquote { margin-bottom: 16px; }
.g-review:has(.g-src):hover { box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15); transform: translateY(-2px); }

/* Sello de Google fundido en la reseña destacada */
.g-feature .g-head { flex-wrap: wrap; row-gap: 14px; }
.g-badge { margin-left: auto; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; background: #fff;
  border: 1px solid var(--g-line); border-radius: 999px; box-shadow: 0 1px 2px rgba(60,64,67,.12); }
.g-badge .g-logo { width: 30px; height: 30px; }
.g-badge strong { display: block; font-size: .95rem; line-height: 1.2; color: var(--g-text); }
.g-badge span { display: block; font-size: .78rem; color: var(--g-muted); }
@media (max-width: 559px) { .g-badge { margin-left: 0; } }

/* ---------- Alternancia de fondos tras reordenar módulos ----------
   Orden: hero W · cifras M · señales W · video N · modelo M · equipo N · metodología W · ruta M ·
   instalaciones W · reseñas M · CTA rojo · primer paso W · admisión M · costos W · internacional M ·
   preguntas W · identidad M · contacto N   (W = blanco, M = mist, N = night) */
.facilities { background: var(--paper); }
.first-step { background: var(--paper); }
.admission { background: var(--mist); }
.admission .transfer { background: #fff; border: 1px solid var(--line); }
.pricing { border-top: 0; }

/* ---------- Equipo: fotos desaturadas 70 %, recuperan color al pasar el mouse ----------
   Solo en dispositivos con puntero (hover). En pantallas táctiles se muestran a color. */
@media (hover: hover) and (pointer: fine) {
  .team-grid .person img { filter: saturate(.3); transition: filter .5s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .team-grid .person:hover img,
  .team-grid .person:focus-within img { filter: saturate(1); }
}
@media (prefers-reduced-motion: reduce) { .team-grid .person img { transition: none; } }


/* ---------- Licencia de Habilitación (MSP) ---------- */
.trust-list .trust-license { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.trust-list .trust-license .ico { width: 16px; height: 16px; color: var(--red); }
.license-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.45; color: var(--muted); }
.license-note .ico { flex: none; width: 20px; height: 20px; color: var(--red); margin-top: 1px; }
.license-note strong { color: var(--ink); }
.footer-license { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: #A19E98; margin: 0 0 10px; }
.footer-license .ico { flex: none; width: 16px; height: 16px; color: #F1B9BB; margin-top: 2px; }

/* ---------- Ficha descargable ---------- */
.download-card { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px; max-width: 460px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); color: #fff; text-decoration: none; background: rgba(255,255,255,.04); transition: background .25s, border-color .25s; }
.download-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.download-card strong { display: block; font-size: .98rem; }
.download-card small { display: block; color: #BDBAB4; font-size: .84rem; margin-top: 2px; }
.download-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.download-ico .ico { width: 20px; height: 20px; color: #fff; }

/* ---------- Tarjeta con semblanza ---------- */
.person-photo { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; min-height: 0; flex: 1 1 auto; position: relative; }
.person-photo img { display: block; width: 100%; height: 100%; }
.person-photo::after { content: "Ver semblanza"; position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .8rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.person-photo:hover::after, .person-photo:focus-visible::after { opacity: 1; transform: none; }
.person-photo:focus-visible { outline: 3px solid #F1B9BB; outline-offset: -3px; }
@media (min-width: 1040px) { .team-grid .person-lead > .person-photo { flex: 1 1 0; min-height: 0; } .team-grid .person-lead .person-photo img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 15%; } }
.bio-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.bio-link .ico { width: 16px; height: 16px; transition: transform .25s; }
.bio-link:hover .ico { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) { .team-grid .person-lead:hover .person-photo img { filter: saturate(1); } }

/* ---------- Modal de semblanza ---------- */
.bio-modal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden; }
.bio-modal::backdrop { background: rgba(18,20,24,.72); backdrop-filter: blur(3px); }
.bio-modal[open] { animation: bio-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes bio-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.bio-inner { position: relative; display: grid; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
@media (min-width: 860px) { .bio-inner { grid-template-columns: 340px 1fr; } }
.bio-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
.bio-close .ico { width: 20px; height: 20px; }
.bio-side { background: var(--night); color: #E9E7E3; display: flex; flex-direction: column; }
.bio-side img { width: 100%; aspect-ratio: 4/4.2; object-fit: cover; object-position: 50% 12%; }
@media (max-width: 859px) { .bio-side img { aspect-ratio: 16/11; object-position: 50% 18%; } }
.bio-contact { display: grid; gap: 4px; padding: 22px 22px 26px; }
.bio-contact-title { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F1B9BB; }
.bio-c { display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; line-height: 1.3; }
a.bio-c:hover { background: rgba(255,255,255,.07); }
.bio-c .ico { flex: none; width: 20px; height: 20px; color: #F1B9BB; }
.bio-c small { display: block; font-size: .72rem; font-weight: 500; color: #A19E98; }
.bio-addr { align-items: flex-start; font-weight: 500; color: #D6D3CD; }
.bio-main { padding: clamp(26px, 4vw, 48px); }
.bio-main h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin: 4px 0 8px; }
.bio-roles { color: var(--red); font-weight: 700; margin: 0 0 4px; }
.bio-cred { color: var(--muted); font-size: .88rem; margin: 0 0 22px; }
.bio-main > p { color: var(--ink-2); }
.bio-main h3 { font-family: var(--sans, inherit); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.bio-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bio-timeline li { padding-left: 18px; border-left: 2px solid var(--red); }
.bio-timeline strong { display: block; font-size: .98rem; }
.bio-timeline span { color: var(--muted); font-size: .9rem; }
.bio-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.bio-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bio-tags li { font-size: .84rem; font-weight: 600; color: var(--ink-2); background: var(--mist); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.bio-cta { margin-top: 30px; }
html.bio-lock { overflow: hidden; }
.license-badge { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 22px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; line-height: 1.35; color: var(--muted); }
.license-badge .ico { flex: none; width: 20px; height: 20px; color: var(--red); }
.license-badge strong { color: var(--ink); }
@media (max-width: 599px) { .license-badge { border-radius: var(--radius); align-items: flex-start; } }

/* ---------- Tarjetas de sede (contenido de la ficha informativa) ---------- */
.center-body h3 { margin-bottom: 4px; }
.center-sub { margin: 0 0 18px; color: var(--red); font-weight: 700; font-size: .95rem; }
.center-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.center-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.center-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--red); }
.form-confid { color: var(--ink); font-size: .9rem; }
.form-confid .ico { color: var(--red); }

/* ---------- Hero: botones de igual tamaño ---------- */
.hero .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 680px; }
@media (min-width: 560px) { .hero .cta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero .cta-row .btn { width: 100%; justify-content: center; white-space: nowrap; }
.hero .lead strong { color: var(--ink); font-weight: 700; }

/* ---------- Cifras: texto a la derecha del número ---------- */
.stats li { flex-direction: row; align-items: center; gap: 14px; }
.stats strong { flex: none; }
.stats span { max-width: 20ch; }

/* ---------- Cifras: misma fuente del H1 (Newsreader, corte display), algo más pequeñas ---------- */
.stats strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-variation-settings: "opsz" 72; font-optical-sizing: none; font-variant-numeric: lining-nums; letter-spacing: -.025em; line-height: 1; }
.stats span { max-width: none; text-wrap: balance; }

/* ---------- Franja de emergencia alineada a la derecha (escritorio) ---------- */

/* ---------- Íconos de botones un poco más grandes ---------- */
.btn .ico { width: 1.3em; height: 1.3em; }
.btn-xl .ico { width: 28px; height: 28px; }
.header-hours .ico { width: 1.25em; height: 1.25em; }
.hero-copy h1 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.95rem); }

/* ---------- Señales: tarjetas en degradado rojo, texto blanco (se oscurecen de 01 a 04) ---------- */
.signal-card { border: 0; color: #fff; background: linear-gradient(150deg, #C42B32 0%, var(--red) 100%); box-shadow: 0 18px 40px -26px rgba(161,28,34,.7); }
.signal-card:nth-child(2) { background: linear-gradient(150deg, #B3242B 0%, #95191F 100%); }
.signal-card:nth-child(3) { background: linear-gradient(150deg, #A11C22 0%, #82141A 100%); }
.signal-card:nth-child(4) { background: linear-gradient(150deg, #8F181E 0%, #6B0F14 100%); }
.signal-card::before { display: none; }
.signal-card:hover { border-color: transparent; box-shadow: 0 26px 50px -24px rgba(161,28,34,.75); }
.signal-num { color: rgba(255,255,255,.55); }
.signal-card h3 { color: #fff; }
.signal-card p { color: rgba(255,255,255,.86); }

/* ---------- Barra superior y header equilibrados ---------- */
.header-nav { display: none; }
@media (min-width: 1100px) {
  .header-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); margin-inline: auto; }
  .header-nav a { position: relative; padding: 6px 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: color .2s; }
  .header-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .header-nav a:hover, .header-nav a:focus-visible { color: var(--red); }
  .header-nav a:hover::after, .header-nav a:focus-visible::after { transform: scaleX(1); }
}

/* Cifras en celular: dos columnas iguales, con el número sobre el texto para evitar desborde */
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 559px) { .stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 16px; } }

/* ---------- Modelo clínico: ícono y título en la misma línea, íconos con trazo grueso ---------- */
.model-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 16px; align-items: center; align-content: start; }
.model-ico { width: 42px; height: 42px; margin-bottom: 0; }
.model-ico g { stroke-width: 3.6; }
.model-card h3 { margin-bottom: 0; font-size: 1.42rem; line-height: 1.2; }
.model-card p { grid-column: 1 / -1; }


/* ---------- Metodología: infografía de tres pilares que convergen en un plan ---------- */
.mx-cols { display: grid; gap: 10px; }
.mx-col { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mx-head { display: flex; align-items: center; gap: 14px; padding: 22px 22px 24px; color: #fff; background: linear-gradient(150deg, #C42B32 0%, var(--red) 100%); }
.mx-col:nth-of-type(2) .mx-head { background: linear-gradient(150deg, #A11C22 0%, #82141A 100%); }
.mx-col:nth-of-type(3) .mx-head { background: linear-gradient(150deg, #8F181E 0%, #6B0F14 100%); }
.mx-ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.mx-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mx-tag { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.mx-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; line-height: 1.2; color: #fff; }
.mx-head h3 span { display: block; margin-top: 3px; font-size: .95rem; font-style: italic; color: rgba(255,255,255,.82); }
.mx-list { flex: 1; display: flex; flex-direction: column; gap: 20px; list-style: none; margin: 0; padding: 26px 24px 28px; }
.mx-list li { position: relative; padding-left: 28px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.mx-list li::before { content: ""; position: absolute; left: 0; top: .34em; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--red); z-index: 1; }
.mx-list li:not(:last-child) { flex: 1 0 auto; }
.mx-list li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 1em; bottom: calc(-20px - .34em); width: 2px; background: var(--red-100); }
.mx-list strong { color: var(--ink); }
.mx-plus { justify-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); border: 2px solid var(--red-100); font-size: 1.5rem; font-weight: 700; line-height: 1; box-shadow: var(--shadow-sm); }
.mx-merge { display: block; width: 100%; height: 64px; }
.mx-merge path { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; opacity: .75; }
.mx-result { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--night); color: #E9E7E3; }
.mx-result-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.mx-result-ico .ico { width: 24px; height: 24px; }
.mx-result p { margin: 0; }
.mx-result small { display: block; font-size: .82rem; font-weight: 600; color: #F1B9BB; margin-bottom: 2px; }
.mx-result strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); line-height: 1.2; color: #fff; }
.mx-cta { margin: 0 24px 24px; padding: 18px 20px; background: var(--red-050); border-radius: var(--radius); }
.mx-cta p { margin: 0 0 6px; font-family: var(--serif); font-size: 1.06rem; line-height: 1.35; color: var(--ink); }
.mx-cta a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 800; font-size: .95rem; color: var(--red); text-decoration: none; }
.mx-cta a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1039px) { .mx-merge { height: 40px; } .mx-merge path { d: path("M600 0v64"); } }
@media (min-width: 1040px) {
  .mx-cols { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); gap: 0; align-items: stretch; }
  .mx-head { min-height: 150px; }
  .mx-plus { position: relative; z-index: 2; align-self: start; margin-top: 53px; }
}
@media (min-width: 1040px) and (max-width: 1279px) { .mx-head { min-height: 190px; } .mx-plus { margin-top: 73px; } }

/* ---------- Admisión: vías con jerarquía visual ---------- */
.path { overflow: hidden; border: 0; box-shadow: var(--shadow-sm); }
.path-num { position: absolute; right: 22px; top: 2px; font-family: var(--serif); font-weight: 600; font-size: clamp(6rem, 5rem + 3vw, 8.5rem); line-height: 1; color: var(--red-050); pointer-events: none; }
.path > :not(.path-num) { position: relative; }
.path-ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--red); }
.path-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.path-crisis { color: #fff; background: linear-gradient(150deg, #B3242B 0%, #6B0F14 100%); box-shadow: 0 22px 44px -26px rgba(107,15,20,.8); }
.path-crisis .path-num { color: rgba(255,255,255,.1); }
.path-crisis .path-ico { background: rgba(255,255,255,.16); }
.path-crisis .path-label { color: #fff; background: rgba(255,255,255,.16); }
.path-crisis h3 { color: #fff; }
.path-crisis p { color: rgba(255,255,255,.9); }
.admission .transfer { border: 0; background: var(--night); color: #E9E7E3; }
.transfer-title { display: flex; align-items: center; gap: 14px; }
.transfer-title .path-ico { margin-bottom: 0; }
.transfer h3, .admission .transfer h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.admission .transfer p { color: #D6D3CD; }
.admission .transfer .btn { background: #fff; color: var(--red); box-shadow: none; }
.admission .transfer .btn:hover { background: var(--red-050); }
@media (min-width: 960px) { .transfer { grid-template-columns: 250px 1fr auto; } }
.path-num { top: 12px; }
.path .path-label { margin-bottom: 10px; }
@media (min-width: 960px) and (max-width: 1099px) { .transfer { grid-template-columns: 1fr auto; } .transfer p { grid-column: 1 / -1; grid-row: 2; } }
.path-num { color: #E3A9AC; }
.path-crisis .path-num { color: rgba(255,255,255,.26); }
.form-confid { font-size: .84rem; color: var(--ink-2); }
.form-confid a { color: var(--red); font-weight: 700; }


/* ---------- Video vertical ---------- */
.video-grid { justify-content: center; }
.video-frame { position: relative; justify-self: center; isolation: isolate; }
.video-frame::before { content: ""; position: absolute; inset: 8% -22% ; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(161,28,34,.5), transparent); }
.video-box { width: min(360px, calc(100vw - 2 * var(--gutter)), calc(82vh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 28px; border: 1px solid rgba(255,255,255,.14); }
.video-box video { height: 100%; object-fit: cover; }
.video-cta { margin-top: 26px; }
@media (min-width: 960px) { .video-grid { grid-template-columns: minmax(0, 560px) auto; gap: clamp(56px, 8vw, 110px); } }

/* ---------- Reseña temprana ---------- */
.proof-quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0; padding: 16px 0 20px; border-top: 1px solid var(--line-2); text-align: center; }
.proof-quote svg { flex: none; width: 22px; height: 22px; }
.proof-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.3; color: var(--ink); }
.proof-quote figcaption { font-size: .84rem; font-weight: 600; color: var(--muted); }

/* ---------- Internacional dentro de la ruta clínica ---------- */
.intl-card { display: grid; gap: 18px 40px; align-items: center; margin-top: 28px; padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.intl-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: 8px; }
.intl-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (min-width: 900px) { .intl-card { grid-template-columns: 1fr auto; } }
@media (max-width: 559px) { .intl-card .btn { width: 100%; } }

/* ---------- Fondos tras el nuevo orden ---------- */
.faq { background: var(--mist); }
.faq .acc-btn .ico { background: #fff; }
.identity { background: var(--paper); }

/* ---------- Identidad corta ---------- */
.identity-grid { align-items: center; }
.identity-mark { min-height: 400px; }
.identity-copy h2 { margin-bottom: 18px; }
@media (max-width: 959px) { .identity-mark { min-height: 0; aspect-ratio: 16 / 11; max-height: 420px; } }

/* ---------- Contacto: direcciones ---------- */
.contact-hours li { align-items: flex-start; }
.contact-hours li .ico { margin-top: 2px; }
.contact-hours strong { color: #fff; }

/* ---------- Video vertical: portada real y sin desborde ---------- */
.video-sec { overflow: hidden; }
.video-cover { background: linear-gradient(180deg, rgba(18,20,24,.05) 45%, rgba(18,20,24,.55) 100%), url("../img/video-la-r-poster.webp") center / cover; }
.video-cover { justify-content: flex-end; padding-bottom: 11%; }
.faq .acc-btn[aria-expanded="true"] .ico { background: var(--red); color: #fff; }
.proof-quote figcaption a { color: #1A73E8; font-weight: 700; }


/* ---------- Galería de instalaciones: clic en cada panel ---------- */
.g-open { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.g-open:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.g-count { position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(18,20,24,.78); color: #fff; font: inherit; font-size: .78rem; font-weight: 700; }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18,20,24,.96); color: #fff; overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 64px clamp(12px, 7vw, 96px) 0; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb::backdrop { background: rgba(18,20,24,.96); }
.lb-img { width: 100%; height: 100%; object-fit: contain; }
.lb-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0; padding: 14px 16px 18px; font-size: .95rem; text-align: center; }
.lb-title { font-weight: 700; }
.lb-num { color: #C9C6C0; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-btn[hidden] { display: none; }
.lb-btn .ico { width: 22px; height: 22px; }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev .ico { transform: scaleX(-1); }
@media (max-width: 699px) {
  .lb[open] { padding-inline: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-bar { padding: 14px 70px 18px; min-height: 64px; align-content: center; }
}

/* ---------- Pasarelas en móvil: controles superpuestos ---------- */
.car-wrap { position: relative; }
.car-wrap .person, .car-wrap .gallery figure, .car-wrap .g-review { scroll-snap-align: center; }
.car-btn { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(18,20,24,.8); color: #fff; font: inherit; font-size: .82rem; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transform: translateY(-50%); cursor: pointer; transition: opacity .25s; }
.car-btn::after { content: ""; position: absolute; inset: -4px; }
.car-btn[hidden] { display: none; }
.car-btn.is-off { opacity: 0; pointer-events: none; }
.car-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.car-btn .ico { width: 18px; height: 18px; }
.car-prev { left: calc(var(--gutter) * -1 + 3px); }
.car-next { right: calc(var(--gutter) * -1 + 3px); }
.car-prev .ico { transform: scaleX(-1); }
.car-label { display: none; }
.car-wrap:not(.is-used) .car-label { display: inline; }
.car-wrap:not(.is-used) .car-next { width: auto; padding: 0 11px 0 14px; animation: car-nudge 1.5s ease-in-out 4; }
.car-bottom .car-btn { top: auto; bottom: 18px; transform: none; }
.car-bottom:not(.is-used) .car-next { animation-name: car-nudge-b; }
@keyframes car-nudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(-6px, -50%); } }
@keyframes car-nudge-b { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* ---------- Hero sobre fondo negro ---------- */
.hero { background: var(--night); color: #E9E7E3; }
.hero h1 { color: #fff; }
.hero h1 em { color: #E5484D; }
.hero .kicker { color: #D6D3CD; }
.hero .lead { color: #D6D3CD; }
.hero .lead strong { color: #fff; }
.hero .micro { color: #BDBAB4; }
.hero .micro strong { color: #fff; }
.hero .micro .ico { color: #F1B9BB; }
.hero .link-form { color: #F1B9BB; }
.hero .cta-row .btn-wa { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.hero .cta-row .btn-wa:hover { background: rgba(31,168,85,.12); border-color: var(--wa); }
.hero .cta-row .btn-wa .ico-wa { color: #4ADE80; }
.hero :focus-visible { outline-color: #fff; }

.hero .kicker .dot { box-shadow: 0 0 0 4px rgba(229,72,77,.28); }

/* ---------- Botón volver arriba ---------- */
.to-top { position: fixed; right: 16px; bottom: calc(var(--sticky-h) + 14px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(18,20,24,.88); color: #fff; box-shadow: 0 8px 22px -8px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.to-top .ico { width: 22px; height: 22px; transform: rotate(-90deg); }
.consent:not([hidden]) ~ .to-top { display: none; }
@media (min-width: 900px) { .to-top { right: 24px; bottom: 24px; } }

/* ---------- Consulta exploratoria (estilo editorial) ---------- */
.consult-grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .consult-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.consult-intro h2 { margin-bottom: 20px; font-size: clamp(2.5rem, 1.7rem + 3vw, 4rem); line-height: 1.02; }
.consult-intro .section-intro { margin: 0; }
.consult-facts { margin: 36px 0 0; border-top: 1px solid var(--ink); }
.consult-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.consult-facts dt { display: flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.consult-facts dt .ico { flex: none; width: 18px; height: 18px; color: var(--red); }
.consult-facts dd { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 559px) { .consult-facts > div { grid-template-columns: 1fr; } }
.consult-options { display: grid; gap: 20px; }
@media (min-width: 640px) { .consult-options { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.consult-card { display: flex; flex-direction: column; padding: 26px 26px 26px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: #fff; }
.consult-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.consult-num { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--red); }
.consult-tag { padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.consult-card h3 { margin: 0; font-size: 1.12rem; }
@media (min-width: 640px) { .consult-card h3 { min-height: 2.6em; } }
.consult-price { margin: 18px 0 24px; font-family: var(--serif); font-size: clamp(2.8rem, 2.2rem + 1.6vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.consult-price span { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.consult-list { flex: 1; display: grid; align-content: start; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.consult-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.consult-list .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.consult-card .btn { width: 100%; justify-content: center; height: auto; min-height: var(--h); padding-block: 10px; white-space: normal; text-align: center; line-height: 1.25; }
.consult-card-dark { background: var(--night); border-color: var(--night); box-shadow: 0 30px 60px -34px rgba(18,20,24,.75); }
.consult-card-dark .consult-card-top { border-color: rgba(255,255,255,.14); }
.consult-card-dark .consult-num, .consult-card-dark .consult-list .ico { color: #E5484D; }
.consult-card-dark h3, .consult-card-dark .consult-price { color: #fff; }
.consult-card-dark .consult-price span { color: rgba(255,255,255,.62); }
.consult-card-dark .consult-list li { color: rgba(255,255,255,.84); }
.consult-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }

/* Campo trampa anti-bots del formulario (Formspree _gotcha) */
#lead-form .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
