/* ==========================================================================
   CHIVA ESTUDIO × AQUÍESTOY.COM — SISTEMA DE DISEÑO UNIFICADO (V2.0)
   Paleta Oficial Kit de Marca:
   - Electric Lime:   #ccff66
   - Electric Cyan:   #00ffff
   - Deep Purple:     #5e17eb (Degradados)
   - Cosmic Navy:     #04103b (Degradados)
   - Obsidian Void:   #05091a / #000000
   - Silver Grey:     #d9d9d9
   - Pure White:      #ffffff
   Tipografía Kit de Marca (100% Local-First):
   - H1 / H2:         Bricolage Grotesque (Regular 400 / ExtraBold 800)
   - Párrafos:        Poppins (300, 400, 500, 600, 700)
   - Telemetría / UI: Space Grotesk & Keratus Medium
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque_48pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque_48pt-ExtraBold.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-normal-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-normal-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-normal-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-normal-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-normal-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Keratus';
  src: url('../fonts/Keratus-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kit de Marca Oficial */
  --ae-lime: #ccff66;
  --ae-lime-rgb: 204, 255, 102;
  --ae-cyan: #00ffff;
  --ae-cyan-rgb: 0, 255, 255;
  --ae-purple: #5e17eb;
  --ae-purple-rgb: 94, 23, 235;
  --ae-purple-light: #b57cff;
  --ae-navy: #04103b;
  --ae-navy-rgb: 4, 16, 59;
  --ae-void: #040817;
  --ae-surface: #09112b;
  --ae-surface-elevated: #0f1a42;
  --ae-black: #000000;
  --ae-gray: #d9d9d9;
  --ae-muted: #94a3b8;
  --ae-white: #ffffff;
  --ae-danger: #ff5c7c;

  /* Degradados Canónicos del Kit */
  --grad-brand: linear-gradient(135deg, #5e17eb 0%, #04103b 100%);
  --grad-brand-reverse: linear-gradient(135deg, #04103b 0%, #5e17eb 100%);
  --grad-text-cyber: linear-gradient(95deg, #ccff66 0%, #00ffff 52%, #ffffff 100%);
  --grad-text-lime-cyan: linear-gradient(90deg, #ccff66 0%, #00ffff 100%);
  --grad-border: linear-gradient(135deg, rgba(204,255,102,0.5), rgba(0,255,255,0.4), rgba(94,23,235,0.5));

  /* Tipografías */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --font-keratus: 'Keratus', 'Bricolage Grotesque', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--ae-void);
  color: var(--ae-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--ae-void);
  color: var(--ae-gray);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--ae-lime);
  color: var(--ae-navy);
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

/* Barra superior de lectura láser */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ae-purple) 0%, var(--ae-cyan) 50%, var(--ae-lime) 100%);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.8), 0 0 30px rgba(204, 255, 102, 0.6);
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Aura interactiva de cursor */
.cursor-aura {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(94, 23, 235, 0.16) 0%,
    rgba(0, 255, 255, 0.08) 38%,
    rgba(204, 255, 102, 0.03) 60%,
    transparent 75%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
  .cursor-aura {
    display: none;
  }
}

/* Malla cósmica de fondo fija */
.cosmic-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 23, 235, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 88% 22%, rgba(0, 255, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(204, 255, 102, 0.09) 0%, transparent 48%),
    linear-gradient(180deg, #040817 0%, #04103b 50%, #040817 100%);
}

.cosmic-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 85%);
}

main, header, footer {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   2. UTILIDADES TIPOGRÁFICAS Y CROMÁTICAS
   ========================================================================== */
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-keratus {
  font-family: var(--font-keratus);
  letter-spacing: 0.04em;
}

.text-gradient-cyber {
  background: var(--grad-text-cyber);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-lime { color: var(--ae-lime); }
.text-cyan { color: var(--ae-cyan); }
.text-purple { color: var(--ae-purple-light); }
.text-white { color: var(--ae-white); }
.text-gray { color: var(--ae-gray); }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(94, 23, 235, 0.22);
  border: 1px solid rgba(0, 255, 255, 0.32);
  box-shadow: 0 0 22px rgba(94, 23, 235, 0.35);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ae-lime);
  backdrop-filter: blur(10px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ae-lime);
  box-shadow: 0 0 12px var(--ae-lime);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.65; }
}

