/* ==========================================================================
   MJL Reclutamiento Especializado — styles.css
   Mobile first. Identidad: azul marino #1e2d46 + cobre #d9805f (sacados del logo).
   Concepto: "Talento en ruta" — hero cinematográfico oscuro (radar 3D + red de rutas)
   que se alterna con secciones claras tipo papel crema y bloques marino profundo.
   ========================================================================== */

/* ---------- 0. Tokens y base ---------- */
:root {
  --navy-950: #070e1d;
  --navy-900: #0a1428;
  --navy-850: #0d1a33;
  --navy-800: #112240;
  --navy: #1e2d46;
  --cu: #d9805f;
  --cu-300: #f0a98c;
  --cu-200: #f6c9b5;
  --cu-600: #b4593c;
  --cream: #faf5f0;
  --cream-2: #f3eae2;
  --paper: #fffdfb;
  --ink: #14203a;
  --ink-2: #4a566e;
  --line: rgba(20, 32, 58, .12);
  --grad-cu: linear-gradient(135deg, #f6c0a5 0%, #d9805f 48%, #b4593c 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr: 84px;
  --pad: clamp(18px, 5vw, 48px);
  --wrap: 1240px;
  --f-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--cream); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--cu); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-f { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; stroke: none; }

/* Logo claro: azul marino -> crema, el cobre se conserva (filtro SVG del sprite) */
.logo-claro { filter: url(#fx-claro); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: .7em 1.1em; border-radius: 10px; background: var(--cu); color: #1a0f0a; font-weight: 700; transition: top .3s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; position: relative; }
.sec { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.manifesto, .proceso, .quienes, .latam, .operacion, .contacto { overflow: clip; }

/* ---------- Tipografía ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .85em; margin-bottom: 18px;
  font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cu-600);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .kicker { color: var(--cu-300); }
.h2 { font: 700 clamp(1.9rem, 5.8vw, 3.7rem)/1.06 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.on-dark .lead { color: rgba(255, 255, 255, .74); }
.on-dark .h2 { color: #fff; }
/* .grad vive sobre crema: tonos cobre más profundos para contraste (≥3:1 en titulares grandes) */
.grad { background: linear-gradient(110deg, #d4734c 0%, #bd5a38 55%, #9a4126 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grad-light { background: linear-gradient(120deg, #ffe0cf, #f0a98c 45%, #d9805f); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-head { max-width: 840px; margin-bottom: clamp(36px, 6vw, 72px); }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; font: 700 .95rem/1.1 var(--f-body); letter-spacing: .01em; text-align: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(140px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .38), transparent 60%);
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sm { padding: .7em 1.15em; font-size: .85rem; }
.btn-lg { padding: 1.1em 1.7em; font-size: 1rem; }
.btn-cu { color: #1a0f0a; background: var(--grad-cu); box-shadow: 0 14px 34px -10px rgba(217, 128, 95, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-cu:hover { box-shadow: 0 20px 44px -10px rgba(217, 128, 95, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--cu-300); background: rgba(240, 169, 140, .12); }
.btn-navy { color: #fff; background: var(--navy); box-shadow: 0 14px 34px -12px rgba(30, 45, 70, .7); }
.btn-navy:hover { background: var(--navy-800); }
.btn-light { color: var(--navy-900); background: #fff; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); }
.btn-wa { color: #04210f; background: linear-gradient(135deg, #3bea84, #1fae55); box-shadow: 0 16px 36px -12px rgba(31, 174, 85, .7); }
.sin-wa .wa-only { display: none !important; }

/* ---------- 1. Cargador ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--navy-950); color: #fff;
  animation: loaderFail .4s 1.95s forwards; /* respaldo en CSS: se oculta solo aunque falle el JavaScript */
}
.loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease), visibility 0s .5s; }
@keyframes loaderFail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 50% 45%, rgba(217, 128, 95, .22), transparent 70%),
    linear-gradient(rgba(240, 169, 140, .07) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(240, 169, 140, .07) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%);
}
.loader-core { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; }
.loader-orb { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.loader-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lo-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 3; }
.lo-arc {
  fill: none; stroke: url(#gCu); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; animation: arcFill 1.5s cubic-bezier(.3, .7, .2, 1) forwards;
  filter: drop-shadow(0 0 6px rgba(240, 169, 140, .8));
}
.lo-orbit { fill: none; stroke: rgba(240, 169, 140, .4); stroke-width: 1; stroke-dasharray: 2 7; transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.loader-logo { width: 96px; height: auto; animation: logoPulse 2s ease-in-out infinite; }
.loader-msg { font: 500 .78rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cu-200); min-height: 1em; }
.loader-meter { width: 180px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.loader-meter i { display: block; height: 100%; background: var(--grad-cu); transform-origin: 0 50%; animation: meterFill 1.5s cubic-bezier(.3, .7, .2, 1) forwards; transform: scaleX(0); }
.loader-pct { font: 700 .8rem/1 var(--f-mono); color: rgba(255, 255, 255, .5); }
@keyframes arcFill { to { stroke-dashoffset: 0; } }
@keyframes meterFill { to { transform: scaleX(1); } }
@keyframes logoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 2. Encabezado ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding-inline: var(--pad); pointer-events: none;
  animation: hdrIn 1s var(--ease) 1.7s both;
}
@keyframes hdrIn { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
.hdr-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 14px; width: min(100%, 1180px); padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(10, 20, 40, .62); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .6); transition: background .4s;
}
.site-header.is-stuck .hdr-bar { background: rgba(10, 20, 40, .88); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand-txt { display: flex; flex-direction: column; gap: 3px; color: #fff; }
.brand-txt b { font: 800 1.05rem/1 var(--f-display); letter-spacing: .06em; }
.brand-txt small { font: 500 .52rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cu-300); }
.nav { display: none; }
.hdr-cta { display: none; }
.burger { position: relative; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.hdr-progress { position: absolute; left: 50%; bottom: -9px; width: min(calc(100% - 2 * var(--pad) - 44px), 1130px); height: 2px; transform: translateX(-50%); background: rgba(255, 255, 255, .07); border-radius: 2px; overflow: hidden; }
.hdr-progress i { display: block; height: 100%; background: var(--grad-cu); transform: scaleX(0); transform-origin: 0 50%; }

.menu-movil {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 110px var(--pad) 40px;
  background: radial-gradient(60% 40% at 80% 0%, rgba(217, 128, 95, .25), transparent 70%), var(--navy-950); color: #fff;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu-movil.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu-movil nav { display: grid; gap: 4px; }
.menu-movil nav a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; font: 700 clamp(1.8rem, 9vw, 2.7rem)/1.1 var(--f-display); letter-spacing: -.03em; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.menu-movil nav a span { font: 500 .78rem var(--f-mono); color: var(--cu-300); letter-spacing: .1em; }
.menu-movil.is-open nav a { opacity: 1; transform: none; }
.menu-movil.is-open nav a:nth-child(1) { transition-delay: .08s; }
.menu-movil.is-open nav a:nth-child(2) { transition-delay: .13s; }
.menu-movil.is-open nav a:nth-child(3) { transition-delay: .18s; }
.menu-movil.is-open nav a:nth-child(4) { transition-delay: .23s; }
.menu-movil.is-open nav a:nth-child(5) { transition-delay: .28s; }
.menu-movil.is-open nav a:nth-child(6) { transition-delay: .33s; }
.menu-meta { font: 500 .74rem/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--hdr) + 34px) 0 92px; color: #fff;
  background:
    radial-gradient(60% 50% at 88% 6%, rgba(217, 128, 95, .26), transparent 62%),
    radial-gradient(55% 60% at 0% 100%, rgba(38, 78, 160, .34), transparent 66%),
    linear-gradient(180deg, #0a1428 0%, #08111f 60%, var(--navy-950) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7;
  background:
    linear-gradient(rgba(240, 169, 140, .09) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(240, 169, 140, .09) 1px, transparent 1px) 0 0 / 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  animation: gridDrift 14s linear infinite;
}
@keyframes gridDrift { to { background-position: 0 52px, 52px 0; } }
.hero-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hg1 { width: 340px; height: 340px; right: -80px; top: 18%; background: rgba(217, 128, 95, .22); animation: glowMove 12s ease-in-out infinite alternate; }
.hg2 { width: 300px; height: 300px; left: -100px; bottom: 8%; background: rgba(60, 110, 220, .22); animation: glowMove 15s ease-in-out infinite alternate-reverse; }
@keyframes glowMove { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }

.hero-inner { z-index: 2; display: grid; gap: 28px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: .7em; padding: .55em 1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cu-200);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #3bea84; box-shadow: 0 0 0 0 rgba(59, 234, 132, .6); animation: dotPing 2s infinite; }
@keyframes dotPing { 70% { box-shadow: 0 0 0 9px rgba(59, 234, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 234, 132, 0); } }

.hero-h1 { margin-top: 22px; font: 800 clamp(2.15rem, 9.8vw, 3.4rem)/1.04 var(--f-display); letter-spacing: -.04em; }
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.08em; }
.ln > span { display: inline-block; transform: translateY(112%); animation: lineUp 1.1s var(--ease) var(--d, 1.8s) forwards; }
@keyframes lineUp { to { transform: none; } }
.hi { animation: rise 1s var(--ease) var(--d, 1.8s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-sub { margin-top: 22px; max-width: 52ch; font-size: clamp(1rem, 2.4vw, 1.18rem); line-height: 1.65; color: rgba(255, 255, 255, .76); }
.hero-now { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em .9em; min-height: 3.4em; }
.hn-lbl { font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rot { font: 700 clamp(1.05rem, 3.6vw, 1.35rem)/1.3 var(--f-display); color: var(--cu-300); letter-spacing: -.01em; }
.caret { align-self: center; width: 2px; height: 1.25em; margin-left: -.5em; background: var(--cu-300); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-cta .btn { flex: 1 1 100%; }
.hero-points { display: grid; gap: 10px; margin-top: 28px; }
.hero-points li { display: flex; align-items: center; gap: .65em; font: 600 .86rem/1.3 var(--f-body); color: rgba(255, 255, 255, .82); }
.hero-points .ico { color: var(--cu-300); width: 1.3em; height: 1.3em; }

/* Escenario 3D: radar de talento */
.hero-stage { --tilt: 62deg; position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.hi-stage { animation: stageIn 1.6s var(--ease) 1.9s both; }
@keyframes stageIn { from { opacity: 0; transform: scale(.9) translateY(30px); } to { opacity: 1; transform: none; } }
.stage-3d { position: absolute; inset: 0; perspective: 900px; translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -8px); transition: translate .5s ease-out; }
.radar { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; border-radius: 50%; transform: rotateX(var(--tilt)); transform-style: preserve-3d; }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(217, 128, 95, .2), rgba(30, 45, 70, .4) 55%, rgba(10, 20, 40, 0) 73%); box-shadow: 0 0 80px rgba(217, 128, 95, .18); }
.r-ring { position: absolute; inset: calc(var(--k, 0) * 12%); border-radius: 50%; border: 1px solid rgba(240, 169, 140, .32); }
.k0 { --k: 0; border-width: 1.5px; border-color: rgba(240, 169, 140, .5); }
.k1 { --k: 1; } .k2 { --k: 2; } .k3 { --k: 3; }
.r-axis { position: absolute; }
.a1 { left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 169, 140, .45), transparent); }
.a2 { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(240, 169, 140, .45), transparent); }
.r-ripple { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--cu-300); opacity: 0; animation: ripple 4.2s ease-out infinite; }
.r-ripple.d2 { animation-delay: 1.4s; } .r-ripple.d3 { animation-delay: 2.8s; }
@keyframes ripple { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.r-sweep {
  position: absolute; inset: 0; border-radius: 50%; animation: spin 5.5s linear infinite;
  background: conic-gradient(from 0deg, rgba(240, 169, 140, 0) 0turn, rgba(240, 169, 140, 0) .7turn, rgba(240, 169, 140, .42) .985turn, rgba(255, 226, 210, .95) 1turn);
  -webkit-mask-image: radial-gradient(circle, transparent 3%, #000 5%); mask-image: radial-gradient(circle, transparent 3%, #000 5%);
}
.r-core { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cu-300); box-shadow: 0 0 0 6px rgba(240, 169, 140, .22), 0 0 30px 8px rgba(240, 169, 140, .65); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; transform-style: preserve-3d; }
.pin-up { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; transform: rotateX(calc(var(--tilt) * -1)); }
.pin-up i { position: absolute; left: -1px; bottom: 0; width: 2px; height: var(--h); background: linear-gradient(to top, rgba(240, 169, 140, 0), var(--cu-300)); transform-origin: 50% 100%; animation: pinGrow 1.2s var(--ease) calc(2.2s + var(--pd)) both; }
.pin-up b { position: absolute; left: -5px; bottom: calc(var(--h) - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--cu-300); box-shadow: 0 0 0 4px rgba(240, 169, 140, .25), 0 0 18px 4px rgba(240, 169, 140, .75); animation: pinPulse 2.4s ease-in-out infinite var(--pd); }
.pin-up em {
  position: absolute; left: 14px; bottom: calc(var(--h) - 11px); white-space: nowrap; padding: .35em .65em; border-radius: 7px; border: 1px solid rgba(240, 169, 140, .38);
  background: rgba(10, 20, 40, .7); font: 600 .56rem/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.pin-sm { display: none; }
@keyframes pinGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pinPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.lens { position: absolute; left: 44%; top: 30%; width: clamp(64px, 19%, 104px); animation: lensMove 10s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(217, 128, 95, .5)); }
@keyframes lensMove {
  0% { transform: translate(-90%, 10%) rotate(-8deg); } 25% { transform: translate(90%, -40%) rotate(6deg); }
  50% { transform: translate(60%, 110%) rotate(-5deg); } 75% { transform: translate(-100%, 90%) rotate(8deg); } 100% { transform: translate(-90%, 10%) rotate(-8deg); }
}
.fcard {
  position: absolute; display: flex; align-items: center; gap: 10px; max-width: 80%; padding: 10px 13px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .85);
  animation: floaty 7s ease-in-out infinite; translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 10px); transition: translate .5s ease-out;
}
.fc1 { left: 0; top: 4%; } .fc2 { right: -1%; top: 62%; animation-delay: -2.3s; } .fc3 { left: 5%; bottom: 5%; animation-delay: -4.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-cu); color: #1a0f0a; flex: none; }
.fc-t b { display: block; font: 700 .78rem/1.2 var(--f-display); }
.fc-t small { display: flex; align-items: center; gap: 7px; font: 500 .64rem/1.3 var(--f-mono); letter-spacing: .04em; color: var(--cu-200); }
.fc-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #3bea84; color: #04210f; }
.fc-ok .ico { width: 14px; height: 14px; stroke-width: 3; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--cu-300); animation: dotBlink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dotBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--cu-300); transform-origin: 50% 100%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: -.1s; } .eq i:nth-child(2) { animation-delay: -.5s; } .eq i:nth-child(3) { animation-delay: -.3s; } .eq i:nth-child(4) { animation-delay: -.8s; } .eq i:nth-child(5) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .32); border-radius: 14px; display: none; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cu-300); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }

