/* ==========================================================================
   IMNOVA ONLINE — Firma de Ingeniería de Software, Productos Digitales y Consultoría
   Paleta Adaptada al Logo Oficial IMNOVA (Lavanda Luminoso / Orquídea / Amatista)
   ========================================================================== */

:root {
  --bg-obsidian: #050408;
  --bg-card: #0a0910;
  --bg-card-elevated: #100e19;
  --accent-amber: #9b6fe0;
  --accent-amber-bright: #dcbdff;
  --accent-copper: #7c52bd;
  --text-primary: #ffffff;
  --text-secondary: #c4b8d8;
  --text-muted: #8c7da6;
  --text-dim: #4c4163;
  --border-subtle: rgba(212, 180, 255, 0.10);
  --border-card: rgba(205, 170, 255, 0.12);
  --font-display: 'Michroma', 'Orbitron', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ==========================================================================
   3-Layer Depth Sandwich for 3D Particle Sphere Canvas
   ========================================================================== */

#orbyte-sphere-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20;
  pointer-events: none;
  display: block;
}

.layer-bg { position: relative; z-index: 10; }
.layer-fg { position: relative; z-index: 30; }

/* ==========================================================================
   SPECTACULAR COMMAND HEADER (Sticky Glassmorphic Dock + Mega-Menus)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  padding: 16px 48px;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 11px 48px;
  background: rgba(7, 5, 12, 0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(205, 170, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Left Brand Lockup */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  position: relative;
  z-index: 125;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-lockup:hover .brand-logo-img {
  transform: scale(1.03);
}

.logo-vortex-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-vortex-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 15;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: rgba(212, 180, 255, 0.2);
}

.brand-tag-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 195, 255, 0.65);
  line-height: 1.3;
}

/* Center Navigation Capsule with Mega-Menus */
.nav-capsule {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(14, 11, 22, 0.76);
  border: 1px solid rgba(205, 170, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(235, 210, 255, 0.08);
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(235, 222, 255, 0.78);
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(180, 138, 240, 0.14);
}

.nav-link.active {
  box-shadow: inset 0 0 0 1px rgba(200, 158, 255, 0.5);
}

.nav-caret {
  width: 10px;
  height: 10px;
  opacity: 0.65;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega-Menu Dropdown Panel */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 540px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(11, 9, 18, 0.96);
  border: 1px solid rgba(205, 170, 255, 0.18);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.88), 0 0 0 1px rgba(177, 139, 232, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s;
  z-index: 150;
}

.mega-dropdown.mega-wide {
  width: 640px;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

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

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(205, 170, 255, 0.10);
}

.mega-header-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-amber-bright);
}

.mega-header-link {
  font-size: 11.5px;
  color: rgba(225, 205, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-header-link:hover {
  color: #ffffff;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mega-card-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(205, 170, 255, 0.03);
  border: 1px solid rgba(205, 170, 255, 0.08);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mega-card-link:hover {
  background: rgba(167, 124, 226, 0.14);
  border-color: rgba(205, 165, 255, 0.42);
  transform: translateY(-1px);
}

.mega-badge-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-amber-bright);
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(167, 124, 226, 0.18);
  border: 1px solid rgba(205, 165, 255, 0.34);
  flex-shrink: 0;
}

.mega-card-title {
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 3px;
  display: block;
}

.mega-card-sub {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(220, 205, 242, 0.58);
  display: block;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-secondary-link {
  font-size: 12px;
  font-weight: 500;
  color: rgba(225, 205, 255, 0.78);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  transition: color 0.2s ease;
}

.header-secondary-link:hover {
  color: #ffffff;
}

/* HUD Reticle Corner Bracket Button */
.btn-hud-brackets {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(177, 139, 232, 0.12);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-hud-brackets:hover {
  background: rgba(177, 139, 232, 0.24);
  transform: translateY(-1px);
}

.btn-hud-brackets .corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: rgba(228, 198, 255, 0.9);
  border-style: solid;
  pointer-events: none;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.btn-hud-brackets:hover .corner {
  width: 10px;
  height: 10px;
  border-color: var(--accent-amber-bright);
}

.btn-hud-brackets .corner.tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.btn-hud-brackets .corner.tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.btn-hud-brackets .corner.bl { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.btn-hud-brackets .corner.br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(177, 139, 232, 0.10);
  border: 1px solid rgba(205, 170, 255, 0.2);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section & Technical Crosshair Grid (Tonos Logo IMNOVA)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px 56px 38px;
  overflow: hidden;
}

.page-hero-section {
  position: relative;
  min-height: 98vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 118px 56px 46px;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(205, 170, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(205, 170, 255, 0.032) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%);
}

.hero-crosshairs {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(220, 188, 255, 0.24) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.45;
}

/* Top-center atmospheric glow in the exact lavender-orchid-amethyst palette of the IMNOVA logo */
.hero-solar-glow {
  position: absolute;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 28%,
    rgba(244, 220, 255, 0.92) 0%,
    rgba(195, 148, 246, 0.68) 24%,
    rgba(142, 96, 212, 0.38) 48%,
    rgba(78, 45, 134, 0.15) 70%,
    rgba(5, 4, 8, 0) 86%
  );
  filter: blur(28px);
  z-index: 4;
  pointer-events: none;
}

.hud-version-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(215, 185, 255, 0.6);
  position: relative;
  z-index: 30;
  margin-bottom: 24px;
}

/* ==========================================================================
   Hero Center Anchor & Main Split Content
   ========================================================================== */

.hero-sphere-stage,
.page-sphere-stage {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 410px;
  height: 410px;
  pointer-events: none;
  z-index: 15;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: end;
  gap: 40px;
  width: 100%;
  max-width: 1380px;
  margin: auto auto 48px;
  position: relative;
  z-index: 30;
}

.bracket-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d4b2ff;
  margin-bottom: 18px;
  display: inline-block;
}

.hero-headline-stage {
  position: relative;
  width: 100%;
  max-width: 515px;
  min-height: 228px;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.35vw, 30px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.25s ease;
}

.hero-headline-stage.canvas-active .hero-headline {
  opacity: 0;
  pointer-events: none;
}

.hero-headline-canvas {
  position: absolute;
  left: -28px;
  top: -32px;
  pointer-events: none;
  z-index: 5;
}

.hero-statement-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.statement-dot {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(212, 178, 255, 0.22);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

.statement-dot:hover {
  background: rgba(212, 178, 255, 0.5);
}

.statement-dot.active {
  width: 40px;
  background: linear-gradient(90deg, #ffffff 0%, #d4b2ff 100%);
  box-shadow: 0 0 12px rgba(196, 148, 255, 0.55);
}

.hero-headline .line {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero-headline .line-fade-right {
  background: linear-gradient(90deg, #ffffff 0%, #ead8ff 58%, rgba(188, 145, 245, 0.25) 94%, rgba(177, 139, 232, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-headline .line-indented {
  padding-left: 10px;
  gap: 14px;
  color: #f3e8ff;
}

.star-four-point {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 14px rgba(205, 165, 255, 0.55));
  animation: starPulse 4s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

.hero-right-panel {
  max-width: 380px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 4px;
}

.hud-symbol-a {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: #d4b2ff;
}

.hud-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(215, 190, 255, 0.68);
  font-variant-numeric: tabular-nums;
}

.hero-description {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(235, 224, 252, 0.72);
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}

.btn-text-link {
  color: #d4b2ff;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.btn-text-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Hero Bottom Sector Strip
   ========================================================================== */

.hero-logos-footer {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 30;
}

.trusted-label {
  font-size: 12px;
  color: rgba(212, 185, 250, 0.54);
  letter-spacing: 0.02em;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  width: 100%;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(215, 192, 248, 0.48);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.partner-logo:hover {
  color: #e6ccff;
  transform: translateY(-1px);
}

.partner-logo svg {
  height: 17px;
  width: auto;
  fill: currentColor;
}

/* ==========================================================================
   Section 2: [ QUIÉNES SOMOS & MISIÓN ] — Enunciados y Tarjetas con Color del Logo
   ========================================================================== */

.about-section {
  position: relative;
  padding: 125px 56px 105px;
  max-width: 1380px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 30;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 33px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 980px;
  margin: 0 auto;
}

.about-headline .headline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Enunciados con degradado progresivo en los tonos lavanda/orquídea del logo */
.about-headline .row-1 { color: #ffffff; }
.about-headline .row-2 { color: #d8bcf8; }
.about-headline .row-3 { color: #9f7ad6; }

/* Inline slot where the 3D particle sphere lands during Section 2 */
.sphere-inline-slot {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 6px;
  position: relative;
  pointer-events: none;
}

/* 3 Metric / Pillar Cards Grid */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 84px;
  position: relative;
  z-index: 30;
}

.metric-card {
  position: relative;
  border-radius: 18px;
  min-height: 335px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(200, 162, 250, 0.16);
  background: var(--bg-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 255, 0.38);
  box-shadow: 0 18px 45px rgba(132, 94, 194, 0.18);
}

.metric-card-photo { background: #0b0812; }

.office-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.metric-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 16, 0.32) 0%,
    rgba(12, 8, 20, 0.25) 45%,
    rgba(9, 6, 15, 0.90) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.metric-card-photo > * { position: relative; z-index: 3; }

.metric-card-dark {
  background: linear-gradient(180deg, #130e20 0%, #090710 100%);
  border-color: rgba(195, 155, 248, 0.20);
}

/* Card 3: Exact Gradient from the IMNOVA Logo! */
.metric-card-amber {
  background: linear-gradient(145deg, #b589eb 0%, #865bc4 52%, #6840a3 100%);
  border-color: rgba(238, 212, 255, 0.36);
  box-shadow: 0 16px 40px rgba(134, 91, 196, 0.28);
}

.metric-card-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e5d0ff;
}

.metric-card-label.uppercase {
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #e5d0ff;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.metric-desc {
  font-size: 13px;
  line-height: 1.58;
  color: rgba(230, 216, 250, 0.72);
  max-width: 310px;
}

.metric-card-amber .metric-desc {
  color: rgba(255, 255, 255, 0.92);
}

.metric-mid-group { margin-top: -8px; }

.avatar-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack { display: flex; align-items: center; }

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #0b0912;
  overflow: hidden;
  margin-left: -10px;
  background: #272038;
  flex-shrink: 0;
}

.avatar-circle:first-child { margin-left: 0; }
.avatar-circle svg { width: 100%; height: 100%; display: block; }

.avatar-trust-text {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(225, 208, 248, 0.68);
}

/* ==========================================================================
   3 Vertical Interactive Pillar Cards (IA, Automatización, Diseño & Marca)
   ========================================================================== */
.about-pillars-vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
  z-index: 30;
}

.pillar-vertical-card {
  position: relative;
  height: 448px;
  border-radius: 20px;
  overflow: hidden;
  background: #08060f;
  border: 1px solid rgba(212, 178, 255, 0.24);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-vertical-card:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 198, 255, 0.65);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.85),
    0 0 36px rgba(165, 118, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.pillar-vertical-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  transform: scale(1);
  filter: brightness(0.96);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-vertical-card:hover .pillar-vertical-img {
  transform: scale(1.06);
  filter: brightness(0.22) blur(4px);
}

.pillar-card-top-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.pillar-card-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 8, 22, 0.82);
  border: 1px solid rgba(212, 178, 255, 0.34);
  color: #e8d2ff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums;
}

.pillar-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 8, 22, 0.82);
  border: 1px solid rgba(123, 241, 184, 0.45);
  color: #7bf1b8;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Resting bottom title strip (fades out when hovered) */
.pillar-card-resting-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 48px 22px 20px;
  background: linear-gradient(180deg, rgba(7, 5, 12, 0) 0%, rgba(7, 5, 12, 0.88) 55%, rgba(7, 5, 12, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}

.pillar-vertical-card:hover .pillar-card-resting-footer {
  opacity: 0;
  transform: translateY(12px);
}

.pillar-resting-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pillar-resting-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(224, 200, 255, 0.78);
  letter-spacing: 0.04em;
}

/* Full Hover Information Panel */
.pillar-hover-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 64px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, rgba(11, 8, 22, 0.72) 0%, rgba(11, 8, 22, 0.95) 45%, rgba(8, 6, 15, 0.98) 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.38s;
}

.pillar-vertical-card:hover .pillar-hover-panel,
.pillar-vertical-card:focus-within .pillar-hover-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pillar-hover-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-hover-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7bf1b8;
}

.pillar-hover-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.pillar-hover-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.56;
  color: rgba(235, 222, 255, 0.88);
}

.pillar-hover-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 178, 255, 0.18);
}

