/* Version B — "Laboratorio de precisión": dark lab, CAD grids, expressive editorial type.
   Inter Tight = engineering voice · Instrument Serif italic = the human voice · JetBrains Mono = instruments. */
:root {
  --ink: #031024;
  --ink-2: #071a38;
  --navy: #002f69;
  --blue: #014288;
  --deep: #0d3365;
  --orange: #fc5d23;
  --orange-2: #fc631d;
  --paper: #eeeef0;
  --white: #ffffff;
  --text: #eeeef0;
  --dim: rgba(238, 238, 240, 0.62);
  --line: rgba(238, 238, 240, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --sans: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(16px, 2.2vw, 32px);
  color-scheme: dark;
}

/* Light sections re-point the text tokens, so .dim / lines stay legible on paper. */
[data-theme="light"] { --text: var(--navy); --dim: rgba(0, 47, 105, 0.72); --line: rgba(0, 47, 105, 0.16); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); letter-spacing: -0.01em; }
:focus-visible { outline: 1.5px solid var(--orange); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; }
.skip:focus { top: 16px; }
.wrap { width: min(1360px, 100% - var(--gut) * 2); margin-inline: auto; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.display { font-weight: 700; font-size: clamp(44px, 7.6vw, 124px); line-height: 0.92; letter-spacing: -0.045em; }
.display em { font-size: 1.08em; }
.display.sm { font-size: clamp(34px, 4vw, 60px); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 46ch; }
.dim { color: var(--dim); }
.fine { font: 400 11px/1.5 var(--mono); color: var(--dim); letter-spacing: 0.02em; }
.pnum { font: 500 12px/1 var(--mono); color: var(--orange); letter-spacing: 0.06em; }
.dash { display: inline-block; width: 34px; height: 1.5px; background: var(--orange); vertical-align: middle; margin-right: 12px; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
/* Clip lives on the img: a clipped target never "intersects" for IntersectionObserver. */
.clip-reveal { opacity: 1; transform: none; }
.clip-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.6s var(--ease-io), transform 2.2s var(--ease); }
.clip-reveal.in img { clip-path: inset(0); transform: none; }

/* LOADER */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gut); gap: 14px; transition: transform 1.1s var(--ease-io); }
.loader-row { display: flex; justify-content: space-between; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.loader-n { color: var(--orange); font-size: 13px; }
.loader-bar { height: 1px; background: var(--line); }
.loader-bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--l, 0)); }
body:not(.is-loading) .loader { transform: translateY(-100%); }

