/* CajaClubLite — landing estática. HTML + CSS puro, sin dependencias.
   Paleta: azul real #17458F, dorado #F7A81B, azul cielo #019FCB, azure #0067C8,
   carbón #54565A, azul profundo #0F2A5C. */
:root {
  --azul: #17458f;
  --azul-d: #0f2a5c;
  --azul-m: #0067c8;
  --cielo: #019fcb;
  --dorado: #f7a81b;
  --dorado-d: #d98f0a;
  --carbon: #54565a;
  --texto: #1c2430;
  --fondo: #ffffff;
  --fondo-alt: #f4f7fb;
  --borde: #dbe3ef;
  --radio: 14px;
  --sombra: 0 10px 30px rgba(15, 42, 92, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--azul-m); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; color: var(--azul-d); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--fondo-alt); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--carbon); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; margin-bottom: .6rem; font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dorado-d);
}

/* Botones */
.btn {
  display: inline-block; padding: .65rem 1.15rem; border-radius: 10px; font-weight: 700;
  font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-d); }
.btn-gold { background: var(--dorado); color: var(--azul-d); }
.btn-gold:hover { background: var(--dorado-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--azul); border-color: var(--borde); }
.btn-ghost:hover { border-color: var(--azul); }
.btn-ghost-claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-claro:hover { border-color: #fff; }

/* Barra superior */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borde); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.logo img { display: block; height: 38px; width: auto; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--carbon); text-decoration: none; font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--azul); }
.nav-cta { display: flex; gap: .6rem; align-items: center; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--azul-d) 0%, var(--azul) 70%); color: #fff; padding: 4.5rem 0 5rem; }
.hero h1 { color: #fff; }
.hero .hl { color: var(--dorado); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: rgba(247, 168, 27, .18); color: var(--dorado); font-weight: 700; font-size: .82rem; margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: #dbe6f8; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .9rem; }
.micro { font-size: .85rem; color: #aebfdc; margin: 0; }

/* Tarjeta de ejemplo del hero (hecha con CSS, sin imágenes) */
.mock { background: #fff; color: var(--texto); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); padding: 1.3rem; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.mock-head strong { color: var(--azul-d); }
.mock-head small { color: var(--carbon); }
.mock-saldo { background: var(--fondo-alt); border-radius: 12px; padding: .9rem 1rem; margin-bottom: .9rem; }
.mock-saldo span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--carbon); font-weight: 700; }
.mock-saldo b { font-size: 1.7rem; color: var(--azul); }
.mock-fila { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--borde); font-size: .92rem; }
.mock-fila:last-of-type { border-bottom: none; }
.tag { padding: .15rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.tag-ok { background: #dcfce7; color: #166534; }
.tag-pend { background: #fef3c7; color: #92400e; }
.mock-meta { margin-top: .8rem; }
.mock-meta small { color: var(--carbon); }
.barra { height: 9px; background: var(--borde); border-radius: 999px; overflow: hidden; margin-top: .3rem; }
.barra i { display: block; height: 100%; width: 72%; background: var(--dorado); border-radius: 999px; }

/* Problema / solución */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.caja { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.6rem; box-shadow: var(--sombra); }
.caja.problema { border-top: 5px solid #c2410c; }
.caja.solucion { border-top: 5px solid var(--dorado); }
.caja ul { margin: 0; padding-left: 1.2rem; }
.caja li { margin-bottom: .55rem; }

/* Rejillas de tarjetas */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.4rem; }
.card p { color: var(--carbon); margin: 0; font-size: .95rem; }
.icono {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--azul); color: var(--dorado); font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem;
}

/* Pasos */
.pasos { counter-reset: paso; }
.paso { position: relative; padding-top: 3.6rem; }
.paso::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; top: 1.2rem; left: 1.4rem; width: 34px; height: 34px; border-radius: 50%;
  background: var(--dorado); color: var(--azul-d); font-weight: 800; display: grid; place-items: center;
}

/* Roles */
.rol h3 { color: var(--azul); margin-bottom: .3rem; }

/* Precios */
.precios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.8rem; display: flex; flex-direction: column; }
.plan.destacado { border: 2px solid var(--dorado); box-shadow: var(--sombra); }
.plan .precio { font-size: 1.5rem; font-weight: 800; color: var(--azul); margin: .4rem 0 1rem; }
.plan ul { padding-left: 1.2rem; margin: 0 0 1.4rem; color: var(--carbon); }
.plan li { margin-bottom: .45rem; }
.plan .btn { margin-top: auto; text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--azul-d); }
.faq details p { margin: .7rem 0 0; color: var(--carbon); }

/* Llamado final */
.cta-final { background: linear-gradient(160deg, var(--azul-d), var(--azul)); color: #fff; text-align: center; padding: 4rem 0; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #dbe6f8; }
.cta-final .hero-actions { justify-content: center; }

/* Pie */
.footer { background: var(--azul-d); color: #b9c8e4; padding: 2.5rem 0; font-size: .9rem; }
.footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer img { height: 34px; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: .6rem; display: block; }
.footer p { margin: 0 0 .4rem; }
.aviso { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; }

/* Celular y tableta */
@media (max-width: 960px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-inner, .dos-col, .grid-3, .precios { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.2rem 0; }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
  .grid-5 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
