/* ==========================================================================
   Nexlify v2 — estilos claros y sólidos (sin degradados) para el sitio
   corporativo y las landings de producto que ya migraron.
   Las páginas que aún usan site.css no cargan este archivo.
   Cada producto define su acento con body[data-product].
   ========================================================================== */

:root {
  /* Marca Nexlify */
  --abismo: #0b1428;
  --azul: #2454b3;
  --azul-ink: #1b3f8c;
  --azul-claro: #5b8def;
  --espuma: #e8efff;

  /* Neutros */
  --ink: #12213d;
  --ink-soft: #47567a;
  --muted: #6b7a96;
  --line: #e2e8f2;
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ok: #0e8268;
  --ok-soft: #e2f6ef;
  --warn: #b45309;
  --warn-soft: #fff3e0;
  --danger: #c2410c;
  --danger-soft: #fff1ea;

  /* Acento del producto (Nexlify por defecto = su azul) */
  --acc: var(--azul);
  --acc-ink: var(--azul-ink);
  --acc-soft: var(--espuma);

  --r: 16px;
  --r-lg: 24px;
  --sombra: 0 1px 2px rgba(18, 33, 61, .05), 0 10px 30px -14px rgba(18, 33, 61, .18);
  --sombra-lg: 0 30px 60px -28px rgba(18, 33, 61, .35);
  --f-head: 'Bricolage Grotesque', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --nav-h: 72px;
}

body[data-product="pools360"] { --acc: #1fa6b8; --acc-ink: #0e6f7c; --acc-soft: #e3f5f7; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 10px; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--f-body); padding: 15px 22px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-ink); }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--azul); color: var(--azul); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--espuma); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #17834a; }
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled, .site-header.open { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18, 33, 61, .4); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-product { display: inline-flex; align-items: center; padding-left: 16px; border-left: 1px solid var(--line); }
.brand-product img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 9px 12px; border-radius: 9px; }
.nav-links a:hover { color: var(--ink); background: var(--bg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); place-items: center; cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.lang button { font: 700 12px/1 var(--f-body); color: var(--muted); background: none; border: 0; padding: 7px 9px; border-radius: 7px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 33, 61, .15); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--acc-ink); background: var(--acc-soft); padding: 7px 13px; border-radius: 999px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; margin-top: 20px; }
.hero h1 .hl { color: var(--azul); }
.hero .lead { margin-top: 20px; font-size: 18.5px; line-height: 1.65; color: var(--ink-soft); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: 14px; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--ok); }

/* foto con tarjetas de la app encima: reemplaza los fondos degradados */
.foto { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.foto > img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto { aspect-ratio: 5 / 4.4; box-shadow: var(--sombra-lg); }
.hero-art { position: relative; }
.flota { position: absolute; background: var(--paper); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(11, 20, 40, .45); }
.flota-kpis { left: -28px; bottom: 28px; padding: 16px 18px; width: min(300px, 70%); }
.flota-kpis small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.flota-kpis .fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.flota-kpis b { display: block; font: 800 22px/1.1 var(--f-head); }
.flota-kpis em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.flota-chip { top: 24px; right: -18px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; }
.flota-chip .ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.flota-chip small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .flota { animation: flotar 6s ease-in-out infinite; } .flota-chip { animation-delay: -3s; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* franja de cifras */
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cifra { padding: 22px 24px; display: grid; gap: 4px; }
.cifra + .cifra { border-left: 1px solid var(--line); }
.cifra b { font: 800 30px/1 var(--f-head); color: var(--ink); }
.cifra span { font-size: 14px; color: var(--ink-soft); }

/* ---------- secciones ---------- */
section { padding: 96px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-ink); }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-soft); }

/* diagnóstico */
.pains { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pain small { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--danger); background: var(--danger-soft); padding: 4px 9px; border-radius: 999px; }
.pain p { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }
.pain-result { margin-top: 22px; padding: 18px 22px; border-radius: var(--r); background: var(--espuma); color: var(--azul-ink); font-weight: 600; font-size: 15.5px; }

