/* ==========================================================================
   VALNATIR · Design System v5.0 — Official Corporate Visual Identity
   100% Funcional · 100% Pixel Perfect · Cero Desbordes
   ========================================================================== */

@font-face {
  font-family: 'DIN Alternate';
  src: url('assets/fonts/DINAlternate-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Official Visual Identity Palette */
  --brand-teal:         #185359;
  --brand-teal-mid:     #237078;
  --brand-teal-light:   #5FD3B8;
  --brand-purple:       #4B145F;
  --brand-purple-mid:   #742296;
  --brand-purple-light: #A855F7;
  --brand-gradient:     linear-gradient(135deg, #185359 0%, #4B145F 100%);
  --brand-gradient-h:   linear-gradient(90deg, #185359 0%, #237078 40%, #742296 80%, #4B145F 100%);

  --bg:              #07090E;
  --bg-2:            #0C1017;
  --surface:         #111620;
  --surface-2:       #171E2B;
  --surface-hover:   #1C2536;
  --border:          rgba(255, 255, 255, 0.08);
  --border-strong:   rgba(255, 255, 255, 0.16);
  --border-accent:   rgba(95, 211, 184, 0.35);
  --text:            #F3F5F7;
  --text-muted:      #94A3B8;
  --text-faint:      #64748B;
  --accent:          #5FD3B8;
  --accent-hover:    #7EF0D7;
  --accent-2:        #237078;
  --accent-dim:      rgba(95, 211, 184, 0.12);
  --accent-glow:     rgba(95, 211, 184, 0.28);
  --accent-glow-lg:  rgba(95, 211, 184, 0.06);
  --warn:            #F59E0B;
  --warn-dim:        rgba(245, 158, 11, 0.12);
  --danger:          #EF4444;
  --danger-dim:      rgba(239, 68, 68, 0.12);
  --success:         #10B981;
  --success-dim:     rgba(16, 185, 129, 0.12);

  --font-brand:   'DIN Alternate', 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans:    'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --space-sm:  16px;
  --space-md:  28px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESETS Y TIPOGRAFÍA BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: auto; /* Cursor nativo 100% visible */
}

/* Cursor follower ambiental (sutil y no bloqueante) */
.cursor, .cursor-ring {
  pointer-events: none !important;
  user-select: none;
}
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  z-index: 99999; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.3s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(95, 211, 184, 0.4); border-radius: 50%;
  z-index: 99998; transform: translate(-50%, -50%);
  opacity: 0; transition: width 0.2s, height 0.2s, opacity 0.3s;
}
.cursor-ring.hovering {
  width: 50px; height: 50px;
  background: rgba(95, 211, 184, 0.08);
  border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring { opacity: 0.85; }
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  width: 100%;
  max-width: 1160px;
  line-height: 1.16;
  text-wrap: pretty;
}

h2 {
  width: 100%;
  max-width: 1140px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

h3, h4, h5 {
  text-wrap: balance;
}

p {
  color: var(--text-muted);
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

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

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 15%, var(--brand-teal-light) 65%, var(--brand-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.text-brand-gradient {
  background: var(--brand-gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent) !important; }
.text-warn   { color: var(--warn) !important; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }

/* ── SCROLL REVEAL SEGURO (Nunca oculta el contenido por defecto) ── */
[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.revealed) {
    opacity: 0.05;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .js [data-reveal].revealed {
    opacity: 1;
    transform: none;
  }
}

/* ── TOP ANNOUNCEMENT BAR ── */
.top-bar {
  background: rgba(95, 211, 184, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 0.82rem;
  position: relative;
  z-index: 1010;
}
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  color: var(--text);
  padding: 0 16px;
  max-width: 100%;
}
.top-bar-text {
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseGlow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.top-bar-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.top-bar-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* ── HEADER STICKY (Sin colisiones con el top bar) ── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(7, 9, 14, 0.96);
  border-bottom-color: var(--border-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  margin-right: clamp(14px, 1.8vw, 28px);
}
.brand-logo:hover {
  opacity: 0.95;
}
.brand-isotipo {
  width: 32px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 10px rgba(24, 83, 89, 0.45));
}
.brand-logo:hover .brand-isotipo {
  transform: scale(1.08) rotate(5deg);
}
.logo-symbol {
  display: inline-block;
  width: 30px;
  height: 26px;
  background: url('assets/brand/valnatir_isotipo.svg') no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 10px rgba(24, 83, 89, 0.45));
}
.brand-logo:hover .logo-symbol {
  transform: scale(1.08) rotate(5deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav-link {
  font-size: clamp(0.78rem, 0.84vw, 0.88rem);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}
.nav-link:hover {
  color: var(--text);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: var(--text);
}

/* ── COMPONENTE DROPDOWN GLASSMORPHISM (VARIANTE 2B - V4) ── */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: clamp(0.78rem, 0.84vw, 0.88rem);
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}

.nav-item-dropdown:hover .dropdown-toggle,
.dropdown-toggle:hover {
  color: var(--text);
}

.nav-item-dropdown:hover .dropdown-toggle::after,
.nav-item-dropdown.is-open .dropdown-toggle::after,
.dropdown-toggle.active::after {
  width: 100%;
}

.dropdown-toggle.active {
  color: var(--text);
}

.dropdown-chevron {
  transition: transform 0.22s var(--ease-out);
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 310px;
  background: rgba(14, 18, 26, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  z-index: 1020;
}

/* Puente invisible para evitar que el ratón pierda el hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.dropdown-menu-right {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .dropdown-menu-right,
.nav-item-dropdown:focus-within .dropdown-menu-right,
.nav-item-dropdown.is-open .dropdown-menu-right {
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  white-space: normal;
}

.dropdown-link:hover {
  background: rgba(95, 211, 184, 0.08);
  transform: translateX(2px);
}

.dropdown-link.active {
  background: rgba(95, 211, 184, 0.1);
}

.dropdown-link-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #F3F5F7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
}

.dropdown-link:hover .dropdown-link-title,
.dropdown-link.active .dropdown-link-title {
  color: var(--accent);
}

.dropdown-link-desc {
  font-size: 0.74rem;
  color: #8C96A5;
  line-height: 1.35;
  font-weight: 400;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 8px;
}

.dropdown-link-sub .dropdown-link-title {
  font-size: 0.80rem;
  color: var(--accent);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  flex-shrink: 0;
  margin-left: clamp(14px, 1.8vw, 28px);
}
@media (min-width: 1081px) and (max-width: 1220px) {
  .brand-logo {
    font-size: 1.18rem;
    gap: 8px;
    margin-right: 10px;
  }
  .main-nav {
    gap: 7px;
  }
  .nav-link {
    font-size: 0.77rem;
  }
  .header-actions {
    margin-left: 10px;
    gap: 6px;
  }
  .header-actions .btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}
@media (max-width: 1240px) {
  .header-actions .btn-ghost {
    display: none;
  }
}
/* Smooth anchor target offset accounting for sticky header */
:target,
section[id],
div[id].section-container,
.section-container[id],
.hero-section[id] {
  scroll-margin-top: 84px;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 2px;
}
.lang-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.lang-link:hover {
  color: var(--text);
}
.lang-link.active {
  background: var(--accent);
  color: #060807;
}
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #060807;
  box-shadow: 0 0 18px var(--accent-dim);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--text);
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-arrow .arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-arrow:hover .arrow-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #060807;
  transform: translate(2px, -2px);
}
.btn-lg {
  padding: 13px 28px;
  font-size: 0.98rem;
}
.btn-block {
  width: 100%;
}

/* ── HERO ── */
.hero-section {
  position: relative;
  padding: 50px 0 58px;
  overflow: hidden;
  background: var(--bg);
}
.hero-reel-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#hero-reel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-reel-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 45%, transparent 0%, rgba(11, 13, 12, 0.55) 60%, var(--bg) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 90% 80% at 50% 25%, rgba(24, 83, 89, 0.25) 0%, rgba(75, 20, 95, 0.16) 45%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 2;
  padding-left: clamp(24px, 4.5vw, 56px);
  padding-right: clamp(24px, 4.5vw, 56px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-kicker-line {
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(1.9rem, 2.85vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 1160px;
  width: 100%;
  text-wrap: pretty;
}
.hero-title .text-gradient {
  display: block;
}

.hero-subhead {
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  color: var(--text-muted);
  max-width: 88ch;
  line-height: 1.62;
  margin-bottom: 24px;
  text-wrap: pretty;
}

/* ── KINETIC MOBILE VISUAL (Protagonismo Móvil y Gente en Movimiento) ── */
.hero-kinetic-visual {
  margin-top: 48px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 45px rgba(95, 211, 184, 0.12);
}
.hero-kinetic-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-kinetic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 12, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  pointer-events: none;
}
.kinetic-badge-cluster {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.kinetic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 13, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text);
}

/* ── TRUST & SOLUTION PARTNERS BAR ── */
.partners-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 19, 18, 0.5);
  position: relative;
  z-index: 3;
}
.partners-kicker {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.partner-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.partner-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partner-info {
  display: flex;
  flex-direction: column;
}
.partner-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.partner-detail {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
@media (max-width: 960px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-actions:not(:last-child) {
  margin-bottom: 40px;
}
.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── STATS BAR ── */
.stat-section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 16px 28px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span {
  color: var(--accent);
}
.stat-label {
  font-size: 0.74rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* ── ESTILOS DE SECCIÓN ESTÁNDAR ── */
.section-container {
  padding: clamp(50px, 5.5vw, 68px) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.bg-surface-alt {
  background: var(--bg-2);
}
.section-header {
  margin-bottom: 32px;
  max-width: 1140px;
  width: 100%;
}
.section-header.text-center {
  text-align: center;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.section-header.text-center .section-eyebrow {
  justify-content: center;
}
.section-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.section-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-h2-epic {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 1140px;
  width: 100%;
  text-wrap: pretty;
}
.section-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 1120px;
  width: 100%;
  text-wrap: pretty;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 88ch;
  line-height: 1.65;
  text-wrap: pretty;
}
.section-header.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ── SECCIÓN 1: EL CONFLICTO (3 SALIDAS FALSAS) ── */
.conflict-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.conflict-col {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.conflict-col:last-child {
  border-right: none;
}
.conflict-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: block;
}
.conflict-col h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.25;
}
.conflict-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}
.conflict-verdict-v2 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--danger);
  background: var(--danger-dim);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--danger);
}

/* ── SECCIÓN 2: LA NUEVA CATEGORÍA (3 PRINCIPIOS) ── */
.model-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.model-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.model-card:last-child {
  border-right: none;
}
.model-card:hover {
  background: var(--surface-hover);
}
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.25;
}
.card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── SECCIÓN 3: CONTROL DE VUELO VS CAJA NEGRA (ARQUITECTURA DE INTERVENCIÓN) ── */
.comparison-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-bottom: 48px;
}
.comparison-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.comp-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.comp-tab.active {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--text);
}
.comp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
}
.comp-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.comp-dot.legacy {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
}
.comp-panel {
  display: none;
}
.comp-panel.active {
  display: block;
}

