
:root{
  --bg:#050505;
  --bg-2:#0b0b0b;
  --panel:#111111;
  --panel-2:#171717;
  --text:#f7f2e9;
  --muted:#b9b0a4;
  --line:rgba(255,255,255,.12);
  --gold:#d6a94f;
  --gold-2:#f1cf7b;
  --green:#9bd08d;
  --red:#df8a8a;
  --shadow:0 28px 90px rgba(0,0,0,.58);
  --radius:30px;
  --max:1200px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 8%,rgba(214,169,79,.18),transparent 28%),
    radial-gradient(circle at 88% 16%,rgba(255,255,255,.055),transparent 24%),
    linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 48%,var(--bg) 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
  overflow-x:hidden;
}
body.modal-open{overflow:hidden}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input,select{font:inherit}

.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.section{padding:82px 0}
.section-head{max-width:820px;margin-bottom:36px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto}
.kicker{
  color:var(--gold-2);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.76rem;
  font-weight:900;
  margin-bottom:12px;
}
h1,h2,h3{letter-spacing:-.055em}
h1{
  font-size:clamp(2.75rem,7vw,6.4rem);
  line-height:.9;
  margin-bottom:20px;
}
h2{
  font-size:clamp(2rem,4.7vw,3.8rem);
  line-height:.98;
  margin-bottom:16px;
}
h3{
  font-size:1.3rem;
  line-height:1.1;
}
p{color:var(--muted)}
.gradient{
  background:linear-gradient(135deg,#fff,var(--gold-2) 58%,#af7d2f);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.nav{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(5,5,5,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo img{
  width:182px;
  height:auto;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.45));
}
.nav-links{
  display:flex;
  align-items:center;
  gap:20px;
  color:var(--muted);
  font-size:.92rem;
}
.nav-links a:hover{color:var(--text)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:14px 23px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:850;
  cursor:pointer;
  transition:.22s ease;
  white-space:nowrap;
}
.btn-primary{
  color:#080808;
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  box-shadow:0 16px 48px rgba(214,169,79,.22);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 60px rgba(214,169,79,.31);
}
.btn-secondary{
  color:var(--text);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.055);
}
.btn-secondary:hover{
  transform:translateY(-2px);
  border-color:rgba(214,169,79,.44);
  background:rgba(214,169,79,.09);
}
.btn-ghost{
  color:var(--gold-2);
  border-color:rgba(214,169,79,.30);
  background:rgba(214,169,79,.07);
}

.hero{padding:72px 0 62px}
.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:46px;
  align-items:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(214,169,79,.24);
  background:rgba(214,169,79,.08);
  color:var(--gold-2);
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:20px;
}
.dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 18px var(--gold);
}
.hero-copy p{
  font-size:clamp(1.03rem,1.7vw,1.22rem);
  max-width:700px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:28px;
}
.proof-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.pill{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.045);
  color:#ddd5c9;
  font-size:.86rem;
}
.hero-media{
  min-height:640px;
  position:relative;
  overflow:hidden;
  border-radius:38px;
  border:1px solid rgba(214,169,79,.28);
  background:
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.78)),
    url("../img/wilson-entrenando.jpg") center/cover no-repeat;
  box-shadow:var(--shadow);
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 12%,rgba(214,169,79,.18),transparent 28%),
    linear-gradient(180deg,transparent 38%,rgba(0,0,0,.82) 100%);
}
.hero-float{
  position:absolute;
  z-index:2;
  left:22px;right:22px;bottom:22px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(7,7,7,.76);
  backdrop-filter:blur(14px);
}
.hero-float p{margin-top:8px}

