/* =========================================================
   A+Sports · Prototipo v3 · Marca A+Sports
   ---------------------------------------------------------
   Colores de marca: blanco de fondo, azul A+Sports (#0099CC)
   y gris del logo (#727473). El azul profundo (#007FAA) se usa
   en botones y textos pequeños para cumplir el contraste AA.
   Las «pantallas» técnicas (esqueleto, presiones, plantilla)
   van en azul noche para mantener el toque de laboratorio.
   1. Tokens  2. Base  3. Tipografía  4. Rejilla  5. Secciones
   6. Cabecera  7. Botones  8. Héroe y pantallas  9. Bloques
   10. Componentes  11. Pie y flotantes  12. Áreas  13. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0099CC; --blue-ink: #007FAA; --blue-deep: #006E94; --blue-soft: #E6F5FB; --blue-light: #3FC1EC;
  --grey: #727473; --grey-2: #A9ACAB; --grey-soft: #F3F6F7; --line: #E3E8EA; --line-2: #CFD6D9;
  --ink: #1D2428; --ink-mu: #5F676C; --white: #FFFFFF;
  --night: #0D2230; --night-2: #13303F; --night-ln: rgba(255,255,255,.1); --night-ln2: rgba(255,255,255,.18); --night-tx: #E8F1F5; --night-mu: #8FB3C4;
  --wa: #25D366; --amber: #B26A00;
  /* Áreas: cada una tiene su color dentro de la gama fría de la marca.
     -ink: textos y botones (contraste AA sobre blanco) · -night: pantallas oscuras */
  --epi: #14A38E; --epi-ink: #0B7466; --epi-deep: #095E53; --epi-soft: #E3F4F0; --epi-glow: #4FE0C4; --epi-night: #062A28;
  --gen: #6366F1; --gen-ink: #4F46E5; --gen-deep: #4338CA; --gen-soft: #EEEEFD; --gen-glow: #A5B4FC; --gen-night: #17143F;
  /* Color activo (--ac): azul en toda la web; .area-epi y .area-gen lo cambian */
  --ac: var(--blue); --ac-ink: var(--blue-ink); --ac-deep: var(--blue-deep); --ac-soft: var(--blue-soft); --ac-glow: var(--blue-light); --ac-night: var(--night);
  --h-blue: #2a5cff; --h-green: #1dff9e; --h-yellow: #ffd31a; --h-red: #ff4a2a;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-logo: "Archivo", "Arial Black", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --fs-h1: clamp(40px, 5.6vw, 76px); --fs-h1p: clamp(36px, 4.6vw, 60px); --fs-h2: clamp(30px, 3.6vw, 48px);
  --s0: 8px; --s1: 16px; --s2: 24px; --s3: 40px; --s4: 64px; --s5: 104px;
  --sec: clamp(72px, 8vw, 112px);
  --max: 1240px; --pad: 24px; --gut: 24px;
  --r: 18px; --r-sm: 12px; --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 1px 2px rgba(13,34,48,.04), 0 12px 32px -12px rgba(13,34,48,.14);
  --shadow-lg: 0 30px 70px -30px rgba(13,34,48,.35);
}

.area-bio { --ac: var(--blue); --ac-ink: var(--blue-ink); --ac-deep: var(--blue-deep); --ac-soft: var(--blue-soft); --ac-glow: var(--blue-light); --ac-night: var(--night); }
.area-epi { --ac: var(--epi); --ac-ink: var(--epi-ink); --ac-deep: var(--epi-deep); --ac-soft: var(--epi-soft); --ac-glow: var(--epi-glow); --ac-night: var(--epi-night); }
.area-gen { --ac: var(--gen); --ac-ink: var(--gen-ink); --ac-deep: var(--gen-deep); --ac-soft: var(--gen-soft); --ac-glow: var(--gen-glow); --ac-night: var(--gen-night); }

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--ac-ink); }
img, svg, canvas { display: block; }
::selection { background: var(--ac); color: #fff; }
:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; border-radius: 6px; }
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s1); top: -60px; z-index: 300; background: var(--ac-ink); color: #fff; padding: 10px 16px; font-weight: 600; border-radius: 999px; text-decoration: none; }
.skip:focus { top: var(--s1); }
kbd { font: 600 11px var(--f-mono); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3 { font-family: var(--f-body); color: var(--ink); letter-spacing: -.025em; }
h1 { font-size: var(--fs-h1); line-height: 1.04; font-weight: 800; margin: var(--s2) 0; }
.page-hero h1 { font-size: var(--fs-h1p); }
h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 700; margin: var(--s1) 0 var(--s2); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin: 0 0 6px; }
p { margin: 0 0 var(--s1); }
.lead { font-size: 19px; color: var(--ink-mu); max-width: 32em; margin: 0 0 var(--s3); }
.blue { color: var(--ac); }
.sport { font-family: var(--f-logo); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.muted { color: var(--ink-mu); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); }
.kicker .sn { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ac-soft); color: var(--ac-ink); font-size: 11.5px; letter-spacing: .02em; }
.mono { font-family: var(--f-mono); }

