/* PWXCT-96: Landing pública de INCOME — hoja de estilos aislada, sin dependencia de style.css */

:root {
  --orange: #ff6745;
  --orange-dark: #e95737;
  --orange-soft: #fff1ed;
  --navy: #213343;
  --navy-2: #33475b;
  --text: #33475b;
  --muted: #6b7c93;
  --page: #f5f8fa;
  --white: #ffffff;
  --border: #dfe5eb;
  --border-dark: #cbd6e2;
  --green: #00875a;
  --green-soft: #e8f7f1;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(33, 51, 67, .1);
  --shadow-lg: 0 18px 45px rgba(33, 51, 67, .14);
}

.lp, .lp *, .lp *::before, .lp *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  margin: 0;
}

.lp {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

.lp a { text-decoration: none; color: inherit; }
.lp ul { list-style: none; margin: 0; padding: 0; }
.lp button { font-family: inherit; }

.lp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.lp-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.lp-brand .lp-dot { color: var(--orange); }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.lp-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-2);
}

.lp-nav a:hover { color: var(--orange-dark); }

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.lp-btn-ghost {
  background: var(--white);
  color: var(--navy-2);
  border-color: var(--border-dark);
}

.lp-btn-ghost:hover { border-color: var(--navy-2); }

.lp-btn-primary {
  background: var(--orange);
  color: var(--white);
}

.lp-btn-primary:hover { background: var(--orange-dark); }

.lp-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.lp-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.lp-hero {
  background: linear-gradient(120deg, var(--white) 45%, var(--orange-soft) 100%);
  padding: 72px 0 56px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.lp-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange-dark);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.lp-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 20px;
}

.lp-hero h1 span { color: var(--orange); }

.lp-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}

.lp-hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green);
}

.lp-hero-note::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.lp-preview {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform .4s ease;
  position: relative;
}

.lp-preview:hover { transform: perspective(1200px) rotateY(0); }

.lp-preview-dots { display: flex; gap: 6px; margin-bottom: 14px; }

.lp-preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-dark);
}

.lp-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.lp-preview-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.lp-preview-sub {
  font-size: 12px;
  color: var(--muted);
}

.lp-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.lp-preview-stat {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lp-preview-stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-preview-stat--captured .lp-preview-stat-icon { background: var(--orange-soft); color: var(--orange); }
.lp-preview-stat--segmented .lp-preview-stat-icon { background: #eef2f6; color: var(--navy-2); }
.lp-preview-stat--contacted .lp-preview-stat-icon { background: var(--green-soft); color: var(--green); }

.lp-preview-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.lp-preview-stat-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.lp-preview-funnel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.lp-preview-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 5px;
}

.lp-preview-pct {
  font-weight: 700;
  color: var(--navy);
}

.lp-preview-track {
  height: 10px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lp-preview-fill {
  height: 100%;
  border-radius: inherit;
  animation: lp-preview-grow .8s ease-out;
  transform-origin: left;
}

.lp-preview-fill--1 { background: var(--orange); }
.lp-preview-fill--2 { background: var(--navy-2); }
.lp-preview-fill--3 { background: #f6a58f; }

@keyframes lp-preview-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.lp-preview-live {
  position: absolute;
  bottom: -16px;
  right: 12px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-preview-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: lp-preview-pulse 1.6s ease-in-out infinite;
}

@keyframes lp-preview-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 135, 90, .5); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(0, 135, 90, 0); opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-preview-pulse-dot,
  .lp-preview-fill {
    animation: none;
  }
}

/* ─── Trust strip ────────────────────────────────────────────────────────── */

.lp-trust {
  background: var(--page);
  padding: 40px 0;
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-trust-item {
  border-left: 3px solid var(--orange);
  padding-left: 14px;
}

.lp-trust-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--navy);
}

.lp-trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Sección con encabezado centrado ────────────────────────────────────── */

.lp-section { padding: 72px 0; }
.lp-section-alt { background: var(--page); }

.lp-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.lp-section-head p.lp-lead {
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 0;
}

.lp-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}

/* ─── Problema ───────────────────────────────────────────────────────────── */

.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.lp-icon-chip {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.lp-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 8px;
}

.lp-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ─── Funcionalidades ────────────────────────────────────────────────────── */

.lp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-dark);
}

.lp-card-link:hover { color: var(--orange); }

/* ─── Roles ──────────────────────────────────────────────────────────────── */

.lp-role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.lp-role-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 10px;
}

.lp-role-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 16px;
}

.lp-role-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.lp-role-card li::before {
  content: '\2713';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.lp-faq { max-width: 760px; margin: 0 auto; }

.lp-faq-item {
  border-bottom: 1px solid var(--border);
}

.lp-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.lp-faq-toggle {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--orange);
  transition: transform .25s ease;
}

.lp-faq-item.open .lp-faq-toggle { transform: rotate(45deg); }

.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.lp-faq-item.open .lp-faq-a { max-height: 320px; }

.lp-faq-a p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 62ch;
}

/* ─── Footer CTA ─────────────────────────────────────────────────────────── */

.lp-footer-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.lp-footer-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 14px;
}

.lp-footer-cta p {
  color: #c7d1db;
  max-width: 52ch;
  margin: 0 auto 28px;
  font-size: 15px;
}

/* ─── Footer global ──────────────────────────────────────────────────────── */

.lp-footer {
  background: var(--navy-2);
  color: #c7d1db;
  padding: 32px 0;
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.lp-footer-brand .lp-dot { color: var(--orange); }

.lp-footer-tagline {
  font-size: 13px;
  margin: 4px 0 0;
}

.lp-footer-links {
  display: flex;
  gap: 20px;
}

.lp-footer-links a { font-size: 13px; }
.lp-footer-links a:hover { color: var(--white); }

/* ─── Mercado Long Tail ──────────────────────────────────────────────────── */

.lp-mlt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 28px 24px;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
}

.lp-mlt-stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}

.lp-mlt-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .lp-nav { display: none; }
  .lp-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    z-index: 40;
  }
  .lp-burger { display: block; }
  .lp-header-actions .lp-btn-ghost { display: none; }

  .lp-hero { padding: 40px 0 32px; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-ctas { flex-wrap: wrap; }
  .lp-preview { transform: none; margin-top: 24px; }
  .lp-preview:hover { transform: none; }
  .lp-preview-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lp-preview-stat { padding: 10px 8px; }
  .lp-preview-stat-num { font-size: 17px; }
  .lp-preview-live { position: static; margin-top: 14px; align-self: flex-start; display: inline-flex; }

  .lp-trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .lp-grid-3 { grid-template-columns: 1fr; }
  .lp-grid-2 { grid-template-columns: 1fr; }
  .lp-role-card { margin-bottom: 20px; }
  .lp-mlt-stats { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }

  .lp-section { padding: 48px 0; }

  .lp-footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .lp-preview-stats { grid-template-columns: 1fr; }
  .lp-preview-stat { flex-direction: row; align-items: center; gap: 10px; }
}
