/* ==========================================================================
   DevDusk — brand tokens
   Paleta: ver BRAND.md
   ========================================================================== */
:root {
  --dd-space:    #070D1F;  /* fondo profundo */
  --dd-midnight: #0C1732;  /* navy del logo */
  --dd-slate:    #131F42;  /* superficies */
  --dd-indigo:   #381D9B;  /* violeta del logo */
  --dd-twilight: #7C5CFF;  /* violeta interactivo */
  --dd-lilac:    #A78BFF;  /* violeta claro / hover */
  --dd-aurora:   #E04FD1;  /* magenta de acento */
  --dd-ember:    #FFB454;  /* ámbar (el sol al caer) */
  --dd-moon:     #F4F5FF;  /* texto principal */
  --dd-mist:     #A9AFCB;  /* texto secundario */
  --dd-line:     rgba(167, 139, 255, 0.16);
  --dd-line-strong: rgba(167, 139, 255, 0.34);

  --grad-brand: linear-gradient(120deg, var(--dd-lilac) 0%, var(--dd-twilight) 45%, var(--dd-aurora) 100%);
  --grad-btn: linear-gradient(120deg, var(--dd-twilight), var(--dd-indigo));

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dd-moon);
  background: var(--dd-space);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--dd-twilight); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }
::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

/* --------------------------------------------------------------------------
   Fondo: estrellas, orbes, grilla y horizonte (capas parallax)
   -------------------------------------------------------------------------- */
#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  will-change: transform;
}
.orb-a { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; top: -28vw; right: -18vw; background: radial-gradient(circle at 40% 40%, var(--dd-indigo), transparent 65%); }
.orb-b { width: 48vw; height: 48vw; max-width: 720px; max-height: 720px; top: 30vh; left: -22vw; background: radial-gradient(circle at 50% 50%, var(--dd-twilight), transparent 65%); opacity: 0.35; }
.orb-c { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; bottom: -20vw; right: 5vw; background: radial-gradient(circle at 50% 50%, var(--dd-aurora), transparent 65%); opacity: 0.22; }
.grid {
  position: absolute; inset: -20% 0 0 0;
  background-image:
    linear-gradient(rgba(167, 139, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  will-change: transform;
}
.horizon {
  position: absolute; left: 50%; bottom: -35vh; width: 140vw; height: 60vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 180, 84, 0.20), rgba(224, 79, 209, 0.14) 30%, transparent 65%);
  filter: blur(30px);
  will-change: transform;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
  mix-blend-mode: screen;
}
body.has-mouse .cursor-glow { opacity: 1; }