/* ---------- 4. Rejilla (12 columnas · 6/6 y 5/7) ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 880px; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: var(--s3); align-items: center; }
.split > * { grid-column: span 6; min-width: 0; }
.split.s57 > :first-child { grid-column: 1 / span 5; padding-right: var(--s2); }
.split.s57 > :last-child { grid-column: 6 / span 7; }
.split.top { align-items: start; }
.grid { display: grid; gap: var(--s2); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.grid-overlay { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.grid-overlay .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); }
.grid-overlay i { background: rgba(0,153,204,.07); border-left: 1px solid rgba(0,153,204,.35); border-right: 1px solid rgba(0,153,204,.35); }

/* ---------- 5. Secciones y ritmo ---------- */
section { padding: var(--sec) 0; position: relative; }
.soft { background: var(--grey-soft); }
.band { background: var(--blue); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: var(--night); }
.band .kicker .sn { background: rgba(13,34,48,.12); color: var(--night); }
.sec-head { max-width: 760px; margin-bottom: var(--s4); }
.sec-head p { color: var(--ink-mu); font-size: 18px; margin: 0; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.sticky { position: sticky; top: 120px; margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(color-mix(in srgb, var(--ac) 20%, transparent) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(70% 70% at 80% 30%, #000, transparent 75%); }

/* ---------- 6. Cabecera y navegación ---------- */
.proto-bar { background: var(--night); color: var(--night-mu); font: 500 12px/1.45 var(--f-body); text-align: center; padding: 7px var(--s1); }
.proto-bar strong { color: #fff; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90; background: var(--ac); }
header.site { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(13,34,48,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: var(--s1); max-width: 1340px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-svg { height: 50px; width: auto; overflow: visible; --logo-ink: #717372; }
.logo-light .logo-svg { --logo-ink: #fff; }
.lg-c { fill: var(--blue); }
.lg-a { fill: #fff; font-family: var(--f-logo); font-weight: 900; font-size: 39px; letter-spacing: -2px; }
.lg-s { fill: var(--grey); font-family: var(--f-logo); font-weight: 900; font-style: italic; font-size: 46px; letter-spacing: -2.4px; }
.logo-light .lg-s { fill: #C9CDCC; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); padding: 10px 10px; border-radius: 999px; background: none; border: 0; font: 500 14.5px/1 var(--f-body); cursor: pointer; white-space: nowrap; transition: color .2s, background .2s; }
.menu a:hover, .menu button:hover { background: var(--grey-soft); }
.menu .active { color: var(--ac-ink); font-weight: 600; }
.menu .caret { width: 14px; height: 14px; transition: transform .25s; }
.dropdown { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.has-dd.open .dropdown { opacity: 1; transform: none; pointer-events: auto; }
.has-dd.open .caret { transform: rotate(180deg); }
/* Puente invisible entre el botón y el desplegable: el ratón no «cae» en el hueco */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; white-space: normal; }
.dropdown a small { color: var(--ink-mu); font-weight: 400; font-size: 13.5px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang a { font: 600 12.5px/1 var(--f-body); padding: 10px 11px; text-decoration: none; color: var(--ink-mu); }
.lang a.on { color: #fff; background: var(--ink); }
/* En la cabecera, solo el icono: el número está en la barra móvil, el botón flotante y el pie */
.nav-phone { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--ink); text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; flex: none; }
.nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.nav-phone:hover { background: var(--grey-soft); }
.nav-phone svg { width: 18px; height: 18px; color: var(--ac); }
.burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: #fff; padding: 18px var(--s2) 40px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { animation: fadein .25s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s1); }
.mobile-menu .close { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.mobile-menu > a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 21px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .grp { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); margin: var(--s2) 0 2px; }
.mobile-menu .lang-m { margin-top: var(--s2); }
.mobile-menu .btn { margin-top: var(--s2); width: 100%; }
.crumbs ol { list-style: none; margin: 0 0 var(--s2); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-mu); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--grey-2); }
.crumbs a { color: var(--ink-mu); text-decoration: none; }
.crumbs a:hover { color: var(--ac-ink); }
.rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 60; display: none; flex-direction: column; gap: 4px; }
.rail a { display: flex; align-items: center; gap: 8px; font: 600 11.5px var(--f-body); color: var(--grey); text-decoration: none; padding: 4px 0; opacity: .7; }
.rail a::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: width .3s var(--ease); }
.rail a span { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; white-space: nowrap; }
.rail:hover a span { opacity: 1; transform: none; }
.rail a.on { color: var(--ac); opacity: 1; }
.rail a.on::before { width: 26px; }

/* ---------- 7. Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ac-ink); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ac-ink) 70%, transparent); }
.btn-primary:hover { background: var(--ac-deep); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-light:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ac-deep); }
.btn-white:hover { background: var(--night); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 12px 18px; font-size: 14.5px; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ac-ink); background: var(--ac-soft); padding: 7px 14px; border-radius: 999px; }
.chip.grey { color: var(--ink-mu); background: var(--grey-soft); }
.chip svg { width: 16px; height: 16px; }

/* ---------- 8. Héroe y pantallas ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero { padding: 56px 0 var(--s4); }
.page-hero { padding: 48px 0 var(--s4); }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ac-ink); background: var(--ac-soft); padding: 7px 14px 7px 10px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; background: var(--ac); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 18%, transparent); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.trust .stars { color: #F5B301; letter-spacing: 1px; font-size: 18px; }
.trust b { font-weight: 700; }
.trust small { display: block; color: var(--ink-mu); font-size: 13.5px; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--night-2); }
.avatars span:first-child { margin-left: 0; background: var(--ac); }
.avatars span:nth-child(2) { background: var(--grey); }
/* Pantallas técnicas */
.screen { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 24px; background: radial-gradient(80% 70% at 50% 45%, color-mix(in srgb, var(--ac-glow) 13%, transparent), transparent 70%), var(--ac-night); overflow: hidden; display: grid; place-items: center; color: var(--night-tx); box-shadow: var(--shadow-lg); }
.screen.tall { aspect-ratio: 1 / 1.06; }
.screen.wide { aspect-ratio: 16 / 10; }
.screen > svg { width: 84%; height: 84%; }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--night-ln) 1px, transparent 1px), linear-gradient(90deg, var(--night-ln) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 85%); opacity: .5; }
.hud { position: absolute; font: 500 11px var(--f-mono); letter-spacing: .06em; color: var(--night-mu); text-transform: uppercase; z-index: 3; }
.hud b { color: #fff; font-weight: 600; }
.hud.h-tl { top: 16px; left: 20px; } .hud.h-tr { top: 16px; right: 20px; text-align: right; }
.hud.h-bl { bottom: 16px; left: 20px; } .hud.h-br { bottom: 16px; right: 20px; text-align: right; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: #ff6b5a; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff6b5a; animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.readouts { position: absolute; right: 16px; top: 46px; display: grid; gap: 8px; z-index: 3; }
.readout { background: color-mix(in srgb, var(--ac-night) 78%, transparent); border: 1px solid var(--night-ln2); border-left: 3px solid var(--ac-glow); border-radius: 10px; padding: 8px 12px; min-width: 146px; backdrop-filter: blur(4px); }
.readout small { display: block; font: 500 10px var(--f-mono); letter-spacing: .08em; color: var(--night-mu); text-transform: uppercase; }
.readout b { font: 600 20px/1.2 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; }
.readout b em { font-style: normal; color: var(--night-mu); font-size: 12px; margin-left: 2px; }
.floating { position: absolute; z-index: 4; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; }
.floating b { display: block; font-size: 16px; }
.floating .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ac-soft); color: var(--ac-ink); font-weight: 800; }
.draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawin 2.2s var(--ease) forwards; }
@keyframes drawin { to { stroke-dashoffset: 0; } }
.scrolly:not(.in) .draw { animation-play-state: paused; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.heat { animation: breathe 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.heat.h2 { animation-delay: -1s; } .heat.h3 { animation-delay: -2s; }
@keyframes breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }

/* ---------- 9. Bloques ---------- */
/* Banda de cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.stat b { display: block; font-size: clamp(38px, 4.4vw, 58px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--night); }
.band.stats-band { padding: var(--s4) 0; }
/* Mapa del dolor */
.pain-figure { position: relative; width: 100%; max-width: 290px; aspect-ratio: 240 / 520; margin: 0 auto; }
.pain-figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hotspot { position: absolute; left: var(--x); top: var(--y); width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.hotspot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ac); animation: hs 2.4s ease-out infinite; }
.hotspot::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--ac); transition: transform .25s var(--ease), background .25s; }
.hotspot:hover::after, .hotspot.on::after { transform: scale(1.55); background: var(--ac-deep); }
.hotspot.on::before { animation: none; transform: scale(1.3); border-color: var(--ac-deep); }
.hotspot span { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; white-space: nowrap; color: #fff; background: var(--ink); padding: 5px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.hotspot.l span { left: auto; right: calc(100% + 6px); }
.hotspot:hover span, .hotspot.on span { opacity: 1; }
@keyframes hs { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow); }
.pain-step { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.pain-zone { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0 0 var(--s1); color: var(--ac); }
.pain:not(.picked) .pain-zone { color: var(--line-2); }
.pain-text { color: var(--ink-mu); min-height: 3.3em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s1) 0 var(--s3); }
.chip-btn { font: 500 14.5px/1 var(--f-body); padding: 11px 15px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--ac); }
.chip-btn[aria-pressed="true"] { background: var(--ac); border-color: var(--ac); color: #fff; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--grey-soft); border-radius: 999px; margin-bottom: var(--s3); }
.seg button { font: 500 14.5px/1 var(--f-body); padding: 11px 16px; background: none; border: 0; border-radius: 999px; color: var(--ink-mu); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(13,34,48,.12); }
/* Método con panel fijo */
.scrolly { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.stage { grid-column: 6 / span 7; grid-row: 1; position: sticky; top: 110px; height: calc(100vh - 150px); min-height: 440px; max-height: 620px; border-radius: 24px; background: radial-gradient(80% 70% at 50% 45%, rgba(63,193,236,.1), transparent 70%), var(--night); overflow: hidden; box-shadow: var(--shadow-lg); }
.steps-list { grid-column: 1 / span 5; grid-row: 1; list-style: none; margin: 0; padding: 0 var(--s2) 0 0; }
.sstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: var(--s3) 0; opacity: .35; transition: opacity .45s var(--ease); }
.sstep:first-child { min-height: 50vh; justify-content: flex-start; padding-top: var(--s2); }
.sstep.on { opacity: 1; }
.sstep .ph { display: inline-flex; align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); background: var(--ac-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: var(--s1); }
.sstep h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
.sstep p { color: var(--ink-mu); font-size: 18px; max-width: 26em; margin: 0; }
.stage-hud { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 16px 22px; font: 600 11.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night-mu); z-index: 2; }
.stage-hud b { color: #fff; }
.stage-hud [data-stage-ph] { color: var(--ac-glow); }
.stage-panel { position: absolute; inset: 52px 22px 48px; display: none; place-items: center; }
.stage-panel.on { display: grid; animation: fadein .5s var(--ease); }
.stage-panel svg { width: 100%; height: 100%; max-width: 560px; }
.stage-cap { position: absolute; left: 22px; right: 22px; bottom: 16px; display: flex; justify-content: space-between; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-mu); z-index: 2; }
.stage-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--night-ln); }
.stage-bar i { display: block; height: 100%; width: 0; background: var(--ac-glow); }
/* Plantilla despiezada */
.layers { position: relative; height: 500px; }
.layer { position: absolute; left: 40%; top: 50%; width: 62%; max-width: 400px; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-28deg); transition: transform 1.4s var(--ease); }
.layer svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 20px rgba(13,34,48,.25)); }
.layers.in .layer.l1 { transform: translate(-50%, calc(-50% + 92px)) rotateX(58deg) rotateZ(-28deg); }
.layers.in .layer.l3 { transform: translate(-50%, calc(-50% - 92px)) rotateX(58deg) rotateZ(-28deg); transition-delay: .1s; }
.layer-label { position: absolute; right: 0; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .8s var(--ease) 1s; }
.layer-label::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--ac); }
.layers.in .layer-label { opacity: 1; }
/* Línea de tiempo del servicio */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); position: relative; }
.flow::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--ac) 0 8px, transparent 8px 14px); }
.flow-step { position: relative; text-align: center; }
.flow-step .n { width: 64px; height: 64px; margin: 0 auto var(--s2); border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ac); color: var(--ac-ink); position: relative; z-index: 1; }
.flow-step .n svg { width: 28px; height: 28px; }
.flow-step.hl .n { background: var(--ac); color: #fff; }
.flow-step b { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-ink); }
.flow-step h3 { margin: 6px 0 4px; }
.flow-step p { font-size: 15px; color: var(--ink-mu); margin: 0; }
/* Comparador */
.compare { position: relative; border-radius: 24px; overflow: hidden; background: var(--night); aspect-ratio: 16 / 10; --pos: 50%; user-select: none; box-shadow: var(--shadow-lg); }
.compare .side { position: absolute; inset: 0; display: grid; place-items: center; }
.compare .side svg { height: 86%; width: auto; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); background: var(--night); }
.compare .line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-1.5px); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ac-ink); display: grid; place-items: center; font-weight: 800; pointer-events: none; box-shadow: 0 0 0 8px rgba(255,255,255,.18); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .lbl { position: absolute; top: 16px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; background: var(--ac); }
.compare .legend { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-mu); pointer-events: none; }
.heatbar { width: 120px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--h-blue), var(--h-green), var(--h-yellow), var(--h-red)); }
/* Embajadores */
.amb { position: relative; border-radius: 24px; overflow: hidden; min-height: 380px; background: linear-gradient(180deg, rgba(13,34,48,0) 30%, rgba(13,34,48,.85)), var(--night-2); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s3) 28px 28px; }
.amb .name-bg { position: absolute; top: 18px; left: 18px; right: 18px; font-family: var(--f-logo); font-weight: 900; font-style: italic; font-size: clamp(40px, 4.3vw, 62px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); white-space: nowrap; overflow: hidden; text-transform: uppercase; pointer-events: none; }
.amb .ph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-mu); border: 1.5px dashed var(--night-ln2); border-radius: 12px; padding: 10px 14px; text-align: center; }
.amb .tag { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--ac); color: #fff; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.amb h3 { color: #fff; font-size: 30px; font-weight: 800; margin: 0 0 4px; }
.amb p { color: rgba(255,255,255,.78); font-size: 15px; margin: 0; }
/* Opiniones */
.score b { display: block; font-size: clamp(72px, 8vw, 112px); line-height: .9; font-weight: 800; letter-spacing: -.04em; color: var(--ac); }
.score .stars { color: #F5B301; font-size: 24px; letter-spacing: 2px; }
.score small { display: block; color: var(--ink-mu); font-size: 15px; margin: 6px 0 var(--s2); }
.quotes { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow); }
.quote-item { display: none; }
.quote-item.on { display: block; animation: fadein .6s var(--ease); }
.quote-item blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
.quote-item blockquote::before { content: "“"; color: var(--ac); }
.quote-item blockquote::after { content: "”"; color: var(--ac); }
.quote-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); flex-wrap: wrap; }
.quote-item cite { font-style: normal; font-size: 15px; font-weight: 600; color: var(--ink-mu); }
.quote-ctrl { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-mu); }
.quote-ctrl button { width: 44px; height: 44px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 50%; cursor: pointer; font-size: 17px; color: var(--ink); }
.quote-ctrl button:hover { border-color: var(--ac); color: var(--ac-ink); }
.qbar { position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; }
.qbar::before { content: ""; position: absolute; inset: 0; background: var(--line); border-radius: 3px; }
.qbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ac); border-radius: 3px; }
/* Reserva final */
.ticket { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center; background: var(--ac-night); color: var(--night-tx); border-radius: 28px; padding: var(--s4); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.ticket::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 15% 50%, color-mix(in srgb, var(--ac) 38%, transparent), transparent 70%); }
.ticket-price { grid-column: 1 / span 5; }
.ticket-price .big { font-size: clamp(90px, 12vw, 170px); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: #fff; }
.ticket-price .big small { font-size: .38em; vertical-align: top; margin-left: 4px; color: var(--ac-glow); }
.ticket-price p { color: var(--night-mu); margin: var(--s1) 0 0; font-size: 15px; }
.ticket-body { grid-column: 6 / span 7; }
.ticket h2 { color: #fff; }
.ticket .kicker { color: var(--ac-glow); }
.ticket .kicker .sn { background: color-mix(in srgb, var(--ac-glow) 16%, transparent); color: var(--ac-glow); }
.ticket p.lead { color: var(--night-mu); }
.ticket .chip { background: color-mix(in srgb, var(--ac-glow) 16%, transparent); color: var(--ac-glow); }
.ticket ul.checks li { border-color: var(--night-ln); color: var(--night-tx); }
.ticket .tick { color: var(--ac-glow); }

/* ---------- 10. Componentes ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin: var(--s2) 0 6px; }
.card p { color: var(--ink-mu); font-size: 15.5px; margin: 0 0 var(--s1); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ac-ink); font-size: 15px; }
.card .num { position: absolute; top: 24px; right: 24px; font-size: 13px; font-weight: 700; color: var(--grey-2); }
.card.dark { background: var(--night); border-color: var(--night); color: var(--night-tx); }
.card.dark h3 { color: #fff; } .card.dark p { color: var(--night-mu); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ac-soft); color: var(--ac-ink); flex: none; }
.ico svg { width: 26px; height: 26px; }
.card-visual { margin: -28px -28px var(--s2); height: 170px; border-radius: var(--r) var(--r) 0 0; background: var(--night); position: relative; overflow: hidden; display: grid; place-items: center; }
.card-visual svg { height: 84%; width: auto; }
.card-visual .tag { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; }
ul.checks { list-style: none; margin: 0 0 var(--s2); padding: 0; }
ul.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.checks li:last-child { border-bottom: 0; }
.tick { width: 20px; height: 20px; flex: none; color: var(--ac); margin-top: 3px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: var(--s3) 0 0; }
.facts div { background: #fff; padding: 16px 18px; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-mu); }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.prices { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.prices .row { display: grid; grid-template-columns: 1fr auto; gap: var(--s1); align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.prices .row:last-child { border-bottom: 0; }
.prices .row b { font-weight: 600; }
.prices .row small { display: block; color: var(--ink-mu); font-size: 14px; }
.prices .row .p { font-size: 20px; font-weight: 800; color: var(--ac-ink); white-space: nowrap; }
.myth { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.myth > div { padding: 22px 24px; }
.myth > div:first-child { background: var(--grey-soft); color: var(--ink-mu); }
.myth b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.myth > div:first-child b { color: var(--grey); }
.myth > div:last-child b { color: var(--ac-ink); }
.myth p { margin: 0; font-size: 16px; }
.myth > div:last-child p { color: var(--ink); font-weight: 500; }
/* Acordeón */
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc > button { width: 100%; background: none; border: 0; font: inherit; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); cursor: pointer; font-weight: 600; font-size: 18px; color: var(--ink); }
.acc .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ac-soft); color: var(--ac-ink); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s, color .25s; }
.acc .pm svg { width: 14px; height: 14px; }
.acc.open .pm { transform: rotate(45deg); background: var(--ac); color: #fff; }
.acc .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc.open .ans { grid-template-rows: 1fr; }
.acc .ans > div { overflow: hidden; }
.acc .ans p { margin: 0; padding: 0 50px 20px 0; color: var(--ink-mu); font-size: 16.5px; }
.faq-cat { margin: var(--s4) 0 var(--s1); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); scroll-margin-top: 110px; }
.faq-cat:first-child { margin-top: 0; }
.toc { list-style: none; margin: var(--s2) 0 0; padding: 0; }
.toc a { display: block; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 500; }
.toc a:hover { background: var(--grey-soft); color: var(--ac-ink); }
/* Persona del equipo */
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.person .photo { aspect-ratio: 4 / 4.2; background: linear-gradient(160deg, var(--ac-soft), #fff); display: grid; place-items: center; color: var(--grey); position: relative; }
.person .photo svg { width: 38%; height: auto; opacity: .35; }
.person .photo span { position: absolute; bottom: 12px; left: 12px; font: 500 10.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.person .body { padding: 20px 22px 24px; }
.person h3 { margin: 0; }
.person .role { color: var(--ac-ink); font-weight: 600; font-size: 15px; margin: 2px 0 10px; }
.person p { color: var(--ink-mu); font-size: 15px; margin: 0; }
/* Foto pendiente */
.shot { position: relative; border-radius: 24px; min-height: 360px; background: linear-gradient(160deg, #EAF6FB, #F5F8F9); border: 1.5px dashed var(--line-2); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s2); color: var(--ink-mu); overflow: hidden; }
.shot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -70%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099CC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 30px no-repeat; box-shadow: var(--shadow); }
.shot b { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-ink); }
.shot span { font-size: 15px; }
/* Mapa y contacto */
.map { border-radius: 24px; overflow: hidden; min-height: 420px; background: var(--grey-soft); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s1); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 14px; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; }
.contact-list span, .contact-list a { color: var(--ink-mu); text-decoration: none; font-size: 15.5px; }
.open-now { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.open-now.yes { color: #0A7D43; background: #E3F7EC; } .open-now.no { color: #B23B2A; background: #FCEAE7; }
.open-now i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* Formularios */
form.proto-form { display: grid; gap: var(--s1); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 15%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.consent { font-size: 14px; color: var(--ink-mu); display: flex; gap: 10px; align-items: flex-start; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 99; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.help { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; background: var(--ac-soft); border-radius: var(--r); padding: var(--s2) 28px; margin-top: var(--s3); }
.help b { font-size: 19px; display: block; }
.help span { color: var(--ink-mu); }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: var(--s4); }
.prose p, .prose li { font-size: 17.5px; }
/* Pendiente y notas */
.pending { display: inline-block; font: 600 11px/1.5 var(--f-body); letter-spacing: .02em; color: var(--amber); background: #FFF4E0; border: 1px dashed rgba(178,106,0,.45); border-radius: 999px; padding: 2px 10px; vertical-align: middle; white-space: nowrap; }
.note { display: none; background: #FFF6DC; border: 1px solid #EBCB6B; border-left: 4px solid #D9A400; border-radius: var(--r-sm); padding: 13px 16px; margin: 0 0 28px; font-size: 14px; color: #4A3D00; max-width: 920px; position: relative; z-index: 3; }
.note b { color: #3A2F00; }
body.show-notes .note { display: block; }
.notes-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 65; background: #FFF6DC; color: #6B5300; border: 1px solid #EBCB6B; border-radius: 999px; padding: 11px 16px; font: 600 13px/1 var(--f-body); cursor: pointer; box-shadow: var(--shadow); }

/* ---------- 11. Pie y flotantes ---------- */
footer.site { background: var(--ink); color: #AEB6BA; padding: var(--s4) 0 40px; font-size: 15px; }
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: var(--s3); }
.foot > div { grid-column: span 2; }
.foot > .foot-brand { grid-column: 1 / span 6; padding-right: var(--s3); }
.foot .logo-svg { height: 58px; }
.foot-brand p { margin: var(--s1) 0 0; max-width: 420px; }
.foot address { font-style: normal; margin-top: var(--s1); line-height: 1.75; }
.foot address b { color: #fff; }
.foot-zone { font-size: 14px; color: #8C979C; }
.foot-h { color: #fff; margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot a { color: #D3DADD; text-decoration: none; }
.foot > div:not(.foot-brand) a { display: block; margin-bottom: 9px; }
.foot a:hover { color: var(--ac-glow); }
.foot-bottom { margin-top: var(--s4); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: var(--s1); flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom a { color: #AEB6BA; }
.dock { position: fixed; right: 22px; bottom: 22px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.dock.show { opacity: 1; transform: none; pointer-events: auto; }
.fab { display: inline-flex; align-items: center; justify-content: flex-end; text-decoration: none; height: 58px; min-width: 58px; border-radius: 999px; padding: 0 18px; gap: 10px; font: 600 15px var(--f-body); border: 0; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 24px; height: 24px; flex: none; }
.fab .lbl { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.fab:hover .lbl, .fab:focus-visible .lbl { max-width: 240px; }
.fab-wa { background: var(--wa); color: #fff; position: relative; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.4s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 80%, 100% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.fab-call { background: #fff; color: var(--ink); }
.fab-call svg { color: var(--ac); }
.fab-top { background: #fff; color: var(--ink); height: 46px; min-width: 46px; width: 46px; padding: 0; justify-content: center; }
.fab-top svg { width: 18px; height: 18px; }
.dock .hint { background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 12px 16px; border-radius: 16px; max-width: 240px; box-shadow: var(--shadow-lg); animation: fadein .5s var(--ease); }
.dock .hint[hidden] { display: none; }
.mobile-bar { display: none; }

/* Guía de estilo */
.sg-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s1); }
.sg-swatches div { font-size: 13.5px; color: var(--ink-mu); }
.sg-swatches i { display: block; height: 84px; border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.sg-swatches b { color: var(--ink); display: block; }
.sg-type > div { display: grid; grid-template-columns: 180px 1fr; gap: var(--s2); align-items: baseline; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.sg-type small { font-size: 13px; color: var(--ink-mu); }
.sg-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 10px; }
.sg-grid div { background: var(--ac-soft); border-radius: 8px; padding: 14px 6px; font-size: 13px; font-weight: 600; color: var(--ac-ink); text-align: center; }
.sg-demo { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }

/* ---------- 12. Áreas: biomecánica, epigenética y genética ----------
   Cada área tiene color, pantalla oscura y gráfico propios:
   biomecánica = esqueleto en movimiento (azul), epigenética = panel de
   25 marcadores (verde azulado), genética = doble hélice (índigo). */
/* Navegación por áreas */
.menu .nav-area { gap: 8px; }
.menu .nav-area::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 20%, transparent); flex: none; }
.menu .nav-area.active, .menu .nav-area:hover { color: var(--ac-ink); }
.menu .nav-area:hover { background: var(--ac-soft); }
.dropdown.mega { display: grid; grid-template-columns: 230px 1fr 1fr; gap: 4px; min-width: 720px; padding: 10px; }
.mega-feature { position: relative; overflow: hidden; border-radius: 14px; padding: 18px !important; min-height: 236px; justify-content: flex-end !important; background: radial-gradient(90% 70% at 70% 20%, color-mix(in srgb, var(--ac-glow) 30%, transparent), transparent 70%), var(--ac-night) !important; color: #fff !important; }
.mega-feature svg { position: absolute; right: 6px; top: 8px; width: 120px; height: 150px; }
.mega-feature b { position: relative; font-size: 17px; }
.mega-feature small { position: relative; color: var(--night-mu) !important; }
.mega-h { display: block; padding: 12px 14px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.mobile-menu .grp.dot { display: flex; align-items: center; gap: 10px; color: var(--ac-ink); }
.mobile-menu .grp.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); }
/* Píldoras de área (portada) */
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.area-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.area-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 20%, transparent); }
.area-pill:hover { border-color: var(--ac); transform: translateY(-1px); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--ac) 60%, transparent); }
.area-pills-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); align-self: center; margin-right: 4px; }
/* Mosaico de las tres áreas */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(300px, auto)); gap: var(--gut); }
.tile { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; min-height: 300px; grid-column: 8 / span 5;
  background: radial-gradient(80% 90% at 85% 15%, color-mix(in srgb, var(--ac-glow) 24%, transparent), transparent 65%), var(--ac-night); box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.tile.t-big { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 624px; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--ac-night) 90%, transparent); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--night-ln) 1px, transparent 1px), linear-gradient(90deg, var(--night-ln) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%); opacity: .45; }
.tile-vis { position: absolute; inset: 0; z-index: -1; }
.tile-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-body { position: relative; max-width: 30em; }
.tile.t-big .tile-body { max-width: 50%; }
.tile:not(.t-big) .tile-body { max-width: 47%; }
.tile:not(.t-big) h3 { font-size: clamp(24px, 2.2vw, 30px); }
@media (max-width: 720px) { .tile .tile-body, .tile.t-big .tile-body { max-width: none; } }
.tile-body::before { content: ""; position: absolute; inset: -60px -30px -30px; z-index: -1; background: linear-gradient(0deg, var(--ac-night) 40%, transparent); }
.tile-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-glow); margin-bottom: 10px; }
.tile-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac-glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac-glow) 22%, transparent), 0 0 14px var(--ac-glow); }
.tile h3 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.tile.t-big h3 { font-size: clamp(32px, 3.6vw, 50px); }
.tile p { color: rgba(255,255,255,.72); font-size: 15.5px; margin: 0 0 var(--s2); }
.tile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s2); }
.tile-meta span { white-space: nowrap; font: 600 12px/1 var(--f-mono); letter-spacing: .04em; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 12px; }
.tile-meta span.p { background: color-mix(in srgb, var(--ac-glow) 20%, transparent); border-color: transparent; color: var(--ac-glow); }
.tile .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #fff; }
.tile .hud { z-index: 2; }
.grid > .tile { grid-column: auto; grid-row: auto; }
.also { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: var(--s3); color: var(--ink-mu); font-size: 15px; }
.also a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.also a:hover { border-color: var(--ink); }
.also a svg { width: 17px; height: 17px; color: var(--grey); }
/* Panel de 25 marcadores (epigenética) */
.markers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; }
.mk { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); transition: background .5s, border-color .5s; }
.mk svg { position: absolute; inset: 14%; width: 72%; height: 72%; transform: rotate(-90deg); overflow: visible; }
.mk circle { fill: none; stroke-width: 3.2; }
.mk circle:first-child { stroke: rgba(255,255,255,.1); }
.mk .v { stroke: var(--ac-glow); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease), stroke .5s; }
.mk b { font: 600 10px var(--f-mono); color: var(--night-mu); letter-spacing: .04em; position: relative; }
.mk.hi .v { stroke: #fff; }
.mk.hi b { color: #fff; }
.mk.scan { background: color-mix(in srgb, var(--ac-glow) 13%, transparent); border-color: color-mix(in srgb, var(--ac-glow) 40%, transparent); }
.markers.mini { gap: 7px; }
.markers.mini .mk { border-radius: 10px; }
.markers.mini .mk b { display: none; }
.tile .markers.mini { position: absolute; right: 24px; top: 24px; width: min(42%, 210px); }
.screen .markers { width: 76%; }
.mk-legend { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 10.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-mu); z-index: 3; }
.mk-legend span::before { content: "● "; color: var(--ac-glow); }
/* Interruptores epigenéticos */
.switches { width: 100%; height: auto; overflow: visible; }
.switches .strand { fill: none; stroke: var(--line-2); stroke-width: 2; }
.switches .rung { stroke: var(--line); stroke-width: 2; }
.switches .gene rect { fill: var(--grey-soft); stroke: var(--line-2); stroke-width: 1.5; transition: fill .6s, stroke .6s; }
.switches .gene .lbl { font: 600 11px var(--f-mono); letter-spacing: .06em; fill: var(--grey); transition: fill .6s; }
.switches .gene .tag { transition: transform .7s var(--ease), opacity .6s; transform-box: view-box; }
.switches .gene .tag circle { fill: var(--ink); }
.switches .gene .tag line { stroke: var(--ink); stroke-width: 2; }
.switches .gene .tag text { font: 700 9px var(--f-mono); fill: #fff; }
.switches .gene .wave { fill: none; stroke: var(--ac); stroke-width: 2.4; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.switches .gene.on rect { fill: var(--ac-soft); stroke: var(--ac); }
.switches .gene.on .lbl { fill: var(--ac-ink); }
.switches .gene.on .tag { transform: translateY(-34px); opacity: 0; }
.switches .gene.on .wave { opacity: 1; animation: rise 1.6s ease-out infinite; }
@keyframes rise { from { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(-16px); opacity: 0; } }
.sw-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: var(--s2); font-size: 14px; color: var(--ink-mu); }
.sw-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw-legend i { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid var(--ac); background: var(--ac-soft); }
.sw-legend i.off { border-color: var(--line-2); background: var(--grey-soft); }
.sw-legend i.tag { border-radius: 50%; border: 0; background: var(--ink); width: 11px; height: 11px; }
/* Ciclo de 90 días */
.cycle { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; }
.cycle svg { width: 100%; height: 100%; overflow: visible; }
.cycle .track { fill: none; stroke: var(--line); stroke-width: 14; }
.cycle .prog { fill: none; stroke: var(--ac); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 0 1000; transform: rotate(-90deg); transform-origin: 210px 210px; }
.reveal.in .cycle .prog, .cycle.in .prog { animation: cyc 6s var(--ease) infinite; }
@keyframes cyc { 0% { stroke-dasharray: 0 1000; } 70%, 100% { stroke-dasharray: 1000 1000; } }
.cycle .node circle { fill: #fff; stroke: var(--ac); stroke-width: 3; }
.cycle .node text { font: 600 12px var(--f-mono); fill: var(--ink-mu); letter-spacing: .04em; }
.cycle .node text.b { font: 700 15px var(--f-body); fill: var(--ink); letter-spacing: -.01em; }
.cycle-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.cycle-center b { display: block; font-size: clamp(64px, 8vw, 104px); line-height: .9; font-weight: 800; letter-spacing: -.05em; color: var(--ac); }
.cycle-center span { font: 600 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mu); }
/* Cariotipo y hélice (genética) */
.karyo { width: 100%; height: auto; overflow: visible; }
.karyo .chr { fill: color-mix(in srgb, var(--ac) 16%, #fff); stroke: color-mix(in srgb, var(--ac) 45%, #fff); stroke-width: 1; }
.karyo .band { fill: color-mix(in srgb, var(--ac-deep) 55%, transparent); }
.karyo .cen { fill: var(--ac-ink); }
.karyo .ex { fill: var(--ac); animation: exon 2.8s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes exon { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.karyo .num { font: 600 9.5px var(--f-mono); fill: var(--ink-mu); text-anchor: middle; }
.karyo .scan { fill: url(#kscanG); animation: kscan 7s linear infinite; }
@keyframes kscan { from { transform: translateX(-60px); } to { transform: translateX(640px); } }
.seq { font: 600 12px var(--f-mono); letter-spacing: .28em; color: var(--ac-glow); white-space: nowrap; overflow: hidden; }
.seq i { font-style: normal; color: #fff; }
/* Modo andar / correr de la animación */
.gait-mode { position: absolute; right: 16px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 10px; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-mu); }
.gm-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--night-ln2); }
.gm-sw::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ac-glow); transition: transform .6s var(--ease); }
.gm-sw span { position: relative; padding: 6px 11px; text-align: center; transition: color .4s; }
.gm-sw span:first-child { color: var(--ac-night); }
.is-run .gm-sw::before { transform: translateX(100%); }
.is-run .gm-sw span:first-child { color: var(--night-mu); }
.is-run .gm-sw span:last-child { color: var(--ac-night); }
.gm-speed b { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
/* Comparativa de las tres áreas */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
table.areas { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
table.areas th, table.areas td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.areas tbody tr:last-child > * { border-bottom: 0; }
table.areas tbody th { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); white-space: nowrap; width: 150px; }
table.areas thead th { padding-top: 20px; }
table.areas thead a { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: var(--ac-ink); text-decoration: none; }
table.areas thead a i { width: 10px; height: 10px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 20%, transparent); }
table.areas thead a:hover { text-decoration: underline; }
table.areas td b { font-weight: 700; }
table.areas td.q { font-weight: 700; color: var(--ink); font-size: 17px; }
table.areas td.pr { font-weight: 800; font-size: 19px; color: var(--ac-ink); }
table.areas .cur { background: color-mix(in srgb, var(--ac-soft) 70%, #fff); }
table.areas thead .cur { box-shadow: inset 0 3px 0 var(--ac); }
/* Especialista */
.expert { display: flex; align-items: center; gap: var(--s2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.expert .av { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: radial-gradient(70% 70% at 30% 25%, var(--ac-glow), var(--ac-ink)); box-shadow: 0 0 0 6px var(--ac-soft); }
.expert b { display: block; font-size: 19px; }
.expert small { display: block; color: var(--ink-mu); font-size: 14.5px; }
.expert .chip { margin-top: 8px; }
/* Aviso de salud */
.health { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-mu); border-left: 3px solid var(--ac); padding: 4px 0 4px 14px; margin-top: var(--s3); max-width: 46em; }
.health svg { width: 20px; height: 20px; flex: none; color: var(--ac-ink); margin-top: 2px; }
/* Cabecera de página de área: franja de color */
.page-hero.area-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ac); }
.area-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-ink); }
.area-eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 20%, transparent); }
.metodo-hero::before { background: linear-gradient(90deg, var(--blue), var(--epi), var(--gen)) !important; }
.area-eyebrow.tri { gap: 6px; }
.area-eyebrow.tri i:last-of-type { margin-right: 6px; }
.big-num { font-size: clamp(110px, 16vw, 220px); line-height: .8; font-weight: 800; letter-spacing: -.06em; color: var(--ac); }
.big-num small { display: block; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-mu); margin-top: var(--s1); }
/* Tarjetas con borde del área */
.card.ac-card { border-top: 3px solid var(--ac); }
.card.ac-card .ico { background: var(--ac-soft); color: var(--ac-ink); }
a.card.ac-card:hover { border-top-color: var(--ac); }
/* Texto deportivo en movimiento */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; pointer-events: none; margin: 0 0 var(--s3); }
.marquee-track { display: inline-flex; animation: marq 46s linear infinite; }
.marquee span { font-family: var(--f-logo); font-style: italic; font-weight: 900; font-size: clamp(54px, 8vw, 120px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); padding-right: .35em; }
.marquee span:nth-child(odd) { color: rgba(255,255,255,.95); -webkit-text-stroke: 0; }
@keyframes marq { to { transform: translateX(-50%); } }
/* Titular con la itálica de la marca */
.sport-accent { font-family: var(--f-logo); font-style: italic; font-weight: 900; letter-spacing: -.035em; }
/* Pasos en vertical */
.vsteps { list-style: none; margin: 0; padding: 0; }
.vsteps li { position: relative; padding: 0 0 var(--s3) 66px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps .n { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ac); color: var(--ac-ink); font-weight: 800; font-size: 15px; }
.vsteps li.hl .n { background: var(--ac); color: #fff; }
.vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 54px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--ac) 0 6px, transparent 6px 12px); }
.vsteps b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); }
.vsteps h3 { margin: 2px 0 4px; font-size: 22px; }
.vsteps p { color: var(--ink-mu); margin: 0; font-size: 15.5px; }
/* Gráfico sobre tarjeta blanca */
.viz-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow); }
.viz-card .cap { display: flex; justify-content: space-between; gap: var(--s1); font: 500 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mu); margin-top: var(--s2); }
.viz-card .cap b { color: var(--ac-ink); font-weight: 600; }
@media (max-width: 1100px) {
  .bento { grid-template-rows: none; }
  .tile, .tile.t-big { grid-column: 1 / -1; grid-row: auto; }
  .tile.t-big { min-height: 520px; }
  .dropdown.mega { min-width: 0; }
}
@media (max-width: 720px) {
  .tile { padding: 24px; min-height: 360px; border-radius: 22px; }
  .tile.t-big { min-height: 480px; }
  .tile .markers.mini { right: 20px; top: 20px; width: 52%; }
  .screen .markers { width: 84%; gap: 6px; }
  .mk b { font-size: 8.5px; }
  .gait-mode { right: 10px; bottom: 10px; gap: 8px; }
  .gm-sw span { padding: 5px 8px; }
  .expert { flex-direction: column; align-items: flex-start; }
  table.areas th, table.areas td { padding: 13px 14px; }
  table.areas tbody th { position: sticky; left: 0; background: #fff; z-index: 1; width: 110px; white-space: normal; }
  table.areas tbody th.cur { background: inherit; }
}

/* ---------- 12b. Versión 3.2: estudio gratis, menú y fisioterapia ---------- */
/* Menú: etiqueta «Gratis», desplegable de dos columnas y puntos de color */
.nav-badge { display: inline-block; margin-left: 3px; font: 700 10px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue-ink); padding: 4px 7px; border-radius: 999px; }
.dropdown.mega.two { grid-template-columns: 1fr 1fr; min-width: 580px; }
.dropdown a.dd-dot { position: relative; padding-left: 34px; }
.dropdown a.dd-dot::before { content: ""; position: absolute; left: 14px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 20%, transparent); }
.dropdown a.dd-dot:hover { background: var(--ac-soft); }
.mobile-menu > a.dot { display: flex; align-items: center; gap: 10px; }
.mobile-menu > a.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); flex: none; }
/* Ticket del estudio gratis: lo que incluye, sin precios por partida */
.receipt { position: relative; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 26px 30px 30px; box-shadow: var(--shadow-lg); margin-bottom: 14px; }
.receipt::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -12px; height: 12px; background: radial-gradient(circle at 12px 0, #fff 11.5px, transparent 12px) 0 0 / 24px 12px repeat-x; }
.rc-head { display: flex; justify-content: space-between; gap: var(--s1); flex-wrap: wrap; font: 600 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mu); padding-bottom: 16px; border-bottom: 1.5px dashed var(--line-2); }
.rc-head b { color: var(--ink); font-weight: 600; }
.rc-items { list-style: none; margin: 0; padding: 4px 0; counter-reset: rc; }
.rc-items li { display: grid; grid-template-columns: 30px 1fr auto; column-gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rc-items li:last-child { border-bottom: 0; }
.rc-items li::before { counter-increment: rc; content: counter(rc, decimal-leading-zero); font: 600 11px var(--f-mono); color: var(--grey-2); }
.rc-items b { font-weight: 600; font-size: 16px; }
.rc-items small { grid-column: 2; display: block; color: var(--ink-mu); font-size: 14px; line-height: 1.45; }
.rc-items em { grid-row: 1; grid-column: 3; font: 600 10.5px var(--f-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--ac-ink); background: var(--ac-soft); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.receipt .rc-items li { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + .15s); }
.receipt.in .rc-items li { opacity: 1; transform: none; }
.rc-total { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s1); padding-top: 18px; border-top: 1.5px dashed var(--line-2); margin-top: 4px; }
.rc-total span { font: 600 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mu); }
.rc-total b { font-size: clamp(60px, 6.4vw, 88px); line-height: .85; font-weight: 800; letter-spacing: -.05em; color: var(--ac); }
.rc-total b small { font-size: .42em; vertical-align: top; margin-left: 4px; }
.rc-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rc-foot span { font: 600 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; color: var(--ink-mu); }
.why-free { margin-top: var(--s3); padding: 22px 24px; border-radius: var(--r); background: var(--ac-soft); }
.why-free b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); margin-bottom: 6px; }
.why-free p { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
/* Cadena muscular (fisioterapia): de la causa al síntoma */
.chain { width: 100%; height: 100%; overflow: visible; }
.chain .vol { stroke: rgba(255,255,255,.06); }
.chain .bone { stroke: rgba(255,255,255,.3); }
.chain .link { fill: none; stroke: color-mix(in srgb, var(--ac-glow) 35%, transparent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chain .flow { fill: none; stroke: var(--ac-glow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 16; animation: chainflow 1.1s linear infinite; }
@keyframes chainflow { to { stroke-dashoffset: -18; } }
.chain .node { fill: var(--ac-glow); }
.chain .sym { fill: #ff6b5a; }
.chain .sym-ring { fill: none; stroke: #ff6b5a; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hs 2s ease-out infinite; }
.chain .cause-ring { fill: none; stroke: var(--ac-glow); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hs 2s ease-out infinite; }
.chain text { font: 600 10px var(--f-mono); letter-spacing: .1em; }
.tile .chain-wrap { position: absolute; right: 2%; top: 7%; bottom: 3%; width: 46%; z-index: -1; }
.screen .chain-wrap { position: absolute; inset: 9% 18% 7%; }
/* Siguiente paso al final de cada página */
.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.next a { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.next a:hover { border-color: var(--ac); transform: translateY(-2px); }
.next a small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); }
.next a b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.next a span { color: var(--ink-mu); font-size: 15px; }
/* Tipos de plantilla */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.type { border-radius: var(--r); padding: 22px; background: #fff; border: 1px solid var(--line); }
.type .ico { margin-bottom: var(--s1); }
.type b { display: block; font-size: 17px; }
.type span { color: var(--ink-mu); font-size: 15px; }
@media (max-width: 980px) {
  .next { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dropdown.mega.two { min-width: 0; }
}
@media (max-width: 720px) {
  .receipt { padding: 22px 18px 26px; }
  .rc-items li { grid-template-columns: 26px 1fr; }
  .rc-items em { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 6px; }
  .tile .chain-wrap { width: 60%; right: -4%; opacity: .7; }
}

/* ---------- 13. Responsive y movimiento reducido ---------- */
@media (min-width: 1360px) { .rail { display: flex; } }
.nav-cta .cta-s { display: none; }
@media (max-width: 1380px) {
  .nav-cta .cta-l { display: none; }
  .nav-cta .cta-s { display: inline; }
  .nav .logo-svg { height: 40px; }
}
@media (max-width: 1260px) {
  .menu, .nav-cta > .lang { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 980px) {
  .split > *, .split.s57 > :first-child, .split.s57 > :last-child { grid-column: 1 / -1; padding-right: 0; }
  .sec-head.sticky { position: static; margin-bottom: var(--s3); }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s3); }
  .flow { grid-template-columns: 1fr 1fr; row-gap: var(--s3); }
  .flow::before { display: none; }
  .layers { height: 420px; }
  .ticket-price, .ticket-body { grid-column: 1 / -1; }
  .ticket-price { margin-bottom: var(--s3); }
  .foot > div { grid-column: span 4; }
  .foot > .foot-brand { grid-column: 1 / -1; }
  .stage { grid-column: 1 / -1; top: 86px; height: 44vh; min-height: 300px; z-index: 2; }
  .steps-list { grid-column: 1 / -1; grid-row: 2; padding: 0; }
  .sstep, .sstep:first-child { min-height: 48vh; justify-content: flex-start; padding-top: var(--s3); }
  .stage-panel { inset: 44px 10px 38px; }
  .stage-cap span:last-child { display: none; }
  .sg-swatches { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  :root { --pad: 18px; --gut: 16px; }
  body { font-size: 16.5px; }
  .hero { padding: 32px 0 var(--s4); }
  .page-hero { padding: 28px 0 var(--s4); }
  .nav { height: 66px; }
  .nav-cta > .btn { display: none; }
  .logo-svg { height: 36px; }
  .lead { font-size: 17.5px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .readouts { top: 40px; right: 10px; gap: 6px; }
  .readout { min-width: 104px; padding: 5px 9px; }
  .readout b { font-size: 15px; }
  .readout:nth-child(4), .hide-sm, .hud.h-br { display: none; }
  .floating { display: none; }
  .layer-label { display: none; }
  .layer { left: 50%; width: 88%; }
  .layers { height: 340px; }
  .layers.in .layer.l1 { transform: translate(-50%, calc(-50% + 62px)) rotateX(58deg) rotateZ(-28deg); }
  .layers.in .layer.l3 { transform: translate(-50%, calc(-50% - 62px)) rotateX(58deg) rotateZ(-28deg); }
  .flow { grid-template-columns: 1fr; }
  .flow-step { display: grid; grid-template-columns: 64px 1fr; column-gap: var(--s1); row-gap: 2px; text-align: left; align-items: start; }
  .flow-step .n { margin: 0; grid-row: 1 / span 3; }
  .flow-step > :not(.n) { grid-column: 2; }
  .flow-step h3 { margin: 0; }
  .compare { aspect-ratio: 4 / 5; }
  .compare .side svg { height: 78%; }
  .ticket { padding: var(--s3) var(--s2); border-radius: 22px; }
  .myth { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .acc .ans p { padding-right: 0; }
  .pain-card { padding: var(--s2); }
  .foot > div { grid-column: span 6; }
  .sg-type > div { grid-template-columns: 1fr; }
  .sg-swatches { grid-template-columns: repeat(2, 1fr); }
  .dock { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 66; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { width: 100%; padding: 15px 10px; }
  .notes-toggle { bottom: 84px; left: 12px; padding: 9px 12px; font-size: 12px; }
  footer.site { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Arreglos de móvil: rejillas con columnas fijas en línea, campos de formulario y tarjetas con imagen */
.field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.card:has(.card-visual) { overflow: hidden; }
@media (max-width: 980px) { .flow[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 720px) { .flow[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }

/* Recomendación: el 35 % llega por un amigo o familiar (14.1) */
.share { text-align: center; margin: var(--s3) 0 0; color: var(--ink-mu); font-size: 15.5px; }
.share a { font-weight: 600; }

/* Página de servicios y precios */
.dropdown a.dd-all { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); color: var(--blue-ink); }
.prices .row.svc b a { color: var(--ink); text-decoration: none; }
.prices .row.svc b a:hover { color: var(--ac-ink); text-decoration: underline; }
.prices .row.svc.area-epi b a::before, .prices .row.svc.area-gen b a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); margin-right: 8px; vertical-align: middle; }
.prices .row .p.ask { font-size: 13.5px; font-weight: 600; color: var(--ac-ink); background: var(--ac-soft); padding: 7px 12px; border-radius: 999px; text-align: center; }
.prices .row .p.ask .pending { margin: 0; }
@media (max-width: 720px) { .prices .row { grid-template-columns: 1fr; } .prices .row .p { justify-self: start; } }

/* Triaje rápido de la portada: «¿qué te pasa?» */
.triage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s2); }
.triage span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-right: 4px; }
.triage a { font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--grey-soft); border: 1px solid var(--line); transition: background .2s, border-color .2s, color .2s; }
.triage a:hover { background: var(--ac-soft); border-color: var(--ac); color: var(--ac-ink); }
@media (max-width: 720px) {
  .triage { display: grid; grid-template-columns: 1fr 1fr; }
  .triage span { grid-column: 1 / -1; }
  .triage a { text-align: center; padding: 12px 10px; }
}
/* Camino de solución en el mapa del dolor */
.fix { margin: 0 0 var(--s2); padding: 14px 16px; border-radius: 14px; background: var(--ac-soft); }
.fix > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ac-ink); margin-bottom: 8px; }
.fix ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fix li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.fix li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: #fff; font-size: 12px; }
.fix li em { font-style: normal; color: var(--ac-ink); }
/* Menos ruido: los números de sección solo los ve el equipo en el índice lateral */
.kicker .sn { display: none; }

/* Anillos de la página de nutrición */
.rings-screen .rings { width: 62%; height: auto; }
.rings circle[pathLength] { stroke-dasharray: 0 100; transition: stroke-dasharray 1.8s var(--ease); }
.rings-screen.in .r1, .reveal.in .r1 { stroke-dasharray: 78 100; }
.rings-screen.in .r2, .reveal.in .r2 { stroke-dasharray: 64 100; transition-delay: .2s; }
.rings-screen.in .r3, .reveal.in .r3 { stroke-dasharray: 86 100; transition-delay: .4s; }
.mk-legend span[style]::before { color: var(--c); }

/* Bono de regalo (regalo.html) */
.gift { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ac); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.gift .ico { margin-bottom: var(--s1); }
.gift h3 { font-size: 24px; margin: 0; }
.gift .who { color: var(--ac-ink); font-weight: 600; font-size: 14.5px; margin: 2px 0 10px; }
.gift p { color: var(--ink-mu); }
.gift .ctas { margin-top: auto; }
.ticket.voucher { grid-template-columns: repeat(12, minmax(0, 1fr)); padding: var(--s3); }
.ticket.voucher .ticket-price { grid-column: 1 / span 4; }
.ticket.voucher .ticket-body { grid-column: 5 / span 8; }
.ticket.voucher .ticket-body h2 { font-size: 28px; margin: 6px 0 10px; }
@media (max-width: 980px) { .ticket.voucher .ticket-price, .ticket.voucher .ticket-body { grid-column: 1 / -1; } }

/* Vídeos de Iván Calero */
.vplayer { margin: 0 auto; max-width: 380px; width: 100%; }
.vplayer video { display: block; width: 100%; aspect-ratio: 480 / 848; object-fit: cover; border-radius: 24px; background: var(--night); box-shadow: var(--shadow-lg); }
.vplayer figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-mu); text-align: center; }
.vplayer figcaption b { color: var(--ink); }
.page-hero .vplayer { max-width: 400px; }
.amb.amb-video { text-decoration: none; background: linear-gradient(180deg, rgba(13,34,48,.05) 35%, rgba(13,34,48,.9)), var(--img) center 20% / cover, var(--night-2); }
.amb.amb-video .name-bg { opacity: .5; }
.amb .play { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--blue-ink); font-size: 26px; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .25s var(--ease); }
.amb.amb-video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.amb .more { color: #fff; font-weight: 600; font-size: 15px; margin-top: 6px; }

/* Landing de anuncios */
.lead-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: var(--s3); box-shadow: var(--shadow-lg); }
.lead-card h2 { font-size: 30px; margin: 0 0 var(--s2); }
.lead-card .btn { width: 100%; margin-top: 6px; }
.lead-card .alt { text-align: center; margin: var(--s2) 0 0; font-size: 15px; color: var(--ink-mu); }
@media (max-width: 720px) { .lead-card { padding: var(--s2); } }

/* ---------- Versión definitiva (15 oct 2026): piezas de marca en lugar de huecos de foto ---------- */
.brand-panel { position: relative; overflow: hidden; border-radius: 24px; min-height: 360px; padding: var(--s3) var(--s2); display: flex; flex-direction: column; justify-content: center; gap: var(--s2); color: #fff;
  background: radial-gradient(80% 70% at 85% 10%, rgba(63,193,236,.28), transparent 70%), var(--night); box-shadow: var(--shadow); }
.brand-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.brand-panel > * { position: relative; z-index: 1; }
.bp-logo { width: min(300px, 80%); height: auto; }
.bp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bp-facts li { border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 14px; font-size: 14px; color: var(--night-mu); }
.bp-facts b { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.bp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bp-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.bp-list li::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 5px rgba(63,193,236,.2); }
.brand-panel.media { padding: 0; min-height: 0; margin: 0; }
.brand-panel.media video { display: block; width: 100%; height: auto; }
.brand-panel.media figcaption { position: absolute; left: 14px; bottom: 12px; font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-mu); }
.person .photo.mono { background: radial-gradient(80% 70% at 80% 10%, rgba(63,193,236,.3), transparent 70%), var(--night); }
.person .photo.mono b { font-family: var(--f-logo); font-style: italic; font-weight: 900; font-size: clamp(64px, 8vw, 104px); color: #fff; letter-spacing: -.04em; }
.person .photo .mono-mark { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; opacity: .9; }
.amb.amb-type { background: radial-gradient(70% 60% at 80% 15%, rgba(63,193,236,.3), transparent 70%), var(--night); }
.amb.amb-type::before { content: ""; position: absolute; top: 46%; left: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); background: url("logo/icono-aplus.svg") center / contain no-repeat; opacity: .9; }
.card-link { text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link .more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--ac-ink); }
@media (max-width: 560px) { .bp-facts { grid-template-columns: 1fr 1fr 1fr; } .bp-facts b { font-size: 21px; } .brand-panel { min-height: 280px; } }