.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.flow-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
}
.flow-step.highlight {
  border-color: var(--accent);
  background: rgba(95, 211, 184, 0.05);
}
.flow-step.warning {
  border-color: var(--warn);
  background: var(--warn-dim);
}
.flow-step.danger {
  border-color: var(--danger);
  background: var(--danger-dim);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.flow-step.warning .step-num { color: var(--warn); }
.flow-step.danger .step-num { color: var(--danger); }
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.flow-arrow {
  color: var(--text-faint);
  font-size: 1.4rem;
  font-weight: 300;
}
.comp-summary-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

/* DIAGRAMA VISUAL: Pipeline Interactivo de Intervención */
.visual-diagram-card {
  background: #05070A;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.visual-diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.visual-diagram-title {
  font-size: 0.95rem;
  font-family: var(--font-mono);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.diagram-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--success);
  background: var(--success-dim);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.diagram-canvas-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Modalidades de despliegue (3 cards) */
.deployment-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.deploy-title {
  font-size: 1.35rem;
  margin-bottom: 24px;
}
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deploy-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.deploy-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.deploy-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.deploy-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}
.badge-deploy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  width: fit-content;
}

/* ── SECCIÓN 4: CASOS DE USO TRANSACCIONALES (SWIPER) ── */
.cases-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.cases-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.swiper-outer {
  position: relative;
  overflow: hidden;
}
.swiper-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s var(--ease-out);
}
.case-slide {
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: var(--transition);
}
.case-slide:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.case-vertical-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  width: fit-content;
}
.case-slide h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}
.case-slide p {
  font-size: 0.88rem;
  line-height: 1.7;
}
.case-metric-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--success);
  margin-top: auto;
}
.swiper-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}
.swiper-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.swiper-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.swiper-dots {
  display: flex;
  gap: 8px;
  flex: 1;
}
.swiper-dot {
  width: 18px;
  height: 3px;
  background: var(--border-strong);
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
}
.swiper-dot.active {
  background: var(--accent);
  width: 36px;
}

