/* =========================================================================
   Landing del eBook "Diagnóstico de Fuerza Real".
   Se carga DESPUÉS de home.css (reutiliza nav, hero, .section, .cta, footer,
   cookieBanner, .reveal, botones y responsive). Aquí solo lo específico.
   ====================================================================== */

/* --- Nav simplificada (sin menú, para no dar salidas) --- */
.ebookLanding .nav.shell { gap: 18px; }
.ebookLanding .nav .buttonSmall { margin-left: auto; }

/* --- Hero en dos columnas: texto + formulario --- */
.ebookHero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.ebookHero .heroTitle { font-size: clamp(40px, 6vw, 76px); line-height: .95; }
.ebookHero .heroTitle strong { display: inline; color: #2ecc71; }
.ebookHero .heroCopy { max-width: 560px; }

.ebookBullets {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ebookBullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.ebookBullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #2ecc71;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* --- Tarjeta de formulario --- */
.ebookFormCol { position: relative; }
.ebookBadge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(46,204,113,.12);
  border: 1px solid rgba(46,204,113,.35);
  color: #1a7a43;
  font: 800 11px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebookFormCard {
  background: #fff;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 14px;
  padding: 32px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.14);
  position: relative;
  z-index: 2;
  color: #1a1a1a;              /* el hero pone el texto en blanco; aquí lo reseteamos */
}
.ebookFormCard h2 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.ebookFormCard > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
}

/* --- Formulario (home.css no estiliza .lead-form) --- */
.lead-form label { display: block; margin-bottom: 14px; }
.lead-form label span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 5px;
}
.lead-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 8px;
  font: inherit;
  background: #fafafa;
}
.lead-form input:focus {
  outline: 2px solid #2ecc71;
  border-color: #2ecc71;
  background: #fff;
}
.lead-form .btn--block { width: 100%; border: 0; cursor: pointer; }
.ebookFormLegal { margin: 12px 0 0; font-size: 12px; color: #888; text-align: center; }
.form-error {
  background: #fde8ea;
  color: #b00020;
  border: 1px solid #f5c2c7;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 14px;
  font-size: 14px;
}

/* Botón (por si se usa <button>) coherente con .button de home.css */
.btnPrimary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #2ecc71; color: #06110a;
  padding: 16px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 800; border: 0; cursor: pointer;
  text-transform: uppercase; letter-spacing: .03em;
  transition: background .2s ease, transform .2s ease;
}
.btnPrimary:hover { background: #111; color: #fff; transform: translateY(-2px); }

/* --- Lista "al terminar sabrás" / "para quién es" --- */
.checkList { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 720px; }
.checkList li {
  position: relative;
  padding-left: 38px;
  font-size: 17px;
  line-height: 1.5;
  color: #222;
}
.checkList li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: #2ecc71;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/68% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/68% no-repeat;
}