/* ---------- Portada: modelo 3D y datos bajo la pantalla ---------- */
[data-body3d] { cursor: grab; touch-action: pan-y; }
.grabbing [data-body3d] { cursor: grabbing; }
.drag-hint { color: var(--blue-light); }
.screen-meta { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.screen-meta li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-mu); box-shadow: var(--shadow); }
.screen-meta b { display: block; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 560px) { .screen-meta { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .screen-meta li { padding: 10px; font-size: 12px; } .screen-meta b { font-size: 14px; } }

/* ---------- Portada: los tres estudios, arriba del todo ---------- */
.studies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.studies > .tile { grid-column: auto; grid-row: auto; }
.tile.study { min-height: 600px; padding: 28px; justify-content: flex-end; }
.tile.study .tile-body { max-width: none; }
.tile.study .tile-body::before { inset: -120px -28px -28px; background: linear-gradient(0deg, var(--ac-night) 52%, transparent); }
.tile.study .markers.mini { left: 28px; right: 28px; top: 28px; width: auto; gap: 9px; }
.tile.study .tile-vis canvas { height: 72%; }
.tile.study h3 { font-size: clamp(28px, 2.4vw, 36px); }
.study-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.expert-line { display: flex; align-items: center; gap: 12px; margin: -6px 0 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.expert-line b { display: block; color: #fff; font-size: 15px; }
.expert-line .av { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--ac-night); background: var(--ac-glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac-glow) 25%, transparent); }
.svc-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: var(--gut); }
.svc-strip a { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.svc-strip a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.svc-strip b { display: block; font-size: 15px; line-height: 1.25; }
.svc-strip small { color: var(--ink-mu); font-size: 13px; }
.svc-strip a.all { background: var(--night); border-color: var(--night); color: #fff; }
.svc-strip a.all small { color: var(--blue-light); }
@media (max-width: 1080px) { .studies { grid-template-columns: 1fr; } .tile.study { min-height: 520px; } .svc-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .svc-strip { grid-template-columns: 1fr 1fr; } .tile.study { min-height: 500px; padding: 22px; } }

/* ---------- Botones vivos: brillo que recorre y pulso suave ---------- */
.btn-glow { background: var(--ac-glow); color: var(--ac-night); box-shadow: 0 10px 30px -10px var(--ac-glow); }
.btn-glow svg { width: 18px; height: 18px; }
.btn-primary, .btn-glow { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-glow::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 66%); transform: translateX(-120%); animation: shine 4.2s var(--ease) infinite; }
@keyframes shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .more:hover .arrow, a:hover > .arrow { transform: translateX(4px); }
.hero .btn-primary { animation: pulse-cta 2.8s ease-out infinite; }
@keyframes pulse-cta { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 45%, transparent), 0 10px 24px -12px var(--blue-ink); } 70%, 100% { box-shadow: 0 0 0 16px transparent, 0 10px 24px -12px var(--blue-ink); } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-glow::after, .hero .btn-primary { animation: none; } }
.sole-vis svg, .tri-vis svg { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 46%; max-height: 88%; height: auto; overflow: visible; }
.tile-vis.sole-vis ~ .tile-body::before, .tile-vis.tri-vis ~ .tile-body::before { display: none; }
.tile-vis.sole-vis ~ .tile-body .more, .tile-vis.tri-vis ~ .tile-body .more { white-space: nowrap; }
.tri-vis .tri { stroke-dasharray: 700; stroke-dashoffset: 700; animation: tri-draw 3.2s var(--ease) .3s forwards, tri-glow 3s ease-in-out 3.5s infinite; }
@keyframes tri-draw { to { stroke-dashoffset: 0; } }
@keyframes tri-glow { 50% { stroke-width: 3.5; } }
@media (max-width: 720px) {
  .sole-vis svg, .tri-vis svg { top: 22px; left: 50%; right: auto; transform: translateX(-50%); width: min(64%, 240px); }
  .tile-vis.sole-vis ~ .tile-body, .tile-vis.tri-vis ~ .tile-body { max-width: none; padding-top: min(62vw, 250px); }
}

