/**
 * ==============================================================================
 * KAIPERKIT - NUEVO SISTEMA DE DISEÑO CLARO (kk.css)
 * ==============================================================================
 * Inspirado en la estética moderna, limpia y de alto contraste de FlexiProject.
 * Diseñado desde cero para máxima velocidad (Core Web Vitals), accesibilidad y SEO.
 * Sin dependencias del antiguo style.css.
 * 
 * Version: 2.5 (Light Theme)
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & PALETA DE COLOR
   ------------------------------------------------------------------------------ */
:root {
  /* Tipografía */
  --kk-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --kk-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --kk-font-mono: 'JetBrains Mono', monospace;

  /* Superficies y Fondos */
  --kk-bg-main: #ffffff;
  --kk-bg-subtle: #f8fafc;
  --kk-bg-alt: #f1f5f9;
  --kk-surface: #ffffff;
  --kk-surface-hover: #f9fbfd;
  --kk-border: #e2e8f0;
  --kk-border-subtle: #edf2f7;

  /* Colores Principales (FlexiProject Blue + KaiperKit Science) */
  --kk-primary: #0284c7;             /* Azul cielo cian corporativo */
  --kk-primary-dark: #0369a1;
  --kk-primary-light: #e0f2fe;
  --kk-accent: #2563eb;              /* Azul eléctrico Flexi */
  --kk-accent-hover: #1d4ed8;
  --kk-blue-cta: #0077ff;            /* Azul botón píldora */
  --kk-blue-cta-hover: #0066ee;

  /* Tipografía & Textos (Alto contraste WCAG AAA) */
  --kk-text-heading: #0f172a;        /* Slate 900 */
  --kk-text-body: #334155;           /* Slate 700 */
  --kk-text-muted: #64748b;          /* Slate 500 */
  --kk-text-light: #94a3b8;          /* Slate 400 */

  /* Acentos de Estado y Módulos Científicos */
  --kk-emerald: #10b981;
  --kk-emerald-bg: #ecfdf5;
  --kk-emerald-text: #047857;
  --kk-amber: #f59e0b;
  --kk-amber-bg: #fffbeb;
  --kk-amber-text: #b45309;
  --kk-purple: #8b5cf6;
  --kk-purple-bg: #f5f3ff;
  --kk-purple-text: #6d28d9;
  --kk-rose: #f43f5e;
  --kk-rose-bg: #fff1f2;

  /* Blueprint Grid & Iluminación */
  --kk-grid-line: rgba(226, 232, 240, 0.7);
  --kk-grid-size: 40px;
  --kk-hero-glow: radial-gradient(circle at 65% 25%, rgba(186, 230, 253, 0.45) 0%, rgba(219, 234, 254, 0.2) 45%, rgba(255, 255, 255, 0) 70%);

  /* Sombras Modernas Multicapa */
  --kk-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --kk-shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --kk-shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --kk-shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --kk-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.14);
  --kk-shadow-float: 0 30px 60px -15px rgba(37, 99, 235, 0.12), 0 15px 30px -10px rgba(15, 23, 42, 0.08);

  /* Radio de Esquinas */
  --kk-radius-sm: 6px;
  --kk-radius-md: 10px;
  --kk-radius-lg: 16px;
  --kk-radius-xl: 24px;
  --kk-radius-pill: 9999px;

  /* Transiciones */
  --kk-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------------------
   2. RESET LIMPIO & CONFIGURACIÓN BASE
   ------------------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--kk-bg-main);
  color: var(--kk-text-body);
  font-family: var(--kk-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--kk-transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  vertical-align: middle;
  display: inline-block;
}

.kk-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ------------------------------------------------------------------------------
   3. CABECERA & BARRA DE NAVEGACIÓN (TEMA CLARO TRANSLÚCIDO)
   ------------------------------------------------------------------------------ */
.kk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--kk-transition);
}

.kk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Marca / Logo */
.kk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--kk-font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--kk-text-heading);
  letter-spacing: -0.02em;
}

.kk-brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.kk-brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 8px;
  border-radius: var(--kk-radius-pill);
  border: 1px solid #bfdbfe;
  margin-left: 4px;
  letter-spacing: 0.02em;
}

/* Enlaces del Menú */
.kk-nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.kk-nav-item {
  position: relative;
}

.kk-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--kk-text-body);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  transition: var(--kk-transition);
}

.kk-nav-link:hover,
.kk-nav-link.active {
  color: var(--kk-accent);
}

.kk-nav-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.kk-nav-item:hover .kk-nav-arrow {
  transform: rotate(225deg) translateY(-2px);
}

/* Menús Desplegables (Dropdowns) */
.kk-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-lg);
  padding: 12px;
  min-width: 290px;
  box-shadow: var(--kk-shadow-xl);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--kk-transition);
  z-index: 110;
}

.kk-nav-item:hover .kk-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.kk-dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--kk-radius-md);
  transition: background 0.15s ease;
}

.kk-dropdown-item:hover {
  background: var(--kk-bg-subtle);
}

.kk-dropdown-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--kk-text-heading);
  font-weight: 700;
  margin-bottom: 2px;
}

.kk-dropdown-item span {
  display: block;
  font-size: 12px;
  color: var(--kk-text-muted);
}

/* Acciones Derecha (Idioma, Login, Botón Demo Píldora) */
.kk-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kk-lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kk-text-body);
  padding: 6px 12px;
  border-radius: var(--kk-radius-pill);
  border: 1px solid var(--kk-border);
  background: #ffffff;
  transition: var(--kk-transition);
}

.kk-lang-switch:hover {
  background: var(--kk-bg-subtle);
  border-color: #cbd5e1;
}

.kk-btn-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--kk-text-heading);
  padding: 8px 14px;
  border-radius: var(--kk-radius-pill);
  transition: color 0.2s ease;
}

.kk-btn-login:hover {
  color: var(--kk-accent);
}

.kk-btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--kk-blue-cta);
  background: linear-gradient(135deg, #0077ff 0%, #0066ee 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--kk-radius-pill);
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.32);
  transition: var(--kk-transition);
}