.section-header {
  max-width: 780px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  color: var(--ae-white);
  margin: 1rem 0 1.15rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--ae-gray);
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   3. HEADER MULTIPÁGINA STICKY GLASS
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all 0.35s var(--ease-out-expo);
}

.site-header.scrolled {
  padding: 0.55rem 0;
  background: rgba(4, 10, 32, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo-main {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.28));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-main:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(204, 255, 102, 0.55));
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--ae-purple-light), transparent);
}

.brand-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(4, 16, 59, 0.85);
  border: 1px solid rgba(204, 255, 102, 0.35);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--ae-gray);
  transition: all 0.25s ease;
}

.brand-product-pill:hover {
  border-color: var(--ae-cyan);
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.brand-product-pill img {
  height: 15px;
  width: auto;
}

/* Navegación Multipágina */
.nav-Wrapper {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem;
  border-radius: 999px;
  background: rgba(4, 16, 59, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ae-gray);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link:hover {
  color: var(--ae-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(94, 23, 235, 0.85), rgba(4, 16, 59, 0.95));
  color: var(--ae-lime);
  font-weight: 600;
  border: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(94, 23, 235, 0.5);
}

.nav-link .nav-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ae-cyan);
  opacity: 0.85;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botones de Marca con Shimmer */
.btn-lime {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.45rem;
  border-radius: 14px;
  background: var(--ae-lime);
  color: #04103b;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 0 24px rgba(204, 255, 102, 0.38);
  transition: all 0.28s var(--ease-out-expo);
}

.btn-lime:hover {
  background: #d9ff8c;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(204, 255, 102, 0.75);
}

.btn-cyan-outline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.45rem;
  border-radius: 14px;
  border: 1.5px solid var(--ae-cyan);
  background: rgba(0, 255, 255, 0.08);
  color: var(--ae-white);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.22);
  transition: all 0.28s var(--ease-out-expo);
}

.btn-cyan-outline:hover {
  background: var(--ae-cyan);
  color: #04103b;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 255, 255, 0.65);
}

.btn-purple-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.45rem;
  border-radius: 14px;
  border: 1px solid rgba(181, 124, 255, 0.45);
  background: linear-gradient(135deg, rgba(94, 23, 235, 0.35), rgba(4, 16, 59, 0.75));
  color: var(--ae-white);
  font-weight: 600;
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
  transition: all 0.28s var(--ease-out-expo);
}

.btn-purple-glass:hover {
  border-color: var(--ae-lime);
  box-shadow: 0 0 28px rgba(94, 23, 235, 0.65);
  transform: translateY(-2px);
}

.shimmer-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-22deg);
  animation: sweepLight 3.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes sweepLight {
  0% { left: -65%; }
  45%, 100% { left: 145%; }
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.3);
  align-items: center;
  justify-content: center;
  color: var(--ae-white);
}

@media (max-width: 1024px) {
  .nav-Wrapper, .brand-product-pill, .brand-divider {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Drawer Móvil */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 8, 23, 0.96);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out-expo);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 16, 59, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-links a.active {
  border-color: var(--ae-lime);
  color: var(--ae-lime);
}

/* ==========================================================================
   4. TARJETAS CRISTAL CÓSMICO (CON RESPLANDOR DE PUNTERO)
   ========================================================================== */
.cyber-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(14, 24, 62, 0.78) 0%, rgba(4, 12, 38, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.35s ease;
}

.cyber-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 255, 255, 0.13),
    rgba(94, 23, 235, 0.08) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cyber-card:hover {
  border-color: rgba(0, 255, 255, 0.42);
  box-shadow: 0 26px 60px rgba(94, 23, 235, 0.32), 0 0 25px rgba(0, 255, 255, 0.14);
  transform: translateY(-5px);
}

