/* Landing de registro: mismo lenguaje que la app (fondo papel, tarjetas blancas de esquinas suaves,
   Barlow en frases normales, azul cobalto y oscuro de la marca nueva, una acción principal por pantalla).
   La landing del campamento (web/) usa el estilo más duro y no se tocó. Un solo look a propósito. */
:root {
  color-scheme: light;
  --bg: #F6F8FF;
  --card: #FFFFFF;
  --black: #0A0A0A;
  --ink: #0A0A0A;
  --muted: #5C5C58;
  --faint: #6B6B66;
  --line: rgba(10, 10, 10, 0.1);
  --line-2: rgba(10, 10, 10, 0.2);
  --accent: #1F5CFF;
  --accent-600: #1648D6;
  --accent-soft: #E1EAFF;
  --on-accent: #FFFFFF;
  --dark: #0B1330;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --red: #B3261E;
  --red-soft: #FDE8E3;
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.06), 0 8px 24px rgba(10, 10, 10, 0.05);
  --shadow-up: 0 2px 4px rgba(10, 10, 10, 0.08), 0 16px 40px rgba(10, 10, 10, 0.1);
  --r: 16px;
  --r-sm: 10px;
  --font-display: "Barlow Condensed", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(1.1rem, 5vw, 2.5rem);
  --sec-y: clamp(3.5rem, 8vw, 6rem);
  --pad: clamp(1.4rem, 3vw, 1.9rem);
  --gap: clamp(1rem, 2.2vw, 1.6rem);
  --ok: #1A8F4C;
  --maxw: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--dev-h, 0px) + 84px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.cta-panel :focus-visible, .jr--m :focus-visible, .float-cta :focus-visible, .ebm-stage :focus-visible, .btn.is-done:focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mark { background: var(--accent); color: var(--on-accent); padding: 0 0.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 6px; }
.muted { color: var(--muted); }
.label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.off { display: none !important; }
[data-show-if]:not(.on) { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.pill svg { width: 15px; height: 15px; flex: none; }
.pill--y { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E82C0C; box-shadow: 0 0 0 0 rgba(232, 44, 12, 0.5); animation: late 1.8s ease-out infinite; }
@keyframes late { 0% { box-shadow: 0 0 0 0 rgba(232, 44, 12, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(232, 44, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 44, 12, 0); } }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1rem; line-height: 1.15; padding: 14px 24px; background: var(--accent); color: var(--on-accent); border: 2px solid var(--black); border-radius: 12px; text-decoration: none; transition: background-color 0.15s, transform 0.1s; }
.btn:hover { background: var(--accent-600); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.15s; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { width: 100%; padding: 16px 22px; font-size: 1.05rem; }
.btn--quiet { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn--quiet:hover { background: var(--bg); border-color: var(--black); }
.btn--sm { padding: 10px 16px; font-size: 0.92rem; }
.btn--light { background: var(--card); border-color: var(--card); color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* barra superior y navegación */
.topbar { background: var(--accent-soft); border-bottom: 1px solid rgba(10, 10, 10, 0.08); text-align: center; font-size: 0.9rem; padding: 8px var(--gutter); }
.nav { position: sticky; top: var(--dev-h, 0px); z-index: 30; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-badge { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.brand-badge svg { width: 19px; height: 19px; }
.brand-name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; letter-spacing: -0.005em; white-space: nowrap; }

/* secciones */
.sec { padding-block: var(--sec-y); }
.sec--white { background: var(--card); }
.sec-head { max-width: 700px; margin: 0 auto clamp(2rem, 4.5vw, 3rem); text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-top: 0.6rem; }
.sec-head p { color: var(--muted); margin-top: 0.9rem; font-size: 1.08rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: var(--pad); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }

/* hero */
.hero { padding-block: clamp(1.8rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "video form" "top form" "extra form"; column-gap: clamp(2rem, 4.5vw, 4rem); row-gap: 1.6rem; align-items: start; }
.hero-video { grid-area: video; }
.hero-top { grid-area: top; align-self: end; }
.hero-extra { grid-area: extra; align-self: start; }
.hero-form { grid-area: form; align-self: start; }
@media (min-width: 961px) and (min-height: 860px) { .hero-form { position: sticky; top: calc(var(--dev-h, 0px) + 86px); } }   /* solo se queda pegado si cabe entero en la ventana */
/* video de la promesa (primer elemento del hero) */
.vid { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow-up); }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: var(--dark); }
.vid--pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; padding: 1.4rem; text-align: center; background: var(--accent-soft); border: 2px dashed rgba(10, 10, 10, 0.35); box-shadow: none; }
.vid-badge { position: absolute; top: 14px; left: 14px; background: var(--dark); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.vid-play { width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 2px solid var(--black); display: grid; place-items: center; }
.vid-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid-title { font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.vid-note { color: var(--muted); font-size: 0.9rem; max-width: 34ch; line-height: 1.4; }
@media (max-width: 640px) { .vid { aspect-ratio: 16 / 10; border-radius: 18px; } }   /* más bajo para que el titular se vea en la primera pantalla */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.02; letter-spacing: -0.03em; margin-top: 1.1rem; }
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); margin-top: 1.1rem; max-width: 46ch; }
.ticks { display: grid; gap: 0.7rem; }
.ticks li { display: flex; gap: 0.75rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) var(--check) center / 14px no-repeat; }
.hosts { display: flex; align-items: center; gap: 12px; margin-top: 1.5rem; }
.hosts .faces { display: flex; }
.hosts img { flex: none; aspect-ratio: 1 / 1; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--bg); }
.hosts img + img { margin-left: -14px; }
.hosts p { font-size: 0.95rem; color: var(--muted); line-height: 1.35; }
.hosts b { color: var(--ink); }