.kk-btn-pill-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.42);
  background: linear-gradient(135deg, #0570f0 0%, #005bd4 100%);
}

/* ------------------------------------------------------------------------------
   4. HERO PRINCIPAL: BLUEPRINT GRID & LAYOUT 2 COLUMNAS
   ------------------------------------------------------------------------------ */
.kk-hero-flexi {
  position: relative;
  background-color: var(--kk-bg-main);
  background-image: 
    linear-gradient(to right, var(--kk-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--kk-grid-line) 1px, transparent 1px);
  background-size: var(--kk-grid-size) var(--kk-grid-size);
  background-position: center top;
  overflow: hidden;
  padding-top: 36px;
  padding-bottom: 90px;
}

.kk-hero-flexi::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 600px;
  background: var(--kk-hero-glow);
  pointer-events: none;
  z-index: 1;
}

.kk-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}

/* Columna Izquierda: Copywriting & CTAs */
.kk-hero-left {
  max-width: 580px;
}

.kk-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--kk-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.kk-badge-dot-live {
  width: 7px;
  height: 7px;
  background: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.22);
}

.kk-hero-h1 {
  font-family: var(--kk-font-heading);
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--kk-text-heading);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.kk-text-gradient-blue {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.kk-hero-desc {
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--kk-text-body);
  margin-bottom: 32px;
}

.kk-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.kk-btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--kk-blue-cta);
  color: #ffffff !important;
  font-family: var(--kk-font-heading);
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--kk-radius-pill);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.32);
  transition: var(--kk-transition);
}

.kk-btn-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 119, 255, 0.44);
  background: var(--kk-blue-cta-hover);
}

.kk-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--kk-text-heading);
  border: 1px solid var(--kk-border);
  font-family: var(--kk-font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--kk-radius-pill);
  box-shadow: var(--kk-shadow-xs);
  transition: var(--kk-transition);
}

.kk-btn-cta-secondary:hover {
  background: var(--kk-bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.kk-icon-circle-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kk-accent);
  font-size: 11px;
}

.kk-hero-trust-bullets {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--kk-text-muted);
  font-weight: 500;
  flex-wrap: wrap;
}

