/* ═══════════════════════════════════════════════════════════════
   Jalpro Technology — jalpro.com
   Sistema de diseño: "Material Modern" (mismo lenguaje visual que
   el frontend de Jalpro One: Material Design 3 hand-rolled).
   Tokens replicados de jalproone/tailwind.config.js
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Azul Jalpro (primario) */
  --jalpro-50:  #e1f5fe;
  --jalpro-100: #b3e5fc;
  --jalpro-200: #81d4fa;
  --jalpro-300: #4fc3f7;
  --jalpro-400: #29b6f6;
  --jalpro-500: #0288d1;
  --jalpro-600: #0277bd;
  --jalpro-700: #01579b;
  --jalpro-800: #014477;
  --jalpro-900: #013254;
  /* Turquesa (acento) */
  --turquesa-50:  #e0f4f2;
  --turquesa-100: #b8e0db;
  --turquesa-200: #84c7c1;
  --turquesa-300: #5fb3ab;
  --turquesa-400: #3a9e94;
  --turquesa-500: #26867d;
  /* Neutros (slate) */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  /* Semánticos */
  --exito: #059669;      /* emerald-600 */
  --exito-bg: #ecfdf5;   /* emerald-50 */
  --error: #dc2626;
  --aviso: #d97706;
  --aviso-bg: #fffbeb;
  /* Sombras Material teñidas de azul (firma del sistema) */
  --mat-1: 0 1px 2px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.08);
  --mat-2: 0 2px 4px rgba(0,0,0,.06), 0 4px 8px rgba(2,136,209,.08);
  --mat-3: 0 4px 8px rgba(0,0,0,.06), 0 8px 16px rgba(2,136,209,.12);
  --mat-4: 0 8px 16px rgba(0,0,0,.08), 0 16px 32px rgba(2,136,209,.15);
  /* Radios */
  --r-lg: .5rem;
  --r-xl: .75rem;
  --r-2xl: 1rem;
  --r-3xl: 1.5rem;
  /* Layout */
  --ancho: 1160px;
  --header-h: 64px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--jalpro-600); text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }

/* ── Tipografía ────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; color: var(--slate-900); font-weight: 700; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--jalpro-600);
  background: var(--jalpro-50);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--slate-500); max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Botones ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: var(--r-xl);
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-grad {
  background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
}
.btn-grad:hover { box-shadow: 0 6px 20px rgba(2,136,209,.45); transform: translateY(-1px); }
.btn-blanco {
  background: #fff; color: var(--jalpro-700);
  box-shadow: var(--mat-2);
}
.btn-blanco:hover { box-shadow: var(--mat-3); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--slate-200); color: var(--slate-700); background: #fff;
}
.btn-outline:hover { border-color: var(--jalpro-300); color: var(--jalpro-600); background: var(--jalpro-50); }
.btn-outline-claro {
  border: 1.5px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.btn-outline-claro:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.35); }
.btn-wa:hover { box-shadow: 0 6px 20px rgba(37,211,102,.45); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: var(--r-xl); }

/* ── Header (transparente sobre el hero; toma el degradado al hacer scroll) ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  margin-bottom: calc(-1 * var(--header-h)); /* el hero corre por debajo: header + hero = un solo bloque de color */
  transition: background .25s, box-shadow .25s;
}
.site-header.con-sombra {
  background: linear-gradient(45deg, #0288d1 0%, #26c6da 100%);
  box-shadow: 0 4px 18px rgba(2,136,209,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img, .brand svg { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,.92); font-weight: 500; font-size: 15px;
  padding: 9px 13px; border-radius: var(--r-lg);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.16); }
.nav-link.active { color: #fff; font-weight: 700; }
.nav-cta { margin-left: 10px; padding: 10px 20px; font-size: 14.5px; }

/* Iconos de redes en el header */
.nav-redes { display: flex; align-items: center; gap: 7px; margin-left: 8px; }
.nav-icono {
  width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255,255,255,.15);
  transition: background .18s, transform .18s;
}
.nav-icono:hover { background: rgba(255,255,255,.28); transform: translateY(-1px); }

/* Menú móvil abierto (panel blanco): los enlaces pasan a oscuro y el CTA a degradado.
   Se scope-a con .abierto (solo existe en móvil) para no depender del media query. */
.main-nav.abierto .nav-link { color: var(--slate-700); }
.main-nav.abierto .nav-link:hover, .main-nav.abierto .nav-link.active { color: var(--jalpro-600); background: var(--jalpro-50); }
.main-nav.abierto .nav-cta.btn-blanco { background: linear-gradient(135deg, #0288d1 0%, #01579b 100%); color: #fff; box-shadow: 0 4px 14px rgba(2,136,209,.35); }
.main-nav.abierto .nav-redes { justify-content: center; margin: 12px 0 0; }
.main-nav.abierto .nav-icono { background: var(--jalpro-50); color: var(--jalpro-600); }

/* Dropdown Servicios */
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-toggle .chev { transition: transform .2s; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px;
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--mat-3);
  border: 1px solid rgba(226,232,240,.6);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop:hover .chev { transform: rotate(180deg); }
.nav-drop-menu a {
  display: block; padding: 10px 14px; border-radius: var(--r-lg);
  color: var(--slate-700); font-size: 14.5px; font-weight: 500;
}
.nav-drop-menu a:hover { background: var(--jalpro-50); color: var(--jalpro-600); }
.nav-drop-menu .drop-all { color: var(--jalpro-600); font-weight: 600; border-top: 1px solid var(--slate-100); margin-top: 6px; padding-top: 12px; }

/* Dropdown rico (Sistema de Facturación) */
.menu-producto { min-width: 320px; }
.nav-drop-menu .drop-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); }
.drop-ico {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--jalpro-50); color: var(--jalpro-600);
}
.drop-ico.turquesa { background: var(--turquesa-50); color: var(--turquesa-500); }
.drop-title { display: block; font-weight: 600; font-size: 14.5px; color: var(--slate-800); }
.drop-desc { display: block; font-weight: 400; font-size: 12.5px; color: var(--slate-500); margin-top: 2px; line-height: 1.4; }
.nav-drop-menu .drop-item:hover .drop-title { color: var(--jalpro-600); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero (mesh gradient de Jalpro One) ────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 800px 600px at 20% 20%, rgba(255,255,255,.14), transparent),
    radial-gradient(ellipse 800px 600px at 80% 80%, rgba(1,87,155,.28), transparent),
    linear-gradient(45deg, #0288d1 0%, #26c6da 100%);
  color: #fff;
  overflow: hidden;
}
/* Blobs de luz animados */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(132,199,193,.5), transparent 65%);
  animation: blobA 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 560px; height: 560px; bottom: -190px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%);
  animation: blobB 20s ease-in-out infinite alternate;
}
@keyframes blobA { from { transform: translate(0,0) scale(1); } to { transform: translate(-90px,70px) scale(1.18); } }
@keyframes blobB { from { transform: translate(0,0) scale(1); } to { transform: translate(100px,-60px) scale(1.12); } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  /* solo vertical: el padding lateral de .container debe sobrevivir */
  padding-top: 150px; padding-bottom: 110px; /* incluye el alto del header transparente que corre por encima */
  min-height: min(820px, 100vh);
}

/* Entrada escalonada del contenido */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero h1        { animation: fadeUp .7s ease both; }
.hero .hero-sub { animation: fadeUp .7s ease .12s both; }
.hero .hero-ctas   { animation: fadeUp .7s ease .24s both; }
.hero .hero-badges { animation: fadeUp .7s ease .36s both; }

/* Visual flotante con parallax */
.hero-visual { position: relative; animation: fadeUp .8s ease .2s both; transition: transform .25s ease-out; will-change: transform; }
.hero-visual .card-frost { animation: flotar 7s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.hero-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 999px;
  box-shadow: var(--mat-3);
  padding: 10px 17px;
  font-size: 13.5px; font-weight: 600; color: var(--slate-700);
  white-space: nowrap;
  animation: chipFlota 6s ease-in-out infinite;
}
.hero-chip svg { flex-shrink: 0; }
.chip-dgi    { top: -16px; left: -22px; animation-delay: .9s; }
.chip-ventas { bottom: -14px; left: -12px; animation-delay: 1.8s; }