.cyber-card:hover::before {
  opacity: 1;
}

.cyber-card.lime-edge {
  border-color: rgba(204, 255, 102, 0.48);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(204, 255, 102, 0.15);
}

.cyber-card.lime-edge:hover {
  border-color: var(--ae-lime);
  box-shadow: 0 28px 65px rgba(204, 255, 102, 0.25);
}

/* ==========================================================================
   5. HERO PRINCIPAL (CHIVA ESTUDIO × AQUÍESTOY.COM)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.25) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(94, 23, 235, 0.42) 0%, transparent 52%),
    radial-gradient(circle at 78% 50%, rgba(0, 255, 255, 0.18) 0%, transparent 48%),
    linear-gradient(180deg, rgba(4, 8, 23, 0.55) 0%, rgba(4, 16, 59, 0.72) 60%, #040817 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.65rem, 5.2vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ae-white);
  margin: 1.25rem 0 1.35rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--ae-gray);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-lead strong {
  color: var(--ae-white);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.telemetry-item {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(4, 16, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.telemetry-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ae-lime);
}

.telemetry-lbl {
  font-size: 0.75rem;
  color: var(--ae-gray);
  margin-top: 0.2rem;
}

/* Columna Derecha Hero: Cápsula Interactiva Dual Chiva Estudio + aquíestoy.com */
.hero-showcase-deck {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orbit-halo {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 23, 235, 0.5) 0%, rgba(0, 255, 255, 0.25) 45%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
}

.hero-device-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  border-radius: 34px;
  padding: 1.25rem;
  background: linear-gradient(155deg, rgba(4, 16, 59, 0.92), rgba(7, 12, 30, 0.96));
  border: 1.5px solid rgba(0, 255, 255, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(94, 23, 235, 0.45);
}

.hero-device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-device-screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
}

.hero-device-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-chip {
  position: absolute;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  background: rgba(4, 16, 59, 0.94);
  border: 1px solid var(--ae-lime);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(204, 255, 102, 0.28);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  z-index: 4;
  animation: floatSlow 4.5s ease-in-out infinite;
}

.hero-floating-chip.chip-left {
  bottom: 18px;
  left: -28px;
}

.hero-floating-chip.chip-right {
  top: 28px;
  right: -24px;
  border-color: var(--ae-cyan);
  animation-delay: 1.5s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-floating-chip.chip-left { left: 8px; }
  .hero-floating-chip.chip-right { right: 8px; }
}

/* ==========================================================================
   6. CINTA CINÉTICA INFINITA (KINETIC MARQUEE)
   ========================================================================== */
.kinetic-strip {
  position: relative;
  padding: 1.15rem 0;
  background: linear-gradient(90deg, #04103b 0%, #2b0f78 50%, #04103b 100%);
  border-top: 1px solid rgba(0, 255, 255, 0.28);
  border-bottom: 1px solid rgba(204, 255, 102, 0.28);
  overflow: hidden;
}

.kinetic-track {
  display: flex;
  width: max-content;
  gap: 2.8rem;
  animation: marqueeScroll 34s linear infinite;
}

.kinetic-track:hover {
  animation-play-state: paused;
}

.kinetic-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ae-white);
  white-space: nowrap;
}

.kinetic-sep {
  color: var(--ae-lime);
  font-size: 1.1rem;
}

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

/* ==========================================================================
   7. SECCIÓN TENSIÓN OPERATIVA (CONMUTADOR CAOS VS. SISTEMA)
   ========================================================================== */
.section-pad {
  padding: 6.5rem 0;
  position: relative;
}

.state-switcher-bar {
  display: inline-flex;
  padding: 0.38rem;
  border-radius: 999px;
  background: rgba(4, 16, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2.75rem;
   gap: 0.35rem;
}

.state-switch-btn {
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ae-gray);
  transition: all 0.3s ease;
}

