/* Red Nacional de Pagos — design tokens */
:root {
  --c-bg: #FAFAF7;
  --c-ink: #0A2540;
  --c-ink-2: #1E3A5F;
  --c-muted: #5B6B82;
  --c-line: #E6E8EC;
  --c-surface: #FFFFFF;
  --c-surface-2: #F2F3EF;
  --c-primary: #0A2540;
  --c-accent: #14B8A6;
  --c-accent-2: #2DD4BF;
  --c-accent-warm: #F5B800;
  --c-success: #0FA968;
  --c-danger: #E23E3E;
  --c-mexico-red: #C8102E;
  --c-mexico-green: #006847;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 0 rgba(10,37,64,.04);
  --shadow-md: 0 10px 30px -12px rgba(10,37,64,.18), 0 2px 6px rgba(10,37,64,.06);
  --shadow-lg: 0 30px 60px -20px rgba(10,37,64,.25), 0 8px 20px -8px rgba(10,37,64,.12);

  --font-display: 'Bricolage Grotesque', 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--c-accent);
  color: var(--c-ink);
}
.btn-accent:hover { transform: translateY(-1px); background: var(--c-accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  padding: 14px 18px;
}
.btn-ghost:hover { background: rgba(10,37,64,.06); }
.btn-outline {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,37,64,.06);
  font-size: 13px;
  font-weight: 500;
}
.chip-accent { background: rgba(245,184,0,.18); color: #6B4F00; }
.chip-success { background: rgba(15,169,104,.14); color: #0A6B45; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Ticker */
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track { display: flex; gap: 56px; animation: ticker 40s linear infinite; width: max-content; }

/* Pulse dot */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15,169,104,.45); } 70% { box-shadow: 0 0 0 10px rgba(15,169,104,0); } 100% { box-shadow: 0 0 0 0 rgba(15,169,104,0); } }
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: #0FA968; animation: pulse 1.8s infinite; display: inline-block; }

/* Rising number */
@keyframes riseFade {
  0% { opacity: 0; transform: translateY(14px); }
  30% { opacity: 1; transform: translateY(0); }
  70% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-14px); }
}

/* Grid paper bg */
.grid-paper {
  background-image:
    linear-gradient(rgba(10,37,64,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Section */
section { padding: 96px 0; }
.section-title { font-size: clamp(34px, 4vw, 52px); }
.section-subtitle { font-size: 18px; color: var(--c-muted); max-width: 640px; margin-top: 16px; }

/* Card */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
}

/* Scrollbar - subtle */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d9dde3; border-radius: 999px; }

/* ============================================================
   LAYOUT — Nav, Footer, Hero (Fase 1)
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.nav-brand img { display: block; height: 48px; width: auto; }
.nav-links {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--c-ink-2);
  transition: background .15s;
}
.nav-links a:hover { background: rgba(10,37,64,.05); }
.nav-links a[aria-current="page"] { background: rgba(20,184,166,.12); color: var(--c-ink); }

/* Dropdown del nav */
.nav-links .has-dropdown { position: relative; }
.nav-links .dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px; padding: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: all .15s;
  z-index: 60;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown li { display: block; }
.nav-links .dropdown a {
  display: block; padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px; color: var(--c-ink-2);
}
.nav-links .dropdown a:hover { background: rgba(20,184,166,.08); color: var(--c-ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 10px; }
.nav-toggle span { display:block; width:22px; height:2px; background: var(--c-ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-surface); border-bottom: 1px solid var(--c-line);
    padding: 12px 16px;
  }
  .site-nav.open .nav-cta {
    display: flex; flex-direction: column; gap: 8px;
    position: absolute; top: calc(100% + 220px); left: 16px; right: 16px;
  }
}

/* HERO */
.hero {
  position: relative; padding: 80px 0 60px; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(20,184,166,.15), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, rgba(10,37,64,.08), transparent 60%);
}
.hero-inner { text-align: left; max-width: 960px; }

/* HERO split (texto izquierda + imagen derecha) */
.hero-split { padding: 64px 0 48px; }
.hero-split .hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center;
}
.hero-split .hero-inner { max-width: none; }
.hero-split .hero-title { font-size: clamp(36px, 4.8vw, 64px); }
.hero-figure {
  margin: 0; position: relative;
  display: flex; justify-content: center;
}
.hero-figure picture { display: block; max-width: 520px; width: 100%; }
.hero-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 24px;
  box-shadow:
    0 30px 60px -20px rgba(10,37,64,.35),
    0 18px 30px -18px rgba(20,184,166,.35);
}
.hero-figure::before {
  content: ''; position: absolute; inset: -24px -32px;
  background: radial-gradient(closest-side, rgba(20,184,166,.18), transparent 70%);
  z-index: -1; filter: blur(8px);
}
@media (max-width: 960px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { order: -1; }
  .hero-figure picture { max-width: 360px; }
  .hero-split .hero-title { font-size: clamp(34px, 8vw, 52px); }
}