/* Todo el contenido por encima del fondo */
.nav, main, .footer, .marquee { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Fotos con parallax (hero y bandas)
   La foto mide 160% del alto de su sección y se desplaza con JS.
   -------------------------------------------------------------------------- */
.photo {
  position: absolute; left: 0; right: 0; top: -30%; height: 160%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  will-change: transform; pointer-events: none;
}
.photo-hero { background-image: url('/assets/photos/hero-notebook-sm.jpg'); background-position: center 40%; }
.photo-banking { background-image: url('/assets/photos/band-banking-sm.jpg'); }
.photo-notebook { background-image: url('/assets/photos/band-notebook-sm.jpg'); }
@media (min-width: 900px) {
  .photo-hero { background-image: url('/assets/photos/hero-notebook.jpg'); }
  .photo-banking { background-image: url('/assets/photos/band-banking.jpg'); }
  .photo-notebook { background-image: url('/assets/photos/band-notebook.jpg'); }
}

/* --------------------------------------------------------------------------
   Navegación
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 13, 31, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--dd-line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand img { width: 150px; height: auto; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a, .mobile a {
  font-size: 0.95rem; font-weight: 500; color: var(--dd-mist);
  transition: color .2s;
}
.links a:hover { color: var(--dd-moon); }
.burger {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--dd-line);
  background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--dd-moon); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile {
  display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 18px;
  background: rgba(7, 13, 31, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--dd-line);
}
.mobile a { padding: 12px 8px; border-radius: 8px; font-size: 1.05rem; }
.mobile a:hover { background: rgba(124, 92, 255, 0.12); color: var(--dd-moon); }
.nav.open .mobile { display: flex; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid var(--dd-line-strong); color: var(--dd-moon);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-btn); border-color: transparent; color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(124, 92, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-ghost { background: rgba(7, 13, 31, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(124, 92, 255, 0.18); border-color: var(--dd-lilac); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; background: rgba(124, 92, 255, 0.12); }
.btn-sm:hover { background: rgba(124, 92, 255, 0.22); border-color: var(--dd-lilac); }

/* --------------------------------------------------------------------------
   Utilidades de sección
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dd-lilac); margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dd-twilight); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2), 0 0 18px var(--dd-twilight); }
.sub { color: var(--dd-mist); font-size: 1.08rem; max-width: 62ch; }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(12, 23, 50, 0) 0%, rgba(12, 23, 50, 0.55) 18%, rgba(12, 23, 50, 0.55) 82%, rgba(12, 23, 50, 0) 100%);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.deco { position: absolute; pointer-events: none; will-change: transform; }
.deco-ring {
  right: -160px; top: 40px; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid var(--dd-line-strong);
  box-shadow: inset 0 0 80px rgba(124, 92, 255, 0.12), 0 0 80px rgba(124, 92, 255, 0.08);
}
.deco-ring::after {
  content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed var(--dd-line);
}
.deco-glow {
  left: -120px; bottom: -80px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 79, 209, 0.18), transparent 65%); filter: blur(30px);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .sectors .reveal:nth-child(2), .principles .reveal:nth-child(2), .hero-center .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .sectors .reveal:nth-child(3), .principles .reveal:nth-child(3), .hero-center .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4), .sectors .reveal:nth-child(4), .principles .reveal:nth-child(4), .hero-center .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5), .sectors .reveal:nth-child(5), .hero-center .reveal:nth-child(5) { transition-delay: .32s; }
.cards .reveal:nth-child(6), .sectors .reveal:nth-child(6), .hero-center .reveal:nth-child(6) { transition-delay: .40s; }
.sectors .reveal:nth-child(7) { transition-delay: .48s; }
.sectors .reveal:nth-child(8) { transition-delay: .56s; }

/* --------------------------------------------------------------------------
   Hero: logo grande sobre foto con parallax
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 96px; overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(56, 29, 155, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(7, 13, 31, 0.78) 0%, rgba(7, 13, 31, 0.66) 45%, rgba(7, 13, 31, 0.9) 80%, var(--dd-space) 100%);
}
.hero-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(560px, 82vw); height: auto; margin-bottom: 30px;
  filter: drop-shadow(0 14px 44px rgba(124, 92, 255, 0.45)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}
.hero h1 { max-width: 18ch; margin-inline: auto; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.hero .lead { color: var(--dd-moon); opacity: 0.88; font-size: 1.12rem; max-width: 60ch; margin: 18px auto 32px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.hero .cta-row { justify-content: center; }
.hero-points {
  list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  color: var(--dd-mist); font-size: 0.95rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dd-ember);
  box-shadow: 0 0 10px var(--dd-ember);
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 1px solid var(--dd-line-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint span { width: 3px; height: 8px; border-radius: 2px; background: var(--dd-lilac); animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   Cinta de beneficios
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--dd-line); padding: 18px 0;
  background: rgba(12, 23, 50, 0.45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  color: var(--dd-mist); padding: 0 34px; position: relative; white-space: nowrap;
}
.marquee-track span::after { content: "◆"; position: absolute; right: -6px; color: var(--dd-twilight); font-size: 0.6rem; top: 0.3em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   Servicios (cards con spotlight)
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: rgba(19, 31, 66, 0.45); border: 1px solid var(--dd-line);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(124, 92, 255, 0.16), transparent 60%);
}
.card:hover { transform: translateY(-5px); border-color: var(--dd-line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 92, 255, 0.1); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.22), rgba(56, 29, 155, 0.35));
  border: 1px solid var(--dd-line-strong); color: var(--dd-lilac);
  transition: transform .35s var(--ease), color .35s, box-shadow .35s;
}
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { transform: translateY(-2px) rotate(-4deg); color: #fff; box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dd-mist); margin: 0; font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   Bandas con foto (parallax)
   -------------------------------------------------------------------------- */
.band {
  position: relative; overflow: hidden; padding: clamp(96px, 13vw, 170px) 0;
  border-block: 1px solid var(--dd-line);
}
.band-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 13, 31, 0.94) 0%, rgba(7, 13, 31, 0.82) 45%, rgba(12, 23, 50, 0.45) 100%),
    linear-gradient(180deg, var(--dd-space) 0%, transparent 18%, transparent 82%, var(--dd-space) 100%);
}
.band-right .band-overlay {
  background:
    linear-gradient(270deg, rgba(7, 13, 31, 0.94) 0%, rgba(7, 13, 31, 0.82) 45%, rgba(12, 23, 50, 0.45) 100%),
    linear-gradient(180deg, var(--dd-space) 0%, transparent 18%, transparent 82%, var(--dd-space) 100%);
}
.band .wrap { position: relative; }
.band-content { max-width: 640px; }
.band-right .band-content { margin-left: auto; }
.band-content h2 { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.band-content .sub { color: var(--dd-moon); opacity: 0.85; }
.band-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.band-points li {
  display: flex; align-items: center; gap: 12px; font-weight: 500;
}
.band-points li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(140deg, var(--dd-twilight), var(--dd-indigo));
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  background: var(--dd-twilight);
}
.band-content .btn { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Cómo trabajamos
   -------------------------------------------------------------------------- */
.steps {
  list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--dd-line-strong), var(--dd-line-strong), transparent);
}
.step { position: relative; padding: 0 6px; }
.num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--dd-space); border: 1px solid var(--dd-line-strong); color: var(--dd-lilac);
  margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--dd-space), 0 0 30px rgba(124, 92, 255, 0.25);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--dd-mist); font-size: 0.96rem; margin: 0; }