.state-switch-btn.active-chaos {
  background: rgba(255, 92, 124, 0.2);
  color: #ff7a95;
  border: 1px solid rgba(255, 92, 124, 0.5);
  box-shadow: 0 0 20px rgba(255, 92, 124, 0.25);
}

.state-switch-btn.active-system {
  background: var(--ae-lime);
  color: #04103b;
  box-shadow: 0 0 24px rgba(204, 255, 102, 0.5);
}

.diagnostic-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.diag-card {
  padding: 1.65rem;
  transition: all 0.4s var(--ease-out-expo);
  animation: diagCardPop 0.45s var(--ease-out-expo) both;
}

@keyframes diagCardPop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Brillo perimetral constante en bucle (FastGlow CHIVA) para tarjetas del Diagnóstico */
@keyframes borderLoopChaos {
  0%, 100% {
    border-color: rgba(255, 92, 124, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 92, 124, 0.22), inset 0 0 12px rgba(255, 92, 124, 0.08);
  }
  50% {
    border-color: rgba(0, 255, 255, 0.65);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 92, 124, 0.48), 0 0 14px rgba(0, 255, 255, 0.28), inset 0 0 18px rgba(94, 23, 235, 0.18);
  }
}

@keyframes borderLoopSystem {
  0%, 100% {
    border-color: rgba(204, 255, 102, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(204, 255, 102, 0.28), inset 0 0 12px rgba(204, 255, 102, 0.08);
  }
  50% {
    border-color: rgba(0, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(0, 255, 255, 0.55), 0 0 18px rgba(204, 255, 102, 0.42), inset 0 0 20px rgba(0, 255, 255, 0.14);
  }
}

@keyframes diagSweepLoop {
  0% {
    transform: translateX(-140%) skewX(-20deg);
  }
  38%, 100% {
    transform: translateX(240%) skewX(-20deg);
  }
}

.mode-chaos .diag-card {
  border-width: 1.5px;
  animation: diagCardPop 0.45s var(--ease-out-expo) both, borderLoopChaos 3.2s ease-in-out infinite;
}

.mode-system .diag-card {
  border-width: 1.5px;
  animation: diagCardPop 0.45s var(--ease-out-expo) both, borderLoopSystem 3s ease-in-out infinite;
}

.diag-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(0, 255, 255, 0.14) 50%,
    rgba(204, 255, 102, 0.08) 65%,
    transparent 100%
  );
  animation: diagSweepLoop 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.diag-card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1rem;
}

.mode-chaos .diag-card-num {
  background: rgba(255, 92, 124, 0.16);
  color: #ff7a95;
  border: 1px solid rgba(255, 92, 124, 0.45);
}

.mode-system .diag-card-num {
  background: rgba(204, 255, 102, 0.16);
  color: var(--ae-lime);
  border: 1px solid rgba(204, 255, 102, 0.55);
}

.diag-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ae-white);
  margin-bottom: 0.6rem;
}

.diag-card p {
  font-size: 0.88rem;
  color: var(--ae-gray);
}

/* ==========================================================================
   8. EL SISTEMA ORBITAL DE 5 NIVELES EN MOVIMIENTO CONTINUO (NÚCLEO Ch | E)
   ========================================================================== */
.orbital-section {
  padding: 7rem 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(94, 23, 235, 0.28) 0%, rgba(4, 16, 59, 0.65) 50%, transparent 80%);
  position: relative;
}

.orbital-stage {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 3rem;
  align-items: center;
}