/* formulario */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-up); padding: clamp(1.4rem, 3.4vw, 2.1rem); }
.form-card h2 { font-size: 1.7rem; margin-top: 0.8rem; }
.form-card .sub { color: var(--muted); margin-top: 0.5rem; font-size: 1rem; }
.form-card form { margin-top: 1.3rem; display: grid; gap: 1rem; }
.field { display: grid; gap: 6px; }
.field > span.lab, .field > label.lab { font-weight: 600; font-size: 0.93rem; }
.field input, .field select { width: 100%; background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 14px; font-size: 1rem; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder { color: #757570; }
.field input:focus, .field select:focus { border-color: var(--black); box-shadow: 0 0 0 3px var(--accent); }
.field.has-err input, .field.has-err select { border-color: var(--red); }
.field-err { color: var(--red); font-size: 0.86rem; line-height: 1.4; }
.field-err:empty { display: none; }
.phone-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); font-size: 0.88rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--black); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-error { background: var(--red-soft); border-radius: var(--r-sm); padding: 12px 14px; color: var(--red); font-size: 0.93rem; line-height: 1.45; }
.form-foot { margin-top: 1rem; display: flex; gap: 8px; align-items: center; color: var(--faint); font-size: 0.84rem; line-height: 1.4; }
.form-foot svg { width: 15px; height: 15px; flex: none; }