/* ---------- Dudas con pestañas ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s3); align-items: start; }
.faq-main { background: #fff; border-radius: 28px; padding: 18px 30px 10px; box-shadow: var(--shadow); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.faq-tabs button { font: 600 14.5px var(--f-body); border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: all .2s var(--ease); }
.faq-tabs button:hover { border-color: var(--blue); }
.faq-tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.faq-panel .acc:first-child { border-top: 0; }
.faq-panel .acc:last-child { border-bottom: 0; }
.faq-panel .acc > button { font-weight: 600; font-size: 17.5px; gap: 14px; justify-content: flex-start; }
.faq-panel .acc .pm { margin-left: auto; }
.qn { font: 600 12px var(--f-mono); color: var(--blue-ink); background: var(--blue-soft); border-radius: 8px; padding: 6px 8px; flex: none; }
.faq-panel .acc .ans p { padding-left: 48px; }
.faq-panel[hidden] { display: none; }
.faq-panel:not([hidden]) { animation: fadein .35s var(--ease); }
.faq-ask { position: sticky; top: 110px; border-radius: 28px; padding: 30px; color: #fff; background: radial-gradient(80% 60% at 80% 0%, rgba(63,193,236,.35), transparent 70%), var(--night); box-shadow: var(--shadow-lg); }
.faq-ask h3 { color: #fff; font-size: 28px; margin: 14px 0 6px; letter-spacing: -.02em; }
.faq-ask p { color: var(--night-mu); margin: 0 0 20px; }
.faq-ask .btn { width: 100%; }
.ask-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font: italic 900 22px var(--f-logo); color: #fff; box-shadow: 0 0 0 6px rgba(0,153,204,.25); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.ask-link { display: inline-block; margin-top: 16px; color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } .faq-ask { position: static; } .faq-main { padding: 14px 18px 6px; } .faq-panel .acc .ans p { padding-left: 0; } }

/* ---------- Reseñas: nota grande y pared en movimiento ---------- */
.reviews { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--s3); align-items: center; }
.score-card h2 { font-size: clamp(30px, 3vw, 42px); margin: 10px 0 18px; }
.score-big { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.score-big > b { font-size: clamp(72px, 7vw, 104px); line-height: .9; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.score-big .stars { display: block; color: #F5B301; font-size: 22px; letter-spacing: 2px; }
.score-big small { color: var(--ink-mu); }
.score-facts { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 10px; }
.score-facts li { flex: 1; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: var(--ink-mu); font-size: 13.5px; }
.score-facts b { display: block; color: var(--ink); font-size: 18px; }
.rv-wall { display: grid; gap: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-row { overflow: hidden; }
.rv-track { display: flex; gap: 16px; width: max-content; animation: rv-scroll 46s linear infinite; }
.rv-row.rev .rv-track { animation-direction: reverse; animation-duration: 52s; }
.rv-wall:hover .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { to { transform: translateX(-50%); } }
.rv { width: 330px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.rv-stars { color: #F5B301; letter-spacing: 2px; font-size: 15px; }
.rv blockquote { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); flex: 1; }
.rv figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-mu); }
.rv figcaption b { display: block; color: var(--ink); font-size: 14.5px; }
.rv-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--blue-light), var(--blue-ink)); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } .rv { width: 280px; } }
@media (prefers-reduced-motion: reduce) { .rv-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- Franja de llamada a la acción ---------- */
.cta-band { padding: 0 0 var(--sec); }
.cta-band-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; border-radius: 32px; padding: clamp(32px, 5vw, 60px); color: #fff;
  background: linear-gradient(120deg, #0D2230, #0B3A52 40%, #0099CC 120%); background-size: 200% 200%; animation: band-move 12s ease-in-out infinite; }
.cta-band-in::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: url("logo/icono-aplus.svg") center / contain no-repeat; opacity: .12; animation: spin-slow 40s linear infinite; }
@keyframes band-move { 50% { background-position: 100% 50%; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.cta-band-in > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 50px); margin: 12px 0 6px; letter-spacing: -.03em; }
.cta-band h2 span { color: var(--blue-light); }
.cta-band p { color: var(--night-mu); margin: 0; font-size: 18px; }
.cta-chip { display: inline-block; font: 600 12.5px var(--f-mono); letter-spacing: .04em; background: rgba(63,193,236,.18); color: var(--blue-light); border-radius: 999px; padding: 8px 14px; }
.cta-band-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btn-lg { padding: 20px 30px; font-size: 18px; }
.cta-tel { color: #fff; text-decoration: none; font-size: 15px; }
.cta-tel b { border-bottom: 1px dashed rgba(255,255,255,.5); }
@media (prefers-reduced-motion: reduce) { .cta-band-in, .cta-band-in::before, .ask-av { animation: none; } }

/* ---------- Menú «Servicios»: epigenética y genética como tarjetas de su color ---------- */
.dropdown.mega a.dd-dot { margin: 4px 6px; padding: 14px 16px 14px 46px; border-radius: 14px; color: #fff; background: radial-gradient(80% 90% at 90% 0%, color-mix(in srgb, var(--ac-glow) 35%, transparent), transparent 70%), var(--ac-night); }
.dropdown.mega a.dd-dot small { color: rgba(255,255,255,.7); }
.dropdown.mega a.dd-dot::before { left: 18px; top: 50%; transform: translateY(-50%); background: var(--ac-glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac-glow) 25%, transparent), 0 0 12px var(--ac-glow); }
.dropdown.mega a.dd-dot:hover { background: radial-gradient(80% 90% at 90% 0%, color-mix(in srgb, var(--ac-glow) 50%, transparent), transparent 70%), var(--ac-night); transform: translateY(-1px); }
.hero-expert { margin-top: var(--s2); max-width: 520px; }
.hero-expert .av { width: 64px; height: 64px; }
.hero-expert .chip { display: inline-block; margin-top: 8px; text-decoration: none; }
@media (max-width: 1080px) { .tile.study .markers.mini { left: 22px; right: 22px; } .tile.study .markers.mini > :nth-child(n+16) { display: none; } }
@media (max-width: 560px) { .tile.study { min-height: 560px; } .tile.study .markers.mini > :nth-child(n+11) { display: none; } }

/* =====================================================================
   CAPA DE DISEÑO (15 oct 2026): luz, profundidad y movimiento
   ===================================================================== */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Luz que sigue al cursor */
.fx-host { position: relative; isolation: isolate; }
.fx-host > .spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(63,193,236,.16), transparent 62%); }
.fx-host:hover > .spot { opacity: 1; }
.tile.fx-host > .spot, .amb.fx-host > .spot, .brand-panel.fx-host > .spot, .faq-ask.fx-host > .spot, .cta-band-in.fx-host > .spot, .ticket.fx-host > .spot { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 60%); mix-blend-mode: screen; }
.fx-host.tilting { transition: transform .12s linear, box-shadow .3s var(--ease); will-change: transform; }
.fx-host:not(.tilting) { transition: transform .5s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card.fx-host:hover, .flow-step.fx-host:hover, .person.fx-host:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 35%, transparent), 0 26px 60px -28px color-mix(in srgb, var(--ac) 55%, transparent); border-color: transparent; }