.orbital-radar-box {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
  border-radius: 36px;
  background: radial-gradient(circle at center, rgba(94, 23, 235, 0.34) 0%, rgba(4, 16, 59, 0.9) 60%, rgba(4, 8, 23, 0.98) 100%);
  border: 1.5px solid rgba(0, 255, 255, 0.32);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 0 65px rgba(94, 23, 235, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Anillos decorativos de fondo con pulso */
.orbital-ambient-ring,
.orbital-ring-track {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 255, 255, 0.22);
  pointer-events: none;
}

.orbital-ambient-ring.r1,
.orbital-ring-track.ring-1 {
  width: 34%;
  height: 34%;
  border-color: rgba(204, 255, 102, 0.28);
  animation: pulseRingGlow 4s ease-in-out infinite;
}

.orbital-ring-track.ring-2 {
  width: 50%;
  height: 50%;
  border-color: rgba(0, 255, 255, 0.2);
}

.orbital-ambient-ring.r2,
.orbital-ring-track.ring-3 {
  width: 72%;
  height: 72%;
  border-style: solid;
  border-width: 1.5px;
  border-color: rgba(0, 255, 255, 0.38);
  box-shadow: 0 0 30px rgba(94, 23, 235, 0.3), inset 0 0 25px rgba(0, 255, 255, 0.12);
}

.orbital-ring-track.ring-4 {
  width: 84%;
  height: 84%;
  border-color: rgba(181, 124, 255, 0.2);
}

.orbital-ambient-ring.r3,
.orbital-ring-track.ring-5 {
  width: 94%;
  height: 94%;
  border-color: rgba(204, 255, 102, 0.15);
}

.orbital-crosshair-h {
  position: absolute;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.orbital-crosshair-v {
  position: absolute;
  width: 1px;
  height: 92%;
  background: linear-gradient(180deg, transparent, rgba(0, 255, 255, 0.14), transparent);
  pointer-events: none;
}

@keyframes pulseRingGlow {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* Núcleo Central fijo: Ch | E en colores aquíestoy.com */
.orbital-core-che {
  position: relative;
  z-index: 5;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #132872 0%, #040a24 85%);
  border: 2px solid var(--ae-cyan);
  box-shadow:
    0 0 30px rgba(0, 255, 255, 0.5),
    0 0 60px rgba(94, 23, 235, 0.6),
    inset 0 0 24px rgba(204, 255, 102, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.orbital-core-logo,
.core-monogram {
  font-family: var(--font-keratus);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: -0.02em;
  color: var(--ae-lime);
}

.core-monogram span,
.orbital-core-logo .bar-part {
  color: var(--ae-cyan);
  font-weight: 400;
  margin: 0 0.1rem;
}

.orbital-core-logo .ch-part {
  color: var(--ae-lime);
}

.orbital-core-logo .e-part {
  color: var(--ae-cyan);
}

.orbital-core-sub,
.core-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ae-white);
  margin-top: 0.38rem;
  opacity: 0.9;
}

/* Rueda Orbital Giratoria (360° continuos en 28s) */
@keyframes orbitWheelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes orbitNodeCounterSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

.orbital-wheel {
  position: absolute;
  width: 72%;
  height: 72%;
  left: 14%;
  top: 14%;
  border-radius: 50%;
  z-index: 6;
  animation: orbitWheelSpin 28s linear infinite !important;
  will-change: transform;
}

/* Al pasar el mouse por un planeta, se pausa suavemente para hacer clic con comodidad */
.orbital-wheel:hover,
.orbital-wheel:hover .planet-counter-rotator {
  animation-play-state: paused !important;
}

/* Posicionamiento pentagonal exacto (cada 72 grados) sobre el anillo del 72% */
.orbital-planet-slot {
  position: absolute;
  width: 0;
  height: 0;
}

/* 01: Arriba (270° -> x:50%, y:0%) */
.orbital-planet-slot.slot-1,
.orbital-planet-slot.p1 { left: 50%; top: 0%; }
/* 02: Arriba Derecha (342° -> x:97.55%, y:34.55%) */
.orbital-planet-slot.slot-2,
.orbital-planet-slot.p2 { left: 97.55%; top: 34.55%; }
/* 03: Abajo Derecha (54° -> x:79.39%, y:90.45%) */
.orbital-planet-slot.slot-3,
.orbital-planet-slot.p3 { left: 79.39%; top: 90.45%; }
/* 04: Abajo Izquierda (126° -> x:20.61%, y:90.45%) */
.orbital-planet-slot.slot-4,
.orbital-planet-slot.p4 { left: 20.61%; top: 90.45%; }
/* 05: Arriba Izquierda (198° -> x:2.45%, y:34.55%) */
.orbital-planet-slot.slot-5,
.orbital-planet-slot.p5 { left: 2.45%; top: 34.55%; }

/* Contra-rotador para que el ícono y la etiqueta siempre estén derechos */
.planet-counter-rotator {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  animation: orbitNodeCounterSpin 28s linear infinite !important;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

.planet-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #14286e 0%, #040b24 90%);
  border: 2px solid rgba(0, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ae-cyan);
  transition: all 0.32s var(--ease-out-expo);
  position: relative;
}

.planet-orb svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.planet-orb-num,
.planet-badge-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #04103b;
  border: 1.5px solid var(--ae-lime);
  color: var(--ae-lime);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.planet-caption {
  margin-top: 0.45rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(4, 10, 32, 0.94);
  border: 1px solid rgba(0, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ae-white);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65);
  transition: all 0.3s ease;
}

.planet-counter-rotator:hover .planet-orb,
.planet-counter-rotator.active .planet-orb {
  transform: scale(1.18);
  background: radial-gradient(circle at 30% 30%, var(--ae-lime) 0%, #8CE800 100%);
  border-color: #ffffff;
  color: #04103b;
  box-shadow: 0 0 34px rgba(204, 255, 102, 0.9), 0 0 60px rgba(0, 255, 255, 0.5);
}

.planet-counter-rotator:hover .planet-orb-num,
.planet-counter-rotator.active .planet-orb-num,
.planet-counter-rotator:hover .planet-badge-num,
.planet-counter-rotator.active .planet-badge-num {
  background: var(--ae-purple);
  color: #ffffff;
  border-color: #ffffff;
}

.planet-counter-rotator:hover .planet-caption,
.planet-counter-rotator.active .planet-caption {
  background: var(--ae-lime);
  color: #04103b;
  border-color: var(--ae-lime);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(204, 255, 102, 0.5);
}

.orbital-status-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ae-cyan);
  background: rgba(4, 10, 32, 0.85);
  border: 1px solid rgba(0, 255, 255, 0.25);
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 8;
}

.orbital-level-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.orbital-tab-btn {
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: rgba(4, 16, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ae-gray);
  transition: all 0.25s ease;
}

.orbital-tab-btn:hover {
  border-color: var(--ae-cyan);
  color: var(--ae-white);
}

.orbital-tab-btn.active {
  background: var(--ae-lime);
  color: #04103b;
  border-color: var(--ae-lime);
  box-shadow: 0 0 22px rgba(204, 255, 102, 0.5);
}

.orbital-inspector {
  padding: 2.4rem;
  border-radius: 32px;
  background: linear-gradient(155deg, rgba(14, 24, 62, 0.9) 0%, rgba(4, 12, 38, 0.96) 100%);
  border: 1.5px solid rgba(0, 255, 255, 0.35);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6), 0 0 35px rgba(94, 23, 235, 0.35);
}

