/* ═══════════════════════════════════════════
   BACKBONE AREA — main.css
   Stack: Lenis + GSAP ScrollTrigger
═══════════════════════════════════════════ */

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

:root {
  --blue: #0578ce;
  --blue-light: #40a8ff;
  --blue-dark: #034a80;
  --blue-glow: rgba(5, 120, 206, 0.35);
  --white: #f0f4f8;
  --dim: rgba(240, 244, 248, 0.45);
  --dim2: rgba(240, 244, 248, 0.2);
  --bg: #050a0f;
  --bg2: #070d14;
  --gradient-text: linear-gradient(180deg, #ffffff 0%, #cce8ff 60%, #0578ce 100%);
}

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Grain — textura orgánica premium sobre toda la página */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(5,120,206,.45); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
}
a:hover ~ .cursor, button:hover ~ .cursor { width: 16px; height: 16px; }

/* ── NAV ── */
.nav-hamburger { display: none; } /* solo visible en mobile vía media query */
.nav-mobile-menu { display: none; } /* solo en mobile */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 56px;
  transition: opacity .4s ease, background .4s ease;
}
nav.scrolled {
  background: rgba(5,10,15,.85);
  backdrop-filter: blur(12px);
  padding: 18px 56px;
  border-bottom: 1px solid rgba(5,120,206,.1);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  height: 42px; width: 42px; object-fit: contain;
  opacity: 0.55;
  transition: opacity .3s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-logo-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px; letter-spacing: .01em;
  display: flex; align-items: baseline; gap: 7px;
  opacity: 0.5;
  transition: opacity .3s;
}
.nav-logo:hover .nav-logo-text { opacity: 0.85; }
/* BACKBONE — bold, blanco */
.nav-logo-text strong {
  font-weight: 800; letter-spacing: .08em;
  color: var(--white);
}
/* AREA — thin, atenuado */
.nav-logo-text em {
  font-weight: 300; letter-spacing: .22em;
  color: var(--white); font-style: normal;
  font-size: 13px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 40px; list-style: none; margin-left: auto; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; transition: color .3s;
}
.nav-links a:hover { color: var(--white); }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .12em;
  margin-left: 40px; padding-left: 40px;
  border-left: 1px solid rgba(240,244,248,0.12);
}
.lang-btn {
  color: rgba(240,244,248,0.35); text-decoration: none;
  transition: color .3s; padding: 2px 0;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { color: var(--white); }
.lang-sep { color: rgba(240,244,248,0.2); font-size: 10px; }

/* ── INTRO ANIMATION ── */
#term-screen {
  position: fixed; z-index: 400;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'DM Mono', monospace;
  font-size: clamp(15px, 1.6vw, 20px);
  color: rgba(232, 244, 255, 0.92);
  letter-spacing: 0.04em;
  line-height: 1.25;
  pointer-events: none;
  text-shadow: 0 0 24px rgba(5, 120, 206, 0.75);
  white-space: pre;
}
/* Cursor terminal — aparece al final del texto con la clase .typing */
.term-line.typing::after {
  content: '█';
  display: inline-block;
  color: rgba(232, 244, 255, 0.92);
  animation: termBlink 1.06s step-end infinite;
  text-shadow: 0 0 10px rgba(5, 120, 206, 0.9);
}
@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── HERO ── */
#hero {
  position: relative; width: 100vw; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 56px 100px;
}
.hero-bg { position: absolute; inset: 0; background: var(--bg); overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .7;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,120,206,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,120,206,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0% { transform: translate(0,0); }
  100% { transform: translate(80px,80px); }
}
.hero-orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-60%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(5,120,206,.18) 0%, rgba(3,74,128,.08) 40%, transparent 70%);
  border-radius: 50%; animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: translate(-50%,-60%) scale(1); opacity: .7; }
  50% { transform: translate(-50%,-60%) scale(1.15); opacity: 1; }
}
.hero-scan {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 6s linear infinite; opacity: .35;
}
@keyframes scan { 0% { top: -1px; } 100% { top: 100%; } }
.particles { position: absolute; inset: 0; }
.particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--blue); border-radius: 50%;
  animation: particleFloat linear infinite; opacity: 0;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: .8; } 90% { opacity: .3; }
  100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}