.kk-trust-bullet {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kk-trust-check {
  color: var(--kk-emerald);
  font-weight: 800;
}

/* ------------------------------------------------------------------------------
   5. TARJETA DE SOFTWARE FLOTANTE (SHOWCASE PRODUCTO FLEXIPROJECT)
   ------------------------------------------------------------------------------ */
.kk-dashboard-window {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--kk-shadow-float);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.kk-dashboard-window:hover {
  transform: translateY(-3px);
}

.kk-window-topbar {
  background: #f8fafc;
  border-bottom: 1px solid var(--kk-border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kk-window-dots {
  display: flex;
  gap: 6px;
}

.kk-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.kk-dot-red { background: #ff5f56; }
.kk-dot-yellow { background: #ffbd2e; }
.kk-dot-green { background: #27c93f; }

.kk-window-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--kk-text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.kk-badge-status-green {
  font-size: 11px;
  font-weight: 700;
  color: var(--kk-emerald-text);
  background: var(--kk-emerald-bg);
  padding: 2px 8px;
  border-radius: var(--kk-radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Pestañas de Vista (Tabs) */
.kk-mockup-tabs {
  display: flex;
  border-bottom: 1px solid var(--kk-border);
  background: #ffffff;
  padding: 0 16px;
  overflow-x: auto;
}

.kk-tab-btn {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kk-text-muted);
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--kk-transition);
  white-space: nowrap;
}

.kk-tab-btn.active {
  color: var(--kk-accent);
  border-bottom-color: var(--kk-accent);
  font-weight: 700;
}

.kk-tab-btn:hover:not(.active) {
  color: var(--kk-text-heading);
}

.kk-tab-pane {
  display: none;
  padding: 16px;
  background: #ffffff;
}

.kk-tab-pane.active {
  display: block;
}

/* Vista 1: Gantt Schedule */
.kk-gantt-header {
  display: grid;
  grid-template-columns: 210px 1fr;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--kk-text-light);
  padding: 8px 12px;
  background: var(--kk-bg-subtle);
  border-radius: var(--kk-radius-md);
  margin-bottom: 8px;
}

.kk-gantt-quarters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.kk-gantt-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  transition: background 0.15s ease;
}

.kk-gantt-item:hover {
  background: var(--kk-bg-subtle);
}

.kk-task-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kk-task-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kk-task-name {
  font-weight: 600;
  color: var(--kk-text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kk-task-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.kk-chip-paper { background: #eff6ff; color: #1d4ed8; }
.kk-chip-clinical { background: var(--kk-emerald-bg); color: var(--kk-emerald-text); }
.kk-chip-grant { background: var(--kk-amber-bg); color: var(--kk-amber-text); }
.kk-chip-thesis { background: var(--kk-purple-bg); color: var(--kk-purple-text); }

.kk-gantt-track {
  position: relative;
  height: 24px;
  background: #f8fafc;
  border-radius: 6px;
  overflow: hidden;
}

.kk-gantt-bar {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.kk-bar-blue { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.kk-bar-cyan { background: linear-gradient(90deg, #06b6d4, #0284c7); }
.kk-bar-emerald { background: linear-gradient(90deg, #10b981, #059669); }
.kk-bar-purple { background: linear-gradient(90deg, #a855f7, #7c3aed); }

/* Vista 2: Grafo Conectado Claro (Identidad Científica KaiperKit) */
.kk-graph-view {
  background: #fbfcfe;
  border: 1px solid #edf2f7;
  border-radius: var(--kk-radius-md);
  padding: 24px 16px;
  position: relative;
  min-height: 290px;
}

.kk-graph-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 2px solid var(--kk-primary);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
  z-index: 3;
  text-align: center;
  min-width: 190px;
}

.kk-graph-center span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--kk-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kk-graph-center strong {
  display: block;
  font-size: 13.5px;
  color: var(--kk-text-heading);
}

.kk-graph-node {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: var(--kk-shadow-xs);
  z-index: 3;
  transition: var(--kk-transition);
  min-width: 120px;
}

.kk-graph-node:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--kk-shadow-md);
}

.kk-graph-node small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--kk-text-muted);
  text-transform: uppercase;
}

.kk-graph-node strong {
  display: block;
  font-size: 12px;
  color: var(--kk-text-heading);
}

.kk-node-tl { top: 20px; left: 24px; }
.kk-node-tr { top: 20px; right: 24px; }
.kk-node-bl { bottom: 20px; left: 24px; }
.kk-node-br { bottom: 20px; right: 24px; }

.kk-graph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.kk-graph-bottom-meta {
  display: flex;
  justify-content: space-around;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--kk-border-subtle);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kk-text-muted);
}

/* ------------------------------------------------------------------------------
   6. BANDA "TRUSTED BY" (PRUEBA SOCIAL INSTITUCIONAL)
   ------------------------------------------------------------------------------ */
.kk-trusted-bar {
  padding: 38px 0 50px;
  border-bottom: 1px solid var(--kk-border);
  background: #ffffff;
  text-align: center;
}

.kk-trusted-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kk-text-light);
  margin-bottom: 24px;
}

.kk-trusted-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.75;
}

.kk-trusted-item {
  font-family: var(--kk-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.kk-trusted-item:hover {
  opacity: 1;
  color: var(--kk-text-heading);
}

/* ------------------------------------------------------------------------------
   7. SECCIÓN BENTO & VALOR CIENTÍFICO (EL PROBLEMA DE LA FRAGMENTACIÓN)
   ------------------------------------------------------------------------------ */
.kk-section-sp {
  padding: 96px 0;
}

.kk-bg-light-tint {
  background-color: var(--kk-bg-subtle);
}

.kk-section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.kk-section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kk-section-tag {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kk-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.kk-section-title {
  font-family: var(--kk-font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--kk-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.kk-section-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--kk-text-body);
}

.kk-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kk-bento-card {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  padding: 32px 28px;
  box-shadow: var(--kk-shadow-xs);
  transition: var(--kk-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kk-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kk-shadow-lg);
  border-color: #cbd5e1;
}

.kk-bento-num {
  font-family: var(--kk-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--kk-primary);
  background: var(--kk-primary-light);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.kk-bento-card h3 {
  font-family: var(--kk-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.kk-bento-card p {
  font-size: 15px;
  color: var(--kk-text-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------------------------
   8. LOS 6 PILARES DE KAIPERKIT (CAPACIDADES DEL PRODUCTO)
   ------------------------------------------------------------------------------ */
.kk-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kk-feature-box {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  padding: 32px;
  box-shadow: var(--kk-shadow-xs);
  transition: var(--kk-transition);
  position: relative;
}

.kk-feature-box:hover {
  border-color: #93c5fd;
  box-shadow: var(--kk-shadow-lg);
  transform: translateY(-3px);
}

.kk-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--kk-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.kk-feature-box h3 {
  font-family: var(--kk-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.kk-feature-box p {
  font-size: 14.5px;
  color: var(--kk-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.kk-feature-anchor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kk-accent);
  transition: gap 0.2s ease;
}

.kk-feature-anchor:hover {
  color: var(--kk-accent-hover);
  gap: 9px;
}

/* ------------------------------------------------------------------------------
   9. CALCULADORA INTERACTIVA DE ROI & EFICIENCIA
   ------------------------------------------------------------------------------ */
.kk-calculator-card {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  padding: 40px;
  box-shadow: var(--kk-shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.kk-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.kk-slider-label {
  font-weight: 600;
  color: var(--kk-text-heading);
  font-size: 15px;
}

.kk-slider-output {
  font-family: var(--kk-font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--kk-accent);
}

.kk-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

.kk-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--kk-accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  border: 2px solid #ffffff;
}

.kk-calc-display {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--kk-radius-lg);
  padding: 28px;
  text-align: center;
}

.kk-calc-number {
  font-family: var(--kk-font-heading);
  font-size: 44px;
  font-weight: 900;
  color: var(--kk-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.kk-calc-subtitle {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--kk-text-heading);
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------------------
   10. ACORDEÓN DE PREGUNTAS FRECUENTES (SEO FAQ ACCORDION)
   ------------------------------------------------------------------------------ */
.kk-faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.kk-faq-row {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.kk-faq-row:hover {
  border-color: #cbd5e1;
}

.kk-faq-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--kk-font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--kk-text-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kk-faq-caret {
  font-size: 13px;
  color: var(--kk-text-muted);
  transition: transform 0.2s ease;
}

.kk-faq-row.active .kk-faq-caret {
  transform: rotate(180deg);
  color: var(--kk-accent);
}

.kk-faq-body {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 15px;
  color: var(--kk-text-body);
  line-height: 1.7;
}

.kk-faq-row.active .kk-faq-body {
  display: block;
}

/* ------------------------------------------------------------------------------
   11. BANNER FINAL DE CONVERSIÓN (HIGH-CONVERSION CTA)
   ------------------------------------------------------------------------------ */
.kk-cta-card {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-radius: var(--kk-radius-xl);
  padding: 64px 48px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -10px rgba(37, 99, 235, 0.35);
  margin-bottom: 96px;
}

.kk-cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.kk-cta-card h2 {
  font-family: var(--kk-font-heading);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.kk-cta-card p {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
  color: #e0f2fe;
  line-height: 1.6;
}

.kk-btn-white-pill {
  background: #ffffff;
  color: #0369a1 !important;
  font-family: var(--kk-font-heading);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--kk-radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: var(--kk-transition);
  display: inline-block;
}

.kk-btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  color: #0284c7 !important;
}

/* ------------------------------------------------------------------------------
   12. FOOTER (TEMA CLARO & RASTREABILIDAD SEO COMPLETA)
   ------------------------------------------------------------------------------ */
.kk-footer-light {
  background: #f8fafc;
  border-top: 1px solid var(--kk-border);
  padding: 72px 0 36px;
  color: var(--kk-text-muted);
  font-size: 14px;
}

.kk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.kk-footer-col h4 {
  font-family: var(--kk-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kk-text-heading);
  margin-bottom: 18px;
}

.kk-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kk-footer-links a:hover {
  color: var(--kk-accent);
}

.kk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--kk-border);
  font-size: 13px;
}

/* ------------------------------------------------------------------------------
   13. MEDIA QUERIES & RESPONSIVIDAD
   ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .kk-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kk-bento-grid,
  .kk-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kk-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kk-calculator-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kk-nav-list {
    display: none;
  }
  .kk-hero-flexi {
    padding-top: 24px;
    padding-bottom: 60px;
  }
  .kk-bento-grid,
  .kk-features-grid {
    grid-template-columns: 1fr;
  }
  .kk-cta-card {
    padding: 44px 24px;
  }
}

@media (max-width: 480px) {
  .kk-hero-h1 {
    font-size: 30px;
  }
  .kk-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------------------
   14. BOTÓN HAMBURGUESA & CAJÓN DE NAVEGACIÓN MÓVIL
   ------------------------------------------------------------------------------ */
.kk-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--kk-border);
  background: #ffffff;
  padding: 8px;
  cursor: pointer;
  transition: var(--kk-transition);
}

.kk-mobile-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--kk-text-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.kk-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.kk-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.kk-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  .kk-mobile-toggle {
    display: flex;
  }
}

.kk-mobile-drawer {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--kk-border);
  box-shadow: var(--kk-shadow-xl);
  overflow-y: auto;
  max-height: calc(100vh - 72px);
  transition: all 0.3s ease;
}

.kk-mobile-drawer[hidden] {
  display: none;
}

.kk-mobile-drawer-inner {
  padding: 24px 20px 32px;
  max-width: 600px;
  margin: 0 auto;
}

.kk-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kk-mobile-link {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--kk-text-heading);
  padding: 10px 14px;
  border-radius: var(--kk-radius-md);
  transition: background 0.15s ease;
}

.kk-mobile-link:hover {
  background: var(--kk-bg-subtle);
  color: var(--kk-accent);
}

.kk-mobile-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 28px;
  margin-top: 2px;
  margin-bottom: 8px;
}

.kk-mobile-sublinks a {
  font-size: 13.5px;
  color: var(--kk-text-muted);
  padding: 6px 12px;
  border-radius: var(--kk-radius-sm);
  transition: color 0.15s ease;
}

.kk-mobile-sublinks a:hover {
  color: var(--kk-accent);
}

.kk-mobile-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kk-text-light);
  padding: 8px 14px 4px;
  display: block;
}

.kk-mobile-divider {
  height: 1px;
  background: var(--kk-border-subtle);
  margin: 10px 0;
}

.kk-mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--kk-bg-subtle);
  border: 1px solid var(--kk-border);
}

.kk-mobile-actions {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--kk-border);
}

/* ------------------------------------------------------------------------------
   15. BANNER & MODAL DE COOKIES (TEMA CLARO ELEGANTE)
   ------------------------------------------------------------------------------ */
.kk-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18);
  padding: 24px 28px;
  animation: kkFadeUp 0.3s ease;
}

.kk-cookie-banner[hidden] {
  display: none;
}

@keyframes kkFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.kk-cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.kk-cookie-banner-content h2 {
  font-family: var(--kk-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--kk-text-heading);
  margin-bottom: 6px;
}

.kk-cookie-banner-content p {
  font-size: 13.5px;
  color: var(--kk-text-body);
  line-height: 1.55;
}

.kk-cookie-banner-content a {
  color: var(--kk-accent);
  text-decoration: underline;
  font-weight: 600;
}

.kk-cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.kk-cookie-btn {
  font-family: var(--kk-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--kk-radius-pill);
  transition: var(--kk-transition);
  cursor: pointer;
}

.kk-cookie-btn-primary {
  background: var(--kk-blue-cta);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.28);
}

.kk-cookie-btn-primary:hover {
  background: var(--kk-blue-cta-hover);
  transform: translateY(-1px);
}

.kk-cookie-btn-secondary {
  background: #ffffff;
  color: var(--kk-text-heading);
  border: 1px solid var(--kk-border);
}

.kk-cookie-btn-secondary:hover {
  background: var(--kk-bg-subtle);
  border-color: #cbd5e1;
}

.kk-footer-cookie-link {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.kk-footer-cookie-link:hover {
  color: var(--kk-accent);
}

/* Modal de Configuración */
.kk-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kk-cookie-modal[hidden] {
  display: none;
}

.kk-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.kk-cookie-modal-dialog {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: var(--kk-shadow-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.kk-cookie-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--kk-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kk-cookie-modal-header h2 {
  font-family: var(--kk-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--kk-text-heading);
}

.kk-cookie-modal-close {
  font-size: 24px;
  line-height: 1;
  color: var(--kk-text-muted);
  cursor: pointer;
  padding: 4px;
}

.kk-cookie-modal-close:hover {
  color: var(--kk-text-heading);
}

.kk-cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kk-cookie-modal-intro {
  font-size: 13.5px;
  color: var(--kk-text-body);
  line-height: 1.6;
}

.kk-cookie-group {
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-md);
  padding: 16px;
  background: var(--kk-bg-subtle);
}

.kk-cookie-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.kk-cookie-group-header h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-bottom: 4px;
}

.kk-cookie-group-header p {
  font-size: 12.5px;
  color: var(--kk-text-muted);
  line-height: 1.5;
}

.kk-cookie-badge-always {
  font-size: 11px;
  font-weight: 700;
  color: var(--kk-emerald-text);
  background: var(--kk-emerald-bg);
  padding: 4px 10px;
  border-radius: var(--kk-radius-pill);
  white-space: nowrap;
}

/* Switch Toggle */
.kk-cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.kk-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.kk-cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  border-radius: 24px;
  transition: 0.2s ease;
}

.kk-cookie-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.kk-cookie-switch input:checked + .kk-cookie-slider {
  background-color: var(--kk-accent);
}

.kk-cookie-switch input:checked + .kk-cookie-slider::before {
  transform: translateX(20px);
}

.kk-cookie-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--kk-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--kk-bg-subtle);
}