.pillar-hover-list li {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.4;
  color: #f3e8ff;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pillar-hover-list li::before {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 700;
  color: #7bf1b8;
  flex-shrink: 0;
}

.pillar-hover-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(181, 137, 235, 0.28) 0%, rgba(118, 74, 186, 0.24) 100%);
  border: 1px solid rgba(226, 198, 255, 0.52);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pillar-hover-cta:hover {
  background: linear-gradient(135deg, #b589eb 0%, #865bc4 100%);
  border-color: #ffffff;
}

@media (max-width: 980px) {
  .about-pillars-vertical-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

.about-bottom-statement {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 40px;
  position: relative;
  z-index: 30;
}

.statement-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 142, 242, 0.08) 0%, rgba(205, 168, 255, 0.32) 100%);
  margin-bottom: 10px;
}

.statement-display-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.15vw, 29px);
  line-height: 1.38;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.statement-display-text .st-line-1 { color: #ffffff; }
.statement-display-text .st-line-2 { color: #dfc6ff; }
.statement-display-text .st-line-3 { color: #b691e8; }
.statement-display-text .st-line-4 { color: #8c66c4; }

/* ==========================================================================
   Section 3: [ SERVICIOS & PLATAFORMAS ] — 3 Stepped Feature Cards
   ========================================================================== */

.platform-section {
  position: relative;
  padding: 90px 56px 135px;
  max-width: 1380px;
  margin: 0 auto;
}

.platform-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 52px;
  position: relative;
  z-index: 30;
}

.platform-headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.35vw, 32px);
  line-height: 1.38;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.platform-headline .pl-1 { color: #ffffff; }
.platform-headline .pl-2 { color: #c7a4f5; }

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.platform-card {
  position: relative;
  border-radius: 18px;
  height: 555px;
  padding: 30px 26px 26px;
  background: linear-gradient(180deg, #110d1c 0%, #06050a 100%);
  border: 1px solid rgba(195, 155, 248, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 10;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  border-color: rgba(215, 180, 255, 0.35);
  box-shadow: 0 18px 48px rgba(132, 94, 194, 0.16);
}

.platform-card.step-1 { margin-top: 0; }
.platform-card.step-2 { margin-top: 16px; }
.platform-card.step-3 { margin-top: 32px; }

.platform-card-top { position: relative; z-index: 12; }

.platform-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber-bright);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.platform-card-title {
  font-family: var(--font-sans);
  font-size: 18.5px;
  font-weight: 500;
  color: #f4ebff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.platform-card-desc {
  font-size: 12.8px;
  line-height: 1.56;
  color: rgba(224, 208, 246, 0.68);
}

.sphere-card-slot {
  position: absolute;
  top: 54%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 275px;
  height: 275px;
  pointer-events: none;
}

.sphere-gear-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  pointer-events: none;
}

.sectors-headline-group {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.sphere-sectors-slot {
  display: inline-flex;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  pointer-events: none;
  flex-shrink: 0;
}

/* Dual Mobile App Showcase (SiGE Colegio Plaza + BULLKING) */
.mobile-apps-dual-showcase {
  position: relative;
  width: 100%;
  height: 292px;
  margin-top: auto;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 6px 4px 0;
  z-index: 15;
}

.phone-mockup-card {
  position: relative;
  width: 48%;
  max-width: 164px;
  height: 280px;
  border-radius: 20px 20px 14px 14px;
  background: #08060e;
  border: 2px solid rgba(208, 174, 255, 0.32);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.72),
    0 0 22px rgba(154, 107, 224, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.phone-mockup-card.phone-left {
  transform: translateY(-4px) rotate(-1.5deg);
  z-index: 2;
}

.phone-mockup-card.phone-right {
  transform: translateY(4px) rotate(1.5deg);
  z-index: 1;
}

.platform-card:hover .phone-mockup-card.phone-left {
  transform: translateY(-8px) rotate(-0.8deg);
  border-color: rgba(226, 198, 255, 0.56);
}

.platform-card:hover .phone-mockup-card.phone-right {
  transform: translateY(0px) rotate(0.8deg);
  border-color: rgba(226, 198, 255, 0.56);
}

.phone-mockup-card:hover {
  transform: translateY(-10px) scale(1.035) rotate(0deg) !important;
  border-color: rgba(238, 214, 255, 0.85) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(185, 142, 242, 0.36);
  z-index: 5 !important;
}

.phone-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(12, 9, 20, 0.88);
  border: 1px solid rgba(215, 180, 255, 0.22);
  z-index: 4;
  pointer-events: none;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  display: block;
  user-select: none;
}

.phone-badge-tag {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(11, 8, 19, 0.88);
  border: 1px solid rgba(212, 178, 255, 0.35);
  color: #f3e8ff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.automation-graphic-wrap {
  position: relative;
  width: 100%;
  height: 255px;
  margin-top: auto;
  margin-bottom: 8px;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(205, 170, 255, 0.14);
  border-bottom: none;
  background: linear-gradient(180deg, rgba(185, 142, 242, 0.06) 0%, rgba(185, 142, 242, 0) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.browser-top-bar {
  height: 36px;
  border-bottom: 1px solid rgba(205, 170, 255, 0.12);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(215, 180, 255, 0.28);
}

.gear-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gear-svg {
  width: 185px;
  height: 185px;
  opacity: 0.9;
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 0 22px rgba(167, 124, 226, 0.22));
}

.dev-stack-wrap {
  position: relative;
  width: 100%;
  height: 255px;
  margin-top: auto;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.code-sheet {
  position: absolute;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(205, 170, 255, 0.20);
  border-bottom: none;
  background: linear-gradient(180deg, #161124 0%, #07050c 92%);
}

.code-sheet.sheet-back { width: 78%; height: 225px; top: 10px; right: 12px; opacity: 0.45; }
.code-sheet.sheet-mid { width: 82%; height: 210px; top: 25px; right: 26px; opacity: 0.7; }
.code-sheet.sheet-front {
  width: 85%;
  height: 195px;
  top: 40px;
  left: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.code-line {
  height: 1.5px;
  background: rgba(215, 180, 255, 0.34);
  width: 100%;
  transform-origin: left;
}

.platform-card-ActionWrap {
  position: relative;
  z-index: 35;
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(22, 16, 34, 0.85);
  border: 1px solid rgba(205, 170, 255, 0.22);
  color: #f0e2ff;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-pill-outline:hover {
  border-color: rgba(220, 189, 255, 0.65);
  color: #ffffff;
  background: rgba(148, 102, 218, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   MULTI-PAGE CORPORATE SECTIONS (Nosotros, Misión/Visión, Valores, Servicios, Portafolio)
   ========================================================================== */

.content-section {
  position: relative;
  z-index: 30;
  max-width: 1380px;
  margin: 0 auto;
  padding: 95px 56px;
}

.section-divider-top {
  border-top: 1px solid rgba(205, 170, 255, 0.10);
}

.section-intro-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.section-title-display {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.36;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, #dcc0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead-copy {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(230, 216, 250, 0.72);
}

/* Misión & Visión Dual Monumental Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.mv-card {
  position: relative;
  border-radius: 20px;
  padding: 42px 38px;
  background: linear-gradient(165deg, rgba(22, 16, 36, 0.94) 0%, rgba(9, 7, 15, 0.96) 100%);
  border: 1px solid rgba(205, 170, 255, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 255, 0.45);
}

.mv-card.mv-featured {
  background: linear-gradient(155deg, rgba(167, 124, 226, 0.26) 0%, rgba(15, 11, 24, 0.96) 68%);
  border-color: rgba(215, 180, 255, 0.34);
}

.mv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber-bright);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(167, 124, 226, 0.18);
  border: 1px solid rgba(205, 170, 255, 0.34);
}

.mv-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(215, 185, 255, 0.45);
}

.mv-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  color: #f5ebff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.mv-text {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(235, 224, 252, 0.8);
}

/* Valores Corporativos & Qué Hacemos Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  position: relative;
  border-radius: 16px;
  padding: 30px 28px;
  background: linear-gradient(180deg, rgba(18, 14, 28, 0.92) 0%, rgba(9, 7, 15, 0.94) 100%);
  border: 1px solid rgba(205, 170, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.value-card:hover {
  border-color: rgba(215, 180, 255, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(132, 94, 194, 0.16);
}

.value-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-amber-bright);
  letter-spacing: 0.08em;
}

.value-title {
  font-size: 17px;
  font-weight: 500;
  color: #f3e8ff;
}

.value-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(225, 210, 248, 0.68);
}

/* Catálogo de Servicios Corporativos (01 - 05 Detailed Showcase) */
.services-catalog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 0.35fr 1.15fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 38px 40px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 14, 30, 0.94) 0%, rgba(9, 7, 15, 0.96) 100%);
  border: 1px solid rgba(205, 170, 255, 0.14);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
  border-color: rgba(215, 180, 255, 0.46);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(132, 94, 194, 0.18);
}

.service-index-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  color: var(--accent-amber-bright);
  line-height: 1;
  margin-bottom: 10px;
}

.service-category-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(215, 185, 255, 0.58);
}

.service-main-title {
  font-size: 22px;
  font-weight: 500;
  color: #f4ebff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-main-desc {
  font-size: 14px;
  line-height: 1.68;
  color: rgba(230, 215, 250, 0.72);
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid rgba(205, 170, 255, 0.14);
}

.service-deliverables li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(235, 220, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-deliverables li::before {
  content: '+';
  color: var(--accent-amber-bright);
  font-weight: 700;
}

.service-mobile-showcase {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(205, 170, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.service-mobile-showcase-info {
  flex: 1;
  min-width: 260px;
}

.service-mobile-showcase-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.service-mobile-showcase-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(230, 215, 250, 0.76);
  max-width: 460px;
}

.service-mobile-showcase .mobile-apps-dual-showcase {
  width: 380px;
  max-width: 100%;
  height: 310px;
  margin: 0;
}

.service-mobile-showcase .phone-mockup-card {
  max-width: 174px;
  height: 298px;
}

/* División de Productos Propios (Portafolio de Plataformas) */
.portfolio-sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.sector-card {
  position: relative;
  border-radius: 16px;
  padding: 24px 26px;
  height: 278px;
  min-height: 278px;
  max-height: 278px;
  background: linear-gradient(165deg, #151024 0%, #08060e 100%);
  border: 1px solid rgba(205, 170, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 255, 0.52);
  box-shadow: 0 22px 52px rgba(132, 94, 194, 0.24);
}

/* Interactive Real Product Screenshot Background Layer */
.sector-media-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.96;
  filter: brightness(0.98);
  transform: scale(1);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-card.sector-card-interactive:hover .sector-media-bg {
  opacity: 0.48;
  filter: brightness(0.72);
  transform: scale(1.02);
}

.sector-single-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  display: block;
}

/* Sector 02 (Educativo SiGE): Dual View showing Front Principal + Dashboard Principal de la Directora */
.sector-dual-screens {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a0712;
}

.sector-dual-screens .school-screen-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 255, 0.32);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.72);
  transition: transform 0.5s ease;
}

.sector-dual-screens .school-screen-front {
  top: 14px;
  left: 14px;
  width: 62%;
  height: 76%;
  z-index: 1;
}

.sector-dual-screens .school-screen-admin {
  bottom: 14px;
  right: 14px;
  width: 68%;
  height: 82%;
  z-index: 2;
}

.sector-dual-screens .school-screen-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top left;
  display: block;
}

.school-screen-tag {
  position: absolute;
  top: 8px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(11, 8, 19, 0.86);
  border: 1px solid rgba(215, 180, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #e8d2ff;
  text-transform: uppercase;
  z-index: 3;
}

/* Sector 04 (Comercial y Logístico): Continuous Sliding Track with Real Product Screenshots */
.sector-slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #090610;
}

.sector-slider-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: max-content;
  gap: 14px;
  padding: 12px;
  animation: commercialSlideMarquee 34s linear infinite;
}

@keyframes commercialSlideMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sector-slide-item {
  position: relative;
  width: 635px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 255, 0.28);
  background: #0b0814;
  flex-shrink: 0;
}

.sector-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top left;
  display: block;
}

/* Top-Right Animated Pointing Hand Click Indicator */
.sector-click-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 8, 22, 0.88);
  border: 1.5px solid rgba(220, 189, 255, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.72), 0 0 18px rgba(181, 137, 235, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.sector-click-indicator::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 189, 255, 0.85);
  opacity: 0;
  animation: clickRipplePulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.click-hand-svg {
  width: 21px;
  height: 21px;
  color: #f3e6ff;
  filter: drop-shadow(0 2px 6px rgba(181, 137, 235, 0.65));
  transform-origin: 45% 25%;
  animation: handTapClick 2.2s ease-in-out infinite;
}