.video-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .3em; color: rgba(5,120,206,.35);
  text-transform: uppercase; border: 1px solid rgba(5,120,206,.12);
  padding: 12px 24px;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(5,10,15,.8) 100%),
    linear-gradient(to bottom, rgba(5,10,15,.45) 0%, transparent 25%, transparent 45%, rgba(5,10,15,.98) 100%),
    linear-gradient(to right, rgba(5,10,15,.55) 0%, transparent 35%, transparent 65%, rgba(5,10,15,.55) 100%);
}
.hero-content { position: relative; z-index: 10; max-width: 900px; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .35em; text-transform: uppercase;
  color: rgba(240,244,248,0.4); margin-bottom: 24px;
  opacity: 0;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(52px,8vw,118px); line-height: .92;
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 8px; overflow: visible; padding-bottom: 0.12em;
}
.hero-title-en {
  display: block; color: var(--white);
}
/* Cada palabra del título — invisible al inicio, GSAP las revela */
.hw { display: inline-block; opacity: 0; }

.ai-glow {
  position: relative;
  display: inline-block;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: visible;
}
/* Copia borrosa de las letras — sigue la forma exacta de la A y la I */
.ai-glow::before {
  content: 'AI';
  position: absolute;
  inset: 0;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(9px);
  opacity: 0;
  animation: aiPulse 3s ease-in-out infinite;
  pointer-events: none;
  font: inherit;
}
@keyframes aiPulse {
  0%, 100% { opacity: 0;    }
  50%       { opacity: 0.45; }
}
.hero-title-es {
  display: block;
}
.hero-title-es .hw {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes titleReveal { from { opacity: 0; transform: translateY(80%) skewY(2deg); filter: blur(8px); } to { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); } }
.hero-subtitle {
  font-size: clamp(13px,1.4vw,17px); font-weight: 400;
  color: var(--dim); letter-spacing: .08em; text-transform: uppercase;
  margin-top: 28px; margin-bottom: 56px;
  opacity: 0;
  position: relative; overflow: hidden;
  width: fit-content;
}
.hero-subtitle::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,255,255,0.22) 50%,
    transparent 75%
  );
  animation: shimmer 5s ease-in-out infinite;
  animation-delay: 3.5s;
  pointer-events: none;
}
@keyframes shimmer {
  0%    { left: -80%; }
  30%   { left: 130%; }
  100%  { left: 130%; }
}
.hero-cta { opacity: 0; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.cta-btn {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 36px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(5, 120, 206, 0.55);
  border-radius: 4px;
  cursor: none;
  position: relative; overflow: hidden;
  transition: border-color .4s, color .4s;
  display: inline-flex; align-items: center; gap: 12px;
}
/* Glow de fondo al hover */
.cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(5,120,206,0.12) 0%,
    rgba(5,120,206,0.06) 100%);
  opacity: 0; transition: opacity .4s ease;
}
/* Línea de luz que barre de izquierda a derecha */
.cta-btn::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.07),
    transparent);
  transition: left .55s ease;
}
.cta-btn:hover { border-color: rgba(5,120,206,0.9); }
.cta-btn:hover::before { opacity: 1; }
.cta-btn:hover::after  { left: 160%; }

