/* ONE STUDIO — estilos */
:root {
  --navy: #0F172A;
  --navy-2: #0B1222;
  --ink: #020617;
  --smoke: #F8FAFC;
  --mist: #EEF2F7;
  --blue: #3B82F6;
  --deep: #1E3A8A;
  --slate: #64748B;
  --gray: #94A3B8;
  --gray-2: #CBD5E1;
  --line-dark: rgba(148, 163, 184, .2);
  --line-light: rgba(15, 23, 42, .14);
  --gutter: clamp(20px, 4vw, 48px);
  --f-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --grid-56: linear-gradient(rgba(59, 130, 246, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .09) 1px, transparent 1px);
  --phone-frame: linear-gradient(145deg, #6b7588, #222a39 35%, #525c70 65%, #171c28);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--navy); color: var(--navy); font-family: var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, video { display: block; }
a { color: var(--blue); text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--blue); color: var(--smoke); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1440px; margin: 0 auto; }
.pad { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-light);
  font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--slate);
}
.eyebrow b { font-weight: 600; color: var(--blue); }
.dark .eyebrow { border-color: var(--line-dark); color: var(--gray); }

.display {
  margin: 36px 0 clamp(36px, 5vw, 64px);
  font-family: var(--f-head); font-weight: 900; font-size: clamp(60px, 11vw, 180px);
  line-height: .86; letter-spacing: -0.045em; text-transform: uppercase; color: var(--navy);
}
.dark .display { color: var(--smoke); }
.display .ln { display: block; overflow: hidden; padding: .1em 0 .03em; margin: -.1em 0 -.03em; }
.display .ln > span { display: block; }
.accent { color: var(--blue); }

.label { font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

.dark {
  background-color: var(--navy); color: var(--smoke);
  background-image: var(--grid-56); background-size: 56px 56px, 56px 56px;
}
.section { padding: clamp(80px, 10vw, 150px) var(--gutter); }

/* ---------- Botones ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.pill-blue { background: var(--blue); color: var(--smoke); }
.pill-blue:hover { background: var(--smoke); color: var(--navy); }
.pill-ghost { border: 1px solid rgba(248, 250, 252, .35); color: var(--smoke); letter-spacing: .2em; }
.pill-ghost:hover { background: var(--smoke); color: var(--navy); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 5px; line-height: 1; }
.logo .one { font-family: var(--f-head); font-weight: 900; letter-spacing: -0.045em; color: var(--smoke); }
.logo .studio { font-family: var(--f-head); font-weight: 800; font-style: italic; letter-spacing: -0.035em; color: var(--gray); }
.logo.stack { flex-direction: column; align-items: center; gap: 0; line-height: .88; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid rgba(148, 163, 184, 0);
  transition: background .35s ease, border-color .35s ease;
}
.nav.scrolled {
  background: rgba(15, 23, 42, .72); border-color: rgba(148, 163, 184, .16);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo span { font-size: 25px; }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 36px); align-items: center; }
.nav-links a { font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gray-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-cta { height: 44px; padding: 0 20px; font-size: 11px; white-space: nowrap; }
.burger {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, .35); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--smoke); border-radius: 2px; }

.menu {
  position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; padding: 16px 20px 32px;
  background-color: var(--navy);
  background-image: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(30, 58, 138, .7), transparent 70%), var(--grid-56);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}
.menu.open { display: flex; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 44px; color: var(--gray); }
.menu-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, .35); background: transparent; color: var(--smoke); font-size: 18px; cursor: pointer; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin: auto 0; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 6px 0;
  font-family: var(--f-head); font-weight: 900; font-size: clamp(44px, 13vw, 72px); line-height: 1;
  letter-spacing: -0.04em; text-transform: uppercase; color: var(--smoke);
}
.menu nav a small { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.menu-cta { height: 56px; font-size: 12px; }

@media (max-width: 899px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image: radial-gradient(ellipse 70% 55% at 50% 100%, rgba(30, 58, 138, .8), transparent 70%), var(--grid-56);
  background-size: 100% 100%, 56px 56px, 56px 56px;
}
.hero-top { min-height: 100svh; padding-top: 120px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; }
.hero .eyebrow { margin: 0; }
.hero h1 { margin: 0; font-size: clamp(50px, 11.6vw, 196px); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-foot p { margin: 0; max-width: 520px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--gray-2); text-wrap: pretty; }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; color: var(--gray); }
.scroll-hint:hover { color: var(--smoke); }
.scroll-hint span { font-size: 16px; letter-spacing: 0; color: var(--blue); }

/* Pista del celular 3D */
.track { position: relative; height: 520vh; }
.stick {
  position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1600px;
  display: flex; align-items: center; justify-content: center;
  background-image: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, .95) 0, rgba(30, 58, 138, .35) 28%, transparent 55%);
}