/* Titulares: la palabra destacada con brillo que la recorre */
h1 .blue, h2 .blue { background: linear-gradient(100deg, var(--ac-ink) 0%, var(--ac-glow) 40%, var(--ac-ink) 60%, var(--ac-ink) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer-text 7s ease-in-out infinite; }
@keyframes shimmer-text { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Número de sección grande, en contorno */
.has-n { position: relative; isolation: isolate; }
.has-n::before { content: attr(data-n); position: absolute; z-index: -1; top: -.32em; left: -.04em; pointer-events: none;
  font: italic 900 clamp(110px, 14vw, 220px)/1 var(--f-logo); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ac) 16%, transparent); }
.sec-head.center.has-n::before { left: 50%; transform: translateX(-50%); }
.band .has-n::before, .tile .has-n::before, .cta-band .has-n::before, .ticket .has-n::before, [class*="night"] .has-n::before { -webkit-text-stroke-color: rgba(255,255,255,.08); }

/* Ambiente: esferas de luz que respiran en las secciones claras */
section.soft { position: relative; overflow-x: clip; isolation: isolate; }
section.soft::before, section.soft::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; }
section.soft::before { width: 460px; height: 460px; left: -140px; top: 8%; background: radial-gradient(circle, color-mix(in srgb, var(--ac-glow) 45%, transparent), transparent 70%); animation: drift-a 18s ease-in-out infinite; }
section.soft::after { width: 520px; height: 520px; right: -180px; bottom: 0; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 30%, transparent), transparent 70%); animation: drift-b 22s ease-in-out infinite; }
@keyframes drift-a { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift-b { 50% { transform: translate(-90px, -50px) scale(.92); } }

/* Iconos con relieve y luz */
.card .ico { background: linear-gradient(145deg, color-mix(in srgb, var(--ac-soft) 100%, #fff), #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 18%, transparent), 0 10px 24px -12px color-mix(in srgb, var(--ac) 70%, transparent); transition: transform .4s var(--ease); }
.card:hover .ico { transform: translateY(-3px) rotate(-6deg) scale(1.06); }

/* Pasos: línea que los une con un punto de luz que la recorre */
.flow { position: relative; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ac) 45%, transparent) 15%, color-mix(in srgb, var(--ac) 45%, transparent) 85%, transparent); }
.flow::after { content: ""; position: absolute; top: 34px; left: 8%; width: 10px; height: 10px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: var(--ac-glow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac-glow) 25%, transparent), 0 0 18px var(--ac-glow); animation: flow-dot 4.5s ease-in-out infinite; }
@keyframes flow-dot { 0% { left: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 92%; opacity: 0; } }
.flow > * { position: relative; z-index: 1; }
@media (max-width: 720px) { .flow::before, .flow::after { display: none; } }