/* CURSOR */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(252, 93, 35, 0.7); border-radius: 50%; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s; mix-blend-mode: normal; }
.cursor span { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; background: var(--orange); border-radius: 50%; }
.cursor.big { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(252, 93, 35, 0.12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gut); color: var(--text); transition: color .5s var(--ease); }
.nav { --nav-bg: rgba(3, 16, 36, .62); transition: color .5s var(--ease), background .5s, padding .5s var(--ease); }
.nav.scrolled { padding-block: 12px; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.nav[data-theme="light"] { color: var(--navy); --nav-bg: rgba(238, 238, 240, .78); }
.nav[data-theme="orange"] { color: var(--navy); --nav-bg: rgba(252, 93, 35, .82); }
.nav[data-theme="navy"] { --nav-bg: rgba(0, 47, 105, .72); }
.brand { text-decoration: none; display: grid; gap: 3px; }
.brand-w { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.brand-w b { color: var(--orange); font-weight: 800; }
.nav[data-theme="orange"] .brand-w b { color: var(--white); }
.brand-s { font: 500 8.5px/1 var(--mono); letter-spacing: 0.42em; text-transform: uppercase; opacity: .8; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--orange); color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 999px; font: 600 13px var(--sans); display: inline-flex; gap: 8px; }
.nav[data-theme="orange"] .nav-cta { background: var(--navy); }
@media (max-width: 820px) { .nav nav { display: none; } }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: radial-gradient(80% 70% at 68% 42%, #0a2550 0%, var(--ink) 70%); }
.scan { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(238,238,240,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(238,238,240,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 60% 45%, #000, transparent); }
.hud { position: absolute; top: 96px; right: var(--gut); width: min(54%, 820px); height: 40vh; pointer-events: none; font: 400 10.5px/1.6 var(--mono); letter-spacing: 0.08em; color: var(--dim); }
.hud b { color: var(--orange); font-weight: 500; }
.hud-tl { position: absolute; left: 0; top: 0; }
.hud-tr { position: absolute; right: 0; top: 0; text-align: right; }
.hud-bl { position: absolute; left: 0; bottom: 0; }
.corner { position: absolute; width: 16px; height: 16px; border-color: rgba(252, 93, 35, .7); border-style: solid; border-width: 0; }
.c1 { left: -10px; top: -10px; border-left-width: 1px; border-top-width: 1px; }
.c2 { right: -10px; top: -10px; border-right-width: 1px; border-top-width: 1px; }
.c3 { left: -10px; bottom: -10px; border-left-width: 1px; border-bottom-width: 1px; }
.c4 { right: -10px; bottom: -10px; border-right-width: 1px; border-bottom-width: 1px; }
.hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--gut) + 54px); }
.pillars { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.pillars i { font-style: normal; color: var(--orange-2); padding-inline: 6px; }
.wordmark { display: flex; font-weight: 800; font-size: clamp(84px, 19.5vw, 340px); line-height: 0.8; letter-spacing: -0.065em; margin-left: -0.04em; }
.mask { display: block; clip-path: inset(0 -0.2em); padding-bottom: 0.06em; } /* clip only vertically: tight letter-spacing pushes glyph ink past the box */
.mask > span { display: block; transform: translateY(105%); transition: transform 1.5s var(--ease); }
.mask:nth-child(2) > span { transition-delay: .12s; }
.art { color: var(--orange); }
body:not(.is-loading) .mask > span { transform: none; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; flex-wrap: wrap; }
.sub { font: 500 12px var(--mono); letter-spacing: 0.5em; text-transform: uppercase; }
.tagline { font-size: clamp(18px, 1.8vw, 26px); font-weight: 400; letter-spacing: -0.02em; }
.tagline em { font-size: 1.15em; }
@media (max-width: 760px) { .hud { width: auto; left: var(--gut); } .hud-tl { display: none; } }

/* MANIFIESTO */
.manifesto { height: 340vh; }
.manifesto-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.manifesto-img { position: absolute; right: var(--gut); top: 50%; height: min(82vh, 957px); aspect-ratio: 573 / 957; translate: 0 -50%; clip-path: circle(calc(var(--r, 0) * 1%) at 50% 55%); }
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.25 - var(--p, 0) * 0.25)); }
@media (max-width: 860px) {
  .manifesto-img { inset: 0; height: auto; translate: none; aspect-ratio: auto; }
  .manifesto-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(3, 16, 36, .95) 20%, rgba(3, 16, 36, .5)); }
}
.manifesto-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 16, 36, .94) 0%, rgba(3, 16, 36, .78) 38%, rgba(3, 16, 36, 0) 72%); }
.manifesto-copy { z-index: 2; position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(1000px, 100% - var(--gut) * 2); }
.m-title { font-weight: 700; font-size: clamp(48px, 8.6vw, 150px); line-height: .9; letter-spacing: -0.05em; }
.m-a { display: block; transform: translateX(calc((1 - var(--a, 0)) * -6vw)); opacity: var(--a, 0); }
.m-b { display: block; font-size: 1.2em; transform: translateX(calc((1 - var(--b, 0)) * 4vw)); }
.m-sub { margin-top: 36px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 30px)); }
.m-ref { margin-top: 18px; color: var(--dim); max-width: 44ch; font-size: 18px; opacity: var(--d, 0); transform: translateY(calc((1 - var(--d, 0)) * 30px)); }

