/* unslop.css — capa de pulido para la portada de KnoxTrack (2026-11-19)
   Para revertir: quitar la línea <link rel="stylesheet" href="unslop.css"> de index.html
   Basado en unslop de Damir Sokolovsky (@heydamir), CC BY 4.0 */

:root {
  --u-ink: #172032;          /* texto principal (claro) */
  --u-ink-2: #526075;        /* secundario */
  --u-ink-3: #7a879b;        /* apagado */
  --u-line: rgba(23, 32, 50, 0.09);
  --u-surface: #f5f7fa;
  --u-red: #e51b23;          /* acento de marca, uno solo */
  --u-red-ink: #b8151c;      /* rojo para texto sobre claro (contraste) */
  --u-night: #070b14;        /* azul marino de la marca */
  --u-night-2: #0d1322;
  --u-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Pasada 1 · Espaciado ---------- */
html body .section-head { margin-bottom: 48px !important; }
html body .section-head h2 { margin-top: 12px !important; }
html body .kt-steps, html body .kt-solutions-grid, html body .kt-clients-grid, html body .kt-shop-preview { gap: 20px !important; }
html body .kt-step, html body .kt-solution, html body .kt-client-card { padding: 24px !important; }
html body .app-feats { gap: 8px 20px !important; margin: 20px 0 24px !important; }

/* ---------- Pasada 2 · Color ---------- */
/* Fondos sin manchas de color: un solo azul marino plano */
html body section.hero,
html body .footer { background: var(--u-night) !important; background-image: none !important; }
html body section.hero::before, html body section.hero::after,
html body .footer::before, html body .footer::after { display: none !important; }
html body .kt-device-halo { display: none !important; }

/* Tarjeta "KnoxTrack · Un ecosistema" sin brillo radial */
html body .kt-brand-signature { background: var(--u-night-2) !important; background-image: none !important; box-shadow: none !important; }
html body .kt-brand-signature::before, html body .kt-brand-signature::after { display: none !important; }
html body .kt-brand-orbit { display: none !important; }

/* Cierre: superficie neutra en vez de degradado rosa→lila */
html body .cta-band { background: var(--u-night) !important; background-image: none !important; border: 0 !important; box-shadow: none !important; }
html body .cta-band::before, html body .cta-band::after { display: none !important; }
html body .cta-band h2 { color: #f3f6fb !important; }
html body .cta-band p { color: #a6b0c3 !important; }

/* El rojo solo marca acciones; iconos, números y enlaces vuelven a neutro */
html body .kt-solution-icon { background: var(--u-surface) !important; color: var(--u-ink-2) !important; border: 1px solid var(--u-line) !important; box-shadow: none !important; }
html body .kt-solution-icon svg { color: var(--u-ink-2) !important; stroke: currentColor !important; }
html body .kt-solution-link { color: var(--u-ink) !important; }
html body .kt-solution:hover .kt-solution-link { color: var(--u-red-ink) !important; }
html body .kt-client-card blockquote,
html body .kt-client-card p { border-left-color: var(--u-line) !important; }
html body .pill svg, html body .pill i { color: var(--u-ink-3) !important; stroke: currentColor !important; }

/* Sombras suaves y neutras */
html body .kt-step, html body .kt-solution, html body .kt-client-card, html body .kt-shop-item, html body .card {
  box-shadow: none !important; border: 1px solid var(--u-line) !important;
}
html body .btn-primary { box-shadow: none !important; }

/* ---------- Pasada 3 · Iconos ---------- */
html body .kt-solution-icon { width: 40px !important; height: 40px !important; border-radius: 10px !important; }
html body .kt-solution-icon svg { width: 18px !important; height: 18px !important; stroke-width: 1.5 !important; }

/* ---------- Pasada 5 · Tipografía ---------- */
html body .hero, html body .section, html body .footer, html body .nav { font-family: Inter, system-ui, sans-serif !important; }
html body .section *:not(svg):not(path):not(i),
html body .footer *:not(svg):not(path):not(i) { font-family: inherit; }
html body h1 { font-weight: 600 !important; letter-spacing: -0.025em !important; line-height: 1.05 !important; }
html body h2 { font-weight: 600 !important; letter-spacing: -0.02em !important; line-height: 1.1 !important; }
html body h3 { font-weight: 500 !important; letter-spacing: -0.005em !important; }
html body .section-head h2 { font-size: 44px !important; }
html body .cta-band h2 { font-size: 40px !important; }

/* Etiquetas: fuera la pastilla roja en mayúsculas; texto apagado en minúsculas */
html body .eyebrow, html body .app-tag {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
  text-transform: none !important; letter-spacing: 0 !important;
  font-size: 15px !important; font-weight: 500 !important; color: var(--u-ink-2) !important;
}
html body .hero .eyebrow, html body .cta-band .eyebrow { color: #a6b0c3 !important; }
html body .eyebrow .dot { display: none !important; }
html body .footer h4 { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important; color: #f3f6fb !important; }
html body .wlhero-label, html body .wlhero-sub { text-transform: none !important; letter-spacing: 0 !important; }
html body .kt-step-number { font-variant-numeric: tabular-nums !important; }
html body .kt-client-card > span { text-transform: none !important; letter-spacing: 0 !important; }
html body .kt-brand-name { font-weight: 600 !important; letter-spacing: -0.01em !important; }

/* ---------- Pasada 7 · Detalles ---------- */
/* Botones con radio de control, no pastillas */
html body .btn { border-radius: 10px !important; }
/* Etiquetas bajo cada producto: texto tranquilo, no chips */
html body .pill { background: none !important; border: 0 !important; padding: 0 !important; color: var(--u-ink-2) !important; font-size: 14px !important; }

/* Firma: el punto de "última posición" (el pin del logo) — solo en el hero, los pasos y el cierre */
html body .hero .eyebrow::before,
html body .cta-band h2::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--u-red); box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.18);
  margin-right: 12px; vertical-align: 0.15em;
}
html body .cta-band h2::before { display: block; margin: 0 0 20px 4px; }
html body .kt-step-number {
  background: none !important; color: var(--u-ink-3) !important; box-shadow: none !important;
  width: auto !important; height: auto !important; padding: 0 !important;
  font-size: 14px !important; font-weight: 500 !important; justify-content: flex-start !important;
  display: inline-flex !important; align-items: center !important; gap: 10px;
}
html body .kt-step-number::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--u-red);
  box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.14);
}