/* Celular con la factura junto al dashboard del hero */
.hero-phone {
  position: absolute; z-index: 2; width: 27%; height: auto; right: -6%; bottom: -11%;
  filter: drop-shadow(0 20px 34px rgba(15,23,42,.4));
  animation: flotar 7s ease-in-out 1.5s infinite;
}
@keyframes chipFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 18px; }
.hero h1 .resalte { color: var(--jalpro-100); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 30px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-badge svg { flex-shrink: 0; }

/* Hero interior (páginas de servicios/precios): grande, centrado, con forma al pie */
.hero-int {
  position: relative; z-index: 1;
  padding-top: 150px; padding-bottom: 150px;
  text-align: center;
  min-height: min(460px, 60vh);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-int h1 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 16px; animation: fadeUp .7s ease both; }
.hero-int .hero-sub { margin: 0 auto; max-width: 680px; animation: fadeUp .7s ease .12s both; }
.hero-int .hero-ctas { justify-content: center; margin-top: 30px; animation: fadeUp .7s ease .24s both; }

/* Ilustración central del hero (como el sitio anterior, con parallax de mouse) */
.hero-ilustracion-wrap {
  position: relative; z-index: 3;
  width: min(560px, 82%);
  margin: 44px auto -10px;
  transition: transform .18s ease-out;
  will-change: transform;
}
.hero-ilustracion {
  display: block; width: 100%;
  animation: fadeUp .9s ease .3s both, flotar 8s ease-in-out 1.5s infinite;
}
@media (max-width: 760px) { .hero-ilustracion-wrap { margin-top: 30px; } }

/* Collage de capturas en el hero (Trip Manager) */
.tm-collage { width: min(860px, 96%); margin: 50px auto -6px; }
.tm-principal {
  display: block; width: 74%; margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  animation: fadeUp .9s ease .25s both;
}
.tm-flotante {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
  animation: fadeUp .9s ease .5s both, flotar 7s ease-in-out 1.8s infinite;
}
.tm-f-widget { width: 24%; right: 0; bottom: -9%; }
.tm-f-reporte { width: 40%; left: -2%; top: 16%; animation-delay: .65s, 2.6s; }
@media (max-width: 760px) {
  .tm-collage { margin-top: 34px; }
  .tm-f-widget { width: 30%; right: -2%; }
}
/* Variante del collage para SIPS (dos capturas anchas flotantes) */
.sips-f-reporte { width: 44%; left: -3%; top: 10%; }
.sips-f-consulta { width: 42%; right: -2%; bottom: -10%; animation-delay: .65s, 2.6s; }

/* Forma decorativa al pie del hero (ondas/diagonales, como el sitio anterior) */
.hero-figura { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; line-height: 0; pointer-events: none; }
.hero-figura svg { display: block; width: 100%; height: 90px; }
@media (max-width: 760px) {
  .hero-int { padding-top: 116px; padding-bottom: 110px; min-height: 0; }
  .hero-figura svg { height: 50px; }
}

/* Card frosted glass (del login de Jalpro One) */
.card-frost {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--r-3xl);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 60px rgba(0,0,0,.25), 0 1px 3px rgba(0,0,0,.1);
  padding: 18px;
}

/* ── Barra de cifras ───────────────────────────────────────────── */
.cifras { background: #fff; border-bottom: 1px solid var(--slate-100); }
.cifras-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.cifra { text-align: center; }
.cifra strong { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--jalpro-600); letter-spacing: -.02em; }
.cifra span { font-size: 14px; color: var(--slate-500); font-weight: 500; }

/* ── Secciones y grids ─────────────────────────────────────────── */
.seccion { padding: 84px 0; }
.seccion-alt { background: var(--slate-50); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }

.card-jalpro {
  background: #fff; border-radius: var(--r-2xl);
  box-shadow: var(--mat-1);
  border: 1px solid rgba(226,232,240,.5);
  padding: 28px;
  transition: box-shadow .25s, transform .25s;
}
.card-jalpro:hover { box-shadow: var(--mat-3); transform: translateY(-3px); }
.card-icono {
  width: 52px; height: 52px; border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  background: var(--jalpro-50); color: var(--jalpro-600);
  margin-bottom: 18px;
}
.card-icono.turquesa { background: var(--turquesa-50); color: var(--turquesa-500); }
.card-jalpro h3 { font-size: 18.5px; margin-bottom: 8px; }
.card-jalpro p { font-size: 15px; color: var(--slate-500); }
a.card-link { display: block; color: inherit; }

/* Tarjetas de portafolio (con captura del sitio) */
.porta-card { padding: 0; overflow: hidden; }
.porta-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.porta-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .45s ease; }
a.porta-card:hover .porta-img img { transform: scale(1.045); }
.porta-body { padding: 18px 22px 20px; }
.porta-body h3 { font-size: 17px; margin-bottom: 4px; }
.porta-body p { font-size: 14px; color: var(--slate-500); }
.porta-body .card-mas { margin-top: 10px; font-size: 14px; }
.card-mas { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--jalpro-600); }
a.card-link:hover .card-mas { text-decoration: underline; }