.orbital-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.orbital-tier-tag {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 255, 255, 0.14);
  color: var(--ae-cyan);
  border: 1px solid rgba(0, 255, 255, 0.4);
}

.orbital-price-box {
  margin: 1.25rem 0;
  padding: 1.15rem 1.35rem;
  border-radius: 20px;
  background: rgba(4, 8, 23, 0.72);
  border: 1px solid rgba(204, 255, 102, 0.32);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orbital-price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  color: var(--ae-lime);
}

.orbital-deliverables {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.35rem 0 1.75rem;
}

.orbital-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ae-white);
}

.orbital-deliverables li .check-ic {
  color: var(--ae-cyan);
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .orbital-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .planet-orb {
    width: 50px;
    height: 50px;
  }
  .planet-orb svg {
    width: 22px;
    height: 22px;
  }
  .planet-caption {
    font-size: 0.64rem;
    padding: 0.18rem 0.48rem;
  }
  .orbital-core-che {
    width: 94px;
    height: 94px;
  }
}

/* ==========================================================================
   9. BLOQUE CONECTOR PROTAGONISTA: AQUÍESTOY.COM (LOS 3 PRODUCTOS ÁGILES)
   ========================================================================== */
.ae-product-showcase {
  padding: 6.5rem 0;
  position: relative;
}

