/* ──────────────────────────────────────────────────────────────────────
   IMPULS DIGITAL — Checklist (lead magnet)
   Reutiliza tokens, reset, botones y tarjetas de style.css. Este archivo
   solo añade lo específico de esta página: hero de dos columnas, portada
   simulada, listado de checklist, FAQ acordeón y formularios.
   ────────────────────────────────────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── NAV mínimo ─────────────────────────────────────────────────────── */
.lm-nav .nav-inner { justify-content: space-between; }

/* ── HERO ───────────────────────────────────────────────────────────── */
.lm-hero { padding: 90px 0 80px; }
.lm-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.lm-hero-title { max-width: 620px; }

.lm-form-row {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.lm-form-row input {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.lm-form-row input:focus {
  outline: none;
  border-color: var(--blue);
}
.lm-form-btn { flex: 0 0 auto; white-space: nowrap; }
.lm-form-trust {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* .form-status es blanco por defecto (pensado para el form oscuro de
   contacto en style.css) — en el hero, sobre fondo claro, necesita
   colores oscuros para ser legible. */
.lm-form-hero .form-status { color: var(--ink-soft); }
.lm-form-hero .form-status.is-error { color: var(--coral-dark); }
.lm-form-hero .form-status.is-success { color: #1a7f5a; }

/* Enlace de respaldo dentro del mensaje de éxito (por si la descarga
   automática del PDF no arranca sola) — hereda el color del mensaje. */
.lm-download-link { color: currentColor; font-weight: 700; text-decoration: underline; }

/* Portada simulada de la checklist */
.lm-hero-visual { position: relative; }
.lm-cover {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  max-width: 340px;
  margin: 0 auto;
  transform: rotate(-2deg);
  box-shadow: 0 24px 48px rgba(11,13,23,0.22);
}
.lm-cover-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.lm-cover-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}
.lm-cover-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 26px;
}
.lm-cover-lines { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lm-cover-lines li { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.14); }
.lm-cover-lines li:nth-child(1) { width: 95%; }
.lm-cover-lines li:nth-child(2) { width: 80%; }
.lm-cover-lines li:nth-child(3) { width: 88%; }
.lm-cover-lines li:nth-child(4) { width: 65%; }
.lm-cover-lines li:nth-child(5) { width: 75%; }
.lm-cover-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
}
.lm-cover-shadow {
  position: absolute;
  inset: 20px -16px -16px 20px;
  background: var(--paper-alt);
  border-radius: var(--radius);
  z-index: 0;
}

/* ── QUÉ INCLUYE ────────────────────────────────────────────────────── */
.lm-checklist {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.lm-checklist li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15.5px;
  color: var(--ink-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.lm-check-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--coral);
}

/* ── PARA QUIÉN ES ──────────────────────────────────────────────────── */
.lm-who-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.lm-who-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px; }
.lm-who-item .card-dot { margin-top: 6px; flex-shrink: 0; }
.lm-who-item p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ── BENEFICIOS ─────────────────────────────────────────────────────── */
.lm-benefits-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── AUTOR ──────────────────────────────────────────────────────────── */
.lm-author-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.lm-author-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lm-author-avatar-icon { width: 40px; height: 40px; }
.lm-author-content p { color: var(--ink-soft); font-size: 16px; margin-top: 16px; max-width: 640px; }

/* ── PRUEBA SOCIAL (honesta) ────────────────────────────────────────── */
.lm-social-inner { max-width: 640px; }

/* ── MUESTRA ────────────────────────────────────────────────────────── */
.lm-excerpt {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 720px;
}
.lm-excerpt-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.lm-excerpt h3 { font-size: 19px; margin-bottom: 12px; }
.lm-excerpt p { color: var(--ink-soft); font-size: 15.5px; }

/* ── QUÉ PASA DESPUÉS ───────────────────────────────────────────────── */
.lm-next-steps { grid-template-columns: repeat(3, 1fr); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.lm-faq-list { margin-top: 40px; max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.lm-faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.lm-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lm-faq-item summary::-webkit-details-marker { display: none; }
.lm-faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--coral);
  transition: transform 0.2s var(--ease);
}
.lm-faq-item[open] summary::after { transform: rotate(45deg); }
.lm-faq-item p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }

/* ── FORMULARIO FINAL ───────────────────────────────────────────────── */
.lm-download-inner { max-width: 480px; }
.lm-download-inner .section-title,
.lm-download-inner p.reveal { margin-bottom: 0; }
.lm-download-inner .section-title { margin-top: 8px; margin-bottom: 8px; }
.lm-form-final { margin-top: 34px; }
.lm-optional { color: rgba(255,255,255,0.5); font-weight: 400; }
.lm-form-privacy {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.lm-privacy-link { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* ── CTA FINAL ──────────────────────────────────────────────────────── */
.lm-final-cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.lm-final-cta-inner .section-title,
.lm-final-cta-inner .section-sub { margin-left: auto; margin-right: auto; }
.lm-final-cta-inner .btn { margin-top: 30px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .lm-hero-grid { grid-template-columns: 1fr; }
  .lm-hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .lm-who-grid { grid-template-columns: 1fr; }
  .lm-benefits-grid { grid-template-columns: 1fr; }
  .lm-checklist { grid-template-columns: 1fr; }
  .lm-next-steps { grid-template-columns: 1fr; }
  .lm-author-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 620px) {
  .lm-hero { padding: 70px 0 60px; }
  .lm-form-row { flex-direction: column; }
  .lm-form-row input { flex: none; width: 100%; }
  .lm-form-btn { width: 100%; justify-content: center; }
}