.video-grid,
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
}
.video-box{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:32px;
  overflow:hidden;
  border:1px solid rgba(214,169,79,.25);
  background:#090909;
  box-shadow:var(--shadow);
}
.video-box iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.video-fallback{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.068),rgba(255,255,255,.025));
  padding:24px;
  box-shadow:0 16px 48px rgba(0,0,0,.18);
}
.card p{margin-top:10px}
.icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:15px;
  margin-bottom:17px;
  border:1px solid rgba(214,169,79,.24);
  background:rgba(214,169,79,.10);
  color:var(--gold-2);
  font-weight:900;
}

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  counter-reset:step;
}
.step{
  counter-increment:step;
}
.step::before{
  content:"0" counter(step);
  display:block;
  color:var(--gold-2);
  font-size:1.45rem;
  font-weight:950;
  letter-spacing:-.04em;
  margin-bottom:14px;
}
.timeline-note{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.timeline-item{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(214,169,79,.20);
  background:rgba(214,169,79,.055);
}
.timeline-item strong{
  display:block;
  color:var(--gold-2);
  font-size:1.15rem;
  margin-bottom:4px;
}

.app-shell{
  border:1px solid rgba(214,169,79,.22);
  border-radius:38px;
  background:
    radial-gradient(circle at 15% 8%,rgba(214,169,79,.13),transparent 30%),
    rgba(255,255,255,.03);
  padding:28px;
  box-shadow:var(--shadow);
}
.app-head{max-width:760px;margin-bottom:30px}
.phone-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  align-items:end;
}
.phone-card{
  padding:10px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.045);
}
.phone-card img{
  width:100%;
  border-radius:22px;
}
.phone-card:nth-child(2){transform:translateY(-18px)}
.phone-card:nth-child(3){transform:translateY(-8px)}

.plan-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.plan{
  position:relative;
  overflow:hidden;
}
.plan.featured{
  border-color:rgba(214,169,79,.44);
  background:
    radial-gradient(circle at top,rgba(214,169,79,.16),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  transform:translateY(-10px);
}
.badge{
  display:inline-flex;
  margin-bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(214,169,79,.23);
  background:rgba(214,169,79,.11);
  color:var(--gold-2);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.74rem;
  font-weight:900;
}
.price{
  font-size:clamp(2.2rem,4vw,3.3rem);
  line-height:1;
  letter-spacing:-.07em;
  font-weight:950;
  margin:14px 0 6px;
}
.price small{
  font-size:.8rem;
  color:var(--muted);
  letter-spacing:0;
}
.monthly{
  color:var(--muted);
  font-size:.9rem;
}
.checklist{
  list-style:none;
  display:grid;
  gap:10px;
  margin:20px 0 24px;
  color:#ded6ca;
}
.checklist li{display:flex;gap:9px}
.checklist li::before{
  content:"✓";
  color:var(--green);
  font-weight:950;
}
.plan-actions{display:grid;gap:10px}
.plan-actions .btn{width:100%}

.payment-panel,
.final-panel{
  border:1px solid rgba(214,169,79,.25);
  border-radius:38px;
  background:
    radial-gradient(circle at 12% 8%,rgba(214,169,79,.16),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  padding:38px;
  box-shadow:var(--shadow);
}
.payment-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:24px;
}
.payment-card{
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:20px;
  border-radius:24px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
}
.payment-card p{font-size:.92rem}
.payment-card .btn{width:100%}

.faq{
  display:grid;
  gap:12px;
  max-width:920px;
}
details{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  padding:18px 20px;
}
summary{
  cursor:pointer;
  font-weight:850;
}
details p{margin-top:12px}

.alt-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:26px;
}
.alt-card{
  min-height:280px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  border-radius:30px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#111;
}
.alt-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--alt-bg) center/cover no-repeat;
  opacity:.38;
}
.alt-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.86));
}
.alt-card > *{position:relative;z-index:2}
.alt-card p{margin:10px 0 18px;max-width:560px}

.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  color:var(--muted);
  font-size:.9rem;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.socials{display:flex;gap:12px;flex-wrap:wrap}
