/* ==========================================================================
   CENSEA ECOSYSTEM - DESIGN SYSTEM & STYLESHEET
   Empresa de Soluciones Digitales, API Core y Plataformas Empresariales
   B2B SaaS Enterprise Design System - WCAG AA / AAA Compliant
   ========================================================================== */

:root {
  /* ==========================================================================
     1) DESIGN TOKENS
     ========================================================================== */
  /* Superficies oscuras */
  --bg-deep: #060A24;   /* navbar, footer, consolas de código */
  --bg-main: #0A1040;   /* hero, bloques oscuros, CTA final */
  --bg-glow: #1B2A9E;   /* solo radial-gradient decorativo, 30-40% de opacidad */

  /* Texto sobre oscuro */
  --text-1: #FFFFFF;    /* 18.09:1 (WCAG AAA) */
  --text-2: #C7D2FE;    /* 12.13:1 (WCAG AAA) */
  --text-3: #94A3C8;    /* 7.18:1 (WCAG AAA) */

  /* Acento sobre oscuro */
  --accent: #7DD3FC;    /* 10.85:1 (WCAG AAA) */
  --accent-ink: #0A1040;/* 10.85:1 (WCAG AAA) */
  --border-dark: rgba(125, 211, 252, 0.25);

  /* Superficies claras */
  --page: #F5F8FC;      /* Fondo de página */
  --card: #FFFFFF;      /* Tarjetas y superficies elevadas */
  --panel: #EAF1FA;     /* Paneles internos y cajas de métricas */
  --border-light: #CBD7E8; /* Borde contrastante visible */

  /* Texto sobre claro */
  --ink-1: #0A1040;     /* Titulares (18.09:1 sobre blanco - AAA) */
  --ink-2: #334155;     /* Párrafos (10.35:1 sobre blanco, >=7:1 - AAA) */
  --ink-3: #475569;     /* Etiquetas/meta (6.66:1 sobre --panel, >=4.5:1 - AA) */

  /* Acento sobre claro */
  --primary: #0047AB;   /* Acento corporativo principal (8.44:1 - AAA) */
  --primary-hover: #003A8C;
  --primary-soft: #E3EDFB;

  /* Estado */
  --success: #34D399;          /* Solo sobre oscuro (9.41:1 - AAA) */
  --success-on-light: #047857; /* Solo sobre claro (5.48:1 - AA) */

  /* Aliases para compatibilidad */
  --c-logo: var(--primary);
  --c-primary: var(--ink-1);
  --c-primary-light: var(--bg-glow);
  --c-navy: var(--bg-main);
  --c-cobalt: var(--primary);
  --c-secondary: var(--primary);
  --c-secondary-light: var(--primary-hover);
  --c-accent: var(--accent);
  --c-accent-hover: #A0E3FD;
  --c-accent-glow: rgba(125, 211, 252, 0.35);
  --c-neutral: var(--ink-3);
  --c-bg: var(--page);
  --c-surface: var(--card);
  --c-surface-alt: var(--panel);
  --c-border: var(--border-light);
  --c-border-hover: #94A3C8;
  --c-text-main: var(--ink-1);
  --c-text-muted: var(--ink-2);
  --c-text-light: var(--ink-3);
  --c-text-inverse: var(--text-1);

  /* Soluciones unificadas con un solo acento de marca */
  --c-crm: var(--primary);
  --c-integrador: var(--primary);
  --c-nom: var(--primary);
  --c-rentas: var(--primary);
  --c-core: var(--primary);

  /* Tipografía */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;

  /* Elevaciones & Sombras */
  --shadow-card: 0 1px 2px rgba(10, 16, 64, 0.06), 0 8px 24px rgba(10, 16, 64, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(10, 16, 64, 0.08), 0 12px 32px rgba(10, 16, 64, 0.12);
  --shadow-xs: 0 1px 2px rgba(10, 16, 64, 0.05);
  --shadow-sm: 0 2px 4px rgba(10, 16, 64, 0.06);
  --shadow-md: 0 6px 16px rgba(10, 16, 64, 0.08);
  --shadow-lg: 0 12px 28px rgba(10, 16, 64, 0.12);
  --shadow-glow: 0 0 24px rgba(125, 211, 252, 0.35);

  /* Layout & Radios */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & ACCESSIBILITY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
  background-color: var(--page);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--page);
  color: var(--ink-2);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero :focus-visible,
.section-dark :focus-visible,
.cta-banner :focus-visible,
.navbar :focus-visible,
.footer :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Receta estándar para bloques oscuros */
.section-dark {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
}

.section-dark .section-title {
  color: var(--text-1);
}

.section-dark .section-desc,
.section-dark .section-subtitle {
  color: var(--text-2);
}

.section-alt {
  background-color: var(--panel);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background-color: var(--primary-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-dark .section-tag {
  color: var(--accent);
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid var(--border-dark);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-1);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle,
.section-desc {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR & HEADER
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-deep);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.875rem 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 260px;
  background: var(--bg-deep);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1010;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.dropdown-item span.item-desc {
  display: block;
  font-size: 0.75rem; /* 12px */
  color: var(--text-3);
  font-weight: 400;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-1);
  padding: 4px;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-1);
  margin: 2px 0;
  transition: var(--transition);
}

/* Mobile Offcanvas Drawer - Oculto por defecto con position fixed */
.mobile-nav-drawer,
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1100;
  padding: 2rem 1.5rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.open,
.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list,
.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-item a,
.drawer-links a {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--text-2);
}

