/* ============================================================
   GestionEC — Home (gestionec.com)
   Misma línea gráfica que la app: tokens copiados de
   frontend/src/styles.css (manual de marca GestionEC).
   Azul #2563EB = acción · Teal #0F9D74 = acento (≤10%)
   Tinta #0F172A = superficies oscuras · Niebla #F1F5F9 = fondos
   ============================================================ */

/* ---- Manrope auto-hospedada (sin CDN) ---- */
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/manrope-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/manrope-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #f1f5f9;          /* Niebla */
  --card: #ffffff;
  --line: #e5e7eb;
  --tinta: #0f172a;
  --tinta2: #1e293b;
  --acc: #2563eb;         /* Azul GestionEC */
  --acc2: #1d4ed8;
  --acc-100: #dbeafe;
  --teal: #0f9d74;        /* Teal EC — acento ≤10% */
  --teal-100: #d1fae5;
  --txt: #0f172a;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --ok: #16a34a;
  --shadow-card: 0 1px 3px rgba(16,23,41,.06);
  --shadow-lift: 0 18px 44px rgba(15,23,42,.10);
  --radius: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--txt);
  background: var(--card);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.bg-niebla { background: var(--bg); }
.center { text-align: center; }
.lead { font-size: 1.0625rem; color: var(--muted); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 10px;
}