/* --- "Qué incluye" en cuadrícula --- */
.includeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(17,17,17,.14);
  border: 1px solid rgba(17,17,17,.14);
}
.includeItem {
  background: #f4f1ea;
  padding: 26px 24px;
}
.includeItem b {
  display: block;
  font: 900 12px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .12em;
  color: #2ecc71;
  margin-bottom: 12px;
}
.includeItem p { margin: 0; font-size: 15px; line-height: 1.55; color: #444; }

/* --- 3 diagnósticos --- */
.diagGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diagCard {
  border: 1px solid rgba(17,17,17,.16);
  border-top: 4px solid var(--diag, #2ecc71);
  border-radius: 10px;
  padding: 28px 24px;
  background: #fff;
}
.diagCard span {
  font: 900 12px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .12em;
  color: var(--diag, #2ecc71);
}
.diagCard h3 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 14px 0 10px;
  letter-spacing: -.02em;
}
.diagCard p { margin: 0; font-size: 15px; line-height: 1.6; color: #555; }
.diag--peligro { --diag: #e0564d; }
.diag--latente { --diag: #e0a23c; }
.diag--hulk    { --diag: #2ecc71; }

/* --- Ajustes responsive propios --- */
@media (max-width: 900px) {
  .ebookHero { grid-template-columns: 1fr; gap: 34px; }
  .includeGrid { grid-template-columns: 1fr 1fr; }
  .diagGrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .includeGrid { grid-template-columns: 1fr; }
  .ebookFormCard { padding: 26px 20px; }
  .checkList li { font-size: 16px; }
}

/* =========================================================================
   Embudos VSL y consulta (además de la landing del eBook)
   ====================================================================== */

/* Formulario: textarea y campos opcionales */
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 8px;
  font: inherit;
  background: #fafafa;
  resize: vertical;
  min-height: 84px;
}
.lead-form textarea:focus {
  outline: 2px solid #2ecc71;
  border-color: #2ecc71;
  background: #fff;
}
.lead-form label.opt span::after {
  content: " (opcional)";
  font-weight: 400;
  color: #999;
}
.lead-form .form-legal {
  margin: 12px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}
.lead-form .form-legal a { color: #1a7a43; text-decoration: underline; }

/* Hero de embudo: una sola columna, centrado. El titular ocupa todo el ancho;
   el resto de elementos (kicker, copy, vídeo, formulario) se quedan estrechos. */
.funnelHero { max-width: 1080px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.funnelHero .heroKicker { justify-content: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.funnelHero .heroTitle { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; }
.funnelHero .heroTitle strong { color: #2ecc71; }
.funnelHero .heroCopy { margin: 22px auto 0; max-width: 620px; }

/* Vídeo VSL 16:9 */
.videoEmbed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.videoEmbed iframe,
.videoEmbed > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.videoPlaceholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font: 700 13px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Tarjeta de formulario centrada bajo el vídeo / hero */
.funnelFormCard {
  background: #fff;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 14px;
  padding: 32px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.14);
  max-width: 480px;
  margin: 40px auto 0;
  text-align: left;
  color: #1a1a1a;
}
.funnelFormCard h2 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.12;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.funnelFormCard > p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #666; }

/* Pasos "cómo funciona" */
.stepRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(17,17,17,.14);
  border: 1px solid rgba(17,17,17,.14);
  margin-top: 10px;
}
.stepRow > div { background: #f4f1ea; padding: 26px 24px; }
.stepRow b {
  display: block;
  font: 900 12px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .12em;
  color: #2ecc71;
  margin-bottom: 10px;
}
.stepRow h3 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.stepRow p { margin: 0; font-size: 14px; line-height: 1.55; color: #555; }

/* Página de gracias */
.graciasWrap { max-width: 620px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.graciasWrap .heroTitle { font-size: clamp(36px, 5.5vw, 64px); }
.graciasWrap .heroTitle strong { color: #2ecc71; }
.graciasWrap .heroCopy { margin: 20px auto 28px; }

@media (max-width: 760px) {
  .stepRow { grid-template-columns: 1fr; }
}

/* =========================================================================
   VSL — estructura tipo "bridge page" (promesa · para quién · bio · prueba)
   ====================================================================== */

/* Frase resaltada del titular */
.heroTitle .hl { color: #2ecc71; }

/* CTA repetido entre secciones */
.ctaBlock { text-align: center; margin: 44px 0 0; }
.ctaBlock .btnPrimary { display: inline-flex; }
.ctaBlock small { display: block; margin-top: 12px; font-size: 13px; color: #888; }

/* Bio / autoridad: foto + texto */
.bioGrid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}
.bioPhoto {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #ddd center/cover no-repeat;
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
}
.bioBody p { font-size: 16px; line-height: 1.7; color: #333; margin: 0 0 14px; max-width: 620px; }
.bioBody p:last-child { margin-bottom: 0; }
.bioBody strong { color: #111; }
.bioBody .bioName {
  font: 900 12px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .16em;
  color: #2ecc71;
  text-transform: uppercase;
  margin: 0 0 18px;
}

/* Prueba social: 3 tarjetas foto + texto */
.proofGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.proofCard { border: 1px solid rgba(17,17,17,.14); border-radius: 12px; overflow: hidden; background: #fff; }
.proofCard .ph {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e6e2d9 center/cover no-repeat;
}
.proofCard .bd { padding: 20px 20px 22px; }
.proofMeta {
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 18px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.proofMeta span { color: #888; font-family: var(--font-body, Arial), sans-serif; font-size: 13px; }
.proofCard p { margin: 0; font-size: 14px; line-height: 1.6; color: #555; }

@media (max-width: 860px) {
  .bioGrid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .bioPhoto { max-width: 260px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .bioBody p { margin-left: auto; margin-right: auto; }
  .bioName { text-align: center; }
  .proofGrid { grid-template-columns: 1fr; }
}

/* Marca sin enlace para páginas de embudo sin cabecera (sin navegación) */
.brandMark {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 26px;
  background: center/contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.hero .brandMark { margin-top: -40px; }

/* =========================================================================
   video-explicativo: fondo casi negro (el vídeo es el protagonista) +
   rectángulo del vídeo más grande en PC
   ====================================================================== */
.page-vsl .hero::after {
  filter: brightness(.20) contrast(.95) saturate(.5) grayscale(.5);
  opacity: .5;
  width: 100%;            /* la foto ya casi no se ve; que cubra todo el ancho */
}
.page-vsl .hero::before {
  background: rgba(3, 3, 3, .84);   /* velo negro plano y fuerte */
}

/* Vídeo más ancho en escritorio */
.page-vsl .funnelHero { max-width: 1180px; }
.page-vsl .videoEmbed {
  max-width: 1180px;
  margin-top: 44px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
@media (max-width: 900px) {
  .page-vsl .videoEmbed { margin-top: 28px; }
}

/* =========================================================================
   video-explicativo: vídeo bloqueado + modal de registro
   ====================================================================== */
[hidden] { display: none !important; }

.videoGate {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 44px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a url('/assets/img/abraham-entrenando.webp') center/cover no-repeat;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.videoGate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
}
.videoGate__play {
  position: relative;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #2ecc71;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 44px rgba(46, 204, 113, .55);
  transition: transform .15s ease, background .15s ease;
}
.videoGate__play:hover { transform: scale(1.06); background: #fff; }
.videoGate__play svg { width: 34px; height: 34px; margin-left: 5px; color: #06110a; }
.videoGate__hint {
  position: relative;
  color: #fff;
  font: 800 13px/1 var(--font-body, Arial), sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .45);
  padding: 9px 18px;
  border-radius: 100px;
}
@media (max-width: 900px) { .videoGate { margin-top: 28px; } .videoGate__play { width: 72px; height: 72px; } }

/* Modal de registro */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, .78);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 34px 30px 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  animation: modalIn .22s cubic-bezier(.16, .8, .24, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.modal__x:hover { background: #f0f0f0; color: #111; }
.modal__card h2 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 400;
  font-size: 23px;
  margin: 0 6px 6px 0;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.modal__card > p { margin: 0 0 18px; font-size: 14px; color: #666; }

/* Botón / bloque de WhatsApp en video-explicativo */
.btnPrimary--wa svg { flex: 0 0 auto; }

.waAfter {
  max-width: 1180px;
  margin: 24px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: waIn .3s ease;
}
.waAfter p { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 15px; }
@keyframes waIn { from { opacity: 0; transform: translateY(10px); } }

.btnWa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: #25d366;
  color: #06210f;
  padding: 16px 28px;
  border-radius: 10px;
  font: 800 15px/1 var(--font-body, Arial), sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(37, 211, 102, .38);
  transition: transform .15s ease, background .15s ease;
}
.btnWa:hover { transform: translateY(-2px); background: #1ebe5b; }
.btnWa svg { width: 22px; height: 22px; flex: 0 0 auto; }
