/* ==========================================================================
   CAUXE — Páginas del menú principal (2026-10-08)
   Productos, Soluciones, Testimonios, Planes, Demo en vivo, Mi cuenta y
   Crea tu cuenta. Generadas con scripts/paginas.py a partir de index.html.
   ========================================================================== */

.page-hero { position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -20% 10% auto; height: 520px; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .28), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(34, 211, 238, .16), transparent 70%);
  filter: blur(10px);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.035em; line-height: 1.05; max-width: 900px; margin: 14px auto 0; }
.page-hero p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 640px; margin: 18px auto 0; }
.ph-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: .78rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.page-closer { padding-bottom: 40px; }
.pc-box {
  text-align: center; padding: clamp(36px, 6vw, 64px) 24px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(34, 211, 238, .08));
  border: 1px solid var(--border-strong);
}
.pc-box h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.03em; }
.pc-box p { color: var(--muted); margin-top: 12px; }

/* Precios ocultos: el plan muestra "Cotización a tu medida" */
.page .plan .price b { font-size: 1.35rem; }

/* ---------- Mi cuenta / Crea tu cuenta ---------- */
.acc-sec { padding-top: clamp(60px, 8vw, 110px); }
.acc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.acc-copy h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1.06; margin-top: 14px; }
.acc-copy p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; max-width: 480px; }
.acc-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.acc-list li { position: relative; padding-left: 30px; color: var(--text); }
.acc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; color: #fff; background: var(--grad);
}
.acc-form { border-radius: 24px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.acc-form h2 { grid-column: 1 / -1; font-size: 1.5rem; letter-spacing: -.02em; }
.acc-alt { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); text-align: center; }
.acc-alt a { color: var(--sky); }
[data-theme="light"] .acc-alt a { color: #2563eb; }
@media (max-width: 900px) { .acc-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .acc-form { grid-template-columns: 1fr; padding: 24px; } }
.acc-note { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; margin-top: -6px; }

/* ---------- Páginas de solución (SEO, 2026-10-08): CRM, ERP, WhatsApp con IA, facturación, inventario... ---------- */
.crumbs span[aria-current] { color: var(--text); }
.lp-sec { padding: clamp(44px, 6vw, 84px) 0; }
.lp-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.lp-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
.lp-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin-top: 14px; max-width: 640px; }
.lp-box h3 { font-size: 1.1rem; letter-spacing: -.01em; }
.lp-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.lp-flow li { position: relative; padding: 20px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.lp-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 22px; z-index: 1; font-size: .9rem; color: var(--sky); }
.lp-n { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; color: var(--sky); }
.lp-flow b { color: var(--text); font-size: 1rem; }
.lp-flow span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.lp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lp-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.lp-card h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.lp-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; flex: 1; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--sky); }
.lp-link svg { width: 14px; height: 14px; }
.lp-related { padding-bottom: clamp(36px, 5vw, 60px); }
.lp-related h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lp-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.lp-related li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border); }
.lp-related a { color: var(--text); font-weight: 600; }
.lp-related a:hover { color: var(--sky); }
.lp-related span { color: var(--muted); font-size: .88rem; }
.faq-list p a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
[data-theme="light"] .lp-link, [data-theme="light"] .lp-n, [data-theme="light"] .lp-flow li:not(:last-child)::after,
[data-theme="light"] .faq-list p a, [data-theme="light"] .lp-related a:hover { color: #2563eb; }
[data-theme="light"] .lp-flow li { background: #fff; }
@media (max-width: 900px) {
  .lp-intro { grid-template-columns: 1fr; }
  .lp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-flow li::after { display: none; }
}
@media (max-width: 520px) { .lp-flow { grid-template-columns: 1fr; } }
