/* ============================================================
   GLOBAL.CSS — EÓN Solves
   Reset · Nav · Footer · Utilidades compartidas
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Inter:wght@300;400;500;600&display=swap');
@import 'variables.css';

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-on-dark-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Noise texture global ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════ */

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

.container--sm { max-width: var(--max-w-sm); }
.container--md { max-width: var(--max-w-md); }

/* Section base */
.section {
  position: relative;
  z-index: var(--z-base);
}

/* Dark section */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark-primary);
}

/* Light section */
.section--light {
  background: var(--bg-light);
  color: var(--text-on-light-primary);
}

/* Section padding */
.section-pad   { padding: var(--sp-32) 0; }
.section-pad-sm { padding: var(--sp-20) 0; }
.section-pad-lg { padding: clamp(var(--sp-32), 10vw, 10rem) 0; }

/* Transition entre sección dark → light */
.section--light::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--border-medium);
}


/* ════════════════════════════════════════════
   TIPOGRAFÍA COMPARTIDA
════════════════════════════════════════════ */

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.section--light .label {
  color: var(--purple-500);
}

.label--muted { color: var(--text-on-dark-muted); }

/* Separador bajo el label */
.label-sep {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin: var(--sp-3) 0 var(--sp-6);
  opacity: 0.5;
}

.section--light .label-sep {
  background: var(--purple-500);
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-transform: uppercase;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  text-transform: uppercase;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  text-transform: uppercase;
}

.heading-sm {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
  text-transform: uppercase;
}

.body-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-light);
}

.body-md {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--purple-100) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--light .text-gradient {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--purple-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ════════════════════════════════════════════
   BOTONES
════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    box-shadow var(--duration-base) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 28px var(--accent-glow);
}

/* Ghost (on dark) */
.btn--ghost {
  background: transparent;
  border-color: var(--border-accent);
  color: var(--text-on-dark-secondary);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent-dim);
}

/* Ghost (on light) */
.btn--ghost-dark {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--text-on-light-secondary);
}
.btn--ghost-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Icon button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}
.btn-icon:hover {
  color: var(--white);
  border-color: var(--border-accent);
  background: var(--accent-dim);
}
.btn-icon svg { width: 16px; height: 16px; }

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-light);
  transition: gap var(--duration-base) var(--ease), color var(--duration-fast);
}
.link-arrow:hover { gap: var(--sp-3); color: var(--white); }
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--duration-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.section--light .link-arrow {
  color: var(--accent);
}
.section--light .link-arrow:hover { color: var(--purple-700); }


/* ════════════════════════════════════════════
   CARDS
════════════════════════════════════════════ */

.card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  transition:
    border-color var(--duration-base) var(--ease),
    background var(--duration-base) var(--ease),
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease);
}

.card:hover {
  border-color: var(--border-accent);
  background: rgba(22, 15, 69, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px var(--border-accent);
}

.card--light {
  background: var(--bg-card-light);
  border-color: var(--border-light);
  color: var(--text-on-light-primary);
  box-shadow: var(--shadow-sm);
}

.card--light:hover {
  border-color: rgba(98,71,170,0.2);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(98,71,170,0.1);
}

/* Card icon */
.card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--purple-300);
  margin-bottom: var(--sp-6);
  flex-shrink: 0;
  transition: border-color var(--duration-base), color var(--duration-base), background var(--duration-base);
}

.card:hover .card__icon {
  border-color: var(--accent);
  color: var(--purple-100);
  background: var(--accent-dim);
}

.card--light .card__icon {
  border-color: rgba(98,71,170,0.2);
  color: var(--accent);
}

.card--light:hover .card__icon {
  background: var(--purple-50);
}

.card__icon svg { width: 20px; height: 20px; }

.card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: var(--sp-4);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-on-dark-primary);
  margin-bottom: var(--sp-3);
}

.card--light .card__title { color: var(--text-on-light-primary); }

.card__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-on-dark-secondary);
}

.card--light .card__body { color: var(--text-on-light-secondary); }

.card__footer {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-dark);
}

.card--light .card__footer { border-top-color: var(--border-light); }

.card__price {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  color: var(--purple-100);
}

.card--light .card__price { color: var(--accent); }


/* ════════════════════════════════════════════
   FORMULARIO
════════════════════════════════════════════ */

.form { display: flex; flex-direction: column; gap: var(--sp-5); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

.form__field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.form--light .form__label { color: var(--text-on-light-muted); }

.form__input, .form__textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-on-dark-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: var(--sp-3) 0;
  outline: none;
  transition: border-color var(--duration-base);
  width: 100%;
}

.form--light .form__input,
.form--light .form__textarea {
  color: var(--text-on-light-primary);
  border-bottom-color: var(--border-medium);
}

.form__input::placeholder, .form__textarea::placeholder { color: var(--text-on-dark-muted); }
.form--light .form__input::placeholder,
.form--light .form__textarea::placeholder { color: var(--text-on-light-muted); }

.form__input:focus, .form__textarea:focus { border-bottom-color: var(--accent); }

.form__textarea { resize: none; height: 100px; }


/* ════════════════════════════════════════════
   BADGE / TAG
════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  color: var(--purple-100);
  background: var(--accent-dim);
  white-space: nowrap;
}

.badge--light {
  border-color: rgba(98,71,170,0.2);
  color: var(--accent);
  background: var(--purple-50);
}


/* ════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════ */

.divider {
  height: 1px;
  background: var(--border-dark);
  margin: var(--sp-8) 0;
}

.section--light .divider { background: var(--border-light); }