@media (max-width: 768px) {
  .kk-cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .kk-cookie-banner-actions {
    justify-content: stretch;
  }
  .kk-cookie-banner-actions .kk-cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ------------------------------------------------------------------------------
   17. SECCIÓN ¿QUÉ ES KAIPERKIT? & ¿QUÉ HACE KAIPERKIT? (GRID 2 COLUMNAS)
   ------------------------------------------------------------------------------ */
.kk-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.kk-two-col-grid.kk-grid-reversed {
  grid-template-columns: 1fr 1fr;
}

.kk-badge-pill-subtle {
  background: var(--kk-primary-light);
  color: var(--kk-primary-dark);
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 20px;
}

.kk-lead-p {
  font-size: 17.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--kk-text-heading);
  margin-bottom: 16px;
}

.kk-text-secondary {
  font-size: 15px;
  line-height: 1.65;
  color: var(--kk-text-body);
  margin-bottom: 28px;
}

/* Bullets de Valor */
.kk-value-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.kk-value-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.kk-point-icon {
  font-size: 20px;
  line-height: 1;
  padding: 10px;
  background: var(--kk-bg-subtle);
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-md);
  flex-shrink: 0;
}

.kk-value-point-item strong {
  display: block;
  font-size: 15px;
  color: var(--kk-text-heading);
  font-weight: 700;
  margin-bottom: 2px;
}