/* Cabeceras de página: órbitas en 3D */
.page-hero { position: relative; overflow-x: clip; isolation: isolate; }
.orbits { position: absolute; z-index: -1; right: -6%; top: 50%; width: min(760px, 70vw); aspect-ratio: 1; transform: translateY(-50%); perspective: 1200px; pointer-events: none; opacity: .9; }
.orbits i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ac) 22%, transparent); transform-style: preserve-3d; }
.orbits i:nth-child(1) { transform: rotateX(72deg) rotateZ(0); animation: orbit1 26s linear infinite; }
.orbits i:nth-child(2) { inset: 9%; transform: rotateY(68deg) rotateX(12deg); animation: orbit2 34s linear infinite; border-style: dashed; }
.orbits i:nth-child(3) { inset: 18%; transform: rotateX(58deg) rotateY(30deg); animation: orbit3 22s linear infinite reverse; }
.orbits i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ac-glow); box-shadow: 0 0 14px var(--ac-glow); }
.orbits b { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac-glow) 30%, transparent), transparent 70%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes orbit1 { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { to { transform: rotateY(68deg) rotateX(12deg) rotateZ(360deg); } }
@keyframes orbit3 { to { transform: rotateX(58deg) rotateY(30deg) rotateZ(360deg); } }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }
@media (max-width: 720px) { .orbits { width: 120vw; right: -40%; opacity: .5; } }