/* ── Sección azul de impacto (tarjetas glass sobre gradiente) ──── */
.seccion-azul {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 15% 10%, rgba(132,199,193,.35), transparent),
    radial-gradient(ellipse 700px 500px at 90% 90%, rgba(255,255,255,.12), transparent),
    linear-gradient(135deg, #0288d1 0%, #01579b 100%);
}
.seccion-azul .section-tag { background: rgba(255,255,255,.16); color: #fff; }
.seccion-azul .section-title { color: #fff; }
.seccion-azul .section-sub { color: rgba(255,255,255,.82); }
/* Panel blanco flotante con lista de funciones (sobre la sección azul) */
.incluye-panel {
  background: #fff;
  border-radius: var(--r-3xl);
  box-shadow: 0 24px 60px rgba(1,50,84,.38), 0 2px 6px rgba(0,0,0,.08);
  padding: 46px 48px;
  margin-top: 46px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 44px;
}
.incluye-item { display: flex; gap: 16px; align-items: flex-start; }
.incluye-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.incluye-item p { font-size: 14.5px; color: var(--slate-500); }
.incluye-ico {
  width: 48px; height: 48px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ico-azul     { background: var(--jalpro-50);   color: var(--jalpro-600); }
.ico-turquesa { background: var(--turquesa-50); color: var(--turquesa-500); }
.ico-verde    { background: #ecfdf5;            color: #059669; }
.ico-ambar    { background: #fef3c7;            color: #b45309; }

/* ── Sección IA (spotlight oscuro con chat animado) ────────────── */
.seccion-ia {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 85% 15%, rgba(38,134,125,.28), transparent),
    radial-gradient(ellipse 600px 450px at 10% 90%, rgba(2,136,209,.22), transparent),
    linear-gradient(135deg, #0f172a 0%, #013254 100%);
  color: #fff;
}
.seccion-ia .section-tag { background: rgba(132,199,193,.18); color: #84c7c1; }
.seccion-ia .section-title { color: #fff; }
.seccion-ia .section-sub { color: rgba(255,255,255,.78); }
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-top: 48px; }
.ia-lista { display: flex; flex-direction: column; gap: 15px; margin-bottom: 28px; }
.ia-lista li { display: flex; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,.88); }
.ia-lista li svg { flex-shrink: 0; margin-top: 2px; color: #84c7c1; }
.ia-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.ia-chip {
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 7px 15px;
}
.ia-nota { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 14px; }

/* Chat mockup */
.ia-chat {
  background: #fff; border-radius: var(--r-3xl);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  overflow: hidden;
}
.ia-chat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #0288d1, #01579b);
  color: #fff;
}
.ia-chat-avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.ia-chat-head strong { font-size: 15px; display: block; line-height: 1.2; }
.ia-chat-head span { font-size: 12px; opacity: .8; display: flex; align-items: center; gap: 5px; }
.punto-online { width: 7px; height: 7px; border-radius: 999px; background: #4ade80; display: inline-block; }
.ia-chat-body { padding: 22px 20px 26px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; }
.ia-burbuja { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.ia-b-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0288d1, #01579b); color: #fff;
  border-bottom-right-radius: 4px;
}
.ia-b-bot {
  align-self: flex-start;
  background: var(--slate-100); color: var(--slate-700);
  border-bottom-left-radius: 4px;
}
.ia-b-bot strong { color: var(--slate-900); }
.ia-b-bot .mini-grafica { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 10px; }
.ia-b-bot .mini-grafica i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #29b6f6, #0288d1);
  min-width: 12px;
}
.ia-typing { display: inline-flex; gap: 5px; padding: 14px 18px; }
.ia-typing i {
  width: 8px; height: 8px; border-radius: 999px; background: var(--slate-400);
  animation: iaDot 1.2s ease-in-out infinite;
}
.ia-typing i:nth-child(2) { animation-delay: .18s; }
.ia-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes iaDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.ia-fade { animation: iaAparece .4s ease both; }
@keyframes iaAparece { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Pasos ─────────────────────────────────────────────────────── */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: paso; }
.paso { position: relative; background: #fff; border-radius: var(--r-2xl); box-shadow: var(--mat-1); border: 1px solid rgba(226,232,240,.5); padding: 30px 28px 28px; }
.paso-num {
  width: 42px; height: 42px; border-radius: 999px;
  background: linear-gradient(135deg, #0288d1, #01579b); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
  margin-bottom: 16px;
}
.paso h3 { font-size: 18px; margin-bottom: 8px; }
.paso p { font-size: 15px; color: var(--slate-500); }

/* ── Precios ───────────────────────────────────────────────────── */
.precios-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 26px; margin-top: 46px; }
.plan {
  background: #fff; border-radius: var(--r-3xl);
  box-shadow: var(--mat-2);
  border: 1px solid rgba(226,232,240,.6);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.destacado { border: 2px solid var(--jalpro-400); box-shadow: var(--mat-4); }
.plan-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #0288d1, #01579b); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
  white-space: nowrap;
}
.plan h3 { font-size: 21px; }
.plan-para { font-size: 14.5px; color: var(--slate-500); margin: 6px 0 20px; }
.plan-precio { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.plan-precio .desde { font-size: 14px; color: var(--slate-500); font-weight: 500; }
.plan-precio .monto { font-size: 44px; font-weight: 700; color: var(--slate-900); letter-spacing: -.03em; }
.plan-precio .periodo { font-size: 15px; color: var(--slate-500); }
.plan-mes {
  display: inline-block;
  font-size: 13.5px; font-weight: 600; color: var(--exito);
  background: var(--exito-bg);
  padding: 4px 12px; border-radius: 999px;
  margin: 4px 0 10px;
}
.plan-nota { font-size: 13.5px; color: var(--slate-400); margin-bottom: 22px; }
.plan-aviso { font-size: 12px; color: var(--slate-400); margin-top: 14px; text-align: center; }

/* Selector de paquetes de facturas (Jalpro One Lite) */
.selector-label { font-size: 13.5px; font-weight: 600; color: var(--slate-600); margin-bottom: 8px; }
.selector-folios { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.folio-btn {
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--slate-200); background: #fff;
  font-weight: 600; font-size: 14.5px; color: var(--slate-600);
  transition: all .18s ease;
}
.folio-btn:hover { border-color: var(--jalpro-300); color: var(--jalpro-600); }
.folio-btn.activo {
  background: linear-gradient(135deg, #0288d1, #01579b); color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
}
.plan ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--slate-700); }
.plan li svg { flex-shrink: 0; margin-top: 3px; color: var(--exito); }
.plan li.no { color: var(--slate-400); }
.plan li.no svg { color: var(--slate-300); }
.plan .btn { margin-top: auto; }

.precios-extra { text-align: center; margin-top: 30px; }
.precios-mas {
  font-size: 15.5px; color: var(--slate-700);
  background: var(--jalpro-50);
  border: 1px solid rgba(2,136,209,.15);
  border-radius: var(--r-xl);
  padding: 14px 22px;
  display: inline-block;
}
.precios-mas a { font-weight: 600; }
.precios-aviso { font-size: 13px; color: var(--slate-400); margin-top: 14px; }

/* ── Franja Lite / CTA oscura ──────────────────────────────────── */
.franja {
  background:
    radial-gradient(ellipse 700px 500px at 85% 15%, rgba(255,255,255,.13), transparent),
    linear-gradient(135deg, #0288d1 0%, #01579b 100%);
  border-radius: var(--r-3xl);
  color: #fff;
  padding: 56px 54px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  box-shadow: var(--mat-4);
}
.franja h2 { color: #fff; font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 12px; }
.franja p { color: rgba(255,255,255,.85); font-size: 16.5px; }
.franja-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Marcas (laptops para empresas) ────────────────────────────── */
.marcas-fila {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px 56px; margin-top: 40px;
}
.marca-item { color: var(--slate-500); transition: color .2s, transform .2s; }
.marca-item:hover { color: var(--slate-800); transform: translateY(-2px); }
.marca-item svg { display: block; height: 44px; width: auto; }
@media (max-width: 760px) {
  .marcas-fila { gap: 22px 34px; }
  .marca-item svg { height: 34px; }
}

/* ── Tarjetas de contacto ──────────────────────────────────────── */
.card-contacto { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card-contacto .card-icono { margin: 0 auto 16px; width: 60px; height: 60px; border-radius: 999px; }
.card-contacto .card-icono svg { width: 30px; height: 30px; }
.card-contacto p { margin-bottom: 18px; font-size: 15.5px; color: var(--slate-600); font-weight: 500; }
.card-contacto .btn { margin-top: auto; }

/* ── Tabla comparativa ─────────────────────────────────────────── */
.tabla-scroll { overflow-x: auto; margin-top: 44px; border-radius: var(--r-2xl); box-shadow: var(--mat-1); border: 1px solid rgba(226,232,240,.7); }
.tabla-comparativa { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.tabla-comparativa th, .tabla-comparativa td { padding: 15px 20px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--slate-100); }
.tabla-comparativa th { background: var(--slate-50); font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-600); }
.tabla-comparativa th:first-child, .tabla-comparativa td:first-child { text-align: left; color: var(--slate-700); font-weight: 500; }
.tabla-comparativa th.col-destacada { color: var(--jalpro-700); background: var(--jalpro-50); }
.tabla-comparativa td.col-destacada { background: rgba(225,245,254,.35); }
.tabla-comparativa tr:last-child td { border-bottom: none; }
.tabla-comparativa .si { color: var(--exito); }
.tabla-comparativa .no { color: var(--slate-300); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-lista { max-width: 780px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border-radius: var(--r-2xl);
  border: 1px solid rgba(226,232,240,.7);
  box-shadow: var(--mat-1);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 24px;
  font-weight: 600; font-size: 16px; color: var(--slate-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mas { flex-shrink: 0; color: var(--jalpro-500); transition: transform .25s; }
.faq-item[open] summary .mas { transform: rotate(45deg); }
.faq-item .faq-resp { padding: 0 24px 20px; color: var(--slate-600); font-size: 15px; }
.faq-item .faq-resp a { font-weight: 600; }

/* ── Centro de ayuda ───────────────────────────────────────────── */
.ayuda-buscador {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 16px 44px rgba(1,50,84,.32);
  padding: 12px 16px 12px 28px;
  width: 100%; max-width: 780px; margin: 34px auto 0;
  color: var(--slate-400);
  animation: fadeUp .7s ease .24s both;
}
.ayuda-buscador svg { width: 24px; height: 24px; flex-shrink: 0; }
.ayuda-buscador input {
  flex: 1; border: none; outline: none;
  font: inherit; font-size: 18px; color: var(--slate-800);
  padding: 12px 4px; background: transparent;
  min-width: 0;
}
.cat-ayuda-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-ayuda-head img { width: 46px; height: 46px; object-fit: contain; }
.cat-ayuda-head h2 { font-size: 19px; }
.cat-ayuda-head span { font-size: 13px; color: var(--slate-400); }
.cat-ayuda-lista { display: flex; flex-direction: column; }
.cat-ayuda-lista li { border-top: 1px solid var(--slate-100); }
.cat-ayuda-lista a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 4px; font-size: 15px; color: var(--slate-700); font-weight: 500;
}
.cat-ayuda-lista a svg { flex-shrink: 0; margin-top: 3px; color: var(--jalpro-500); }
.cat-ayuda-lista a:hover { color: var(--jalpro-600); }

/* Artículo de ayuda */
.doc-miga { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 12px; animation: fadeUp .7s ease both; }
.doc-miga a { color: #fff; font-weight: 600; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.doc-lateral { position: sticky; top: calc(var(--header-h) + 20px); }
.doc-lista-lateral { display: flex; flex-direction: column; }
.doc-lista-lateral li { border-top: 1px solid var(--slate-100); }
.doc-lista-lateral a { display: block; padding: 9px 2px; font-size: 14px; color: var(--slate-600); }
.doc-lista-lateral a:hover { color: var(--jalpro-600); }
.doc-lista-lateral a.actual { color: var(--jalpro-600); font-weight: 700; }

.doc-contenido { font-size: 16px; color: var(--slate-700); }
.doc-contenido h2, .doc-contenido h3 {
  font-size: 20px; margin: 34px 0 12px; color: var(--slate-900);
  padding-left: 14px; border-left: 4px solid var(--jalpro-500);
}
.doc-contenido h2:first-child, .doc-contenido h3:first-child { margin-top: 0; }
.doc-contenido p { margin-bottom: 14px; line-height: 1.7; }
.doc-contenido ul, .doc-contenido ol { margin: 0 0 16px 22px; }
.doc-contenido ul { list-style: disc; }
.doc-contenido ol { list-style: decimal; }
.doc-contenido li { margin-bottom: 6px; }
.doc-contenido video {
  width: 100%; border-radius: var(--r-2xl);
  box-shadow: var(--mat-3);
  margin: 10px 0 26px;
  background: var(--slate-900);
}
.doc-contenido img { border-radius: var(--r-xl); box-shadow: var(--mat-2); margin: 10px 0 22px; height: auto; }
.doc-contenido figure { margin: 0; }
.doc-contenido figcaption { font-size: 13px; color: var(--slate-400); margin-top: -18px; margin-bottom: 20px; }
.doc-contenido hr { border: none; border-top: 1px solid var(--slate-200); margin: 30px 0; }

@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-lateral { position: static; }
}

/* ── Blog ──────────────────────────────────────────────────────── */
/* Botones heredados de los posts de WordPress: mismo estilo que btn-grad */
.doc-contenido .wp-block-buttons { margin: 24px 0; }
.doc-contenido .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0288d1 0%, #01579b 100%) !important;
  color: #fff !important;
  font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: var(--r-xl);
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
  transition: all .2s ease;
}
.doc-contenido .wp-block-button__link:hover { box-shadow: 0 6px 20px rgba(2,136,209,.45); transform: translateY(-1px); }
.blog-fecha { font-size: 13px; color: var(--slate-400); font-weight: 500; }
.blog-sin-img {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(45deg, #0288d1 0%, #26c6da 100%);
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--slate-900); color: var(--slate-300); margin-top: 84px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px;
  padding: 60px 0 40px;
}
.footer-brand img, .footer-brand svg { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: var(--slate-400); max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--slate-300); font-size: 14.5px; transition: color .15s; }
.footer-col a:hover { color: var(--turquesa-200); }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.footer-contact svg { flex-shrink: 0; color: var(--turquesa-200); }
.footer-base {
  border-top: 1px solid var(--slate-800);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--slate-500);
}

/* ── Botón flotante WhatsApp ───────────────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 999px;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,.55); }

/* ── Animaciones de aparición ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d-1 { transition-delay: .08s; } .d-2 { transition-delay: .16s; }
.d-3 { transition-delay: .24s; } .d-4 { transition-delay: .32s; }
.d-5 { transition-delay: .40s; } .d-6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero::before, .hero::after, .hero h1, .hero .hero-sub, .hero .hero-ctas, .hero .hero-badges,
  .hero-visual, .hero-visual .card-frost, .hero-chip, .hero-phone { animation: none; }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 108px; padding-bottom: 64px; gap: 36px; min-height: 0; }
  .hero-sub { max-width: none; }
  .grid-3, .pasos { grid-template-columns: 1fr 1fr; }
  .ia-grid { grid-template-columns: 1fr; gap: 40px; }
  .precios-grid { grid-template-columns: minmax(0, 480px); }
  .franja { grid-template-columns: 1fr; padding: 42px 32px; }
  .franja-ctas { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 20px;
    box-shadow: var(--mat-3);
    border-bottom: 1px solid var(--slate-100);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .22s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.abierto { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 12px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
  .nav-burger { display: flex; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 4px 16px; min-width: 0;
    display: none;
  }
  .nav-drop.abierto .nav-drop-menu { display: block; }
  .hero-chip { font-size: 12.5px; padding: 8px 13px; }
  .chip-dgi { left: 2px; top: -13px; }
  .chip-ventas { left: 2px; bottom: -13px; }
  .hero-phone { right: -2%; }
  .cifras-inner { grid-template-columns: 1fr 1fr; gap: 26px 12px; padding: 28px 0; }
  .grid-3, .grid-2, .pasos { grid-template-columns: 1fr; }
  .incluye-panel { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
  .seccion { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .footer-base { justify-content: center; text-align: center; }
}

/* ── Capturas reales de Jalpro One ─────────────────────────────── */
/* Evita que el ancho intrínseco de las capturas infle las columnas del grid */
.hero-inner > *, .ia-grid > * { min-width: 0; }
.captura-hero { display: block; width: 100%; height: auto; border-radius: 14px; }

/* Composición de capturas: principal + flotante */
.stats-visual { position: relative; }
.stats-principal {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(2,136,209,.20), 0 2px 6px rgba(0,0,0,.08);
}
.stats-flotante {
  position: absolute; width: 58%; height: auto; right: -4%; bottom: -13%;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15,23,42,.30);
  animation: flotar 8s ease-in-out 1.2s infinite;
}

/* Composición laptop + celular (desde cualquier dispositivo) */
.dispositivos-visual { position: relative; width: min(780px, 94%); margin: 46px auto 0; }
.disp-laptop { display: block; width: 92%; height: auto; }
.disp-phone {
  position: absolute; width: 21%; height: auto; right: 0; bottom: -5%;
  filter: drop-shadow(0 20px 34px rgba(15,23,42,.35));
  animation: flotar 7s ease-in-out 1.5s infinite;
}

/* Celular junto a la laptop del hero de la landing de facturación electrónica */
.fe-phone {
  position: absolute; z-index: 2; width: 22%; height: auto; right: -2%; bottom: -6%;
  filter: drop-shadow(0 20px 34px rgba(15,23,42,.4));
  animation: fadeUp .9s ease .55s both, flotar 7s ease-in-out 2s infinite;
}

/* Celular flotante junto al hero de Jalpro One Lite */
.lite-phone {
  position: absolute; z-index: 2; width: 27%; height: auto; right: -5%; bottom: -9%;
  filter: drop-shadow(0 20px 34px rgba(15,23,42,.4));
  animation: flotar 7s ease-in-out 1.8s infinite;
}

@media (max-width: 760px) {
  .stats-flotante { width: 62%; right: -2%; }
  .disp-phone { width: 24%; }
  .lite-phone { right: -2%; }
}
@media (prefers-reduced-motion: reduce) {
  .stats-flotante, .disp-phone, .lite-phone, .fe-phone { animation: none; }
}

/* ── Tienda de folios (/folios-factura-electronica/) ───────────── */
.tienda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.folio-card {
  background: #fff;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(226,232,240,.7);
  box-shadow: var(--mat-1);
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.folio-card:hover { box-shadow: var(--mat-3); transform: translateY(-3px); }
.folio-card.destacado { border: 2px solid var(--jalpro-400); box-shadow: var(--mat-3); }
.folio-card-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: linear-gradient(135deg, #0288d1, #01579b); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(2,136,209,.35);
}
.folio-card-head {
  background: linear-gradient(45deg, var(--jalpro-50), #eafaff);
  border-bottom: 1px solid rgba(2,136,209,.12);
  padding: 26px 24px 22px;
  text-align: center;
}
.folio-cant {
  display: block;
  font-size: 38px; font-weight: 700; letter-spacing: -.03em;
  color: var(--jalpro-700); line-height: 1;
}
.folio-cant-lbl {
  display: block; margin-top: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--jalpro-600);
}
.folio-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.folio-precio { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.folio-precio .monto { font-size: 34px; font-weight: 700; color: var(--slate-900); letter-spacing: -.03em; }
.folio-precio .itbms { font-size: 13.5px; color: var(--slate-500); }
.folio-equiv {
  text-align: center; font-size: 13.5px; color: var(--slate-500);
  margin: 8px 0 18px;
}
.folio-card ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.folio-card li { display: flex; gap: 9px; font-size: 14px; color: var(--slate-700); align-items: flex-start; }
.folio-card li svg { flex-shrink: 0; color: var(--exito); margin-top: 1px; }
.folio-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* Tarjeta de cantidad personalizada (cierra la grilla) */
.folio-card.a-medida { border: 1.5px dashed var(--jalpro-300); box-shadow: none; background: var(--jalpro-50); }
.folio-card.a-medida:hover { box-shadow: var(--mat-2); }
.folio-card.a-medida .folio-card-body { padding: 30px 26px; text-align: center; justify-content: center; }
.folio-card.a-medida h3 { font-size: 18px; margin-bottom: 8px; color: var(--slate-900); }
.folio-card.a-medida p { font-size: 14.5px; color: var(--slate-600); margin-bottom: 20px; }
.folio-medida-ico {
  width: 52px; height: 52px; margin: 0 auto 14px;
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--jalpro-500);
  box-shadow: var(--mat-1);
}

/* Franja de urgencia "se te acabaron los folios" */
.urgente {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  background: var(--aviso-bg);
  border: 1px solid rgba(217,119,6,.22);
  border-left: 5px solid var(--aviso);
  border-radius: var(--r-2xl);
  padding: 26px 30px;
}
.urgente-ico { flex-shrink: 0; color: var(--aviso); }
.urgente-txt { flex: 1 1 320px; min-width: 0; }
.urgente-txt h2 { font-size: 20px; margin-bottom: 6px; color: var(--slate-900); }
.urgente-txt p { font-size: 15px; color: var(--slate-700); margin: 0; }

/* Aviso legal / nota bajo la grilla */
.tienda-nota {
  margin-top: 26px; text-align: center;
  font-size: 13.5px; color: var(--slate-500); line-height: 1.7;
}

@media (max-width: 560px) {
  .tienda-grid { grid-template-columns: 1fr; }
  .folio-cant { font-size: 34px; }
  .urgente { padding: 22px; }
}

/* Bloque explicativo "¿Qué es un folio?" (/folios-factura-electronica/) */
.definicion { max-width: 760px; margin: 0 auto; }
.definicion p { font-size: 16.5px; color: var(--slate-700); line-height: 1.75; margin-bottom: 16px; }
.definicion p strong { color: var(--slate-900); }
.definicion-datos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; margin-top: 30px;
  background: var(--slate-200);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl); overflow: hidden;
}
.definicion-datos li {
  list-style: none; background: #fff; padding: 16px 18px;
  font-size: 14.5px; color: var(--slate-700);
}
.definicion-datos span {
  display: block; margin-bottom: 3px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--jalpro-600);
}