/* Subhero split (versión más compacta para páginas de producto) */
.subhero-split {
  background: linear-gradient(180deg, var(--c-surface-2), #fff);
  padding: 48px 0 32px;
}
.subhero-split .subhero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center;
}
.subhero-split h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.03em;
  margin-top: 16px;
}
.subhero-split .lead { margin-top: 18px; }
.subhero-figure {
  margin: 0; display: flex; justify-content: center;
  position: relative;
}
.subhero-figure picture { display: block; max-width: 420px; width: 100%; }
.subhero-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 22px;
  box-shadow:
    0 24px 50px -16px rgba(10,37,64,.3),
    0 14px 24px -14px rgba(20,184,166,.3);
}
.subhero-figure::before {
  content: ''; position: absolute; inset: -18px -24px;
  background: radial-gradient(closest-side, rgba(20,184,166,.16), transparent 70%);
  z-index: -1; filter: blur(8px);
}
@media (max-width: 880px) {
  .subhero-split .subhero-grid { grid-template-columns: 1fr; gap: 28px; }
  .subhero-figure { order: -1; }
  .subhero-figure picture { max-width: 320px; }
}
.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  letter-spacing: -0.035em; margin-top: 22px;
}
.hero-title em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(180deg, transparent 78%, rgba(20,184,166,.35) 78%);
  padding: 0 4px;
}
.hero-sub {
  font-size: 19px; color: var(--c-muted);
  margin-top: 22px; max-width: 620px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stats > div { min-width: 120px; }
.hero-stats strong {
  display: block; font-family: var(--font-display);
  font-size: 28px; font-weight: 700; letter-spacing: -.02em;
}
.hero-stats span {
  font-size: 12px; color: var(--c-muted); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600; margin-top: 2px; display: block;
}

/* FOOTER */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.85);
  padding: 64px 0 24px;
  margin-top: 96px;
}
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.site-footer h4 {
  color: #fff; font-size: 14px; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .15s; }
.site-footer a:hover { color: var(--c-accent-2); }
.footer-tag { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.5);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* FLASH MESSAGES */
.flash {
  padding: 14px 20px; margin: 0 auto 24px;
  max-width: 1240px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  border-left: 4px solid var(--c-accent);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.flash-success { border-color: var(--c-success); background: rgba(15,169,104,.06); color: #0A6B45; }
.flash-error   { border-color: var(--c-danger);  background: rgba(226,62,62,.06); color: #8B1A1A; }
.flash-warning { border-color: var(--c-accent-warm); background: rgba(245,184,0,.08); color: #6B4F00; }
.flash-info    { border-color: var(--c-accent); background: rgba(20,184,166,.06); color: #0A6B5A; }

/* FORMS */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--c-ink-2); margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-surface); color: var(--c-ink);
  font-family: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 0; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(20,184,166,.18);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  display: block; color: var(--c-danger);
  font-size: 13px; margin-top: 6px;
}
.form-help { display:block; color: var(--c-muted); font-size: 13px; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: var(--c-danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

.placeholder-note { padding: 80px 0; }
.placeholder-note .card { text-align: left; max-width: 720px; margin: 0 auto; }
.placeholder-note ul { margin-top: 16px; padding-left: 22px; line-height: 1.9; }

/* ============================================================
   FASE 2 — Componentes de páginas públicas
   ============================================================ */

/* Variantes botón adicionales */
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-ghost-light { background: transparent; color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; }
.dot-accent { background: var(--c-accent); }

/* Section header utilitario */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header .eyebrow { color: var(--c-accent); }
.section-header .section-subtitle { margin: 16px auto 0; }
.section-actions { text-align: center; margin-top: 48px; }

/* Logos strip */
.logos-strip {
  padding: 48px 0; border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface-2);
}
.logos-strip .eyebrow { display: block; text-align: center; margin-bottom: 24px; }
.logos-grid {
  display: grid; gap: 16px 32px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: center; justify-items: center;
}
.logos-grid span {
  font-family: var(--font-display); font-weight: 700;
  color: var(--c-muted); font-size: 17px;
  letter-spacing: -.01em; opacity: .8;
}

/* Brand grid — logos reales recortados de las imágenes maestras */
.brand-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 24px;
}
.brand-grid .brand {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 999px; padding: 10px 14px;
  height: 78px; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.brand-grid .brand:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.brand-grid .brand img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
}
.brand-grid.brand-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 14px;
}
.brand-grid.brand-grid-sm .brand { height: 64px; padding: 8px 12px; }

/* ============================================================
   MOCKUPS DE CELULAR (app RNP simulada)
   ============================================================ */
.phone-mockup {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.phone-frame {
  width: 280px; aspect-ratio: 9/19;
  background: #0A2540;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(10,37,64,.4),
    0 12px 24px -10px rgba(20,184,166,.25),
    inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0A2540;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-badge {
  position: absolute; top: 14px; right: -10px;
  z-index: 3;
  background: linear-gradient(135deg, #F5B800, #FFC53D);
  color: #5b3a00;
  font-size: 9px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
  box-shadow: 0 6px 14px -4px rgba(245,184,0,.55);
  transform: rotate(6deg);
  pointer-events: none;
  white-space: nowrap;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: #0A2540;
  display: flex; flex-direction: column;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 22px 4px;
  font-size: 11px; font-weight: 700;
  color: #0A2540;
}
.phone-statusbar .phone-icons {
  display: inline-flex; gap: 4px; align-items: center;
}
.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #EEF1F4;
}
.phone-header strong { font-size: 13px; font-weight: 700; }
.phone-back { font-size: 18px; color: #14B8A6; width: 16px; }
.phone-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #14B8A6, #5b3df0);
  color: #fff; font-weight: 700; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.phone-body {
  padding: 14px 16px 16px;
  overflow: hidden;
  flex: 1;
}
.phone-caption {
  font-size: 13px; font-weight: 600; color: var(--c-ink-2);
  letter-spacing: -.01em;
}

/* Carrier / logo destacado al tope de cada pantalla */
.mock-carrier {
  display: flex; justify-content: center; align-items: center;
  background: #F6F8FA; border-radius: 14px;
  height: 56px; margin-bottom: 12px;
  padding: 8px 14px;
}
.mock-carrier img {
  max-height: 38px; max-width: 80%;
  object-fit: contain; display: block;
}

.mock-label {
  display: block; font-size: 10px; font-weight: 600;
  color: #6B7280; text-transform: uppercase; letter-spacing: .06em;
  margin: 8px 0 4px;
}
.mock-input {
  padding: 9px 12px;
  background: #F6F8FA; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: #0A2540;
  letter-spacing: .02em;
}
.mock-amount-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 12px;
}
.mock-amount {
  padding: 9px 4px;
  border: 1px solid #E4E7EB; background: #fff;
  border-radius: 9px; font-size: 11px; font-weight: 700;
  color: #0A2540; cursor: default;
  font-family: inherit;
}
.mock-amount-active {
  background: rgba(20,184,166,.1);
  border-color: #14B8A6; color: #0A6B5A;
}

.mock-summary {
  background: linear-gradient(180deg, #F2F3EF, #E9F5F2);
  border-radius: 11px; padding: 10px 12px;
  margin: 6px 0 12px; font-size: 11px;
}
.mock-summary > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3px 0;
}
.mock-summary > div span { color: #5B6B82; }
.mock-summary > div strong { color: #0A2540; font-weight: 700; }
.mock-summary-total {
  border-top: 1px dashed rgba(10,37,64,.15);
  margin-top: 4px; padding-top: 6px !important;
}
.mock-summary-total strong { color: #14B8A6 !important; }

.mock-cta {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, #14B8A6, #0A6B5A);
  color: #fff; border: 0; border-radius: 11px;
  font-size: 12px; font-weight: 700;
  cursor: default; font-family: inherit;
  box-shadow: 0 6px 14px -4px rgba(20,184,166,.5);
}

/* Receipt para pantalla servicio */
.mock-receipt {
  background: #F6F8FA; border-radius: 11px;
  padding: 10px 12px; margin-bottom: 12px;
  font-size: 11px;
}
.mock-receipt > div {
  display: flex; justify-content: space-between; padding: 3px 0;
}
.mock-receipt span { color: #6B7280; }
.mock-receipt strong { color: #0A2540; font-weight: 600; }

/* Dashboard pantalla */
.mock-balance {
  background: linear-gradient(135deg, #0A2540, #14B8A6);
  border-radius: 14px; padding: 14px 16px;
  color: #fff; margin-bottom: 14px;
}
.mock-balance span { font-size: 10px; opacity: .85; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.mock-balance strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0; font-family: 'Bricolage Grotesque', system-ui, sans-serif; }
.mock-balance small { font-size: 10px; opacity: .9; }
.mock-chart {
  display: flex; gap: 4px; align-items: flex-end;
  height: 58px; margin-bottom: 6px;
}
.mock-bar {
  flex: 1; background: rgba(20,184,166,.25);
  border-radius: 4px 4px 0 0;
}
.mock-bar-active { background: #14B8A6; }
.mock-chart-label { display:block; font-size: 9px; color: #6B7280; text-align: center; margin-bottom: 10px; }
.mock-list { display: flex; flex-direction: column; gap: 6px; }
.mock-list-item {
  display: flex; gap: 10px; align-items: center;
  padding: 6px;
  background: #F6F8FA; border-radius: 10px;
}
.mock-list-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.mock-list-info { flex: 1; }
.mock-list-info strong { display: block; font-size: 11px; font-weight: 700; color: #0A2540; }
.mock-list-info small { display: block; font-size: 10px; color: #14B8A6; font-weight: 600; }

/* Sección de mockups en grid */
.mockups-row {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-items: center;
  margin-top: 40px;
}
.mockup-disclaimer {
  text-align: center; color: var(--c-muted);
  font-size: 13px; line-height: 1.5;
  margin: 32px auto 0; max-width: 720px;
  font-style: italic;
}
.mockup-disclaimer strong { color: var(--c-ink-2); font-style: normal; font-weight: 600; }

/* ============================================================
   DEMO INTERACTIVO
   ============================================================ */
.demo-app { padding: 24px 0 96px; }

.demo-kpis {
  display: grid; gap: 14px; margin-bottom: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.demo-kpi {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 2px 8px -4px rgba(10,37,64,.08);
}
.demo-kpi small {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em;
}
.demo-kpi strong {
  display: block; font-family: var(--font-display);
  font-size: 28px; font-weight: 700; color: var(--c-ink);
  margin: 6px 0 2px; letter-spacing: -.02em;
  font-feature-settings: 'tnum';
}
.demo-kpi span { font-size: 12px; color: var(--c-muted); }
.demo-kpi-primary   { border-color: rgba(20,184,166,.4); background: linear-gradient(180deg, rgba(20,184,166,.06), #fff); }
.demo-kpi-primary strong { color: #0A6B5A; }
.demo-kpi-secondary { border-color: rgba(91,61,240,.3);  background: linear-gradient(180deg, rgba(91,61,240,.05), #fff); }
.demo-kpi-secondary strong { color: #2C1B85; }
.demo-kpi-success   { border-color: rgba(15,169,104,.4); background: linear-gradient(180deg, rgba(15,169,104,.06), #fff); }
.demo-kpi-success strong { color: var(--c-success); }
.demo-nivel {
  background: transparent; border: 1px dashed var(--c-line);
  border-radius: 8px; padding: 4px 8px;
  font-family: inherit; font-size: 16px; font-weight: 700;
  color: var(--c-ink); cursor: pointer;
}

.demo-grid {
  display: grid; gap: 24px;
  grid-template-columns: 360px 1fr;
}
@media (max-width: 980px) {
  .demo-grid { grid-template-columns: 1fr; }
}

.demo-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 16px; padding: 22px;
  box-shadow: 0 8px 22px -14px rgba(10,37,64,.15);
  margin-bottom: 18px;
}
.demo-card h3 {
  font-size: 17px; font-weight: 700; margin: 0 0 4px;
  letter-spacing: -.01em;
}
.demo-help {
  color: var(--c-muted); font-size: 13px; line-height: 1.6;
  margin: 0 0 14px;
}

/* Quick-amount buttons */
.demo-amounts {
  display: grid; gap: 6px;
  grid-template-columns: repeat(4, 1fr);
  margin: 6px 0 10px;
}
.demo-amounts-sm { grid-template-columns: repeat(3, 1fr); }
.demo-amount {
  padding: 9px 4px;
  border: 1px solid var(--c-line); background: #fff;
  border-radius: 9px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--c-ink); cursor: pointer;
  transition: all .12s;
}
.demo-amount:hover { border-color: var(--c-accent); color: #0A6B5A; }
.demo-amount-active {
  background: rgba(20,184,166,.12);
  border-color: var(--c-accent);
  color: #0A6B5A;
  box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}

/* Terminal */
.demo-terminal {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 16px; padding: 0;
  box-shadow: 0 10px 30px -16px rgba(10,37,64,.18);
  overflow: hidden;
}
.demo-terminal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, #0A2540, #14B8A6);
  color: #fff;
}
.demo-terminal-head h2 {
  margin: 0; font-size: 18px; color: #fff;
  letter-spacing: -.01em;
}
.demo-illustrative {
  background: rgba(255,255,255,.15);
  color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}

.demo-tabs {
  display: flex; gap: 4px; padding: 12px 16px 0;
  border-bottom: 1px solid var(--c-line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.demo-tab {
  padding: 10px 14px;
  border: 0; background: transparent;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--c-muted); cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.demo-tab:hover { color: var(--c-ink); }
.demo-tab-active {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}

.demo-panel { display: none; padding: 22px 24px 26px; }
.demo-panel-active { display: block; }

.demo-row {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1.4fr;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .demo-row { grid-template-columns: 1fr; }
}

.demo-preview {
  margin-top: 14px;
  padding: 12px 14px;
  background: #F2F3EF;
  border-radius: 10px;
  font-size: 13px; color: var(--c-ink-2);
  line-height: 1.5;
}

/* Carrier grid */
.demo-carrier-grid {
  display: grid; gap: 8px; margin: 6px 0 16px;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}
.demo-carrier {
  border: 1px solid var(--c-line); background: #fff;
  border-radius: 12px; padding: 8px;
  cursor: pointer; transition: all .12s;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: inherit; font-size: 11px; font-weight: 600; color: var(--c-ink-2);
}
.demo-carrier img { height: 36px; max-width: 100%; object-fit: contain; }
.demo-carrier:hover { border-color: var(--c-accent); }
.demo-carrier.is-active {
  border-color: var(--c-accent);
  background: rgba(20,184,166,.06);
  box-shadow: 0 0 0 3px rgba(20,184,166,.18);
}

/* Historial */
.demo-history {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 460px; overflow-y: auto;
}
.demo-history-empty {
  text-align: center; color: var(--c-muted);
  font-size: 13px; padding: 22px 12px;
  background: #F6F8FA; border-radius: 10px;
}
.demo-history-item {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px;
  background: #F6F8FA; border-radius: 10px;
  font-size: 13px;
}
.demo-history-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #fff; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(10,37,64,.1);
}
.demo-history-body { flex: 1; min-width: 0; }
.demo-history-body strong {
  display: block; font-size: 13px; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-history-body small {
  display: block; font-size: 11px; color: var(--c-muted);
  line-height: 1.4;
}
.demo-history-amount {
  font-weight: 800; font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: -.01em; flex-shrink: 0;
}
.demo-history-amount.is-pos { color: var(--c-success); }
.demo-history-amount.is-neg { color: var(--c-danger); }
.demo-history-deposito { background: rgba(20,184,166,.05); }
.demo-history-recarga  { background: rgba(245,184,0,.05); }
.demo-history-servicio { background: rgba(91,61,240,.05); }
.demo-history-pin      { background: rgba(220,38,38,.04); }
.demo-history-chip     { background: rgba(15,169,104,.06); }

/* Toast */
.demo-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0A2540; color: #fff;
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(10,37,64,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 9999;
  max-width: 90vw;
}
.demo-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.demo-toast-warn { background: #B7791F; }
.demo-toast-ok   { background: #0A6B5A; }

/* ============================================================
   WHATSAPP FLOAT — botón flotante de contacto rápido
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9998;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  animation: wa-pop-in .5s ease-out .8s both;
}
.wa-float-bubble {
  background: #fff;
  color: var(--c-ink);
  font-size: 14px; font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(10,37,64,.25);
  position: relative;
  white-space: nowrap;
  opacity: 1;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.wa-float-bubble::after {
  content: '';
  position: absolute; top: 50%; right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
}
.wa-float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
    0 10px 24px -8px rgba(37,211,102,.55),
    0 4px 10px rgba(10,37,64,.15);
  position: relative;
  transition: transform .15s ease;
}
.wa-float-btn::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float:hover .wa-float-btn { transform: scale(1.08); }
.wa-float:hover .wa-float-bubble { transform: translateX(-3px); }
.wa-float:focus-visible .wa-float-btn {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@keyframes wa-pop-in {
  from { opacity: 0; transform: translateY(20px) scale(.85); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 720px) {
  .wa-float { bottom: 16px; right: 16px; }
  .wa-float-bubble { display: none; }
  .wa-float-btn { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float-btn::before { animation: none; }
}

/* ============================================================
   COMERCIOS — grid de tipos de negocio
   ============================================================ */
.comercios-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 32px;
}
.comercios-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.comercio-card {
  --ccolor: var(--c-accent);
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--ccolor);
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
  overflow: hidden;
}
.comercio-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--ccolor) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.comercio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--ccolor) 35%, transparent);
}
.comercio-icon {
  font-size: 36px; line-height: 1;
  margin-bottom: 12px;
}
.comercio-card h3 {
  font-size: 18px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -.01em;
}
.comercio-card p {
  color: var(--c-muted); font-size: 13px;
  line-height: 1.5; margin: 0;
}
.comercio-meta {
  display: inline-block; margin-top: 14px;
  color: var(--ccolor);
  font-size: 13px; font-weight: 700;
  letter-spacing: -.005em;
}

.comercio-card-sm {
  padding: 16px 14px 12px;
  text-align: center;
}
.comercio-card-sm .comercio-icon {
  font-size: 28px; margin-bottom: 8px;
}
.comercio-card-sm h3 {
  font-size: 14px; margin-bottom: 0;
}
.comercio-card-sm .comercio-meta {
  margin-top: 8px; font-size: 16px;
}

/* Subhero tintado para páginas individuales */
.subhero-comercio {
  --ccolor: var(--c-accent);
  background:
    radial-gradient(1000px 400px at 10% 0%, color-mix(in srgb, var(--ccolor) 14%, transparent), transparent 60%),
    radial-gradient(800px 400px at 100% 10%, rgba(10,37,64,.05), transparent 60%);
}
.subhero-comercio .comercio-chip {
  background: color-mix(in srgb, var(--ccolor) 14%, transparent);
  color: color-mix(in srgb, var(--ccolor) 70%, #0A2540);
  border: 1px solid color-mix(in srgb, var(--ccolor) 35%, transparent);
}

/* Productos recomendados dentro de la página de comercio */
.comercio-products {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 16px;
}
.comercio-product {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform .15s, border-color .15s;
}
.comercio-product:hover {
  transform: translateX(3px);
  border-color: var(--c-accent);
}
.comercio-product-icon {
  font-size: 28px; line-height: 1;
}
.comercio-product strong {
  display: block; font-size: 15px; margin-bottom: 2px;
}
.comercio-product small {
  display: block; color: var(--c-muted);
  font-size: 12px; line-height: 1.5;
}
@media (max-width: 720px) {
  .phone-frame { width: 240px; }
}

/* Features grid (productos en home, soluciones, etc.) */
.section-features { padding: 96px 0; }
.features-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -.01em;
}
.feature-card p { color: var(--c-muted); font-size: 15px; }
.feature-meta {
  display: inline-block; margin-top: 16px;
  color: var(--c-accent); font-size: 13px;
  font-weight: 600; letter-spacing: -.005em;
}

/* Stats strip */
.stats-strip {
  background: var(--c-ink); color: #fff;
  padding: 48px 0;
}
.stats-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
.stats-grid strong {
  display: block; font-family: var(--font-display);
  font-size: 36px; font-weight: 800;
  color: var(--c-accent-2); letter-spacing: -.02em;
}
.stats-grid span {
  display: block; font-size: 13px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em; margin-top: 4px;
}

/* Pasos / "Cómo funciona" */
.section-how { padding: 96px 0; background: var(--c-surface-2); }
.steps {
  display: grid; gap: 24px; padding: 0; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
}
.steps li {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--c-accent); color: var(--c-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--c-muted); font-size: 15px; }

/* Calculadora */
.section-calc { padding: 96px 0; }
.calc-grid {
  display: grid; gap: 64px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.commission-table {
  margin-top: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.commission-table .row {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  align-items: center; padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
  gap: 16px;
}
.commission-table .row:last-child { border-bottom: 0; }
.commission-table .row.featured {
  background: rgba(20,184,166,.06);
  border-left: 4px solid var(--c-accent);
}
.commission-table strong {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--c-ink);
}
.commission-table em {
  font-style: normal; color: var(--c-muted);
  font-size: 14px; text-align: right;
}
.calc-widget {
  background: var(--c-ink); color: #fff;
  border-radius: var(--r-lg); padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.calc-widget h3 {
  color: #fff; font-size: 22px;
  margin-bottom: 20px;
}
.calc-widget .form-label {
  color: rgba(255,255,255,.85);
  margin: 16px 0 8px;
}
.calc-widget output {
  color: var(--c-accent-2); font-weight: 700;
}
.range {
  width: 100%; -webkit-appearance: none;
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.2);
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--c-accent); cursor: pointer;
  border: 3px solid var(--c-ink);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--c-accent); cursor: pointer;
  border: 3px solid var(--c-ink);
}
.calc-result {
  margin-top: 32px; padding: 20px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-md);
  text-align: center;
}
.calc-result > div:first-child {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.6);
}
.calc-amount {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  color: var(--c-accent-2);
  letter-spacing: -.03em; margin: 8px 0 4px;
}
.calc-result small { color: rgba(255,255,255,.5); font-size: 13px; }

/* Testimonios */
.section-testimonials { padding: 96px 0; background: var(--c-surface-2); }
.testimonials-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.testimonial p {
  font-size: 17px; line-height: 1.55;
  color: var(--c-ink-2);
  font-style: italic;
}
.testimonial p::before {
  content: '"'; font-family: var(--font-display);
  color: var(--c-accent); font-size: 60px;
  display: block; line-height: .5;
  margin-bottom: 18px;
}
.testimonial footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-style: normal;
}
.testimonial strong { display: block; font-weight: 700; }
.testimonial span { color: var(--c-muted); font-size: 14px; }

/* FAQ */
.section-faq { padding: 96px 0; }
.faq-list {
  max-width: 780px; margin: 0 auto;
}
.faq-list details {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--c-accent); }
.faq-list summary {
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 16px;
  list-style: none; display: flex;
  align-items: center; justify-content: space-between;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-size: 22px;
  color: var(--c-muted);
  transition: transform .2s;
}
.faq-list details[open] summary::after {
  content: '−'; color: var(--c-accent);
}
.faq-list details p {
  padding: 0 22px 20px; color: var(--c-muted);
  font-size: 15px; line-height: 1.6;
}

/* CTA banner */
.cta-banner { padding: 80px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--c-ink) 0%, #1E3A5F 100%);
  color: #fff; padding: 56px 48px;
  border-radius: var(--r-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute;
  top: -50%; right: -20%;
  width: 480px; height: 480px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,184,166,.18), transparent 70%);
}
.cta-card h2 {
  color: #fff; font-size: clamp(28px, 4vw, 40px);
  max-width: 760px; margin: 0 auto;
  position: relative;
}
.cta-card p {
  color: rgba(255,255,255,.75); font-size: 17px;
  margin-top: 16px; position: relative;
}
.cta-actions {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 32px; position: relative;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 24px 32px 0;
}
.breadcrumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--c-muted);
}
.breadcrumbs ol li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs span[aria-current] { color: var(--c-ink); font-weight: 500; }

/* Hero secundario (subpáginas) */
.subhero {
  padding: 60px 0 40px;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(20,184,166,.10), transparent 60%);
}
.subhero h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.02em;
}
.subhero .lead {
  font-size: 19px; color: var(--c-muted);
  margin-top: 18px; max-width: 700px;
}

/* Layout 2-columnas reutilizable */
.two-col {
  display: grid; gap: 64px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col h2 { font-size: clamp(28px, 4vw, 42px); }
.two-col p { color: var(--c-muted); font-size: 17px; margin-top: 16px; }

/* Listas tipo checklist */
.checklist { list-style: none; padding: 0; margin: 24px 0; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 16px; line-height: 1.5;
}
.checklist li::before {
  content: '✓';
  position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px;
  background: var(--c-accent);
  color: var(--c-ink);
  border-radius: 999px;
  font-weight: 800; font-size: 12px;
  display: inline-grid; place-items: center;
}

/* Tabla genérica */
.data-table {
  width: 100%; border-collapse: collapse;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
}
.data-table th, .data-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.data-table th {
  background: var(--c-surface-2);
  font-weight: 600; color: var(--c-ink-2);
  font-size: 14px; letter-spacing: -.005em;
}
.data-table tr:last-child td { border-bottom: 0; }

/* Cajas info / warning / success */
.info-box {
  padding: 20px 24px; border-radius: var(--r-md);
  border-left: 4px solid var(--c-accent);
  background: rgba(20,184,166,.06);
  margin: 24px 0;
}
.info-box-warning { border-color: var(--c-accent-warm); background: rgba(245,184,0,.08); }
.info-box-success { border-color: var(--c-success); background: rgba(15,169,104,.06); }

/* Page (artículos legales: privacidad, términos) */
.legal-content {
  max-width: 760px; margin: 0 auto;
  padding: 48px 32px 96px;
}
.legal-content h2 {
  font-size: 26px; margin-top: 40px;
  padding-top: 16px;
}
.legal-content h3 { font-size: 19px; margin-top: 24px; margin-bottom: 8px; }
.legal-content p { margin: 12px 0; line-height: 1.7; color: var(--c-ink-2); }
.legal-content ul, .legal-content ol { padding-left: 24px; line-height: 1.8; color: var(--c-ink-2); }
.legal-content .last-updated {
  display: inline-block; padding: 6px 14px;
  background: var(--c-surface-2);
  border-radius: 999px;
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 24px;
}

/* Sub-feature dentro de página de producto */
.subfeature-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}
.subfeature {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px;
}
.subfeature h4 { font-size: 16px; margin-bottom: 8px; }
.subfeature p { color: var(--c-muted); font-size: 14px; }

/* Form layout para registro y contacto */
.form-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-section {
  max-width: 640px; margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-section h2 { font-size: 28px; margin-bottom: 8px; }
.form-section .lead { color: var(--c-muted); font-size: 16px; margin-bottom: 28px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Contacto - canales */
.contact-channels {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.contact-channel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
}
.contact-channel .icon { font-size: 24px; margin-bottom: 10px; }
.contact-channel h4 { font-size: 16px; margin-bottom: 4px; }
.contact-channel a {
  color: var(--c-accent); font-weight: 600;
  font-size: 14px;
}
.contact-channel small {
  display: block; color: var(--c-muted);
  font-size: 13px; margin-top: 6px;
}

/* Etiquetas / pills genéricas */
.pill {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(20,184,166,.12);
  color: #0A6B5A; font-size: 12px;
  font-weight: 600; letter-spacing: -.005em;
}
.pill-warm { background: rgba(245,184,0,.18); color: #6B4F00; }
.pill-danger { background: rgba(226,62,62,.12); color: #8B1A1A; }
.pill-success { background: rgba(15,169,104,.14); color: #0A6B45; }

/* ===== BLOG ===== */
.blog-listing { padding: 48px 32px 96px; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid #E5E7E2;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,37,64,.08); }
.post-card a { color: inherit; text-decoration: none; display: block; }
.post-card-image {
  aspect-ratio: 16 / 9;
  background: #F2F3EF;
  overflow: hidden;
}
.post-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 18px 20px 20px; }
.post-card-body h2, .post-card-body h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.3; margin: 8px 0 8px; }
.post-card-body p { color: var(--c-muted); font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 4px; color: var(--c-muted); font-size: 12px; }

.blog-pagination {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #E5E7E2;
}
.blog-pagination span { color: var(--c-muted); font-size: 14px; }

.blog-side .form-section + .form-section { margin-top: 24px; }
.blog-side h3 { font-size: 16px; margin: 0 0 12px; font-family: var(--font-display); }
.blog-side-list { list-style: none; margin: 0; padding: 0; }
.blog-side-list li a {
  display: block; padding: 6px 0; color: var(--c-ink-2); text-decoration: none;
  border-bottom: 1px solid #F0F0EE; font-size: 14px;
}
.blog-side-list li a:hover { color: var(--c-accent); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
  display: inline-block; padding: 4px 10px; background: #F2F3EF;
  border-radius: 999px; font-size: 12px; color: var(--c-ink-2); text-decoration: none;
  transition: background .15s, color .15s;
}
.tag-chip:hover { background: var(--c-accent); color: #fff; }

/* Single post */
.post-header { padding: 48px 0 32px; text-align: center; }
.post-header h1 { font-size: 40px; line-height: 1.15; max-width: 780px; margin: 0 auto; }
@media (max-width: 600px) { .post-header h1 { font-size: 28px; } }
.post-meta { margin-top: 20px; color: var(--c-muted); font-size: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }

.post-featured { max-width: 1100px; margin: 0 auto 40px; padding: 0 32px; }
.post-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }

.post-body {
  font-family: var(--font-text);
  font-size: 18px; line-height: 1.7; color: var(--c-ink-2);
  padding: 0 32px 64px;
}
.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-display); color: var(--c-ink); margin: 36px 0 14px;
}
.post-body h2 { font-size: 30px; }
.post-body h3 { font-size: 24px; }
.post-body h4 { font-size: 20px; }
.post-body p { margin: 0 0 18px; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 18px 0; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--c-accent); }
.post-body blockquote {
  margin: 24px 0; padding: 12px 24px; border-left: 4px solid var(--c-accent);
  background: rgba(20,184,166,.05); color: var(--c-ink-2); font-style: italic;
}
.post-body pre, .post-body code {
  background: #0A2540; color: #f5f5f5; border-radius: 6px;
  font-family: var(--font-mono);
}
.post-body code { padding: 2px 6px; font-size: .9em; }
.post-body pre { padding: 16px 20px; overflow: auto; margin: 18px 0; }
.post-body pre code { background: none; padding: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.post-body table th, .post-body table td { padding: 10px 14px; border: 1px solid #E5E7E2; text-align: left; }
.post-body figure { margin: 24px 0; }
.post-body figcaption { font-size: 13px; color: var(--c-muted); text-align: center; margin-top: 6px; }

.post-tags { margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid #E5E7E2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }

.post-share { margin: 24px 0 16px; display: flex; gap: 8px; align-items: center; font-size: 14px; }
.post-share a {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  background: #F2F3EF; color: var(--c-ink); border-radius: 50%; text-decoration: none; font-weight: 600;
  transition: background .15s, color .15s;
}
.post-share a:hover { background: var(--c-accent); color: #fff; }

.post-related { padding: 48px 32px; background: #FAFAF7; }
.post-related h2 { text-align: center; margin: 0 0 24px; }

.post-comments { padding: 48px 32px 96px; max-width: 780px; }
.post-comments h2 { font-size: 24px; margin: 0 0 16px; }
.comment {
  padding: 14px 16px; background: #FAFBFC; border-radius: 8px;
  border-left: 3px solid #E5E7E2; margin-bottom: 12px;
}
.comment-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.comment-body { color: var(--c-ink-2); font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