/* Datos de cabecera como pequeñas tarjetas con línea de luz */
.facts > div { position: relative; overflow: hidden; }
.facts > div::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--ac-glow), transparent); transform: translateX(-100%); animation: scan 5s ease-in-out infinite; }
.facts > div:nth-child(2)::after { animation-delay: .6s; } .facts > div:nth-child(3)::after { animation-delay: 1.2s; }
@keyframes scan { 0%, 40% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }

/* ---------- Escenario de los vídeos ---------- */
.vplayer { position: relative; }
.vstage { position: relative; isolation: isolate; border-radius: 30px; padding: 7px; background: rgba(13,34,48,.92); box-shadow: 0 50px 100px -40px rgba(0,79,110,.6); }
.vstage::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), #3FC1EC, transparent 25%, #0099CC 50%, transparent 75%, #3FC1EC);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-ang 6s linear infinite; }
@keyframes spin-ang { to { --ang: 360deg; } }
.v-aura { position: absolute; z-index: -2; inset: -16% -22%; border-radius: 50%; pointer-events: none; filter: blur(50px); opacity: .7;
  background: radial-gradient(40% 40% at 30% 30%, rgba(63,193,236,.55), transparent 70%), radial-gradient(45% 45% at 75% 70%, rgba(0,153,204,.45), transparent 70%), radial-gradient(35% 35% at 70% 20%, rgba(20,163,142,.35), transparent 70%);
  animation: aura 12s ease-in-out infinite; }