/* ── SECCIÓN 5: CISO (ARQUITECTURA + TERMINAL + DOBLE PERÍMETRO) ── */
.arch-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.ciso-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}
.ciso-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ciso-feature-num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding-top: 2px;
}
.ciso-feature-item strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  margin-bottom: 2px;
}
.ciso-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Terminal animada */
.terminal-box {
  background: #020406;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.terminal-dots-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.terminal-dot.red { background: #EF4444; }
.terminal-dot.yellow { background: #F59E0B; }
.terminal-dot.green { background: #10B981; }
.terminal-title {
  color: var(--text-faint);
  font-size: 0.7rem;
}
.terminal-body {
  padding: 20px;
  line-height: 1.85;
  color: var(--text-muted);
}
.t-prompt { color: var(--accent); }
.t-ok { color: var(--success); }
.t-warn-c { color: var(--warn); }
.t-dim { color: var(--text-faint); }
.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blinkCursor 1.2s step-end infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── SECCIÓN 6: PRICING (ACCESO SIN BARRERAS) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(95, 211, 184, 0.05) 0%, var(--surface) 100%);
  box-shadow: 0 10px 40px rgba(95, 211, 184, 0.08);
}
.pricing-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.pricing-badge.popular {
  color: var(--accent);
  font-weight: 700;
}
.pricing-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-features li span.check {
  color: var(--accent);
  font-weight: bold;
}

/* ── SECCIÓN 7: CÁTEDRA CBC-UV (RESPALDO CIENTÍFICO) ── */
.catedra-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}
.catedra-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}
.catedra-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.catedra-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 86ch;
  margin: 0 auto 26px;
  text-wrap: pretty;
}
.catedra-quote {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.catedra-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 14px;
}
.catedra-quote cite {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ── SECCIÓN 8: CTA FINAL Y CIERRE ── */
.cta-banner-section {
  padding: clamp(52px, 6.5vw, 76px) 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(95, 211, 184, 0.07), transparent), var(--bg);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}