/* HISTORIA (light) */
.story { background: var(--paper); color: var(--navy); padding-top: clamp(100px, 12vw, 180px); overflow: hidden; }
.story .display { max-width: 13ch; }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 7vw, 96px); }
.story-side { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.axioms { display: grid; }
.axioms li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.axioms li:last-child { border-bottom: 1px solid var(--line); }
.axioms p { font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.03em; }
.axioms em { font-size: 1.08em; }
.story-grid figure { aspect-ratio: 1.15; overflow: hidden; }
.story-grid img { width: 100%; height: 100%; object-fit: cover; }
.story .lead { color: #1d3150; }
.duo { margin-top: clamp(80px, 10vw, 150px); padding: 0.08em 0 clamp(120px, 13vw, 200px); display: grid; gap: 0.06em; font-size: clamp(48px, 8vw, 132px); line-height: 1.18; letter-spacing: -0.05em; font-weight: 700; white-space: nowrap; }
.duo p { display: flex; gap: 0.6em; will-change: transform; }
/* line 1 is wider than the screen: it starts at the left edge at --x=.25 and slides left to reveal its end */
.duo-1 { transform: translateX(calc((.25 - var(--x, .25)) * 30%)); }
.duo-2 { transform: translateX(calc((var(--x, .5) - .5) * 22%)); }
.duo-2 em { font-size: 1.1em; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  /* too narrow for a full sentence on one line: wrap it and drop the marquee copy */
  .duo { white-space: normal; padding-inline: var(--gut); font-size: clamp(40px, 11vw, 64px); gap: .3em; }
  .duo p { display: block; transform: none; }
  .duo p > :last-child { display: none; }
}

/* PROCESO */
.process { height: 420vh; background: var(--ink); }
.process-stage { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(300px, .8fr) 1.25fr; gap: clamp(24px, 4vw, 64px); padding: 96px var(--gut) 76px; }
.process-copy { display: flex; flex-direction: column; }
.process-copy .display { font-size: clamp(40px, min(6vw, 8.4vh), 96px); }
.process-copy .lead { margin-top: 14px; }
.psteps { margin-top: auto; display: grid; }
.psteps li { display: grid; grid-template-columns: 44px 1fr; padding: clamp(10px, 1.7vh, 18px) 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .6s var(--ease); }
.psteps li.on { opacity: 1; }
.psteps h3 { font-weight: 600; font-size: clamp(20px, min(2.2vw, 3.4vh), 32px); letter-spacing: -0.03em; }
.psteps p { color: var(--dim); }
.psteps .pnum { padding-top: 10px; }
.process-vis { position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(1, 66, 136, .12), rgba(1, 66, 136, 0)); min-height: 0; }
.gen { position: absolute; inset: 0; width: 100%; height: 100%; }
.gen-hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--dim); }
.gen-val { color: var(--orange); font-variant-numeric: tabular-nums; }
.evid { position: absolute; right: 18px; bottom: 18px; width: clamp(130px, 15vw, 210px); aspect-ratio: 1.5; border: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.evid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.evid img.on { opacity: 1; }
@media (max-width: 860px) {
  .process-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 84px; gap: 16px; }
  .process-copy .display, .process-copy .lead { display: none; }
  .process-copy .kicker { margin-bottom: 8px; }
  .psteps li { padding: 8px 0; } .psteps li:not(.on) { display: none; }
}