/* ---------- 4. Cintas ---------- */
.bands { position: relative; z-index: 5; height: 156px; overflow: clip; background: linear-gradient(180deg, var(--navy-950) 0 44%, var(--cream) 44% 100%); }
.band { position: absolute; left: -4%; width: 108%; overflow: hidden; display: flex; }
.band.b1 { top: 22px; transform: rotate(-2deg); background: var(--grad-cu); color: #1a0f0a; box-shadow: 0 18px 44px -12px rgba(217, 128, 95, .55); }
.band.b2 { top: 76px; transform: rotate(1.6deg); background: var(--navy-800); color: var(--cu-200); border-block: 1px solid rgba(240, 169, 140, .35); }
.band-track { display: flex; align-items: center; width: max-content; padding: 14px 0; white-space: nowrap; animation: marquee 48s linear infinite; }
.b2 .band-track { animation-direction: reverse; animation-duration: 56s; }
.band-track > * { margin-right: 26px; }
.band span { font: 800 clamp(.95rem, 2.2vw, 1.35rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.band .ico-f { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 5. Manifiesto + cifras ---------- */
.manifesto { background: var(--cream); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); }
.blob-a { width: 380px; height: 380px; right: -140px; top: 6%; background: rgba(217, 128, 95, .26); }
.blob-b { width: 420px; height: 420px; left: -180px; top: 30%; background: rgba(217, 128, 95, .2); }
.blob-c { width: 360px; height: 360px; right: -150px; bottom: 6%; background: rgba(30, 45, 70, .12); }
.mani-grid { display: grid; gap: 48px; align-items: center; }
.words { margin: 26px 0 30px; max-width: 46ch; font: 500 clamp(1.1rem, 2.3vw, 1.45rem)/1.6 var(--f-body); color: var(--ink); }
.js .words span { opacity: .24; transition: opacity .5s ease; }
.js .words span.on { opacity: 1; }
.mani-fig { position: relative; }
.tilt-card { position: relative; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -34px rgba(20, 32, 58, .55); transition: transform .35s var(--ease); will-change: transform; }
.tilt-card img { width: 100%; height: auto; }
.shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(440px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .3), transparent 55%); }
.tilt-card:hover .shine { opacity: 1; }
.fig-tag { position: absolute; left: 16px; bottom: -14px; display: inline-flex; align-items: center; gap: .5em; padding: .6em 1em; border-radius: 999px; background: var(--navy); color: #fff; font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(30, 45, 70, .6); }
.fig-tag .ico-f { color: var(--cu-300); width: 14px; height: 14px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(52px, 8vw, 96px); }
.stat { position: relative; overflow: hidden; padding: 26px 18px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(20, 32, 58, .4); }
.stat::before { content: ""; position: absolute; left: 18px; top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-cu); }
.stat-n { display: block; font: 800 clamp(2.3rem, 9vw, 3.7rem)/1 var(--f-display); letter-spacing: -.04em; color: var(--navy); }
.stat-n small { margin-left: .2em; font-size: .34em; letter-spacing: 0; color: var(--cu-600); }
.stat-t { font-size: clamp(1.7rem, 6.6vw, 2.8rem); background: linear-gradient(110deg, #d4734c, #bd5a38 55%, #9a4126); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { display: block; margin-top: 12px; font: 500 .84rem/1.45 var(--f-body); color: var(--ink-2); }

/* ---------- 6. Cine: imagen que se abre con el scroll ---------- */
.cinema { --e: 1; --t: 1; position: relative; height: 230vh; background: var(--navy-950); color: #fff; }
.cinema-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.cinema-media {
  position: absolute; inset: 0; overflow: hidden; will-change: clip-path;
  clip-path: inset(calc((1 - var(--e)) * 26%) calc((1 - var(--e)) * 30%) round calc((1 - var(--e)) * 34px));
}
.cinema-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; transform: scale(calc(1.3 - .3 * var(--e))); }
.is-broken { display: none !important; }
.cinema-fallback { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgba(217, 128, 95, .55), transparent 62%), linear-gradient(180deg, #0b1730 0%, #14294d 55%, #1d2f4f 100%); }
.cinema-fallback i { position: absolute; left: -40%; bottom: 18%; width: 34%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #ffd9c6, transparent); animation: streak 3.6s linear infinite; }
.cinema-fallback i:nth-child(2) { bottom: 27%; width: 22%; animation-delay: 1.1s; }
.cinema-fallback i:nth-child(3) { bottom: 12%; animation-delay: 2.2s; }
.cinema-fallback span { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, #0a1224, #060b17); }
@keyframes streak { from { transform: translateX(0); } to { transform: translateX(440%); } }
.cinema-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 14, 29, .96) 0%, rgba(7, 14, 29, .66) 36%, rgba(7, 14, 29, .2) 70%, rgba(7, 14, 29, .46) 100%); }
.cinema-words { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cw {
  position: absolute; left: 50%; white-space: nowrap; text-transform: uppercase; font: 800 clamp(3rem, min(15vw, 17vh), 10rem)/.9 var(--f-display); letter-spacing: -.04em;
  opacity: calc(1.15 - var(--e) * 1.25);
}
.cw-t { top: 9%; transform: translate(-50%, calc(var(--e) * -70vh)); color: #fff; }
.cw-b { bottom: 9%; transform: translate(-50%, calc(var(--e) * 70vh)); color: transparent; -webkit-text-stroke: 1.5px var(--cu-300); }
.cinema-copy { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: clamp(30px, 9vh, 96px); max-width: 700px; opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 44px)); }
@media (min-width: 1280px) { .cinema-copy { left: calc((100vw - var(--wrap)) / 2); } }
.cinema-copy .kicker { color: var(--cu-300); }
.cinema-copy .h2 { font-size: clamp(1.8rem, 5.2vw, 3.5rem); }
.cinema-copy .lead { margin-bottom: 24px; }

/* ---------- 7. Perfiles: tarjetas que se apilan ---------- */
.perfiles { background: var(--cream); }
.stack { display: block; }
.pcard { position: sticky; top: calc(var(--hdr) + var(--i) * 12px); margin-bottom: clamp(36px, 10vh, 90px); }
.pcard:last-child { margin-bottom: 0; }
.pcard-in {
  position: relative; display: grid; overflow: hidden; border-radius: 28px; color: #fff; transform-origin: 50% 0;
  background: linear-gradient(160deg, #10203d, #0a1428 72%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 44px 80px -34px rgba(10, 20, 40, .65);
}
.pcard-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: rgba(7, 14, 29, var(--dim, 0)); }
.pcard-art { display: grid; place-items: center; padding: 22px 20px 6px; min-height: 180px; background: radial-gradient(70% 90% at 50% 100%, rgba(217, 128, 95, .3), transparent 70%), linear-gradient(160deg, #142a4d, #0d1a33); }
.veh { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.veh * { fill: none; stroke: var(--cu-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.veh .tire { fill: #0d1a33; stroke: var(--cu); }
.veh .spoke { stroke: rgba(240, 169, 140, .7); stroke-width: 1.6; }
.veh .road-line { stroke: rgba(240, 169, 140, .5); stroke-dasharray: 10 12; animation: roadmove .7s linear infinite; }
.veh-body { animation: drive 3.4s ease-in-out infinite alternate; }
.veh-body.bob { animation: bob 3s ease-in-out infinite; }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin 1s linear infinite; }
@keyframes roadmove { to { stroke-dashoffset: -22; } }
@keyframes drive { from { transform: translateX(-5px); } to { transform: translateX(7px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.pcard-txt { position: relative; padding: 22px 22px 28px; }
.pcard-n { display: block; margin-bottom: 4px; font: 800 2.6rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(240, 169, 140, .55); }
.pcard-txt h3 { font: 700 clamp(1.35rem, 4vw, 2rem)/1.15 var(--f-display); letter-spacing: -.025em; }
.pcard-txt p { margin-top: 12px; color: rgba(255, 255, 255, .72); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tags li { padding: .45em .85em; border-radius: 999px; border: 1px solid rgba(240, 169, 140, .35); color: var(--cu-200); font: 500 .7rem/1.2 var(--f-mono); letter-spacing: .06em; }
.link-cta { display: inline-flex; align-items: center; gap: .6em; padding-bottom: 3px; border-bottom: 1px solid currentColor; font: 700 .95rem/1.2 var(--f-body); color: var(--cu-300); transition: gap .4s var(--ease), color .3s; }
.link-cta:hover { gap: 1em; color: #fff; }

/* ---------- 8. Nos adaptamos a tu operación ---------- */
.operacion { background: var(--navy-900); color: #fff; }
.op-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 92% 0%, rgba(217, 128, 95, .2), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(40, 80, 160, .28), transparent 60%),
    linear-gradient(rgba(240, 169, 140, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(240, 169, 140, .05) 1px, transparent 1px) 0 0 / 56px 56px;
}
.op-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.op-list { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.op-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.op-btn { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 16px 0; text-align: left; }
.op-n { font: 500 .78rem/1 var(--f-mono); color: var(--cu-300); }
.op-t { font: 700 clamp(1rem, 2.6vw, 1.2rem)/1.25 var(--f-display); letter-spacing: -.01em; transition: color .3s; }
.op-btn .ico { color: var(--cu-300); transition: transform .5s var(--ease); }
.op-item.is-on .op-t { color: var(--cu-200); }
.op-item.is-on .op-btn .ico { transform: rotate(45deg); }
.op-d > div { overflow: hidden; min-height: 0; }
.op-d p { padding: 0 0 16px 36px; font-size: .96rem; color: rgba(255, 255, 255, .72); }
.js .op-d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.js .op-item.is-on .op-d { grid-template-rows: 1fr; }
.op-bar { position: relative; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.op-bar i { position: absolute; inset: 0; background: var(--grad-cu); transform: scaleX(0); transform-origin: 0 50%; }
.op-item.is-on .op-bar i { animation: opfill 5s linear forwards; }
.op-list:hover .op-item.is-on .op-bar i, .op-list:focus-within .op-item.is-on .op-bar i { animation-play-state: paused; }
@keyframes opfill { to { transform: scaleX(1); } }
.op-visual { position: relative; padding: 4%; }
.op-card { position: relative; z-index: 1; border: 1px solid rgba(240, 169, 140, .25); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(217, 128, 95, .35); }
.op-orbit { position: absolute; inset: -4% -2%; z-index: 3; pointer-events: none; }
.op-orbit::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(240, 169, 140, .38); border-radius: 50%; animation: spin 70s linear infinite; }
.op-num { position: absolute; right: 2%; top: -6%; font: 800 clamp(3rem, 12vw, 5.6rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--cu-300); text-shadow: 0 0 40px rgba(217, 128, 95, .4); }
.op-banner { position: relative; display: grid; gap: 16px; align-items: center; margin-top: clamp(52px, 8vw, 96px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: linear-gradient(120deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(240, 169, 140, .28); }
.op-banner > p:first-child { font: 700 clamp(1.35rem, 3.4vw, 2.1rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.op-banner > p:first-child span { display: block; color: #fff; }
.op-sub { color: rgba(255, 255, 255, .7); }

/* ---------- 9. Proceso: camión que avanza con el scroll ---------- */
.proceso { background: var(--cream-2); }
.ruta { position: relative; }
.ruta-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.road-base { fill: none; stroke: rgba(20, 32, 58, .1); stroke-width: 18; stroke-linecap: round; }
.road-dash { fill: none; stroke: rgba(20, 32, 58, .3); stroke-width: 2; stroke-dasharray: 2 12; stroke-linecap: round; }
.road-prog { fill: none; stroke: url(#gRoad); stroke-width: 4; stroke-linecap: round; }
.truck { opacity: 0; transition: opacity .5s; }
.ruta.is-ready .truck { opacity: 1; }
.truck-in { animation: truckBob 1.6s ease-in-out infinite; }
@keyframes truckBob { 0%, 100% { opacity: 1; } 50% { opacity: .85; } }
.steps { position: relative; display: grid; gap: 22px; padding-left: 58px; }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: -40px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream-2); border: 3px solid rgba(20, 32, 58, .22); transition: background .5s, border-color .5s, box-shadow .5s; }
.step.on::before { background: var(--cu); border-color: var(--cu); box-shadow: 0 0 0 6px rgba(217, 128, 95, .22); }
.step-card { position: relative; padding: 22px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 50px -36px rgba(20, 32, 58, .45); transition: border-color .5s, box-shadow .5s; }
.step.on .step-card { border-color: rgba(217, 128, 95, .75); box-shadow: 0 34px 60px -32px rgba(217, 128, 95, .6); }
.step-n { display: block; margin-bottom: 6px; font: 800 2.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--cu); }
.step-card h3 { font: 700 clamp(1.15rem, 3vw, 1.4rem)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--navy); }
.step-card p { margin-top: 10px; font-size: .96rem; color: var(--ink-2); }
.proceso-cta { margin-top: clamp(40px, 6vw, 70px); text-align: center; position: relative; }

/* ---------- 10. LATAM + IA+ ---------- */
.latam { background: linear-gradient(180deg, #070e1d, #0a1428 40%, #0d1a33); color: #fff; }
.latam-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .55; animation: dotsDrift 30s linear infinite;
  background-image: radial-gradient(rgba(240, 169, 140, .5) 1px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 60% at 75% 45%, #000, transparent); mask-image: radial-gradient(60% 60% at 75% 45%, #000, transparent);
}
@keyframes dotsDrift { to { background-position: 28px 28px; } }
.latam-grid { position: relative; display: grid; gap: 54px; align-items: center; }
.latam-feats { display: grid; gap: 12px; margin: 30px 0 28px; }
.latam-feats li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lf-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-cu); color: #1a0f0a; }
.latam-feats b { display: block; font: 700 1rem/1.2 var(--f-display); }
.latam-feats small { display: block; margin-top: 3px; font-size: .86rem; color: rgba(255, 255, 255, .66); }
.latam-visual { position: relative; width: 100%; max-width: 500px; margin-inline: auto; padding: 7%; }
.lat-orbit { position: absolute; border-radius: 50%; pointer-events: none; border: 1px dashed rgba(240, 169, 140, .42); }
.lo1 { inset: 0; animation: spin 50s linear infinite; }
.lo1::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cu-300); box-shadow: 0 0 18px 4px rgba(240, 169, 140, .75); }
.lo2 { inset: -3%; border-style: solid; border-color: rgba(240, 169, 140, .14); animation: spin 80s linear infinite reverse; }
.flyer { position: relative; z-index: 1; box-shadow: 0 50px 100px -30px rgba(217, 128, 95, .45), 0 0 0 1px rgba(240, 169, 140, .3); }

/* ---------- 11. Quiénes somos ---------- */
.quienes { background: var(--cream); }
.q-grid { display: grid; gap: 64px; align-items: center; }
.q-visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.seal { position: absolute; right: -4px; bottom: -40px; width: clamp(110px, 27vw, 150px); filter: drop-shadow(0 16px 30px rgba(10, 20, 40, .45)); z-index: 2; }
.seal svg { width: 100%; height: auto; overflow: visible; }
.seal-spin { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.seal text { font: 700 13px var(--f-mono); fill: #f0c2ab; letter-spacing: .1em; }
.seal .seal-t { font: 800 19px var(--f-display); fill: #1a0f0a; letter-spacing: .08em; }
.certs { display: grid; gap: 12px; margin: 28px 0; }
.certs li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 44px -34px rgba(20, 32, 58, .45); }
.cert-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--cu-300); }
.certs b { display: block; font: 700 1rem/1.2 var(--f-display); color: var(--navy); }
.certs small { display: block; margin-top: 3px; font-size: .88rem; color: var(--ink-2); }

/* ---------- 12. Dos puertas ---------- */
.accesos { background: var(--cream-2); }
.doors { display: grid; gap: 18px; }
.door { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 500px; border-radius: 30px; color: #fff; }
.door-bg { position: absolute; inset: 0; z-index: -1; }
.door-emp .door-bg { background: linear-gradient(135deg, #16305a, #0a1428); }
.door-ope .door-bg { background: linear-gradient(135deg, #9a4a2e, #0a1428); }
.door-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door-bg::after { content: ""; position: absolute; inset: 0; }
.door-emp .door-bg::after { background: linear-gradient(180deg, rgba(10, 20, 40, .35), rgba(10, 20, 40, .94)); }
.door-ope .door-bg::after { background: linear-gradient(180deg, rgba(154, 74, 46, .4), rgba(10, 20, 40, .94)); }
.door:hover .door-bg img { transform: scale(1.07); }
.door-in { display: grid; gap: 16px; width: 100%; padding: clamp(22px, 4vw, 40px); }
.door-tag { justify-self: start; padding: .5em .9em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.door h3 { font: 700 clamp(1.5rem, 4vw, 2.3rem)/1.15 var(--f-display); letter-spacing: -.03em; }
.door ul { display: grid; gap: 8px; }
.door li { display: flex; gap: .65em; align-items: flex-start; font-size: .96rem; color: rgba(255, 255, 255, .85); }
.door li .ico { margin-top: .2em; color: var(--cu-300); stroke-width: 2.6; }
.door .btn { justify-self: start; }

/* ---------- 13. Preguntas frecuentes ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; gap: 44px; }
.faq-fig { margin-top: 28px; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(20, 32, 58, .5); }
.faq-fig img { width: 100%; height: auto; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 clamp(1rem, 2.4vw, 1.2rem)/1.3 var(--f-display); letter-spacing: -.015em; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { flex: none; width: 1.4em; height: 1.4em; padding: .3em; border-radius: 50%; background: var(--cream-2); color: var(--cu-600); transition: transform .5s var(--ease), background .3s; }
.qa[open] summary .ico { transform: rotate(45deg); background: var(--cu); color: #fff; }
.qa p { padding: 0 0 22px; max-width: 62ch; color: var(--ink-2); }
.qa[open] p { animation: fadeDown .6s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 14. Contacto ---------- */
.contacto { background: var(--navy-950); color: #fff; }
.contacto-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 10% 0%, rgba(217, 128, 95, .24), transparent 62%),
    radial-gradient(50% 50% at 100% 100%, rgba(40, 80, 160, .3), transparent 62%),
    linear-gradient(rgba(240, 169, 140, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(240, 169, 140, .05) 1px, transparent 1px) 0 0 / 56px 56px;
}
.c-grid { position: relative; display: grid; gap: 44px; align-items: start; }
.c-h2 { font-size: clamp(2.2rem, 7.4vw, 4.4rem); }
.c-list { display: grid; gap: 12px; margin-top: 30px; }
.c-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s, transform .45s var(--ease), background .3s; }
a.c-item:hover { border-color: var(--cu); background: rgba(240, 169, 140, .08); transform: translateX(5px); }
.c-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(240, 169, 140, .15); color: var(--cu-300); }
.c-ico .ico { width: 1.35em; height: 1.35em; }
.c-wa { background: #25d366; color: #04210f; }
.c-item small { display: block; font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cu-300); }
.c-item b { display: block; font: 700 1.05rem/1.3 var(--f-display); }
.c-item em { display: block; font-style: normal; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.socials a:hover { background: var(--grad-cu); color: #1a0f0a; border-color: transparent; transform: translateY(-4px); }
.socials svg { width: 20px; height: 20px; }

.c-form { position: relative; padding: clamp(22px, 4vw, 38px); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(240, 169, 140, .25); }
.c-form h3 { margin-bottom: 18px; font: 700 clamp(1.3rem, 3vw, 1.6rem)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--navy); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; font: 600 .78rem var(--f-body); color: var(--ink-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: .7em 1.15em; border-radius: 999px; border: 1px solid rgba(20, 32, 58, .2); font: 600 .88rem/1 var(--f-body); color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--cu); outline-offset: 2px; }
.f-row { display: grid; gap: 12px; margin-bottom: 12px; }
.f { display: block; margin-bottom: 12px; }
.f-row .f { margin-bottom: 0; }
.f span { display: block; margin-bottom: 6px; font: 600 .78rem/1.2 var(--f-body); color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; padding: .85em 1em; border-radius: 14px; border: 1px solid rgba(20, 32, 58, .2); background: #fff; font: 500 1rem/1.4 var(--f-body); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.f textarea { resize: vertical; min-height: 90px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--cu); box-shadow: 0 0 0 4px rgba(217, 128, 95, .2); }
.form-err { margin: 4px 0 8px; font-size: .88rem; font-weight: 600; color: #b3261e; }
.c-form .btn-wa { width: 100%; margin-top: 6px; padding: 1.1em 1.4em; }
.c-form .btn-wa .ico { width: 1.4em; height: 1.4em; }
.form-note { margin-top: 14px; font-size: .8rem; text-align: center; color: var(--ink-2); }

/* ---------- 15. Pie ---------- */
.footer { position: relative; overflow: clip; padding-top: clamp(64px, 9vw, 110px); background: var(--navy-950); color: #fff; border-top: 1px solid rgba(240, 169, 140, .2); }
/* Palabra "MJL" en contorno: va DEBAJO del contenido (en flujo), recortada a la mitad y con fundido, para no cruzarse con textos ni logo */
.foot-word {
  position: relative; z-index: 0; display: block; height: .5em; margin-top: 24px; overflow: hidden; text-align: center;
  font: 800 clamp(7rem, 33vw, 28rem)/1 var(--f-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(240, 169, 140, .34);
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 96%); mask-image: linear-gradient(180deg, #000 25%, transparent 96%);
  pointer-events: none; user-select: none;
}
.foot-grid { position: relative; z-index: 1; display: grid; gap: 36px; }
.foot-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 38ch; color: rgba(255, 255, 255, .66); font-size: .94rem; }
.foot-nav, .foot-contact { display: grid; align-content: start; gap: 2px; font-size: .94rem; }
.foot-nav b, .foot-contact b { margin-bottom: 8px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cu-300); }
.foot-nav a, .foot-contact a { padding: .25em 0; color: rgba(255, 255, 255, .74); transition: color .3s; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--cu-300); }
.foot-contact span { padding: .25em 0; color: rgba(255, 255, 255, .6); }
.foot-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.foot-bottom .socials { margin-top: 0; }
.foot-bottom .socials a { width: 40px; height: 40px; }

/* ---------- 16. Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; gap: 0;
  height: 58px; min-width: 58px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #3bea84, #1fae55); color: #04210f;
  box-shadow: 0 18px 40px -12px rgba(31, 174, 85, .75); animation: waIn .9s var(--ease) 2.6s both; transition: transform .4s var(--ease);
}
.wa-float:hover { transform: translateY(-4px); }
.wa-float .ico { width: 28px; height: 28px; stroke-width: 1.9; }
.wa-pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #3bea84; pointer-events: none; animation: waPulse 2.4s ease-out infinite; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 .9rem/1 var(--f-body); transition: max-width .55s var(--ease), margin .55s var(--ease); }
@keyframes waIn { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- 17. Revelado al hacer scroll (solo con JS; siempre termina visible) ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease) var(--rd, 0s), transform 1.2s var(--ease) var(--rd, 0s); }
.js .rv-l { transform: translate3d(-28px, 0, 0); }
.js .rv-r { transform: translate3d(28px, 0, 0); }
.js .rv-zoom { transform: scale(.93); }
.js .rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   Pantallas más grandes (mobile first -> escala hacia arriba)
   ========================================================================== */
@media (min-width: 560px) {
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 26px; }
  .f-row { grid-template-columns: 1fr 1fr; }
  .pin-sm { display: block; }
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .cinema { height: 260vh; }
  .pcard-in { grid-template-columns: .85fr 1.15fr; }
  .pcard-art { padding: 28px; min-height: 280px; }
  .pcard-txt { padding: 36px 36px 38px 30px; }
  .pcard-n { font-size: 3.6rem; }
  .op-banner { grid-template-columns: 1.3fr 1fr; }
  .op-banner .btn { justify-self: start; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a { padding: .6em .95em; border-radius: 999px; font: 600 .88rem/1 var(--f-body); color: rgba(255, 255, 255, .78); transition: background .3s, color .3s; }
  .nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .hdr-cta { display: inline-flex; }
  .burger { display: none; }
  .hdr-bar { padding-left: 22px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 36px; }
  .hero-h1 { font-size: clamp(3rem, 4.9vw, 4.6rem); }
  .hero-now { min-height: 0; }
  .hero-stage { margin-right: 0; }
  .scroll-hint { display: block; }
  .mani-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .op-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .op-banner { grid-template-columns: 1.4fr 1fr auto; }
  .latam-grid { grid-template-columns: 1fr 1fr; gap: 84px; }
  .q-grid { grid-template-columns: 1fr 1fr; gap: 90px; }
  .q-visual { position: sticky; top: 120px; align-self: start; } /* la pieza acompaña la lectura en vez de flotar en un hueco */
  .doors { display: flex; }
  .door { flex: 1; min-height: 600px; transition: flex .8s var(--ease); }
  .doors:hover .door { flex: .82; }
  .doors .door:hover { flex: 1.28; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 90px; }
  .faq-side { position: sticky; top: 110px; align-self: start; }
  .c-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .step::before { display: none; }
  .steps { padding-left: 0; gap: clamp(46px, 7vw, 86px); }
  .step:nth-child(odd) .step-card { margin-right: 57%; }
  .step:nth-child(even) .step-card { margin-left: 57%; }
  .wa-float { padding: 0 18px; }
  .wa-float:hover .wa-label { max-width: 220px; margin-left: 10px; }
  .foot-bottom { padding-bottom: 30px; }
  .foot-word { margin-top: 0; }
}
@media (min-width: 1200px) {
  .pcard-txt { padding: 44px 48px 44px 36px; }
}
@media (max-height: 640px) and (max-width: 959px) {
  .hero { align-items: flex-start; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ln > span { transform: none; }
  .js .rv, .js .rv-l, .js .rv-r, .js .rv-zoom { opacity: 1; transform: none; }
  .js .words span { opacity: 1; }
  .band-track { animation: none; }
  .cinema { height: auto; }
  .cinema-sticky { position: relative; height: 80vh; }
  .loader { display: none; }
}

/* ---------- Capacitación para empresas y reclutadores (sección añadida; solo clases .capa-*) ---------- */
.capa { background: var(--cream-2); }
.capa-grid { display: grid; gap: 18px; }
.capa-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20, 32, 58, .45); }
.capa-card h3 { font: 700 clamp(1.35rem, 2.6vw, 1.8rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.capa-card p { color: var(--ink-2); line-height: 1.65; }
.capa-cta { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
@media (min-width: 720px) {
  .capa-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
