/* Inter alojada en el propio sitio (licencia SIL Open Font License 1.1): sin peticiones a terceros */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Nortika · sitio cinematográfico · paleta "Eléctrico" sobre negro */
:root {
  --bg: #07090d;
  --bg-2: #0d1016;
  --ink: #111418;
  --blue: #2F6BFF;
  --blue-soft: #7fa3ff;
  --white: #fff;
  --text: #eef1f6;
  --dim: rgba(238, 241, 246, .62);
  --faint: rgba(238, 241, 246, .34);
  --line: rgba(255, 255, 255, .13);
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
html.menu-open { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--white); }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 18px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { box-shadow: 0 14px 40px -12px rgba(47, 107, 255, .75); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--arrow svg { width: 34px; height: 34px; padding: 8px; margin-right: -14px; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .3s var(--ease), background-color .2s; }
.btn--lg.btn--arrow svg { width: 40px; height: 40px; padding: 10px; margin-right: -20px; }
.btn--arrow:hover svg { transform: rotate(45deg); background: var(--blue); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .35s, backdrop-filter .35s, box-shadow .35s; }
.nav.is-solid { background: rgba(7, 9, 13, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(10, 13, 20, .5); border: 1px solid rgba(255, 255, 255, .14); }
.nav__links a { padding: 8px 16px; border-radius: 999px; color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 13, 20, .4); border: 1px solid rgba(255, 255, 255, .16); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: calc(110px + env(safe-area-inset-top)) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font-size: 40px; font-weight: 600; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease-out) both; }
.menu nav a:nth-child(2) { animation-delay: .05s; } .menu nav a:nth-child(3) { animation-delay: .1s; } .menu nav a:nth-child(4) { animation-delay: .15s; } .menu nav a:nth-child(5) { animation-delay: .2s; }

/* ---------- Hero ---------- */
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #04060a; color: var(--white); isolation: isolate; --sc: 0; --word-top: 8.5%; }
.stage { position: absolute; left: 50%; top: 50%; width: max(100vw, 177.78vh); width: max(100vw, 177.78svh); aspect-ratio: 16 / 9; translate: -50% -50%; container-type: size; opacity: 0; scale: 1.12; transition: opacity 1.6s ease, scale 3.2s var(--ease-out); }
.hero.is-ready .stage { opacity: 1; scale: 1; }
.stage__in { position: absolute; inset: 0; transform: translate3d(0, calc(var(--sc) * 9%), 0) scale(calc(1 + var(--sc) * .1)); will-change: transform; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky, .cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.5s ease; }
.skyvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.2s ease; }
.hero[data-mode="tarde"] .skyvid--tarde.on, .hero[data-mode="noche"] .skyvid--noche.on { opacity: 1; }
/* El paralaje y el destello los escribe hero.js directo en cada capa (transform / opacity):
   solo trabaja el compositor, sin recalcular estilos ni repintar fotos con filtros. */
.layer--sky { transform: scale(1.03); will-change: transform; }
.layer--cut { transform-origin: 50% 100%; transform: scale(1.05); will-change: transform; }
.hero[data-mode="noche"] .sky--tarde, .hero[data-mode="noche"] .cut--tarde,
.hero[data-mode="tarde"] .sky--noche, .hero[data-mode="tarde"] .cut--noche { opacity: 0; }
.hero[data-mode="noche"] .sky--tarde:not([src]), .hero[data-mode="tarde"] .sky--noche:not([src]),
.hero[data-mode="noche"] .cut--tarde:not([src]), .hero[data-mode="tarde"] .cut--noche:not([src]) { visibility: hidden; }