@keyframes handTapClick {
  0%, 100% {
    transform: translate(0, 2px) scale(1) rotate(0deg);
  }
  28% {
    transform: translate(-1px, -2px) scale(0.84) rotate(-6deg);
  }
  45% {
    transform: translate(0, 2px) scale(1.04) rotate(0deg);
  }
}

@keyframes clickRipplePulse {
  0%, 22% {
    transform: scale(0.75);
    opacity: 0;
  }
  30% {
    transform: scale(1);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.sector-card.sector-card-interactive:hover .sector-click-indicator,
.metric-card-photo:hover .sector-click-indicator {
  opacity: 0;
  transform: scale(0.78);
}

/* Hover Content Overlay (Reveals Current Information when Mouse Hovers) */
.sector-hover-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-card.sector-card-interactive:hover .sector-hover-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Real Product Previews inside Section 2 & Section 3 of Inicio (index.html) */
.metric-real-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.88;
  transition: opacity 0.42s ease, filter 0.42s ease, transform 0.5s ease;
}

.metric-real-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.metric-card-photo .metric-hover-reveal {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.metric-card-photo:hover .metric-real-media {
  opacity: 0.16;
  filter: blur(3px) brightness(0.45);
  transform: scale(1.04);
}

.metric-card-photo:hover .metric-hover-reveal {
  opacity: 1;
  transform: translateY(0);
}

.platform-screen-img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.platform-card:hover .platform-screen-img {
  transform: scale(1.03);
}

.code-sheet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: 13px 13px 0 0;
}

.sector-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sector-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-amber-bright);
}

.sector-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  color: #f4ebff;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 12px;
}

.sector-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(235, 224, 252, 0.88);
}

.sector-platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact Page Unified Direct Channels Card */
.contact-grid-layout {
  display: block;
  max-width: 1020px;
  margin: 0 auto;
}

.contact-unified-card {
  border-radius: 22px;
  padding: 46px 48px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(181, 137, 235, 0.16) 0%, rgba(181, 137, 235, 0) 65%),
    linear-gradient(165deg, rgba(20, 15, 32, 0.96) 0%, rgba(9, 7, 15, 0.98) 100%);
  border: 1px solid rgba(205, 170, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.58);
}

.contact-unified-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.contact-unified-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  color: #f5ecff;
  letter-spacing: -0.01em;
}

.contact-unified-desc {
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(230, 215, 250, 0.76);
  max-width: 680px;
}

.contact-icons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0;
}

.contact-icon-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 12px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(185, 142, 242, 0.08) 0%, rgba(14, 10, 23, 0.85) 100%);
  border: 1px solid rgba(208, 174, 255, 0.22);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.contact-icon-action:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 206, 255, 0.72);
  background: linear-gradient(180deg, rgba(185, 142, 242, 0.22) 0%, rgba(20, 14, 34, 0.94) 100%);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(173, 126, 235, 0.32);
}

.contact-icon-orb {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 32% 28%, rgba(232, 210, 255, 0.26) 0%, rgba(148, 102, 218, 0.14) 55%, rgba(16, 11, 26, 0.92) 100%);
  border: 1.5px solid rgba(220, 189, 255, 0.46);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(173, 126, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon-action:hover .contact-icon-orb {
  transform: scale(1.08);
  border-color: rgba(242, 224, 255, 0.9);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(196, 152, 252, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.contact-svg-icon {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(185, 142, 242, 0.45));
}

.contact-icon-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #f6eeff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.contact-icon-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(220, 198, 248, 0.72);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.contact-unified-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(205, 170, 255, 0.14);
  text-align: center;
}

.contact-unified-note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(220, 198, 248, 0.66);
  display: block;
}

@media (max-width: 640px) {
  .contact-icons-row {
    grid-template-columns: 1fr;
  }
}

.contact-panel-card {
  border-radius: 20px;
  padding: 38px 36px;
  background: linear-gradient(165deg, rgba(20, 15, 32, 0.94) 0%, rgba(9, 7, 15, 0.96) 100%);
  border: 1px solid rgba(205, 170, 255, 0.18);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4b2ff;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(185, 142, 242, 0.05);
  border: 1px solid rgba(205, 170, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-amber-bright);
}

.scope-ChipsGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.06);
  border: 1px solid rgba(205, 170, 255, 0.16);
  color: rgba(235, 220, 255, 0.78);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scope-chip.selected,
.scope-chip:hover {
  background: rgba(167, 124, 226, 0.28);
  border-color: var(--accent-amber-bright);
  color: #ffffff;
}

/* ==========================================================================
   Section 4: Footer, Horizon Glow in Logo Colors, Mountain Silhouettes
   ========================================================================== */

.footer-section {
  position: relative;
  width: 100%;
  padding-top: 90px;
  overflow: hidden;
  background: var(--bg-obsidian);
  border-top: 1px solid rgba(205, 170, 255, 0.10);
}

/* Horizon sky glow in the exact lavender/orchid/amethyst gradient of the IMNOVA logo */
.footer-sunset-sky {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 460px;
  background: radial-gradient(
    ellipse 62% 52% at 50% 58%,
    rgba(195, 148, 246, 0.72) 0%,
    rgba(142, 96, 212, 0.56) 35%,
    rgba(82, 48, 138, 0.26) 65%,
    rgba(5, 4, 8, 0) 90%
  );
  filter: blur(22px);
  z-index: 10;
  pointer-events: none;
}

.footer-top-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 52px;
  position: relative;
  z-index: 30;
}

.footer-brand-col { max-width: 420px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(230, 215, 250, 0.68);
  margin-bottom: 26px;
}

.footer-cta-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Primary Pill Button in IMNOVA Logo Gradient */
.btn-pill-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b589eb 0%, #8459c2 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(238, 212, 255, 0.42);
  box-shadow: 0 6px 24px rgba(148, 102, 218, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn-pill-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(167, 124, 226, 0.52);
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.06);
  border: 1px solid rgba(205, 170, 255, 0.20);
  color: #efe2ff;
  font-size: 12.5px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-pill-dark:hover {
  background: rgba(185, 142, 242, 0.14);
  border-color: rgba(220, 189, 255, 0.42);
  color: #ffffff;
}

/* 4-Column Corporate Footer Navigation Matrix */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-amber-bright);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(205, 170, 255, 0.14);
}

.footer-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col-list a {
  font-size: 12.5px;
  color: rgba(230, 215, 250, 0.76);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Horizon Stage: 3D Sphere Anchor + Layered Mountains + Stay Updated Modal */
.footer-horizon-stage {
  position: relative;
  width: 100%;
  margin-top: 28px;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sphere-footer-slot {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 265px;
  height: 265px;
  pointer-events: none;
  z-index: 15;
}

.mountains-svg-wrap {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 340px;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}

.mountains-svg-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.newsletter-glass-card {
  position: relative;
  z-index: 35;
  width: 100%;
  max-width: 520px;
  margin-top: 75px;
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(215, 180, 255, 0.10) 0%, rgba(15, 11, 24, 0.78) 100%);
  border: 1px solid rgba(215, 180, 255, 0.20);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.newsletter-title {
  font-size: 14px;
  font-weight: 500;
  color: #f4ebff;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  background: rgba(9, 7, 15, 0.72);
  border: 1px solid rgba(205, 170, 255, 0.22);
  margin-bottom: 18px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12.5px;
}

.newsletter-input::placeholder { color: rgba(220, 200, 248, 0.54); }

.newsletter-submit {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #b589eb 0%, #8459c2 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.newsletter-submit:hover {
  filter: brightness(1.12);
  transform: scale(1.02);
}

.social-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.05);
  border: 1px solid rgba(205, 170, 255, 0.12);
  color: rgba(235, 220, 255, 0.78);
  font-size: 11px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-pill:hover {
  background: rgba(185, 142, 242, 0.16);
  color: #ffffff;
  border-color: rgba(220, 189, 255, 0.35);
}

.footer-monument-wrap {
  position: relative;
  z-index: 30;
  width: 100%;
  margin-top: 36px;
  padding-top: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, #050408 35%);
}

.monument-wordmark {
  width: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.footer-bottom-bar {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(220, 202, 248, 0.62);
  z-index: 35;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile Reflow)
   ========================================================================== */

@media (max-width: 1100px) {
  .site-header { padding: 14px 24px; }
  .site-header.is-scrolled { padding: 10px 24px; }
  .brand-divider, .brand-tag-mono, .header-secondary-link { display: none; }

  .hero-section, .page-hero-section, .about-section, .platform-section, .content-section, .footer-top-container, .footer-bottom-bar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-main-grid, .about-bottom-statement, .footer-top-container, .section-intro-row, .mission-vision-grid, .portfolio-sectors-grid, .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-cards-grid, .platform-cards-grid, .values-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-deliverables {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(205, 170, 255, 0.14);
    padding-top: 16px;
  }

  .platform-card.step-1, .platform-card.step-2, .platform-card.step-3 {
    margin-top: 0;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  /* --- Encabezado y Navegación Móvil --- */
  .site-header {
    padding: 12px 16px;
  }
  .header-actions {
    gap: 8px;
  }
  .nav-capsule {
    display: none;
  }
  .nav-capsule.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    border-radius: 16px;
    padding: 16px 14px;
    background: rgba(11, 9, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-capsule.mobile-open .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-capsule.mobile-open .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    color: #f1f0f5;
  }
  .nav-capsule.mobile-open .nav-link:active,
  .nav-capsule.mobile-open .nav-link.active {
    background: rgba(167, 139, 250, 0.12);
    color: #e0d7fe;
  }
  /* Ocultar mega menús voluminosos de escritorio en móvil para navegación limpia */
  .nav-capsule.mobile-open .mega-dropdown {
    display: none !important;
  }
  .nav-capsule.mobile-open .nav-caret {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    background: rgba(18, 15, 28, 0.85);
    color: #e0d7fe;
  }

  /* --- Hero & Cabeceras de Páginas --- */
  .hero-section {
    padding: 88px 16px 40px;
    min-height: auto;
  }
  .page-hero-section {
    min-height: auto !important;
    padding: 92px 16px 36px !important;
    justify-content: flex-start !important;
  }
  .hero-headline {
    font-size: 32px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
  }
  .hero-headline .line {
    white-space: normal;
  }
  .hero-subhead {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-cta-row .btn-hud-brackets,
  .hero-cta-row .btn-hud-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero-telemetry-strip {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
    font-size: 12px;
  }

  /* --- Secciones y Grillas Principales --- */
  .section-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  .section-head p {
    font-size: 14px !important;
  }

  /* --- Pilares y Tarjetas --- */
  .about-pillars-vertical-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-pillar-card {
    height: auto !important;
    min-height: 360px;
  }
  .pillar-card-content {
    padding: 20px 18px;
  }

  /* --- Sector Showcase & Marquee --- */
  .sector-slide-item {
    width: 285px !important;
    max-width: 82vw !important;
    aspect-ratio: 16/10;
  }

  /* --- Plataformas y Pestañas de Servicios --- */
  .platforms-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .services-deck-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    overflow-x: visible !important;
  }
  .service-deck-tab {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }

  /* --- Métricas & Pipeline --- */
  .metrics-four-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .pipeline-steps-track {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* --- Contacto y Formularios --- */
  .contact-unified-card {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }
  .contact-icons-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .contact-channel-item {
    padding: 14px;
    min-height: 48px;
  }

  /* --- Footer --- */
  .footer-links-grid, .social-pills-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    position: relative;
    bottom: 0;
    padding: 16px 16px 28px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 27px !important;
  }
  .metrics-four-grid {
    grid-template-columns: 1fr !important;
  }
  .services-deck-nav {
    grid-template-columns: 1fr !important;
  }
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .newsletter-form .input-hud,
  .newsletter-form button {
    width: 100% !important;
  }
  .footer-legal-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   AVANT-GARDE SHOWCASE ANIMATIONS (ABOUT CARDS, PLATFORM CARDS & SPATIAL 3D)
   ========================================================================== */

/* --- 1. About Card Live Status Pill --- */
.about-card-live-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 8, 20, 0.84);
  border: 1px solid rgba(208, 174, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.about-card-live-pill.pill-amber-theme {
  border-color: rgba(245, 194, 107, 0.42);
  background: rgba(18, 13, 8, 0.86);
}

.live-pill-index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.2);
  color: #ebd6ff;
  white-space: nowrap;
}

.pill-amber-theme .live-pill-index {
  background: rgba(245, 194, 107, 0.22);
  color: #ffe2a8;
}

.live-pill-name {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: #f4ebff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 2. About Card 1: Dual Overlapping Screen Morph Transition --- */
.dual-rotator-stage .school-screen-card {
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease,
    border-color 0.4s ease;
}

.dual-rotator-stage.is-swapping .school-screen-front {
  transform: translate3d(-12px, -10px, 0) scale(0.92) rotate(-2deg);
  opacity: 0.25;
  filter: blur(4px);
}

.dual-rotator-stage.is-swapping .school-screen-admin {
  transform: translate3d(14px, 12px, 0) scale(0.94) rotate(2deg);
  opacity: 0.25;
  filter: blur(4px);
}

/* --- 3. About Card 2: 3D Orbital Fanned Deck --- */
.about-orbital-deck {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 52px;
}

.orbital-card {
  position: absolute;
  width: 78%;
  height: 70%;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0a16;
  border: 1px solid rgba(212, 178, 255, 0.26);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    filter 0.7s ease,
    border-color 0.5s ease;
  will-change: transform, opacity;
}

.orbital-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  display: block;
}

.orbital-card.is-active {
  z-index: 5;
  transform: translate3d(0, -4px, 30px) rotateY(0deg) scale(1);
  opacity: 1;
  filter: brightness(1.04);
  border-color: rgba(229, 204, 255, 0.78);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.82),
    0 0 26px rgba(176, 128, 245, 0.32);
}

.orbital-card.is-next {
  z-index: 4;
  transform: translate3d(34px, -12px, -25px) rotateY(-16deg) rotateZ(2.5deg) scale(0.88);
  opacity: 0.72;
  filter: brightness(0.72);
}

.orbital-card.is-prev {
  z-index: 3;
  transform: translate3d(-34px, -12px, -25px) rotateY(16deg) rotateZ(-2.5deg) scale(0.88);
  opacity: 0.72;
  filter: brightness(0.72);
}

.orbital-card.is-far {
  z-index: 2;
  transform: translate3d(58px, -22px, -70px) rotateY(-24deg) rotateZ(4deg) scale(0.76);
  opacity: 0.35;
  filter: brightness(0.5) blur(1px);
}

.orbital-card.is-prev-far {
  z-index: 1;
  transform: translate3d(-58px, -22px, -70px) rotateY(24deg) rotateZ(-4deg) scale(0.76);
  opacity: 0.35;
  filter: brightness(0.5) blur(1px);
}

/* --- 4. About Card 3: 4-Quadrant Full-Frame Expansion Matrix --- */
.metric-card-amber-showcase {
  border-color: rgba(245, 194, 107, 0.28) !important;
}

.about-quad-matrix {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 14px 14px 54px;
}

.quad-cell {
  position: absolute;
  width: calc(50% - 18px);
  height: calc(50% - 38px);
  border-radius: 10px;
  overflow: hidden;
  background: #0d0a14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.68;
  filter: saturate(0.8) brightness(0.78);
  z-index: 1;
  cursor: pointer;
  transition:
    width 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease,
    border-color 0.45s ease,
    box-shadow 0.5s ease;
  will-change: width, height, opacity, filter;
}

/* Anchor each of the 4 quadrants to its corner so it expands from that corner to full frame */
.quad-cell:nth-child(1) {
  top: 14px;
  left: 14px;
  transform-origin: top left;
}

.quad-cell:nth-child(2) {
  top: 14px;
  right: 14px;
  transform-origin: top right;
}

.quad-cell:nth-child(3) {
  bottom: 54px;
  left: 14px;
  transform-origin: bottom left;
}

.quad-cell:nth-child(4) {
  bottom: 54px;
  right: 14px;
  transform-origin: bottom right;
}

.quad-cell img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top left;
  display: block;
}

