/* ==========================================================================
   BellMeg — Stylesheet v3
   Paleta: #050711 bg · #32C5FF accent · #6E46F0 violet · #F6F7FB text
   ========================================================================== */

:root {
  --bg:        #050711;
  --surface-1: #090D1C;
  --surface-2: #0D1225;
  --text:      #F6F7FB;
  --text-dim:  #969DB2;
  --accent:       #32C5FF;
  --accent-glow:  rgba(50, 197, 255, 0.10);
  --accent-edge:  rgba(50, 197, 255, 0.28);
  --accent-line:  rgba(50, 197, 255, 0.07);
  --violet:      #6E46F0;
  --violet-glow: rgba(110, 70, 240, 0.08);
  --border:  rgba(150, 157, 178, 0.10);
  --border-2: rgba(50, 197, 255, 0.08);
  --error:       #FF7070;
  --error-bg:    rgba(255, 112, 112, 0.08);
  --error-border: rgba(255, 112, 112, 0.20);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────────────
   CAPAS DE FONDO
   ───────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: -30%; right: -20%;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(50, 197, 255, 0.14) 0%,
    rgba(50, 197, 255, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -35%; left: -25%;
  width: 65vw; height: 65vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(110, 70, 240, 0.12) 0%,
    rgba(110, 70, 240, 0.04) 40%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}

.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--accent-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 25%, black 80%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 25%, black 80%);
  pointer-events: none;
  z-index: 2;
}

#bg-glow-mouse {
  position: fixed;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(50, 197, 255, 0.12) 0%,
    rgba(110, 70, 240, 0.06) 45%,
    transparent 72%
  );
  transform: translate(calc(-5000px - 50%), calc(-5000px - 50%));
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

/* ─────────────────────────────────────────────────────────────
   SKIP LINK
   ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 0.875rem;
  z-index: 9999; text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }

/* ─────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background-color 400ms ease, backdrop-filter 400ms ease, border-color 400ms ease;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background-color: rgba(5, 7, 17, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--border-2);
}

.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 1.1875rem; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
  transition: color 150ms ease;
}
.nav-logo:hover { color: var(--accent); }
.nav-logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.nav-contact {
  background: none; border: none; cursor: pointer;
  font-family: var(--font);
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-dim); padding: 0.5rem 0;
  transition: color 150ms ease;
}
.nav-contact:hover { color: var(--text); }
.nav-contact:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* ─────────────────────────────────────────────────────────────
   MAIN
   ───────────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 10;
}

/* ─────────────────────────────────────────────────────────────
   HERO SECTION — primer viewport, dos columnas
   ───────────────────────────────────────────────────────────── */
.hero-section {
  height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  overflow: hidden;
}

/* Columna izquierda: texto */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  padding-bottom: 4rem;
  padding-left: clamp(1.5rem, 6vw, 8rem);
  padding-right: clamp(2rem, 4vw, 5rem);
}

/* Columna derecha: canvas de IA */
.hero-right {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 75% 65% at 50% 50%,
    rgba(50, 197, 255, 0.04) 0%,
    rgba(110, 70, 240, 0.02) 55%,
    transparent 100%
  );
}

#ai-core-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   ANIMACIONES DE ENTRADA
   ───────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-0 { transition-delay: 0ms; }
.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 290ms; }
.delay-4 { transition-delay: 390ms; }
.delay-5 { transition-delay: 480ms; }
.delay-6 { transition-delay: 560ms; }
.delay-7 { transition-delay: 640ms; }
.delay-8 { transition-delay: 720ms; }

/* ─────────────────────────────────────────────────────────────
   HERO — elementos de contenido
   ───────────────────────────────────────────────────────────── */

/* Punto de actividad pulsante */
.dot-live {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.65rem;
  vertical-align: middle;
  position: relative; top: -1px;
  box-shadow:
    0 0 8px rgba(50, 197, 255, 1),
    0 0 20px rgba(50, 197, 255, 0.75),
    0 0 40px rgba(50, 197, 255, 0.30);
  animation: dot-pulse 2.8s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(50, 197, 255, 1),
      0 0 20px rgba(50, 197, 255, 0.75),
      0 0 40px rgba(50, 197, 255, 0.30);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 3px rgba(50, 197, 255, 0.5), 0 0 8px rgba(50, 197, 255, 0.25);
    opacity: 0.35;
  }
}

/* Etiqueta de marca */
.hero-brand {
  display: block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  text-shadow: 0 0 14px rgba(50, 197, 255, 0.90), 0 0 32px rgba(50, 197, 255, 0.40);
}