.mobile-nav-item a:hover,
.drawer-links a:hover {
  color: var(--accent);
}

.mobile-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-sublist a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-3);
}

.mobile-sublist a:hover {
  color: var(--accent);
}

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 36, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active,
.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Botón de acento primario (sobre fondos oscuros y destacados de marca) */
.btn-accent,
.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-accent:hover,
.btn-primary:hover {
  background-color: var(--c-accent-hover);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(125, 211, 252, 0.35);
}

/* Botón primario en secciones claras */
.section:not(.section-dark) .btn-primary:not(.btn-accent) {
  background-color: var(--primary);
  color: var(--text-1);
}

.section:not(.section-dark) .btn-primary:not(.btn-accent):hover {
  background-color: var(--primary-hover);
  color: var(--text-1);
  box-shadow: var(--shadow-md);
}

/* Botón secundario outline */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 1);
  color: var(--text-1);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--ink-1);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--panel);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  padding: 6.5rem 0 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(125, 211, 252, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center; /* Centrado vertical para eliminar vacío superior */
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-dark);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-badge svg,
.comp-banner-badge svg {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.hero-badge span,
.comp-banner-badge span {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text-1);
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-item .label {
  font-size: 0.8125rem; /* 13px */
  color: var(--text-3);
  line-height: 1.35;
}

.hero-visual {
  position: relative;
}

/* Hero Visual Card (Arquitectura Hub Central) */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-visual-card pre,
.hero-visual-card .code-console {
  background: var(--bg-deep);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE ECOSYSTEM ARCHITECTURE DIAGRAM
   ========================================================================== */
.ecosystem-container {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ecosystem-container {
    padding: 3.5rem 2.5rem;
  }
}

.diagram-interactive {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
}

@media (min-width: 992px) {
  .ecosystem-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .core-hub {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
  }

  .sat-crm { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; height: 100%; }
  .sat-integrador { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; height: 100%; }
  .sat-nom { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; height: 100%; }
  .sat-rentas { grid-column: 4; grid-row: 2; display: flex; flex-direction: column; height: 100%; }
}

/* Core Central Hub - Receta oscura estándar */
.core-hub-card {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(10, 16, 64, 0.25);
  position: relative;
  transition: var(--transition);
}

.core-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(125, 211, 252, 0.2);
}

.core-hub-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.core-hub-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.core-hub-desc {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.core-hub-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.core-tag {
  font-size: 0.75rem; /* 12px */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

/* Satellite Nodes - Un solo acento de marca en franja superior */
.satellite-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  box-shadow: var(--shadow-card);
}

.satellite-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

/* Franja superior idéntica para todas las tarjetas */
.satellite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.sat-crm .satellite-card::before,
.sat-integrador .satellite-card::before,
.sat-nom .satellite-card::before,
.sat-rentas .satellite-card::before {
  background: var(--primary);
}

.satellite-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-height: 52px;
}

.sat-icon,
.sat-crm .sat-icon,
.sat-integrador .sat-icon,
.sat-nom .sat-icon,
.sat-rentas .sat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.sat-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-1);
}

