/* ══════════════════════════════════════════════
   Talio — Landing pública
   Paleta índigo / violeta (moderna)
══════════════════════════════════════════════ */
:root {
  --primary:      #059669;
  --primary-dark: #047857;
  --primary-light:#ecfdf5;
  --accent:       #10b981;
  --accent-light: #d1fae5;
  --grad:         linear-gradient(135deg, #065f46 0%, #059669 55%, #10b981 100%);

  /* texto claro sobre fondo oscuro */
  --on-dark-1: #d1fae5;
  --on-dark-2: #a7f3d0;
  --on-dark-hl:#6ee7b7;

  --tx:  #111827;
  --t2:  #374151;
  --t3:  #6b7280;
  --bd:  #e5e7eb;
  --bg:  #f9fafb;
  --white:#ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(5,150,105,.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--tx);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Marca ── */
.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.brand-name { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -.4px; }
.brand-tagline { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px; color: var(--t3); }
.footer-brand .brand-name { font-size: 22px; }

/* ── Botones ── */
.btn {
  display: inline-block; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 9px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 10px rgba(5,150,105,.28); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 18px rgba(5,150,105,.34); }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--on-dark-hl); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--accent); }

/* ══════════ NAV ══════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 6vw; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--bd);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--t2); }
.nav-links a:not(.btn):hover { color: var(--primary); }

/* ══════════ HERO ══════════ */
.hero { background: var(--grad); color: #fff; padding: 80px 6vw 90px; overflow: hidden; }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-text h1 {
  font-size: 54px; font-weight: 900; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero-text h1 em { color: var(--on-dark-hl); font-style: normal; }
.hero-sub { font-size: 18px; color: var(--on-dark-1); line-height: 1.7; margin-bottom: 30px; max-width: 620px; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-cta .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,.16); }
.hero-note { font-size: 13px; color: var(--on-dark-2); }

/* ══════════ SECCIONES ══════════ */
.section { padding: 80px 6vw; max-width: 1180px; margin: 0 auto; }
.section-alt { background: var(--bg); max-width: none; }
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1.15; }
.section-lead { font-size: 17px; color: var(--t3); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Problema ── */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid var(--accent);
}
.pain-icon { font-size: 30px; display: block; margin-bottom: 14px; }
.pain-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pain-card p { font-size: 14.5px; color: var(--t3); }

/* ── Cómo funciona ── */
.steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start; gap: 4px;
}
.step { text-align: center; padding: 0 10px; }
.step-circ {
  width: 72px; height: 72px; border-radius: 50%; background: var(--primary);
  border: 3px solid var(--accent); color: #fff; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative;
}
.step-num {
  position: absolute; top: -4px; right: -4px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--t3); }
.step-arrow { font-size: 24px; color: var(--accent); padding-top: 24px; }

/* ── Cuadro comparativo ── */
.comp-ctx { display: flex; gap: 8px; align-items: baseline; margin-bottom: 14px; }
.comp-ctx-lbl { font-size: 13px; color: var(--t3); font-weight: 600; }
.comp-ctx-val { font-size: 16px; font-weight: 700; }
.comp-wrap { border: 1.5px solid var(--bd); border-radius: var(--radius); overflow: hidden; overflow-x: auto; box-shadow: var(--shadow); }
.comp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.comp-tbl th { background: var(--primary); color: #fff; padding: 14px 18px; text-align: center; font-weight: 600; font-size: 13px; }
.comp-tbl th.th-item { text-align: left; width: 220px; }
.comp-tbl th.th-win { background: var(--accent); }
.comp-tbl td { padding: 13px 18px; border-bottom: 1px solid #f1f5f9; text-align: center; }
.comp-tbl td:first-child { text-align: left; }
.comp-tbl tr:last-child td { border-bottom: none; }
.comp-tbl tr.sec td {
  background: var(--bg); font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--t3); letter-spacing: .06em; text-align: left;
}
.comp-tbl td.win { background: var(--accent-light); color: var(--primary-dark); font-weight: 700; }
.star { color: var(--accent); margin-left: 2px; }
.adj-tag {
  display: inline-block; background: rgba(255,255,255,.25); color: #fff;
  border-radius: 5px; padding: 1px 8px; font-size: 10px; font-weight: 800; margin-left: 4px;
}
.comp-foot { margin-top: 16px; font-size: 13px; color: var(--t3); text-align: center; }

/* ── Beneficios ── */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ben-card { background: #fff; border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--accent); box-shadow: var(--shadow); }
.ben-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.ben-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.ben-card p { font-size: 14.5px; color: var(--t3); }

/* ── Precio ── */
.price-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: stretch; }
.price-highlight {
  background: var(--grad); color: #fff; border-radius: 18px; padding: 40px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
}
.price-free { font-size: 60px; font-weight: 900; color: var(--on-dark-hl); line-height: 1; letter-spacing: -2px; }
.price-free-lbl { font-size: 14px; font-weight: 700; color: var(--on-dark-1); }
.price-sep { width: 44px; height: 2px; background: var(--accent); margin: 14px 0; }
.price-comm { font-size: 38px; font-weight: 900; }
.price-comm-lbl { font-size: 13px; color: var(--on-dark-2); line-height: 1.5; }
.price-points { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.price-pt { display: flex; gap: 14px; align-items: flex-start; }
.price-ck {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent-light); color: var(--primary);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.price-pt p { font-size: 15px; color: var(--t2); }
.price-pt strong { color: var(--tx); }

/* ── Para quién ── */
.target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.target-card {
  background: #fff; border: 1.5px solid var(--bd); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 18px; align-items: flex-start;
}
.target-icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.target-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.target-card p { font-size: 14px; color: var(--t3); }

/* ── CTA final ── */
.cta-final { background: var(--grad); color: #fff; text-align: center; padding: 80px 6vw; }
.cta-final h2 { font-size: 38px; font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.cta-final p { font-size: 17px; color: var(--on-dark-1); max-width: 560px; margin: 0 auto 32px; }
.cta-final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-final .btn-primary:hover { background: var(--primary-light); }

/* ── Footer ── */
.footer { background: #053d2e; color: var(--on-dark-1); padding: 50px 6vw 24px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { font-size: 12px; color: var(--on-dark-hl); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--on-dark-1); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1180px; margin: 30px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: var(--on-dark-2); text-align: center;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-text h1 { font-size: 40px; }
  .pain-grid, .ben-grid, .target-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-arrow { display: none; }
  .price-layout { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 28px; }
}

@media (max-width: 520px) {
  .hero-text h1 { font-size: 33px; }
  .nav { padding: 14px 5vw; }
  .nav-links { gap: 10px; }
  .brand-name { font-size: 16px; }
}