.sign-pos {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; pointer-events: none;
  width: calc(50% - min(19svh, 180px) - clamp(48px, 6vw, 110px));
}
.sign-pos.l { left: clamp(24px, 5vw, 80px); text-align: left; }
.sign-pos.r { right: clamp(24px, 5vw, 80px); text-align: right; }
.sign { opacity: 0; will-change: transform, opacity; }
.sign-n { font-family: var(--f-head); font-weight: 900; font-size: clamp(48px, 5vw, 84px); line-height: 1; letter-spacing: -0.03em; color: var(--blue); }
.sign-w { margin-top: 10px; font-family: var(--f-head); font-weight: 900; font-size: clamp(48px, 6.4vw, 112px); line-height: .88; letter-spacing: -0.04em; color: var(--smoke); }
.sign-w.long { font-size: clamp(36px, 4.6vw, 84px); }
.sign p { display: inline-block; max-width: 340px; margin: 18px 0 0; font-size: 17px; line-height: 1.45; color: var(--gray); text-wrap: pretty; }
.sign-tag {
  display: inline-flex; margin-top: 16px; padding: 8px 14px; border: 1px solid rgba(59, 130, 246, .45); border-radius: 999px;
  font-weight: 600; font-size: 10px; line-height: 1.2; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-2);
}

@media (max-width: 899px) {
  .sign-pos { left: 20px; right: 20px; width: auto; transform: none; text-align: center; }
  .sign-pos.l { top: 84px; bottom: auto; text-align: center; }
  .sign-pos.r { top: auto; bottom: 64px; text-align: center; }
  .sign-n { font-size: 18px; }
  .sign-w { margin-top: 2px; font-size: clamp(38px, 12vw, 52px); }
  .sign-w.long { font-size: clamp(30px, 10vw, 44px); }
  .sign p { margin-top: 6px; font-size: 14px; }
  .sign-tag { margin-top: 8px; }
}