.sat-desc {
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-height: 90px;
}

.sat-features {
  list-style: none;
  font-size: 0.8125rem; /* 13px */
  color: var(--ink-2);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.sat-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.sat-features li::before {
  content: "✓";
  font-weight: 800;
  color: var(--primary);
}

.sat-link {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  text-decoration: none;
}

.sat-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
  gap: 0.7rem;
}

/* ==========================================================================
   PILLARS: BUSINESS & TECHNICAL INTEGRATION
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 0.75rem;
  min-height: 3.25rem; /* Alineación superior consistente */
  display: flex;
  align-items: flex-start;
}

.pillar-text {
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
  line-height: 1.6;
}

/* ==========================================================================
   REAL-WORLD IMPLEMENTATION SHOWCASE (CASOS DE USO)
   ========================================================================== */
.cases-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.case-tab-btn {
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.8125rem; /* 13px */
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.case-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--panel);
}

.case-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
}

.case-content-panel {
  display: none;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.3s ease;
}

.case-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .case-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.case-badge {
  display: inline-block;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.case-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.case-description {
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.case-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.case-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
}

.case-bullets svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.case-stats-box {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.stat-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.stat-title {
  font-size: 0.8125rem; /* 13px */
  color: var(--ink-3);
  font-weight: 500;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   FEATURE DETAIL GRIDS & PRODUCT PAGES (CRM, Integrador, NOM-035, Rentas)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .feature-split {
    grid-template-columns: 1fr 1fr;
  }

  .feature-split.reverse,
  .feature-split.reversed {
    direction: rtl;
  }

  .feature-split.reverse > *,
  .feature-split.reversed > * {
    direction: ltr;
  }
}

.feature-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9375rem; /* 15px */
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
}

.feature-bullets svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-box {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.feature-box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.feature-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 0.65rem;
}

.feature-box-desc {
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
  line-height: 1.6;
}

/* Architecture Flow Diagrams (Integrador, NOM-035, etc.) */
.flow-diagram-card {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.flow-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .flow-step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flow-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.flow-step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.flow-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-1);
}

.flow-step-desc {
  font-size: 0.8125rem; /* 13px */
  color: var(--text-2);
  line-height: 1.5;
}

/* ==========================================================================
   CALL TO ACTION & DEMO BANNER - Receta oscura estándar
   ========================================================================== */
.cta-banner {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner-desc {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 650px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

/* ==========================================================================
   MODAL DIALOG (CONTACT & DEMO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 10, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open,
.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-window,
.modal-container {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-scaler {
  width: 500px;
  height: 770px;
  transform-origin: top center;
  display: block;
  margin: 0 auto;
}

.modal-form-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  display: block;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--panel);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-3);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--border-light);
  color: var(--ink-1);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 0.5rem;
}

.modal-subtitle,
.modal-desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 0.875rem;
  color: var(--ink-1);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-deep);
  color: var(--text-2);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem; /* 14px */
  color: var(--text-3);
  line-height: 1.6;
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem; /* 14px */
  color: var(--text-2);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem; /* 14px */
  color: var(--text-2);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  stroke: var(--accent);
  stroke-width: 1.75px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem; /* 13px */
  color: var(--text-3);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   GENERIC SOFTWARE COMPONENTS FOR PYME (BUSINESS FLOW BUILDING BLOCKS)
   ========================================================================== */
.components-executive-banner {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.components-executive-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(125, 211, 252, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.comp-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem; /* 12px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent);
  border: 1px solid var(--border-dark);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.comp-banner-badge svg {
  stroke: var(--accent);
  stroke-width: 1.75px;
}

.comp-banner-title {
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  color: var(--text-1);
  max-width: 100%;
}

.comp-banner-lead {
  font-size: 1.0625rem; /* 17px */
  color: var(--text-2);
  max-width: 100%; /* Aprovecha todo el ancho del contenedor */
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.comp-banner-quote {
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem; /* 15px */
  color: var(--text-2);
  line-height: 1.65;
  max-width: 100%; /* Aprovecha todo el ancho del contenedor */
}

/* Category Filter Tabs for Components */
.comp-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.comp-filter-btn {
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--ink-2);
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.comp-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--panel);
}

.comp-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-1);
  box-shadow: 0 4px 10px rgba(0, 71, 171, 0.25);
}

