/* ─── HERO INTERNO ───────────────────────────────────────── */
.leads-hero {
  padding: 80px 56px;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.leads-hero-h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin: 16px 0 20px;
}

.leads-hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 560px;
}

/* Ilustración flujo */
.leads-hero-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.lv-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  min-width: 90px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.lv-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lv-icon { font-size: 26px; }

.lv-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
}

.lv-lead {
  border-color: var(--brand);
  background: var(--brand-pale);
}

.lv-sale {
  border-color: var(--green);
  background: var(--green-pale);
}

.lv-arrow {
  font-size: 20px;
  color: var(--ink-faint);
  font-weight: 700;
}

/* ─── SECCIONES GENÉRICAS ────────────────────────────────── */
.leads-section {
  padding: 88px 56px;
  background: var(--white);
}

.leads-section-alt {
  background: var(--cream);
}

.leads-section-dark {
  background: var(--ink);
}

.leads-centered-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
}

.leads-centered-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 500;
}

/* ─── DOS COLUMNAS ───────────────────────────────────────── */
.leads-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.leads-two-col-reverse {
  direction: rtl;
}

.leads-two-col-reverse > * {
  direction: ltr;
}

.leads-copy p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 500;
  margin-top: 16px;
}

.leads-copy .section-title {
  margin-top: 12px;
}

/* ─── TIPOS DE LEAD ──────────────────────────────────────── */
.leads-types {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-type {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

.lead-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.lead-type-cold .lead-type-badge  { background: var(--cream-mid);  color: var(--ink-muted); }
.lead-type-warm .lead-type-badge  { background: #FEF3C7;            color: #92400E; }
.lead-type-hot  .lead-type-badge  { background: var(--green-pale);  color: #065F46; }

.lead-type-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.lead-type-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 500;
}

/* ─── CANALES ────────────────────────────────────────────── */
.leads-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.leads-channel {
  padding: 28px 4px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-top: 1px solid rgba(15,23,42,0.08);
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: visible;
}

.leads-channel::before {
  display: none;
}

.leads-channel:hover {
  opacity: 0.88;
  transform: none;
  box-shadow: none;
}

.leads-channel-icon {
  width: 48px;
  height: 48px;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  box-shadow: none;
}

.leads-channel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.leads-channel-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 16px;
}

.leads-channel-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ─── EMBUDO ─────────────────────────────────────────────── */
.leads-funnel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.funnel-stage {
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  width: 100%;
  transition: opacity var(--transition);
}

.funnel-stage:hover {
  opacity: 0.85;
  transform: none;
  box-shadow: none;
}

.funnel-top    { max-width: 100%; background: rgba(37,99,235,0.04); border-color: rgba(37,99,235,0.18); }
.funnel-mid    { max-width: 88%; }
.funnel-low    { max-width: 68%; background: rgba(16,185,129,0.04); border-color: rgba(16,185,129,0.18); }
.funnel-bottom { max-width: 48%; background: rgba(15,23,42,0.04); border-color: rgba(15,23,42,0.18); }

.funnel-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  min-width: 64px;
}

.funnel-bottom .funnel-label { color: var(--ink-muted); }

.funnel-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.funnel-bottom .funnel-num { color: var(--ink); }

.funnel-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.funnel-bottom .funnel-sub { color: rgba(255,255,255,0.55); }

/* ─── COMPARACIÓN CALIDAD ────────────────────────────────── */
.leads-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.compare-bad  { background: var(--cream); }
.compare-good { background: var(--green-pale); border-color: var(--green); }

.compare-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.compare-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.compare-bad  .compare-icon { background: var(--cream-mid);   color: var(--ink-muted); }
.compare-good .compare-icon { background: var(--green);       color: var(--white); }

.compare-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.compare-bad  .compare-list li::before { content: '–'; position: absolute; left: 0; color: var(--ink-faint); }
.compare-good .compare-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ─── PASOS OSCUROS ──────────────────────────────────────── */
.leads-steps-dark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.lsd-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.lsd-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-light);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.lsd-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.lsd-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 500;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.leads-faq {
  max-width: 760px;
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 500;
}

/* ─── CTA FINAL ──────────────────────────────────────────── */
.leads-cta {
  background: var(--brand);
  padding: 88px 56px;
  text-align: center;
}

.leads-cta-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 18px;
}

.leads-cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 36px;
}

.leads-cta .btn-primary {
  background: var(--white);
  color: var(--brand);
  font-size: 14px;
  padding: 16px 36px;
}

.leads-cta .btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .leads-hero {
    grid-template-columns: 1fr;
    padding: 56px 24px 48px;
    gap: 40px;
  }

  .leads-hero-visual {
    display: none;
  }

  .leads-section,
  .leads-section-alt,
  .leads-section-dark {
    padding: 60px 24px;
  }

  .leads-two-col,
  .leads-two-col-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .leads-channels-grid {
    grid-template-columns: 1fr;
  }

  .leads-compare {
    grid-template-columns: 1fr;
  }

  .leads-steps-dark {
    grid-template-columns: 1fr 1fr;
  }

  .leads-cta {
    padding: 60px 24px;
  }

  .funnel-stage {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .leads-steps-dark {
    grid-template-columns: 1fr;
  }

  .leads-hero-h1 {
    font-size: 30px;
  }
}