.kk-value-point-item span {
  font-size: 13.5px;
  color: var(--kk-text-muted);
  line-height: 1.5;
}

/* Tarjeta Visual / Software Preview Box */
.kk-visual-card {
  position: relative;
  width: 100%;
}

.kk-software-preview-box {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: var(--kk-shadow-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--kk-transition);
}

.kk-software-preview-box:hover {
  box-shadow: var(--kk-shadow-float);
  border-color: #cbd5e1;
}

.kk-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--kk-border-subtle);
}

.kk-preview-chip {
  font-family: var(--kk-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--kk-primary-dark);
  background: var(--kk-primary-light);
  padding: 4px 10px;
  border-radius: var(--kk-radius-pill);
}

.kk-preview-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--kk-emerald-text);
  background: var(--kk-emerald-bg);
  padding: 3px 8px;
  border-radius: var(--kk-radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
}

.kk-preview-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--kk-emerald);
  border-radius: 50%;
}

/* Capas del Esquema Relacional */
.kk-schema-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kk-layer {
  background: var(--kk-bg-subtle);
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-md);
  padding: 14px 18px;
  transition: var(--kk-transition);
}

.kk-layer:hover {
  background: #ffffff;
  border-color: var(--kk-accent);
  box-shadow: var(--kk-shadow-sm);
  transform: translateY(-2px);
}

.kk-layer-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--kk-text-light);
  margin-bottom: 4px;
}

.kk-layer-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-bottom: 8px;
}

.kk-layer-nodes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.kk-node-pill {
  font-size: 11.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  padding: 2px 8px;
  border-radius: var(--kk-radius-pill);
  color: var(--kk-text-body);
}

.kk-layer-strategy { border-left: 4px solid var(--kk-primary); }
.kk-layer-execution { border-left: 4px solid var(--kk-emerald); }
.kk-layer-results { border-left: 4px solid var(--kk-purple); }

.kk-layer-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 24px;
}

.kk-connector-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--kk-border);
  z-index: 1;
}

.kk-connector-badge {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  padding: 1px 8px;
  border-radius: 99px;
  color: var(--kk-text-muted);
}

.kk-preview-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--kk-border-subtle);
  text-align: center;
}

.kk-preview-metric strong {
  display: block;
  font-family: var(--kk-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--kk-text-heading);
}

.kk-preview-metric span {
  font-size: 11px;
  color: var(--kk-text-muted);
  font-weight: 600;
}

/* ------------------------------------------------------------------------------
   18. SECCIÓN ¿QUÉ HACE KAIPERKIT? (FLUJO OPERACIONAL & CHECKLIST)
   ------------------------------------------------------------------------------ */
.kk-operations-flow-card {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: var(--kk-shadow-lg);
  padding: 28px;
}

.kk-op-flow-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--kk-border-subtle);
}

.kk-op-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--kk-text-heading);
}

.kk-op-live-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--kk-accent);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: var(--kk-radius-pill);
}

.kk-flow-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kk-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--kk-bg-subtle);
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-md);
  padding: 12px 14px;
  transition: var(--kk-transition);
}

.kk-flow-step:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateX(4px);
  box-shadow: var(--kk-shadow-sm);
}

.kk-step-num {
  width: 28px;
  height: 28px;
  background: var(--kk-accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kk-step-info {
  flex: 1;
}

.kk-step-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-bottom: 2px;
}

.kk-step-info p {
  font-size: 12px;
  color: var(--kk-text-muted);
  line-height: 1.4;
  margin: 0;
}

.kk-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--kk-radius-pill);
  flex-shrink: 0;
}