/* Components Matrix Grid */
.components-matrix {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .components-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .components-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

.component-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.component-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover);
}

.component-card.hidden {
  display: none !important;
}

.component-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.component-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.component-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.component-title-wrap {
  flex-grow: 1;
}

.component-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-1);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

/* Unified Category Badge */
.component-category-badge {
  display: inline-block;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
}

.cat-comercial,
.cat-compras,
.cat-finanzas,
.cat-gestion,
.cat-seguridad,
.cat-reportes {
  background: var(--primary-soft);
  color: var(--primary);
}

.component-desc {
  font-size: 0.875rem; /* 14px */
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.component-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.comp-tag {
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  background: var(--panel);
  color: var(--ink-3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   CENSEA.REPORTSERVER SHOWCASE SECTION / CARD - Receta oscura estándar
   ========================================================================== */
.report-server-feature {
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 100% 0%, rgba(27, 42, 158, 0.35) 0%, transparent 60%);
  color: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}

.report-server-feature::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.report-server-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .report-server-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.report-channels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}

.report-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  color: var(--text-2);
}

.report-channel-pill svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 1.75px;
}

.report-channel-pill strong {
  color: var(--accent);
  font-weight: 700;
}

.report-console-mockup {
  background: var(--bg-deep);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.report-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.report-console-header span {
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.report-console-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem; /* 13px */
  color: var(--text-2);
}

.status-ok {
  color: var(--success);
  font-weight: 700;
}

.status-accent {
  color: var(--accent);
  font-weight: 700;
}

.report-oss-note {
  font-size: 0.75rem; /* 12px */
  color: var(--text-3);
  margin-top: 1.25rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   WORKFLOW EXAMPLES & BUSINESS ARCHITECTURES SECTION
   ========================================================================== */
.workflow-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.wf-tab-btn {
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--ink-2);
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wf-tab-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.75px;
}

.wf-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--panel);
}

.wf-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-1);
  box-shadow: 0 4px 12px rgba(0, 71, 171, 0.25);
}

.workflow-card-panel {
  display: none;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.35s ease;
}

.workflow-card-panel.active {
  display: block;
}

.wf-header-box {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.wf-badge-case {
  display: inline-block;
  font-size: 0.75rem; /* 12px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.wf-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.wf-subtitle {
  font-size: 0.9375rem; /* 15px */
  color: var(--ink-2);
  line-height: 1.6;
}

/* Diagram Horizontal Nodes Track */
.wf-diagram-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .wf-diagram-track.nodes-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .wf-diagram-track.nodes-6 {
    grid-template-columns: repeat(6, 1fr);
  }
  .wf-diagram-track.nodes-7 {
    grid-template-columns: repeat(7, 1fr);
  }
}

.wf-node {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.wf-node:hover,
.wf-node.active {
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  background: var(--card);
}

.wf-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.wf-node-step {
  font-size: 0.75rem; /* 12px */
  font-weight: 800;
  color: var(--ink-3);
  font-family: var(--font-mono);
  background: rgba(10, 16, 64, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.wf-node-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.wf-node-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.wf-node-role {
  display: inline-block;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.wf-node-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-1);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.wf-node-desc {
  font-size: 0.8125rem; /* 13px */
  color: var(--ink-2);
  line-height: 1.5;
  flex-grow: 1;
}

/* Arrow indicator between nodes on desktop */
@media (min-width: 768px) {
  .wf-node:not(:last-child)::after {
    content: '➔';
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary); /* Cumple WCAG 3:1 */
    z-index: 2;
  }
}

/* Value / Impact summary box */
.wf-impact-box {
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wf-impact-title {
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wf-impact-title svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 1.75px;
}

.wf-impact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wf-impact-pill {
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--primary-soft);
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wf-impact-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  stroke-width: 2px;
}
