/* =============================================================
   SULTOX — Mouse-Reactive Gradient (dark, tech, warm accents)
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0B0B10;   /* near-black, slightly warm */
  --bg-2:      #121219;
  --bg-3:      #17171f;   /* card */
  --ink:       #F4F5FA;   /* near-white, never pure */
  --ink-soft:  #C5C7D4;
  --mute:      #8A8D9E;
  --accent:    #00E0FF;   /* electric cyan — primary neon */
  --accent-2:  #FF6A8B;   /* warm coral */
  --accent-3:  #9B8CFF;   /* indigo */
  --warm:      #FFB05C;   /* champagne ember — the "cálido" */
  --line:      rgba(244,245,250,0.12);
  --line-soft: rgba(244,245,250,0.07);

  --gradient-1: #00E0FF;
  --gradient-2: #6C5CE7;
  --gradient-3: #FF6A8B;
  --gradient-4: #FFB05C;

  --serif: "Space Grotesk", system-ui, sans-serif;
  --sans:  "Inter", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1280px;
  --gutter: clamp(1.2rem, 5vw, 4rem);
  --bar-h: 40px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 600; }
ul { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Background — aurora + grain
   ============================================================= */
.aurora {
  position: fixed; inset: -20%; z-index: -3; pointer-events: none;
  background:
    radial-gradient(40% 40% at 18% 20%, rgba(0,224,255,.14), transparent 70%),
    radial-gradient(45% 45% at 82% 30%, rgba(108,92,231,.16), transparent 70%),
    radial-gradient(50% 50% at 50% 92%, rgba(255,106,139,.12), transparent 72%);
  filter: blur(40px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
/* 3D scene canvas — transparent, sits above the nebula glow */
#bg3d {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  width: 100%; height: 100%; display: block;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.12); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0; pointer-events: none;
  transition: opacity .7s var(--ease-out), clip-path .9s var(--ease-out);
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash-inner { text-align: center; }
.splash-word {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 5.5rem); letter-spacing: .12em;
  display: flex; gap: .04em; justify-content: center;
}
.splash-word span {
  opacity: 0; transform: translateY(40%);
  animation: splashLetter .6s var(--ease-out) forwards;
}
.splash-word span:nth-child(1) { animation-delay: .05s; }
.splash-word span:nth-child(2) { animation-delay: .14s; }
.splash-word span:nth-child(3) { animation-delay: .23s; }
.splash-word span:nth-child(4) { animation-delay: .32s; }
.splash-word span:nth-child(5) { animation-delay: .41s; }
.splash-word span:nth-child(6) { animation-delay: .50s; color: var(--accent); }
@keyframes splashLetter { to { opacity: 1; transform: translateY(0); } }
.splash-bar {
  width: min(220px, 50vw); height: 2px; margin: 1.4rem auto 0;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.splash-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  animation: splashLoad 1.8s .4s var(--ease-soft) forwards;
}
@keyframes splashLoad { to { width: 100%; } }
.splash-tag {
  margin-top: 1rem; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--mute);
}

/* =============================================================
   5. Cursor
   ============================================================= */
.cursor { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-ring, .cursor-dot {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(0,224,255,.6);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s;
}
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--accent); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =============================================================
   6. Rail (marca lateral)
   ============================================================= */
.rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 80;
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem .5rem; font-family: var(--mono);
  font-size: .68rem; letter-spacing: .3em; color: var(--mute);
}
.rail-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,224,255,.5); animation: railPulse 2.4s infinite;
}
@keyframes railPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,224,255,.5); }
  70% { box-shadow: 0 0 0 9px rgba(0,224,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,224,255,0); }
}
@media (max-width: 960px) { .rail { display: none; } }

/* =============================================================
   7. Nav
   ============================================================= */