@keyframes aura { 50% { transform: rotate(20deg) scale(1.08); } }
.vstage video { border-radius: 24px; box-shadow: none; }
.v-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  background: rgba(255,255,255,.95); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s; }
.v-play i { width: 0; height: 0; border-left: 24px solid var(--blue-ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.v-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: ring-out 2.2s ease-out infinite; }
@keyframes ring-out { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.v-play:hover { transform: scale(1.08); }
.playing .v-play { opacity: 0; pointer-events: none; transform: scale(.8); }
.v-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font: 600 12px var(--f-mono); letter-spacing: .04em; padding: 9px 13px; pointer-events: none; transition: opacity .3s; }
.v-who { top: 20px; left: 20px; color: #fff; background: rgba(13,34,48,.7); backdrop-filter: blur(8px); text-transform: uppercase; }
.v-who i { width: 8px; height: 8px; border-radius: 50%; background: #ff4a2a; box-shadow: 0 0 0 4px rgba(255,74,42,.25); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.v-cc { right: -18px; bottom: 64px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.playing .v-who, .playing .v-cc { opacity: 0; }
section.has-video { position: relative; overflow-x: clip; isolation: isolate; }
section.has-video::after { content: attr(data-bg); position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
  font: italic 900 clamp(90px, 15vw, 230px)/1 var(--f-logo); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(0,153,204,.1); }
@media (max-width: 560px) { .v-cc { top: 62px; left: 20px; right: auto; } }

@media (prefers-reduced-motion: reduce) {
  h1 .blue, h2 .blue, section.soft::before, section.soft::after, .flow::after, .orbits i, .orbits b, .facts > div::after, .vstage::before, .v-aura, .v-play::before, .v-who i { animation: none !important; }
}

/* Tarjetas con carácter: degradado de su color, acento que se dibuja y su icono como marca de agua */
.card:not(.dark):not(:has(.card-visual)) { background: radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--ac-soft) 95%, transparent), transparent 58%), #fff; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--ac), var(--ac-glow)); transition: width 1.2s var(--ease) .25s; z-index: 1; }
.card.reveal.in::after, .reveal.in .card::after { width: 100%; }
.card-deco { position: absolute; right: -22px; bottom: -22px; width: 130px; height: 130px; color: var(--ac); opacity: .08; transform: rotate(-12deg); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; z-index: 0; }
.card-deco svg { width: 100%; height: 100%; stroke-width: 1.1; }
.card:hover .card-deco { opacity: .16; transform: rotate(0) scale(1.08); }
.card > :not(.spot):not(.card-deco) { position: relative; z-index: 1; }
.v-cc { top: 20px; right: 20px; bottom: auto; background: rgba(255,255,255,.92); }
@media (max-width: 560px) { .v-cc { top: 62px; left: 20px; right: auto; } }

/* Tarjetas de los tres estudios: gráfico arriba (zona propia) y texto debajo, sin pisarse */
.tile.study { --vis-h: 300px; min-height: 0; padding-top: calc(var(--vis-h) + 8px); }
.tile.study .tile-vis { inset: 0 0 auto 0; height: var(--vis-h); }
.tile.study .tile-vis canvas { height: 100%; }
.tile.study .markers.mini { top: 30px; left: 34px; right: 34px; gap: 10px; }
.tile.study .markers.mini > :nth-child(n+16) { display: none; }
.tile.study .tile-body::before { inset: -40px -28px -28px; background: linear-gradient(0deg, var(--ac-night) 70%, transparent); }
.tile.study .hud { z-index: 2; }
@media (max-width: 1080px) { .tile.study { --vis-h: 260px; } }
@media (max-width: 560px) { .tile.study { --vis-h: 220px; } .tile.study .markers.mini > :nth-child(n+11) { display: none; } }

/* ---------- Menú: iconos, luz al pasar el cursor y página actual ---------- */
.menu > li > a, .menu > li > button { position: relative; transition: color .2s, background .25s var(--ease); }
.menu > li > a::after, .menu > li > button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light)); box-shadow: 0 0 10px var(--blue-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.has-dd.open > button { background: var(--blue-soft); color: var(--blue-ink); }
.menu > li > a:hover::after, .menu > li > button:hover::after, .menu > li.has-dd.open > button::after, .menu > li > .active::after { transform: scaleX(1); }
.menu > li > .active { color: var(--blue-ink); }

.dropdown a:not(.dd-all):has(.dd-ic) { display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; column-gap: 12px; padding: 11px 12px; flex-direction: row; transition: background .25s var(--ease), transform .25s var(--ease); }
.dd-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--blue-ink); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(0,153,204,.12); transition: all .3s var(--ease); }
.dd-ic svg { width: 21px; height: 21px; }
.dd-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dd-go { color: var(--blue); font-weight: 700; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.dropdown a:has(.dd-ic):hover { background: linear-gradient(90deg, var(--blue-soft), rgba(230,245,251,.3)); transform: translateX(3px); }
.dropdown a:has(.dd-ic):hover .dd-ic { background: linear-gradient(145deg, var(--blue-light), var(--blue-ink)); color: #fff; box-shadow: 0 8px 20px -8px var(--blue), 0 0 0 4px rgba(63,193,236,.18); transform: rotate(-6deg) scale(1.05); }
.dropdown a:has(.dd-ic):hover .dd-go { opacity: 1; transform: none; }
.dropdown a.active:has(.dd-ic) { background: var(--blue-soft); }
.dropdown a.active:has(.dd-ic) .dd-ic { background: var(--blue); color: #fff; }
/* Epigenética y genética: tarjetas de su color, con su icono */
.dropdown.mega a.dd-dot:has(.dd-ic) { padding: 12px; color: #fff; }
.dropdown.mega a.dd-dot::before { display: none; }
.dropdown.mega a.dd-dot .dd-ic { background: rgba(255,255,255,.1); color: var(--ac-glow); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.dropdown.mega a.dd-dot .dd-go { color: var(--ac-glow); }
.dropdown.mega a.dd-dot:hover .dd-ic { background: var(--ac-glow); color: var(--ac-night); box-shadow: 0 0 18px var(--ac-glow); }
.dropdown.mega a.dd-dot:hover { background: radial-gradient(80% 90% at 90% 0%, color-mix(in srgb, var(--ac-glow) 50%, transparent), transparent 70%), var(--ac-night); }
/* Desplegable con un poco más de profundidad */
.dropdown { border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(13,34,48,.35), 0 0 0 1px rgba(13,34,48,.04); }
.dropdown a.dd-all { font-weight: 700; }
.dropdown a.dd-all:hover .arrow { transform: translateX(5px); }
.dropdown:not(.mega) { min-width: 360px; }
.dropdown.mega.two { min-width: 760px; }
@media (max-width: 1100px) { .dropdown.mega.two { min-width: 0; } }
/* Palabra clave + ciudad dentro del H1 (lo primero que lee Google), con aspecto de antetítulo */
h1 .h1-kw { display: block; margin-bottom: .5em; font-size: clamp(13px, 1.1vw, 15px); line-height: 1.35; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac-ink); -webkit-text-fill-color: currentColor; background: none; animation: none; }
.page-hero.area-hero h1 .h1-kw, .band h1 .h1-kw { color: var(--ac-ink); }

/* ---------- Artículos de consejos (SEO): índice fijo, texto cómodo y datos ---------- */
.art-stats { display: grid; gap: 12px; }
.art-stats .ast { position: relative; overflow: hidden; border-radius: 22px; padding: 22px 24px; color: #fff; background: radial-gradient(80% 90% at 90% 0%, rgba(63,193,236,.3), transparent 70%), var(--night); box-shadow: var(--shadow-lg); }
.art-stats .ast b { display: block; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.03em; color: var(--blue-light); }
.art-stats .ast span { color: var(--night-mu); font-size: 15px; }
.art-wrap { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: var(--s4); justify-content: center; align-items: start; }
.art-toc { position: sticky; top: 110px; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.art-toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.art-toc ol { margin: 0 0 18px; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.art-toc a { color: var(--ink); text-decoration: none; } .art-toc a:hover { color: var(--blue-ink); }
.art-toc .btn { width: 100%; }
.prose { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); font-size: 17.5px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.6em 0 .5em; scroll-margin-top: 110px; }
.prose p, .prose li { color: #3A4247; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: .4em; }
.prose a { color: var(--blue-ink); font-weight: 600; }
.prose .tldr { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; padding: 18px 20px; margin: 0; color: var(--ink); }
.art-faq { margin-bottom: var(--s3); }
@media (max-width: 960px) { .art-wrap { grid-template-columns: 1fr; } .art-toc { position: static; } .art-stats { grid-template-columns: repeat(3, 1fr); } .art-stats .ast { padding: 16px; } .art-stats .ast b { font-size: 24px; } .art-stats .ast span { font-size: 12.5px; } }
.guide-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; text-decoration: none; }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .grid.g2 { grid-template-columns: 1fr; } .guide-link { margin: 8px 0 0; } }
/* Titulares SEO (más largos): tamaño ajustado para que el botón siga a la vista */
.hero h1 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.04; }
.page-hero h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }

/* ---------- Reservar cita (Doctoralia) ---------- */
.booking { background: #fff; border-radius: 28px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow-lg); min-height: 360px; display: grid; align-content: center; }
.booking-widget { width: 100%; }
.booking-widget .btn { width: 100%; }
.book-ways { display: grid; gap: 12px; }
.book-ways .bw { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: all .25s var(--ease); }
.book-ways .bw svg { grid-row: 1 / 3; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); }
.book-ways .bw b { font-size: 17px; } .book-ways .bw span { color: var(--ink-mu); font-size: 14px; }
.book-ways .bw:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.book-ways .bw:hover svg { background: var(--blue); color: #fff; }
.book-ways .bw:first-child svg { background: #E3F7EC; color: #0A7D43; }

/* ---------- Reserva online: presente en toda la web ---------- */
.book-bar { position: relative; z-index: 71; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px; font-size: 14px; color: #fff; text-decoration: none;
  background: linear-gradient(90deg, #0D2230, #006E94 50%, #0D2230); background-size: 200% 100%; animation: band-move 10s ease-in-out infinite; }
.book-bar svg { width: 18px; height: 18px; color: var(--blue-light); flex: none; }
.book-bar b { color: var(--blue-light); }
.book-bar .bb-go { font-weight: 700; background: #fff; color: var(--night); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.book-bar:hover .bb-go .arrow { transform: translateX(4px); }
@media (max-width: 720px) { .book-bar { font-size: 12.5px; gap: 8px; padding: 8px 12px; } .book-bar > span:first-of-type b { display: none; } }
.nav-cta .btn-primary svg { width: 17px; height: 17px; }
.fab-book { background: var(--blue-ink); color: #fff; box-shadow: 0 14px 30px -12px var(--blue-ink); }
.fab-book svg { color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .mobile-bar { grid-template-columns: 1fr 58px 58px !important; }
  .mobile-bar .btn-wa, .mobile-bar .btn-light { padding: 15px 0; }
  .mobile-bar .btn svg { width: 20px; height: 20px; }
}
/* Página de reserva: mini app en 3 pasos */
.booking.reveal { align-content: start; }
.bk-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bk-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--grey); border-bottom: 3px solid var(--line); padding-bottom: 8px; transition: all .3s; }
.bk-steps li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--line); color: var(--ink); }
.bk-steps li.on { color: var(--blue-ink); border-color: var(--blue); } .bk-steps li.on b { background: var(--blue); color: #fff; }
.bk-services { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.bk-services legend, .bk-h { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.svc { cursor: pointer; display: block; }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc-in { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: 16px; transition: all .2s var(--ease); }
.svc-in b { font-size: 15.5px; } .svc-in small { grid-row: 2; color: var(--ink-mu); font-size: 13px; }
.svc-in em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 800; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.svc:hover .svc-in { border-color: var(--blue); }
.svc input:checked + .svc-in { border-color: var(--blue); background: linear-gradient(90deg, var(--blue-soft), #fff); box-shadow: 0 0 0 4px rgba(0,153,204,.12); }
.svc input:checked + .svc-in em { background: var(--blue); color: #fff; }
.svc input:focus-visible + .svc-in { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.bk-perks { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-perks li { font-size: 14px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 7px 14px; }
.bk-perks li::before { content: "✓ "; }
/* Portada: «Reserva tu cita online en 1 minuto» */
.bk-how { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s4); align-items: center; border-radius: 32px; padding: clamp(28px, 4vw, 56px); background: radial-gradient(70% 80% at 100% 0%, rgba(63,193,236,.18), transparent 60%), var(--blue-soft); }
.bk-3 { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 12px; }
.bk-3 li { display: flex; gap: 14px; align-items: flex-start; }
.bk-3 li > b { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px rgba(0,153,204,.15); }
.bk-3 strong { display: block; } .bk-3 span { color: var(--ink-mu); font-size: 15px; }
.bk-mock { position: relative; background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(2deg); animation: bob 5s ease-in-out infinite; }
.bk-mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .bk-mock-head svg { width: 26px; height: 26px; color: var(--blue); }
.bk-mock-head span { margin-left: auto; font-size: 12px; color: var(--grey); }
.bk-mock-svc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bk-mock-svc span { font-size: 12.5px; font-weight: 600; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 10px; }
.bk-mock-svc .on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk-mock-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.bk-mock-cal span { text-align: center; font-size: 11px; font-weight: 700; color: var(--grey); }
.bk-mock-cal i { height: 30px; border-radius: 9px; background: var(--grey-soft); }
.bk-mock-cal i:nth-child(8), .bk-mock-cal i:nth-child(14) { background: var(--blue-soft); box-shadow: inset 0 0 0 1.5px var(--blue); animation: pick 3s ease-in-out infinite; }
@keyframes pick { 50% { background: var(--blue); } }
.bk-mock-cta { text-align: center; font-weight: 700; color: #fff; background: var(--blue-ink); border-radius: 999px; padding: 12px; }
.bk-mock-note { position: absolute; right: 16px; bottom: -26px; font: 500 11px var(--f-mono); color: var(--grey); text-transform: uppercase; letter-spacing: .06em; }
.btn-primary svg, .btn-white svg, .btn-glow svg { width: 19px; height: 19px; }
@media (max-width: 900px) { .bk-how { grid-template-columns: 1fr; } .bk-mock { transform: none; } }
/* Pedir cita por WhatsApp (mientras la reserva online está apagada): conversación de ejemplo */
.wa-mock { position: relative; display: grid; gap: 8px; background: #efeae2; border-radius: 26px; padding: 0 18px 20px; box-shadow: var(--shadow-lg); transform: rotate(2deg); animation: bob 5s ease-in-out infinite; }
.wa-mock-head { display: flex; align-items: center; gap: 10px; margin: 0 -18px 8px; padding: 14px 18px; border-radius: 26px 26px 0 0; background: var(--night); color: #fff; }
.wa-mock-head svg { width: 22px; height: 22px; color: var(--wa); }
.wa-mock-head span { margin-left: auto; font-size: 12px; opacity: .7; }
.wa-mock p { margin: 0; max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.35; color: var(--ink); box-shadow: 0 1px 1px rgba(13,34,48,.08); }
.wa-mock .me { justify-self: end; background: #d9fdd3; border-top-right-radius: 4px; }
.wa-mock .them { justify-self: start; background: #fff; border-top-left-radius: 4px; }
@media (max-width: 900px) { .wa-mock { transform: none; } }
[data-wa-dup] { display: none !important; }
a.hint { display: block; text-decoration: none; color: inherit; }

/* ---------- Panel de reserva (se abre desde cualquier botón «Reservar») ---------- */
html.bm-open { overflow: hidden; }
.book-modal { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; }
.book-modal[hidden] { display: none; }
.bm-backdrop { position: absolute; inset: 0; background: rgba(13,34,48,.55); backdrop-filter: blur(4px); }
.bm-panel { position: relative; width: min(560px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -30px 0 80px -20px rgba(0,0,0,.4); animation: bm-in .38s var(--ease); }
@keyframes bm-in { from { transform: translateX(40px); } to { transform: none; } }
.bm-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--night), #0B3A52); color: #fff; }
.bm-head b { display: block; font-size: 18px; } .bm-head small { color: var(--night-mu); font-size: 12.5px; }
.bm-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(63,193,236,.18); color: var(--blue-light); flex: none; } .bm-ic svg { width: 22px; height: 22px; }
.bm-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; font-size: 22px; cursor: pointer; }
.bm-body { flex: 1; overflow-y: auto; padding: 20px 22px 28px; }
@keyframes bm-up { from { transform: translateY(60px); } to { transform: none; } }
@media (max-width: 600px) { .book-modal { align-items: flex-end; } .bm-panel { height: 92vh; border-radius: 22px 22px 0 0; animation: bm-up .38s ease-out both; } }
/* Calendario (vista previa y estilo de los pasos) */
.bk-demo-note { font-size: 13px; color: #8A5A00; background: #FFF6E0; border: 1px solid #F5D78A; border-radius: 12px; padding: 10px 12px; margin: 0 0 16px; }
.bk-sec { margin-bottom: 18px; }
.bk-chips { display: grid; gap: 8px; }
.bk-chips button, .bk-days button, .bk-slots button { font: inherit; cursor: pointer; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 14px; transition: all .18s var(--ease); }
.bk-chips button { text-align: left; padding: 11px 14px; font-weight: 600; font-size: 15px; }
.bk-chips button small { display: block; font-weight: 400; color: var(--ink-mu); font-size: 13px; }
.bk-chips button.on, .bk-days button.on, .bk-slots button.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-chips button.on small { color: rgba(255,255,255,.85); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.bk-days button { flex: 0 0 64px; padding: 8px 4px; display: grid; justify-items: center; line-height: 1.1; }
.bk-days button b { font-size: 20px; } .bk-days button small { font-size: 11px; text-transform: uppercase; color: inherit; opacity: .75; }
.bk-slots { margin-bottom: 10px; } .bk-slots > small { display: block; font-size: 12px; font-weight: 700; color: var(--grey); margin-bottom: 6px; }
.bk-slots > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-slots button { padding: 9px 0; font-weight: 600; font-size: 14px; }
.bk-slots button:hover:not(:disabled), .bk-days button:hover, .bk-chips button:hover { border-color: var(--blue); }
.bk-slots button:disabled { color: var(--grey-2); background: var(--grey-soft); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.bk-pick { color: var(--ink-mu); font-size: 14px; text-align: center; }
.bk-confirm { background: var(--blue-soft); border-radius: 18px; padding: 16px; animation: fadein .3s; }
.bk-sum { margin: 0 0 12px; font-size: 15px; }
.bk-fields { display: grid; gap: 8px; margin-bottom: 12px; }
.bk-fields input { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.bk-confirm .btn { width: 100%; }
.bk-done { text-align: center; padding: 30px 10px; animation: fadein .35s; }
.bk-done > span { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: #E3F7EC; color: #0A7D43; }
.bk-done h3 { font-size: 26px; margin: 0 0 8px; }
/* Embajadores con foto (Kika, Ubieto) */
.amb.amb-photo { background: linear-gradient(180deg, rgba(13,34,48,0) 35%, rgba(13,34,48,.92)), var(--img) center 25% / cover, var(--night-2); }
.amb.amb-photo .name-bg { opacity: .45; }
#embajadores .grid.g3, .grid.g3:has(> .amb-photo) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
#embajadores .grid.g3, .grid.g3:has(> .amb-photo) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.grid.g3:has(> .amb-photo) > .amb-type { order: 2; }
.grid.g3:has(> .amb-photo) > .amb { min-height: 360px; }
.grid.g3:has(> .amb-photo) .amb h3 { font-size: 24px; }
@media (max-width: 1100px) { #embajadores .grid.g3, .grid.g3:has(> .amb-photo) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { #embajadores .grid.g3, .grid.g3:has(> .amb-photo) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.g3:has(> .amb-photo) > .amb { min-height: 280px; } }
