@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #10182B;
  --paper: #F6F7FB;
  --paper-2: #FFFFFF;
  --blue: #004BB3;
  --blue-dark: #003B8E;
  --orange: #FE7E11;
  --slate: #3C4451;
  --slate-soft: #6B7385;
  --line: #E3E7EE;
  --steel: #6E9A97;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--ink); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-whatsapp { background: #21A05A; color: #fff; }
.btn-whatsapp:hover { background: #1B8A4C; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--slate); }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav .btn-ghost { display: none; }
}

/* ---------- Hero directorio (home) ---------- */
.hero {
  padding: 88px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow-plain {
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-lede {
  font-size: 18px;
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.directory {
  background: var(--ink);
  border-radius: 14px;
  padding: 6px;
}
.directory-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
  color: #8B93A8;
  font-size: 13px;
  font-weight: 500;
}
.directory-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #16203A;
  margin: 4px;
  padding: 18px 18px;
  border-radius: 9px;
  text-decoration: none;
  transition: background .15s;
}
.directory-row:hover { background: #1C2949; }
.directory-row-main { display: flex; align-items: center; gap: 14px; }
.directory-tag {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.directory-name { color: #fff; font-weight: 600; font-size: 16px; }
.directory-desc { color: #8B93A8; font-size: 13px; margin-top: 2px; }
.directory-arrow { color: #6B7695; font-size: 18px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

/* ---------- Secciones generales ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--slate-soft); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.system-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.system-card-icon {
  width: 44px; height: 44px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
}
.system-card h3 { font-size: 19px; }
.system-card p { color: var(--slate-soft); font-size: 15px; }
.system-card-link { color: var(--blue); font-weight: 600; font-size: 14px; margin-top: auto; }

/* ---------- Feature list (producto) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row h3 { font-size: 18px; margin-bottom: 6px; }
.feature-row p { color: var(--slate-soft); font-size: 15.5px; }
@media (max-width: 700px) {
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Producto hero ---------- */
.product-hero { padding: 64px 0 56px; }
.product-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 20px;
}
.product-hero h1 { font-size: 42px; line-height: 1.1; margin-bottom: 18px; max-width: 20ch; }
.product-hero .hero-lede { margin-bottom: 30px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.plan-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan-name { font-weight: 700; font-size: 16px; color: var(--ink); }
.plan-limit { color: var(--slate-soft); font-size: 14px; }
.plan-price { font-variant-numeric: tabular-nums; }
.plan-price .amount { font-size: 32px; font-weight: 800; color: var(--ink); }
.plan-price .period { font-size: 14px; color: var(--slate-soft); }
.plan-note { font-size: 13px; color: var(--slate-soft); }

.periodicity-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--slate-soft);
}

/* ---------- CTA final ---------- */
.cta-band {
  background: var(--ink);
  border-radius: 16px;
  padding: 56px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 28px; max-width: 24ch; }
.cta-band p { color: #9AA3BD; margin-top: 10px; font-size: 15.5px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 26px; opacity: .85; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--slate-soft); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 13px; color: var(--slate-soft); margin-top: 18px; }