.cta-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.cta-h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 84ch;
  margin: 0 auto 24px;
  text-wrap: pretty;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 34ch;
}
.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ── MODAL PILOTO ACOTADO ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open, .modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.35s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--text);
}
.modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.modal-box h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.modal-box > p {
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  font-family: var(--font-mono);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 12px;
  line-height: 1.5;
  font-style: italic;
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1024px) {
  .hero-proof-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; }
  .conflict-grid-v2 { grid-template-columns: 1fr; }
  .conflict-col { border-right: none; border-bottom: 1px solid var(--border); }
  .conflict-col:last-child { border-bottom: none; }
  .model-cards-grid { grid-template-columns: 1fr; }
  .model-card { border-right: none; border-bottom: 1px solid var(--border); }
  .model-card:last-child { border-bottom: none; }
  .pipeline-flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .deploy-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .arch-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .case-slide { flex: 0 0 calc(100% - 20px); }
  .visual-diagram-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram-canvas-svg { min-width: 750px; }
}

@media (max-width: 1080px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 12px;
  }
  .header-actions .btn {
    display: none;
  }
  .lang-switcher {
    display: flex !important;
  }
  .mobile-toggle {
    display: flex;
    cursor: pointer;
    z-index: 1060;
    margin-left: 0;
  }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(7, 9, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(8px, 1.5vh, 14px);
    padding: 90px 24px 50px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open > .nav-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 700;
  }
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 1.15rem;
    font-family: var(--font-display);
    font-weight: 700;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: none;
    width: 100%;
    min-width: 100%;
    display: none;
    margin-top: 4px;
  }
  .nav-item-dropdown.is-open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  
  .hero-section { padding: 36px 0 44px; }
  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.4rem);
    line-height: 1.2;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .hero-title br, .section-h2-epic br, .cta-h2 br {
    display: inline;
    content: ' ';
  }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 0.08em; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-arrow { justify-content: center; width: 100%; }
  .hero-proof-bar { grid-template-columns: 1fr; }
  
  .section-h2,
  .section-h2-epic {
    font-size: clamp(1.45rem, 5.8vw, 2rem);
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .comparison-container { padding: 24px 16px; }
  .comparison-tabs { flex-direction: column; }
  .visual-diagram-card { padding: 20px 14px; }
  .diagram-canvas-svg { min-width: 720px; }
  .catedra-box { padding: 32px 18px; }
  
  .cta-h2 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    line-height: 1.25;
  }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .modal-box { padding: 28px 18px; margin: 12px; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.35rem, 5.8vw, 1.75rem);
    line-height: 1.22;
  }
  .section-h2,
  .section-h2-epic {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    line-height: 1.25;
  }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 10px; }
  .stat-item:last-child { border-bottom: none; }
  .top-bar { font-size: 0.74rem; }
  .hero-subhead { font-size: 0.95rem; }
}