/* ===== Barra de oferta (−20%) ===== */
.offer-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  min-height: var(--bar-h); display: flex; align-items: center; justify-content: center;
  gap: .6rem; flex-wrap: nowrap; padding: .35rem 1rem; text-align: center;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3) 55%, var(--accent));
  color: #0B0B10; font-family: var(--mono); font-size: clamp(.66rem, 2.4vw, .8rem);
  letter-spacing: .04em; line-height: 1.2;
}
.offer-bar strong { font-weight: 700; }
.offer-bar .offer-off { font-weight: 700; background: #0B0B10; color: var(--accent); padding: .1em .5em; border-radius: 100px; }
.offer-bar .offer-dot { width: 7px; height: 7px; border-radius: 50%; background: #0B0B10; animation: offerPulse 1.6s var(--ease-soft) infinite; flex: 0 0 auto; }
@keyframes offerPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (max-width: 560px) { .offer-bar .offer-pre { display: none; } }

/* Píldora de oferta en el hero */
.hero-offer {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  margin: 0 0 1.4rem; padding: .4rem .9rem; border-radius: 100px;
  border: 1px solid rgba(255,106,139,.4); background: rgba(255,106,139,.08);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink);
}
.hero-offer b { color: var(--accent-2); font-weight: 700; }

/* Precios con descuento */
.price-old { color: var(--mute); text-decoration: line-through; font-size: .78em; opacity: .7; margin-right: .45em; }
.price-now { color: var(--accent); }

/* Selector de idioma */
.nav-right { display: inline-flex; align-items: center; gap: .8rem; }
.lang { display: inline-flex; gap: .05rem; }
.lang button { background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; padding: .3rem .38rem; color: var(--ink-soft); opacity: .55; border-radius: 5px; line-height: 1; transition: opacity .2s, color .2s; }
.lang button:hover { opacity: .9; }
.lang button.is-on { opacity: 1; color: var(--accent); font-weight: 600; }
@media (max-width: 520px) { .lang button { padding: .3rem .3rem; font-size: .68rem; } }

.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease-out), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11,11,16,.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line-soft);
}
.nav-logo { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .45rem; }
.nav-logo-mark { color: var(--accent); font-size: .85em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); display: inline-flex; align-items: baseline; gap: .4rem; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-num { font-family: var(--mono); font-size: .68rem; color: var(--accent); }
.nav-cta { font-size: .88rem; }
.nav-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    padding: 2rem var(--gutter);
    background: rgba(13,13,19,.97); backdrop-filter: blur(18px);
    transform: translateX(100%); transition: transform .4s var(--ease-out);
  }
  .nav.is-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; font-family: var(--serif); }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* =============================================================
   8. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 100px;
  font-weight: 500; font-size: .95rem; letter-spacing: -.01em;
  transition: transform .3s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }
.btn-primary {
  background: var(--accent); color: #04141a;
  box-shadow: 0 0 0 rgba(0,224,255,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(0,224,255,.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =============================================================
   9. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 5rem;
  max-width: var(--container); margin-inline: auto;
  overflow: visible;
}
.hero-gradient {
  position: absolute; inset: -10% -10% 0 -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle 560px at var(--mx, 30%) var(--my, 35%), var(--gradient-1) 0%, transparent 55%),
    radial-gradient(circle 700px at calc(var(--mx, 70%) + 14%) calc(var(--my, 60%) - 6%), var(--gradient-2) 0%, transparent 55%),
    radial-gradient(circle 520px at calc(var(--mx, 50%) - 10%) calc(var(--my, 80%) + 8%), var(--gradient-3) 0%, transparent 55%);
  opacity: .3; filter: blur(56px) saturate(150%);
  transition: background .4s var(--ease-out);
}
.kicker {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.6rem;
}
.hero-title {
  font-size: clamp(2.9rem, 9.5vw, 7.4rem); font-weight: 700;
  line-height: 0.98; letter-spacing: -.035em; max-width: 16ch;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub {
  margin-top: 1.8rem; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft); font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-scroll {
  position: absolute; left: var(--gutter); bottom: 2rem;
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--mute);
}
.hero-scroll-line { width: 46px; height: 1px; background: var(--mute); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: scrollLine 2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding: 1.1rem 0; overflow: hidden; white-space: nowrap;
  background: rgba(255,255,255,.012);
}
.marquee-track {
  display: inline-flex; gap: 2.2rem; align-items: center;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 500;
  will-change: transform; padding-left: 2.2rem;
}
.marquee-track span { color: var(--ink); }
.marquee-sep { color: var(--accent); }

/* =============================================================
   11. Sections — shared
   ============================================================= */
.section-tag {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem;
}
.section-title { font-size: clamp(2rem, 5.5vw, 4rem); letter-spacing: -.03em; }
.section-title em { color: var(--accent); }

.manifesto {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.manifesto-lead {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 4.2vw, 3rem); line-height: 1.18; letter-spacing: -.02em;
  max-width: 24ch;
}
.manifesto-lead em { color: var(--accent); font-style: italic; }
.manifesto-body {
  margin-top: 2rem; max-width: 58ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--ink-soft); font-weight: 300;
}