.quad-cell.is-spotlight {
  width: calc(100% - 28px);
  height: calc(100% - 68px);
  opacity: 1;
  filter: saturate(1.05) brightness(1.03);
  border-color: rgba(245, 194, 107, 0.88);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(245, 194, 107, 0.3);
  z-index: 5;
}

.quad-cell.is-retracting {
  z-index: 3;
}

.quad-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(12, 9, 18, 0.9);
  color: #ffe2a8;
  border: 1px solid rgba(245, 194, 107, 0.42);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

/* --- 5. Platform Card 2: ERP / CRM / APIs Holographic Live Screen Stage --- */
.erp-live-window {
  display: flex;
  flex-direction: column;
  height: 272px !important;
  background: #08060e !important;
  border: 1px solid rgba(208, 174, 255, 0.24) !important;
  box-shadow: inset 0 0 32px rgba(155, 102, 235, 0.12);
}

.erp-window-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #e6ceff;
  letter-spacing: 0.07em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(168, 118, 245, 0.18);
  border: 1px solid rgba(212, 178, 255, 0.3);
}

.erp-holo-stage {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-holo-screens {
  position: absolute;
  inset: 0;
  perspective: 900px;
}

.erp-holo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  opacity: 0;
  transform: scale(1.08) translateY(10px) rotateX(6deg);
  filter: blur(5px) brightness(0.5);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s ease;
}

.erp-holo-img.is-active {
  opacity: 0.78;
  transform: scale(1) translateY(0) rotateX(0deg);
  filter: blur(0px) brightness(0.92);
}

.erp-holo-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(10, 7, 18, 0.52) 0%,
    rgba(10, 7, 18, 0.18) 48%,
    rgba(10, 7, 18, 0.65) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.erp-gear-overlay {
  position: relative;
  z-index: 2;
  width: 168px !important;
  height: 168px !important;
  filter: drop-shadow(0 0 18px rgba(168, 118, 245, 0.45));
}

/* --- 6. Platform Card 3: 3D UI/UX & Cloud Real-Screen Cascade --- */
.uiux-cascade-stage {
  position: relative;
  width: 100%;
  height: 272px;
  margin-top: auto;
  margin-bottom: 8px;
  perspective: 1100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cascade-screen-card {
  position: absolute;
  width: 92%;
  height: 215px;
  border-radius: 14px 14px 0 0;
  background: #120d1d;
  border: 1px solid rgba(214, 182, 255, 0.28);
  border-bottom: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.72);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease,
    filter 0.7s ease,
    border-color 0.5s ease;
  will-change: transform, opacity;
}

.cascade-screen-card .sheet-header {
  padding: 8px 12px;
  margin-bottom: 0;
  background: rgba(18, 13, 30, 0.95);
  border-bottom: 1px solid rgba(214, 182, 255, 0.16);
  font-size: 9.5px;
}

.cascade-img-box {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cascade-img-box img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top left;
  display: block;
}

.cascade-screen-card.is-front {
  z-index: 4;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: brightness(1.02);
  border-color: rgba(228, 198, 255, 0.62);
}

.cascade-screen-card.is-mid {
  z-index: 3;
  transform: translate3d(10px, -26px, -40px) scale(0.93);
  opacity: 0.78;
  filter: brightness(0.75);
}

.cascade-screen-card.is-back {
  z-index: 2;
  transform: translate3d(20px, -50px, -80px) scale(0.86);
  opacity: 0.48;
  filter: brightness(0.55);
}

.cascade-screen-card.is-hidden {
  z-index: 1;
  transform: translate3d(0, 28px, -110px) scale(0.82);
  opacity: 0;
  pointer-events: none;
}

/* --- 7. Sector Cards: Spatial 3D Perspective Showcase (Replaces Linear Marquee) --- */
.sector-spatial-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #07050c;
  perspective: 1200px;
}

.spatial-main-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spatial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.08) translate3d(24px, 0, -60px) rotateY(-6deg);
  filter: blur(8px) brightness(0.6);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.spatial-slide.is-active {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0) rotateY(0deg);
  filter: blur(0px) brightness(1);
  z-index: 2;
}

.spatial-slide.is-exiting {
  opacity: 0;
  transform: scale(0.93) translate3d(-28px, 0, -50px) rotateY(5deg);
  filter: blur(6px) brightness(0.5);
  z-index: 1;
}

.spatial-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center top;
  display: block;
}

@keyframes spatialLivePan {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.04) translate3d(-1.2%, -0.8%, 0);
  }
  100% {
    transform: scale(1.02) translate3d(1%, -1.2%, 0);
  }
}

.spatial-slide.is-active img {
  animation: spatialLivePan 5.5s ease-in-out infinite alternate;
}

/* Floating 3D Picture-in-Picture Next-View Card */
.spatial-pip-card {
  position: absolute;
  right: 12px;
  bottom: 44px;
  width: 142px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(12, 9, 22, 0.88);
  border: 1px solid rgba(218, 186, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(168, 118, 245, 0.22);
  z-index: 6;
  transform: perspective(600px) rotateY(-8deg) rotateX(3deg);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    border-color 0.35s ease;
}

.spatial-pip-card.is-pulsing {
  transform: perspective(600px) rotateY(-4deg) rotateX(2deg) scale(0.95);
  border-color: rgba(235, 210, 255, 0.85);
}

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

.pip-label {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: #cfa8ff;
}

.pip-counter {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(240, 226, 255, 0.75);
}

.pip-img-wrap {
  width: 100%;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 4px;
  background: #09070f;
}

.pip-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.pip-next-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 8.8px;
  font-weight: 500;
  color: #f3e8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom HUD Dock Bar */
.spatial-hud-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 7, 18, 0.86);
  border: 1px solid rgba(212, 178, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.spatial-hud-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.spatial-hud-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.24);
  color: #edd9ff;
  white-space: nowrap;
}

.spatial-hud-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: #f6eeff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spatial-hud-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.spatial-dot {
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(215, 184, 255, 0.24);
  overflow: hidden;
  position: relative;
  transition: width 0.35s ease, background 0.35s ease;
}

.spatial-dot.is-active {
  width: 28px;
  background: rgba(230, 204, 255, 0.95);
  box-shadow: 0 0 10px rgba(185, 142, 242, 0.65);
}

@media (max-width: 680px) {
  .spatial-pip-card {
    display: none;
  }
}

/* ==========================================================================
   8. SCROLL-REPLACEMENT SERVICE CARDS DECK & DYNAMIC FADE-IN/FADE-OUT STAGE
   ========================================================================== */

.services-scroll-deck {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 24px auto 0;
}

