:root{
  --bg0:#070b14;
  --bg1:#0b1220;
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);
  --muted:rgba(255,255,255,.72);
  --txt:#ffffff;

  --blue:#1d4ed8;
  --blue2:#60a5fa;
  --green:#16a34a;
  --gold:#f5c84c;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--txt);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(96,165,250,.25), transparent 55%),
    radial-gradient(700px 500px at 85% 15%, rgba(29,78,216,.25), transparent 55%),
    radial-gradient(900px 600px at 50% 90%, rgba(22,163,74,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:var(--blue2); text-decoration:none}
a:hover{opacity:.92}

.container{max-width:1180px;margin:0 auto;padding:24px}
@media (max-width: 720px){
  .container{padding:18px}
}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.logo-dot{
  width:12px;height:12px;border-radius:999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow:0 0 0 6px rgba(29,78,216,.12);
}
.nav-links{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--txt);
}
.pill:hover{background: rgba(255,255,255,.08)}
.pill.primary{
  background: linear-gradient(90deg, rgba(29,78,216,.9), rgba(96,165,250,.85));
  border: 1px solid rgba(96,165,250,.35);
}
.pill.success{
  background: linear-gradient(90deg, rgba(22,163,74,.92), rgba(34,197,94,.85));
  border: 1px solid rgba(34,197,94,.35);
}
.pill.ghost{
  background: transparent;
}

.hero{
  padding:22px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; }
}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
  position:relative;
}
.hero-card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 220px at 25% 0%, rgba(96,165,250,.18), transparent 55%),
              radial-gradient(520px 240px at 90% 20%, rgba(29,78,216,.16), transparent 55%);
  pointer-events:none;
}
.hero-inner{position:relative}
.h1{
  font-size:44px;
  line-height:1.08;
  margin:4px 0 8px;
  letter-spacing:-.6px;
}
@media (max-width: 720px){
  .h1{font-size:34px}
}
.lead{color:var(--muted); font-size:15px; line-height:1.55; max-width:62ch}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  font-size:13px;
}
.badge b{color:#fff}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.card h3{margin:4px 0 8px}
.card p{margin:0;color:var(--muted);line-height:1.55}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}
@media (max-width: 980px){
  .grid3{grid-template-columns: 1fr;}
}

.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}
@media (max-width: 980px){
  .kpi{grid-template-columns: 1fr;}
}
.kpi .card{
  padding:14px;
}
.kpi .num{
  font-size:22px;
  font-weight:900;
  letter-spacing:-.3px;
}
.small{font-size:12px;color:rgba(255,255,255,.68)}

.footer{
  margin-top:26px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(7,11,20,.35);
}
.footer .cols{
  display:grid; grid-template-columns: 1.2fr .8fr;
  gap:14px; padding:18px 0;
}
@media (max-width: 980px){
  .footer .cols{grid-template-columns:1fr}
}
.hr{height:1px;background:rgba(255,255,255,.08); margin:14px 0}
/* ==== HOME PRO UPGRADE ==== */
.hero2{padding:18px 0 10px}
.hero2-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;align-items:stretch}
@media (max-width: 980px){ .hero2-grid{grid-template-columns:1fr} }

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.86);
  font-size:13px;
}

.title-xl{
  margin:10px 0 8px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.8px;
}
@media (max-width:720px){ .title-xl{font-size:34px} }
.grad{
  background: linear-gradient(90deg, #60a5fa, #22c55e);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

.subtitle{margin:0;color:rgba(255,255,255,.78);max-width:62ch;line-height:1.6}

.btnx{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;font-weight:700;
}
.btnx:hover{background:rgba(255,255,255,.09)}
.btnx.primary{
  background:linear-gradient(90deg, rgba(29,78,216,.95), rgba(96,165,250,.88));
  border:1px solid rgba(96,165,250,.35);
}
.btnx.success{
  background:linear-gradient(90deg, rgba(22,163,74,.95), rgba(34,197,94,.86));
  border:1px solid rgba(34,197,94,.35);
}
.btnx.ghost{background:transparent}

.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
@media (max-width:720px){ .trust-row{grid-template-columns:1fr} }
.trust{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;padding:12px;
}
.t-num{font-weight:900;font-size:18px}
.t-txt{color:rgba(255,255,255,.70);font-size:12px;margin-top:4px}

.preview{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.preview-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(7,11,20,.35);
}
.dots{display:flex;gap:6px}
.dots span{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.25)}
.mini{font-size:12px;color:rgba(255,255,255,.72)}
.preview-body{
  position:relative;
  height:240px;
  background:
    radial-gradient(420px 220px at 25% 10%, rgba(96,165,250,.22), transparent 55%),
    radial-gradient(420px 220px at 85% 20%, rgba(34,197,94,.14), transparent 55%),
    linear-gradient(180deg, rgba(11,18,32,.2), rgba(11,18,32,.6));
}
.skeleton{position:absolute;left:14px;right:14px;top:14px;bottom:14px;display:flex;flex-direction:column;gap:10px}
.sk{border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05)}
.sk1{height:36px}
.sk2{height:84px}
.sk3{height:26px;width:72%}
.sk4{height:26px;width:55%}