/* --------------------------------------------------------------------------
   Sectores
   -------------------------------------------------------------------------- */
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(19, 31, 66, 0.5), rgba(19, 31, 66, 0.2));
  border: 1px solid var(--dd-line); font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.sector svg { flex: none; width: 26px; height: 26px; color: var(--dd-lilac); }
.sector:hover { transform: translateY(-3px); border-color: var(--dd-line-strong); background: rgba(124, 92, 255, 0.14); }

/* --------------------------------------------------------------------------
   Nosotros
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.principles li {
  padding: 18px 20px 18px 24px; border-radius: var(--radius-sm); position: relative;
  background: rgba(19, 31, 66, 0.4); border: 1px solid var(--dd-line); color: var(--dd-mist); font-size: 0.98rem;
}
.principles li::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: var(--grad-brand);
}
.principles strong { color: var(--dd-moon); font-weight: 600; }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */
.contact {
  position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(19, 31, 66, 0.75), rgba(12, 23, 50, 0.55));
  border: 1px solid var(--dd-line-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.contact .sub { margin-inline: auto; margin-bottom: 30px; }
.contact .cta-row { justify-content: center; }
.contact-glow {
  position: absolute; inset: -40%; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 92, 255, 0.28), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(224, 79, 209, 0.22), transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(255, 180, 84, 0.14), transparent 35%);
  filter: blur(40px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: rotate(8deg) scale(1.08); } }
.contact > * { position: relative; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--dd-line); padding: 56px 0 28px; background: rgba(7, 13, 31, 0.6); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 380px; }
.footer-brand img { width: 130px; margin-bottom: 14px; }
.footer-brand p { color: var(--dd-mist); font-size: 0.95rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: flex-start; }
.footer-links a { color: var(--dd-mist); font-size: 0.95rem; transition: color .2s; }
.footer-links a:hover { color: var(--dd-moon); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dd-line);
  color: var(--dd-mist); font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.nf {
  position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 40px var(--gutter);
}
.nf img { width: 180px; margin-bottom: 28px; }
.nf-code { font-size: 5rem; line-height: 1; margin: 0 0 10px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.nf .sub { margin-bottom: 26px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .steps, .sectors { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .links, .nav .btn-sm { display: none; }
  .burger { display: flex; }
  .scroll-hint { display: none; }
  .band-overlay, .band-right .band-overlay {
    background:
      linear-gradient(180deg, rgba(7, 13, 31, 0.9), rgba(7, 13, 31, 0.8)),
      linear-gradient(180deg, var(--dd-space) 0%, transparent 15%, transparent 85%, var(--dd-space) 100%);
  }
  .band-right .band-content { margin-left: 0; }
}
@media (max-width: 600px) {
  .steps, .sectors { grid-template-columns: 1fr; }
  .brand img { width: 124px; }
  .hero-logo { margin-bottom: 22px; }
  .btn { padding: 13px 20px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Accesibilidad: movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-hint span, .contact-glow { animation: none; }
  .cursor-glow { display: none; }
}