.pwrap { position: relative; transform-style: preserve-3d; will-change: transform, opacity; z-index: 2; }
.pshadow {
  position: absolute; left: 6%; right: 6%; bottom: -10%; height: 7%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, .6), rgba(15, 23, 42, 0) 70%); filter: blur(10px);
}
.phone { position: relative; height: min(70svh, 660px); aspect-ratio: .472; transform-style: preserve-3d; will-change: transform; }
@media (max-width: 899px) { .phone { height: min(46svh, 92vw); } }
.phone .edge { position: absolute; inset: 0; border-radius: 14% / 6.6%; background: linear-gradient(90deg, #2b3345, #9aa4b6 50%, #2b3345); }
.phone .edge.o { background: linear-gradient(90deg, #2b3345, #8792a6 50%, #2b3345); }
.phone-back {
  position: absolute; inset: 0; transform: rotateY(180deg) translateZ(5px); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14% / 6.6%; background: linear-gradient(150deg, #26324a, #0F172A 55%, #1E3A8A); box-shadow: inset 0 0 0 3px #4c5568; overflow: hidden;
}
.cam { position: absolute; top: 3.5%; left: 7%; width: 40%; aspect-ratio: 1; border-radius: 24%; background: rgba(248, 250, 252, .06); border: 1px solid rgba(248, 250, 252, .14); }
.cam i { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: #070b14; border: 3px solid #2b3345; }
.cam i:nth-child(1) { top: 10%; left: 10%; }
.cam i:nth-child(2) { bottom: 10%; left: 10%; }
.cam i:nth-child(3) { top: 31%; right: 10%; }
.phone-back .logo { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.phone-back .logo span { font-size: 30px; }
.phone-front {
  position: absolute; inset: 0; transform: translateZ(5px); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14% / 6.6%; background: var(--phone-frame); padding: 1.6%;
  box-shadow: 0 40px 90px -24px rgba(59, 130, 246, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.bezel { width: 100%; height: 100%; border-radius: 12.6% / 5.95%; background: #020408; padding: 2.8%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 10.4% / 4.9%; overflow: hidden; background: #000; transform: translateZ(0); }
.layer { position: absolute; inset: 0; visibility: hidden; background: var(--smoke); }
.layer-intro {
  visibility: visible; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background-color: var(--navy);
  background-image: radial-gradient(circle at 50% 45%, rgba(30, 58, 138, .9), transparent 65%), linear-gradient(rgba(59, 130, 246, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .14) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px;
}
.layer-intro .logo span { font-size: 44px; }
.layer-intro .label { font-size: 9px; color: var(--gray); }
.shots { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 738 / 1298; transform: translateX(-50%); }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity, transform; }
.tap {
  position: absolute; width: 17%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--smoke); z-index: 4;
  background: rgba(59, 130, 246, .45); box-shadow: 0 0 0 6px rgba(59, 130, 246, .25); opacity: 0; transform: translate(-50%, -50%) scale(.5);
}
.island { position: absolute; top: 1.6%; left: 50%; transform: translateX(-50%); width: 31%; height: 3.6%; border-radius: 999px; background: #000; z-index: 6; }
.glare { position: absolute; inset: 0; z-index: 7; pointer-events: none; background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 28%); }
.shine {
  position: absolute; top: -20%; bottom: -20%; left: -100%; width: 300%; z-index: 7; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .18) 48%, rgba(255, 255, 255, .04) 52%, rgba(255, 255, 255, 0) 58%);
}

.outro {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 5; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 22px; opacity: 0; pointer-events: none; text-align: center; padding: 0 20px;
}
.outro .label { color: var(--gray); }
.outro a {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 32px; border-radius: 999px;
  background: var(--smoke); color: var(--navy); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 20px 50px -10px rgba(59, 130, 246, .6); transition: background .25s, color .25s;
}
.outro a:hover { background: var(--blue); color: var(--smoke); }

.progress { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(640px, calc(100% - 40px)); z-index: 4; }
.progress-labels { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.progress-labels span { font-weight: 600; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--smoke); opacity: .38; transition: opacity .3s; }
.progress-labels b { font-weight: 600; color: var(--blue); }
@media (max-width: 699px) { .progress-labels em { display: none; } }
.progress-bar { height: 2px; background: rgba(148, 163, 184, .22); border-radius: 2px; overflow: hidden; }
.progress-bar div { height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* Galería estática (movimiento reducido) */
.static-stages { display: none; padding-top: 40px; padding-bottom: 120px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px 24px; }
.static-stages > div { display: flex; flex-direction: column; gap: 16px; }
.static-stages .mini { width: 72%; aspect-ratio: .472; border-radius: 14% / 6.6%; background: var(--phone-frame); padding: 4%; box-shadow: 0 30px 70px -24px rgba(59, 130, 246, .55); }
.static-stages .mini div { width: 100%; height: 100%; border-radius: 11% / 5.2%; overflow: hidden; background: #000; }
.static-stages img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.static-stages .n { font-family: var(--f-head); font-weight: 900; font-size: 40px; line-height: 1; color: var(--blue); }
.static-stages .w { font-family: var(--f-head); font-weight: 900; font-size: clamp(34px, 4vw, 50px); line-height: .9; letter-spacing: -0.04em; color: var(--smoke); word-break: break-word; }
.static-stages p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--gray); }
.static-stages .t { font-weight: 600; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-2); }
@media (prefers-reduced-motion: reduce) {
  .track { display: none; }
  .static-stages { display: grid; }
}

/* ---------- Manifiesto ---------- */
.manifesto { background: var(--smoke); padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.marquee { margin: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  flex: none; padding-right: .3em; white-space: nowrap;
  font-family: var(--f-head); font-weight: 900; font-size: clamp(72px, 13vw, 220px); line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; color: var(--navy);
}
.manifesto-copy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.manifesto-copy p { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; color: var(--slate); text-wrap: pretty; }
.manifesto-copy p span { color: var(--navy); }

/* ---------- Trabajos ---------- */
.works { background: var(--smoke); padding: 0 var(--gutter) clamp(80px, 10vw, 150px); }
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.work {
  --muted: var(--slate);
  display: flex; flex-direction: column; gap: 20px; padding: 14px 14px 22px; border-radius: 28px;
  background: #fff; color: var(--navy); border: 1px solid rgba(15, 23, 42, .1);
  transition: transform .45s cubic-bezier(.2, .7, .1, 1), box-shadow .45s, background .35s, color .35s, border-color .35s;
}
.work-stage { border-radius: 20px; background: var(--mist); padding: 28px 0; display: flex; justify-content: center; transition: background .35s; }
.work-phone { width: 58%; aspect-ratio: .5; border-radius: 14% / 7%; background: var(--phone-frame); padding: 3.4%; box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .5); }
.work-screen { position: relative; width: 100%; height: 100%; border-radius: 11% / 5.5%; overflow: hidden; background: #000; }
.work-reel { position: absolute; top: 0; left: 0; right: 0; height: 300%; display: flex; flex-direction: column; transition: transform 3.2s cubic-bezier(.45, 0, .2, 1); }
.work-reel img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }
.work-screen .island { top: 2.2%; width: 30%; height: 3.4%; }
.work-body { padding: 0 8px; display: flex; flex-direction: column; gap: 10px; }
.work-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-meta b { font-weight: 400; color: var(--blue); }
.work-name { font-family: var(--f-head); font-weight: 900; font-size: 34px; line-height: .95; letter-spacing: -0.035em; text-transform: uppercase; }
.work p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.work-link { margin-top: 6px; font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.work:hover, .work:focus-visible {
  --muted: var(--gray);
  background: var(--navy); color: var(--smoke); border-color: var(--navy);
  transform: translateY(-10px); box-shadow: 0 40px 70px -30px rgba(15, 23, 42, .55);
}
.work:hover .work-stage, .work:focus-visible .work-stage { background: var(--deep); }
.work:hover .work-reel, .work:focus-visible .work-reel { transform: translateY(-66.6667%); }
.work:hover .work-link, .work:focus-visible .work-link { color: var(--blue); }

/* ---------- Servicios (pase de abordar) ---------- */
.services { background: var(--mist); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: 24px; }
.pass {
  --muted: var(--slate); --line: rgba(15, 23, 42, .2);
  position: relative; display: flex; flex-wrap: wrap; border-radius: 24px; background: var(--smoke); color: var(--navy);
  border: 1px solid rgba(15, 23, 42, .1); transition: background .35s, color .35s;
}
.pass:hover { --muted: var(--gray); --line: rgba(248, 250, 252, .3); background: var(--navy); color: var(--smoke); }
.pass-main { flex: 1 1 300px; min-width: 0; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 22px; }
.pass-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pass-head b { font-weight: 400; color: var(--blue); }
.pass-k { font-weight: 600; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.pass-name { margin: 8px 0 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(34px, 3.4vw, 48px); line-height: .92; letter-spacing: -0.035em; text-transform: uppercase; }
.pass p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.stub {
  position: relative; flex: 0 0 210px; border-left: 2px dashed rgba(100, 116, 139, .45);
  padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.stub::before, .stub::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); }
.stub::before { top: -13px; }
.stub::after { bottom: -13px; }
.gate { margin-top: 6px; font-family: var(--f-head); font-weight: 900; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.stub-rows { display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.stub-rows div { display: flex; justify-content: space-between; gap: 8px; }
.stub-rows span:first-child { color: var(--muted); }
.barcode { height: 38px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px, currentColor 8px 11px, transparent 11px 13px); }
@media (max-width: 699px) {
  .stub { flex: 1 1 100%; border-left: 0; border-top: 2px dashed rgba(100, 116, 139, .45); }
  .stub::after { bottom: auto; top: -13px; left: auto; right: -13px; }
}

/* ---------- Videos IA ---------- */
.videos { background-image: radial-gradient(ellipse 60% 45% at 50% 20%, rgba(30, 58, 138, .75), transparent 70%), var(--grid-56); background-size: 100% 100%, 56px 56px, 56px 56px; }
.videos-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px 48px; align-items: end; margin: 36px 0 clamp(40px, 5vw, 64px); }
.videos-head .display { margin: 0; font-size: clamp(52px, 8vw, 132px); }
.videos-head p { margin: 0; max-width: 480px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--gray); text-wrap: pretty; }
.carousel {
  position: relative; height: 620px; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; perspective: 1400px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.card {
  position: absolute; left: 50%; top: 50%; width: 260px; aspect-ratio: 9 / 16; padding: 0; overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .22); border-radius: 18px; background: var(--ink); cursor: inherit; text-align: left;
  transform: translate(-50%, -50%); will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
@media (max-width: 899px) { .carousel { height: 470px; } .card { width: 190px; } }
.card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card-cap {
  position: absolute; inset: auto 0 0 0; padding: 48px 14px 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, .9));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.card-cap span:first-child { font-family: var(--f-head); font-weight: 800; font-size: 16px; line-height: 1.1; color: var(--smoke); }
.card-cap span:last-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--blue); }
.card-play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(248, 250, 252, .92); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.card-play::before { content: ''; margin-left: 3px; border-left: 10px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.fade { position: absolute; top: 0; bottom: 0; width: 12%; pointer-events: none; z-index: 50; }
.fade.l { left: 0; background: linear-gradient(90deg, var(--navy), rgba(15, 23, 42, 0)); }
.fade.r { right: 0; background: linear-gradient(270deg, var(--navy), rgba(15, 23, 42, 0)); }
.drag-hint { display: flex; justify-content: center; margin-top: 8px; font-size: 10px; color: var(--gray); text-align: center; }
.videos-cta { display: flex; justify-content: center; margin-top: 40px; }
.videos-cta a { min-height: 56px; padding: 0 28px; font-size: 12px; text-align: center; }

.lightbox {
  position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 72px 16px 24px;
  background: rgba(2, 6, 23, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox button {
  position: absolute; top: 16px; right: 16px; height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(248, 250, 252, .35); background: transparent; color: var(--smoke);
  font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.lightbox video { height: min(84svh, 170vw); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; background: #000; object-fit: contain; }

/* ---------- Planes (tickets) ---------- */
.plans { background: var(--mist); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; align-items: start; }
.ticket-wrap { filter: drop-shadow(0 22px 34px rgba(15, 23, 42, .14)); transition: transform .45s cubic-bezier(.2, .7, .1, 1); }
.ticket-wrap:hover { transform: translateY(-8px); }
.ticket {
  --muted: var(--slate); --line: rgba(15, 23, 42, .28);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 16px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x;
  background-color: var(--smoke); color: var(--navy); padding: 40px 28px;
  font-family: var(--f-mono); font-size: 12px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase;
}
.ticket.featured {
  --muted: var(--gray); --line: rgba(148, 163, 184, .45);
  background-color: var(--navy); color: var(--smoke);
  background-image: radial-gradient(circle at 50% 0%, rgba(30, 58, 138, .9), transparent 70%), linear-gradient(rgba(59, 130, 246, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .12) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}
.t-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.t-top strong { letter-spacing: .14em; }
.badge { padding: 6px 10px; border-radius: 999px; background: var(--blue); color: var(--smoke); font-family: var(--f-body); font-weight: 600; font-size: 9px; letter-spacing: .24em; }
.t-muted { color: var(--muted); }
.t-sub { margin-top: 6px; }
.t-rule { margin: 18px 0; border-top: 1px dashed var(--line); }
.t-name { margin: 6px 0 0; font-family: var(--f-head); font-weight: 900; font-size: 34px; line-height: .92; letter-spacing: -0.03em; text-transform: uppercase; }
.t-items { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.t-items li { display: flex; align-items: baseline; gap: 8px; }
.t-items li::after { content: 'Incl.'; color: var(--blue); order: 3; }
.t-items i { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line); transform: translateY(-4px); order: 2; }
.t-total { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; font-weight: 700; }
.t-btn { margin-top: 22px; display: flex; height: 52px; font-family: var(--f-body); font-size: 12px; background: var(--navy); color: var(--smoke); }
.featured .t-btn { background: var(--smoke); color: var(--navy); }
.t-btn:hover, .featured .t-btn:hover { background: var(--blue); color: var(--smoke); }
.ticket .barcode { margin-top: 24px; height: 34px; opacity: .9; }
.t-thanks { margin-top: 14px; text-align: center; font-size: 11px; letter-spacing: .18em; color: var(--muted); }

/* ---------- Proceso ---------- */
.process { background: var(--smoke); }
.process .display { font-size: clamp(52px, 9vw, 150px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 24px; border-top: 1px solid var(--line-light); margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px 0 36px; border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 14px; }
.steps .row { display: flex; justify-content: space-between; align-items: flex-start; }
.steps .num { font-family: var(--f-head); font-weight: 900; font-size: clamp(84px, 9vw, 140px); line-height: .85; letter-spacing: -0.05em; color: var(--navy); }
.steps .arrow { font-size: 22px; color: var(--blue); }
.steps h3 { margin: 14px 0 0; font-family: var(--f-head); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--navy); }
.steps p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--slate); }

/* ---------- Números ---------- */
.numbers { background-image: linear-gradient(rgba(59, 130, 246, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .07) 1px, transparent 1px); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.stat { padding: 40px 0; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 14px; }
.stat-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat-big { font-family: var(--f-head); font-weight: 900; font-size: clamp(84px, 8vw, 128px); line-height: .85; letter-spacing: -0.05em; color: var(--smoke); font-variant-numeric: tabular-nums; }
.stat-unit { font-family: var(--f-head); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; text-transform: uppercase; color: var(--blue); }
.stat p { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.5; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq { background: var(--smoke); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 64px; }
.faq .display { margin: 36px 0 0; font-size: clamp(52px, 7vw, 120px); }
.faq-list { border-top: 1px solid var(--line-light); align-self: end; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
  background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--navy);
}
.faq-q span:first-child { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); transition: background .3s; }
.plus::before, .plus::after { content: ''; position: absolute; background: var(--smoke); }
.plus::before { left: 11px; right: 11px; top: 17px; height: 2px; }
.plus::after { top: 11px; bottom: 11px; left: 17px; width: 2px; transition: transform .3s; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .7, .1, 1); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 56px 26px 0; font-size: 16px; line-height: 1.55; color: var(--slate); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .plus { background: var(--blue); }
.faq-item.open .plus::after { transform: rotate(90deg); }

/* ---------- Contacto ---------- */
.contact { background-image: radial-gradient(ellipse 60% 55% at 70% 40%, rgba(30, 58, 138, .8), transparent 70%), var(--grid-56); background-size: 100% 100%, 56px 56px, 56px 56px; }
.contact .display { margin: 36px 0 0; font-size: clamp(52px, 11vw, 190px); }
.contact-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 64px; align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: 28px; }
.contact-left > p { margin: 0; max-width: 460px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--gray-2); }
.contact-btns { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.wa-big {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 0 12px 0 28px;
  border-radius: 999px; background: var(--blue); color: var(--smoke); transition: background .25s, color .25s;
}
.wa-big:hover { background: var(--smoke); color: var(--navy); }
.wa-big > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.wa-big .label { font-size: 12px; letter-spacing: .22em; }
.wa-big .mono { font-family: var(--f-mono); font-size: 13px; }
.wa-big .go { width: 48px; height: 48px; border-radius: 50%; background: rgba(15, 23, 42, .18); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-btns .pill-ghost { height: 56px; font-size: 12px; }

.form {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 28px;
  background: rgba(15, 23, 42, .6); border: 1px solid rgba(148, 163, 184, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.form .label { color: var(--gray); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-2); }
.field input, .field textarea {
  border-radius: 14px; border: 1px solid rgba(148, 163, 184, .3); background: rgba(2, 6, 23, .5); color: var(--smoke);
  font-size: 16px; letter-spacing: 0; text-transform: none; outline: none; transition: border-color .2s;
}
.field input { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, .35); background: transparent;
  color: var(--smoke); font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.submit {
  height: 56px; border-radius: 999px; border: 0; background: var(--smoke); color: var(--navy); cursor: pointer;
  font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; transition: background .25s, color .25s;
}
.submit:hover { background: var(--blue); color: var(--smoke); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: var(--smoke); padding: 64px var(--gutter) 32px; border-top: 1px solid rgba(148, 163, 184, .14); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col:first-child { gap: 16px; }
.footer .logo { flex-direction: column; align-items: flex-start; gap: 0; line-height: .88; }
.footer .logo span { font-size: 48px; }
.footer-col p { margin: 0; max-width: 280px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.footer-col .k { font-weight: 600; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray); }
.footer-col a { font-size: 15px; color: #E2E8F0; }
.footer-col a:hover { color: var(--blue); }
.footer-col > span:not(.k) { font-size: 15px; color: var(--gray); }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray);
}

/* ---------- Flotantes ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue); color: var(--smoke); display: none; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -8px rgba(59, 130, 246, .7), 0 0 0 4px rgba(248, 250, 252, .12);
}
@media (max-width: 899px) { .fab { display: flex; } }
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, .85); pointer-events: none; opacity: 0; display: none;
  transition: width .25s, height .25s, margin .25s, background .25s;
}
.cursor.hot { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(59, 130, 246, .14); }
@media (pointer: fine) and (min-width: 900px) { .cursor { display: block; } }

/* Teléfonos angostos: palabras sueltas como "TRABAJAMOS" no deben desbordar */
@media (max-width: 420px) {
  .display, .hero h1, .process .display, .faq .display, .contact .display, .videos-head .display { font-size: 12vw; }
}

/* Bloque local (SEO) dentro del manifiesto */
.manifesto-copy.local { margin-top: clamp(40px, 5vw, 64px); }
.manifesto-copy.local h2 { margin: 0 0 14px; font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--navy); }
.manifesto-copy.local p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.manifesto-copy.local strong { font-weight: 600; color: var(--navy); }