/* módulos */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; transition: border-color .2s ease, background-color .2s ease; }
.module:hover { background: var(--paper); border-color: var(--acc); }
.module .mi { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); flex-shrink: 0; }
.module .mi .ic { width: 21px; height: 21px; }
.module.extra { background: var(--paper); border-style: dashed; text-decoration: none; }
.module.extra .mi { background: var(--espuma); color: var(--azul-ink); }
.module.extra:hover { border-color: var(--azul); }
.module h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.module p { margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* bloques destacados */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.rev > :first-child { order: 2; }
.feature > * { min-width: 0; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-top: 10px; }
.feature .desc { margin-top: 14px; font-size: 16.5px; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; }
.checks li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-ink); margin-top: 1px; }
.escena { aspect-ratio: 6 / 5; display: grid; place-items: end start; padding: 22px; }
.escena > img { position: absolute; inset: 0; }
.escena .card { position: relative; width: min(100%, 380px); }

/* tarjetas de la app (maquetas) */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.card-head .ic { color: var(--acc-ink); width: 18px; height: 18px; }
.card-body { padding: 14px 16px; display: grid; gap: 10px; }
.fila-app { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.fila-app .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--acc-ink); background: var(--acc-soft); flex-shrink: 0; }
.fila-app b { display: block; font-size: 13.5px; }
.fila-app small { display: block; color: var(--muted); font-size: 12px; }
.tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: var(--acc-soft); color: var(--acc-ink); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.carriles { display: grid; gap: 7px; }
.carril { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.carril .barra { height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.carril .barra i { display: block; height: 100%; border-radius: 5px; background: var(--acc); }
.carril .barra i.lleno { background: var(--warn); }
.carril b { text-align: right; font-size: 12.5px; color: var(--ink); }
.perm-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font-size: 13.5px; border-top: 1px solid var(--line); }
.perm-row span:last-child { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--acc-ink); text-align: right; }
.perm-row span.no { color: var(--muted); }