/* Stats */
.stats {
  display: grid; gap: 2rem; margin-top: 4.5rem;
  grid-template-columns: 1fr; border-top: 1px solid var(--line-soft); padding-top: 3rem;
}
.stat-value {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.6rem); letter-spacing: -.04em;
  color: var(--ink); line-height: 1;
}
.stat-label { display: block; margin-top: .6rem; color: var(--mute); font-size: .98rem; max-width: 22ch; }
.manifesto-cta { margin-top: 3.2rem; }

/* =============================================================
   12. Servicios — vertical expandable list
   ============================================================= */
.services { max-width: var(--container); margin-inline: auto; padding: clamp(3rem, 8vw, 5rem) var(--gutter) clamp(4rem, 10vw, 7rem); }
.services-head { margin-bottom: 3rem; }
.services-hint { margin-top: 1rem; color: var(--mute); font-size: .96rem; }
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); position: relative; }
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--svc, var(--accent)); transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.service.is-open::before, .service:hover::before { transform: scaleY(1); }
.service-row {
  width: 100%; display: grid;
  grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.2rem;
  padding: clamp(1.3rem, 3vw, 2.1rem) .2rem; text-align: left;
}
.service-num { font-family: var(--mono); font-size: .82rem; color: var(--mute); transition: color .3s; }
.service-name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 3.3vw, 2.3rem); letter-spacing: -.02em;
  transition: color .3s, transform .4s var(--ease-out); transform-origin: left;
}
.service-badge {
  font-family: var(--mono); font-size: .58em; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bg); background: var(--accent); padding: .2em .6em; border-radius: 100px;
  vertical-align: middle; margin-left: .5rem;
}
.service-price { font-family: var(--mono); font-size: clamp(1rem, 2vw, 1.3rem); color: var(--ink-soft); }
.service-toggle {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); font-size: 1.3rem; color: var(--ink);
  transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.service.is-open .service-toggle { transform: rotate(45deg); background: var(--svc); color: var(--bg); border-color: var(--svc); }
.service:hover .service-num { color: var(--svc); }
.service:hover .service-name { transform: translateX(8px); }
.service.is-open .service-name { color: var(--svc); }

.service-panel { overflow: hidden; height: 0; transition: height .5s var(--ease-out); }
.service-panel-inner { padding: 0 .2rem clamp(2rem, 4vw, 3rem); max-width: 62ch; }
.service-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--svc); margin-bottom: .8rem; }
.service-problem { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); font-weight: 300; margin-bottom: 2rem; }
.service-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.service-cols h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; font-weight: 500; }
.service-cols ul { display: grid; gap: .7rem; }
.service-cols li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: .98rem; }
.service-cols li::before { content: "→"; position: absolute; left: 0; color: var(--svc); }
.service-cols p { color: var(--ink-soft); }
.service-cols .btn { margin-top: 1.4rem; }

.services-extras { margin-top: 2.6rem; color: var(--mute); font-size: .96rem; }
.services-extras strong { color: var(--ink); font-weight: 500; }

/* =============================================================
   12b. Trabajos — portfolio grid
   ============================================================= */
.works { max-width: var(--container); margin-inline: auto; padding: clamp(2rem, 6vw, 3rem) var(--gutter) clamp(4rem, 10vw, 7rem); }
.works-head { margin-bottom: 2.6rem; max-width: 62ch; }
.works-hint { margin-top: 1rem; color: var(--mute); font-size: .96rem; max-width: 58ch; }
.works-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.work-card {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.6rem 1.7rem 1.5rem; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.015); overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s, background .35s;
}
.work-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--wk, var(--accent));
}
.work-card:hover, .work-card:focus-visible {
  transform: translateY(-4px); border-color: var(--wk, var(--accent));
  background: rgba(255,255,255,.03);
}
.work-swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--wk, var(--accent)); }
.work-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -.01em; }
.work-meta { display: flex; flex-wrap: wrap; gap: .45rem; align-items: baseline; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--mute); }
.work-style { color: var(--wk, var(--accent)); }
.work-sep { color: var(--mute); }
.work-cta {
  margin-top: .5rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .3s var(--ease-out), color .3s;
}
.work-card:hover .work-cta, .work-card:focus-visible .work-cta { color: var(--wk, var(--accent)); gap: .6rem; }