/* Marcas blancas: los clientes a todo color, son la prueba */
html body .wl-item, html body .wl-item * { opacity: 1 !important; filter: none !important; }
html body .wl-item { color: var(--u-ink-2) !important; }

/* ---------- Pasada 8 · Visuales ---------- */
/* SIM: fuera aurora, brillo, reflejo y anillos; queda la tarjeta real */
html body .sim-hero-aurora, html body .sim-hero-glow, html body .sim-hero-sheen,
html body .sim-hero-rings, html body .sim-hero-reflection { display: none !important; }
html body .wlhero-ripple, html body .wlhero-shock { display: none !important; }

/* ---------- Pasada 9 · Movimiento ---------- */
html body .sim-hero, html body .sim-hero *,
html body .wlhero-stage, html body .wlhero-stage *,
html body .wl-item, html body .wl-item *,
html body .kt-brand-signature * { animation: none !important; }
html body .sim-hero-tilt, html body .sim-hero-float { transform: none !important; }
html body .card:hover, html body .kt-solution:hover, html body .kt-step:hover,
html body .kt-client-card:hover, html body .kt-shop-item:hover, html body .wl-item:hover { transform: none !important; }
html body .btn, html body .kt-solution, html body .kt-solution-link {
  transition: color .16s var(--u-ease), background-color .16s var(--u-ease), border-color .16s var(--u-ease), transform .12s var(--u-ease) !important;
}
html body .btn:active { transform: scale(0.98) !important; }
html body .btn:hover { transform: none !important; }
@media (prefers-reduced-motion: reduce) { html body * { animation: none !important; transition: none !important; } }