.glow { background: radial-gradient(42% 60% at var(--bolt-x, 50%) 16%, rgba(190, 210, 255, .95), rgba(90, 130, 255, .38) 42%, transparent 74%); opacity: 0; mix-blend-mode: screen; will-change: opacity; }
.wash { background: linear-gradient(180deg, rgba(170, 195, 255, .5), rgba(120, 150, 255, .16) 70%); opacity: 0; mix-blend-mode: screen; will-change: opacity; }
.bolt { opacity: 0; will-change: opacity; }
.lights { position: absolute; left: 0; top: 74.5%; width: 100%; height: 15%; mix-blend-mode: screen; opacity: 0; transition: opacity 1.5s; }
.hero[data-mode="noche"] .lights { opacity: 1; }

.word { position: absolute; left: 50%; width: 100%; top: var(--word-top); translate: -50% 0; user-select: none; will-change: transform; }
.word svg { display: block; width: 100%; height: auto; overflow: visible; }
.word svg.w-flash, .word svg.w-glint { position: absolute; inset: 0; }
.word svg.w-flash { opacity: 0; will-change: opacity; filter: drop-shadow(0 0 30px rgba(110, 150, 255, .8)); }
.word svg.w-glint { will-change: transform; transition: opacity 1.5s ease; }
.word text { font-family: var(--font); font-weight: 800; font-size: 174px; letter-spacing: -7px; }
.word .w-edge { fill: #fff; }
.word g { transition: opacity 1.5s ease; }
.w-tarde { filter: drop-shadow(0 0 14px rgba(255, 196, 140, .28)); }
.w-noche { filter: drop-shadow(0 0 12px rgba(90, 130, 255, .3)); }
.hero[data-mode="tarde"] .w-noche, .hero[data-mode="noche"] .w-tarde, .hero[data-mode="noche"] .w-glint { opacity: 0; }

.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(4, 6, 10, .55) 100%),
  linear-gradient(180deg, rgba(4, 6, 10, .55) 0%, rgba(4, 6, 10, 0) 15%, rgba(4, 6, 10, 0) 50%, rgba(4, 6, 10, .62) 78%, rgba(4, 6, 10, .93) 100%); }
.hero__shade::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: calc(var(--sc) * .85); }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.mode { position: absolute; z-index: 3; right: var(--gutter); top: calc(92px + env(safe-area-inset-top)); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .92); background: rgba(10, 13, 20, .55); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, transform .2s var(--ease); }
.mode:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.mode:active { transform: scale(.96); }
.hero[data-mode="noche"] .mode__sun, .hero[data-mode="tarde"] .mode__moon { display: none; }
.pause { position: absolute; z-index: 3; right: calc(var(--gutter) + 132px); top: calc(92px + env(safe-area-inset-top)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .92); background: rgba(10, 13, 20, .55); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, transform .2s var(--ease); animation: rise 1.1s 1.5s var(--ease-out) both; }
.pause:hover { background: rgba(255, 255, 255, .2); }
.pause:active { transform: scale(.94); }
.pause[aria-pressed="true"] .pause__on, .pause[aria-pressed="false"] .pause__off { display: none; }
[data-paused] .hero__scroll::after { animation-play-state: paused; }
[data-paused] .w-glint { display: none; }