/* Top Step Progress Navigation Bar (Alternating 01-07 Single Card Selector) */
.services-deck-nav {
  position: relative;
  top: auto;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(11, 8, 20, 0.94);
  border: 1px solid rgba(208, 174, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.deck-step-btn {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 9px 9px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(185, 142, 242, 0.04);
  color: rgba(226, 208, 250, 0.68);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-step-btn:hover {
  background: rgba(185, 142, 242, 0.14);
  color: #f4ebff;
  border-color: rgba(208, 174, 255, 0.28);
}

.deck-step-btn.is-active {
  background: linear-gradient(135deg, rgba(181, 137, 235, 0.32) 0%, rgba(118, 74, 186, 0.24) 100%);
  border-color: rgba(228, 198, 255, 0.72);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(138, 92, 245, 0.28);
}

.deck-step-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(208, 174, 255, 0.14);
  color: #dfc2ff;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.deck-step-btn.is-active .deck-step-num {
  background: #b589eb;
  color: #090610;
}

.deck-step-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* Single-Card Stage Container: Only the active service (01-07) is displayed in this single card */
.services-cards-stack {
  position: relative;
  display: block;
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  padding-bottom: 0;
  overflow: hidden;
}

.service-scroll-card {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 0.72fr 1.34fr !important;
  gap: 22px !important;
  align-items: stretch !important;
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  margin-bottom: 0 !important;
  padding: 22px 24px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(90% 80% at 15% 10%, rgba(181, 137, 235, 0.12) 0%, transparent 65%),
    linear-gradient(175deg, #151024 0%, #090710 100%) !important;
  border: 1px solid rgba(212, 178, 255, 0.28) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, 10px, 0) scale(0.992) !important;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.42s,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
  overflow: hidden;
}

.service-scroll-card.is-current-card {
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  border-color: rgba(230, 202, 255, 0.62) !important;
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.85),
    0 0 36px rgba(165, 118, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* Left Column: Service Information, Deliverables & Interactive View Switcher */
.service-card-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  min-width: 0;
}

.service-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 8px;
}

.service-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-index-badge .service-index-num {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 0;
}

.service-scroll-hint {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(220, 196, 252, 0.65);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(185, 142, 242, 0.08);
  border: 1px solid rgba(208, 174, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.service-scroll-card .service-main-title {
  font-size: clamp(18px, 1.7vw, 21.5px);
  line-height: 1.24;
  margin-bottom: 8px;
  color: #ffffff;
}

.service-scroll-card .service-main-desc {
  font-size: 12.8px;
  line-height: 1.54;
  color: rgba(232, 218, 252, 0.78);
}

.service-scroll-card .service-deliverables {
  padding-left: 0;
  border-left: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(208, 174, 255, 0.14);
}

.service-scroll-card .service-deliverables li {
  font-size: 11px;
  line-height: 1.35;
}

/* Interactive Slide Selector Pills inside the Left Column */
.service-interactive-controls {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid rgba(208, 174, 255, 0.14);
}

.service-controls-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b8ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.srv-tab-btn {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(208, 174, 255, 0.2);
  background: rgba(16, 12, 28, 0.85);
  color: rgba(230, 215, 250, 0.74);
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.srv-tab-btn:hover {
  border-color: rgba(226, 198, 255, 0.5);
  color: #ffffff;
  background: rgba(181, 137, 235, 0.16);
}

.srv-tab-btn.is-active {
  background: linear-gradient(135deg, #b589eb 0%, #865bc4 100%);
  border-color: rgba(242, 224, 255, 0.85);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(155, 102, 235, 0.35);
}

/* Right Column: Large Animated Video Stage (Full-Bleed Switching Screen + Sequential Callouts) */
.service-card-visual-col {
  display: flex;
  flex-direction: column;
  height: 492px;
  min-height: 492px;
  max-height: 492px;
  min-width: 0;
}

.srv-dynamic-showcase {
  position: relative;
  height: 492px;
  min-height: 492px;
  max-height: 492px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #0b0814;
  border: 1px solid rgba(212, 178, 255, 0.38);
  overflow: hidden;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.74),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.srv-window-bar {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(16, 12, 28, 0.96);
  border-bottom: 1px solid rgba(208, 174, 255, 0.16);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.srv-win-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.srv-win-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.srv-win-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 178, 255, 0.28);
}

.srv-win-dots span:nth-child(1) { background: rgba(235, 115, 115, 0.75); }
.srv-win-dots span:nth-child(2) { background: rgba(245, 185, 85, 0.75); }
.srv-win-dots span:nth-child(3) { background: rgba(85, 205, 155, 0.75); }

.srv-window-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #ebd8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.srv-window-counter {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(181, 137, 235, 0.18);
  border: 1px solid rgba(212, 178, 255, 0.3);
  color: #f3e8ff;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Progress bar under window topbar showing dynamic fade cycle */
.srv-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: rgba(208, 174, 255, 0.08);
  overflow: hidden;
}

.srv-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b589eb 0%, #7bf1b8 100%);
  transition: width 0.12s linear;
}

/* Fade-In / Fade-Out Stage Viewport (Large 420px Height, Full-Bleed Screen + Live Animations) */
.srv-stage-viewport {
  position: relative;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  flex: 0 0 420px;
  overflow: hidden;
  background: #F8FAFC;
}

.srv-fade-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
}

.srv-fade-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 3;
}

/* Full-Bleed Video Screen Canvas & Cinematic Pan */
.srv-video-screen-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #F8FAFC;
}

.srv-video-screen-canvas > img.srv-slide-full-img,
.srv-fade-slide > img.srv-slide-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transform-origin: top left;
}

@keyframes srvCinemaPan {
  0% { transform: scale(1.0) translate3d(0, 0, 0); }
  50% { transform: scale(1.045) translate3d(-1.5%, -2.2%, 0); }
  100% { transform: scale(1.0) translate3d(0, 0, 0); }
}

.srv-fade-slide.is-active .srv-cinema-pan-img {
  animation: srvCinemaPan 8s ease-in-out infinite;
}

/* Subtle right-side gradient so the left 62% of the large screen is crystal clear and the right 38% contrasts with the animated HUD */
.srv-screen-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 7, 18, 0.02) 0%,
    rgba(9, 7, 18, 0.08) 48%,
    rgba(9, 7, 18, 0.72) 76%,
    rgba(9, 7, 18, 0.88) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Top-Left Live Module Pill */
.srv-live-module-pill {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 8, 22, 0.9);
  border: 1px solid rgba(123, 241, 184, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.srv-live-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ec486;
  box-shadow: 0 0 10px #2ec486;
}

.srv-live-module-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Floating Smartphone Device for Service 01 (Apps Móviles) */
.srv-live-phone-float {
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 14px;
  width: 174px;
  z-index: 5;
  border-radius: 22px;
  background: #07050e;
  border: 3px solid #1e293b;
  box-shadow:
    0 20px 44px rgba(9, 7, 18, 0.68),
    0 0 0 1px rgba(216, 184, 255, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    opacity 0.5s ease 0.1s;
}

.srv-fade-slide.is-active .srv-live-phone-float {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.srv-live-phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 3;
}

.srv-live-phone-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.srv-live-phone-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(11, 8, 22, 0.92);
  border: 1px solid rgba(123, 241, 184, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #7bf1b8;
  text-align: center;
  z-index: 4;
}

/* Sequential Animated Callout Cards Dock (Right-Side Video Motion-Graphics Overlay) */
.srv-video-callouts-dock {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: 330px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.srv-anim-card {
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(12, 9, 24, 0.92);
  border: 1px solid rgba(216, 184, 255, 0.32);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate3d(28px, 6px, 0) scale(0.95);
  transition:
    opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: calc(var(--anim-order, 0) * 0.22s + 0.08s);
}

.srv-fade-slide.is-active .srv-anim-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.srv-fade-slide.is-active .srv-anim-card.is-step-focused {
  border-color: rgba(123, 241, 184, 0.85);
  background: linear-gradient(135deg, rgba(16, 26, 32, 0.96) 0%, rgba(16, 11, 30, 0.95) 100%);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.78),
    0 0 22px rgba(46, 196, 134, 0.28);
  transform: translate3d(-4px, 0, 0) scale(1.015);
  transition-delay: 0s;
}

.srv-anim-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.srv-anim-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(181, 137, 235, 0.2);
  border: 1px solid rgba(216, 184, 255, 0.42);
  color: #ebd8ff;
  white-space: nowrap;
}

.srv-anim-card.is-step-focused .srv-anim-badge {
  background: rgba(46, 196, 134, 0.22);
  border-color: rgba(123, 241, 184, 0.65);
  color: #7bf1b8;
}

.srv-anim-kpi {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #7bf1b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.srv-anim-desc {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.34;
  color: #f6f0ff;
  margin: 0 0 6px;
}

.srv-anim-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.srv-anim-bar-fill {
  display: block;
  height: 100%;
  width: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b589eb 0%, #2ec486 100%);
  transition: width 0.35s ease;
}

.srv-anim-card.is-step-focused .srv-anim-bar-fill {
  width: 100%;
}

/* ==========================================================================
   FLOATING STATEMENT WITH TRANSITION (.srv-floating-statement)
   Appears smoothly over the large screen when each slide becomes active
   ========================================================================== */
.srv-floating-statement {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 8, 22, 0.94) 0%, rgba(22, 15, 38, 0.92) 100%);
  border: 1px solid rgba(216, 184, 255, 0.42);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
  pointer-events: none;
}

.srv-fade-slide.is-active .srv-floating-statement {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.srv-floating-statement-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.srv-floating-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2ec486 0%, #179b65 100%);
  color: #04130c;
  white-space: nowrap;
  flex-shrink: 0;
}

.srv-floating-copy {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #f6efff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.srv-floating-copy strong {
  color: #7bf1b8;
  font-weight: 600;
}

.srv-floating-metric {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #dfc2ff;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(181, 137, 235, 0.16);
  border: 1px solid rgba(212, 178, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   LARGE ANIMATED AUTOMATION & WORKFLOW STAGE (.srv-automation-live-stage)
   - Scheduled Clock / Cronómetro that triggers workflow at target hour
   - 3-Step Animated Flow: Correo Recibido -> WhatsApp Alert -> Auto-Reply
   - Large Detailed Phone Screen with live WhatsApp notification bubble
   ========================================================================== */
.srv-automation-live-stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 14px 16px 64px;
  display: grid;
  grid-template-columns: 1.18fr 0.88fr;
  gap: 14px;
  align-items: stretch;
  background:
    radial-gradient(85% 90% at 80% 25%, rgba(46, 196, 134, 0.15) 0%, transparent 65%),
    radial-gradient(80% 85% at 15% 20%, rgba(181, 137, 235, 0.18) 0%, transparent 65%),
    linear-gradient(165deg, #110c1f 0%, #07050e 100%);
  overflow: hidden;
}

.auto-workflow-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

/* 1. Animated Clock / Cronómetro Header Card */
.auto-clock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(20, 14, 36, 0.92);
  border: 1px solid rgba(212, 178, 255, 0.32);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.auto-clock-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.auto-clock-dial {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 134, 0.22) 0%, rgba(14, 10, 26, 0.95) 75%);
  border: 1.5px solid #7bf1b8;
  box-shadow: 0 0 14px rgba(46, 196, 134, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auto-clock-svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.auto-clock-hand-hour {
  transform-origin: 12px 12px;
  animation: autoClockHourSpin 12s linear infinite;
}

.auto-clock-hand-min {
  transform-origin: 12px 12px;
  animation: autoClockMinSpin 3s linear infinite;
}

@keyframes autoClockHourSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes autoClockMinSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.auto-clock-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.auto-clock-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224, 204, 252, 0.75);
}

.auto-clock-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.auto-clock-status {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(46, 196, 134, 0.2);
  border: 1px solid rgba(123, 241, 184, 0.55);
  color: #7bf1b8;
  white-space: nowrap;
  animation: autoTriggerPulse 2s ease-in-out infinite;
}

@keyframes autoTriggerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 196, 134, 0.35); transform: scale(1); }
  50% { box-shadow: 0 0 14px 2px rgba(46, 196, 134, 0.45); transform: scale(1.03); }
}

/* 2. Animated 3-Step Event Pipeline (Email -> WhatsApp -> Auto-Reply) */
.auto-steps-pipeline {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  justify-content: center;
}

.auto-step-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(18, 13, 32, 0.9);
  border: 1px solid rgba(208, 174, 255, 0.22);
  overflow: hidden;
}

.auto-step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(123, 241, 184, 0.12), transparent);
  animation: autoStepSweep 3.6s ease-in-out infinite;
}

.auto-step-card.step-2::after { animation-delay: 1.1s; }
.auto-step-card.step-3::after { animation-delay: 2.2s; }

@keyframes autoStepSweep {
  0% { left: -75%; }
  55%, 100% { left: 125%; }
}

.auto-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.auto-step-icon.icon-mail {
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
}

.auto-step-icon.icon-wa {
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.55);
  color: #4ade80;
}

.auto-step-icon.icon-reply {
  background: rgba(181, 137, 235, 0.22);
  border: 1px solid rgba(216, 184, 255, 0.55);
  color: #e9d5ff;
}

.auto-step-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.auto-step-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.auto-step-badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #7bf1b8;
  font-variant-numeric: tabular-nums;
}

.auto-step-desc {
  font-family: var(--font-sans);
  font-size: 10.5px;
  color: rgba(230, 216, 252, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. Right Column: Large Detailed Phone Screen with Live WhatsApp & Auto-Reply Overlay */
.auto-phone-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.auto-large-phone-frame {
  position: relative;
  width: 100%;
  max-width: 218px;
  height: 292px;
  border-radius: 22px;
  background: #07050c;
  border: 2px solid rgba(226, 198, 255, 0.48);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.8),
    0 0 28px rgba(46, 196, 134, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.auto-large-phone-frame .phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.94);
}

/* Floating Animated WhatsApp Notification Toast on the Phone Screen */
.auto-phone-wa-toast {
  position: absolute;
  top: 22px;
  left: 8px;
  right: 8px;
  z-index: 4;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(10, 24, 18, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.68);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: waToastFloat 3.6s ease-in-out infinite;
}

@keyframes waToastFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.015); }
}

.auto-wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auto-wa-msg {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.3;
  color: #f0fdf4;
  font-weight: 500;
}

