:root {
  --ink: #111510;
  --muted: #5f675b;
  --cream: #f4f1e8;
  --paper: #fffdf8;
  --lime: #c9f55a;
  --lime-dark: #9dcc2d;
  --line: rgba(17, 21, 16, 0.13);
  --shadow: 0 28px 80px rgba(17, 21, 16, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--lime);
  border-radius: 999px;
  transition: top .2s;
}
.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 800 1rem/1 "Manrope", sans-serif; letter-spacing: .08em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 1.15rem; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .56rem; letter-spacing: .25em; }
nav { display: flex; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 600; }
nav > a:first-child:hover { color: var(--muted); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: calc(100vh - 86px); padding: clamp(4rem, 8vw, 8rem) 0 5.5rem; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 26px; height: 2px; background: var(--lime-dark); }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; letter-spacing: -.055em; }
h1 { max-width: 720px; font-size: clamp(3.5rem, 7vw, 6.8rem); line-height: .94; }
h1 em, h2 em { color: var(--muted); font-weight: inherit; font-style: normal; }
.hero-lead { max-width: 620px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; margin: 2.2rem 0 3.4rem; }
.button { border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 1rem 1.4rem; cursor: pointer; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button:focus-visible, .choose-mode:focus-visible, .video-shell:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .modal-close:focus-visible { outline: 3px solid rgba(157, 204, 45, .55); outline-offset: 3px; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 0 12px 28px rgba(157, 204, 45, .22); }
.button-primary:hover { background: #d5ff69; box-shadow: 0 16px 34px rgba(157, 204, 45, .3); }
.button-small { padding: .72rem 1rem; background: var(--ink); color: white; }
.button-dark { background: var(--ink); color: white; }
.text-link { padding: .7rem 0; border-bottom: 1px solid var(--ink); font-size: .92rem; font-weight: 700; }
.proof-list { display: flex; list-style: none; padding: 0; margin: 0; }
.proof-list li { padding: .2rem 1.35rem; border-right: 1px solid var(--line); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.proof-list li:first-child { padding-left: 0; }
.proof-list li:last-child { border-right: 0; }
.proof-list span { display: block; margin-bottom: .3rem; color: var(--lime-dark); font: 700 .65rem "Manrope", sans-serif; }

.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(17, 21, 16, .15); border-radius: 50%; }
.orbit-one { width: 510px; height: 510px; }
.orbit-two { width: 410px; height: 410px; border-style: dashed; animation: rotate 28s linear infinite; }
.orbit-two::before { content: ""; position: absolute; left: 20px; top: 72px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 8px var(--cream); }
.phone-card { width: min(360px, 82vw); position: relative; z-index: 2; padding: 1.3rem; border: 8px solid var(--ink); border-radius: 36px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(2deg); }
.phone-top { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; background: var(--ink); color: var(--lime); border-radius: 50%; font-weight: 700; }
.phone-top div { flex: 1; }
.phone-top small, .phone-top strong { display: block; }
.phone-top small { color: var(--muted); font-size: .7rem; }
.phone-top strong { margin-top: .2rem; font-size: .9rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #61c450; box-shadow: 0 0 0 5px rgba(97,196,80,.12); }
.progress-ring { width: 172px; height: 172px; margin: 1.5rem auto; position: relative; display: grid; place-items: center; }
.progress-ring svg { width: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: #e8e9e2; }
.ring-value { stroke: var(--lime-dark); stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 70; }
.progress-ring div { position: absolute; text-align: center; }
.progress-ring strong { display: block; font: 800 2rem "Manrope", sans-serif; }
.progress-ring small { color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.mini-stats div { padding: .8rem; background: #f1f1eb; border-radius: 14px; }
.mini-stats span, .mini-stats strong { display: block; }
.mini-stats span { color: var(--muted); font-size: .65rem; }
.mini-stats strong { margin-top: .35rem; font-size: .84rem; }
.coach-note { display: flex; align-items: center; gap: .75rem; margin-top: .8rem; padding: .8rem; background: var(--lime); border-radius: 14px; }
.coach-note p { margin: 0; font-size: .72rem; line-height: 1.35; }
.check { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--ink); color: var(--lime); }
.floating-note { position: absolute; z-index: 3; right: -1.2rem; bottom: 6rem; display: flex; align-items: center; gap: .55rem; padding: .8rem 1rem; border-radius: 999px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: .74rem; font-weight: 700; transform: rotate(-3deg); }
.floating-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.method { width: 100%; max-width: none; padding: clamp(5rem, 9vw, 8rem) max(20px, calc((100vw - 1180px) / 2)); background: var(--ink); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 3rem; }
.section-heading h2, .application h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1.02; }
.method .eyebrow { color: rgba(255,255,255,.52); }
.method h2 em { color: rgba(255,255,255,.42); }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: stretch; }
.video-shell { min-height: 590px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: #0b0e0b; color: white; text-align: left; cursor: pointer; }
.video-shell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,5,.22) 0%, rgba(5,8,5,.04) 35%, rgba(5,8,5,.9) 100%); }
.video-poster { position: absolute; inset: 0; }
.video-poster img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 35%; transition: transform .45s ease; }
.video-shell:hover .video-poster img { transform: scale(1.025); }
.video-kicker { position: absolute; left: 2rem; top: 2rem; z-index: 2; padding: .55rem .7rem; border-radius: 999px; background: rgba(11,14,11,.64); color: rgba(255,255,255,.86); backdrop-filter: blur(8px); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.play-button { width: 76px; height: 76px; position: absolute; left: 2rem; top: 42%; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 14px rgba(201,245,90,.09); transition: transform .25s; }
.video-shell .play-button { z-index: 2; }
.video-shell:hover .play-button { transform: scale(1.08); }
.play-button svg { width: 30px; fill: currentColor; }
.video-title { position: absolute; left: 2rem; bottom: 4.2rem; z-index: 2; max-width: 500px; font: 700 clamp(1.65rem, 3vw, 2.6rem)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }
.video-duration { position: absolute; left: 2rem; bottom: 2rem; z-index: 2; color: rgba(255,255,255,.65); font-size: .72rem; }
.offer-panel { display: grid; gap: .8rem; }
.offer-intro { display: flex; justify-content: space-between; gap: 2rem; padding: 0 .2rem .8rem; color: rgba(255,255,255,.58); font-size: .8rem; }
.offer-intro > span { color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.offer-intro p { max-width: 350px; margin: 0; line-height: 1.5; }
.offer-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.45rem; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.045); transition: border .2s, background .2s, transform .2s; }
.offer-card:hover { transform: translateY(-2px); border-color: rgba(201,245,90,.5); }
.offer-card.selected { background: var(--cream); color: var(--ink); }
.offer-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; }
.offer-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.offer-title h3 { font-size: 1.2rem; }
.offer-title span { padding: .35rem .55rem; border-radius: 999px; background: rgba(201,245,90,.15); color: var(--lime); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.selected .offer-title span { background: var(--lime); color: var(--ink); }
.offer-card p { max-width: 560px; margin: .6rem 0 .75rem; color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.55; }
.selected p { color: var(--muted); }
.offer-card ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; margin: 0 0 2.3rem; list-style: none; font-size: .72rem; }
.offer-card li::before { content: "✓"; margin-right: .35rem; color: var(--lime); }
.selected li::before { color: var(--lime-dark); }
.choose-mode { position: absolute; right: 1.45rem; bottom: 1.25rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: .72rem; font-weight: 700; }

