/* CoreNutrition · Nutricionista en Miranda de Ebro
   Colores sacados de las tarjetas «Cambios reales» de la marca. */
:root {
  --navy: #2c3a6c;
  --navy-logo: #2d3c6f;      /* fondo exacto del logo en versión oscura */
  --navy-deep: #1f2a52;
  --ink: #1b2142;
  --muted: #565d7d;
  --cream: #f1f0ed;          /* fondo exacto del logo en versión clara */
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e2dfd7;
  --gold: #dca818;
  --gold-hi: #f0c95a;
  --gold-text: #85600a;      /* dorado legible sobre crema (5:1) */
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 42, 82, .08);
  --shadow-lg: 0 24px 60px rgba(31, 42, 82, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Kalnia", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
section[id], #reserva { scroll-margin-top: 84px; }

/* ─── Progreso de lectura ─── */
.prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1500; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ─── Barra de avisos ─── */
.ab { background: var(--navy-deep); text-align: center; padding: 8px 16px; }
.ab-text { color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; letter-spacing: .01em; transition: opacity .35s ease; }
.ab-text.ab-out { opacity: 0; }

/* ─── Cabecera ─── */
.sn { position: sticky; top: 0; z-index: 500; background: var(--cream); border-bottom: 1px solid rgba(31, 42, 82, .07); }
.sn-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 28px; }
.sn-logo img { height: 42px; width: auto; }
.sn-links { display: flex; align-items: center; gap: 4px; }
.sn-links > a { padding: 8px 13px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 8px; white-space: nowrap; transition: background .2s, color .2s; }
.sn-links > a:hover { background: rgba(44, 58, 108, .07); }
.sn-phone { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 100px !important; margin-left: 6px; }
.sn-phone .ic { width: 16px; height: 16px; }
.sn-cta { background: var(--gold); color: var(--navy-deep) !important; border-radius: 100px !important; padding: 9px 18px !important; font-weight: 700 !important; box-shadow: 0 2px 10px rgba(220, 168, 24, .35); margin-left: 4px; }
.sn-cta:hover { background: #cb9a12 !important; }
.sn-burger { display: none; width: 44px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px; flex-direction: column; justify-content: center; gap: 4px; }
.sn-burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sn-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sn-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sn-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Botones ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 14px 24px; border-radius: 100px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 20px rgba(220, 168, 24, .38); }
.btn-primary:hover { background: #cb9a12; }
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); animation: brilla 5s ease-in-out infinite; pointer-events: none; }
@keyframes brilla { 0%, 72% { left: -70%; } 100% { left: 135%; } }
.btn-ghost { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost .ic { color: var(--ink); }
.btn-lg { min-height: 62px; padding: 16px 26px; font-size: 17px; }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #06341a; }
.btn-wa:hover { background: #1fc05c; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ─── Hero ─── */
.hero { background: radial-gradient(1100px 520px at 85% 10%, rgba(220, 168, 24, .13), transparent 60%), var(--cream); padding: 56px 0 72px; overflow: hidden; }
.hero-grid { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 52px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; gap: 10px; background: var(--white); border: 1px solid #e9e2d7; border-radius: 100px; padding: 9px 20px 9px 12px; font-size: 15px; color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(31, 42, 82, .08); margin-bottom: 24px; }
.hero-badge strong { font-weight: 800; }
.hero-badge-faces { display: flex; flex: none; }
.hero-badge-faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -8px; }
.hero-badge-faces img:first-child { margin-left: 0; }
.hero-badge-dot { width: 4px; height: 4px; border-radius: 50%; background: #d6d1c6; }
.hero-badge-rev { display: inline-flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; gap: 1px; color: #e9b52c; font-size: 17px; letter-spacing: 0; line-height: 1; }
.stars i { font-style: normal; display: inline-block; }
.gg { color: #4285f4; font-weight: 800; }
.h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.035em; color: var(--navy); line-height: 1.02; }
.h1 em, .h2 em { font-family: var(--display); font-style: normal; font-weight: 600; letter-spacing: -.01em; background: linear-gradient(95deg, #c99206 0%, var(--gold) 40%, #e9bd3e 75%, #c99206 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 em { display: block; font-size: .9em; line-height: 1.14; padding-bottom: .04em; }
.nw { white-space: nowrap; }
.hero-hook { text-wrap: balance; margin-top: 22px; font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero-sub { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.hero-points .ic { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassure { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 400; color: #6b6b6b; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure .ic { width: 19px; height: 19px; color: #4f8a64; }
.reassure-center { justify-content: center; margin-top: 28px; }
.hero-note { position: relative; margin-top: 30px; padding: 18px 22px 18px 26px; background: var(--white); border: 1px solid #e9e2d7; border-radius: 14px; font-size: 15.5px; line-height: 1.6; color: #6b6b6b; max-width: 600px; overflow: hidden; }
.hero-note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.hero-note strong { color: var(--ink); }

.hero-visual { --px: 0; --py: 0; position: relative; padding: 34px 0 44px; }
.vsl-wrap { position: relative; }
.vsl-back { position: absolute; inset: 22px -20px -22px 26px; border-radius: 28px; background: linear-gradient(160deg, #f6e2a4, #e9c55e); transform: rotate(3deg); opacity: .85; translate: calc(var(--px) * 18px) calc(var(--py) * 14px); transition: translate .5s cubic-bezier(.22, .61, .36, 1); }
.vsl { position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-lg); border: 6px solid var(--white); transform: perspective(1400px) rotateY(calc(var(--px) * 6deg)) rotateX(calc(var(--py) * -5deg)); transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.vsl-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(20, 27, 56, .2), rgba(20, 27, 56, .62)); pointer-events: none; }
.vsl.is-playing::after { display: none; }
.vsl-btn { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: transparent; border: 0; cursor: pointer; text-align: center; color: #fff; }
.vsl-play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(220, 168, 24, .25); transition: transform .2s; flex: none; }
.vsl-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(240, 201, 90, .8); animation: onda 2.2s ease-out infinite; }
@keyframes onda { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.vsl-play .ic { width: 30px; height: 30px; margin-left: 4px; }
.vsl-btn:hover .vsl-play { transform: scale(1.07); }
.vsl-label { font-weight: 800; font-size: 19px; line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.vsl-label small { display: block; font-weight: 500; font-size: 13px; opacity: .85; }
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: #2d2d2d; font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: 100px; border: 1px solid #ece6db; box-shadow: 0 14px 34px rgba(31, 42, 82, .14); white-space: nowrap; }
.chip .ic { width: 19px; height: 19px; color: #b8862b; }
.chip { animation: flota 6s ease-in-out infinite; transition: translate .5s cubic-bezier(.22, .61, .36, 1); }
.chip-1 { top: 2px; left: -26px; translate: calc(var(--px) * -34px) calc(var(--py) * -24px); }
.chip-2 { top: 30%; right: -34px; animation-delay: -3s; translate: calc(var(--px) * 38px) calc(var(--py) * 28px); }
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Entrada del hero */
@keyframes entra-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: entra-sube .75s cubic-bezier(.22, .61, .36, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .21s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; }
.hero-copy > :nth-child(6) { animation-delay: .35s; }
.hero-copy > :nth-child(7) { animation-delay: .42s; }
.hero-copy > :nth-child(8) { animation-delay: .49s; }
.hero-visual { animation: entra-sube .9s .18s cubic-bezier(.22, .61, .36, 1) both; }
.stars i { animation: estrella .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.stars i:nth-child(1) { animation-delay: .5s; }
.stars i:nth-child(2) { animation-delay: .6s; }
.stars i:nth-child(3) { animation-delay: .7s; }
.stars i:nth-child(4) { animation-delay: .8s; }
.stars i:nth-child(5) { animation-delay: .9s; }
@keyframes estrella { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ─── Cifras ─── */
.stats { background: var(--white); border-top: 1px solid #ebe6dc; border-bottom: 1px solid #ebe6dc; }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 34px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid #e6e0d5; }
.stat-num { font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: -.03em; color: #b98030; line-height: 1; }
.stat-num i { font-style: normal; font-size: .62em; margin-left: 2px; color: #b98030; }
.stat-num .stat-star { font-size: .78em; margin-left: 4px; color: var(--gold); display: inline-block; animation: late 2.8s ease-in-out infinite; }
@keyframes late { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.22) rotate(8deg); } }
.stat-num { font-variant-numeric: tabular-nums; }
.stat-label { font-size: clamp(14px, 1.4vw, 18px); color: #6b6b6b; }

/* ─── Secciones ─── */
.sec { padding: 88px 0; background: var(--paper); }
.sec-cream { background: var(--cream); }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--white); }
.sec-navy { background: var(--navy); color: #fff; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; }
.wrap-wide { max-width: 1300px; }
.mf .lead { max-width: 900px; }
.eyebrow { display: block; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.eyebrow-left { text-align: left; }
.eyebrow-gold { color: var(--gold); }
.h2 { text-align: center; font-size: clamp(31px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.h2-left { text-align: left; }
.h2-light { color: #fff; }
.lead { text-align: center; max-width: 720px; margin: 16px auto 0; font-size: 17px; color: var(--muted); }
.lead-left { text-align: left; margin-left: 0; }
.lead-light { color: rgba(255, 255, 255, .8); }
.lead strong { color: var(--ink); }

/* ─── Cintas de cambios ─── */
.cambios { padding-bottom: 72px; }
.cintas { margin-top: 44px; display: grid; gap: 16px; }
.cinta { overflow: hidden; }
.cinta-pista { display: flex; width: max-content; animation: desliza var(--dura, 70s) linear infinite; }
.cinta--rev .cinta-pista { animation-direction: reverse; }
.cinta:hover .cinta-pista, .cinta:focus-within .cinta-pista { animation-play-state: paused; }
.cinta-grupo { display: flex; gap: 16px; padding-right: 16px; list-style: none; margin: 0; }
.cinta-item { flex: none; width: clamp(150px, 19vw, 236px); }
.cinta-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--cream); border-radius: 16px; overflow: hidden; cursor: zoom-in; box-shadow: 0 8px 22px rgba(31, 42, 82, .1); transition: transform .2s, box-shadow .2s; }
.cinta-item button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 42, 82, .16); }
.cinta-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@keyframes desliza { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cambios-noscript { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }

/* ─── Reserva (Calendly) ─── */
.cal { position: relative; max-width: 1000px; margin: 40px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; min-height: 700px; }
.cal .calendly-inline-widget, .cal iframe { width: 100%; min-width: 320px; height: 700px; border: 0; }
.cal-skel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 34px; }
.cal-skel span { border-radius: 16px; background: linear-gradient(90deg, #f3f1ec 0%, #faf9f6 50%, #f3f1ec 100%); background-size: 200% 100%; animation: brillo 1.4s ease-in-out infinite; }
.cal-skel span:nth-child(3) { grid-column: 1 / -1; height: 80px; }
@keyframes brillo { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.cal-fallback { text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.cal-fallback a, .alt a { color: var(--gold-text); font-weight: 700; }
.alt { text-align: center; margin-top: 18px; font-size: 15px; color: var(--muted); }

/* ─── Pasos ─── */
.pasos { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px; }
.paso { position: relative; background: var(--white); border: 1px solid #ebe7de; border-radius: 26px; padding: 64px 30px 42px; text-align: center; transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s, border-color .5s; }
.paso.is-on { transform: translateY(-10px); box-shadow: 0 28px 56px rgba(31, 42, 82, .13); border-color: #e3ddcf; }
.paso-n { position: absolute; top: -21px; left: 50%; margin-left: -21px; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center; transition: background .4s, color .4s, transform .4s; }
.paso.is-on .paso-n { background: var(--gold); color: var(--navy-deep); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 168, 24, .2); }
.paso-ic { display: block; width: 46px; height: 46px; margin: 0 auto 26px; color: #b8862b; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.paso.is-on .paso-ic { transform: translateY(-4px) scale(1.1); }
.paso h3 { font-size: 22px; color: var(--ink); letter-spacing: -.015em; margin-bottom: 14px; }
.paso p { font-size: 16.5px; color: #6b6b6b; line-height: 1.75; }
.paso:not(:last-child)::after { content: ""; position: absolute; top: 106px; left: 100%; width: 46px; height: 2px; background: linear-gradient(90deg, #d9d3c5 55%, transparent 0) 0 0 / 10px 2px repeat-x; animation: hormigas .9s linear infinite; }
@keyframes hormigas { to { background-position: 10px 0; } }
@keyframes hormigas-v { to { background-position: 0 10px; } }

/* ─── Qué incluye ─── */
.incluye { max-width: 1000px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.inc { background: var(--white); border: 1px solid #ece8df; border-radius: 24px; padding: 40px 42px 44px; transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s, border-color .35s; }
.inc:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(31, 42, 82, .1); border-color: #e4d9c0; }
.inc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: #fdf3dc; color: #b8862b; margin-bottom: 34px; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .3s; }
.inc:hover .inc-ic { transform: rotate(-8deg) scale(1.1); background: #fbe8b8; }
.inc-ic .ic { width: 26px; height: 26px; }
.inc h3 { font-size: 21px; color: var(--ink); letter-spacing: -.012em; margin-bottom: 14px; }
.inc p { font-size: 16.5px; color: #6b6b6b; line-height: 1.7; }

/* Luz que sigue al ratón */
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(220, 168, 24, .13), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; }
.paso.glow > .paso-n { position: absolute; }

/* ─── App de pacientes ─── */
.ap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ap-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.ap-tit { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.ap-lead { margin-top: 16px; font-size: 17.5px; color: var(--muted); max-width: 540px; }
.ap-lead strong { color: var(--ink); }
.ap-tabs { display: grid; gap: 12px; margin-top: 28px; }
.ap-tab { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 22px; border: 1.5px solid transparent; border-radius: 18px; background: #f6f3ec; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s, transform .2s; }
.ap-tab:hover { background: #f1ede3; }
.ap-tab[aria-pressed="true"] { background: #fff8e1; border-color: var(--gold); }
.ap-tab > span:last-child { font-size: 15.5px; color: var(--muted); line-height: 1.45; }
.ap-tab strong { display: block; font-size: 17.5px; color: var(--ink); margin-bottom: 2px; }
.ap-ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--white); display: grid; place-items: center; font-size: 24px; box-shadow: 0 2px 8px rgba(31, 42, 82, .07); }
.ap-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); border-radius: 0 3px 3px 0; }
.ap.is-auto .ap-tab[aria-pressed="true"]::after { animation: barra 4.5s linear forwards; }
@keyframes barra { from { width: 0; } to { width: 100%; } }

.ap-stage { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.ap-glow { position: absolute; inset: 8% 4%; background: radial-gradient(circle at 50% 45%, rgba(220, 168, 24, .26), transparent 66%); filter: blur(10px); }
.ap-phone { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #f5f5f7; border: 11px solid #17181c; box-shadow: 0 40px 80px rgba(18, 22, 40, .28), inset 0 0 0 1px rgba(255, 255, 255, .05); transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) rotate(2deg); overflow: hidden; }
.ap-notch { position: absolute; top: 9px; left: 50%; width: 92px; height: 7px; margin-left: -46px; border-radius: 7px; background: #26272c; z-index: 3; }
.ap-screens { position: absolute; inset: 0; }
.ap-screen { position: absolute; inset: 0; padding: 30px 14px 0; display: flex; flex-direction: column; opacity: 0; transform: translateX(14px); transition: opacity .45s ease, transform .45s ease; }
.ap-screen.is-on { opacity: 1; transform: none; }
.aps-top { display: flex; justify-content: center; }
.aps-top img { width: 30px; height: 30px; border-radius: 50%; }
.aps-back { margin-top: 8px; font-size: 11.5px; font-weight: 600; color: #444; }
.aps-h { margin-top: 10px; text-align: center; font-size: 21px; font-weight: 800; color: #15171c; letter-spacing: -.01em; }
.aps-sub { margin-top: 4px; text-align: center; font-size: 11px; color: #6f7280; line-height: 1.4; padding: 0 8px; }
.aps-chips { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.aps-chips span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 100px; background: #fff; color: #555; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.aps-chips .on { background: var(--gold); color: var(--navy-deep); }
.aps-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 14px; }
.aps-card { min-width: 0; display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 14px; padding: 11px 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.aps-img { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--c, #eee); display: grid; place-items: center; font-size: 20px; }
.aps-txt { flex: 1; min-width: 0; line-height: 1.3; }
.aps-txt b { display: block; font-size: 12.5px; color: #15171c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-txt small { font-size: 10.5px; color: #80838f; }
.aps-chev { font-style: normal; color: #b3b5bd; font-size: 16px; }
.aps-up { font-style: normal; font-size: 10px; font-weight: 800; color: #11804a; background: #e3f6ea; padding: 3px 7px; border-radius: 100px; white-space: nowrap; }
.aps-bar { margin-top: auto; margin-left: -14px; margin-right: -14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px 10px 16px; background: #fff; border-top: 1px solid #ececf0; }
.aps-bar span { text-align: center; font-size: 9.5px; font-weight: 700; color: #8a8d98; padding: 7px 2px; border-radius: 12px; }
.aps-bar .on { background: #f6c423; color: #15171c; }
.ap-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; font-weight: 800; font-size: 15px; color: var(--ink); box-shadow: 0 16px 36px rgba(31, 42, 82, .14); white-space: nowrap; }
.ap-badge-a { top: 70px; left: 0; transform: rotate(-2deg); }
.ap-badge-b { bottom: 90px; right: -4px; transform: rotate(1.5deg); }

/* ─── Material formativo ─── */
.mf { overflow: hidden; }
.mf-filas { margin-top: 54px; display: grid; gap: 38px; }
.mf-fila { overflow-x: auto; scrollbar-width: none; padding: 10px 0 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mf-fila::-webkit-scrollbar { display: none; }
.mf-fila.is-loop { overflow: hidden; }
.mf-pista { display: flex; width: max-content; }
.mf-fila.is-loop .mf-pista { animation: desliza var(--dura, 80s) linear infinite; }
.mf-fila--rev.is-loop .mf-pista { animation-direction: reverse; }
.mf-fila:hover .mf-pista, .mf-fila:focus-within .mf-pista { animation-play-state: paused; }
.mf-grupo { display: flex; gap: 24px; padding: 0 12px; list-style: none; margin: 0; }
.mf-item { flex: none; width: 206px; }
.gc, .ds { position: relative; display: flex; flex-direction: column; aspect-ratio: 206 / 290; border-radius: 5px; overflow: hidden; box-shadow: 0 12px 28px rgba(31, 42, 82, .13), 0 1px 2px rgba(31, 42, 82, .08); transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s; }
.mf-item:hover .gc, .mf-item:hover .ds { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); box-shadow: 0 26px 46px rgba(31, 42, 82, .22); }
.gc-l { background: var(--white); padding: 22px 16px 14px; align-items: center; text-align: center; }
.gc-bar { display: block; width: 100%; background: #23272f; color: #fff; font-weight: 800; font-style: italic; font-size: 11.5px; letter-spacing: -.01em; line-height: 1.2; text-transform: uppercase; padding: 6px 6px; }
.gc-sub { margin-top: 7px; font-size: 8px; font-weight: 700; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: #3a3a3a; }
.gc-art { margin: 14px auto 0; width: 102px; height: 102px; border-radius: 50%; background: var(--c, #f6efe0); display: grid; place-items: center; font-size: 50px; line-height: 1; }
.gc-lines { margin-top: auto; width: 100%; height: 48px; padding: 9px 10px; border-radius: 3px; background: repeating-linear-gradient(180deg, #ddd6c6 0 2px, transparent 2px 7px) content-box, #fbf4e6; }
.gc-d { background: #1d2547; color: #fff; padding: 22px 18px 14px; }
.gc-kick { font-size: 7px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.gc-moon { position: absolute; top: 20px; right: 24px; width: 26px; height: 26px; border-radius: 50%; box-shadow: -7px 4px 0 0 var(--gold); }
.gc-t { margin-top: auto; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.08; color: #fff; }
.gc-t em { display: block; font-style: italic; color: var(--gold); }
.gc-d .gc-lines { flex: none; height: 30px; margin-top: 12px; padding: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 7px); }
.gc-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 6.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.mf-cap { margin-top: 16px; text-align: center; font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.3; }
.ds { background: #fdf8ee; border: 1px solid #efe5d0; padding: 18px 16px 14px; }
.mf-item:nth-child(4n+2):not(:hover) .ds { transform: rotate(1.4deg); }
.ds-top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #ebdfc7; }
.ds-top img { width: 24px; height: 24px; border-radius: 50%; }
.ds-top b { display: block; font-size: 10px; color: var(--ink); line-height: 1.15; }
.ds-top small { display: block; font-size: 6.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a3895a; }
.ds-num { margin-top: 18px; font-size: 7px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a3895a; }
.ds-t { margin-top: 6px; font-weight: 800; font-size: 21px; line-height: 1.04; color: #1d1d1d; letter-spacing: -.025em; }
.ds-sub { margin-top: 10px; font-size: 8.5px; font-weight: 600; line-height: 1.45; color: #3b3b3b; }
.ds-box { margin-top: auto; height: 46px; border-radius: 4px; padding: 9px 10px; background: repeating-linear-gradient(180deg, #e6d9bc 0 2px, transparent 2px 7px) content-box, #f6ebd3; }

/* ─── Objeción ─── */
.ganas { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gana { display: flex; gap: 20px; background: var(--white); border: 1px solid #ebe7de; border-radius: 26px; padding: 38px 30px 44px 32px; transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s, border-color .35s; }
.gana:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(31, 42, 82, .1); border-color: #dfe9e2; }
.gana-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #e8f4ec; color: #2f7d55; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.gana:hover .gana-ic { transform: rotate(-8deg) scale(1.1); }
.gana-ic .ic { width: 24px; height: 24px; }
.gana h3 { font-size: 21px; color: var(--ink); letter-spacing: -.015em; margin-bottom: 14px; }
.gana p { font-size: 16.5px; color: #6b6b6b; line-height: 1.75; }
.midcta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.midcta span { font-size: 15.5px; color: #6b6b6b; }

/* ─── Vídeos ─── */
.vids { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.vids:not(.is-open) .vid-extra { display: none; }
.vid { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--navy-deep); cursor: pointer; box-shadow: 0 8px 22px rgba(31, 42, 82, .12); transition: transform .2s, box-shadow .2s; text-align: left; }
.vid:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 42, 82, .2); }
.vid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 24, 50, .85)); }
.vid-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; transition: transform .2s, background .2s; }
.vid-play .ic { width: 20px; height: 20px; margin-left: 3px; }
.vid:hover .vid-play { transform: scale(1.08); background: var(--gold); }
.vid-name { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; }
.vid-name small { display: block; font-size: 12px; font-weight: 600; opacity: .8; }
.vids-more { text-align: center; margin-top: 26px; }
.vids-yt { text-align: center; margin-top: 16px; }
.vids-yt a, .textlink { color: var(--gold-text); font-weight: 700; text-decoration: none; }
.vids-yt a:hover { text-decoration: underline; }

/* ─── Precio ─── */
.precio { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: var(--white); border: 2px solid var(--gold); border-radius: 24px; padding: 34px 30px 26px; box-shadow: 0 20px 50px rgba(220, 168, 24, .16); }
.plan-ribbon { position: absolute; top: -14px; left: 30px; background: var(--navy); color: var(--gold); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; }
.plan-head h3 { font-size: 22px; color: var(--navy); letter-spacing: -.01em; }
.plan-pay { display: inline-flex; gap: 4px; padding: 4px; margin-top: 16px; background: var(--cream); border-radius: 100px; }
.plan-pay button { border: 0; background: transparent; padding: 8px 16px; border-radius: 100px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.plan-pay button[aria-checked="true"] { background: var(--navy); color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.plan-amount { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.plan-amount span { font-size: .5em; margin-left: 2px; }
.plan-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-day { margin-top: 10px; font-size: 15px; color: var(--muted); }
.plan-day strong { color: var(--gold-text); }
.plan-list { list-style: none; margin: 22px 0 24px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.plan-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(220, 168, 24, .18); color: var(--gold-text); margin-top: 1px; }
.plan-small { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.precio-aside { display: grid; gap: 18px; }
.garantias { background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; display: grid; gap: 18px; }
.garantia { display: flex; gap: 14px; }
.garantia-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(220, 168, 24, .16); color: var(--gold); display: grid; place-items: center; }
.garantia h3 { font-size: 16.5px; margin-bottom: 3px; }
.garantia p { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.g-top { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.g-top h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; color: #fff; }
.g-top p { font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.sello { position: relative; flex: none; width: 112px; height: 112px; }
.sello svg { width: 100%; height: 100%; overflow: visible; animation: gira 22s linear infinite; }
.sello text { font-family: var(--font); font-size: 10.5px; font-weight: 800; fill: var(--gold); }
.sello-ic { position: absolute; inset: 27px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(220, 168, 24, .18); }
.sello-ic .ic { width: 28px; height: 28px; }
@keyframes gira { to { transform: rotate(360deg); } }

.vs { max-width: 940px; margin: 44px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.vs-col { border-radius: 22px; padding: 26px 26px 28px; }
.vs-no { background: var(--white); border: 1px solid var(--line); }
.vs-si { background: var(--navy); color: #fff; box-shadow: 0 24px 50px rgba(31, 42, 82, .22); }
.vs-tag { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 13px; border-radius: 100px; }
.vs-no .vs-tag { background: #f3f0ea; color: #857f70; }
.vs-si .vs-tag { background: rgba(220, 168, 24, .18); color: var(--gold); }
.vs ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.vs li .ic { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; }
.vs-no li { color: #7d786b; }
.vs-no li .ic { color: #c25b46; background: #fbe8e3; }
.vs-no li span { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: transparent; transition: text-decoration-color .7s ease; }
.vs.rv-in .vs-no li span, html:not(.rv-on) .vs-no li span { text-decoration-color: rgba(125, 120, 107, .85); }
.vs.rv-in .vs-no li:nth-child(1) span { transition-delay: .5s; }
.vs.rv-in .vs-no li:nth-child(2) span { transition-delay: .8s; }
.vs.rv-in .vs-no li:nth-child(3) span { transition-delay: 1.1s; }
.vs-si li .ic { color: var(--navy-deep); background: var(--gold); }
.vs-mid { align-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: 14px; display: grid; place-items: center; text-transform: uppercase; box-shadow: 0 0 0 7px rgba(220, 168, 24, .2); }
.plazas { background: var(--white); border: 1px dashed var(--gold); border-radius: 16px; padding: 16px 18px; font-size: 14.5px; color: var(--muted); }
.plazas strong { color: var(--navy); }
.aside-note { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.aside-vids-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vid-mini { border-radius: 14px; }
.vid-mini .vid-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.vid-mini .vid-play .ic { width: 16px; height: 16px; }
.vid-mini .vid-name { font-size: 14px; left: 10px; bottom: 9px; }

/* ─── Dónde estoy ─── */
.donde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.nap { font-style: normal; margin-top: 24px; display: grid; gap: 8px; font-size: 15.5px; }
.nap strong { font-size: 18px; color: var(--navy); }
.nap > span:nth-child(2) { color: var(--gold-text); font-weight: 700; margin-top: -6px; }
.nap > span, .nap > a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.nap > a:hover { color: var(--navy); text-decoration: underline; }
.nap .ic { width: 18px; height: 18px; color: var(--gold-text); }
.donde-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mapa { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow-lg); background:
  linear-gradient(115deg, transparent 47%, rgba(44, 58, 108, .14) 47% 49%, transparent 49%) 0 0 / 100% 100%,
  linear-gradient(30deg, transparent 58%, rgba(44, 58, 108, .1) 58% 59.5%, transparent 59.5%) 0 0 / 100% 100%,
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(44, 58, 108, .07) 46px 48px),
  repeating-linear-gradient(90deg, transparent 0 58px, rgba(44, 58, 108, .07) 58px 60px),
  radial-gradient(circle at 70% 75%, rgba(76, 175, 80, .18) 0 60px, transparent 61px),
  #e9e6df; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; background: transparent; cursor: pointer; font-weight: 800; font-size: 17px; color: var(--navy); }
.mapa-btn small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); text-align: center; }
.mapa-pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); color: var(--gold); display: grid; place-items: center; box-shadow: 0 12px 26px rgba(31, 42, 82, .3); }
.mapa-pin .ic { transform: rotate(45deg); width: 26px; height: 26px; }

/* ─── FAQ ─── */
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16.5px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--navy); border-radius: 2px; transition: transform .2s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }

/* ─── Cierre ─── */
.final { background: linear-gradient(120deg, #d29e0c, var(--gold) 45%, var(--gold-hi)); padding: 76px 24px; text-align: center; }
.final-inner { max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--navy-deep); }
.final p { margin-top: 12px; font-size: 17.5px; color: rgba(31, 42, 82, .85); }
.final-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ─── Pie ─── */
.sf { background: var(--navy-logo); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.sf-main { max-width: 1200px; margin: 0 auto; padding: 56px 28px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.sf-brand img { width: 240px; }
.sf-brand p { margin-top: 14px; max-width: 300px; }
.sf-col h3 { font-size: 14.5px; color: #fff; margin-bottom: 14px; }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-col a, .sf-link { color: rgba(255, 255, 255, .72); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-align: left; }
.sf-col a:hover, .sf-link:hover { color: var(--gold); }
.sf-bottom { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 18px 16px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.sf-bottom strong { color: rgba(255, 255, 255, .8); }

/* ─── Barra fija, flotante y móvil ─── */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(31, 42, 82, .1); animation: sube .3s ease; }
.sticky[hidden] { display: none; }
.sticky-inner { max-width: 1140px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 12px; }
.sticky-copy { margin-right: auto; line-height: 1.3; }
.sticky-copy strong { display: block; color: var(--navy); font-size: 15px; }
.sticky-copy span { font-size: 13.5px; color: var(--muted); }
@keyframes sube { from { transform: translateY(100%); } to { transform: none; } }
.float-wa { position: fixed; right: 20px; bottom: 24px; z-index: 450; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); transition: transform .2s, bottom .3s; }
.float-wa:hover { transform: scale(1.08); }
.float-wa .ic { width: 28px; height: 28px; }
body.has-sticky .float-wa { bottom: 92px; }
.mcta { display: none; }

/* ─── Ventana ─── */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(15, 20, 42, .82); }
.modal-box { position: relative; animation: entra .2s ease; max-width: 100%; }
.modal-x { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 17px; cursor: pointer; }
.modal-x:hover { background: var(--gold); }
.modal-body iframe { display: block; border: 0; border-radius: 16px; background: #000; }
.modal-body .m-v { width: min(calc((100vh - 120px) * 9 / 16), calc(100vw - 48px), 420px); aspect-ratio: 9 / 16; height: auto; }
.modal-body .m-h { width: min(calc(100vw - 48px), 960px, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; }
.modal-body img { max-height: calc(100vh - 120px); width: auto; border-radius: 16px; }
.modal-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 20px; font-weight: 800; cursor: pointer; }
.modal-prev { left: -58px; }
.modal-next { right: -58px; }
.modal-cap { margin-top: 10px; text-align: center; color: #fff; font-weight: 700; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.modal-abierto, html.modal-abierto body { overflow: hidden; }

/* ─── Aviso de cookies (solo aparece si hay IDs de medición) ─── */
#ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200; max-width: 560px; margin: 0 auto; background: var(--navy-deep); color: #eef0f7; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; font-size: 14px; }
#ck p { flex: 1 1 260px; }
#ck strong { display: block; color: #fff; }
.ck-btns { display: flex; gap: 8px; }
.ck-btns button { border: 0; border-radius: 100px; padding: 10px 18px; font-weight: 700; cursor: pointer; }
.ck-no { background: transparent; color: #eef0f7; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35) !important; }
.ck-si { background: var(--gold); color: var(--navy-deep); }
@media (max-width: 768px) { #ck { bottom: 74px; } }

/* ─── Aparición al hacer scroll ─── */
html.rv-on .rv { opacity: 0; translate: 0 26px; }
html.rv-on .rv.rv-in { opacity: 1; translate: none; transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--rvd, 0s), translate .7s cubic-bezier(.22, .61, .36, 1) var(--rvd, 0s), transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s, border-color .4s, background .25s; }

/* ─── Responsive ─── */
@media (max-width: 1180px) {
  .hero-badge > .hero-badge-dot, .hero-badge-auth { display: none; }
}
@media (max-width: 1100px) {
  .sn-links > a { padding: 8px 9px; font-size: 13.5px; }
  .sn-phone { display: none !important; }
  .chip-1 { left: -6px; }
  .chip-2 { right: -6px; }
}
@media (max-width: 960px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .pasos { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .paso:not(:last-child)::after { top: 100%; left: 50%; width: 2px; height: 40px; background: linear-gradient(180deg, #d9d3c5 55%, transparent 0) 0 0 / 2px 10px repeat-y; animation-name: hormigas-v; }
  .ganas { grid-template-columns: 1fr; gap: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .ap, .donde, .precio { grid-template-columns: 1fr; gap: 36px; }
  .vids { grid-template-columns: repeat(3, 1fr); }
  .sf-main { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sn-inner { padding: 10px 18px; }
  .sn-logo img { height: 32px; }
  .sn-burger { display: flex; }
  .sn-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--cream); padding: 12px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(31, 42, 82, .08); }
  .sn-links.open { display: flex; }
  .sn-links > a { padding: 13px 14px; font-size: 15px; }
  .sn-phone { display: inline-flex !important; justify-content: center; margin: 4px 0 0; }
  .sn-cta { text-align: center; margin: 4px 0 0; }
}
@media (max-width: 768px) {
  .sticky, .float-wa { display: none !important; }
  .mcta { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mcta-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--navy); min-height: 58px; }
  .mcta-btn .ic { width: 20px; height: 20px; }
  .mcta-btn:first-child .ic { color: #1aa752; }
  .mcta-main { background: var(--gold); color: var(--navy-deep); }
  body { padding-bottom: 62px; }
  .ab { display: none; }
}
@media (max-width: 620px) {
  .sec { padding: 64px 0; }
  .wrap, .hero-grid { padding: 0 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { font-size: 14px; gap: 8px; padding: 8px 16px 8px 10px; }
  .hero-badge > .hero-badge-dot, .hero-badge-auth { display: none; }
  .stars { font-size: 15px; }
  .hero-points li { font-size: 15px; }
  .chip { font-size: 12.5px; padding: 8px 13px; gap: 7px; }
  .chip .ic { width: 15px; height: 15px; }
  .chip-1 { top: 6px; left: 2px; }
  .chip-2 { top: 6px; right: 2px; }
  .vsl-back { inset: 14px -8px -12px 14px; }
  .btn-lg { min-height: 58px; font-size: 17px; }
  .reassure { font-size: 14.5px; gap: 8px 18px; }
  .hero-visual { padding: 24px 0 18px; }
  .hero { padding-bottom: 40px; }
  .vsl { border-width: 4px; border-radius: 18px; }
  .vsl-play { width: 52px; height: 52px; box-shadow: 0 0 0 7px rgba(220, 168, 24, .25); }
  .vsl-btn { padding: 14px; }
  .vsl-label { font-size: 15px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat-num { font-size: 36px; }
  .lead { font-size: 16px; }
  .cal { min-height: 640px; border-radius: 18px; }
  .cal-skel { grid-template-columns: 1fr; padding: 20px; }
  .ap-tab { padding: 15px 16px; gap: 13px; }
  .ap-tab strong { font-size: 16px; }
  .ap-tab > span:last-child { font-size: 14.5px; }
  .ap-ic { width: 42px; height: 42px; font-size: 21px; }
  .ap-phone { width: 270px; height: 550px; transform: none; }
  .ap-badge { font-size: 13px; padding: 9px 13px; }
  .ap-badge-a { top: 40px; left: -4px; }
  .ap-badge-b { bottom: 50px; right: -4px; }
  .incluye { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .inc { padding: 28px 24px 30px; }
  .inc-ic { margin-bottom: 20px; }
  .paso { padding: 54px 22px 32px; }
  .gana { padding: 28px 22px 30px; gap: 16px; }
  .gana h3, .inc h3 { font-size: 19px; }
  .pasos { margin-top: 48px; }
  .mf-item { width: 168px; }
  .mf-grupo { gap: 16px; }
  .mf-filas { margin-top: 40px; gap: 26px; }
  .gc-t, .ds-t { font-size: 17px; }
  .gc-art { width: 82px; height: 82px; font-size: 40px; }
  .mf-cap { font-size: 14.5px; }
  .vs { grid-template-columns: 1fr; gap: 12px; }
  .vs-mid { justify-self: center; }
  .g-top { flex-direction: column; align-items: flex-start; }
  .vids { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .plan { padding: 30px 20px 22px; }
  .plan-amount { font-size: 54px; }
  .sf-main { grid-template-columns: 1fr; padding: 40px 16px 32px; gap: 28px; }
  .modal { padding: 16px; }
  .modal-prev { left: 4px; }
  .modal-next { right: 4px; }
  .modal-body .m-v { width: min(calc((100vh - 110px) * 9 / 16), calc(100vw - 32px)); }
  .modal-body .m-h { width: calc(100vw - 32px); }
  .final { padding: 60px 16px; }
  .final-btns .btn { width: 100%; }
}

/* ─── Móvil: hero reordenado, app y agenda ─── */
.cal-m { display: none; }
@media (max-width: 960px) {
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-badge { order: 1; align-self: center; margin-bottom: 22px; }
  .h1 { order: 2; text-align: center; }
  .hero-hook { order: 3; text-align: center; margin-top: 16px; }
  .hero-visual { order: 4; margin-top: 18px; }
  .hero-sub { order: 5; text-align: center; margin: 22px auto 0; }
  .hero-points { order: 6; justify-self: center; margin-left: auto; margin-right: auto; }
  .hero-cta { order: 7; justify-content: center; }
  .reassure:not(.reassure-center) { order: 8; justify-content: center; }
  .hero-note { order: 9; margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .hero { padding: 26px 0 44px; }
  .h1 { font-size: 42px; }
  .hero-hook { font-size: 22px; }
  .hero-sub { font-size: 16.5px; line-height: 1.6; }
  .hero-points, .hero-note { display: none; }
  .hero-cta { margin-top: 24px; gap: 10px; }
  .hero-visual { padding: 26px 0 16px; }
  .reassure:not(.reassure-center) { margin-top: 18px; font-size: 13.5px; gap: 6px 14px; }
  .reassure:not(.reassure-center) li:last-child { display: none; }

  .sec { padding: 76px 0; }
  .h2 { font-size: 31px; line-height: 1.12; }
  .lead { margin-top: 14px; font-size: 16px; line-height: 1.65; }
  .eyebrow { margin-bottom: 10px; }
  .stats-inner { padding: 30px 16px; }
  .ganas, .incluye { gap: 16px; }

  /* App de pacientes: pantalla primero y pestañas debajo, en fila */
  .ap { display: flex; flex-direction: column; gap: 0; }
  .ap-text { display: contents; }
  .ap-kicker { order: 1; text-align: center; }
  .ap-tit { order: 2; text-align: center; font-size: 31px; }
  .ap-lead { order: 3; text-align: center; font-size: 16px; margin: 14px auto 0; }
  .ap-stage { order: 4; padding: 26px 0 18px; }
  .ap-tabs { order: 5; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
  .ap-tab { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 12px 6px 14px; text-align: center; border-radius: 16px; }
  .ap-tab > span:last-child { font-size: 0; line-height: 1.2; }
  .ap-tab strong { font-size: 12.5px; margin: 0; line-height: 1.25; }
  .ap-ic { width: 40px; height: 40px; font-size: 20px; }
  .ap-badge { display: none; }
  .aps-card:nth-child(4) { display: none; }
  .aps-txt b { white-space: normal; }
  .ap-phone { width: 258px; height: 530px; border-width: 10px; border-radius: 42px; }
  .ap-glow { inset: 0 -10%; }

  /* Agenda: tarjeta con botón; el calendario se abre a pantalla completa */
  .cal.is-m { min-height: 0; border-radius: 22px; }
  .cal.is-m .cal-skel { display: none; }
  .cal.is-m .cal-m { display: block; padding: 28px 22px 26px; text-align: center; }
  .cal-m-ic { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; background: #fdf3dc; color: #b8862b; }
  .cal-m-ic .ic { width: 30px; height: 30px; }
  .cal-m h3 { font-size: 21px; color: var(--ink); letter-spacing: -.01em; }
  .cal-m-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 22px; padding: 0; list-style: none; }
  .cal-m-meta li { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--cream); border-radius: 100px; padding: 6px 12px; }
  .cal-m .btn { width: 100%; }
  .cal-fallback { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cinta { overflow-x: auto; scrollbar-width: thin; }
  .cinta-pista { animation: none; }
  .cinta-grupo[aria-hidden="true"] { display: none; }
  .ab-text, .btn, .card, .vid, .cinta-item button, .ap-screen { transition: none; }
  .cal-skel span { animation: none; }
  html.rv-on .rv { opacity: 1; translate: none; }
  .hero-copy > *, .hero-visual, .stars i, .chip, .stat-star, .vsl-play::before, .btn-primary::after, .paso::after, .sello svg { animation: none !important; }
  .mf-fila.is-loop { overflow-x: auto; }
  .mf-fila.is-loop .mf-pista { animation: none; }
  .mf-grupo[aria-hidden="true"] { display: none; }
  .paso, .inc, .gana, .gc, .ds { transition: none; }
}

/* Con el calendario abierto, fuera la barra inferior del móvil */
body:has(.calendly-overlay) .mcta, body:has(.calendly-overlay) .float-wa { display: none !important; }