/* ═════════════════════════════════════════════════════════════
   CLIENT LOGOS & INSTITUTIONAL TRUST GRID (Corpus References)
   ═════════════════════════════════════════════════════════════ */
.clients-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 18, 16, 0.4);
  position: relative;
  z-index: 2;
}
.clients-kicker {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.clients-title {
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.client-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: var(--transition);
  min-height: 96px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.client-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(95, 211, 184, 0.1);
}
.client-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.client-emblem {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  flex-shrink: 0;
}
.client-emblem svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.client-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
.client-badge-tag.enterprise { color: #5FD3B8; background: rgba(95, 211, 184, 0.1); }
.client-badge-tag.govtech { color: #60A5FA; background: rgba(96, 165, 250, 0.1); }
.client-badge-tag.partner { color: #F59E0B; background: rgba(245, 158, 11, 0.1); }

.client-name {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 2px;
}
.client-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═════════════════════════════════════════════════════════════
   HOMEPAGE INDUSTRIES 3-PILLAR HUB
   ═════════════════════════════════════════════════════════════ */
.industries-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.ind-hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ind-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}
.ind-hub-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(95, 211, 184, 0.12);
}
.ind-hub-card.card-enterprise::before { background: linear-gradient(90deg, #5FD3B8, #2B7E6E); }
.ind-hub-card.card-govtech::before { background: linear-gradient(90deg, #60A5FA, #3B82F6); }
.ind-hub-card.card-defensa::before { background: linear-gradient(90deg, #F59E0B, #DC2626); }

.ind-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ind-hub-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.ind-hub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}
.ind-hub-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ind-hub-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.ind-hub-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ind-hub-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.ind-hub-points li strong {
  color: var(--text);
}
.ind-hub-points li::before {
  content: '✓';
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: bold;
}
.ind-hub-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 24px;
}
.ind-hub-action {
  margin-top: auto;
}

@media (max-width: 992px) {
  .industries-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════════════════════
   STANDARDIZED INDUSTRY VERTICAL PAGES COMPONENTS
   ═════════════════════════════════════════════════════════════ */
.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.badge-kicker.enterprise {
  background: rgba(95, 211, 184, 0.1);
  border: 1px solid rgba(95, 211, 184, 0.28);
  color: var(--accent);
}
.badge-kicker.govtech {
  background: rgba(116, 34, 150, 0.12);
  border: 1px solid rgba(116, 34, 150, 0.35);
  color: #c98bf5;
}
.badge-kicker.defensa {
  background: rgba(220, 100, 30, 0.12);
  border: 1px solid rgba(220, 100, 30, 0.35);
  color: #ff8c42;
}

.hero-proof-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}
.proof-chip strong {
  color: var(--text);
  font-weight: 600;
}
.proof-chip-tick {
  color: var(--accent);
  font-weight: 700;
}

.ksp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.ksp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.ksp-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.ksp-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(95, 211, 184, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ksp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.ksp-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.roi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.roi-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}
.roi-label {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.roi-desc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.deep-cases-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 56px;
}
.deep-case-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.deep-case-box:nth-child(even) {
  direction: rtl;
}
.deep-case-box:nth-child(even) > * {
  direction: ltr;
}
.deep-case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.deep-case-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.deep-case-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.deep-case-meta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.matrix-table-wrap {
  overflow-x: auto;
  margin-bottom: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.matrix-table th {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.matrix-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.matrix-table tr:last-child td {
  border-bottom: none;
}
.matrix-table td strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .ksp-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-case-box { grid-template-columns: 1fr; direction: ltr !important; }
}
@media (max-width: 520px) {
  .roi-grid { grid-template-columns: 1fr; }
  .deep-case-box { padding: 24px 18px; }
}

/* ── PARTNER & CHANNEL SYSTEM ── */
.partner-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
@media (max-width: 992px) {
  .partner-grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.partner-track-card,
.partner-grid-2 .partner-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition-base);
  gap: 0 !important;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.partner-track-card:hover,
.partner-grid-2 .partner-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.partner-track-card h3,
.partner-grid-2 .partner-card h3 {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--text);
}
.partner-rev-stat {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 10px 0 14px;
  line-height: 1.2;
}
.partner-track-card p,
.partner-grid-2 .partner-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.partner-track-card ul,
.partner-grid-2 .partner-card ul {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.7;
  padding-left: 18px;
  margin: 0 0 24px;
}
.partner-track-card .btn,
.partner-grid-2 .partner-card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}
.partner-tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: rgba(95, 211, 184, 0.12);
  color: var(--accent);
  border: 1px solid rgba(95, 211, 184, 0.25);
}
.partner-tier-badge.gold {
  background: rgba(234, 179, 8, 0.12);
  color: #EAB308;
  border-color: rgba(234, 179, 8, 0.28);
}
.partner-tier-badge.cyan {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.28);
}
.partner-stat-highlight {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 8px 0;
  line-height: 1.1;
}
.partner-stat-highlight span {
  color: var(--accent);
}
.partner-toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.toolkit-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color var(--transition-fast);
}
.toolkit-item:hover {
  border-color: var(--accent);
}
.toolkit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(95, 211, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.toolkit-icon svg {
  width: 22px;
  height: 22px;
}
.partner-form-wrapper {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .partner-form-wrapper {
    padding: 24px 20px;
  }
}

/* ── PARTNER DOUBLE-COLUMN FINAL BLOCK ── */
.partner-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
  margin-top: 24px;
}
.partner-split-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.partner-split-info .section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 8px;
}
.partner-split-info .section-h2 {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  margin: 0;
  text-align: left;
}
.partner-split-info .section-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}
.partner-perks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.partner-perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.partner-perk-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.partner-perk-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: rgba(95, 211, 184, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-perk-icon svg {
  width: 20px;
  height: 20px;
}
.partner-perk-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}
.partner-perk-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.partner-direct-contact {
  padding: 18px 20px;
  background: rgba(95, 211, 184, 0.05);
  border: 1px dashed rgba(95, 211, 184, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.partner-direct-contact svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: var(--accent);
}
.partner-direct-contact p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.partner-direct-contact a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.partner-split-form {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.partner-split-form h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--text);
}
@media (max-width: 992px) {
  .partner-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .partner-split-form {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   CONSOLIDATED DESIGN SYSTEM FIXES (GHOST CLASSES & COMPLIANCE EXTENSIONS)
   ========================================================================== */

/* 1. Universal Split Layout (Restores compliance, ia, and about pages) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.split-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.split-visual {
  width: 100%;
  min-width: 0;
}

/* Feature Bullets List */
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(95, 211, 184, 0.4);
}
.feature-bullets li strong {
  color: var(--text);
  font-weight: 600;
}

/* 2. Subpage Footer Normalization (.footer-grid & .footer-nav-col alias) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.footer-nav-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}
.footer-nav-col a:hover {
  color: var(--accent);
}

/* 3. Subpage CTA Banner Normalization */
.cta-banner-inner {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}
.cta-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.cta-subhead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 84ch;
  margin: 0 auto 24px;
  text-wrap: pretty;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 960px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* 4. Modal Window Normalization (.modal-window alias) */
.modal-window {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.35s var(--ease-out);
}
@media (max-width: 600px) {
  .modal-window {
    padding: 28px 20px;
  }
}
.modal-header {
  margin-bottom: 24px;
}
.modal-header h3 {
  font-size: 1.5rem;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--text);
}
.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-notice, .form-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 14px;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
}