/* ════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   var(--duration-slower) var(--ease-out),
    transform var(--duration-slower) var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--scale { transform: scale(0.95); }
.reveal--left.visible,
.reveal--right.visible,
.reveal--scale.visible { transform: none; }

.delay-1 { transition-delay: 80ms;  }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }
.delay-5 { transition-delay: 400ms; }
.delay-6 { transition-delay: 480ms; }


/* ════════════════════════════════════════════
   NAV
════════════════════════════════════════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: 60px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background   0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow   0.4s var(--ease);
}

.nav.solid {
  background: rgba(9, 6, 39, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 1px 0 var(--border-dark), 0 4px 32px rgba(0,0,0,0.4);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  height: 26px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.nav__logo-text span {
  color: var(--purple-100);
  opacity: 0.65;
}

.nav__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Links centrados */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color var(--duration-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-base) var(--ease);
}

.nav__link:hover,
.nav__link.active { color: var(--white); }

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Lado derecho */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text-on-dark-muted);
  background: none;
  border: none;
  text-decoration: none;
  transition: color var(--duration-fast);
}
.nav__icon:hover { color: var(--white); }
.nav__icon svg { width: 15px; height: 15px; }

.nav__sep {
  width: 1px;
  height: 16px;
  background: var(--border-dark);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 5px 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__burger-bar {
  display: block;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.15s ease, width 0.3s var(--ease);
  transform-origin: center;
}
.nav__burger-bar:nth-child(1) { width: 100%; }
.nav__burger-bar:nth-child(2) { width: 60%; margin-left: auto; }
.nav__burger-bar:nth-child(3) { width: 100%; }

.nav__burger.open .nav__burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open .nav__burger-bar:nth-child(2) { opacity: 0; }
.nav__burger.open .nav__burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Modal mobile */
.nav__modal {
  position: fixed;
  top: 68px;
  right: 1.25rem;
  width: min(260px, calc(100vw - 2.5rem));
  z-index: var(--z-modal);
  background: rgba(7, 4, 28, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav__modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.nav__modal-links { padding: var(--sp-2) 0; }

.nav__modal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast), background var(--duration-fast);
}
.nav__modal-link:hover {
  color: var(--white);
  background: rgba(98,71,170,0.08);
}
.nav__modal-link::after {
  content: '›';
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav__modal-link:hover::after { opacity: 0.4; transform: translateX(0); }

.nav__modal-footer {
  border-top: 1px solid var(--border-dark);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__modal-cta {
  flex: 1;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(98,71,170,0.12);
  transition: background var(--duration-fast);
}
.nav__modal-cta:hover { background: rgba(98,71,170,0.25); }

.nav__modal-icons { display: flex; gap: var(--sp-2); }

.nav__modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.nav__modal-icon:hover { color: var(--white); border-color: var(--border-accent); }
.nav__modal-icon svg { width: 13px; height: 13px; }


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */

.footer {
  background: #000;
  position: relative;
  z-index: var(--z-base);
}

.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 25%,
    var(--purple-100) 50%,
    var(--accent) 75%,
    transparent 100%
  );
  opacity: 0.4;
}

/* Footer main: 3 cols */
.footer__main {
  padding: var(--sp-24) var(--gutter) var(--sp-16);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-16);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  height: 24px;
  text-decoration: none;
  margin-bottom: var(--sp-6);
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.footer__logo-text span { color: var(--purple-100); opacity: 0.65; }

.footer__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-on-dark-muted);
  max-width: 320px;
  margin-bottom: var(--sp-6);
}

.footer__location {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-on-dark-secondary);
}

.footer__location svg { width: 12px; height: 12px; color: var(--accent); }

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}
.footer__social-link:hover {
  color: var(--white);
  border-color: var(--border-accent);
  background: var(--accent-dim);
}
.footer__social-link svg { width: 15px; height: 15px; }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--purple-100);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-dark);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__col-link {
  font-size: var(--text-base);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer__col-link:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer__contact-item:hover { color: var(--white); }
.footer__contact-item svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: var(--sp-6) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

.footer__copy span { color: var(--accent); }

.footer__legal {
  display: flex;
  gap: var(--sp-8);
}

.footer__legal-link {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.footer__legal-link:hover { color: var(--white); }


/* ════════════════════════════════════════════
   PAGE HERO (reutilizable en páginas internas)
════════════════════════════════════════════ */

.page-hero {
  padding: calc(60px + var(--sp-24)) 0 var(--sp-24);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center top,
    rgba(98,71,170,0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--sp-8);
}

.page-hero__breadcrumb a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: var(--text-on-dark-secondary); }

.page-hero__tag { margin-bottom: var(--sp-6); }

.page-hero__title {
  margin-bottom: var(--sp-6);
}

.page-hero__sub {
  max-width: 540px;
  color: var(--text-on-dark-secondary);
}


/* ════════════════════════════════════════════
   STAT ITEM
════════════════════════════════════════════ */

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  letter-spacing: var(--tracking-tight);
  color: var(--white);
  line-height: 1;
}

.stat__label {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.section--light .stat__num { color: var(--neutral-900); }
.section--light .stat__label { color: var(--text-on-light-muted); }


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --gutter: 2rem; }
  .footer__main { gap: var(--sp-12); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__sep   { display: none; }
  .nav__icon.d-only { display: none; }
  .nav__burger { display: flex; }

  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    padding: var(--sp-16) var(--gutter) var(--sp-12);
  }
  .footer__desc { max-width: 100%; }
}

@media (max-width: 540px) {
  :root { --gutter: 1.25rem; }
  .nav { padding: 0 var(--gutter); }
  .nav__modal { right: 1rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { gap: var(--sp-6); flex-wrap: wrap; }
  .form__row { grid-template-columns: 1fr; }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