.badge-float{
  position:absolute;right:14px;top:14px;
  padding:8px 10px;border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  font-size:12px;color:rgba(255,255,255,.88)
}
.badge-float.b2{top:auto;bottom:14px;right:auto;left:14px}

.price-card{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  padding:14px;
}
.pc-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pc-title{font-weight:800}
.pc-price{font-weight:900;font-size:22px;letter-spacing:-.3px}
.pc-price span{font-size:12px;color:rgba(255,255,255,.65);font-weight:700}
.pc-tag{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(96,165,250,.35);
  background:rgba(96,165,250,.12);
  font-size:12px;
}
.pc-tag.green{
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.12);
}
.pc-note{margin-top:10px;color:rgba(255,255,255,.72);font-size:12px;line-height:1.45}

.section{margin-top:22px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}
.h2{margin:0;font-size:22px;letter-spacing:-.2px}
.p{margin:4px 0 0;color:rgba(255,255,255,.72)}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:980px){ .cards{grid-template-columns:1fr} }

.cardx{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.35);
}
.cardx:hover{transform: translateY(-2px)}
.thumb{
  height:150px;
  background:center/cover no-repeat;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.cardx-body{padding:14px}
.cardx-title{font-weight:900;letter-spacing:-.2px;margin-top:8px}
.cardx-desc{color:rgba(255,255,255,.72);font-size:13px;line-height:1.5;margin-top:6px;min-height:40px}
.meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pillmini{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;color:rgba(255,255,255,.86)
}
.muted{color:rgba(255,255,255,.70);font-size:12px}
.cardx-cta{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:#9ae6ff;font-weight:800}
.cardx.empty{display:flex;align-items:center;justify-content:center;min-height:220px}

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:980px){ .steps{grid-template-columns:1fr} }
.step{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  padding:14px;
  display:flex;gap:10px;
}
.step-n{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(96,165,250,.16);
  border:1px solid rgba(96,165,250,.35);
  font-weight:900;
}
.step-t{font-weight:900}
.step-p{color:rgba(255,255,255,.72);font-size:13px;margin-top:4px;line-height:1.5}

.cta-final{margin:22px 0 6px}
.cta-box{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(520px 220px at 25% 0%, rgba(96,165,250,.20), transparent 60%),
    radial-gradient(520px 220px at 85% 20%, rgba(34,197,94,.14), transparent 60%),
    rgba(255,255,255,.05);
  padding:16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
@media (max-width:980px){ .cta-box{flex-direction:column;align-items:flex-start} }
/* ===== FIX DEFINITIVO: HERO NO SE MONTA ===== */

/* 1) El HERO SIEMPRE debe crecer según su contenido */
.hero-wrap{
  height: auto !important;
  min-height: unset !important;
  overflow: hidden !important;
  margin-bottom: 32px !important;
  position: relative !important;
  z-index: 2 !important;
}
.hero-inner{
  height: auto !important;
  min-height: unset !important;
  position: relative !important;
}

/* 2) La grilla del HERO estira correctamente */
.hero-grid{
  align-items: stretch !important;
}

/* 3) La tarjeta Opciones jamás debe salirse ni usar absoluto */
.opt-card{
  height: auto !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 4) La imagen del bloque Opciones: prohíbe absolute y define alto real */
.opt-img{
  position: relative !important;   /* <-- mata cualquier absolute viejo */
  inset: auto !important;          /* <-- anula top/left/right/bottom viejos */
  width: 100% !important;
  height: 260px !important;
  display: block !important;
  flex: 0 0 auto !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* 5) La siguiente sección nunca debe subirse encima */
.section{
  position: relative !important;
  z-index: 1 !important;
  clear: both !important;
  margin-top: 28px !important;
}

/* 6) Por si existe un margen negativo o transform en el primer bloque posterior */
.section:first-of-type{
  transform: none !important;
}
.pagerbar a{ float:none !important; }
/* ===== FIX DEFINITIVO PAGINACIÓN: NO SE MONTA ===== */
.pagerbar{
  display:grid !important;
  grid-template-columns: 1fr auto !important;
  align-items:center !important;
  gap:12px !important;
  overflow: visible !important;
}

.pagerinfo{
  min-width: 220px !important;
}

.pagerbtns{
  display:grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  gap:10px !important;
  align-items:center !important;
  justify-content:end !important;

  /* mata cualquier float o absolute heredado */
  float:none !important;
  position:relative !important;
}

.pagerbtns a,
.pagerbtns .btnx{
  display:inline-flex !important;
  white-space: nowrap !important;
  line-height: 1 !important;

  /* mata cualquier absolute/float raro */
  float:none !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
}

/* MÓVIL: quedan 2 botones alineados y grandes */
@media (max-width: 640px){
  .pagerbar{
    grid-template-columns: 1fr !important;
  }
  .pagerbtns{
    grid-auto-flow: unset !important;
    grid-template-columns: 1fr 1fr !important;
    width:100% !important;
  }
  .pagerbtns a,
  .pagerbtns .btnx{
    width:100% !important;
    justify-content:center !important;
  }
}
.pagerbar{ 
  clear: both !important; 
  position: relative !important; 
  z-index: 5 !important; 
}