/* Móvil */
@media (max-width: 760px) {
  html body .section-head h2 { font-size: 32px !important; }
  html body .cta-band h2 { font-size: 30px !important; }
}

/* ======================================================================
   Página /marcablanca (wl-*) — mismas reglas, misma dirección
   ====================================================================== */

/* Color: fondos sin manchas, precio sin degradado rosa→lila */
html body .wl-hero { background: var(--u-night) !important; background-image: none !important; }
html body .wl-hero::before, html body .wl-hero::after { display: none !important; }
html body .wl-price-spotlight { background: var(--u-night) !important; background-image: none !important; border: 0 !important; box-shadow: none !important; }
html body .wl-price-spotlight::before, html body .wl-price-spotlight::after { display: none !important; }
html body .wl-price-spotlight h2 { color: #f3f6fb !important; }
html body .wl-price-spotlight p, html body .wl-price-spotlight small { color: #a6b0c3 !important; }
html body .wl-price-spotlight .wl-kicker { color: #a6b0c3 !important; }

/* El rojo solo en botones: titular del hero, chulos, flechas y numeración a neutro */
html body .wl-hero h1 em { color: inherit !important; font-style: normal !important; opacity: 0.72; }
html body .wl-list li::before { color: var(--u-ink-3) !important; }
html body .wl-flow-arrow { color: var(--u-ink-3) !important; }
html body .wl-num { color: var(--u-ink-3) !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 500 !important; font-variant-numeric: tabular-nums; }
html body .wl-card summary::after, html body .wl-card summary::marker { color: var(--u-ink-3) !important; }
html body .wl-card { box-shadow: none !important; border: 1px solid var(--u-line) !important; }

/* Etiquetas: sin mayúsculas espaciadas ni pastillas rojas */
html body .wl-kicker, html body .ka-tag {
  text-transform: none !important; letter-spacing: 0 !important; background: none !important;
  border: 0 !important; padding: 0 !important; box-shadow: none !important;
  font-size: 15px !important; font-weight: 500 !important; color: var(--u-ink-2) !important;
}
html body .wl-hero .wl-kicker { color: #a6b0c3 !important; }
html body .wl-badge { background: rgba(255,255,255,0.06) !important; color: #f3f6fb !important; border: 1px solid rgba(255,255,255,0.10) !important; box-shadow: none !important; }

/* Firma: punto de "última posición" en el hero y en el precio */
html body .wl-hero .wl-kicker::before,
html body .wl-price-spotlight .wl-kicker::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--u-red); box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.18);
  margin-right: 12px; vertical-align: 0.1em;
}

/* Detalles: botones con radio de control */
html body .wl-button { border-radius: 10px !important; box-shadow: none !important; }
html body .wl-button:hover { transform: none !important; }
html body .kt-web-eyebrow { letter-spacing: 0 !important; text-transform: none !important; font-size: 15px !important; font-weight: 500 !important; color: var(--u-ink-2) !important; }

/* ======================================================================
   Resto del sitio: nosotros, contacto, producto, knox-mobile, sistema de
   gestión, SIM, tienda, cotizador, compatibilidad — misma dirección
   ====================================================================== */

/* Color: héroes y bandas sin manchas ni degradados de color */
html body .page-hero, html body .pf-hero, html body .sg-hero, html body .kt-sim-hero,
html body .shop-hero, html body .cp-hero, html body .pf-cta {
  background: var(--u-night) !important; background-image: none !important;
}
html body .page-hero::before, html body .page-hero::after, html body .pf-hero::before, html body .pf-hero::after,
html body .sg-hero::before, html body .sg-hero::after, html body .kt-sim-hero::before, html body .kt-sim-hero::after,
html body .shop-hero::before, html body .shop-hero::after, html body .cp-hero::before, html body .cp-hero::after,
html body .pf-cta::before, html body .pf-cta::after { display: none !important; }
html body .pf-visual, html body .kt-hero-connect { background: var(--u-night-2) !important; background-image: none !important; }
html body .kt-trial, html body .shop-image { background: var(--u-surface) !important; background-image: none !important; }
html body .kt-whatsapp-hero { background: #0f2620 !important; background-image: none !important; }
html body .sg-plan-card { background-image: none !important; }
html body .sg-device-glow { display: none !important; }
html body .sg-network-node { animation: none !important; }

/* El rojo sale de los titulares: la parte destacada queda en el mismo color, un tono más suave */
html body .pf-hero h1 em, html body h2 em, html body .shop-hero h1 span,
html body .sg-section h2 > span, html body .bf-emphasis {
  color: inherit !important; -webkit-text-fill-color: currentColor !important;
  background: none !important; font-style: normal !important; opacity: 0.72;
}

/* Etiquetas sobre fondo oscuro: legibles, con el punto de "última posición" */
html body .page-hero .eyebrow, html body .pf-hero .eyebrow, html body .sg-hero .sg-eyebrow,
html body .kt-sim-hero .eyebrow, html body .shop-hero .eyebrow, html body .cp-hero .eyebrow,
html body .pf-hero .kt-tech-eyebrow { color: #a6b0c3 !important; }
html body .page-hero .eyebrow::before, html body .pf-hero .eyebrow::before, html body .sg-hero .sg-eyebrow::before,
html body .kt-sim-hero .eyebrow::before, html body .shop-hero .eyebrow::before, html body .cp-hero .eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--u-red); box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.18);
  margin-right: 12px; vertical-align: 0.1em;
}

/* Etiquetas: sin mayúsculas espaciadas ni pastillas */
html body .sg-eyebrow, html body .kt-tech-eyebrow, html body .sg-plan-label, html body .kt-route-kicker,
html body .kt-live-label, html body .kt-featured-label, html body .sg-cal-demo, html body .sg-network-label,
html body label.label, html body .shop-image > span, html body .kt-console-label {
  text-transform: none !important; letter-spacing: 0 !important; background: none !important;
  border: 0 !important; box-shadow: none !important; font-weight: 500 !important;
}
html body .sg-eyebrow, html body .kt-tech-eyebrow { padding: 0 !important; font-size: 15px !important; color: var(--u-ink-2) !important; }
html body .sg-eyebrow .dot, html body .kt-tech-eyebrow .dot { display: none !important; }
html body .sg-hero .sg-eyebrow, html body .pf-hero .kt-tech-eyebrow { color: #a6b0c3 !important; }
html body .sg-plan-label, html body .kt-route-kicker, html body .kt-featured-label { color: var(--u-ink-3) !important; }
html body label.label { font-size: 14px !important; color: var(--u-ink) !important; }
html body .tl-year { color: var(--u-ink-2) !important; font-variant-numeric: tabular-nums; }

/* Detalles: botones con radio de control */
html body .btn-outline, html body .btn-ghost, html body .btn-primary, html body .pf-cta a { border-radius: 10px !important; }

/* ======================================================================
   Ajustes para teléfono y detalles finales (2026-11-19)
   ====================================================================== */

/* "Explorar →" en una sola línea */
html body .kt-solution-link { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
html body .kt-solution-link svg { width: 14px !important; height: 14px !important; flex: none; }

/* Etiqueta de testimonios y etiquetas de formulario: tranquilas, en minúsculas */
html body .kt-client-card > span { color: var(--u-ink-3) !important; font-size: 13px !important; font-weight: 500 !important; }
html body form label, html body .field label { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important; color: var(--u-ink) !important; }

/* Íconos de nosotros sin fondos de color */
html body section .icon { background: var(--u-surface) !important; color: var(--u-ink-2) !important; border: 1px solid var(--u-line) !important; box-shadow: none !important; }
html body section .icon svg { color: var(--u-ink-2) !important; stroke: currentColor !important; }

/* Ningún texto de lectura por debajo de 11 px */
html body .wl-item span, html body .wl-item small, html body .home-wl-brand { font-size: 12px !important; }
html body .kt-route-kicker, html body .sg-plan-label, html body .sg-caption, html body .sg-cal-note,
html body .ka-caption, html body .kt-console-caption { font-size: 12px !important; }

@media (max-width: 760px) {
  /* Botones flotantes más pequeños y pegados al borde, para que tapen menos */
  html body .audio-fab { width: 36px !important; height: 36px !important; left: 12px !important; bottom: 12px !important; }
  html body .chat-widget { right: 12px !important; bottom: 12px !important; }
  html body .chat-fab, html body .wa-float { width: 46px !important; height: 46px !important; }
  html body .wa-float { right: 12px !important; bottom: 12px !important; }
  html body .chat-fab svg, html body .wa-float svg { width: 20px !important; height: 20px !important; }
  html body .footer { padding-bottom: 72px !important; }

  /* Cierre alineado a la izquierda, con el punto en su línea */
  html body .cta-band, html body .cta-band * { text-align: left !important; }
  html body .cta-band h2::before { margin: 0 0 16px 4px !important; }
  html body .cta-band .btn { align-self: flex-start !important; }
}

/* ======================================================================
   Página 404 — misma dirección
   ====================================================================== */
html body .error-404 { background: var(--u-night) !important; background-image: none !important; }
html body .error-404::before, html body .error-404::after { display: none !important; }
html body .error-404-code { background: none !important; -webkit-text-fill-color: #f3f6fb !important; color: #f3f6fb !important; font-weight: 600 !important; letter-spacing: -0.03em !important; }
html body .error-404 .eyebrow { color: #a6b0c3 !important; }
html body .error-404 .eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--u-red); box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.18); margin-right: 12px; vertical-align: 0.1em; }
html body .error-404-icon { box-shadow: none !important; }
html body .error-404 h1 { color: #f3f6fb !important; }

/* Equipo (nosotros): iniciales, cargos y contactos en neutro */
html body .team-card .avatar { background: var(--u-surface) !important; background-image: none !important; color: var(--u-ink) !important; border: 1px solid var(--u-line) !important; box-shadow: none !important; }
html body .team-role { color: var(--u-ink-3) !important; font-weight: 500 !important; }
html body .team-contact { color: var(--u-ink-2) !important; background: none !important; border-color: var(--u-line) !important; }
html body .team-contact svg { color: var(--u-ink-3) !important; }

/* ======================================================================
   Revisión final de páginas internas (2026-11-19)
   ====================================================================== */
/* Banda final de producto y knox-mobile: texto legible sobre el azul marino */
html body .pf-cta p { color: #a6b0c3 !important; }
html body .pf-cta h2, html body .pf-cta h3 { color: #f3f6fb !important; }
html body .pf-cta a:not(.btn-primary), html body .pf-cta .btn:not(.btn-primary) { color: #f3f6fb !important; border-color: rgba(255,255,255,0.20) !important; background: transparent !important; }
/* Etiquetas numeradas de las tarjetas: gris, sin mayúsculas espaciadas */
html body article > span { color: var(--u-ink-3) !important; letter-spacing: 0 !important; text-transform: none !important; }
/* Sistema de gestión: números e íconos de tarjeta en neutro */
html body .sg-card > b { color: var(--u-ink-3) !important; }
html body h4 { font-weight: 600 !important; }
/* Tienda: "Precio a cotizar" en el color del texto */
html body .shop-card-bottom strong { color: var(--u-ink) !important; }
/* Compatibilidad: 24 botones rojos → botón secundario; marcas sin mayúsculas */
html body .cp-card .btn { background: transparent !important; color: var(--u-ink) !important; border: 1px solid rgba(23,32,50,0.16) !important; box-shadow: none !important; }
html body .cp-card .btn:hover { border-color: var(--u-ink) !important; }
html body .cp-brand { text-transform: none !important; letter-spacing: 0 !important; }
/* Knox Mobile: íconos sin fondo celeste */
html body .sos-icon { background: var(--u-surface) !important; color: var(--u-ink-2) !important; border: 1px solid var(--u-line) !important; }
html body .sos-icon svg { color: var(--u-ink-2) !important; stroke: currentColor !important; }