/* Titular principal — más peso, gradiente más fuerte */
.hero-headline {
  font-size: clamp(2.5rem, 4vw, 4.375rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  background: linear-gradient(
    140deg,
    #FFFFFF 0%,
    #EEF3FF 45%,
    rgba(120, 220, 255, 0.95) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Párrafos de cuerpo */
.hero-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

/* Frase clave — segundo elemento más importante */
.hero-statement {
  font-size: clamp(1.0625rem, 1.8vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: rgba(246, 247, 251, 0.72);
  margin-top: 1.75rem;
  margin-bottom: 2.5rem;
  padding-left: 1.125rem;
  border-left: 2px solid rgba(50, 197, 255, 0.32);
  transition: filter 0.6s ease;
}
.hero-statement.visible {
  filter: drop-shadow(0 0 18px rgba(50, 197, 255, 0.14));
}

/* Separador sutil (compatibilidad) */
.hero-rule {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-2), transparent);
  margin: 0 0 2.5rem;
}

/* ─────────────────────────────────────────────────────────────
   BLOQUE ECHO — debajo del fold
   ───────────────────────────────────────────────────────────── */
.hero-echo {
  position: relative;
  z-index: 10;
  padding: 5.5rem 2.5rem 7rem;
  border-top: 1px solid var(--border-2);
}
.hero-echo-inner {
  max-width: 640px;
  margin: 0 auto;
}
.hero-echo-body {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.hero-secondary {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.hero-question {
  font-size: 1.1875rem; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.hero-conclusion {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────
   BOTÓN PRINCIPAL
   ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: transparent;
  border: 1px solid var(--accent-edge);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 350ms ease,
    color 150ms ease;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(50,197,255,0.06) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background-color: rgba(50, 197, 255, 0.06);
  border-color: var(--accent);
  box-shadow:
    0 0 22px rgba(50, 197, 255, 0.20),
    0 0 44px rgba(50, 197, 255, 0.08),
    inset 0 0 14px rgba(50, 197, 255, 0.04);
}
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-arrow {
  display: inline-block;
  transition: transform 260ms var(--ease-out);
}
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

/* ─────────────────────────────────────────────────────────────
   MODAL DE CONTACTO
   ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 14, 0.90);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.modal-box {
  position: relative; z-index: 1;
  background: rgba(9, 13, 28, 0.92);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  width: 100%; max-width: 520px; max-height: 90vh;
  overflow-y: auto;
  transform: translateY(22px) scale(0.97);
  transition: transform 380ms var(--ease-out);
  box-shadow:
    0 0 0 1px rgba(50, 197, 255, 0.06),
    inset 0 1px 0 rgba(50, 197, 255, 0.05),
    0 24px 60px rgba(5, 7, 17, 0.7);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--text-dim); font-size: 1.375rem; line-height: 1;
  cursor: pointer; border-radius: var(--r-sm);
  transition: color 150ms ease, background-color 150ms ease;
}
.modal-close:hover { color: var(--text); background: rgba(246,247,251,0.05); }
.modal-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.modal-header { margin-bottom: 2rem; }
.modal-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.modal-title {
  font-size: 1.5rem; font-weight: 300;
  letter-spacing: -0.025em; color: var(--text);
}

/* ─────────────────────────────────────────────────────────────
   FORMULARIO
   ───────────────────────────────────────────────────────────── */
.contact-form {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-honeypot {
  position: absolute; left: -9999px;
  opacity: 0; pointer-events: none;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.label-optional {
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  opacity: 0.5; margin-left: 0.25rem;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(246, 247, 251, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font); font-size: 0.9375rem; line-height: 1.5;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(150, 157, 178, 0.30); }
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(50, 197, 255, 0.35);
  background: rgba(246, 247, 251, 0.05);
  box-shadow: 0 0 0 3px rgba(50, 197, 255, 0.06);
}
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid rgba(50, 197, 255, 0.30);
  outline-offset: 2px;
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-status {
  display: none;
  padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem; line-height: 1.5;
}
.form-status.success {
  display: block;
  background: rgba(50, 197, 255, 0.07);
  border: 1px solid rgba(50, 197, 255, 0.16);
  color: var(--accent);
}
.form-status.error {
  display: block;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error);
}

.btn-submit {
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.5rem; margin-top: 0.25rem;
  background: var(--accent); color: var(--bg);
  border: none; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  cursor: pointer;
  transition: opacity 200ms ease, box-shadow 300ms ease;
}
.btn-submit:hover { opacity: 0.90; box-shadow: 0 0 28px rgba(50, 197, 255, 0.26); }
.btn-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-submit:disabled { opacity: 0.40; cursor: not-allowed; }

.modal-contact-info {
  display: flex; flex-direction: column; gap: 0.625rem;
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.modal-contact-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-dim);
  text-decoration: none; opacity: 0.55;
  transition: opacity 150ms ease, color 150ms ease;
  letter-spacing: 0.01em;
}
.modal-contact-link svg { flex-shrink: 0; opacity: 0.7; }
.modal-contact-link:hover { opacity: 1; color: var(--text); }
.modal-contact-link:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
footer {
  position: relative; z-index: 10;
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border-2);
  text-align: center;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  font-size: 1rem; font-weight: 600;
  letter-spacing: -0.015em; color: var(--text);
  margin-bottom: 0.375rem;
}
.footer-tagline {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); opacity: 0.55; margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.75rem; color: var(--text-dim);
  opacity: 0.38; margin-bottom: 1.25rem;
}
.footer-links {
  display: flex; align-items: center; justify-content: center;
  gap: 1.75rem; flex-wrap: wrap;
}
.footer-links a,
.footer-contact-btn {
  font-family: var(--font); font-size: 0.75rem;
  color: var(--text-dim); text-decoration: none;
  background: none; border: none; cursor: pointer;
  opacity: 0.48; letter-spacing: 0.03em;
  transition: opacity 150ms ease, color 150ms ease;
  padding: 0;
}
.footer-links a:hover,
.footer-contact-btn:hover { opacity: 1; color: var(--text); }
.footer-links a:focus-visible,
.footer-contact-btn:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────────
   PÁGINAS INTERNAS (privacidad, términos)
   ───────────────────────────────────────────────────────────── */
.inner-page {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: calc(var(--header-h) + 4.5rem) 2.5rem 4rem;
}
.inner-container { max-width: 680px; margin: 0 auto; }
.inner-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.inner-title {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 300; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 2rem; line-height: 1.15;
}
.placeholder-notice {
  display: inline-block;
  background: rgba(255, 195, 50, 0.07);
  border: 1px solid rgba(255, 195, 50, 0.16);
  color: rgba(255, 215, 100, 0.75);
  font-size: 0.8125rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  margin-bottom: 2.25rem;
}
.inner-content {
  font-size: 0.9375rem; color: var(--text-dim); line-height: 1.85;
}
.inner-content h2 {
  font-size: 1.0625rem; font-weight: 500; color: var(--text);
  letter-spacing: -0.01em; margin: 2.25rem 0 0.75rem;
}
.inner-content p { margin-bottom: 1rem; }
.inner-content a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(50, 197, 255, 0.22);
  transition: border-color 150ms ease;
}
.inner-content a:hover { border-color: var(--accent); }
.fine-print { margin-top: 2.5rem; font-size: 0.78rem; opacity: 0.38; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }
  .hero-left {
    padding: calc(var(--header-h) + 3.5rem) 2.5rem 3rem;
    justify-content: flex-start;
  }
  .hero-right {
    height: 380px;
    order: 2;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-container { padding: 0 1.5rem; }

  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }
  .hero-left {
    padding: calc(var(--header-h) + 2.75rem) 1.5rem 2.5rem;
  }
  .hero-right {
    height: 320px;
  }

  .hero-echo { padding: 4rem 1.5rem 5rem; }

  .hero-statement { font-size: clamp(1rem, 4vw, 1.25rem); }

  .modal-box { padding: 2rem 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }
  .inner-page { padding: calc(var(--header-h) + 3rem) 1.5rem 3rem; }
  .bg-grid { background-size: 52px 52px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 1.25rem; }
  .hero-left { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-right { height: 260px; }
  .hero-headline { letter-spacing: -0.025em; }
  .modal-box { padding: 1.75rem 1.25rem; }
  .footer-links { gap: 1.25rem; }
  .inner-page { padding: calc(var(--header-h) + 2.5rem) 1.25rem 2.5rem; }
}

@media (max-width: 360px) {
  .hero-left { padding-left: 1rem; padding-right: 1rem; }
  .modal-box { padding: 1.5rem 1rem; }
}

/* ─────────────────────────────────────────────────────────────
   ACCESIBILIDAD — Movimiento reducido
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .hero-statement.visible { filter: none !important; }
  #bg-canvas, .bg-grid, #bg-glow-mouse, #ai-core-canvas { display: none; }
}

/* Focus global */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