/* razones */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reasons > .card, .sessions > .card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; }
.num { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 2px solid var(--black); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.reason h3, .session h3, .trainer-name { font-size: 1.35rem; margin: 1rem 0 0.5rem; }
.reason p { color: var(--muted); }

/* sesiones */
.sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.session p { color: var(--muted); }
.hora-note { margin: 1.8rem auto 0; background: var(--accent-soft); border-radius: var(--r-sm); padding: 14px 18px; max-width: 680px; text-align: center; }

/* entrenadores */
.trainers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.trainer { padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.trainer-photo { aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.6s ease; }
.trainer:hover .trainer-photo img { transform: scale(1.04); }
.trainer-body { padding: var(--pad); display: grid; gap: 0.6rem; justify-items: center; text-align: center; flex: 1; align-content: start; }
.trainer-role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.trainer-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.trainer-desc { color: var(--muted); }
.quote { background: var(--accent-soft); border-radius: var(--r); padding: 1.2rem 1.5rem; font-weight: 600; font-size: 1.1rem; margin: var(--gap) auto 0; max-width: 760px; text-align: center; text-wrap: balance; }

/* para quién */
.para { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.para > .card { height: 100%; }
.para .card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.para ul { display: grid; gap: 0.8rem; }
.para li { display: flex; gap: 0.75rem; align-items: flex-start; }
.para li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) var(--check) center / 14px no-repeat; }
.para .no li::before { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5C58' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--line-2); }
.para .yes { background: var(--accent-soft); border-color: rgba(10, 10, 10, 0.08); }

/* testimonios (solo si el config trae alguno) */
/* casos reales y testimonios */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.case { padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.ba { --pos: 50%; position: relative; aspect-ratio: 3 / 4; background: var(--bg); overflow: hidden; user-select: none; -webkit-user-select: none; }
.ba img, .ba .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ph { display: grid; place-items: start center; padding-top: 22%; font-weight: 800; font-size: 1.05rem; color: var(--muted); text-align: center; padding-inline: 1rem; }
.ba .ph--a { background: var(--accent-soft); padding-left: 50%; }
.ba .ph--b { background: #E6E5DE; padding-right: 50%; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.18); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 2px solid var(--black); display: grid; place-items: center; pointer-events: none; box-shadow: var(--shadow); }
.ba-knob svg { width: 22px; height: 22px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--black); outline-offset: -3px; }
.ba-tag { position: absolute; bottom: 12px; background: rgba(10, 10, 10, 0.78); color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1.2; padding: 5px 10px; border-radius: 999px; pointer-events: none; max-width: 46%; }
.ba-tag--l { left: 12px; }
.ba-tag--r { right: 12px; }
.pend { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--dark); color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; pointer-events: none; }
.pend--flow { position: static; display: inline-block; align-self: center; }
.case-body { padding: var(--pad); display: grid; gap: 0.7rem; text-align: center; flex: 1; align-content: start; }
.case-quote { font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.case-story { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.case-who { font-size: 0.93rem; color: var(--muted); }
.case-who b { color: var(--ink); }
.proof-cta { margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; justify-content: center; }
.proof-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%; text-align: center; align-items: center; }
.proof-card::before { content: "\201C"; font-family: var(--font-display); font-weight: 900; font-size: 4.2rem; line-height: 0.7; color: var(--accent); }
.proof-who { display: flex; align-items: center; justify-content: center; gap: 10px; }
.proof-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.proof-quote { font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.proof-cite { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; }

/* preguntas */
.faq { display: grid; gap: 0.8rem; max-width: 780px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-a strong { color: var(--ink); }

/* cierre */
.cta-panel { background: var(--dark); color: #fff; border-radius: 24px; padding: clamp(2rem, 5.5vw, 3.6rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; }
.cta-panel h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-panel p { color: #c9c9c2; margin-top: 0.6rem; max-width: 46ch; margin-inline: auto; }
.cta-panel .btn { flex: none; }

/* pie */
footer { background: var(--card); border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; color: var(--faint); font-size: 0.88rem; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.foot-links { display: flex; gap: 0.4rem 1.4rem; flex-wrap: wrap; }
.foot-links a, .foot-contact { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; display: inline-block; }
.foot-bottom { margin-top: 0.6rem; }
.foot-disclaimer { margin-top: 1rem; line-height: 1.6; max-width: 80ch; }

/* barra fija en celular */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); display: none; }
@media (max-width: 759px) { .sticky-cta:not([hidden]) { display: block; } body.has-sticky footer { padding-bottom: 84px; } }

/* página de gracias */
.thanks { padding-block: clamp(2rem, 6vw, 4rem); }
.thanks-wrap { max-width: 720px; margin-inline: auto; }
.thanks h1 { font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; margin-top: 1rem; }
.thanks .lead { color: var(--muted); margin-top: 1rem; font-size: 1.15rem; }
.thanks-steps { display: grid; gap: 1rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); counter-reset: paso; }
.thanks-steps > li { counter-increment: paso; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.4rem 1.1rem; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.3rem 1.4rem; }
.thanks-steps > li::before { content: counter(paso); width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 2px solid var(--black); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.thanks-steps h3 { font-size: 1.3rem; }
.thanks-steps p { color: var(--muted); margin-top: 0.3rem; }
.thanks-steps .acts { margin-top: 0.9rem; display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; }
.thanks-video { margin-top: 0.9rem; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--dark); }
.thanks-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cal-list { margin-top: 0.7rem; display: grid; gap: 4px; }


/* la promesa: hoy → método → después */
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--gap) * 1.6); }
.jr { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; position: relative; }
.jr-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.jr h3 { font-size: 1.35rem; margin: 1rem 0 0.5rem; }
.jr p { color: var(--muted); }
.jr--m { background: var(--dark); border-color: var(--dark); color: #fff; }
.jr--m p { color: #d4d4cd; }
.jr--m .jr-tag, .jr--b .jr-tag { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.jr:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(var(--gap) * -0.8 - 15px); width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 2px solid var(--black); z-index: 2; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* cuenta regresiva */
.cd-wrap { margin-top: 1.4rem; max-width: 440px; }
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 0.7rem; }
.cd-i { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px 8px; text-align: center; box-shadow: var(--shadow); }
.cd-n { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-l { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.cd-cap { font-size: 0.92rem; font-weight: 600; }
.cd-line { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: 0.95rem; }

/* barra de avance y navegación */
.nav { transition: box-shadow 0.25s ease; }
.nav.scrolled { box-shadow: 0 8px 24px rgba(10, 10, 10, 0.08); }
.nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width 0.12s linear; }

/* entrada del hero y resaltador que se dibuja */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.js .hero-video, .js .hero-tags, .js .hero h1, .js .hero-lead, .js .cd-wrap, .js .hero-form, .js .hero-extra { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero-video { animation-delay: 0.05s; } .js .hero-tags { animation-delay: 0.12s; } .js .hero h1 { animation-delay: 0.2s; }
.js .hero-lead { animation-delay: 0.3s; } .js .cd-wrap { animation-delay: 0.38s; } .js .hero-form { animation-delay: 0.25s; } .js .hero-extra { animation-delay: 0.45s; }
.js .hero h1 .mark { background: linear-gradient(var(--accent), var(--accent)) left center / 100% 100% no-repeat; animation: sweep 0.9s 0.7s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.js .sweep .mark { background: linear-gradient(var(--accent), var(--accent)) left center / 0% 100% no-repeat; }
.js .sweep.in .mark { background-size: 100% 100%; transition: background-size 0.8s 0.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
.js .reveal.in .num { animation: pop 0.55s 0.25s both; }
.js .reveal.in:hover.card, .js .card.reveal.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }

/* formulario: estados que responden */
.field input[type=text], .field input[type=email], .field input[type=tel] { transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.field.ok input[type=text], .field.ok input[type=email], .field.ok input[type=tel] { border-color: var(--ok); padding-right: 42px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A8F4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") right 13px center / 18px no-repeat; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
form.shake { animation: shake 0.4s ease; }
@keyframes flash { 0% { box-shadow: var(--shadow-up), 0 0 0 0 var(--accent); } 40% { box-shadow: var(--shadow-up), 0 0 0 9px var(--accent); } 100% { box-shadow: var(--shadow-up), 0 0 0 0 transparent; } }
.form-card.flash { animation: flash 1.1s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { display: none; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
.btn.is-done { background: var(--dark); color: #fff; border-color: var(--dark); pointer-events: none; }
.btn.is-done svg { display: none; }
.btn.is-done::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 20px no-repeat; animation: pop 0.4s both; }

/* preguntas: abren y cierran con suavidad */
.faq details { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-up); }
.faq summary { transition: background-color 0.15s; border-radius: 14px; }
.faq summary:hover { background: var(--bg); }
.faq summary::after { transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq-a { overflow: hidden; }

/* portada del PDF (hecha en CSS para que siga la paleta) y qué recibes al registrarte */
.pdf-cover { position: relative; flex: none; width: 56px; height: 78px; border-radius: 6px; background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--black); box-shadow: 0 6px 14px rgba(10, 10, 10, 0.2); transform: rotate(-5deg); display: flex; flex-direction: column; justify-content: space-between; padding: 7px 6px; }
.pdf-cover::before { content: "Las 3 razones"; font-family: var(--font-display); font-weight: 900; font-size: 12px; line-height: 0.95; text-transform: uppercase; }
.pdf-cover::after { content: "PDF"; align-self: flex-start; background: var(--black); color: var(--accent); font: 800 8px/1 var(--font-body); letter-spacing: 0.1em; padding: 3px 5px; border-radius: 99px; }
.pdf-mock { flex: none; display: block; width: 88px; height: auto; margin: -6px -4px -6px -6px; }
.gets { display: flex; align-items: center; gap: 14px; margin-top: 1rem; padding: 14px 16px; background: var(--accent-soft); border-radius: var(--r); }
.gets ul { display: grid; gap: 8px; font-size: 0.93rem; line-height: 1.35; }
.gets li { position: relative; padding-left: 27px; }
.gets li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) var(--check) center / 11px no-repeat; border: 1.5px solid var(--black); }

/* mensaje flotante que señala el formulario */
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@keyframes wiggle { 0%, 90%, 100% { rotate: 0deg; } 93% { rotate: -1.6deg; } 96.5% { rotate: 1.6deg; } }
.float-cta { position: fixed; z-index: 50; right: 22px; bottom: 22px; width: min(370px, calc(100vw - 44px)); background: var(--dark); color: #fff; border-radius: 20px; box-shadow: 0 16px 44px rgba(10, 10, 10, 0.38); opacity: 0; visibility: hidden; transform: translateY(26px) scale(0.95); transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 1.35, 0.4, 1), visibility 0s 0.5s; }
.float-cta.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; animation: wiggle 6s 3s infinite; }
.fc-main { display: flex; align-items: center; gap: 14px; padding: 13px 44px 13px 16px; color: inherit; text-decoration: none; }
.fc-main .pdf-mock { width: 54px; margin: -4px -2px -4px -4px; }
.fc-txt { min-width: 0; }
.fc-txt b { display: block; font-size: 1.02rem; line-height: 1.2; }
.fc-txt span { display: block; font-size: 0.84rem; color: #d4d4cd; line-height: 1.32; margin-top: 3px; }
.fc-arrow { flex: none; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; animation: bob 1.1s ease-in-out infinite; }
.fc-arrow svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.float-cta[data-dir="up"] .fc-arrow svg { transform: rotate(180deg); }
.fc-x { position: absolute; top: 3px; right: 4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #b8b8b2; font-size: 20px; line-height: 1; cursor: pointer; }
.fc-x:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.sticky-msg { font-size: 0.8rem; font-weight: 600; text-align: center; color: var(--muted); margin-bottom: 7px; line-height: 1.2; }
@media (max-width: 759px) { .float-cta { left: 12px; right: 12px; bottom: 14px; width: auto; } .fc-main { padding-right: 40px; } }

/* vista previa del ebook: ventana emergente */
[data-ebook] { cursor: pointer; }
.gets[data-ebook] { position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gets[data-ebook]:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gets[data-ebook]:focus-visible, .tick-link:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 12px; }
.gets-cta { position: absolute; right: 12px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 800; color: var(--accent); }
.gets-cta svg { width: 13px; height: 13px; transition: transform 0.2s; }
.gets[data-ebook]:hover .gets-cta svg { transform: translateX(3px); }
.gets { padding-bottom: 30px; }
.tick-link { text-decoration: underline; text-decoration-color: rgba(31, 92, 255, 0.45); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.tick-link:hover { text-decoration-color: var(--accent); }
html:has(dialog.ebm[open]) { overflow: hidden; }
dialog.ebm { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: hidden; }
dialog.ebm:not([open]) { display: none; }
dialog.ebm[open] { display: grid; place-items: center; padding: 20px; }
dialog.ebm::backdrop { background: rgba(11, 19, 48, 0.55); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); animation: ebm-fondo 0.3s ease both; }
@keyframes ebm-fondo { from { opacity: 0; } to { opacity: 1; } }
@keyframes ebm-entra { from { opacity: 0; transform: translateY(26px) scale(0.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ebm-sale { to { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes ebm-flota { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 6px; } }
@keyframes ebm-gira { to { transform: rotate(360deg); } }
.ebm-box { position: relative; width: min(940px, 100%); max-height: calc(100dvh - 40px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); background: var(--card); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 100px rgba(11, 19, 48, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.25); }
dialog.ebm[open] .ebm-box { animation: ebm-entra 0.5s cubic-bezier(0.2, 1.1, 0.3, 1) both; }
dialog.ebm.cerrando .ebm-box { animation: ebm-sale 0.22s ease both; }
.ebm-x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(11, 19, 48, 0.18); transition: transform 0.2s, background 0.2s; }
.ebm-x:hover { transform: rotate(90deg); background: #fff; }
.ebm-stage { position: relative; display: grid; grid-template-rows: 1fr auto; padding: 34px 28px 22px; background: radial-gradient(120% 90% at 30% 15%, #3C74FF 0%, var(--accent) 45%, #123FC4 100%); overflow: hidden; min-height: 520px; }
.ebm-glow { position: absolute; width: 420px; height: 420px; left: 50%; top: 42%; margin: -210px 0 0 -210px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.0) 55%); filter: blur(30px); animation: ebm-gira 9s linear infinite; pointer-events: none; }
.ebm-slides { position: relative; display: grid; place-items: center; perspective: 1100px; }
.ebm-s { grid-area: 1 / 1; margin: 0; display: grid; place-items: center; opacity: 0; transform: translateX(34px) scale(0.96); pointer-events: none; transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1); }
.ebm-s.on { opacity: 1; transform: none; pointer-events: auto; }
.ebm-s.out { transform: translateX(-34px) scale(0.96); }
.ebm-tilt { position: relative; width: min(290px, 68%); transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.18s ease-out; animation: ebm-flota 5s ease-in-out infinite; filter: drop-shadow(0 28px 34px rgba(5, 10, 40, 0.5)); }
.ebm-tilt img { display: block; width: 100%; height: auto; }
.ebm-glare { position: absolute; inset: 0; border-radius: 8px; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; pointer-events: none; }
.ebm-page { position: relative; width: min(290px, 68%); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px rgba(5, 10, 40, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4); transform: rotate(-2deg); }
.ebm-page img { display: block; width: 100%; height: auto; }
.ebm-cap { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(11, 19, 48, 0.82); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 99px; }
@keyframes ebm-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 92, 255, 0.5); } 60% { box-shadow: 0 0 0 14px rgba(31, 92, 255, 0); } }
.ebm-info .btn.pulsa { animation: ebm-pulso 1.1s ease-out 2; }
.ebm-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); background: linear-gradient(to bottom, rgba(246, 248, 255, 0), rgba(246, 248, 255, 0.92) 78%); }
.ebm-lock { position: absolute; left: 14px; right: 14px; bottom: 18px; display: grid; justify-items: center; gap: 3px; text-align: center; padding: 14px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(11, 19, 48, 0.18); }
.ebm-lock svg { width: 26px; height: 26px; color: var(--accent); }
.ebm-lock b { font-size: 1.02rem; }
.ebm-lock span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.ebm-nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.ebm-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.ebm-arrow:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.06); }
.ebm-arrow svg { width: 18px; height: 18px; }
.ebm-dots { display: flex; gap: 8px; }
.ebm-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.3s, background 0.3s; position: relative; }
.ebm-dots button::before { content: ""; position: absolute; inset: -12px -6px; }
.ebm-dots button[aria-selected="true"] { width: 28px; background: #fff; }
.ebm-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 44px 40px 36px 38px; overflow: auto; }
.ebm-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.08; text-wrap: balance; }
.ebm-lead { color: var(--muted); font-size: 1.04rem; }
.ebm-list { display: grid; gap: 10px; margin: 2px 0 6px; }
.ebm-list li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.35; }
.ebm-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--accent) var(--check) center / 13px no-repeat; }
.ebm-info .btn { width: 100%; }
.ebm-foot { font-size: 0.84rem; color: var(--faint); line-height: 1.4; }
@media (max-width: 760px) {
  dialog.ebm[open] { place-items: end center; padding: 0; }
  .ebm-box { grid-template-columns: minmax(0, 1fr); max-height: 94dvh; border-radius: 26px 26px 0 0; overflow: auto; width: 100%; }
  dialog.ebm[open] .ebm-box { animation: ebm-sube 0.45s cubic-bezier(0.2, 1, 0.3, 1) both; }
  dialog.ebm.cerrando .ebm-box { animation: ebm-baja 0.25s ease both; }
  .ebm-stage { min-height: 0; padding: 26px 20px 16px; }
  .ebm-tilt, .ebm-page { width: min(190px, 56%); }
  .ebm-glow { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .ebm-info { padding: 22px 22px calc(26px + env(safe-area-inset-bottom, 0px)); gap: 12px; overflow: visible; }
  .ebm-info h2 { font-size: 1.5rem; }
}
@keyframes ebm-sube { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ebm-baja { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .ebm-tilt, .ebm-glow { animation: none !important; }
  dialog.ebm[open] .ebm-box, dialog.ebm::backdrop { animation: none !important; }
}

/* aparición suave (el contenido siempre se ve si no hay JS) */
.js .reveal { opacity: 0; transform: translateY(12px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "video" "top" "form" "extra"; row-gap: 1.8rem; }
  .hero-top, .hero-form { align-self: start; }
  .hero-form { position: static; }
  .reasons, .sessions, .proof, .journey { grid-template-columns: minmax(0, 1fr); }
  .journey { gap: calc(var(--gap) * 2); max-width: 560px; margin-inline: auto; }
  .jr:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: calc(var(--gap) * -1 - 15px); margin: 0 0 0 -15px; transform: rotate(90deg); }
  .trainers, .para { grid-template-columns: minmax(0, 1fr); }
  .cases { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
  .ba { aspect-ratio: 4 / 5; }
  .trainer-photo { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav .wrap { height: 60px; }
  .brand-name { font-size: 1.15rem; }
  .nav .btn { padding: 9px 14px; font-size: 0.86rem; white-space: nowrap; min-height: 44px; }
  .phone-row { grid-template-columns: minmax(0, 1fr); }
  .cta-panel .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.session .pill { gap: 4px; }

.pdf-mock--step { float: right; width: 92px; margin: 0 0 6px 14px; }

/* sesiones: miniaturas de YouTube */
.sessions > .card.session { padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.thumb-s { margin: 0; overflow: hidden; background: var(--dark); aspect-ratio: 16 / 9; }
.thumb-s img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.session:hover .thumb-s img { transform: scale(1.04); }
.session p { padding: 1rem 1.2rem 1.3rem; color: var(--muted); }
.nav .btn--sm, .nav .brand { min-height: 44px; }

/* página de gracias: un solo paso, entrar al grupo de WhatsApp. Cabe en una pantalla, sin scroll */
.nav-gr { display: flex; align-items: center; justify-content: space-between; }
.gr-page { }
body:has(#gracias) { min-height: 100dvh; display: flex; flex-direction: column; }
body:has(#gracias) .gr { flex: 1 1 auto; }
.gr { position: relative; display: grid; place-items: center; padding: clamp(0.8rem, 2.6vh, 2rem) var(--gutter); overflow: hidden; }
.gr-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gr-bg i { position: absolute; border-radius: 50%; pointer-events: none; }
.gr-bg i:first-child { width: 520px; height: 520px; right: -200px; top: -160px; border: 14px solid rgba(31, 92, 255, 0.1); }
.gr-bg i:last-child { width: 300px; height: 300px; left: -120px; bottom: -90px; background: rgba(31, 92, 255, 0.06); }
.gr-card { position: relative; width: min(980px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-up); padding: clamp(1.1rem, 3.4vh, 2.3rem) clamp(1.1rem, 3.4vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-areas: "main side" "cta cta"; column-gap: clamp(1.4rem, 3.4vw, 3rem); row-gap: clamp(0.8rem, 2.4vh, 1.6rem); align-items: center; }
.js .gr-card { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gr-main { grid-area: main; display: grid; justify-items: start; text-align: left; gap: clamp(0.6rem, 1.8vh, 1rem); }
.gr-ok { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.9rem; padding: 7px 16px 7px 10px; border-radius: 99px; }
.gr-ok svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.gr h1 { font-size: clamp(1.8rem, 5.4vh, 3rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.gr-lead { color: var(--muted); font-size: clamp(1rem, 2.1vh, 1.15rem); max-width: 46ch; }
.gr-lead b { color: var(--ink); }
.gr-gets { display: block; }
.gr-gets .gr-mini { display: none; }
.gr-gets ul { display: grid; gap: clamp(0.35rem, 1.2vh, 0.6rem); font-size: clamp(0.92rem, 1.9vh, 1.02rem); line-height: 1.35; }
.gr-gets li { position: relative; padding-left: 28px; }
.gr-gets li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) var(--check) center / 11px no-repeat; }
.gr-side { grid-area: side; position: relative; align-self: stretch; display: grid; place-items: center; align-content: center; gap: 0.7rem; background: radial-gradient(110% 90% at 30% 10%, #E8EFFF 0%, var(--accent-soft) 60%, #CFDDFF 100%); border-radius: 24px; padding: clamp(0.8rem, 2.4vh, 1.5rem) 1rem; min-height: 0; }
.gr-side .pdf-mock { width: auto; height: clamp(150px, 36vh, 330px); max-width: 100%; margin: 0; animation: ebm-flota 5s ease-in-out infinite; filter: drop-shadow(0 18px 20px rgba(11, 19, 48, 0.28)); }
.gr-chip { background: var(--dark); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.gr-lock { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 700; color: var(--accent); }
.gr-lock svg { width: 17px; height: 17px; }
.gr-cta { grid-area: cta; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(0.7rem, 2vw, 1.4rem); align-items: center; }
.gr-wa { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: #25D366; color: #07290F; font-weight: 800; font-size: clamp(1.02rem, 2.4vh, 1.2rem); padding: clamp(0.8rem, 2.4vh, 1.15rem) 22px; border: 2px solid var(--black); border-radius: 16px; text-decoration: none; box-shadow: 0 6px 0 var(--black); transition: transform 0.12s, box-shadow 0.12s, background 0.15s; animation: gr-pulso 2.2s ease-out infinite; }
.gr-wa svg { width: 28px; height: 28px; flex: none; }
.gr-wa:hover { background: #1FBE5B; }
.gr-wa:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--black); }
.gr-wa.off { display: none; }
@keyframes gr-pulso { 0% { outline: 0 solid rgba(37, 211, 102, 0.55); outline-offset: 2px; } 70% { outline: 14px solid rgba(37, 211, 102, 0); outline-offset: 2px; } 100% { outline: 0 solid rgba(37, 211, 102, 0); } }
.gr-count { display: flex; align-items: center; gap: 14px; text-align: left; }
.gr-count.off { display: none; }
.gr-count b { display: block; font-size: 1rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.gr-count > div > span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.gr-ring { flex: none; width: 46px; height: 46px; transform: rotate(-90deg); }
.gr-ring circle { fill: none; stroke-width: 4; }
.gr-ring .bg { stroke: var(--accent-soft); }
.gr-ring .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 0; }
.gr-pause { margin-left: auto; flex: none; background: none; border: 0; color: var(--muted); font-weight: 700; font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; }
.gr-fallback, .gr-local { grid-column: 1 / -1; font-size: 0.92rem; color: var(--muted); background: var(--accent-soft); border-radius: var(--r-sm); padding: 12px 14px; }
.gr-local code { font-size: 0.85em; }
.gr-foot { background: transparent; border-top: 0; padding-block: 0.4rem 0.9rem; font-size: 0.74rem; line-height: 1.45; text-align: center; }
.gr-foot .wrap { display: grid; gap: 0.2rem; justify-items: center; }
.gr-foot .foot-links { gap: 0.2rem 1.2rem; justify-content: center; }
.gr-foot .foot-links a { padding: 2px 0; }
.gr-foot .foot-disclaimer { margin: 0; max-width: 100ch; }
@keyframes gr-confeti { 0% { transform: translate(0, 0) scale(0.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); opacity: 0; } }
.confeti { position: fixed; z-index: 60; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; animation: gr-confeti 1.1s cubic-bezier(0.1, 0.7, 0.3, 1) forwards; }

/* pantallas bajas (laptops pequeñas): se compacta para no hacer scroll */
@media (min-width: 761px) and (max-height: 760px) { .gr-lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .gr-chip, .gr-lock { display: none; } .gr-foot .foot-disclaimer { display: none; } }

/* teléfono: una columna, mini portada junto a la lista y todo en una pantalla */
@media (max-width: 760px) {
  .gr { padding: 0.7rem var(--gutter) 0.4rem; align-items: center; }
  .gr-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "cta"; padding: 1.05rem 1.05rem 1.1rem; border-radius: 24px; row-gap: 0.9rem; }
  .gr-side { display: none; }
  .gr-main { justify-items: center; text-align: center; gap: 0.65rem; }
  .gr h1 { font-size: clamp(1.7rem, 6.8vw, 2.2rem); }
  .gr-lead { font-size: 1rem; }
  .gr-gets { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px 10px 8px; width: 100%; }
  .gr-gets .gr-mini { display: block; flex: none; width: 64px; height: auto; margin: -2px 0; }
  .gr-gets ul { gap: 6px; font-size: 0.9rem; }
  .gr-cta { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .gr-wa { font-size: 1.08rem; padding: 0.95rem 18px; }
  .gr-count b { font-size: 0.95rem; }
  .gr-count > div > span { font-size: 0.8rem; }
  .gr-foot .foot-disclaimer { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) { .gr-gets .gr-mini { display: none; } .gr-lead { font-size: 0.95rem; } .gr h1 { font-size: 1.6rem; } .gr-card { padding-block: 0.9rem; row-gap: 0.7rem; } .gr-count > div > span { display: none; } }
@media (max-width: 760px) and (max-height: 660px) { .gr { padding-block: 0.45rem 0.2rem; } .gr-card { padding-block: 0.75rem; row-gap: 0.55rem; } .gr-main { gap: 0.45rem; } .gr h1 { font-size: 1.5rem; } .gr-ok { font-size: 0.82rem; padding-block: 5px; } .gr-gets ul { font-size: 0.85rem; gap: 4px; } .gr-wa { padding-block: 0.8rem; } .gr-foot { padding-block: 0.2rem 0.5rem; } }
@media (prefers-reduced-motion: reduce) { .gr-wa, .js .gr-card, .gr-side .pdf-mock { animation: none !important; } .confeti { display: none; } }