/* ---- Marca ---- */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-word { font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-size: 20px; }
.bw-gestion { color: var(--tinta); }
.bw-ec { color: var(--teal); }
.on-dark .bw-gestion { color: #fff; }
.on-dark .bw-ec { color: #34d399; }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--acc); color: #fff; }
.btn-primary:hover { background: var(--acc2); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); }
.btn-outline { background: #fff; color: var(--txt); border-color: var(--line); }
.btn-outline:hover { border-color: var(--muted2); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---- Header ---- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.head-nav { display: flex; gap: 24px; margin-left: auto; }
.head-nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.head-nav a:hover { color: var(--txt); text-decoration: none; }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-cta .btn { padding: 9px 16px; font-size: 14px; }
.link-ingresar { color: var(--txt); font-weight: 700; font-size: 14px; }

/* ---- Hero (tinta, igual que el header de la app) ---- */
.hero {
  background: linear-gradient(135deg, var(--tinta), var(--tinta2));
  color: #fff; padding: 84px 0 96px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero-sub { margin-top: 20px; font-size: 1.125rem; color: #cbd5e1; max-width: 34em; }
.hero-ctas { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---- Cabecera de página interior (/precios) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--tinta), var(--tinta2));
  color: #fff; padding: 68px 0 60px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p {
  margin: 18px auto 0; color: #cbd5e1; font-size: 1.0625rem; max-width: 44em;
}

/* ---- Bloque de texto largo (SEO) ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-bottom: 6px; }
.prose p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }

/* ---- Blog: listado ---- */
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.chip {
  font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 100px;
}
.chip:hover { text-decoration: none; border-color: var(--acc); color: var(--acc); }
.chip-on { background: var(--acc); border-color: var(--acc); color: #fff; }
.chip-on:hover { color: #fff; border-color: var(--acc); }

.posts { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.post {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-card);
  color: inherit; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.post:hover {
  text-decoration: none; box-shadow: var(--shadow-lift);
  transform: translateY(-2px); border-color: var(--acc);
}
.post-cat {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal); background: var(--teal-100);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
}
.post h2 { font-size: 1.25rem; margin-bottom: 8px; transition: color .18s; }
.post:hover h2 { color: var(--acc); }
.post p { color: var(--muted); font-size: 14.5px; }
.post time { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted2); font-weight: 600; }

/* ---- Blog: artículo ---- */
.articulo { max-width: 720px; margin: 0 auto; }
.art-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted2); font-weight: 600;
}
/* Respuesta directa: lo primero que lee (y cita) Google o un asistente de IA */
.respuesta {
  background: var(--acc-100); border-left: 3px solid var(--acc);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-bottom: 28px;
  font-size: 1.0625rem; color: var(--acc-800); font-weight: 600; line-height: 1.6;
}
.articulo h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.articulo h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.articulo p { margin-bottom: 14px; color: var(--txt); font-size: 16px; line-height: 1.7; }
.articulo ul, .articulo ol { margin: 0 0 16px; padding-left: 22px; color: var(--txt); line-height: 1.7; }
.articulo li { margin-bottom: 7px; }
.articulo strong { font-weight: 700; }
.art-nota {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: 14px; color: var(--muted); margin: 22px 0;
}
/* CTA dentro del artículo: debe sentirse útil, no interrumpir */
.art-cta {
  background: linear-gradient(135deg, var(--tinta), var(--tinta2));
  border-radius: var(--radius); padding: 26px 28px; margin: 32px 0; color: #fff;
}
.art-cta b { display: block; font-size: 1.0625rem; margin-bottom: 6px; }
.art-cta p { color: #cbd5e1; font-size: 14.5px; margin-bottom: 16px; }
.art-cta .btn { margin-top: 2px; }
.art-rel { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-rel h2 { font-size: 1.125rem; margin: 0 0 14px; }
.art-rel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.art-rel a { font-weight: 600; font-size: 15px; }

/* ---- Módulos en detalle (/modulos) ---- */
.mods { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.mod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: var(--shadow-card);
  display: flex; gap: 20px; align-items: flex-start;
  /* Deja aire al llegar por enlace directo (/modulos#nomina) bajo el header fijo */
  scroll-margin-top: 88px;
}
.mod .card-ico { margin-bottom: 0; flex: none; }
.mod h2 { font-size: 1.25rem; margin-bottom: 8px; }
.mod p { color: var(--muted); font-size: 15px; }
.mod-plan {
  display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700;
  color: var(--acc-800); background: var(--acc-100);
  padding: 5px 11px; border-radius: 100px;
}
.mod-plan:hover { background: #c7dbfd; text-decoration: none; }
@media (max-width: 640px) {
  .mod { flex-direction: column; gap: 14px; padding: 22px 20px; }
}

/* ---- Categorías de sistema (/alternativas) ---- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-card); height: 100%;
}
.cat h3 { margin-bottom: 10px; }
.cat > p { color: var(--muted); font-size: 14.5px; }
.cat-fit { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.cat-fit dt {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 3px;
}
.cat-fit dt + dd + dt { margin-top: 12px; color: var(--muted2); }
.cat-fit dd { margin: 0; font-size: 14px; color: var(--muted); }
/* La categoría de GestionEC: destacada, misma lógica que la columna ganadora del home */
.cat-win { background: linear-gradient(135deg, var(--tinta), var(--tinta2)); border-color: var(--tinta); box-shadow: var(--shadow-lift); }
.cat-win h3 { color: #fff; }
.cat-win > p { color: #e2e8f0; }
.cat-win .card-ico { background: rgba(255,255,255,.12); color: #fff; }
.cat-win .cat-fit { border-top-color: rgba(255,255,255,.16); }
.cat-win .cat-fit dt { color: #34d399; }
.cat-win .cat-fit dd { color: #cbd5e1; }

/* ---- Tabla comparativa (/alternativas) ---- */
.tabla-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabla-comp {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-width: 680px;
}
.tabla-comp th, .tabla-comp td {
  padding: 14px 16px; text-align: left; font-size: 14px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.tabla-comp thead th {
  background: var(--tinta); color: #fff; font-size: 12.5px; font-weight: 700;
  letter-spacing: .01em; border-bottom: 0;
}
.tabla-comp thead th.col-win { background: var(--acc); }
.tabla-comp tbody th { font-weight: 700; color: var(--txt); width: 32%; }
.tabla-comp tbody tr:last-child th, .tabla-comp tbody tr:last-child td { border-bottom: 0; }
.tabla-comp tbody tr:nth-child(even) th, .tabla-comp tbody tr:nth-child(even) td { background: var(--bg); }
.tabla-comp td.col-win { background: var(--acc-100) !important; }
.tabla-comp .si { font-weight: 700; color: var(--teal); }
.tabla-comp .no { color: var(--muted); }
.tabla-comp em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tabla-comp td.col-win em { color: var(--acc-800); }
.tabla-nota {
  margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.55;
  max-width: 68em;
}

/* ---- Señales / checklist (/alternativas) ---- */
.senales { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 12px; }
.senales li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; font-size: 15px; box-shadow: var(--shadow-card);
}
.senales li svg.ck {
  width: 16px; height: 16px; flex: none; margin-top: 3px;
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.senales-foot {
  max-width: 760px; margin: 20px auto 0; text-align: center;
  color: var(--muted); font-size: 15px;
}
.cta-sub { margin-top: 14px; font-size: 14px; }
.cta-sub a { color: #cbd5e1; text-decoration: underline; }
.cta-sub a:hover { color: #fff; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-card);
}
.faq-item h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 15px; }

/* ---- Confianza ---- */
.trust {
  background: var(--tinta2); border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0; color: #94a3b8; font-size: 13.5px; font-weight: 600;
}
.trust-in { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.trust .dot { color: var(--teal); }
.trust .ck { color: #34d399; }

/* ---- Mockup del dashboard (ilustrativo) ---- */
.mock {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lift);
  overflow: hidden; border: 1px solid rgba(255,255,255,.12);
}
.mock-bar { background: var(--tinta); padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #334155; display: block; }
.mock-bar span { margin-left: 8px; font-size: 11px; color: #64748b; font-weight: 600; }
.mock-body { padding: 16px; background: var(--bg); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mock-kpi b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.mock-kpi span { font-size: 9.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock-kpi.up b { color: var(--teal); }
.mock-chart {
  margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; height: 132px; display: flex; align-items: flex-end; gap: 7px;
}
.mock-chart i { flex: 1; background: var(--acc-100); border-radius: 3px 3px 0 0; display: block; }
.mock-chart i.hi { background: var(--acc); }
.mock-rows { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mock-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.mock-row:last-child { border-bottom: 0; }
.mock-row .nm { color: var(--muted); }
.mock-row .amt { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.pill-ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }
.pill-wait { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

/* ---- Problema ---- */
.problema { max-width: 760px; margin: 0 auto; text-align: center; }
.problema p { margin-top: 18px; font-size: 1.0625rem; color: var(--muted); }

/* ---- Módulos ---- */
.head-block { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.head-block p { margin-top: 14px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-card); transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
/* Las tarjetas del home son enlaces al detalle (/modulos#ancla): toda la
   tarjeta es clicable, pero no debe parecer un link de texto. */
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { text-decoration: none; border-color: var(--acc); }
a.card:hover h3 { color: var(--acc); }
a.card h3 { transition: color .18s; }
.card-ico {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--acc-100); color: var(--acc); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---- Comparativa ---- */
.cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.cmp-col {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff;
}
.cmp-col h3 { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.cmp-col p { color: var(--muted); font-size: 15px; }
.cmp-col.win { background: linear-gradient(135deg, var(--tinta), var(--tinta2)); border-color: var(--tinta); box-shadow: var(--shadow-lift); }
.cmp-col.win h3 { color: #34d399; }
.cmp-col.win p { color: #e2e8f0; }
.cmp-col.win .brand-word { font-size: 17px; }

/* ---- Precios ---- */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column; height: 100%;
}
.plan.pop { border-color: var(--acc); border-width: 2px; box-shadow: var(--shadow-lift); }
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--acc); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 100px; text-transform: uppercase; white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 42px; }
.precio { margin: 16px 0 2px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.precio b { font-size: 2.125rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.precio span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.precio.free b { color: var(--teal); }
.precio-nota { font-size: 12.5px; color: var(--muted); font-weight: 600; }
/* Total anual + ahorro (solo visible con el toggle en "Anual") */
.ahorro {
  font-size: 12.5px; font-weight: 700; color: var(--teal);
  background: var(--teal-100); border-radius: 6px; padding: 4px 8px;
  display: inline-block; margin-bottom: 2px;
}
.ahorro[hidden] { display: none; }

/* ---- Toggle mensual / anual (/precios) ---- */
.ciclo-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.ciclo-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  box-shadow: var(--shadow-card);
}
.ciclo-btn {
  border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
  padding: 9px 20px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, color .15s;
}
.ciclo-btn:hover { color: var(--txt); }
.ciclo-btn.is-on { background: var(--acc); color: #fff; }
.ciclo-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  background: var(--teal-100); color: var(--teal-800);
  padding: 2px 7px; border-radius: 100px;
}
.ciclo-btn.is-on .ciclo-badge { background: rgba(255,255,255,.22); color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; align-items: flex-start; }
.plan li svg.ck {
  width: 14px; height: 14px; flex: none; margin-top: 4px;
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.plan .btn { width: 100%; margin-top: auto; }
.planes-foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* Puente del home hacia /precios (solo en el home) */
.mas-info {
  margin-top: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 20px;
}
.mas-info .mi-tt b { display: block; font-size: 15px; margin-bottom: 2px; }
.mas-info .mi-tt span { color: var(--muted); font-size: 14px; }
.mas-info .btn { margin-left: auto; flex: none; }
@media (max-width: 700px) {
  .mas-info { flex-direction: column; align-items: flex-start; }
  .mas-info .btn { margin-left: 0; width: 100%; }
}

/* ---- Prueba social (sin testimonios inventados) ---- */
.social-box {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 56px 24px;
  text-align: center; background: #fff;
}
.social-box .ico { color: var(--muted2); margin-bottom: 14px; }
.social-box p { color: var(--muted); max-width: 44em; margin: 0 auto; }
.social-box .badge-soon {
  display: inline-block; margin-bottom: 14px; background: var(--teal-100); color: #065f46;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}

/* ---- CTA final ---- */
.cta-final {
  background: linear-gradient(135deg, var(--tinta), var(--tinta2)); color: #fff;
  border-radius: 16px; padding: 64px 32px; text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { margin-top: 14px; color: #cbd5e1; }
.cta-final .btn { margin-top: 28px; }

/* ---- Footer ---- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in .muted { color: var(--muted); font-size: 13.5px; }
.foot-links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero { text-align: center; padding: 64px 0 72px; }
  .hero-ctas { justify-content: center; }
  .cards, .cmp, .planes, .cats { grid-template-columns: 1fr; }
  .head-nav { display: none; }
  .section { padding: 64px 0; }
  /* Los planes son una escalera acumulativa ("todo lo del anterior, más:"),
     por eso NO se reordena el destacado: debe leerse Starter → Empresa. */
}
@media (min-width: 941px) and (max-width: 1080px) {
  .planes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .head-cta .link-ingresar { display: none; }
  .cta-final { padding: 48px 20px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