/* SOLUCIONES (light) */
.solutions { background: var(--paper); color: var(--navy); padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.panels { display: flex; gap: 10px; height: min(78vh, 760px); padding-inline: var(--gut); margin-top: clamp(40px, 5vw, 70px); }
.panel { position: relative; flex: 1; overflow: hidden; transition: flex 1s var(--ease); cursor: pointer; outline-offset: -3px; }
.panel:hover, .panel:focus-within { flex: 2.3; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.08); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.panel:hover img, .panel:focus-within img { filter: none; transform: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 47, 105, .96) 0%, rgba(0, 47, 105, .82) 34%, rgba(0, 47, 105, .2) 60%, transparent 78%); }
.panel-copy { position: absolute; z-index: 1; left: 28px; right: 28px; top: 56%; color: var(--paper); display: grid; align-content: start; gap: 10px; }
.panel h3 { font-weight: 700; font-size: clamp(36px, 4vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.panel p { max-width: 36ch; font-size: 17px; line-height: 1.4; }
.panel small { font: 400 11px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(238, 238, 240, .72); }
.panel small a { color: var(--orange); text-decoration: none; }
@media (max-width: 860px), (hover: none) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel:hover, .panel:focus-within { height: 64vh; flex: none; } /* :hover must not re-apply flex:2.3 (basis 0 collapses the stacked panel) */
  .panel-copy { top: auto; bottom: 28px; }
  .panel img { filter: none; }
}

/* VISTA EXPLOSIONADA (blueprint) */
.xv { height: 480vh; background: var(--ink); }
.xv-stage {
  position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.5fr) minmax(260px, 330px);
  gap: 24px; padding: 92px var(--gut) 76px; overflow: hidden;
  background-image: linear-gradient(rgba(1, 66, 136, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 66, 136, .22) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
}
.xv-head { align-self: start; }
.xv-view { position: relative; min-height: 0; }
.xv-gl { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.xv-gl:active { cursor: grabbing; }
.xv-leads, .xv-tags { position: absolute; inset: 0; pointer-events: none; opacity: clamp(0, calc(var(--e) * 2.4 - 1.3), 1); }
.xv-leads { width: 100%; height: 100%; overflow: visible; }
.xv-leads path { stroke: var(--orange); stroke-width: 1; fill: none; }
.xv-leads circle { fill: var(--orange); }
.xv-tag { position: absolute; left: 0; top: 0; display: grid; gap: 4px; padding: 8px 10px 10px; border-top: 1px solid var(--orange); background: rgba(3, 16, 36, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .5s var(--ease); }
.xv-tag .n, .xv-card .n { font: 500 11px var(--mono); color: var(--orange); letter-spacing: .06em; }
.xv-tag b, .xv-card b { font-weight: 600; font-size: 16px; line-height: 1.15; letter-spacing: -0.02em; transition: color .3s; }
.xv-tag small, .xv-card small { font: 400 10.5px/1.45 var(--mono); color: var(--dim); letter-spacing: .02em; }
.xv-tag.is-dim { opacity: .5; }
.xv-tag.is-focus b { color: var(--orange); }
.xv-hint { position: absolute; left: 50%; bottom: 0; translate: -50% 0; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; pointer-events: none; }
/* Callouts need a roomy column (lab3d.js sets .xv-roomy); otherwise the active-part card stands in. */
.xv:not(.xv-roomy) :is(.xv-tags, .xv-leads) { display: none; }
.xv-card { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 10px 12px; border-top: 1px solid var(--orange); background: rgba(3, 16, 36, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.xv-card.is-on b { color: var(--orange); }
.xv-roomy .xv-card { display: none; }
.xv-panel { align-self: end; display: grid; gap: 18px; }
.xv-list li { display: grid; grid-template-columns: 30px 1fr; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); cursor: pointer; transition: color .3s, transform .5s var(--ease); }
.xv-list li span { font: 500 11px var(--mono); color: var(--orange); padding-top: 3px; }
.xv-list li.is-focus { color: var(--text); transform: translateX(6px); }
.xv-ctl { display: grid; gap: 12px; }
.tog { display: flex; border: 1px solid var(--line); }
.tog button { flex: 1; background: none; border: 0; color: var(--dim); padding: 9px 6px; font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.tog button + button { border-left: 1px solid var(--line); }
.tog button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.xv-range { display: grid; gap: 6px; font: 500 10px var(--mono); letter-spacing: .1em; color: var(--dim); }
.xv-range input { width: 100%; accent-color: var(--orange); }

@media (max-width: 1080px) {
  .xv-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 78px var(--gut) 76px; gap: 10px; }
  .xv-head .display { font-size: 30px; }
  .xv-list, .xv-panel .fine, .xv-tags, .xv-leads, .xv-hint { display: none; }
  .xv .xv-card { display: grid; }
}

/* INNOVACIÓN (light) */
.innov { background: var(--paper); color: var(--navy); padding: clamp(100px, 12vw, 170px) 0 clamp(130px, 13vw, 200px); }
.innov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.innov-head { position: sticky; top: 96px; align-self: start; }
.innov-head figure { margin-top: 36px; aspect-ratio: 1.6; overflow: hidden; }
.innov-head img { width: 100%; height: 100%; object-fit: cover; }
.axes { display: grid; align-content: center; }
.axes li { padding: clamp(22px, 3vw, 40px) 0; border-top: 1px solid rgba(0, 47, 105, .2); display: grid; gap: 14px; }
.axes li:last-child { border-bottom: 1px solid rgba(0, 47, 105, .2); }
.axes h3 { font-weight: 700; font-size: clamp(40px, min(5.6vw, 9vh), 96px); letter-spacing: -0.05em; line-height: .95; transition: color .4s; }
.axes li:hover h3 { color: var(--orange); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.axes p { font-size: 20px; max-width: 34ch; color: #1d3150; }
@media (max-width: 860px) { .innov-grid { grid-template-columns: 1fr; } .innov-head { position: static; } }

/* VALORES (orange) */
.values { height: 360vh; background: var(--orange); color: var(--navy); }
.values-stage { position: sticky; top: 0; height: 100vh; padding: 100px var(--gut) 90px; display: flex; flex-direction: column; }
.values .kicker { color: var(--navy); }
.values-title { font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.045em; line-height: 1; }
.letters { display: flex; justify-content: space-between; margin-block: auto; font-weight: 800; font-size: clamp(48px, 12.5vw, 210px); line-height: .8; letter-spacing: -0.04em; padding-inline: 0.06em; }
.letters span { color: transparent; -webkit-text-stroke: 1.5px var(--navy); transition: color .5s var(--ease), transform .7s var(--ease); }
.letters span.on { color: var(--white); -webkit-text-stroke-color: var(--white); transform: translateY(-4%); }
.letters span.b.on { color: var(--navy); -webkit-text-stroke-color: var(--navy); }
.vlist { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--navy); }
.vlist li { padding: 14px 12px 14px 0; display: flex; gap: 10px; align-items: baseline; font-size: clamp(15px, 1.4vw, 20px); font-weight: 500; letter-spacing: -0.02em; color: var(--navy); opacity: .78; transition: opacity .4s; border-bottom: 1px solid rgba(0, 47, 105, .25); }
.vlist b { font: 500 12px var(--mono); }
.vlist li.on { opacity: 1; }
.vlist li.on b { color: var(--white); }
.vlist li.now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); align-self: center; }
@media (max-width: 760px) { .vlist { grid-template-columns: repeat(2, 1fr); } }

/* CONTACTO (navy) */
.contact { background: var(--navy); padding-top: clamp(140px, 15vw, 220px); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-title { font-weight: 800; font-size: clamp(56px, 9.6vw, 168px); line-height: .86; letter-spacing: -0.06em; }
.contact-title em { display: block; font-size: 1.1em; }
.contact-q { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; margin: 42px 0 10px; }
.mail { display: inline-block; margin-top: 40px; font-weight: 600; font-size: clamp(22px, 3vw, 44px); letter-spacing: -0.03em; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat; padding-bottom: 6px; transition: background-size .6s var(--ease), color .4s; }
.mail:hover { color: var(--orange); background-size: 0 2px; background-position: 100% 100%; }
.loc { margin-top: 20px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(252, 93, 35, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(252, 93, 35, 0); } 100% { box-shadow: 0 0 0 0 rgba(252, 93, 35, 0); } }
.contact-side { position: relative; }
.contact-img { border-radius: 400px 400px 0 0; overflow: hidden; aspect-ratio: .78; }
.contact-img img { width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--py, 0) * -12%)); }
.orb { position: absolute; left: 24px; bottom: 24px; width: 150px; height: 150px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; text-decoration: none; font-weight: 600; font-size: 16px; transition: transform .5s var(--ease); }
.orb span { pointer-events: none; }
.foot { margin-top: clamp(90px, 10vw, 150px); padding-bottom: 120px; }
.foot-brand { font-weight: 800; font-size: clamp(80px, 20vw, 340px); line-height: .78; letter-spacing: -0.07em; margin-left: -0.04em; }
.foot-brand b { color: var(--orange); font-weight: 800; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.foot .fine { margin-top: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .orb { left: 16px; bottom: 16px; width: 112px; height: 112px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .clip-reveal img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .loader { display: none; }
  .mask > span { transform: none; transition: none; }
  .dot { animation: none; }
}