.kk-status-active { background: #dbeafe; color: #1e40af; }
.kk-status-progress { background: #fef3c7; color: #92400e; }
.kk-status-done { background: #dcfce7; color: #166534; }
.kk-status-ready { background: #f3e8ff; color: #6b21a8; }

.kk-checklist-styled {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kk-checklist-styled li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--kk-text-body);
  line-height: 1.5;
}

.kk-check-icon {
  width: 22px;
  height: 22px;
  background: var(--kk-emerald-bg);
  color: var(--kk-emerald-text);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 800;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.kk-actions-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.kk-action-hint {
  font-size: 12.5px;
  color: var(--kk-text-muted);
  font-weight: 500;
}

/* ------------------------------------------------------------------------------
   19. SECCIÓN ¿A QUIÉN VA DIRIGIDO? (INTERACTIVA CON TABS & AUDIENCIAS)
   ------------------------------------------------------------------------------ */
.kk-audiences-hub {
  margin-top: 48px;
}

.kk-audience-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.kk-audience-btn {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-lg);
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  transition: var(--kk-transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kk-audience-btn:hover {
  border-color: var(--kk-accent);
  background: var(--kk-bg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--kk-shadow-sm);
}

.kk-audience-btn.active {
  background: #ffffff;
  border-color: var(--kk-accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15), var(--kk-shadow-md);
}

.kk-audience-btn-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kk-aud-icon {
  font-size: 22px;
  line-height: 1;
}

.kk-aud-name {
  font-family: var(--kk-font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--kk-text-heading);
}

.kk-aud-role {
  font-size: 12px;
  color: var(--kk-text-muted);
  font-weight: 500;
  margin-left: 32px;
}

/* Panel Dinámico de Audiencia */
.kk-audience-pane {
  display: none;
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: var(--kk-shadow-lg);
  padding: 40px;
  animation: kkFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kk-audience-pane.active {
  display: block;
}

@keyframes kkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.kk-audience-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.kk-audience-pain-box {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  border-radius: var(--kk-radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kk-pain-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #e11d48;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.kk-pain-desc {
  font-size: 13.5px;
  color: #9f1239;
  line-height: 1.45;
  margin: 0;
}

.kk-audience-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kk-audience-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--kk-text-body);
  line-height: 1.5;
}

.kk-benefit-bullet {
  color: var(--kk-emerald);
  font-size: 16px;
  line-height: 1.2;
}

/* Tarjeta Lateral de Capacidades Clave */
.kk-audience-side-card {
  background: var(--kk-bg-subtle);
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-lg);
  padding: 28px;
  box-shadow: var(--kk-shadow-xs);
}

.kk-side-card-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kk-text-muted);
  margin-bottom: 16px;
}

.kk-aud-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.kk-aud-feature-item {
  background: #ffffff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-md);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kk-text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.kk-aud-feature-item span {
  color: var(--kk-accent);
}

.kk-aud-quote-box {
  border-top: 1px solid var(--kk-border);
  padding-top: 18px;
  font-size: 13px;
  color: var(--kk-text-body);
  line-height: 1.5;
  font-style: italic;
}

.kk-aud-quote-box strong {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--kk-text-heading);
  margin-top: 8px;
}

/* Banner CTA Integrado (Contacta con nosotros) */
.kk-audiences-cta-strip {
  margin-top: 36px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--kk-radius-xl);
  padding: 32px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.kk-cta-strip-text h3 {
  font-family: var(--kk-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.kk-cta-strip-text p {
  font-size: 14.5px;
  color: #94a3b8;
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

.kk-cta-strip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.kk-btn-strip-contact {
  background: #ffffff;
  color: var(--kk-text-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--kk-radius-pill);
  text-decoration: none;
  transition: var(--kk-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kk-btn-strip-contact:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.kk-btn-strip-demo {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--kk-radius-pill);
  text-decoration: none;
  transition: var(--kk-transition);
}

.kk-btn-strip-demo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
  .kk-two-col-grid,
  .kk-two-col-grid.kk-grid-reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kk-two-col-grid.kk-grid-reversed .kk-two-col-content {
    order: -1;
  }

  .kk-audience-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .kk-audience-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kk-audiences-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .kk-cta-strip-actions {
    width: 100%;
    flex-direction: column;
  }

  .kk-btn-strip-contact,
  .kk-btn-strip-demo {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .kk-audience-nav {
    grid-template-columns: 1fr;
  }

  .kk-audience-pane {
    padding: 24px;
  }

  .kk-software-preview-box,
  .kk-operations-flow-card {
    padding: 20px;
  }
}

/* ------------------------------------------------------------------------------
   18. PÁGINA DE PRODUCTO
   ------------------------------------------------------------------------------ */
.kk-product-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--kk-text-muted); font-size: 13px; font-weight: 600; }
.kk-product-breadcrumb a:hover { color: var(--kk-accent); }
.kk-product-breadcrumb [aria-current="page"] { color: var(--kk-text-heading); }
.kk-product-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  background: var(--kk-hero-glow),
    linear-gradient(to right, var(--kk-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--kk-grid-line) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.kk-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 58px;
}

.kk-product-hero-copy { position: relative; z-index: 1; }
.kk-product-hero .kk-hero-h1 { max-width: 650px; }
.kk-product-hero .kk-hero-desc { max-width: 600px; }
.kk-product-hero-note { color: var(--kk-text-muted); font-size: 13px; font-weight: 600; }

.kk-product-visual {
  background: #fff;
  border: 1px solid var(--kk-border);
  border-radius: var(--kk-radius-xl);
  box-shadow: var(--kk-shadow-float);
  overflow: hidden;
  min-width: 0;
  transform: rotate(1deg);
}

.kk-product-visual-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--kk-border);
  color: var(--kk-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.kk-product-visual-dots { display: flex; gap: 5px; }
.kk-product-visual-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.kk-product-visual-dots i:first-child { background: #fda4af; }
.kk-product-visual-dots i:nth-child(2) { background: #fcd34d; }
.kk-product-visual-dots i:last-child { background: #86efac; }
.kk-product-visual-live { margin-left: auto; color: var(--kk-emerald-text); }
.kk-product-visual-body { padding: 32px; }
.kk-product-visual-intro { display: flex; flex-direction: column; gap: 5px; padding-bottom: 22px; border-bottom: 1px solid var(--kk-border-subtle); }
.kk-product-eyebrow { font-family: var(--kk-font-mono); font-size: 10px; font-weight: 700; letter-spacing: .09em; color: var(--kk-accent); }
.kk-product-visual-intro strong { font: 800 21px/1.3 var(--kk-font-heading); color: var(--kk-text-heading); }
.kk-product-visual-intro small { color: var(--kk-text-muted); font-size: 13px; }
.kk-product-map { margin: 16px 0 22px 14px; padding-left: 20px; border-left: 2px dashed #bfdbfe; }
.kk-product-map-row { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; background: var(--kk-bg-subtle); border: 1px solid var(--kk-border-subtle); border-radius: 12px; padding: 14px; margin: 12px 0; }
.kk-product-map-row::before { content: ''; position: absolute; left: -26px; width: 24px; height: 2px; background: #bfdbfe; }
.kk-product-map-icon { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-size: 12px; font-weight: 800; }
.kk-product-map-blue { background: #dbeafe; color: #1d4ed8; }
.kk-product-map-purple { background: #ede9fe; color: #6d28d9; }
.kk-product-map-cyan { background: #cffafe; color: #0e7490; }
.kk-product-map-row > div { display: flex; flex-direction: column; min-width: 0; }
.kk-product-map-row strong { font-size: 12px; line-height: 1.35; color: var(--kk-text-heading); }
.kk-product-map-row div span { font-size: 11px; color: var(--kk-text-muted); }
.kk-product-map-state { margin-left: auto; white-space: nowrap; font-size: 10px; font-weight: 700; color: var(--kk-primary-dark); }
.kk-product-visual-foot { display: flex; flex-wrap: wrap; gap: 9px; }
.kk-product-visual-foot span { background: #eff6ff; color: var(--kk-primary-dark); padding: 7px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.kk-product-visual-foot b { margin-right: 3px; }

.kk-product-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kk-product-value-card { padding: 32px; border: 1px solid var(--kk-border); border-radius: var(--kk-radius-xl); box-shadow: var(--kk-shadow-xs); background: #fff; }
.kk-product-value-number { color: var(--kk-accent); font-family: var(--kk-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.kk-product-value-card h3 { font: 800 20px/1.3 var(--kk-font-heading); color: var(--kk-text-heading); margin: 22px 0 12px; }
.kk-product-value-card p { color: var(--kk-text-body); font-size: 14.5px; line-height: 1.7; }

.kk-product-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 80px; }
.kk-product-story-copy { max-width: 590px; }
.kk-product-story-detail { margin-top: 20px; color: var(--kk-text-body); line-height: 1.7; }
.kk-product-chain { background: #fff; border: 1px solid var(--kk-border); border-radius: var(--kk-radius-xl); padding: 24px; box-shadow: var(--kk-shadow-lg); }
.kk-product-chain-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid #dbeafe; border-radius: 14px; background: #f8fbff; }
.kk-product-chain-item span { font-family: var(--kk-font-mono); font-size: 10px; font-weight: 700; color: var(--kk-primary-dark); letter-spacing: .05em; }
.kk-product-chain-item strong { color: var(--kk-text-heading); font: 800 17px var(--kk-font-heading); }
.kk-product-chain-item small { color: var(--kk-text-muted); font-size: 12px; }
.kk-product-chain-arrow { height: 28px; text-align: center; color: var(--kk-accent); font-weight: 800; line-height: 28px; }

.kk-product-functions-header { max-width: 790px; }
.kk-product-module-group + .kk-product-module-group { margin-top: 52px; }
.kk-product-group-title { color: var(--kk-text-heading); font: 800 21px var(--kk-font-heading); letter-spacing: -.02em; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--kk-border); }
.kk-product-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kk-product-module-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--kk-border); border-radius: var(--kk-radius-xl); padding: 30px; box-shadow: var(--kk-shadow-xs); transition: var(--kk-transition); }
.kk-product-module-card:hover { transform: translateY(-3px); border-color: #93c5fd; box-shadow: var(--kk-shadow-lg); }
.kk-product-module-number { display: grid; place-items: center; width: 42px; height: 42px; color: var(--kk-accent); background: #eff6ff; border-radius: 11px; font: 700 13px var(--kk-font-mono); margin-bottom: 20px; }
.kk-product-module-card h4 { color: var(--kk-text-heading); font: 800 19px/1.3 var(--kk-font-heading); margin-bottom: 11px; }
.kk-product-module-card p { color: var(--kk-text-body); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.kk-product-module-card .kk-feature-anchor { margin-top: auto; }

.kk-product-work-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.kk-product-work-list { list-style: none; display: grid; gap: 14px; }
.kk-product-work-list li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--kk-border); border-radius: 14px; background: #fff; }
.kk-product-work-list li > span { flex: 0 0 30px; display: grid; place-items: center; height: 30px; border-radius: 50%; background: var(--kk-emerald-bg); color: var(--kk-emerald-text); font-weight: 800; }
.kk-product-work-list strong { color: var(--kk-text-heading); font-size: 15px; }
.kk-product-work-list p { color: var(--kk-text-muted); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }
.kk-product-cta { margin-top: 96px; }
.kk-product #funciones { scroll-margin-top: 72px; }

@media (max-width: 1024px) {
  .kk-product-hero-grid, .kk-product-story, .kk-product-work-grid { grid-template-columns: 1fr; gap: 42px; }
  .kk-product-hero-copy { max-width: 740px; }
  .kk-product-visual { max-width: 690px; transform: none; }
  .kk-product-value-grid, .kk-product-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .kk-product-hero { padding: 52px 0 68px; }
  .kk-product-hero-grid { gap: 30px; }
  .kk-product-value-grid, .kk-product-module-grid { grid-template-columns: 1fr; }
  .kk-product-visual-body { padding: 20px; }
  .kk-product-map-state { display: none; }
  .kk-product-value-card, .kk-product-module-card { padding: 25px; }
  .kk-product-chain { padding: 16px; }
  .kk-product-cta { margin-top: 68px; }
}

/* Navegación móvil: añadir al final, sin alterar los estilos de escritorio. */
.kk-header-demo-short { display: none; }

@media (max-width: 991px) {
  body.kk-mobile-menu-open { overflow: hidden; }
  .kk-header-inner { height: 68px; gap: 8px; }
  .kk-brand { flex-shrink: 0; font-size: 18px; gap: 8px; }
  .kk-brand-icon { width: 34px; height: 34px; font-size: 17px; }
  .kk-brand-badge, .kk-nav, .kk-nav-actions > .kk-lang-switch, .kk-nav-actions > .kk-btn-login { display: none; }
  .kk-nav-actions { margin-left: auto; gap: 8px; }
  .kk-header-demo { min-height: 40px; padding: 9px 15px; font-size: 12.5px; white-space: nowrap; box-shadow: none; }
  .kk-mobile-toggle { display: flex; width: 40px; height: 40px; border: 0; padding: 8px; background: transparent; }
  .kk-mobile-drawer { top: 100%; height: calc(100vh - 68px); height: calc(100dvh - 68px); max-height: none; background: #fff; border-top: 1px solid var(--kk-border); border-bottom: 0; box-shadow: none; overscroll-behavior: contain; }
  .kk-mobile-drawer-inner { display: flex; flex-direction: column; min-height: 100%; max-width: 620px; padding: 16px 20px 20px; }
  .kk-mobile-nav { display: flex; flex-direction: column; gap: 0; }
  .kk-mobile-group, .kk-mobile-row { border-bottom: 1px solid var(--kk-border); }
  .kk-mobile-group summary, .kk-mobile-row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 14px 2px; color: var(--kk-text-heading); font-size: 15.5px; font-weight: 700; line-height: 1.4; }
  .kk-mobile-group summary { cursor: pointer; list-style: none; }
  .kk-mobile-group summary::-webkit-details-marker { display: none; }
  .kk-mobile-chevron { width: 9px; height: 9px; margin-right: 8px; border-right: 1.8px solid #94a3b8; border-bottom: 1.8px solid #94a3b8; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
  .kk-mobile-group[open] .kk-mobile-chevron { transform: rotate(225deg) translate(-2px, -2px); }
  .kk-mobile-group-links { display: grid; padding: 4px 12px 12px; background: var(--kk-bg-subtle); border-radius: 10px; }
  .kk-mobile-group-links a { padding: 10px 8px; color: var(--kk-text-body); font-size: 14px; line-height: 1.35; }
  .kk-mobile-group-links a + a { border-top: 1px solid var(--kk-border-subtle); }
  .kk-mobile-group-links a:hover, .kk-mobile-row:hover { color: var(--kk-accent); }
  .kk-mobile-actions { display: grid; gap: 10px; margin: 32px 0 26px; padding: 0; border: 0; }
  .kk-mobile-cta-main, .kk-mobile-cta-secondary { display: flex; align-items: center; justify-content: center; min-height: 53px; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; }
  .kk-mobile-cta-main { color: #fff; background: linear-gradient(100deg, #3068ff, #20b7df); }
  .kk-mobile-cta-secondary { color: var(--kk-text-heading); border: 1px solid var(--kk-border); background: #fff; }
  .kk-mobile-cta-main:hover { color: #fff; filter: brightness(.96); }
  .kk-mobile-cta-secondary:hover { border-color: #93c5fd; color: var(--kk-accent); }
  .kk-mobile-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--kk-border); }
  .kk-mobile-login { padding: 9px 20px; border: 1px solid var(--kk-border); border-radius: 999px; color: var(--kk-text-heading); font-size: 14px; font-weight: 700; }
  .kk-mobile-language { display: inline-flex; align-items: center; gap: 8px; padding: 9px 4px; color: var(--kk-text-heading); font-size: 14px; font-weight: 700; }
  .kk-mobile-group summary:focus-visible, .kk-mobile-row:focus-visible, .kk-mobile-drawer a:focus-visible, .kk-mobile-toggle:focus-visible { outline: 2px solid var(--kk-accent); outline-offset: 3px; }
}

@media (max-width: 420px) {
  .kk-header-demo-full { display: none; }
  .kk-header-demo-short { display: inline; }
  .kk-header-demo { padding: 9px 14px; }
}

@media (min-width: 992px) {
  .kk-mobile-drawer { display: none !important; }
}

/* Iconos y agrupación para los submenús móviles de Producto y Soluciones. */
.kk-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 991px) {
  .kk-mobile-group-links { padding: 5px 0 17px; background: #fff; border-radius: 0; }
  .kk-mobile-group-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border: 0; border-radius: 10px; color: var(--kk-text-heading); font-size: 14px; font-weight: 500; text-decoration: none; }
  .kk-mobile-group-links a + a { border-top: 0; }
  .kk-mobile-group-links a:hover { background: #f6f9ff; color: var(--kk-accent); }
  .kk-mobile-group-label { display: block; margin: 12px 10px 4px; color: var(--kk-text-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
  .kk-mobile-link-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eaf3ff; color: #3373ee; }
  .kk-mobile-link-icon svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .kk-mobile-group-links a:hover .kk-mobile-link-icon { background: #dfeeff; }
}

/* Los mismos iconos en los desplegables de escritorio. */
@media (min-width: 992px) {
  .kk-dropdown { min-width: 325px; }
  .kk-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px; }
  .kk-dropdown-item .kk-dropdown-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eaf3ff; color: #3373ee; }
  .kk-dropdown-icon svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .kk-dropdown-item:hover .kk-dropdown-icon { background: #dfeeff; }
  .kk-dropdown-item .kk-dropdown-copy { display: block; min-width: 0; }
  .kk-dropdown-item .kk-dropdown-copy span { line-height: 1.4; }
}

/* Acceso al listado completo de funciones desde ambos menús. */
@media (min-width: 992px) {
  .kk-dropdown-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 4px 0; padding: 13px 10px 5px; border-top: 1px solid var(--kk-border); color: var(--kk-accent); font-size: 13px; font-weight: 700; }
  .kk-dropdown-all:hover { color: var(--kk-primary); }
}
@media (max-width: 991px) {
  .kk-mobile-group-links .kk-mobile-all { justify-content: space-between; min-height: 0; margin: 10px 10px 0; padding: 14px 0 4px; border-top: 1px solid var(--kk-border); border-radius: 0; color: var(--kk-accent); font-weight: 700; }
  .kk-mobile-group-links .kk-mobile-all:hover { background: transparent; color: var(--kk-primary); }
}

.kk-section-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kk-blue-cta);
    color: #ffffff !important;
    font-family: var(--kk-font-heading);
    font-size: 15.5px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--kk-radius-pill);
    box-shadow: 0 8px 24px rgba(0, 119, 255, 0.32);
    transition: var(--kk-transition);
  	margin-top: 30px;
}