/* Flecha decorativa */
.cta-btn .cta-arrow {
  display: inline-block;
  font-style: normal;
  color: var(--blue);
  transition: transform .35s ease;
  font-size: 14px;
  line-height: 1;
}
.cta-btn:hover .cta-arrow { transform: translateX(4px); }
.scroll-indicator {
  position: absolute; bottom: 40px; right: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; color: rgba(240,244,248,0.35);
}
.scroll-indicator span {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: .35em; text-transform: uppercase;
  color: rgba(240,244,248,0.3);
}
.scroll-mouse { width: 22px; height: 35px; }
.scroll-wheel-el {
  animation: wheelScroll 1.8s ease-in-out infinite;
}
@keyframes wheelScroll {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(8px); }
  61%  { opacity: 0; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── MISSION ── */
#mission { position: relative; min-height: 300vh; }
.mission-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mission-bg { position: absolute; inset: 0; background: var(--bg); overflow: hidden; }

/* Blobs fluidos — fondo abstracto tipo Apple */
.m-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; opacity: 0.55;
}
.m-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(5,78,200,0.22) 0%, transparent 70%);
  top: -15%; left: -8%;
  animation: mBlob1 16s ease-in-out infinite;
}
.m-blob-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(3,30,110,0.18) 0%, transparent 70%);
  top: 25%; right: -8%;
  animation: mBlob2 20s ease-in-out infinite;
}
.m-blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(5,100,180,0.14) 0%, transparent 70%);
  bottom: -10%; left: 35%;
  animation: mBlob3 24s ease-in-out infinite;
}
@keyframes mBlob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(70px,90px) scale(1.12); }
  70%     { transform: translate(-35px,45px) scale(0.93); }
}
@keyframes mBlob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  35%     { transform: translate(-90px,-55px) scale(1.08); }
  65%     { transform: translate(35px,-85px) scale(1.16); }
}
@keyframes mBlob3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(50px,-70px) scale(1.22); }
}
.mission-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 56px; max-width: 1100px; width: 100%;
}
.mission-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(30px,4.8vw,64px); font-weight: 800;
  line-height: 1.15; letter-spacing: -.03em; text-align: center;
  will-change: transform; transform-origin: center center;
}
.mission-word {
  display: inline-block;
  color: rgba(240,244,248,.1);
  transition: color .3s ease; margin: 0 5px;
}
.mission-word.lit { color: var(--white); }
.mission-word.key { color: rgba(240,244,248,.1); }
.mission-word.key.lit {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mission-progress {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px; background: rgba(5,120,206,.15);
}
.mission-progress-fill { height: 100%; background: var(--blue); width: 0%; transition: width .1s linear; }

/* ── SECTION SHARED ── */
section { padding: 120px 56px; }
.section-header { margin-bottom: 80px; }
.section-tag {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .35em; text-transform: uppercase; color: var(--blue);
  display: block; margin-bottom: 20px;
}
.section-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(42px,6vw,88px); line-height: .95;
  font-weight: 800; letter-spacing: -0.03em; color: var(--white);
}
.section-title .gradient-word {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(5, 120, 206, 0.4));
}

/* ── CAPABILITIES ── */
#capabilities { background: var(--bg2); }
.capabilities-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: rgba(5,120,206,.08);
}
.cap-item {
  background: var(--bg2); padding: 48px 36px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(40px);
  transition: background .3s;
}
.cap-item:hover { background: rgba(5,120,206,.04); }
.cap-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: scaleX(0); transition: transform .4s ease;
}
.cap-item:hover::before { transform: scaleX(1); }
.cap-number {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .2em; color: var(--blue); margin-bottom: 32px;
}
.cap-icon {
  width: 48px; height: 48px; color: var(--blue);
  margin-bottom: 24px; opacity: .8;
}
.cap-icon svg { width: 100%; height: 100%; }
.cap-title {
  font-family: 'Inter', -apple-system, sans-serif; font-size: 22px;
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 16px; color: var(--white);
}
.cap-desc {
  font-size: 14px; line-height: 1.7; color: var(--dim); font-weight: 400;
}
.cap-line {
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: var(--blue); transition: width .6s ease;
}
.cap-item:hover .cap-line { width: 100%; }

/* ── HOW WE WORK ── */
#how-we-work { background: var(--bg); }
.process-track { position: relative; max-width: 760px; }
.process-line-bg {
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: rgba(5,120,206,.12);
}
.process-line-fill {
  width: 100%; height: 0%; background: linear-gradient(to bottom, var(--blue), rgba(5,120,206,.3));
  transition: height .1s linear;
}
.process-steps { display: flex; flex-direction: column; gap: 56px; padding-left: 40px; }
.process-step {
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateX(-20px);
  position: relative;
}
/* Punto en la línea — círculo pequeño sin caja */
.process-step::before {
  content: '';
  position: absolute; left: -44px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(5,120,206,.25);
  border: 1px solid rgba(5,120,206,.4);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.process-step.active::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 10px 3px rgba(5,120,206,.45);
}
.step-dot { display: none; } /* eliminado */
.step-num {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .3em; color: var(--blue); opacity: .7;
}
.step-content h3 {
  font-family: 'Inter', -apple-system, sans-serif; font-size: 28px;
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 10px; color: var(--white);
}
.step-content p { font-size: 15px; line-height: 1.7; color: var(--dim); }