.ae-banner-shell {
  border-radius: 36px;
  padding: 3.5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 255, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(204, 255, 102, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #2f0b7a 0%, #04103b 65%, #050b24 100%);
  border: 1.5px solid rgba(204, 255, 102, 0.45);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), 0 0 45px rgba(94, 23, 235, 0.4);
}

.ae-tier-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.ae-tier-card {
  padding: 1.85rem;
  border-radius: 24px;
  background: rgba(4, 10, 32, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-out-expo);
}

.ae-tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--ae-cyan);
  box-shadow: 0 20px 45px rgba(0, 255, 255, 0.18);
}

.ae-tier-card.featured {
  border: 2px solid var(--ae-lime);
  background: linear-gradient(180deg, rgba(16, 30, 74, 0.94) 0%, rgba(4, 10, 32, 0.96) 100%);
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(204, 255, 102, 0.22);
}

@media (max-width: 991px) {
  .ae-tier-cards-3 {
    grid-template-columns: 1fr;
  }
  .ae-tier-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .ae-banner-shell {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   10. REVEAL SCROLL CHOREOGRAPHY
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   11. ACORDEÓN FAQ & MODAL DIAGNÓSTICO EXPRESS
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 20px;
  background: rgba(9, 17, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: var(--ae-cyan);
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.16);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ae-white);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ae-cyan);
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--ae-lime);
  color: #04103b;
  border-color: var(--ae-lime);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease-out-expo);
}

.faq-body-inner {
  padding: 0 1.6rem 1.45rem;
  font-size: 0.94rem;
  color: var(--ae-gray);
  line-height: 1.7;
}

/* Modal Universal (Diagnóstico Express & Crónicas) */
.chiva-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 6, 20, 0.86);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.chiva-modal-backdrop.open {
  display: flex;
}

.chiva-modal-box {
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 30px;
  padding: 2.25rem;
  background: linear-gradient(155deg, #0b1536 0%, #04091c 100%);
  border: 1.5px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(94, 23, 235, 0.45);
  position: relative;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ae-lime);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
}

.form-input, .form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(4, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ae-white);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--ae-cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.25);
}

/* ==========================================================================
   12. FOOTER INSTITUCIONAL CON TRIPLE LÍNEA LÁSER
   ========================================================================== */
.laser-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--ae-purple) 22%, var(--ae-cyan) 50%, var(--ae-lime) 78%, transparent 100%);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.55), 0 0 36px rgba(204, 255, 102, 0.35);
  border-radius: 999px;
}

.site-footer {
  background: #020510;
  padding: 4.5rem 0 2.5rem;
  color: var(--ae-gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ae-white);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--ae-lime);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ==========================================================================
   13. CARRUSEL DE PROYECTOS / BLOG CRÓNICAS DEL CAPACETE & PULSO INSPECTOR
   ========================================================================== */
@keyframes inspectorSwitchPop {
  0% {
    opacity: 0.35;
    transform: translateY(8px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.orbital-inspector.switching {
  animation: inspectorSwitchPop 0.36s var(--ease-out-expo) both;
}

.carousel-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(12, 22, 58, 0.88) 0%, rgba(4, 10, 30, 0.94) 100%);
  border: 1px solid rgba(0, 255, 255, 0.24);
  transition: all 0.32s var(--ease-out-expo);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--ae-lime);
  box-shadow: 0 24px 55px rgba(94, 23, 235, 0.35), 0 0 24px rgba(204, 255, 102, 0.2);
}