@media (min-width: 720px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   13. Proceso
   ============================================================= */
.process { max-width: var(--container); margin-inline: auto; padding: clamp(4rem, 10vw, 7rem) var(--gutter); }
.process-head { margin-bottom: 3rem; }
.process-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: clamp(1.8rem, 4vw, 2.8rem); }
.step-num { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.step h3 { font-size: 1.4rem; margin: 1.2rem 0 .8rem; }
.step p { color: var(--ink-soft); font-size: .98rem; font-weight: 300; }

/* =============================================================
   14. Contacto
   ============================================================= */
.contact {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  text-align: center;
}
.contact-title { font-size: clamp(2.2rem, 7vw, 5rem); letter-spacing: -.03em; max-width: 18ch; margin-inline: auto; }
.contact-title em { color: var(--accent); }
.contact-sub { margin: 1.6rem auto 0; max-width: 44ch; color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 300; }
/* Lead form */
.lead-form {
  max-width: 560px; margin: 3rem auto 0; text-align: left;
  display: grid; gap: 1.1rem;
}
.lead-row { display: grid; gap: 1.1rem; }
.lead-field { display: grid; gap: .5rem; }
.lead-field > span {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute);
}
.lead-field input, .lead-field select, .lead-field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .25s var(--ease-out), background .25s;
}
.lead-field textarea { resize: vertical; min-height: 90px; }
.lead-field select { appearance: none; cursor: pointer; color: var(--ink-soft); }
.lead-field input::placeholder, .lead-field textarea::placeholder { color: var(--mute); }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(0,224,255,.04);
}
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.lead-actions .btn { justify-content: center; }
.lead-status { font-size: .9rem; color: var(--ink-soft); }
.lead-status.is-ok { color: var(--accent); }
.lead-status.is-err { color: var(--accent-2); }
.lead-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

.contact-or { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; margin-top: 3rem; }
.contact-email {
  font-family: var(--serif); font-size: clamp(1.3rem, 4vw, 2.4rem); font-weight: 500;
  letter-spacing: -.02em; position: relative;
}
.contact-email::after { content: ""; position: absolute; left: 0; bottom: -.1em; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.contact-email:hover::after { transform: scaleX(1); }
.contact-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line-soft);
}
.contact-meta li { font-size: .95rem; color: var(--ink-soft); }
.contact-meta span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: .4rem; }

/* =============================================================
   15. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); overflow: hidden; }
.footer-display {
  font-family: var(--serif); font-weight: 700; white-space: nowrap;
  font-size: clamp(3rem, 14vw, 11rem); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--line);
  opacity: .5; padding-bottom: 1rem;
}
.footer-grid {
  max-width: var(--container); margin-inline: auto; padding: 2rem var(--gutter) 0;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
.footer-col h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.footer-col p { color: var(--ink-soft); font-size: .96rem; font-weight: 300; margin-bottom: .4rem; }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  max-width: var(--container); margin: 3rem auto 0; padding: 1.6rem var(--gutter);
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: var(--mute);
}
.footer-top:hover { color: var(--accent); }
.footer-legal-links a:hover { color: var(--accent); }

/* =============================================================
   15b. Legal pages
   ============================================================= */
.legal-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.3rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,16,.72); backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.legal-back { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft); }
.legal-back:hover { color: var(--accent); }
.legal {
  max-width: 820px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 4rem;
}
.legal h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.03em; margin-bottom: .6rem; }
.legal .legal-updated { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 2.5rem; }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 2.6rem 0 1rem; color: var(--ink); }
.legal h3 { font-size: 1.1rem; margin: 1.8rem 0 .6rem; font-family: var(--serif); }
.legal p, .legal li { color: var(--ink-soft); font-weight: 300; font-size: 1.02rem; line-height: 1.7; }
.legal p { margin-bottom: 1rem; }
.legal ul { display: grid; gap: .5rem; margin: 0 0 1.2rem; }
.legal ul li { position: relative; padding-left: 1.4rem; }
.legal ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .fill {
  color: var(--warm); background: rgba(255,176,92,.1);
  padding: .05em .4em; border-radius: 4px; font-weight: 400;
}
.legal-note {
  border: 1px solid rgba(255,176,92,.35); background: rgba(255,176,92,.06);
  border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 2.5rem;
  font-size: .95rem; color: var(--ink-soft);
}
.legal-note strong { color: var(--warm); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.legal-table th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 500; }

/* =============================================================
   16. Reveals
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split elements never invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .lead-row { grid-template-columns: 1fr 1fr; }
  .service-cols { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-legal { font-size: .9rem; }
}
@media (min-width: 960px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   18. Reduced-motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora { animation: none; }
  .rail-dot { animation: none; }
  .hero-scroll-line::after { animation: none; }
  .marquee-track { animation: none !important; }
}
