/* ====================================================================
   LANDING FRANQUICIA (educativa, primer filtro) — overlay
   Se carga tras style.css y emprendedor.css. Reutiliza sus componentes
   (header neutro, discover, incluye, footer) y añade lo propio:
   hero con imagen nueva, sección de razones, comparativa y CTA final.
==================================================================== */

/* ---------- Hero: imagen de la franquicia ---------- */
@media (min-width: 900px) {
  .hero--franquicia {
    background:
      linear-gradient(90deg,
        var(--navy-900) 0%,
        rgba(10, 28, 51, 0.96) 34%,
        rgba(10, 28, 51, 0.6) 54%,
        rgba(10, 28, 51, 0) 78%),
      url("../assets/images/hero-franquicia.png") right center / auto 100% no-repeat var(--navy-900);
  }
}
@media (min-width: 1250px) {
  .hero--franquicia {
    background:
      linear-gradient(90deg,
        var(--navy-900) 0%,
        rgba(10, 28, 51, 0.55) 22%,
        rgba(10, 28, 51, 0) 42%),
      url("../assets/images/hero-franquicia.png") right center / auto 100% no-repeat var(--navy-900);
  }
}
/* Móvil/tablet: imagen de fondo con degradado (texto siempre legible) */
@media (max-width: 899px) {
  .hero--franquicia {
    background:
      linear-gradient(180deg,
        var(--navy-900) 0%,
        rgba(10, 28, 51, 0.97) 30%,
        rgba(10, 28, 51, 0.90) 52%,
        rgba(10, 28, 51, 0.82) 76%,
        rgba(10, 28, 51, 0.86) 100%),
      url("../assets/images/hero-franquicia.png") 75% bottom / cover no-repeat var(--navy-900);
  }
  .hero--franquicia .hero__blob { display: none; }
}

/* ---------- Razones (¿por qué una franquicia?) ---------- */
.razones__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 8px;
}
@media (min-width: 760px) {
  .razones__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.razon-card { text-align: center; }
.razon-card .incluye-card__icon { margin-bottom: 14px; }
.razon-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.razon-card p { font-size: 0.92rem; color: var(--ink-soft); max-width: 260px; margin-inline: auto; }

/* ---------- Comparativa tradicional vs digital ---------- */
.compara {
  max-width: 720px;
  margin: 40px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e1e8f2;
  background: #fff;
  box-shadow: var(--shadow-light);
}
.compara__head,
.compara__row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.05fr;
  align-items: stretch;
}
.compara__row { transition: background 0.2s ease; }
.compara__row + .compara__row { border-top: 1px solid #eef2f8; }
.compara__row:hover { background: #f7f9fc; }
.compara__row > span,
.compara__head > span {
  padding: 14px 14px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}

.compara__label { font-weight: 700; color: var(--ink); }
/* Icono a la izquierda (alineado en columna) y la frase a continuación */
.compara__trad,
.compara__digi { justify-content: flex-start; padding-left: 22px; }
.compara__trad { color: var(--ink-muted); }
.compara__digi {
  color: var(--ink);
  font-weight: 700;
  background: rgba(245, 184, 32, 0.10);
  border-left: 1px solid rgba(245, 184, 32, 0.4);
}

/* Cabecera */
.compara__head { background: var(--navy-900); color: var(--text); }
.compara__hcell { justify-content: center; }
.compara__hcell--trad,
.compara__hcell--digi {
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.compara__hcell--digi {
  flex-direction: column;
  gap: 5px;
  padding-top: 11px;
  padding-bottom: 13px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1d2433;
  box-shadow: 0 6px 18px rgba(245, 184, 32, 0.28);
  position: relative;
  z-index: 1;
}
.compara__badge {
  background: var(--navy-900);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 11px;
  border-radius: 999px;
}
.compara__hname { font-size: 0.84rem; }

/* Encabezado de la columna de características (antes vacío) */
.compara__hcell--label { justify-content: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; }
.compara__scale { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.compara__ltxt {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: var(--text-soft);
  text-align: left;
}

/* Iconos ✓ / ✕ en círculo */
.compara .ic {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
.compara .ic svg { width: 12px; height: 12px; }
.compara .ic--v { background: #2ea358; color: #fff; }
.compara .ic--x { background: #e7d2cd; color: #b5503c; }

@media (max-width: 560px) {
  .compara__head,
  .compara__row { grid-template-columns: 1fr 0.9fr 1fr; }
  .compara__row > span,
  .compara__head > span { padding: 11px 8px; font-size: 0.8rem; }
  .compara__hcell--trad,
  .compara__hcell--digi { font-size: 0.64rem; }
  .compara__hname { font-size: 0.68rem; }
  .compara__badge { font-size: 0.52rem; padding: 2px 8px; }
  .compara .ic { width: 16px; height: 16px; margin-right: 5px; }
  .compara .ic svg { width: 10px; height: 10px; }
  .compara__hcell--label { gap: 6px; }
  .compara__scale { width: 15px; height: 15px; }
  .compara__ltxt { font-size: 0.56rem; }
}

/* ---------- CTA final (navy) ---------- */
.cta-final {
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(47, 126, 227, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 75%);
  color: var(--text);
  padding: clamp(54px, 8vw, 80px) 0;
  text-align: center;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-final__text {
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto 26px;
}

/* ====================================================================
   PÁGINA VSL — vídeo + CTA a WhatsApp
==================================================================== */
.vsl {
  background:
    radial-gradient(800px 380px at 50% -8%, rgba(47, 126, 227, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 80%);
  color: var(--text);
  padding: clamp(28px, 5vw, 52px) 0 clamp(44px, 7vw, 70px);
}
.vsl__inner { max-width: 880px; margin-inline: auto; text-align: center; }
.vsl__head { margin-bottom: 22px; }
.vsl__head .eyebrow-live { justify-content: center; margin-bottom: 14px; }
.vsl__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
}
.vsl__sub { color: var(--text-soft); max-width: 560px; margin: 0 auto; }

/* Reproductor (placeholder hasta tener el vídeo) */
.vsl-video {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}
.vsl-video__ph {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  gap: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 14px, rgba(255,255,255,0.04) 14px 28px),
    var(--navy-800);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.vsl-video__play {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1d2433;
  box-shadow: 0 10px 30px rgba(245, 184, 32, 0.35);
}
.vsl-video__play svg { width: 26px; height: 26px; margin-left: 3px; }

.vsl__cta { margin-top: 6px; }
.vsl__cta-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); }

/* Candado: formulario que capta el lead antes del vídeo */
.vsl-gate { max-width: 460px; margin: 26px auto 0; }
.vsl-gate__card { text-align: center; }
.vsl-gate__lock {
  position: relative;
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--blue-light);
}
.vsl-gate__lock > svg { width: 28px; height: 28px; }
.vsl-gate__play {
  position: absolute; right: -3px; bottom: -3px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1d2433;
  border: 2px solid #fff;
}
.vsl-gate__play svg { width: 12px; height: 12px; margin-left: 1px; }

/* Testimonios en variante clara (sobre fondo gris) */
.testimonios--light { background: none; color: var(--ink); }
.testimonios--light .section-title { color: var(--ink); }
.testimonios--light .testi__name { color: var(--ink); }
.testimonios--light .testi__quote { color: var(--ink-soft); }
.testimonios--light .testi__photo {
  border-color: #fff;
  box-shadow: var(--shadow-light);
}