.application { padding: clamp(5rem, 9vw, 8rem) 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.application-copy { position: sticky; top: 3rem; }
.application-copy > p:not(.eyebrow) { max-width: 510px; margin: 1.8rem 0 2.5rem; color: var(--muted); line-height: 1.65; }
.next-steps { display: grid; gap: .8rem; }
.next-steps div { display: flex; align-items: center; gap: .9rem; }
.next-steps span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--lime-dark); font-size: .7rem; font-weight: 700; }
.next-steps p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.next-steps strong { color: var(--ink); }
.form-card { position: relative; min-height: 600px; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: 0 24px 70px rgba(17,21,16,.09); }
.form-progress { margin-bottom: 2.2rem; }
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.progress-track { height: 4px; margin-top: .65rem; overflow: hidden; border-radius: 4px; background: #e7e6df; }
.progress-track span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--lime-dark); transition: width .35s ease; }
fieldset { padding: 0; margin: 0; border: 0; }
.form-step { display: none; }
.form-step.active { display: block; animation: slideIn .35s ease both; }
legend { width: 100%; padding: 0; font: 700 clamp(1.55rem, 3vw, 2.15rem)/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.form-hint { margin: .65rem 0 1.8rem; color: var(--muted); font-size: .82rem; }
.field-group { margin-bottom: 1.5rem; }
.field-label, .form-step > label:not(.consent) { display: block; margin-bottom: .65rem; font-size: .78rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.choice input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.choice span, .segmented span { min-height: 48px; display: grid; place-items: center; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; color: var(--muted); font-size: .76rem; font-weight: 600; text-align: center; transition: border .2s, background .2s, color .2s; }
.choice input:checked + span, .segmented input:checked + span { border-color: var(--ink); background: var(--ink); color: white; }
.choice input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid rgba(157,204,45,.55); outline-offset: 2px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
input, select, textarea { width: 100%; margin-top: .55rem; padding: .82rem .9rem; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
select { margin-top: 0; min-height: 48px; }
textarea { resize: vertical; min-height: 86px; }
input:focus, select:focus, textarea:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 4px rgba(157,204,45,.12); outline: 0; }
.input-row { display: grid; grid-template-columns: 1.4fr .6fr; gap: .7rem; }
.input-row label, .form-step > label { margin-bottom: .9rem; color: var(--ink); font-size: .76rem; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
.consent { display: flex; align-items: start; gap: .65rem; margin: 1rem 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin: .05rem 0 0; accent-color: var(--ink); }
.button-full { width: 100%; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.back-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.form-error { min-height: 1.2rem; margin: -.3rem 0 .5rem; color: #a13434; font-size: .72rem; }
.privacy-note { margin: 1.1rem 0 0; color: var(--muted); font-size: .65rem; text-align: center; }
.success-state { display: none; min-height: 450px; place-content: center; text-align: center; }
.success-state.active { display: grid; animation: slideIn .4s ease both; }
.success-state .eyebrow { justify-content: center; margin-top: 1.2rem; }
.success-state h3 { font-size: 2.5rem; }
.success-state > p:not(.eyebrow) { max-width: 430px; margin: 1rem auto 1.8rem; color: var(--muted); line-height: 1.6; }
.success-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; background: var(--lime); font-size: 1.8rem; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 2.2rem 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-contact { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer-contact:hover { color: var(--ink); border-color: currentColor; }
.video-modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 1.5rem; background: rgba(3,5,3,.82); backdrop-filter: blur(8px); }
.video-modal.open { display: grid; animation: fadeIn .25s ease; }
.video-modal-card { width: min(430px, calc(100vw - 2rem), calc(88vh * 9 / 16)); max-height: 88vh; position: relative; overflow: hidden; aspect-ratio: 9/16; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: #080a08; color: white; box-shadow: var(--shadow); }
.video-modal-card video { width: 100%; height: 100%; display: block; object-fit: contain; background: #080a08; }
.modal-close { width: 40px; height: 40px; position: absolute; right: .75rem; top: .75rem; z-index: 3; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(5,7,5,.7); color: white; backdrop-filter: blur(8px); cursor: pointer; font-size: 1.5rem; line-height: 1; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-lead { max-width: 680px; }
  .hero-visual { min-height: 540px; }
  .proof-list { justify-content: center; }
  .floating-note { right: 8%; }
  .method-grid, .application { grid-template-columns: 1fr; }
  .video-shell { min-height: 500px; }
  .application-copy { position: static; }
  .application-copy > p:not(.eyebrow) { max-width: 650px; }
  .next-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .site-header { height: 72px; width: min(100% - 28px, 1180px); }
  nav > a:first-child { display: none; }
  .section { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; padding: 4rem 0 3.5rem; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }
  .hero-actions { width: 100%; flex-direction: column; gap: .8rem; }
  .hero-actions .button { width: 100%; }
  .proof-list { width: 100%; overflow-x: auto; justify-content: start; padding-bottom: .5rem; }
  .hero-visual { min-height: 460px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 315px; height: 315px; }
  .phone-card { transform: none; }
  .floating-note { right: 0; bottom: 1.5rem; }
  .method { padding-left: 14px; padding-right: 14px; }
  .section-heading { display: block; }
  .video-shell { min-height: 440px; }
  .offer-intro { display: block; padding: .5rem; }
  .offer-intro p { margin-top: .8rem; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-icon { width: 38px; height: 38px; }
  .offer-title { align-items: start; }
  .offer-title span { white-space: nowrap; }
  .offer-card ul { display: grid; }
  .choose-mode { right: 1.2rem; bottom: 1rem; }
  .application { padding-top: 5rem; }
  .next-steps { grid-template-columns: 1fr; }
  .form-card { padding: 1.25rem; min-height: 610px; }
  .choice-grid, .input-row { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .segmented span { min-height: 42px; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  footer { width: min(100% - 28px, 1180px); flex-direction: column; gap: 1rem; text-align: center; }
  .video-modal { padding: .75rem; }
  .video-modal-card { width: min(calc(100vw - 1.5rem), calc(92vh * 9 / 16)); max-height: 92vh; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Entrenamientos reales de JCF */
.training-frame { width: min(360px, 100%); overflow: hidden; border-radius: 28px; border: 3px solid var(--ink); background: var(--ink); box-shadow: var(--shadow); }
.training-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; }
