/* ==========================================================================
   COPROM CLOUD - SISTEMA DE DISEÑO ATÓMICO & ESTILOS (styles.css)
   Arquitectura CSS3 de Vanguardia | Dark Mode Glassmorphism & High-Tech UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Base Oscura (Obsidian Space) */
  --bg-obsidian: #06080f;
  --bg-surface-1: #0b1120;
  --bg-surface-2: #111a2e;
  --bg-surface-3: #18243e;
  --bg-card-glass: rgba(15, 23, 42, 0.72);
  --bg-card-glass-hover: rgba(23, 37, 68, 0.85);

  /* Acentos Cromáticos y Gradientes */
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-indigo-light: #818cf8;
  --accent-purple: #a855f7;
  --accent-purple-light: #c084fc;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-rose: #f43f5e;

  /* Gradientes de Autoridad e Impacto */
  --grad-brand: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #a855f7 100%);
  --grad-brand-alt: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-surface: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  --grad-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  --grad-card-border-active: linear-gradient(135deg, rgba(6, 182, 212, 0.8) 0%, rgba(99, 102, 241, 0.8) 100%);

  /* Tipografía y Escalas */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Textos y Contrastes */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #030712;

  /* Bordes, Sombras y Brillos Glow */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow-cyan: rgba(6, 182, 212, 0.4);
  --border-glow-indigo: rgba(99, 102, 241, 0.4);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow-brand: 0 0 40px -5px rgba(99, 102, 241, 0.35);
  --shadow-glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.4);

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transiciones */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.selection-brand ::selection {
  background: rgba(99, 102, 241, 0.4);
  color: #fff;
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND AMBIENT GLOW & CANVAS
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-top-left {
  top: -150px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0) 70%);
}

.glow-top-right {
  top: 50px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(168, 85, 247, 0) 70%);
  animation-delay: -4s;
}

.glow-center {
  top: 55%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  animation-delay: -8s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, 20px); opacity: 0.55; }
  100% { transform: scale(0.95) translate(-20px, -15px); opacity: 0.35; }
}

.neural-network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   4. ESTRUCTURA Y CONTENEDOR GENERAL
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding-top: 110px;
  padding-bottom: 110px;
}

.bg-dark-secondary {
  background: linear-gradient(180deg, rgba(6, 8, 15, 0) 0%, rgba(11, 17, 32, 0.75) 15%, rgba(11, 17, 32, 0.75) 85%, rgba(6, 8, 15, 0) 100%);
  position: relative;
}

/* --------------------------------------------------------------------------
   5. COMPONENTES ATÓMICOS & UTILIDADES
   -------------------------------------------------------------------------- */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--accent-cyan-light); }
.text-indigo { color: var(--accent-indigo-light); }
.text-emerald { color: var(--accent-emerald-light); }

.glass-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  box-shadow: 0 0 20px -5px rgba(6, 182, 212, 0.25);
}

.pill-badge.pill-purple {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--accent-purple-light);
  box-shadow: 0 0 20px -5px rgba(168, 85, 247, 0.25);
}

.pill-badge.pill-cyan {
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan-light);
}

.pill-badge.pill-emerald {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-center { text-align: center; }

/* Botones Atómicos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.55), 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-glass {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-brand {
  border: 1px solid var(--accent-indigo);
  color: var(--accent-indigo-light);
  background: rgba(99, 102, 241, 0.08);
}

.btn-outline-brand:hover {
  background: var(--accent-indigo);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Indicadores de Estado */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  display: inline-block;
  position: relative;
}

.status-dot.pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.4);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVEGACIÓN ATÓMICA
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 8, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-smooth), border-color var(--transition-smooth), padding var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 8, 15, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

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

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .logo-symbol {
  transform: rotate(5deg) scale(1.08);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan-light);
}

/* Nav Links */
.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.badge-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
}

/* Hamburguesa Móvil */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 105;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(6, 8, 15, 0.98);
  backdrop-filter: blur(25px);
  z-index: 99;
  padding: 32px 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   7. SECCIÓN HERO (HERO SECTION)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Proof Metrics Bar */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  max-width: 620px;
}

.metric-item {
  flex: 1;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.metric-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan-light);
}