.hero__ui { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin-inline: auto; padding-bottom: calc(clamp(26px, 5.5svh, 56px) + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; opacity: calc(1 - var(--sc) * 2.2); transform: translate3d(0, calc(var(--sc) * -60px), 0); }
.hero__main { max-width: 780px; }
.facts { display: flex; gap: clamp(20px, 4vw, 56px); margin-bottom: clamp(18px, 3svh, 30px); }
.facts li { display: grid; gap: 2px; }
.facts strong { font-size: clamp(22px, 2.6vw, 36px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.facts span { font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 17ch; line-height: 1.35; }
.hero__title { font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .92); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--blue); flex: none; }
.hero__cta { display: flex; align-items: center; gap: 22px; }
.hero__cta p { font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .9); max-width: 40ch; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding-bottom: 26px; opacity: calc(1 - var(--sc) * 4); }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 20px; background: linear-gradient(var(--white), transparent); animation: drop 2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.deck { flex: none; width: 272px; padding: 12px; border-radius: 18px; background: rgba(10, 13, 20, .66); border: 1px solid rgba(255, 255, 255, .16); }
.deck__art { height: 104px; border-radius: 10px; display: grid; place-items: center; color: var(--white); background: radial-gradient(120% 120% at 20% 0%, rgba(47, 107, 255, .95), rgba(47, 107, 255, .25) 60%, rgba(17, 20, 24, .3)); margin-bottom: 12px; }
.deck__art svg { width: 40px; height: 40px; }
.deck__title { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.deck__text { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .76); min-height: 38px; margin-top: 2px; }
.deck.is-in .deck__art svg, .deck.is-in .deck__title, .deck.is-in .deck__text { animation: deck-in .5s var(--ease) both; }
.deck.is-in .deck__title { animation-delay: .05s; }
.deck.is-in .deck__text { animation-delay: .1s; }
@keyframes deck-in { from { opacity: 0; transform: translateY(8px); } }
.deck__foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.deck__count { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
.deck__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.deck__bar i { display: block; height: 100%; width: 14%; border-radius: 3px; background: var(--white); transition: width .5s var(--ease); }
.deck__next { width: 44px; height: 44px; margin: -6px -6px -6px 0; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, transform .2s var(--ease); }
.deck__next:hover { background: rgba(255, 255, 255, .14); transform: translateX(2px); }
.deck__next:active { transform: scale(.92); }

/* entrada única al cargar */
.hero__main > *, .deck, .mode, .hero__scroll { animation: rise 1.1s var(--ease-out) both; }
.facts { animation-delay: 1.0s; } .hero__title { animation-delay: 1.12s; } .hero__cta { animation-delay: 1.24s; } .deck { animation-delay: 1.36s; } .mode { animation-delay: 1.5s; } .hero__scroll { animation-delay: 1.8s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Contenido que cubre al hero ---------- */
.after { position: relative; z-index: 2; background: var(--bg); box-shadow: 0 -40px 80px rgba(4, 6, 10, .9); }
.sec { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.sec__head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 84px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 { font-size: clamp(34px, 5.4vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
h2 span { color: var(--faint); }
h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--dim); max-width: 46ch; margin-top: 28px; }

/* aparición al entrar en pantalla */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-lines] { opacity: 0; transform: translate3d(0, 54px, 0); filter: blur(10px); transition: opacity 1.2s var(--ease-out), transform 1.3s var(--ease-out), filter 1.2s var(--ease-out); }
[data-lines].in { opacity: 1; transform: none; filter: none; }

/* Manifiesto */
.say { padding-block: clamp(96px, 15vw, 220px) clamp(40px, 6vw, 80px); }
.say__text { font-size: clamp(30px, 5.2vw, 78px); font-weight: 600; line-height: 1.06; letter-spacing: -.04em; max-width: 19ch; text-wrap: balance; }
.say__text .w { color: rgba(238, 241, 246, .16); transition: color .5s ease; }
.say__text .w.on { color: var(--text); }

/* Servicios: lista editorial */
.rows { border-bottom: 1px solid var(--line); }
.rows li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(22px, 2.8vw, 38px) 0; border-top: 1px solid var(--line); }
.rows li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.rows li:hover::after { transform: scaleX(1); }
.rows__n { font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--blue-soft); font-variant-numeric: tabular-nums; }
.rows h3 { font-size: clamp(28px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; transition: transform .5s var(--ease-out), color .4s; }
.rows p { font-size: 16.5px; line-height: 1.45; color: var(--dim); max-width: 38ch; justify-self: end; transition: color .4s; }
@media (hover: hover) {
  .rows:hover li:not(:hover) h3 { color: var(--faint); }
  .rows:hover li:not(:hover) p { color: rgba(238, 241, 246, .3); }
  .rows li:hover h3 { transform: translateX(16px); }
  .rows li:hover p { color: var(--text); }
}

/* Secciones con fotografía de fondo */
.film { overflow: hidden; isolation: isolate; }
.film__bg { position: absolute; inset: 0; z-index: -1; }
.film__bg img { width: 100%; height: 124%; object-fit: cover; object-position: 50% 45%; transform: translate3d(0, calc(var(--drift, 0) * -16%), 0) scale(1.04); will-change: transform; }
.film__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 9, 13, .78) 22%, rgba(7, 9, 13, .62) 55%, rgba(7, 9, 13, .9) 100%); }
.film--end { min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(64px, 8vw, 110px); }
.film--end .film__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 9, 13, .35) 28%, rgba(7, 9, 13, .3) 50%, rgba(7, 9, 13, .86) 100%); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.steps li { position: relative; padding: 34px 28px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(47, 107, 255, .22), 0 0 18px var(--blue); transition: transform .3s var(--ease); }
.steps li:hover::before { transform: scale(1.5); }
.steps__n { display: block; font-size: clamp(44px, 6vw, 88px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: rgba(255, 255, 255, .28); margin-bottom: 26px; font-variant-numeric: tabular-nums; transition: color .4s; }
.steps li:hover .steps__n { color: var(--white); }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { font-size: 16px; line-height: 1.5; color: rgba(238, 241, 246, .78); max-width: 28ch; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.team li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.team li:last-child { border-bottom: 1px solid var(--line); }
.team span { font-size: 15px; color: var(--blue-soft); font-weight: 500; }
.team strong { font-size: clamp(26px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; transition: transform .5s var(--ease-out); }
.team li:hover strong { transform: translateX(10px); }
.team em { grid-column: 2; font-style: normal; font-size: 15px; color: var(--dim); margin-top: 6px; }
.about__facts { margin-top: 44px; }
.about__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; }
.about__facts dt { font-size: 14px; color: var(--faint); }
.about__facts dd { font-size: 16px; color: var(--text); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; width: 100%; }
.contact__title { font-size: clamp(40px, 6.6vw, 104px); max-width: 12ch; }
.contact .btn { margin-top: clamp(28px, 4vw, 48px); }
.contact__list { border-top: 1px solid rgba(255, 255, 255, .3); }
.contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact__list span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.contact__list a { font-size: clamp(17px, 1.7vw, 23px); font-weight: 500; letter-spacing: -.01em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out); padding: 8px 0; overflow-wrap: anywhere; }
.contact__list a:hover { background-size: 100% 1.5px; }

.foot { color: var(--dim); padding-block: 36px calc(36px + env(safe-area-inset-bottom)); font-size: 14.5px; border-top: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot img { height: 38px; width: auto; }
.foot nav { display: flex; gap: 6px; flex-wrap: wrap; }
.foot nav a { padding: 12px 10px; transition: color .2s; }
.foot nav a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rows li { grid-template-columns: 64px minmax(0, 1fr); }
  .rows p { grid-column: 2; justify-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; border-top: 0; }
  .steps li { border-top: 1px solid rgba(255, 255, 255, .22); }
  .deck { width: 236px; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__scroll { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .deck { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
}
@media (max-aspect-ratio: 1/1) {
  .hero { --word-top: calc(30% - 15.5vw); }
  .word { width: 123.6vw; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__in { height: 66px; }
  .nav__logo img { height: 28px; }
  .nav__end .btn { display: none; }
  .mode, .pause { top: calc(76px + env(safe-area-inset-top)); }
  .hero__shade { background: linear-gradient(180deg, rgba(4, 6, 10, .55) 0%, rgba(4, 6, 10, 0) 16%, rgba(4, 6, 10, 0) 44%, rgba(4, 6, 10, .8) 64%, rgba(4, 6, 10, .96) 100%); }
  .facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .facts strong { font-size: 19px; }
  .facts span { font-size: 12.5px; }
  .hero__title { font-size: 11.5px; letter-spacing: .22em; }
  .hero__cta { flex-direction: column-reverse; align-items: stretch; }
  .hero__cta .btn, .contact .btn { width: 100%; }
  .rows li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; align-items: baseline; }
  .steps { grid-template-columns: 1fr; }
  .about__facts div { grid-template-columns: 90px 1fr; }
  .foot__in { flex-direction: column; align-items: flex-start; }
  .foot nav { margin-left: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .w-glint, .hero__grain { display: none; }
  .stage { scale: 1; }
  [data-reveal], [data-lines] { opacity: 1; transform: none; filter: none; }
  .say__text .w { color: var(--text); }
}

/* ---------- Formulario de cotización ---------- */
.contact { align-items: start; }
.contact__side .contact__list { margin-top: clamp(28px, 4vw, 48px); }
.quote { position: relative; display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: rgba(7, 9, 13, .62); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.quote__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.quote__hint { font-size: 15px; color: var(--dim); margin-top: -10px; }
.quote__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--white); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 112px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .34); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue-soft); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(47, 107, 255, .35); }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.field__note { font-size: 13px; color: var(--faint); }
.field__err { font-size: 13.5px; color: #ffb0b0; min-height: 0; }
.field__err:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); display: grid; place-content: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .18s var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
.check input[aria-invalid="true"] { border-color: #ff8a8a; }
.check label { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); cursor: pointer; padding: 1px 0 4px; }
.check label a, .quote__status a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.check label a:hover, .quote__status a:hover { text-decoration-color: var(--white); }
.check .field__err { grid-column: 2; }
.quote__send { width: 100%; margin-top: 4px; }
.quote__send:disabled { opacity: .7; cursor: progress; transform: none; }
.quote__status { font-size: 14.5px; color: #ffd0d0; }
.quote__status:empty { display: none; }
.quote.is-sent { gap: 16px; }
.quote.is-sent:focus { outline: none; }

.foot__legal { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__legal a { padding: 12px 10px; font-size: 13.5px; color: var(--faint); transition: color .2s; }
.foot__legal a:hover { color: var(--white); }

/* ---------- Páginas legales ---------- */
.is-doc .nav__in .btn { white-space: nowrap; }
.doc { padding-block: calc(76px + clamp(48px, 7vw, 96px)) clamp(64px, 8vw, 120px); }
.doc__wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc__head { grid-column: 1 / -1; max-width: 860px; }
.doc__head h1 { font-size: clamp(38px, 6vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.doc__meta { margin-top: 18px; font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; }
.doc__intro { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--dim); max-width: 60ch; text-wrap: pretty; }
.doc__body { max-width: 72ch; }
.doc__body section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc__body section:first-child { margin-top: 0; }
.doc__body h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 14px; }
.doc__body p, .doc__body li { font-size: 16.5px; line-height: 1.7; color: rgba(238, 241, 246, .8); text-wrap: pretty; overflow-wrap: break-word; }
.doc__body p + p, .doc__body p + ul, .doc__body ul + p { margin-top: 12px; }
.doc__body ul { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.doc__body li::marker { color: var(--blue-soft); }
.doc__body strong { color: var(--text); font-weight: 600; }
.doc__body a, .doc__more a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(127, 163, 255, .6); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.doc__body a:hover, .doc__more a:hover { text-decoration-color: var(--white); }
.doc__more { position: sticky; top: 110px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.doc__more p { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 12px; }
.doc__more ul { display: grid; gap: 4px; }
.doc__more a { display: block; padding: 8px 0; font-size: 15px; text-decoration: none; }
@media (max-width: 860px) {
  .doc__wrap { grid-template-columns: 1fr; }
  .doc__more { position: static; }
}

/* ---------- Ajustes de guías de interfaz ---------- */
html { color-scheme: dark; }
a, button, input, label, textarea { touch-action: manipulation; }
section[id] { scroll-margin-top: 76px; }
.menu { overscroll-behavior: contain; }
@media (pointer: fine) { html { overscroll-behavior: none; } }

.doc__acts { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn--line { color: var(--white); border: 1px solid rgba(255, 255, 255, .26); }
