:root {
  --navy:    #0F2A4A;
  --accent:  #0EA5E9;
  --accent2: #0284C7;
  --teal:    #00C2A8;
  --green:   #16A34A;
  --red:     #DC2626;
  --text:    #0F172A;
  --muted:   #64748B;
  --light:   #F0F9FF;
  --border:  #E2E8F0;
  --white:   #FFFFFF;
  --card:    #F8FAFC;
  --radius:  10px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.05);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Layout ─── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--card); }
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}
h2.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

/* ─── Botones ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--light); }
.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity .18s;
}
.btn-white:hover { opacity: .9; }

/* ─── Navbar ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.footer-left a { display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { margin-left: 8px; padding: 9px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ─── Hero ─── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* ─── Mockup ─── */
.mockup-wrap {
  background: var(--navy);
  border-radius: 16px;
  padding: 20px;
  margin: 48px 0 0;
  box-shadow: var(--shadow);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.mockup-inner {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}
.mockup-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.stat-box {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-box:last-child { border-right: none; }
.stat-num { font-size: 22px; font-weight: 700; color: var(--navy); }
.stat-num.danger { color: var(--red); }
.stat-num.success { color: var(--green); }
.stat-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mini-table { width: 100%; font-size: 12px; border-collapse: collapse; }
.mini-table th {
  background: var(--card);
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mini-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.badge-in  { background: #DCFCE7; color: #15803D; }
.badge-out { background: #FEE2E2; color: #DC2626; }
.badge-tr  { background: #E0F2FE; color: #0369A1; }

/* ─── Confianza ─── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.trust-items { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  opacity: .55;
  letter-spacing: -.01em;
}

/* ─── Pasos ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 8px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  color: var(--accent2);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid var(--accent);
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .18s, border-color .18s;
}
.feat-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
}
.feat-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.feat-card p  { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── Galeria de capturas ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-card img { width: 100%; display: block; }
.gallery-caption { padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--white); }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── Quien esta detras ─── */
.about-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-box h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.about-box p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── Planes ─── */
.plans-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.toggle-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.toggle-label.active { color: var(--navy); }
.toggle-btn {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.toggle-btn.on { background: var(--accent); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}
.toggle-btn.on .toggle-thumb { transform: translateX(20px); }
.discount-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  transition: box-shadow .18s;
}
.plan-card:hover { box-shadow: var(--shadow); }
.plan-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(14,165,233,.08);
}
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.plan-name { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.plan-price { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 2px; letter-spacing: -.02em; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-impl { font-size: 12px; color: var(--muted); margin: 6px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plan-feats { list-style: none; margin-bottom: 20px; }
.plan-feats li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.plan-feats li:last-child { border-bottom: none; }
.plan-feats li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.plan-btn { width: 100%; }
.tax-note { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ─── FAQ ─── */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-btn.open .faq-arrow { transform: rotate(180deg); }
.faq-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-body.open { max-height: 200px; padding-bottom: 16px; }

/* ─── CTA ─── */
.cta-box {
  background: var(--navy);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
}
.cta-box h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.cta-box .btn-note { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.45); }

/* ─── Formulario ─── */
#demo { padding: 64px 0; }
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.form-card h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-card p  { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.form-submit { width: 100%; margin-top: 6px; padding: 13px; font-size: 15px; }
.form-legal { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ─── WhatsApp flotante ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 90;
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left svg { display: block; margin-bottom: 4px; }
.footer-left p { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--navy); }

/* ─── Paginas legales (Privacidad / Terminos) ─── */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text); margin-bottom: 14px; line-height: 1.7; }
.legal-content ul { margin: 0 0 14px 22px; }
.legal-content li { font-size: 15px; color: var(--text); margin-bottom: 6px; line-height: 1.6; }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 48px 0; }
  h2.section-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