.auto-phone-reply-chip {
  position: absolute;
  bottom: 10px;
  left: 8px;
  right: 8px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(16, 11, 29, 0.94);
  border: 1px solid rgba(216, 184, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  color: #ebd8ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   HIGH-DETAIL MESA DE AYUDA ITIL & MONITOR SLA STAGE (.srv-sla-live-stage)
   Unzoomed, large, crisp SLA & Incident Resolution metrics
   ========================================================================== */
.srv-sla-live-stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 14px 16px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background:
    radial-gradient(90% 80% at 85% 15%, rgba(46, 196, 134, 0.14) 0%, transparent 65%),
    linear-gradient(170deg, #110d20 0%, #080610 100%);
  overflow: hidden;
}

.sla-stage-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  opacity: 0.22;
  filter: contrast(1.08);
  pointer-events: none;
}

.sla-top-kpi-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sla-kpi-box {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(18, 13, 34, 0.92);
  border: 1px solid rgba(212, 178, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sla-kpi-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(224, 204, 252, 0.72);
}

.sla-kpi-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.sla-kpi-val.is-green { color: #7bf1b8; }
.sla-kpi-val.is-lilac { color: #dfc2ff; }

.sla-tickets-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.sla-ticket-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(16, 12, 30, 0.94);
  border: 1px solid rgba(212, 178, 255, 0.24);
}

.sla-ticket-id {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(181, 137, 235, 0.18);
  border: 1px solid rgba(212, 178, 255, 0.35);
  color: #f3e8ff;
  font-variant-numeric: tabular-nums;
}

.sla-ticket-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sla-ticket-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sla-bar-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sla-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ec486 0%, #7bf1b8 100%);
}

.sla-ticket-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.sla-timer-clock {
  font-size: 11px;
  font-weight: 700;
  color: #7bf1b8;
}

.sla-timer-meta {
  font-size: 9px;
  color: rgba(224, 204, 252, 0.72);
}

/* ==========================================================================
   PRESENCIA 360° RAPID 1-SECOND FULL-SCREEN APPEAR REEL (.srv-rapid-360-reel)
   Shows each of the 6 screens at 100% LARGE size with a 1s appear transition
   ========================================================================== */
.srv-rapid-360-reel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #090612;
  overflow: hidden;
}

.rapid-360-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94) translateY(8px);
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
}

.rapid-360-frame.is-shown {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 2;
}

.rapid-360-frame img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  display: block;
}

.rapid-360-top-hud {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.rapid-360-channel-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(11, 8, 22, 0.92);
  border: 1px solid rgba(123, 241, 184, 0.55);
  color: #7bf1b8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}

.rapid-360-step-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(11, 8, 22, 0.9);
  border: 1px solid rgba(212, 178, 255, 0.35);
}

.rapid-360-dot {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(212, 178, 255, 0.25);
  transition: all 0.2s ease;
}

.rapid-360-dot.is-active {
  background: #7bf1b8;
  box-shadow: 0 0 8px rgba(123, 241, 184, 0.6);
}

/* Dual Phone Layout inside Card 01 Fade Slides */
.srv-phones-pair {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 20px 58px;
  background:
    radial-gradient(circle at 50% 45%, rgba(168, 118, 245, 0.18), transparent 65%),
    #08060e;
}

.srv-phones-pair .phone-mockup-card {
  width: 44%;
  max-width: 186px;
  height: 298px;
}

/* Interactive Bottom Telemetry / Live Animation Strip inside Stage */
.srv-live-telemetry-bar {
  position: relative;
  z-index: 6;
  padding: 9px 14px;
  background: rgba(12, 9, 22, 0.96);
  border-top: 1px solid rgba(208, 174, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.srv-telemetry-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.srv-telemetry-tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(46, 196, 134, 0.15);
  border: 1px solid rgba(46, 196, 134, 0.42);
  color: #7bf1b8;
  font-weight: 600;
  white-space: nowrap;
}

.srv-telemetry-text {
  color: #e6d4ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.srv-telemetry-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(220, 198, 248, 0.78);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .services-deck-nav {
    display: flex;
    flex-wrap: wrap;
    top: auto;
  }
  .services-deck-nav .deck-step-btn {
    flex: 1 1 calc(25% - 6px);
    min-width: 120px;
  }
  .services-cards-stack {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .service-scroll-card {
    position: relative !important;
    inset: auto !important;
    top: 0 !important;
    grid-template-columns: 1fr !important;
    margin-bottom: 0 !important;
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 26px 22px !important;
  }
  .service-scroll-card:not(.is-current-card) {
    display: none !important;
  }
  .service-card-visual-col {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .service-scroll-card .service-deliverables {
    grid-template-columns: 1fr;
  }
  .srv-telemetry-metrics,
  .srv-floating-metric {
    display: none;
  }
  .srv-automation-live-stage {
    grid-template-columns: 1fr;
  }
  .auto-phone-col {
    display: none;
  }
  .srv-phones-pair .phone-mockup-card {
    height: 245px;
  }
}

/* --- 9. 7-Tab Service Deck Sizing & 8-Stage Methodology Pipeline Strip --- */
.services-deck-nav .deck-step-btn {
  min-width: 0;
  padding: 8px 9px;
  font-size: 11px;
  gap: 6px;
}

.methodology-pipeline-strip {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: 18px;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(181, 137, 235, 0.12) 0%, transparent 70%),
    linear-gradient(175deg, #140f22 0%, #090710 100%);
  border: 1px solid rgba(208, 174, 255, 0.24);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
}

.pipeline-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pipeline-strip-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(230, 214, 252, 0.76);
}

.pipeline-steps-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.pipeline-step-node {
  flex: 1;
  min-width: 112px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(20, 15, 34, 0.9);
  border: 1px solid rgba(208, 174, 255, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pipeline-step-node:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 198, 255, 0.52);
}

.pipeline-step-node.is-highlight {
  background: linear-gradient(135deg, rgba(181, 137, 235, 0.22) 0%, rgba(118, 74, 186, 0.16) 100%);
  border-color: rgba(226, 198, 255, 0.5);
}

.pipeline-step-node .step-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(208, 174, 255, 0.16);
  color: #dfc2ff;
  font-variant-numeric: tabular-nums;
}

.pipeline-step-node.is-highlight .step-idx {
  background: #b589eb;
  color: #090610;
}

.pipeline-step-node .step-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #f4ebff;
  white-space: nowrap;
}

.pipeline-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(208, 174, 255, 0.45);
}

@media (max-width: 980px) {
  .pipeline-arrow {
    display: none;
  }
}

/* ==========================================================================
   10. FLOATING BOTTOM-RIGHT THEME TOGGLE BUTTON & LIGHT MODE (PURPLE / FUCHSIA)
   ========================================================================== */

.theme-floating-toggle {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  max-width: calc(100vw - 44px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 11, 32, 0.96) 0%, rgba(42, 18, 72, 0.96) 100%);
  border: 1.5px solid rgba(216, 172, 255, 0.65);
  color: #f6efff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(176, 84, 245, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.theme-floating-toggle:hover {
  transform: translateY(-2px);
  border-color: #f0abfc;
  box-shadow:
    0 14px 34px rgba(138, 63, 252, 0.42),
    0 0 24px rgba(217, 70, 239, 0.48);
}

.theme-toggle-orb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c026d3 0%, #7e22ce 100%);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(192, 38, 211, 0.55);
  flex-shrink: 0;
}

.theme-toggle-orb svg {
  width: 13px;
  height: 13px;
  display: block;
}

.theme-floating-toggle .icon-moon {
  display: none;
}

html[data-theme="light"] .theme-floating-toggle .icon-sun {
  display: none;
}

html[data-theme="light"] .theme-floating-toggle .icon-moon {
  display: block;
}

/* ==========================================================================
   LIGHT MODE PALETTE: CLEAN PEARL-WHITE + ROYAL PURPLE & FUCHSIA ACCENTS
   Activated when <html data-theme="light"> is set
   ========================================================================== */

html[data-theme="light"] {
  --bg-obsidian: #FAF8FD;
  --bg-card: #FFFFFF;
  --bg-card-elevated: #F3EDF9;
  --accent-amber: #7E22CE;
  --accent-amber-bright: #A21CAF;
  --accent-copper: #581C87;
  --text-primary: #140826;
  --text-secondary: #3B235A;
  --text-muted: #5C437D;
  --text-dim: #7D659E;
  --border-subtle: rgba(126, 34, 206, 0.16);
  --border-card: rgba(162, 28, 175, 0.22);
  background-color: #FAF8FD;
  color: #140826;
}

html[data-theme="light"] body {
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(192, 38, 211, 0.08) 0%, rgba(126, 34, 206, 0.04) 50%, transparent 80%),
    linear-gradient(180deg, #FDFBFF 0%, #F7F2FC 50%, #FDFBFF 100%);
  color: #140826;
}

html[data-theme="light"] .theme-floating-toggle {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5ECFD 100%);
  border: 1.5px solid rgba(162, 28, 175, 0.55);
  color: #1E0A3C;
  box-shadow:
    0 10px 28px rgba(88, 28, 135, 0.22),
    0 0 18px rgba(192, 38, 211, 0.18);
}

/* Transparent Logo Colorization in Light Mode (Zero Rectangular Background Box) */
html[data-theme="light"] .brand-logo-img,
html[data-theme="light"] .footer-logo-img {
  filter: brightness(0.24) sepia(1) hue-rotate(246deg) saturate(6.5) contrast(1.35);
}

/* Header & Navigation Capsule in Light Mode */
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(126, 34, 206, 0.18);
  box-shadow: 0 10px 32px rgba(88, 28, 135, 0.09);
}

html[data-theme="light"] .brand-divider {
  background: rgba(126, 34, 206, 0.30);
}

html[data-theme="light"] .brand-tag-mono {
  color: #4A277A;
  font-weight: 600;
}

html[data-theme="light"] .nav-capsule {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(126, 34, 206, 0.24);
  box-shadow: 0 8px 24px rgba(88, 28, 135, 0.10);
}

html[data-theme="light"] .nav-link {
  color: #2E1352;
  font-weight: 500;
}

html[data-theme="light"] .nav-link:hover {
  color: #7E22CE;
  background: rgba(162, 28, 175, 0.08);
}

html[data-theme="light"] .nav-link.active {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(162, 28, 175, 0.32);
}

/* Mega-Menu Dropdowns in Light Mode */
html[data-theme="light"] .mega-dropdown {
  background: #FFFFFF;
  border: 1px solid rgba(126, 34, 206, 0.24);
  box-shadow: 0 24px 56px rgba(88, 28, 135, 0.18);
}

html[data-theme="light"] .mega-header {
  border-bottom-color: rgba(126, 34, 206, 0.16);
}

html[data-theme="light"] .mega-header-label {
  color: #86198F;
  font-weight: 600;
}

html[data-theme="light"] .mega-header-link {
  color: #6B21A8;
  font-weight: 500;
}

html[data-theme="light"] .mega-header-link:hover {
  color: #C026D3;
}

html[data-theme="light"] .mega-card-link {
  background: #FAF7FE;
  border-color: rgba(126, 34, 206, 0.14);
}

html[data-theme="light"] .mega-card-link:hover {
  background: #F3E8FF;
  border-color: rgba(192, 38, 211, 0.45);
}

html[data-theme="light"] .mega-badge-num {
  background: rgba(126, 34, 206, 0.12);
  border-color: rgba(126, 34, 206, 0.28);
  color: #7E22CE;
  font-weight: 600;
}

html[data-theme="light"] .mega-card-title {
  color: #190833;
  font-weight: 600;
}

html[data-theme="light"] .mega-card-sub {
  color: #4C3370;
}

/* Header Right Links & Buttons ("Portafolio ↗" & "Iniciar Proyecto") */
html[data-theme="light"] .header-secondary-link {
  color: #3B1A6B !important;
  font-weight: 600;
}

html[data-theme="light"] .header-secondary-link:hover {
  color: #C026D3 !important;
}

html[data-theme="light"] .btn-hud-brackets {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: rgba(192, 38, 211, 0.45);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(162, 28, 175, 0.28);
}