.metric-label {
  display: block;
  font-size: 0.785rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Terminal Mockup (Hero Right) */
.terminal-card {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-glow-brand);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(11, 17, 32, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan-light);
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.terminal-line {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.t-prompt {
  color: var(--accent-cyan-light);
  font-weight: 700;
}

.t-command {
  color: var(--text-primary);
}

.t-response {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.t-status {
  color: var(--accent-emerald-light);
  font-weight: 700;
}

/* AI Nodes Inside Terminal */
.ai-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.ai-node:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(23, 37, 68, 0.7);
  transform: translateX(4px);
}

.node-icon {
  font-size: 1.3rem;
}

.node-info {
  flex: 1;
}

.node-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.node-desc {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-status {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--accent-cyan-light);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.terminal-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.t-cursor-pulse {
  color: var(--accent-cyan-light);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.t-muted {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN CONSULTORÍAS (OPERACIONAL, COMERCIAL, FINANCIERA)
   -------------------------------------------------------------------------- */
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.featured-pillar {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(30, 41, 80, 0.8) 0%, rgba(15, 23, 42, 0.85) 100%);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(99, 102, 241, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pillar-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-svg {
  width: 28px;
  height: 28px;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 26px;
}

.pillar-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pillar-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  color: var(--accent-emerald-light);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pillar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.roi-badge {
  display: flex;
  flex-direction: column;
}

.roi-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
  line-height: 1;
}

.roi-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
}

.pillar-link:hover {
  color: #ffffff;
}

.pillar-link .arrow {
  transition: transform var(--transition-fast);
}

.pillar-link:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. METODOLOGÍA & WORKFLOW (3 PASOS)
   -------------------------------------------------------------------------- */
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.workflow-step-card {
  flex: 1;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.workflow-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
}

.step-counter {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
}

.step-icon-box {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-output {
  font-size: 0.775rem;
  background: rgba(11, 17, 32, 0.6);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-cyan);
  color: var(--text-secondary);
}

.output-label {
  font-weight: 700;
  color: var(--accent-cyan-light);
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.4;
}

.workflow-arrow svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN CATÁLOGO SAAS (KASBOARD + PARTNERS)
   -------------------------------------------------------------------------- */
.kasboard-flagship-container {
  margin-bottom: 64px;
}

.kasboard-card {
  padding: 50px 45px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0.85) 60%);
  box-shadow: var(--shadow-glow-brand);
}

.kasboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.kasboard-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.badge-flagship {
  font-size: 0.725rem;
  font-weight: 800;
  background: var(--grad-brand);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}

.kasboard-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.kasboard-logo-icon {
  font-size: 2rem;
}

.kasboard-brand-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.kasboard-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  line-height: 1.4;
  margin-bottom: 16px;
}

.kasboard-description {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.kasboard-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.spec-item {
  display: flex;
  gap: 12px;
}

.spec-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.spec-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.kasboard-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trial-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Kasboard Live Dashboard Mockup */
.dashboard-mockup {
  background: rgba(11, 17, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.ctrl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-url {
  color: var(--text-muted);
}

.mockup-user {
  color: var(--accent-emerald-light);
  font-weight: 600;
}

.mockup-body {
  padding: 20px;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-mini-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.kpi-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.kpi-trend {
  font-size: 0.65rem;
  color: var(--accent-emerald-light);
  margin-top: 4px;
}

.mockup-stream {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stream-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.stream-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stream-row:last-child {
  border-bottom: none;
}

.stream-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.status-active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan-light);
}

.status-scheduled {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple-light);
}

.stream-info {
  flex: 1;
}

.stream-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stream-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stream-progress {
  width: 90px;
  text-align: right;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.progress-bar {
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  margin-bottom: 2px;
}

/* Partners Catalog Grid */
.partners-catalog-section {
  padding-top: 20px;
}

.partners-header {
  margin-bottom: 30px;
}

.partners-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.partners-subtitle {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

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

.partner-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.partner-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.partner-icon {
  font-size: 1.8rem;
}

.partner-category {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan-light);
  display: block;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.partner-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.partner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.partner-status {
  color: var(--accent-emerald-light);
  font-weight: 600;
}

.partner-btn {
  font-weight: 600;
  color: var(--accent-cyan-light);
}

.partner-btn:hover {
  color: #fff;
}

.partner-cta-card {
  border: 1px dashed rgba(99, 102, 241, 0.4);
  background: rgba(15, 23, 42, 0.4);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.partner-cta-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.partner-cta-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.partner-cta-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN DE CONTACTO & LEAD FORM
   -------------------------------------------------------------------------- */
.contact-wrapper {
  padding: 60px;
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: var(--shadow-glow-cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.contact-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.channel-item:hover {
  background: rgba(23, 37, 68, 0.8);
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateX(4px);
}

.channel-icon {
  font-size: 1.4rem;
}

.channel-title {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.channel-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(11, 17, 32, 0.5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Form Styles */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--bg-surface-1);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald-light);
}

.form-feedback.error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid var(--accent-rose);
  color: var(--accent-rose);
}

.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   12. FOOTER ATÓMICO
   -------------------------------------------------------------------------- */
.site-footer {
  background: #030408;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 18px;
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-badge-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--accent-emerald-light);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .consulting-grid {
    grid-template-columns: 1fr;
  }

  .featured-pillar {
    transform: none;
  }

  .kasboard-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .system-status {
    display: none;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .metric-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 32px 20px;
  }

  .kasboard-card {
    padding: 32px 20px;
  }

  .kasboard-specs-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
