/* Landing (/) — rediseño 2026-11-12: funciones con plan, caja y cobros, inventario, planes = /subscription.
   Lo base de la landing sigue en lavantec.css (lp-*). */

/* ── Hero: celular con el dashboard nuevo ── */
.lp-hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-hero-kpi { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px; color: #fff; }
.lp-hero-kpi small { font-size: 9.5px; font-weight: 600; opacity: .9; }
.lp-hero-kpi strong { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-hero-kpi--ok   { background: #047857; }
.lp-hero-kpi--warn { background: #b45309; }
.lp-hero-todo .lp-phone__order-title { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.lp-hero-todo .lp-phone__order-title i { color: #b45309; }
.lp-hero-todo__row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; color: #475569; }
.lp-hero-todo__go { padding: 1px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; color: #fff; background: #0e7490; }
.lp-hero-caja { display: flex; align-items: center; gap: 6px; color: #334155; }
.lp-hero-caja i { color: #b45309; font-size: 14px; }

/* ── Problemas: 6 tarjetas ── */
.lp-problems__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .lp-problems__grid--6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-problems__grid--6 { grid-template-columns: 1fr; } }

/* ── Funciones con etiqueta de plan ── */
.lp-features__lead { max-width: 56ch; margin: 14px auto 0; font-size: 16px; line-height: 1.6; color: #475569; }
.lp-fx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; text-align: left; }
@media (max-width: 1100px) { .lp-fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .lp-fx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .lp-fx-grid { grid-template-columns: 1fr; } }
.lp-fx {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 18px;
  background: #fff; border: 1.5px solid rgba(15,23,42,.07); border-radius: 18px;
  box-shadow: 0 2px 12px rgba(15,23,42,.05); transition: border-color .2s, box-shadow .2s, transform .2s;
}
@media (hover: hover) { .lp-fx:hover { border-color: rgba(14,116,144,.3); box-shadow: 0 12px 32px rgba(14,116,144,.1); transform: translateY(-3px); } }
.lp-fx__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.lp-fx--cyan   .lp-fx__icon { background: #cffafe; color: #0e7490; }
.lp-fx--green  .lp-fx__icon { background: #dcfce7; color: #15803d; }
.lp-fx--amber  .lp-fx__icon { background: #fef3c7; color: #b45309; }
.lp-fx--blue   .lp-fx__icon { background: #dbeafe; color: #1d4ed8; }
.lp-fx--violet .lp-fx__icon { background: #ede9fe; color: #6d28d9; }
.lp-fx__title { margin: 4px 0 0; font-size: 16px; font-weight: 800; color: #0f172a; }
.lp-fx__desc { flex: 1; margin: 0; font-size: 14px; line-height: 1.6; color: #475569; }
.lp-fx__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #5b21b6; background: #f5f3ff;
}
.lp-fx__tag--todos { color: #166534; background: #f0fdf4; }

/* Lista con íconos (dinero / inventario) */
.lp-check-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 12px; }
.lp-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #334155; }
.lp-check-list li i { flex-shrink: 0; margin-top: 1px; font-size: 20px; color: #0e7490; }
.lp-check-list strong { color: #0f172a; }

/* ── Control del dinero ── */
.lp-money { padding: 96px 0; background: #fff; }
.lp-money__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lp-money__title { margin: 8px 0 16px; font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; line-height: 1.1; color: #0f172a; }
.lp-money__sub { margin: 0 0 22px; max-width: 54ch; font-size: 17px; line-height: 1.65; color: #475569; }
.lp-money__visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-caja {
  width: 100%; max-width: 380px; padding: 20px 20px 16px; border-radius: 18px; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 24px 60px rgba(15,23,42,.12);
}
.lp-caja__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 800; color: #0f172a; }
.lp-caja__head i { color: #b45309; }
.lp-caja__estado { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #166534; background: #dcfce7; }
.lp-caja__row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e2e8f0; font-size: 14px; color: #334155; font-variant-numeric: tabular-nums; }
.lp-caja__row--mas span:last-child   { color: #047857; font-weight: 700; }
.lp-caja__row--menos span:last-child { color: #b91c1c; font-weight: 700; }
.lp-caja__row--total { border-bottom: none; font-size: 16px; font-weight: 800; color: #0f172a; }
.lp-caja__cuadre { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #065f46; background: #ecfdf5; }
.lp-caja-banco {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 380px; padding: 12px 14px; border-radius: 14px;
  background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; transform: translateX(24px);
}
.lp-caja-banco > i:first-child { font-size: 22px; color: #1d4ed8; }
.lp-caja-banco span { display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.lp-caja-banco small { font-size: 12px; color: #64748b; }
.lp-caja-banco__ok { font-size: 22px; color: #059669; }

/* ── Inventario ── */
.lp-inv { padding: 96px 0; background: #f8fafc; }
.lp-inv__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lp-check-list--dark li i { color: #6d28d9; }
.lp-inv__precio {
  display: flex; align-items: flex-start; gap: 10px; max-width: 54ch; padding: 14px 16px; border-radius: 14px;
  font-size: 15px; font-weight: 600; line-height: 1.5; color: #4c1d95; background: #f5f3ff; border: 1px solid #ddd6fe;
}
.lp-inv__precio i { margin-top: 2px; font-size: 18px; color: #6d28d9; }
.lp-inv__visual { display: flex; justify-content: center; }
.lp-stock {
  width: 100%; max-width: 400px; padding: 18px; border-radius: 18px; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 24px 60px rgba(15,23,42,.12);
}
.lp-stock__head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 800; color: #0f172a; }
.lp-stock__head i { color: #6d28d9; }
.lp-stock__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.lp-stock__row > span:first-child { display: flex; flex-direction: column; font-size: 14px; color: #0f172a; }
.lp-stock__row small { font-size: 12px; color: #64748b; }
.lp-stock__qty { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.lp-stock__qty em { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; color: #9a3412; background: #ffedd5; }
.lp-stock__row--bajo .lp-stock__qty { color: #c2410c; }
.lp-stock__sale { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #334155; background: #f5f3ff; }
.lp-stock__sale > i { color: #6d28d9; font-size: 18px; }
.lp-stock__chip { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #fff; background: #6d28d9; }

@media (max-width: 900px) {
  .lp-money, .lp-inv { padding: 64px 0; }
  .lp-money__inner, .lp-inv__inner { grid-template-columns: 1fr; gap: 36px; }
  .lp-inv__visual { order: 2; }
  .lp-caja-banco { transform: none; }
}

/* ── Planes: 4 tarjetas con la plantilla de /subscription ── */
.lp-pricing .spl-grid.lp-spl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin-top: 28px; text-align: left; }
@media (max-width: 1200px) { .lp-pricing .spl-grid.lp-spl-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 640px)  { .lp-pricing .spl-grid.lp-spl-grid { grid-template-columns: 1fr; } }
.spl--free .spl__icono { background: #f1f5f9; color: #475569; }
.lp-spl-inv { background: #fffbeb; border: 1.5px dashed #f59e0b; color: #78350f; }
.lp-spl-inv > i { font-size: 20px; color: #b45309; }
.lp-spl-btn { display: grid; place-items: center; text-decoration: none; text-align: center; }
.lp-spl-btn:hover { color: #fff; }
.lp-spl-btn.spl__btn--suave:hover { color: var(--lt-primary-dark); }
.lp-pricing__fine { max-width: 70ch; margin: 22px auto 0; font-size: 13px; line-height: 1.6; color: #64748b; }
.lp-compare { margin-top: 56px; text-align: left; }
.lp-compare__title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #0f172a; text-align: center; }
.lp-compare .sp-comparar__nota { justify-content: center; }
.lp-nav__mark { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,99,235,.25); }

/* ══ Páginas de contenido públicas (sp-*), ej. /facturacion-electronica-sri-lavanderias (2026-11-15) ══ */
/* Acotado a .lp-page: /subscription usa .sp-hero (billing.css) para la tarjeta "Tu plan" y esto la dejaba blanca sobre celeste (2026-11-16) */
.lp-page .sp-hero { padding: 56px 0 48px; background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 100%); }
.sp-crumbs { font-size: 14px; color: #475569; margin-bottom: 18px; }
.sp-crumbs a { color: var(--lt-primary); font-weight: 600; text-decoration: none; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-hero__title {
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0f172a; letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin: 16px 0 18px; max-width: 820px;
}
.sp-hero__lead { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.75; color: #475569; max-width: 720px; margin-bottom: 28px; }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }

.sp-section { padding: 64px 0; background: #fff; scroll-margin-top: 80px; } /* el encabezado fijo no tapa el título al saltar a #planes */
.sp-section--alt { background: #f8fafc; }
.sp-narrow { max-width: 820px; }
.sp-center { text-align: center; }
.sp-h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0f172a; letter-spacing: -.01em;
  font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; margin-bottom: 16px;
}
.sp-h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0f172a; font-size: 1.2rem; margin: 10px 0 8px; }
.sp-section p { color: #334155; line-height: 1.75; margin-bottom: 14px; }
.sp-nota { font-size: 14px; color: #475569 !important; }
.sp-link { color: var(--lt-primary); font-weight: 700; text-decoration: none; }
.sp-link:hover { text-decoration: underline; }

.sp-steps { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 12px; color: #334155; line-height: 1.7; }
.sp-steps li::marker { color: var(--lt-primary); font-weight: 800; }

.sp-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.sp-checks li { display: flex; gap: 10px; align-items: flex-start; color: #334155; line-height: 1.65; }
.sp-checks i { color: #047857; font-size: 20px; flex: none; margin-top: 2px; }

.sp-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.sp-flow__step, .sp-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.sp-flow__step i, .sp-card i { font-size: 30px; color: var(--lt-primary); }
.sp-flow__step h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem; color: #0f172a; margin: 10px 0 6px; }
.sp-flow__step p { font-size: 15px; margin: 0; }
.sp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.sp-tabla { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.sp-tabla th, .sp-tabla td { padding: 12px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; color: #334155; }
.sp-tabla thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #475569; }
.sp-tabla tbody th { font-weight: 800; color: #0f172a; }

@media (max-width: 900px) { .sp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lp-page .sp-hero { padding: 36px 0 32px; }
  .sp-section { padding: 44px 0; }
  .sp-flow, .sp-duo { grid-template-columns: minmax(0, 1fr); }
  .sp-hero__actions > a { width: 100%; text-align: center; }
}
.lp-sri__more { margin-top: 14px; }
.lp-sri__more a { color: #a5f3fc; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lp-sri__more a:hover { color: #fff; }
/* /precios: tabla de períodos (desliza en el celular; position: relative contiene los .lt-sr-only) */
.sp-tabla-wrap { position: relative; overflow-x: auto; margin: 8px 0 18px; }
.sp-tabla--precios { min-width: 460px; margin: 0; }
.sp-tabla--precios td strong { display: block; color: #0f172a; font-size: 16px; }
.sp-tabla--precios td small { color: #475569; font-size: 13px; }
.lp-pricing__fine a { color: var(--lt-primary); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  /* /precios: las 4 columnas (con Anual, la más conveniente) caben sin deslizar desde 360 px */
  .sp-tabla--precios { min-width: 0; font-size: 14px; }
  .sp-tabla--precios th, .sp-tabla--precios td { padding: 10px 4px; }
  .sp-tabla--precios thead th { font-size: 11px; letter-spacing: .02em; }
  .sp-tabla--precios td strong { font-size: 15px; }
  .sp-tabla--precios td small { font-size: 12px; }
}
/* Redes sociales en el pie (2026-11-15) */
.lp-footer__social { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 18px 16px 4px; color: #94a3b8; font-size: 13px; }
.lp-footer__social > span { margin-right: 6px; }
.lp-footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; color: #cbd5e1; font-size: 22px; text-decoration: none; transition: background .15s, color .15s;
}
.lp-footer__social a:hover, .lp-footer__social a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 640px) {
  /* Espacio para que el botón flotante de WhatsApp no tape el logo de ACATECH al final del pie */
  .lp-footer__powered { padding-bottom: 76px; }
}
/* Tarjetas de funciones (/funciones y "Más funciones" en cada página) */
.sp-fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.sp-fx-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; text-decoration: none;
  background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sp-fx-card:hover, .sp-fx-card:focus-visible { border-color: var(--lt-primary); box-shadow: 0 6px 18px rgba(14, 116, 144, .12); transform: translateY(-2px); }
.sp-fx-card i { font-size: 32px; color: var(--lt-primary); }
.sp-fx-card strong { font-family: 'Montserrat', sans-serif; font-size: 1.08rem; color: #0f172a; }
.sp-fx-card span { font-size: 14px; line-height: 1.6; color: #475569; }
.lp-features__more { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .sp-fx-card { transition: none; } .sp-fx-card:hover { transform: none; } }
/* ══ Guías (/guias) ══ */
.sp-meta { font-size: 14px; color: #475569; margin: -6px 0 18px; }
.sp-lead--respuesta { border-left: 4px solid var(--lt-primary); padding-left: 16px; color: #1e293b; }
.sp-articulo { padding-top: 40px; }
.sp-bloque { margin-bottom: 36px; }
.sp-bloque .sp-h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.sp-nota { display: flex; gap: 8px; align-items: flex-start; background: #f1f5f9; border-radius: 10px; padding: 10px 14px; }
.sp-nota i { color: var(--lt-primary); margin-top: 3px; flex: none; }
.sp-tabla--guia tbody th { font-weight: 600; }
.sp-tabla--guia tbody tr:last-child th, .sp-tabla--guia tbody tr:last-child td { font-weight: 800; color: #0f172a; }
.sp-tabla--guia td:last-child, .sp-tabla--guia thead th:last-child { text-align: right; white-space: nowrap; }
.sp-relacion { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; }
.sp-relacion strong { font-family: 'Montserrat', sans-serif; color: #0f172a; }
.sp-relacion p { margin: 4px 0 8px !important; }
.sp-fx-card__meta { font-size: 12.5px; color: #475569; margin-top: auto; }
/* ══ Ilustraciones del sistema en páginas públicas (LpVisual, 2026-11-15) ══ */
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.sp-con-imagen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1060px; }
.sp-con-imagen--izq > :first-child { order: 2; }
.sp-visual { width: 100%; max-width: 440px; margin: 0 auto; }
.sp-visual__canvas { padding: 26px 18px; }
.sp-visual .lp-caja, .sp-visual .lp-stock, .sp-visual .lp-sri-doc { box-shadow: 0 14px 34px rgba(15, 23, 42, .12); }
.sp-visual .lp-sri-doc { transform: none; }
.sp-visual .lp-caja-banco { margin-top: 12px; width: 100%; max-width: 380px; }
.sp-bloque__imagen { margin: 22px 0 6px; }
@media (max-width: 900px) {
  .sp-hero__grid, .sp-con-imagen { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-con-imagen--izq > :first-child { order: 0; }
}