/* ── CONTACT ── */
#contact { background: var(--bg2); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(42px,6vw,88px); line-height: .95;
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 40px;
}
/* Gradient en contact-title */
.contact-title .gradient-word {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(5,120,206,0.4));
}
.contact-info { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.contact-location {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .25em; color: rgba(240,244,248,0.25); text-transform: uppercase;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(240,244,248,0.45);
}
.form-field input, .form-field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white); padding: 14px 16px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  outline: none; transition: border-color .3s, background .3s; resize: none;
  border-radius: 4px;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: rgba(5,120,206,.7);
  background: rgba(5,120,206,.05);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(240,244,248,.2); }
.form-submit { align-self: flex-start; display: flex; align-items: center; gap: 12px; }
.submit-arrow { transition: transform .3s; }
.form-submit:hover .submit-arrow { transform: translateX(4px); }
.form-success {
  font-family: 'DM Mono', monospace; font-size: 12px;
  letter-spacing: .2em; color: var(--blue); display: none;
}
.form-success.visible { display: block; }

/* ── FOOTER ── */
footer {
  padding: 32px 56px; border-top: 1px solid rgba(5,120,206,.1);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .15em; color: var(--dim2);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim2); text-decoration: none; transition: color .3s;
}
.footer-links a:hover { color: var(--blue); }

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

/* ── TABLET (1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 24px 32px; }
  section { padding: 80px 32px; }
  #hero { padding: 0 32px 80px; }
  .capabilities-grid { grid-template-columns: repeat(2,1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: clamp(48px,8vw,96px); }
}

/* ── MOBILE (768px) ── */
@media (max-width: 768px) {
  /* Body */
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }

  /* Nav */
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .lang-switcher { margin-left: auto; margin-right: 16px; padding-left: 0; border-left: none; }
  .nav-logo-img { height: 34px; width: 34px; }
  .nav-logo-text { font-size: 13px; }

  /* Hamburger */
  .nav-hamburger {
    display: flex; flex-direction: column;
    gap: 5px; cursor: pointer;
    padding: 4px; z-index: 200;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: rgba(240,244,248,0.7);
    transition: transform .3s, opacity .3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile menu */
  .nav-mobile-menu {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(5,10,15,0.97);
    backdrop-filter: blur(16px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 40px;
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-mobile-menu.open { opacity: 1; pointer-events: all; }
  .nav-mobile-menu a {
    font-family: 'Inter', sans-serif; font-size: 32px;
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--white); text-decoration: none;
    transition: color .3s;
  }
  .nav-mobile-menu a:hover { color: var(--blue); }

  /* Hero */
  #hero { padding: 0 24px 100px; height: 100svh; }
  .hero-title { font-size: clamp(44px,12vw,72px); line-height: .92; }
  .hero-content { max-width: 100%; }
  .hero-subtitle {
    font-size: 10px; letter-spacing: .05em;
    margin-top: 16px; margin-bottom: 32px;
  }
  .hero-subtitle span { display: block; margin-top: 5px; }
  .cta-btn { padding: 12px 26px; }
  .scroll-indicator { display: none; }

  /* Terminal intro */
  #term-screen {
    font-size: 13px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Mission — en móvil: sección normal sin sticky ni zoom */
  #mission { min-height: auto !important; height: auto !important; }
  .mission-sticky { position: relative !important; height: auto !important; padding: 80px 0 !important; overflow: visible !important; }
  .mission-bg { display: none !important; }
  .mission-text { font-size: clamp(28px,7vw,40px) !important; padding: 0 16px !important; will-change: auto !important; transform: none !important; }
  .mission-progress { display: none !important; }

  /* Capabilities */
  section { padding: 60px 24px; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 0; }
  .cap-item { padding: 36px 24px; }
  .section-title { font-size: clamp(36px,9vw,56px); }

  /* How we work */
  .process-steps { padding-left: 28px; gap: 44px; }
  .process-step::before { left: -33px; }
  .step-content h3 { font-size: 22px; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-title { font-size: clamp(32px,9vw,52px); line-height: 1.08; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── SMALL MOBILE (390px) ── */
@media (max-width: 390px) {
  .hero-title { font-size: 38px; }
  #term-screen { font-size: 11px; }
  .contact-title { font-size: 30px; }
}