.socials a:hover{color:var(--text)}

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:55;
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  color:#080808;
  font-weight:950;
  box-shadow:0 16px 44px rgba(0,0,0,.42);
}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(8px);
}
.modal.open{display:flex}
.modal-card{
  width:min(720px,100%);
  max-height:90vh;
  overflow:auto;
  border-radius:30px;
  border:1px solid rgba(214,169,79,.26);
  background:#111;
  box-shadow:var(--shadow);
  padding:28px;
}
.modal-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:22px;
}
.modal-close{
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  width:42px;height:42px;
  border-radius:50%;
  cursor:pointer;
}
.modal-plan{
  color:var(--gold-2);
  margin-top:6px;
}
.modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.modal-option{
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:18px;
  border-radius:20px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
  color:var(--text);
  cursor:pointer;
}
.modal-option:hover{
  border-color:rgba(214,169,79,.4);
  background:rgba(214,169,79,.07);
}
.modal-option strong{color:var(--gold-2)}

@media (max-width:1020px){
  .nav-links{display:none}
  .hero-grid,.video-grid,.two-col{grid-template-columns:1fr}
  .card-grid,.steps,.plan-grid{grid-template-columns:1fr 1fr}
  .phone-grid{grid-template-columns:1fr 1fr}
  .payment-grid{grid-template-columns:1fr 1fr}
  .hero-media{min-height:540px}
  .plan.featured{transform:none}
}

@media (max-width:640px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .nav-inner{min-height:70px}
  .logo img{width:148px}
  .nav .btn{display:none}
  .hero{padding:46px 0 44px}
  .hero-media{min-height:450px}
  .section{padding:60px 0}
  .hero-actions .btn,
  .video-fallback .btn,
  .final-panel .btn{width:100%}
  .card-grid,.steps,.plan-grid,.payment-grid,.alt-grid,.timeline-note,.modal-grid{
    grid-template-columns:1fr
  }
  .phone-grid{
    grid-template-columns:repeat(4,76%);
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:10px;
  }
  .phone-card{
    scroll-snap-align:center;
  }
  .phone-card:nth-child(2),
  .phone-card:nth-child(3){transform:none}
  .app-shell,.payment-panel,.final-panel{padding:25px}
  .modal-card{padding:22px}
}


/* ==========================================================
   AJUSTES SOLICITADOS SOBRE LA V1 ORIGINAL
   ========================================================== */

/* Los nuevos PNG ya incluyen el mockup del teléfono y no
   necesitan una segunda tarjeta/fondo detrás. */
#app .phone-card{
  padding:0;
  border:none;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}

#app .phone-card img{
  width:100%;
  height:auto;
  border-radius:0;
  filter:drop-shadow(0 24px 42px rgba(0,0,0,.16));
}

/* Fallback de video SOLO para revisión local file:// */
.video-local-preview{
  position:absolute;
  inset:0;
  z-index:2;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  text-align:center;
  padding:28px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.82)),
    url("../img/wilson-entrenando.jpg") center/cover no-repeat;
}

.video-local-preview:hover .video-play{
  transform:scale(1.05);
}

.video-play{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#080808;
  background:linear-gradient(135deg,var(--gold-2),var(--gold));
  box-shadow:0 16px 46px rgba(0,0,0,.45);
  font-size:1.3rem;
  transition:.2s ease;
}

.video-preview-title{
  color:var(--text);
  font-size:1.2rem;
  font-weight:850;
}

.video-preview-note{
  color:#d2c9bc;
  font-size:.9rem;
  max-width:390px;
}

.video-box.local-preview iframe{
  display:none;
}

.video-box.local-preview .video-local-preview{
  display:flex;
}

/* Con PNG transparentes, mantener buena composición en desktop */
#app .phone-grid{
  gap:10px;
}

@media (max-width:640px){
  #app .phone-grid{
    gap:14px;
  }
}


/* Ajustes solicitados sobre la V1 aprobada */
.hero-video-wrap{
  width:100%;
}

.hero-video-wrap .video-box{
  width:100%;
  aspect-ratio:16/9;
  min-height:0;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(214,169,79,.25);
  background:#090909;
  box-shadow:var(--shadow);
}

.hero-video-fallback{
  margin-top:12px;
}

.hero-copy h1{
  margin-top:0;
}

@media (max-width:1020px){
  .hero-grid{
    gap:28px;
  }
}

@media (max-width:640px){
  .hero-video-wrap .video-box{
    border-radius:24px;
  }

  .hero-video-fallback .btn{
    width:100%;
  }
}