/* pasos */
.flow { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 14px; counter-reset: paso; }
.flow-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.flow-step::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 800 15px/1 var(--f-head); color: #fff; background: var(--acc); }
.flow-step h4 { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.flow-step p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* antes / después */
.compare { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head div { padding: 14px 24px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.compare-head div:last-child { color: var(--acc-ink); background: var(--acc-soft); }
.compare-row > div { padding: 18px 24px; font-size: 15.5px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.compare-row .before { color: var(--ink-soft); }
.compare-row .after { font-weight: 600; border-left: 1px solid var(--line); }
.compare-row .ic { width: 20px; height: 20px; margin-top: 2px; }
.compare-row .before .ic { color: var(--muted); }
.compare-row .after .ic { color: var(--ok); }

/* CTA con foto */
.cta-foto { position: relative; border-radius: 28px; overflow: hidden; color: #fff; text-align: center; padding: 72px 32px; }
.cta-foto > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-foto::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(11, 20, 40, .7); }
.cta-foto > *:not(img) { position: relative; z-index: 2; }
.cta-foto h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; max-width: 760px; margin-inline: auto; }
.cta-foto p { margin: 16px auto 0; max-width: 58ch; color: rgba(255, 255, 255, .85); font-size: 17px; }
.cta-foto .hero-ctas { justify-content: center; }

/* ---------- contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin-top: 12px; }
.contact-info > p { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease; }
a.channel:hover { border-color: var(--azul); }
.channel .ci { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--espuma); color: var(--azul-ink); flex-shrink: 0; }
.channel .ci.wa { background: #e3f8ea; color: #128c4a; }
.channel small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.channel b { display: block; font-size: 15px; word-break: break-word; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sombra); }
.form-card h3 { font-size: 22px; font-weight: 800; }
.form-card > p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label i { font-style: normal; color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(36, 84, 179, .14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--azul); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 200px; }
.form-actions small { font-size: 12.5px; color: var(--muted); }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--ok-soft); color: #075e4b; }
.form-status.error { background: var(--danger-soft); color: #9a3412; }
.form-status a { font-weight: 700; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 28px 10px 10px; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); }
.form-success h4 { margin-top: 18px; font-size: 22px; font-weight: 800; }
.form-success p { margin-top: 8px; color: var(--ink-soft); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- pie ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--ink-soft); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid .brand img { height: 28px; }
.foot-grid p { margin-top: 14px; font-size: 14px; max-width: 34ch; }
.foot-grid h5 { margin: 0 0 14px; font: 700 12.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--azul); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.foot-bottom a { text-decoration: none; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(18, 33, 61, .5); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }

/* aparición al hacer scroll: visible por defecto, solo se anima con JS */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* bilingüe (index) */
html[lang="es"] [lang="en"]:not(html), html[lang="en"] [lang="es"]:not(html) { display: none !important; }


/* ---------- index: productos ---------- */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product { grid-column: span 2; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--p1, var(--azul)); border-radius: var(--r-lg); padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
.product.wide { grid-column: span 3; }
.product:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.product .p-logo { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.product .p-cat { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.product .p-cat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--p1, var(--azul)); }
.product h3 { margin-top: 8px; font-size: 21px; font-weight: 800; }
.product > p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.product ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.product li { display: flex; gap: 10px; font-size: 14px; }
.product li .ic { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.product .p-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }

/* sectores */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.industries > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.industries .ic { color: var(--azul); width: 18px; height: 18px; }

/* servicios */
.serv-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.serv-head .section-head { margin-bottom: 0; }
.serv-fotos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.serv-fotos .foto { aspect-ratio: 4 / 3.2; }
.serv-fotos .foto:last-child { margin-top: 36px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.service.wide { grid-column: span 2; }
.service .si { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--espuma); color: var(--azul-ink); }
.service .si .ic { width: 22px; height: 22px; }
.service h3 { margin-top: 16px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.service p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.service .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.service .chips span { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); }

/* cifras (index) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.stat b { display: block; font: 800 38px/1 var(--f-head); color: var(--azul); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* lista de productos sobre la foto del hero (index) */
.flota-lista { left: -28px; bottom: 24px; width: min(320px, 78%); padding: 8px; display: grid; gap: 2px; }
.flota-lista .fila-app { padding: 8px 10px; border-radius: 10px; }
.flota-lista .fila-app img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .modules { grid-template-columns: repeat(3, 1fr); }
  .pains { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav-links { position: absolute; top: calc(var(--nav-h) - 4px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sombra-lg); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .site-header.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px; font-size: 16px; }
  .nav-actions { margin-left: auto; }
  .hero-grid, .feature, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature.rev > :first-child { order: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .cifra:nth-child(3) { border-left: 0; }
  .cifra:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product, .product.wide { grid-column: span 1; }
  .serv-head { grid-template-columns: 1fr; gap: 28px; }
  .services, .stats { grid-template-columns: repeat(2, 1fr); }
  .flota-lista { left: 12px; }
  .flota-kpis { left: 12px; }
  .flota-chip { right: 12px; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .wrap { padding-inline: 16px; }
  .hero { padding: 32px 0 56px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .brand-product { display: none; }
  .nav-actions .btn { display: none; }
  .modules, .pains, .flow, .form-grid, .products, .services { grid-template-columns: 1fr; }
  .service.wide { grid-column: auto; }
  .flota-lista { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .serv-fotos .foto:last-child { margin-top: 0; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row .after { border-left: 0; border-top: 0; padding-top: 0; }
  .escena { aspect-ratio: auto; min-height: 340px; padding: 14px; }
  .flota-kpis { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .flota-chip { top: 12px; right: 12px; }
  .form-card { padding: 22px 18px; }
  .form-actions .btn { width: 100%; }
  .cta-foto { padding: 52px 20px; border-radius: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cifra { padding: 18px; }
  .cifra b { font-size: 24px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