html[data-theme="light"] .btn-hud-brackets:hover {
  background: linear-gradient(135deg, #6B21A8 0%, #A21CAF 100%);
  color: #FFFFFF;
}

html[data-theme="light"] .btn-hud-brackets .corner {
  border-color: #FFFFFF;
}

html[data-theme="light"] .mobile-menu-toggle {
  background: #FFFFFF;
  border-color: rgba(126, 34, 206, 0.30);
  color: #2E1352;
}

/* Hero Section in Light Mode */
html[data-theme="light"] .hero-solar-glow {
  background:
    radial-gradient(50% 42% at 50% 12%, rgba(192, 38, 211, 0.13) 0%, rgba(126, 34, 206, 0.08) 45%, transparent 80%);
}

html[data-theme="light"] .hero-grid-overlay {
  background-image:
    linear-gradient(to right, rgba(126, 34, 206, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 34, 206, 0.065) 1px, transparent 1px);
}

html[data-theme="light"] .hero-crosshairs {
  background-image: radial-gradient(circle, rgba(126, 34, 206, 0.22) 1px, transparent 1px);
}

html[data-theme="light"] .bracket-tag {
  color: #7E22CE;
  font-weight: 600;
}

html[data-theme="light"] .hero-headline .line-fade-right {
  background: linear-gradient(90deg, #190833 0%, #6B21A8 55%, #C026D3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .hero-headline .line-indented {
  color: #581C87;
}

html[data-theme="light"] .statement-dot {
  background: rgba(126, 34, 206, 0.24);
}

html[data-theme="light"] .statement-dot.active {
  background: linear-gradient(90deg, #7E22CE, #C026D3);
  box-shadow: 0 0 10px rgba(192, 38, 211, 0.45);
}

html[data-theme="light"] .hud-symbol-a {
  color: #7E22CE;
  font-weight: 700;
}

html[data-theme="light"] .hud-counter {
  color: #583B80;
  font-weight: 500;
}

html[data-theme="light"] .hero-description {
  color: #2E1A4D;
  font-weight: 450;
}

html[data-theme="light"] .btn-text-link {
  color: #7E22CE;
  font-weight: 600;
  border-bottom: 1px solid rgba(126, 34, 206, 0.35);
}

html[data-theme="light"] .btn-text-link:hover {
  color: #C026D3;
}

html[data-theme="light"] .trusted-label {
  color: #563B7D;
  font-weight: 500;
}

html[data-theme="light"] .partner-logo {
  color: #3E2366;
  font-weight: 600;
}

html[data-theme="light"] .partner-logo:hover {
  color: #A21CAF;
}

/* Section 02: About Headlines, Metric Cards & 3 Vertical Pillar Cards in Light Mode */
html[data-theme="light"] .about-headline .row-1 { color: #16072C; }
html[data-theme="light"] .about-headline .row-2 { color: #6B21A8; }
html[data-theme="light"] .about-headline .row-3 { color: #A21CAF; }

html[data-theme="light"] .metric-card-dark {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5EEFC 100%);
  border-color: rgba(126, 34, 206, 0.24);
  box-shadow: 0 16px 38px rgba(88, 28, 135, 0.10);
}

html[data-theme="light"] .metric-card-dark .metric-card-label {
  color: #7E22CE;
  font-weight: 600;
}

html[data-theme="light"] .metric-card-dark .metric-value {
  color: #190833;
}

html[data-theme="light"] .metric-card-dark .metric-desc,
html[data-theme="light"] .metric-card-dark .avatar-trust-text {
  color: #462E69;
}

html[data-theme="light"] .statement-display-text .st-line-1 { color: #16072C; }
html[data-theme="light"] .statement-display-text .st-line-2 { color: #581C87; }
html[data-theme="light"] .statement-display-text .st-line-3 { color: #86198F; }
html[data-theme="light"] .statement-display-text .st-line-4 { color: #C026D3; }

html[data-theme="light"] .statement-divider-line {
  background: linear-gradient(90deg, rgba(126, 34, 206, 0.18) 0%, rgba(192, 38, 211, 0.48) 100%);
}

html[data-theme="light"] .btn-pill-outline {
  background: #FFFFFF;
  border: 1.5px solid rgba(126, 34, 206, 0.36);
  color: #2E1065;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(88, 28, 135, 0.08);
}

html[data-theme="light"] .btn-pill-outline:hover {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: transparent;
  color: #FFFFFF;
}

html[data-theme="light"] .pillar-vertical-card {
  border-color: rgba(126, 34, 206, 0.30);
  box-shadow: 0 20px 44px rgba(88, 28, 135, 0.16);
}

html[data-theme="light"] .pillar-vertical-card:hover {
  border-color: #C026D3;
  box-shadow:
    0 26px 56px rgba(88, 28, 135, 0.24),
    0 0 28px rgba(192, 38, 211, 0.24);
}

/* Section 03 & Services Deck (01-07) in Light Mode */
html[data-theme="light"] .platform-headline .pl-1 { color: #16072C; }
html[data-theme="light"] .platform-headline .pl-2 { color: #86198F; }

html[data-theme="light"] .services-deck-nav {
  background: #FFFFFF;
  border: 1px solid rgba(126, 34, 206, 0.26);
  box-shadow: 0 12px 32px rgba(88, 28, 135, 0.12);
}

html[data-theme="light"] .deck-step-btn {
  background: #F8F4FD;
  color: #3B1E63;
}

html[data-theme="light"] .deck-step-btn:hover {
  background: #EFE5FC;
  color: #16072C;
  border-color: rgba(126, 34, 206, 0.28);
}

html[data-theme="light"] .deck-step-btn.is-active {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(162, 28, 175, 0.30);
}

html[data-theme="light"] .deck-step-num {
  background: rgba(126, 34, 206, 0.14);
  color: #6B21A8;
}

html[data-theme="light"] .deck-step-btn.is-active .deck-step-num {
  background: #FFFFFF;
  color: #7E22CE;
}

html[data-theme="light"] .service-scroll-card {
  background:
    radial-gradient(90% 80% at 15% 10%, rgba(192, 38, 211, 0.07) 0%, transparent 65%),
    linear-gradient(175deg, #FFFFFF 0%, #F7F1FD 100%) !important;
  border: 1px solid rgba(126, 34, 206, 0.28) !important;
  box-shadow:
    0 20px 52px rgba(88, 28, 135, 0.14),
    inset 0 1px 0 #FFFFFF !important;
}

html[data-theme="light"] .service-scroll-card.is-current-card {
  border-color: rgba(192, 38, 211, 0.52) !important;
  box-shadow:
    0 24px 60px rgba(88, 28, 135, 0.18),
    0 0 30px rgba(192, 38, 211, 0.14) !important;
}

html[data-theme="light"] .service-index-num {
  color: #86198F;
}

html[data-theme="light"] .service-tag,
html[data-theme="light"] .service-category-tag {
  color: #6B21A8;
  font-weight: 600;
}

html[data-theme="light"] .service-scroll-hint {
  background: rgba(126, 34, 206, 0.10);
  border-color: rgba(126, 34, 206, 0.26);
  color: #581C87;
  font-weight: 600;
}

html[data-theme="light"] .service-scroll-card .service-main-title,
html[data-theme="light"] .service-main-title {
  color: #16072C;
  font-weight: 600;
}

html[data-theme="light"] .service-scroll-card .service-main-desc,
html[data-theme="light"] .service-main-desc {
  color: #3D255E;
}

html[data-theme="light"] .service-scroll-card .service-deliverables,
html[data-theme="light"] .service-interactive-controls {
  border-top-color: rgba(126, 34, 206, 0.18);
}

html[data-theme="light"] .service-deliverables li {
  color: #261047;
  font-weight: 500;
}

html[data-theme="light"] .service-deliverables li::before {
  color: #C026D3;
}

html[data-theme="light"] .service-controls-label {
  color: #7E22CE;
  font-weight: 600;
}

html[data-theme="light"] .srv-tab-btn {
  background: #F4ECFC;
  border-color: rgba(126, 34, 206, 0.26);
  color: #3B1E63;
  font-weight: 500;
}

html[data-theme="light"] .srv-tab-btn:hover {
  background: rgba(162, 28, 175, 0.14);
  border-color: rgba(162, 28, 175, 0.45);
  color: #16072C;
}

html[data-theme="light"] .srv-tab-btn.is-active {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: transparent;
  color: #FFFFFF;
}

/* Sector Cards (Portfolio Showcase) in Light Mode */
html[data-theme="light"] .sector-card {
  border-color: rgba(126, 34, 206, 0.30);
  box-shadow: 0 18px 42px rgba(88, 28, 135, 0.15);
}

html[data-theme="light"] .sector-card:hover {
  border-color: #C026D3;
  box-shadow: 0 24px 54px rgba(88, 28, 135, 0.24);
}

html[data-theme="light"] .sector-card.sector-card-interactive:hover .sector-hover-content {
  background: linear-gradient(180deg, rgba(24, 9, 48, 0.88) 0%, rgba(16, 6, 34, 0.95) 100%);
  padding: 22px 24px 42px;
  margin: -24px -26px;
  height: calc(100% + 48px);
}

html[data-theme="light"] .sector-card .btn-pill-outline {
  background: rgba(255, 255, 255, 0.95);
  color: #2E1065;
  border-color: rgba(192, 38, 211, 0.45);
}

html[data-theme="light"] .sector-card .btn-pill-outline:hover {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  color: #FFFFFF;
}

/* Multi-Page Sections, Mission/Vision, Values, Methodology & Contact in Light Mode */
html[data-theme="light"] .section-divider-top {
  border-top-color: rgba(126, 34, 206, 0.16);
}

html[data-theme="light"] .section-title-display {
  background: linear-gradient(90deg, #16072C 0%, #7E22CE 55%, #C026D3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .section-lead-copy {
  color: #3D255E;
}

html[data-theme="light"] .mv-card,
html[data-theme="light"] .value-card,
html[data-theme="light"] .methodology-pipeline-strip,
html[data-theme="light"] .platform-card,
html[data-theme="light"] .service-detail-card,
html[data-theme="light"] .contact-unified-card,
html[data-theme="light"] .contact-panel-card {
  background: linear-gradient(170deg, #FFFFFF 0%, #F5EEFC 100%);
  border-color: rgba(126, 34, 206, 0.24);
  box-shadow: 0 16px 38px rgba(88, 28, 135, 0.10);
}

html[data-theme="light"] .mv-card.mv-featured {
  background: linear-gradient(155deg, rgba(192, 38, 211, 0.12) 0%, #FFFFFF 70%);
  border-color: rgba(192, 38, 211, 0.36);
}

html[data-theme="light"] .mv-title,
html[data-theme="light"] .value-title,
html[data-theme="light"] .platform-card-title,
html[data-theme="light"] .contact-unified-title,
html[data-theme="light"] .contact-icon-name {
  color: #16072C;
}

html[data-theme="light"] .mv-text,
html[data-theme="light"] .value-desc,
html[data-theme="light"] .platform-card-desc,
html[data-theme="light"] .platform-card-sub,
html[data-theme="light"] .pipeline-strip-sub,
html[data-theme="light"] .contact-unified-desc,
html[data-theme="light"] .contact-icon-meta,
html[data-theme="light"] .contact-unified-note {
  color: #3D255E;
}

html[data-theme="light"] .mv-tag,
html[data-theme="light"] .value-num,
html[data-theme="light"] .platform-card-num {
  color: #86198F;
  font-weight: 600;
}

html[data-theme="light"] .contact-icon-action {
  background: #FFFFFF;
  border-color: rgba(126, 34, 206, 0.24);
  box-shadow: 0 10px 26px rgba(88, 28, 135, 0.08);
}

html[data-theme="light"] .contact-icon-action:hover {
  background: #F6EEFD;
  border-color: #C026D3;
  box-shadow: 0 16px 36px rgba(162, 28, 175, 0.18);
}

html[data-theme="light"] .contact-icon-orb {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(162, 28, 175, 0.28);
}

html[data-theme="light"] .pipeline-step-node {
  background: #FFFFFF;
  border-color: rgba(126, 34, 206, 0.22);
}

html[data-theme="light"] .pipeline-step-node .step-name {
  color: #261047;
}

html[data-theme="light"] .pipeline-step-node .step-idx {
  background: rgba(126, 34, 206, 0.14);
  color: #7E22CE;
}

html[data-theme="light"] .pipeline-step-node.is-highlight {
  background: linear-gradient(135deg, rgba(138, 63, 252, 0.14) 0%, rgba(192, 38, 211, 0.12) 100%);
  border-color: rgba(192, 38, 211, 0.42);
}

html[data-theme="light"] .pipeline-step-node.is-highlight .step-idx {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  color: #FFFFFF;
}

/* ==========================================================================
   Footer Section in Light Mode (High-Contrast Links, Buttons & Soft Ridges)
   ========================================================================== */
html[data-theme="light"] .footer-section {
  background: linear-gradient(180deg, #F6F0FC 0%, #EDE2FA 100%);
  border-top: 1px solid rgba(126, 34, 206, 0.22);
}

html[data-theme="light"] .footer-sunset-sky {
  background: radial-gradient(
    ellipse 62% 52% at 50% 58%,
    rgba(192, 38, 211, 0.20) 0%,
    rgba(138, 63, 252, 0.14) 38%,
    rgba(126, 34, 206, 0.05) 68%,
    rgba(246, 240, 252, 0) 90%
  );
}

html[data-theme="light"] .footer-brand-desc {
  color: #2E184D;
  font-weight: 450;
}

html[data-theme="light"] .btn-pill-amber {
  background: linear-gradient(135deg, #7E22CE 0%, #C026D3 100%);
  border-color: rgba(192, 38, 211, 0.45);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(162, 28, 175, 0.30);
}

html[data-theme="light"] .btn-pill-amber:hover {
  background: linear-gradient(135deg, #6B21A8 0%, #A21CAF 100%);
  box-shadow: 0 12px 28px rgba(162, 28, 175, 0.42);
}

html[data-theme="light"] .btn-pill-dark {
  background: #FFFFFF;
  border: 1.5px solid rgba(126, 34, 206, 0.38);
  color: #2E1065 !important;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(88, 28, 135, 0.08);
}

html[data-theme="light"] .btn-pill-dark:hover {
  background: #F3E8FF;
  border-color: #C026D3;
  color: #7E22CE !important;
}

html[data-theme="light"] .footer-col-title {
  color: #86198F;
  font-weight: 700;
  border-bottom: 1px solid rgba(126, 34, 206, 0.22);
}

html[data-theme="light"] .footer-col-list a {
  color: #2E1650 !important;
  font-weight: 500;
}

html[data-theme="light"] .footer-col-list a:hover {
  color: #C026D3 !important;
}

/* Replace the 3 black mountain SVG polygons in the footer with soft layered lilac/pearl ridges */
html[data-theme="light"] .mountains-svg-wrap svg path:nth-child(1) {
  fill: #E6D5F8 !important;
}

html[data-theme="light"] .mountains-svg-wrap svg path:nth-child(2) {
  fill: #DEC8F6 !important;
}

html[data-theme="light"] .mountains-svg-wrap svg path:nth-child(3) {
  fill: #F3ECFA !important;
}

html[data-theme="light"] .footer-monument-wrap {
  background: linear-gradient(180deg, transparent 0%, #F3ECFA 35%) !important;
}

html[data-theme="light"] .monument-wordmark text {
  fill: rgba(126, 34, 206, 0.11) !important;
}

html[data-theme="light"] .footer-bottom-bar {
  color: #381D5E !important;
  font-weight: 500;
}

/* ==========================================================================
   SECCIONES 08 Y 09: MATRIZ EJECUTIVA DE SOLUCIONES (SEO PROGRAMÁTICO)
   Y CENTRO DE RESPUESTA TÉCNICA (SCHEMA FAQ) - ESTÁNDAR META-MUSE
   ========================================================================== */

.imnova-exec-matrix-wrap {
  margin-top: 96px;
  position: relative;
  z-index: 30;
}

.imnova-matrix-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px 20px;
  background: rgba(12, 14, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.imnova-matrix-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.imnova-filter-chip {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.imnova-filter-chip:hover,
.imnova-filter-chip.is-active {
  background: rgba(245, 158, 11, 0.14);
  border-color: #f59e0b;
  color: #ffffff;
}

.imnova-matrix-meta-count {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #cbd5e1;
  letter-spacing: 0.04em;
}

.imnova-table-scroll {
  width: 100%;
  overflow-x: auto;
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.imnova-exec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.imnova-exec-table th,
.imnova-exec-table td {
  white-space: nowrap;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.imnova-exec-table thead th {
  background: #0e1118;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.imnova-exec-table tbody tr {
  transition: background-color 0.15s ease;
}

.imnova-exec-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.imnova-exec-table tbody tr:last-child td {
  border-bottom: none;
}

.imnova-col-mono {
  font-family: var(--font-mono);
  font-size: 0.80rem;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}

.imnova-code-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 3px 8px;
  border-radius: 4px;
}

.imnova-sol-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #ffffff;
}

.imnova-sector-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  border-radius: 4px;
}

.imnova-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.imnova-btn-spec {
  appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 6px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.imnova-btn-spec:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.imnova-link-vertical {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: #f59e0b;
  text-decoration: none;
  padding: 6px 11px;
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 5px;
  background: rgba(245, 158, 11, 0.08);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.imnova-link-vertical:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #ffffff;
}

/* Modal Minimalista y Simétrico de Ficha Técnica */
.imnova-spec-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.imnova-spec-modal-backdrop.is-open {
  display: flex;
}

.imnova-spec-modal {
  width: 100%;
  max-width: 720px;
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
}

.imnova-spec-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #10141f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.imnova-spec-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.imnova-spec-modal-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.imnova-spec-modal-close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.imnova-spec-modal-close:hover {
  border-color: #f59e0b;
  color: #ffffff;
}

.imnova-spec-modal-body {
  padding: 24px;
}

.imnova-spec-summary {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}

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

.imnova-spec-kpi-box {
  background: #0f131d;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  padding: 12px 14px;
}

.imnova-spec-kpi-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.imnova-spec-kpi-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
}

.imnova-spec-modules-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f59e0b;
  margin-bottom: 10px;
}

.imnova-spec-modules-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 22px;
}

.imnova-spec-modules-list li {
  font-size: 0.85rem;
  color: #e2e8f0;
  padding-left: 14px;
  position: relative;
}

.imnova-spec-modules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: #f59e0b;
}

.imnova-spec-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0d1018;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Sección 09: Preguntas Frecuentes Ejecutivas (Schema.org FAQPage) */
.imnova-faq-wrap {
  margin-top: 88px;
  position: relative;
  z-index: 30;
}

.imnova-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.imnova-faq-card {
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.imnova-faq-card[open] {
  border-color: rgba(245, 158, 11, 0.55);
  background: #0c0f17;
}

.imnova-faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}

.imnova-faq-summary::-webkit-details-marker {
  display: none;
}

.imnova-faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.imnova-faq-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.30);
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.imnova-faq-q-text {
  font-size: 0.94rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.4;
}

.imnova-faq-icon {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.imnova-faq-card[open] .imnova-faq-icon {
  transform: rotate(45deg);
  color: #f59e0b;
}

.imnova-faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 14px;
}

@media (max-width: 960px) {
  .imnova-faq-grid {
    grid-template-columns: 1fr;
  }
  .imnova-spec-kpi-grid {
    grid-template-columns: 1fr;
  }
  .imnova-spec-modules-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imnova-filter-chip,
  .imnova-exec-table tbody tr,
  .imnova-btn-spec,
  .imnova-link-vertical,
  .imnova-faq-card,
  .imnova-faq-icon {
    transition: none !important;
  }
}

html[data-theme="light"] .imnova-matrix-toolbar,
html[data-theme="light"] .imnova-table-scroll,
html[data-theme="light"] .imnova-faq-card,
html[data-theme="light"] .imnova-spec-modal {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
}

html[data-theme="light"] .imnova-exec-table thead th,
html[data-theme="light"] .imnova-spec-modal-header,
html[data-theme="light"] .imnova-spec-kpi-box,
html[data-theme="light"] .imnova-spec-modal-footer {
  background: #f8fafc;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .imnova-sol-name,
html[data-theme="light"] .imnova-faq-q-text,
html[data-theme="light"] .imnova-spec-modal-title,
html[data-theme="light"] .imnova-spec-kpi-val {
  color: #0f172a;
}

html[data-theme="light"] .imnova-col-mono,
html[data-theme="light"] .imnova-faq-answer,
html[data-theme="light"] .imnova-spec-summary,
html[data-theme="light"] .imnova-spec-modules-list li,
html[data-theme="light"] .imnova-matrix-meta-count {
  color: #334155;
}

/* ==========================================================================
   I'M NOVA · ARQUITECTURA DE CONVERSIÓN Y PRUEBAS INTERACTIVAS (CANVAS 01-04)
   ========================================================================== */
.nova-conversion-hub {
  position: relative;
  z-index: 25;
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.nova-block-section {
  margin-bottom: 72px;
  background: rgba(7, 13, 25, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
}

.nova-block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nova-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 8px;
}

.nova-title {
  font-family: 'Orbitron', 'Michroma', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
  margin: 0 0 8px;
}

.nova-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0;
}

/* Canvas 03.2: 3 Tarjetas de Entrada por Problema */
.nova-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nova-problem-card {
  background: rgba(11, 21, 38, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nova-problem-card:hover {
  border-color: #00e5ff;
  transform: translateY(-2px);
}

.nova-problem-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #00e5ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nova-problem-title {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  margin: 8px 0 10px;
  line-height: 1.35;
}

.nova-problem-symptom {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 12px;
}

.nova-problem-solution {
  background: rgba(0, 229, 255, 0.06);
  border-left: 3px solid #00e5ff;
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
}

.nova-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.nova-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #00e5ff;
  color: #04101f;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid #00e5ff;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.nova-btn-primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
}

.nova-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.nova-btn-ghost:hover {
  border-color: #00e5ff;
  color: #00e5ff;
}

/* Canvas 03.3: Antes y Después Operativo */
.nova-ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.nova-ba-tab {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.nova-ba-tab.is-active {
  background: rgba(0, 229, 255, 0.14);
  border-color: #00e5ff;
  color: #00e5ff;
  font-weight: 600;
}

.nova-ba-panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nova-ba-panel.is-active {
  display: grid;
}

.nova-ba-step {
  background: rgba(11, 19, 35, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 20px;
}

.nova-ba-step.step-problem {
  border-top: 3px solid #f59e0b;
}

.nova-ba-step.step-change {
  border-top: 3px solid #00e5ff;
}

.nova-ba-step.step-result {
  border-top: 3px solid #10b981;
}

.nova-ba-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 8px;
}

.step-problem .nova-ba-badge { color: #fbbf24; }
.step-change .nova-ba-badge { color: #00e5ff; }
.step-result .nova-ba-badge { color: #34d399; }

.nova-ba-step h4 {
  font-size: 16px;
  color: #f8fafc;
  margin: 0 0 8px;
}

.nova-ba-step p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Canvas 01 & 04: Demos Guiadas, Recorrido 3 Clics, Simulador y Matriz de Alcance */
.nova-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.nova-demo-tab {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
}

.nova-demo-tab.is-active {
  background: #00e5ff;
  border-color: #00e5ff;
  color: #04101f;
  font-weight: 700;
}

.nova-demo-card {
  display: none;
  background: rgba(9, 16, 30, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 12px;
  padding: 26px;
}

.nova-demo-card.is-active {
  display: block;
}

.nova-interactive-stage {
  background: #050b16;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.nova-stage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nova-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
}

.nova-singleline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.nova-singleline-table th,
.nova-singleline-table td {
  white-space: nowrap;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-variant-numeric: tabular-nums;
}

.nova-singleline-table th {
  background: rgba(15, 23, 42, 0.95);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.nova-singleline-table td {
  color: #e2e8f0;
}

.nova-mono-cell {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.nova-status-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.nova-status-ok {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.nova-status-warn {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.nova-status-info {
  background: rgba(0, 229, 255, 0.14);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.38);
}

/* Matriz de Alcance: Incluido / Configurable / Integraciones por evaluar */
.nova-scope-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.nova-scope-col {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 18px;
}

.nova-scope-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00e5ff;
  margin: 0 0 10px;
}

.nova-scope-col ul {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

/* Canvas 02: Diagnóstico Rápido y Cotización / Agenda Contextual */
.nova-conversion-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.nova-form-box {
  background: rgba(11, 20, 37, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 12px;
  padding: 24px;
}

.nova-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.nova-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nova-field.full-width {
  grid-column: 1 / -1;
}

.nova-field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.nova-field select,
.nova-field input,
.nova-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #050b16;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
}

.nova-field select:focus,
.nova-field input:focus,
.nova-field textarea:focus {
  outline: none;
  border-color: #00e5ff;
}

.nova-diag-result {
  margin-top: 16px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

/* Light Mode Support for Nova Conversion Hub */
html[data-theme="light"] .nova-block-section,
html[data-theme="light"] .nova-problem-card,
html[data-theme="light"] .nova-ba-step,
html[data-theme="light"] .nova-demo-card,
html[data-theme="light"] .nova-scope-col,
html[data-theme="light"] .nova-form-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .nova-interactive-stage,
html[data-theme="light"] .nova-field select,
html[data-theme="light"] .nova-field input,
html[data-theme="light"] .nova-field textarea {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

html[data-theme="light"] .nova-title,
html[data-theme="light"] .nova-problem-title,
html[data-theme="light"] .nova-ba-step h4,
html[data-theme="light"] .nova-singleline-table td {
  color: #0f172a;
}

html[data-theme="light"] .nova-subtitle,
html[data-theme="light"] .nova-problem-symptom,
html[data-theme="light"] .nova-ba-step p,
html[data-theme="light"] .nova-scope-col ul {
  color: #334155;
}

html[data-theme="light"] .nova-kicker,
html[data-theme="light"] .nova-problem-num,
html[data-theme="light"] .nova-scope-col h5 {
  color: #0284c7;
}

@media (max-width: 980px) {
  .nova-problems-grid,
  .nova-ba-panel.is-active,
  .nova-scope-matrix,
  .nova-conversion-split,
  .nova-field-grid {
    grid-template-columns: 1fr;
  }
  .nova-block-section {
    padding: 24px 18px;
  }
}