/* 5. Framework Tabs & Interactive Console Tokens */
.framework-tabs-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .framework-tabs-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .framework-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .framework-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .f-tab {
    flex: 0 0 auto;
    min-width: 150px;
  }
}
.f-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
}
.f-tab:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}
.f-tab.active {
  background: rgba(95, 211, 184, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-dim);
}
.f-tab-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.f-tab-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: break-word;
}
.framework-panel {
  display: none;
}
.framework-panel.active {
  display: block;
  animation: modalIn 0.35s var(--ease-out);
}
.fpanel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .fpanel-grid {
    grid-template-columns: 1fr;
  }
}
.fpanel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  min-width: 0;
}
.fpanel-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.fpanel-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.fpanel-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.35;
}
.fpanel-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: auto;
}
.fpanel-deliverable {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* 6. Status Pills & Standardized Matrix Footnotes */
.matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.matrix-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
.matrix-table th {
  background: var(--surface-2);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
  line-height: 1.55;
}
/* 3-column table (Compliance & Truth Matrix) */
.matrix-table tr > *:nth-child(1):nth-last-child(3) {
  width: 28%;
  min-width: 190px;
  font-weight: 600;
  color: var(--text);
}
.matrix-table tr > *:nth-child(2):nth-last-child(2) {
  width: 22%;
  min-width: 160px;
  white-space: nowrap;
}
.matrix-table tr > *:nth-child(3):nth-last-child(1) {
  width: 50%;
  min-width: 320px;
  color: var(--text-muted);
}

/* 4-column table (Industry Regulatory & Technical Matrices) */
.matrix-table:has(th:nth-child(4)),
.matrix-table:has(td:nth-child(4)) {
  min-width: 960px;
}
.matrix-table tr > *:nth-child(1):nth-last-child(4) {
  width: 22%;
  min-width: 180px;
  font-weight: 600;
  color: var(--text);
}
.matrix-table tr > *:nth-child(2):nth-last-child(3) {
  width: 26%;
  min-width: 200px;
  color: var(--text-muted);
}
.matrix-table tr > *:nth-child(3):nth-last-child(2) {
  width: 28%;
  min-width: 220px;
  color: var(--text-muted);
}
.matrix-table tr > *:nth-child(4):nth-last-child(1) {
  width: 24%;
  min-width: 200px;
  color: var(--text-muted);
}
.matrix-table tr:last-child td {
  border-bottom: none;
}
.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}
.table-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill.status-prod,
.status-pill.status-product {
  background: rgba(95, 211, 184, 0.12);
  color: var(--accent);
  border: 1px solid rgba(95, 211, 184, 0.3);
}
.status-pill.status-certified,
.status-pill.status-compliant {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.status-pill.status-enterprise,
.status-pill.status-option {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.status-pill.status-pilot {
  background: rgba(251, 191, 36, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.canonical-footnote,
.canonical-footnote-styled {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(95, 211, 184, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 7. Institutional Compliance Emblem & ENS Card */
.ens-compliance-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ens-compliance-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 170px;
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD3B8' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L3 7v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-9-5z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.ens-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.ens-emblem-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: rgba(95, 211, 184, 0.12);
  border: 1px solid rgba(95, 211, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.ens-shield-svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}
.ens-header-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ens-norm-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ens-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.ens-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 22px 0;
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
}
.ens-spec-box {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.ens-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex-wrap: wrap;
}
.ens-spec-row.highlight {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 2px;
  justify-content: flex-start;
  gap: 8px;
}
.ens-spec-check {
  color: var(--accent);
  font-weight: 700;
}
.ens-spec-label {
  color: var(--text-faint);
  flex-shrink: 0;
}
.ens-spec-val {
  color: var(--text);
  text-align: right;
  font-weight: 500;
  overflow-wrap: break-word;
}
.ens-spec-row.highlight .ens-spec-val {
  color: var(--accent);
  text-align: left;
}
@media (max-width: 540px) {
  .ens-compliance-card {
    padding: 24px 18px;
  }
  .ens-card-header {
    align-items: flex-start;
    gap: 12px;
  }
  .ens-emblem-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 10px;
  }
  .ens-shield-svg {
    width: 20px;
    height: 20px;
  }
  .ens-card-title {
    font-size: 1.1rem;
  }
  .ens-spec-box {
    padding: 12px 14px;
    gap: 8px;
  }
  .ens-spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .ens-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .ens-spec-val {
    text-align: left;
    font-size: 0.82rem;
  }
}

/* Backward compatibility for .gov-emblem and .terminal-card */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-width: 0;
}
.gov-emblem-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  min-width: 0;
}
.gov-emblem-svg {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  min-width: 44px;
  min-height: 44px;
  stroke: var(--accent);
  flex-shrink: 0;
}
.gov-emblem-title {
  font-size: 1.22rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}
.gov-emblem-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* 8. CISO Architecture Diagram Card */
.visual-diagram-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.diagram-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}
.diagram-legend {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.external {
  background: #EF4444;
}
.legend-dot.valnatir {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.legend-dot.enterprise {
  background: var(--accent-purple);
}
.diagram-canvas-svg {
  width: 100%;
  min-width: 820px;
  height: auto;
  display: block;
}

/* 9. Cryptographic Live Terminal Console */
.terminal-status-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}
.terminal-title {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.terminal-body {
  padding: 20px;
  line-height: 1.8;
  color: var(--text-muted);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.t-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-muted);
  white-space: normal;
  overflow-wrap: anywhere;
}
.t-line.highlight {
  background: rgba(95, 211, 184, 0.08);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text);
  margin: 4px 0;
}
.t-line.terminal-verified {
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(95, 211, 184, 0.2);
}
.t-ts {
  color: var(--text-faint);
  margin-right: 8px;
}
.t-tag {
  font-weight: 700;
  margin-right: 6px;
}
.t-tag.ok { color: var(--accent); }
.t-tag.warn { color: #FBBF24; }
.t-tag.accent { color: #38BDF8; }
.t-tag.success { color: #10B981; }

/* 10. Legal Disclosure Drawers */
.legal-drawer-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.legal-drawer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-wrap: break-word;
  min-width: 0;
}
.legal-drawer-card:last-child {
  margin-bottom: 0;
}
.legal-drawer-title {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-drawer-content {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-drawer-content p {
  margin-bottom: 12px;
}
.legal-drawer-content p:last-child {
  margin-bottom: 0;
}
.legal-drawer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  overflow-wrap: break-word;
}


