/* ==========================================================================
   Animotion — sistema de diseño
   ========================================================================== */

@font-face {
	font-family: "Clash";
	src: url("../fonts/ClashDisplay-Variable.woff2") format("woff2");
	font-weight: 200 700;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/Satoshi-Variable.woff2") format("woff2");
	font-weight: 300 900;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/Satoshi-VariableItalic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}

:root {
	/* Color — identidad: blanco, negro y naranja del logo "AniMotion" (+ plata de la tira de película).
	   El cian/rojo solo se usa en efectos (destello y glitch del intro). */
	--ink: #0a0a0a;
	--ink-2: #121212;
	--ink-3: #1b1b1b;
	--line: rgba(245, 245, 245, 0.12);
	--fg: #f5f5f5;
	--fg-2: #bdbdbd;
	--mute: #8a8a8a;
	--dim: #2b2b2b;
	--accent: #f8700a;      /* naranja del logo "AniMotion" */
	--accent-2: #ffa65c;    /* glow naranja */
	--glitch: #ff2d55;      /* canal rojo del glitch */
	--glitch-c: #2fd8ff;    /* canal cian del glitch / destello */

	/* Tipo */
	--f-display: "Clash", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
	--f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	--fs-lg: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
	--fs-xl: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
	--fs-display: clamp(3rem, 1.2rem + 7.6vw, 9.5rem);
	--fs-mega: clamp(3.4rem, 0.8rem + 10vw, 13rem);

	/* Espacio */
	--gutter: clamp(1rem, 0.6rem + 1.8vw, 2.5rem);
	--section: clamp(5rem, 3rem + 9vw, 12rem);
	--radius: 14px;

	/* Movimiento (mismas curvas en hover y scroll) */
	--ease-out: cubic-bezier(0.2, 0.715, 0.205, 0.99);
	--ease-in-out: cubic-bezier(0.835, 0.12, 0.225, 0.77);
	--ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--dur: 0.6s;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: var(--ink);
	color-scheme: dark;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--fg);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: 1.55;
	font-weight: 420;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden; overflow-x: clip;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; font-family: var(--f-body); font-weight: 400; }
strong { font-weight: 600; color: var(--fg); }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--fg); color: var(--ink); padding: 0.6rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }

.section { padding-inline: var(--gutter); }

.eyebrow {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mute);
	margin-bottom: 1.25rem;
	display: flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent); }

.h-display {
	font-size: var(--fs-display);
	line-height: 0.9;
	letter-spacing: -0.04em;
	font-weight: 600;
}

.btn {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 1em 1.6em;
	border: 1px solid var(--line);
	border-radius: 99px;
	font-weight: 600;
	transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }

.rec-dot {
	display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 12px var(--accent);
	animation: rec 1.2s steps(2, jump-none) infinite;
}
@keyframes rec { 50% { opacity: 0.15; } }

/* Split text helpers (SplitText) */
.split-line { overflow: hidden; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ==========================================================================
   Capas globales: grano, obturador, cursor
   ========================================================================== */

.grain {
	position: fixed; inset: 0; width: 100%; height: 100%;
	pointer-events: none; z-index: 90;
	opacity: 0.07; mix-blend-mode: overlay;
}

.shutter { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.shutter__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink-2); }
.shutter__panel:first-child { top: 0; }
.shutter__panel:nth-child(2) { bottom: 0; }
.shutter__label {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase;
	display: flex; align-items: center; gap: 0.7em; color: var(--mute);
}
.js .shutter__panel { transform: scaleY(1); }
.no-js .shutter { display: none; }

/* Cursor: visor de cámara. Esquinas que siguen al puntero y encuadran
   lo que está bajo él (autoenfoque), con punto REC al centro. */
/* Por encima del visor de imágenes y del reproductor (z-index 180), debajo del obturador (200) */
.cursor { position: fixed; left: 0; top: 0; z-index: 190; pointer-events: none; display: none; opacity: 0; transition: opacity 0.4s; }
.cursor.is-active { opacity: 1; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor__frame { position: absolute; left: 0; top: 0; width: 34px; height: 34px; will-change: transform, width, height; }
.cursor__c { position: absolute; width: 9px; height: 9px; border: 0 solid var(--fg); transition: border-color 0.3s, width 0.4s var(--ease-expo), height 0.4s var(--ease-expo); }
.cursor__c--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cursor__c--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cursor__c--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cursor__c--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.cursor__dot {
	position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
	border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent);
	animation: rec 1.2s steps(2, jump-none) infinite;
}
.cursor__label {
	position: absolute; left: 0; bottom: calc(100% + 6px);
	padding: 3px 7px; border-radius: 3px;
	background: var(--accent); color: var(--ink);
	font-family: var(--f-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
	opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.35s var(--ease-expo);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-snap .cursor__c { width: 16px; height: 16px; border-color: var(--accent); }
.cursor.is-snap .cursor__dot { opacity: 0; }
.cursor.is-drag .cursor__c { border-color: var(--accent); }
.cursor.is-down .cursor__c { width: 5px; height: 5px; }

/* ==========================================================================
   Header + menú
   ========================================================================== */

.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 120;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.1rem var(--gutter);
	mix-blend-mode: difference;
	color: #fff;
}
/* Al bajar se ocultan logo, timecode y switch; el botón de menú se queda siempre */
.site-header > * { transition: transform 0.7s var(--ease-expo), opacity 0.4s; }
.site-header.is-hidden { pointer-events: none; }
.site-header.is-hidden > :not(.menu-toggle) { transform: translateY(-160%); opacity: 0; }
.site-header.is-hidden .menu-toggle { pointer-events: auto; }
.menu-open .site-header > * { transform: none; opacity: 1; }
.brand { display: flex; align-items: center; gap: 0.55rem; height: 28px; }
.brand__reel { height: 100%; width: auto; fill: currentColor; }
.brand__reel .reel__holes { transform-box: fill-box; transform-origin: 50% 50%; }
.brand:hover .brand__reel .reel__holes { animation: spin 1.2s var(--ease-out); }
.brand__wm { height: 14px; width: auto; fill: currentColor; }

.site-header__meta {
	font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em;
	display: flex; align-items: center; gap: 0.6em;
}

.menu-toggle { display: flex; align-items: center; gap: 0.8rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.menu-toggle__icon { position: relative; width: 26px; height: 10px; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-expo); }
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { bottom: 0; }
/* Palpitación continua: punto naranja con onda + doble latido de las líneas cada ~3 s (se detiene con el menú abierto o en hover) */
.menu-toggle__icon::before {
	content: ""; position: absolute; right: -9px; top: -7px; width: 6px; height: 6px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 0 0 rgba(248, 112, 10, 0.7);
	animation: menu-dot 1.6s var(--ease-out) infinite;
}
.menu-toggle:not([aria-expanded="true"]):not(:hover) .menu-toggle__icon i { transform-origin: right center; animation: menu-beat 3.2s var(--ease-out) infinite; }
.menu-toggle:not([aria-expanded="true"]):not(:hover) .menu-toggle__icon i:last-child { animation-delay: 0.09s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { opacity: 0; animation: none; }
@keyframes menu-dot { 0% { box-shadow: 0 0 0 0 rgba(248, 112, 10, 0.75); transform: scale(1); } 20% { transform: scale(1.35); } 40% { transform: scale(1); } 100% { box-shadow: 0 0 0 10px rgba(248, 112, 10, 0); } }
@keyframes menu-beat { 0%, 64%, 100% { transform: scaleX(1); } 70% { transform: scaleX(0.55); } 76% { transform: scaleX(1.12); } 82% { transform: scaleX(0.7); } 90% { transform: scaleX(1); } }

/* "Aquí estoy": las líneas se encogen/estiran en cascada + onda alrededor del ícono */
.menu-toggle__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
	border: 1px solid currentColor; border-radius: 50%; opacity: 0; pointer-events: none;
}
.menu-toggle.is-nudge:not([aria-expanded="true"]) .menu-toggle__icon i { transform-origin: right center; animation: menu-nudge 0.9s var(--ease-expo); }
.menu-toggle.is-nudge:not([aria-expanded="true"]) .menu-toggle__icon i:last-child { animation-delay: 0.12s; }
.menu-toggle.is-nudge:not([aria-expanded="true"]) .menu-toggle__icon::after { animation: menu-ring 1.2s var(--ease-out) 0.1s; }
.menu-toggle.is-nudge:not([aria-expanded="true"]) .menu-toggle__label { animation: menu-label 0.9s var(--ease-expo); }
@keyframes menu-nudge { 0% { transform: scaleX(1); } 35% { transform: scaleX(0.3); } 70% { transform: scaleX(1.18); } 100% { transform: scaleX(1); } }
@keyframes menu-ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes menu-label { 0%, 100% { transform: none; } 40% { transform: translateX(-5px); } 70% { transform: translateX(2px); } }
.menu-toggle__label { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .menu-toggle *, .menu-toggle *::before, .menu-toggle *::after { animation: none !important; } }
.menu-open .menu-toggle__icon i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-toggle__icon i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Contacto flotante: siempre a la mano (se oculta en /contacto y sobre el footer) */
.quick { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 105; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; transition: transform 0.6s var(--ease-expo), opacity 0.4s; }
.quick.is-away, .menu-open .quick { transform: translateY(140%); opacity: 0; pointer-events: none; }
/* Botón: placa de acero pintada de naranja, con óxido en los bordes, remaches y luz roja (como el robot del spot) */
.quick {
	--rust-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .12 0 0 0 0 .03 0 0 0 1.6 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--rivet: radial-gradient(circle at 35% 35%, #f3c49a 0 1px, #9a4a1a 1.6px, #3a1606 2.6px, transparent 3.2px);
}
.quick__btn {
	position: relative; isolation: isolate;
	display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1.35rem 0.95rem 1.2rem; border-radius: 10px;
	color: #1c0c03; font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 214, 170, 0.55);
	background:
		var(--rust-noise),
		var(--rust-noise),
		radial-gradient(70% 90% at 0% 100%, rgba(96, 30, 4, 0.95), rgba(140, 50, 10, 0.5) 30%, transparent 55%),
		radial-gradient(45% 70% at 100% 0%, rgba(110, 36, 6, 0.9), transparent 55%),
		radial-gradient(30% 60% at 72% 105%, rgba(80, 24, 4, 0.85), transparent 70%),
		radial-gradient(14% 40% at 30% 0%, rgba(120, 40, 8, 0.6), transparent 70%),
		linear-gradient(180deg, #ff9a3c 0%, #f8700a 38%, #d4580a 100%);
	border: 1.5px solid #4a1d06;
	box-shadow:
		inset 0 2px 0 rgba(255, 220, 180, 0.5),
		inset 0 -3px 0 rgba(70, 22, 2, 0.55),
		inset 0 0 0 1px rgba(255, 170, 90, 0.25),
		0 5px 0 #3a1604,
		0 14px 28px rgba(0, 0, 0, 0.55);
	transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), filter 0.3s;
}
/* Remaches en las cuatro esquinas */
.quick__btn::before {
	content: ""; position: absolute; inset: 4px 5px; z-index: -1; pointer-events: none;
	background: var(--rivet) 0 0 / 7px 7px no-repeat, var(--rivet) 100% 0 / 7px 7px no-repeat,
		var(--rivet) 0 100% / 7px 7px no-repeat, var(--rivet) 100% 100% / 7px 7px no-repeat;
}
.quick__btn:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-1px); }
.quick__btn:active, .quick.is-open .quick__btn {
	transform: translateY(4px);
	box-shadow: inset 0 2px 0 rgba(255, 220, 180, 0.35), inset 0 -2px 0 rgba(70, 22, 2, 0.5), inset 0 0 0 1px rgba(255, 170, 90, 0.2), 0 1px 0 #3a1604, 0 6px 14px rgba(0, 0, 0, 0.5);
}
.quick__btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
/* Luz roja en su carcasa (como los ojos del robot) */
.quick__btn .rec-dot {
	width: 0.8em; height: 0.8em; animation-duration: 1.6s;
	background: radial-gradient(circle at 35% 35%, #ffb3a0 0 12%, #ff2d1a 38%, #7a0a00 100%);
	box-shadow: 0 0 0 2px #2a1004, 0 0 0 3px rgba(255, 190, 130, 0.35), 0 0 10px 2px rgba(255, 45, 26, 0.75);
}
.quick__icon { position: relative; width: 10px; height: 10px; }
.quick__icon::before, .quick__icon::after { content: ""; position: absolute; left: 0; top: 4.25px; width: 10px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-expo); }
.quick__icon::after { transform: rotate(90deg); }
.quick.is-open .quick__icon::before { transform: rotate(45deg); }
.quick.is-open .quick__icon::after { transform: rotate(135deg); }
.quick__list { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.quick__list[hidden] { display: none; }
.quick__list a {
	position: relative; display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.2rem 0.75rem 1.5rem; border-radius: 8px;
	font-size: var(--fs-sm); white-space: nowrap; color: var(--fg);
	background: var(--rust-noise), radial-gradient(80% 120% at 100% 100%, rgba(120, 44, 10, 0.45), transparent 55%), linear-gradient(180deg, #2c2824, #191613);
	border: 1px solid #0c0a08;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 3px 0 #070605, 0 10px 20px rgba(0, 0, 0, 0.45);
	transition: color 0.3s, transform 0.15s var(--ease-out), box-shadow 0.15s;
}
.quick__list a::before { content: ""; position: absolute; left: 0.55rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--rivet); }
.quick__list a:hover { color: var(--accent-2); transform: translateX(-3px); }
.quick__list a:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 0 #070605, 0 4px 10px rgba(0, 0, 0, 0.4); }
.quick__list small { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #c06a2c; }

.menu { position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 2rem; }
.menu[hidden] { display: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink-2); transform-origin: top; }
.menu__list { position: relative; }
.menu__item { overflow: hidden; overflow: clip; border-bottom: 1px solid var(--line); }
.menu__link { display: flex; align-items: baseline; gap: 1.2rem; padding: 0.2rem 0; }
.menu__num { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); width: 2.5ch; }
.menu__text {
	position: relative; display: inline-block;
	font-family: var(--f-display); font-weight: 600; letter-spacing: -0.04em;
	font-size: clamp(2.6rem, 1rem + 6.4vh + 2vw, 7rem); line-height: 1;
	transition: transform 0.6s var(--ease-expo), color 0.4s;
}
.menu__link:hover .menu__text { transform: translateX(1.5rem); color: var(--accent); }
/* submenús: enlaces pequeños a la derecha del elemento padre */
.menu__item:has(.menu__subs) { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu__subs { display: flex; gap: 0.6rem 1.4rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.menu__subs a { padding: 0.4em 0.9em; border: 1px solid var(--line); border-radius: 99px; color: var(--fg-2); transition: border-color 0.3s, color 0.3s; }
.menu__subs a:hover { border-color: var(--accent); color: var(--accent); }
.menu__foot { position: relative; display: flex; justify-content: space-between; margin-top: 2rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.hero__frame {
	position: absolute; inset: 0; overflow: hidden;
	background: radial-gradient(120% 90% at 70% 40%, #1a0f08 0%, var(--ink) 60%);
	will-change: transform, border-radius;
}
.hero__glow {
	position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 45%;
	transform: translate(-50%, -50%);
	background:
		radial-gradient(closest-side, rgba(248, 112, 10, 0.30), transparent 70%),
		radial-gradient(closest-side at 65% 60%, rgba(47, 216, 255, 0.10), transparent 70%);
	filter: blur(30px);
	animation: glow 12s ease-in-out infinite alternate;
	pointer-events: none;
}
@keyframes glow {
	0% { transform: translate(-58%, -52%) scale(0.9) rotate(0deg); }
	100% { transform: translate(-42%, -46%) scale(1.1) rotate(40deg); }
}

.hud { position: absolute; inset: calc(var(--gutter) + 3.2rem) var(--gutter) var(--gutter); pointer-events: none; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--mute); }
.hud__corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(245, 245, 245, 0.5); }
.hud__corner--tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud__corner--tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud__corner--bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud__corner--br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud__tl, .hud__tr, .hud__bl, .hud__br { position: absolute; display: flex; align-items: center; gap: 0.5em; }
.hud__tl { left: 34px; top: 4px; color: var(--fg-2); }
.hud__tr { right: 34px; top: 4px; }
.hud__bl { left: 34px; bottom: 4px; }
.hud__br { right: 34px; bottom: 4px; }
.hud__cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); opacity: 0.35; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: var(--fg); }
.hud__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hud__cross::after { top: 50%; left: 0; right: 0; height: 1px; }

/* Lienzo 3D (modo 3D) y carrete SVG (modo Lite) */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.mode-3d .hero__gl { display: block; }
.hero__stage {
	position: absolute; left: 50%; top: 44%;
	width: min(34vh, 42vw); aspect-ratio: 420 / 700;
	transform: translate(-50%, -50%);
}
.mode-3d .hero__stage { display: none; }
.hero__reel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--fg); filter: drop-shadow(0 0 24px rgba(248, 112, 10, 0.5)) drop-shadow(0 0 60px rgba(255, 166, 92, 0.2)); }
.hero__reel .reel__holes { transform-box: fill-box; transform-origin: 50% 50%; }

/* Destello (lens flare) — del intro original */
.flare { position: absolute; left: 50%; top: 44%; width: min(46vh, 60vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.flare > i { position: absolute; left: 50%; top: 50%; opacity: 0; }
.flare__ring {
	width: 100%; height: 100%; margin: -50% 0 0 -50%; border-radius: 50%;
	border: 2px solid rgba(170, 236, 255, 0.9);
	box-shadow: 0 0 30px rgba(47, 216, 255, 0.9), inset 0 0 30px rgba(47, 216, 255, 0.7), 0 0 90px rgba(47, 216, 255, 0.5);
}
.flare__core {
	width: 38%; height: 38%; margin: -19% 0 0 -19%; border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, #d6f6ff 12%, rgba(47, 216, 255, 0.85) 32%, rgba(47, 216, 255, 0) 70%);
	filter: blur(2px);
}
.flare__streak { width: 160%; height: 3px; margin: -1.5px 0 0 -80%; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(170, 236, 255, 0.2) 20%, #fff 50%, rgba(170, 236, 255, 0.2) 80%, transparent); filter: blur(0.6px); }
.flare__streak--v { transform: rotate(90deg); width: 110%; margin-left: -55%; }
.flare__streak--d1 { transform: rotate(35deg); width: 70%; margin-left: -35%; opacity: 0; }
.flare__streak--d2 { transform: rotate(-35deg); width: 70%; margin-left: -35%; opacity: 0; }

/* Glitch RGB del wordmark */
.glitch { position: relative; }
.glitch svg { width: 100%; height: auto; overflow: visible; }
.glitch__base { fill: var(--fg); }
/* "Ani" en blanco + "Motion" en naranja, como el logo AniMotion */
.hero__wm .glitch__base .wm__letter:nth-child(n+4) { fill: var(--accent); }
.glitch__ch { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.glitch__ch--r .glitch__layer { fill: var(--glitch); }
.glitch__ch--b .glitch__layer { fill: var(--glitch-c); }

.hero__title { position: absolute; left: calc(var(--gutter) + 34px); right: calc(var(--gutter) + 34px); bottom: calc(var(--gutter) + 2.6rem); }
.hero__wm { width: 100%; }

.hero__copy { position: absolute; left: calc(var(--gutter) + 34px); top: calc(var(--gutter) + 6.2rem); max-width: 36rem; }
.hero__tagline { margin-bottom: 1rem; color: var(--accent); }
.hero__tagline::before { background: var(--accent); }
.hero__lead { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lg); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.hero__lead span { display: block; }
.hero__lead em { font-family: var(--f-display); font-style: normal; color: var(--accent); }

.hero__scroll {
	position: absolute; right: calc(var(--gutter) + 34px); top: calc(var(--gutter) + 6.2rem);
	display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
	font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
}
.hero__scroll i { width: 1px; height: 64px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   INTRO
   ========================================================================== */

.intro { padding-block: var(--section); max-width: 88rem; }
.intro__text {
	font-family: var(--f-display); font-weight: 560;
	font-size: var(--fs-xl); line-height: 1.08; letter-spacing: -0.025em;
	color: var(--fg-2);
}
.intro__text strong { font-weight: 600; color: var(--fg); }
.intro__text em { font-family: var(--f-display); font-style: normal; color: var(--accent); }
.intro__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.intro__tags span { border: 1px solid var(--line); border-radius: 99px; padding: 0.5em 1.1em; font-size: var(--fs-sm); color: var(--fg-2); }

/* ==========================================================================
   SHOWREEL — track horizontal
   ========================================================================== */

.reel-track { padding-bottom: var(--section); }
@media (min-width: 901px) {
	.reel-track { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 6.5rem 3rem; }
	.reel-track__head { margin-bottom: 2.5rem; }
	.reel-track .h-display { font-size: clamp(3rem, 1rem + 6vw, 7.5rem); }
	.reel-track .vcard { width: clamp(340px, 46vw, 820px); }
}
.reel-track__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.reel-track__viewport { overflow: hidden; }
.reel-track__list { display: flex; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--gutter); width: max-content; }

.vcard { position: relative; width: clamp(280px, 36vw, 620px); flex: none; }
.vcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); cursor: pointer; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.1s var(--ease-expo), filter 0.6s; filter: grayscale(0.35) contrast(1.05); }
.vcard:hover .vcard__media img { transform: scale(1.02); filter: none; }
.vcard__play {
	position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
	border-radius: 50%; background: rgba(5, 7, 15, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform 0.6s var(--ease-expo);
}
.vcard__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--fg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vcard:hover .vcard__play { transform: scale(1.15); }
.has-cursor .vcard__play { opacity: 0; }
.vcard__meta { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; padding-top: 1rem; }
.vcard__num { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--accent); padding-top: 0.35em; grid-row: span 2; }
.vcard__title { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.vcard__cat { font-size: var(--fs-sm); color: var(--mute); }
/* Tarjeta final del showreel: mismo tamaño que un video, con el carrete del logo girando */
.reel-cta { flex: none; width: clamp(280px, 36vw, 620px); }
.reel-track .reel-cta { width: clamp(340px, 46vw, 820px); }
.reel-cta a { display: block; }
.reel-cta__media {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
	display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 0 clamp(1.5rem, 4vw, 4rem);
	background: radial-gradient(90% 120% at 20% 50%, rgba(248, 112, 10, 0.22), transparent 60%), linear-gradient(135deg, #1a0f08, #0b0a09 60%);
	box-shadow: inset 0 0 0 1px rgba(248, 112, 10, 0.4), 0 0 0 rgba(248, 112, 10, 0);
	transition: box-shadow 0.5s var(--ease-expo);
}
.reel-cta__reel { height: 62%; width: auto; flex: none; fill: var(--accent); }
/* las perforaciones giran solas; el carrete completo lo gira main.js con el desplazamiento */
.reel-cta__reel .reel__holes { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 9s linear infinite; }
.reel-cta__label { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 0.8rem + 2.8vw, 4rem); line-height: 0.95; letter-spacing: -0.04em; }
.reel-cta__label em { font-family: var(--f-body); font-style: italic; font-weight: 300; color: var(--accent); }
.reel-cta__label i { display: inline-block; font-style: normal; color: var(--accent); transition: transform 0.5s var(--ease-expo); }
.reel-cta__sub { display: block; padding-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.reel-cta a:hover .reel-cta__media { box-shadow: inset 0 0 0 2px #ffa65c, 0 0 50px rgba(248, 112, 10, 0.35); }
.reel-cta a:hover .reel-cta__reel .reel__holes { animation-duration: 1.4s; }
.reel-cta a:hover .reel-cta__label i { transform: translateX(0.3em); }

.reel-track__all { display: inline-flex; gap: 0.6em; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 0.4em; border-bottom: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.reel-track__all i { font-style: normal; transition: transform 0.5s var(--ease-expo); }
.reel-track__all:hover { color: var(--accent); border-color: var(--accent); }
.reel-track__all:hover i { transform: translateX(4px); }

.reel-track__progress { display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--mute); }
.reel-track__count b { font-weight: 400; color: var(--fg); }
.reel-track__bar { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.reel-track__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   MANIFIESTO
   ========================================================================== */

.manifesto { position: relative; height: calc(var(--chapters, 3) * 100vh + 60vh); background: #04050c; }
.manifesto__pin {
	position: sticky; top: 0; height: 100vh; height: 100svh;
	display: flex; flex-direction: column; justify-content: center;
	padding-inline: var(--gutter);
	overflow: hidden; isolation: isolate;
}
/* Cielo: canvas (3D) o degradados CSS (Lite). --sky-* los cambia main.js por capítulo */
.manifesto__sky, .manifesto__sky-lite { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.manifesto__sky { display: none; }
.mode-3d .manifesto.has-sky .manifesto__sky { display: block; }
.mode-3d .manifesto.has-sky .manifesto__sky-lite { display: none; }
.manifesto__sky-lite {
	--sky-top: #03040b; --sky-bottom: #081026; --sky-glow: rgba(40, 80, 190, 0.55);
	background:
		radial-gradient(120% 55% at 50% 108%, var(--sky-glow), transparent 70%),
		linear-gradient(to bottom, var(--sky-top) 10%, var(--sky-bottom));
	transition: --sky-top 1.4s, --sky-bottom 1.4s, --sky-glow 1.4s;
}
@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #03040b; }
@property --sky-bottom { syntax: "<color>"; inherits: true; initial-value: #081026; }
@property --sky-glow { syntax: "<color>"; inherits: true; initial-value: rgba(40, 80, 190, 0.55); }
/* estrellas Lite: dos capas de puntos repetidos; la segunda titila */
.manifesto__sky-lite i { position: absolute; inset: 0 0 30% 0; opacity: 0.9;
	background-image:
		radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 38% 42%, #dfe7ff, transparent),
		radial-gradient(1.5px 1.5px at 67% 12%, #fff, transparent), radial-gradient(1px 1px at 84% 36%, #fff, transparent),
		radial-gradient(1px 1px at 22% 66%, #cfd8ff, transparent), radial-gradient(1px 1px at 55% 78%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 91% 70%, #ffe9d2, transparent), radial-gradient(1px 1px at 5% 88%, #fff, transparent);
	background-size: 340px 260px;
	-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.manifesto__sky-lite i + i { background-size: 520px 390px; background-position: 90px 40px; animation: twinkle 3.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.15; } to { opacity: 0.8; } }

/* Lite: cerros en silueta frente al resplandor; con las estrellas hacen parallax (main.js) */
.manifesto__hill { position: absolute; left: -5%; right: -5%; bottom: -2%; background-repeat: no-repeat; background-size: 100% 100%; will-change: transform; }
.manifesto__hill--far { height: 26%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 120 C120 80 220 110 320 90 S520 40 640 80 S860 120 960 70 S1140 60 1200 90 V200 H0Z' fill='%23070814'/%3E%3C/svg%3E"); opacity: 0.95; }
.manifesto__hill--near { height: 18%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 150 C150 110 260 150 380 125 S600 90 720 130 S930 160 1040 115 S1160 120 1200 135 V200 H0Z' fill='%2303040a'/%3E%3C/svg%3E"); }
.manifesto__sky-lite i { will-change: transform; }

.manifesto__eyebrow { position: absolute; top: calc(var(--gutter) + 4rem); left: var(--gutter); }
.manifesto__count { position: absolute; top: calc(var(--gutter) + 4rem); right: var(--gutter); margin: 0; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--mute); }
.manifesto__count b { font-weight: 400; color: var(--fg); }

/* Capítulos: sin JS se ven apilados; con JS (is-ready) comparten celda y solo se ve uno a la vez */
.manifesto__stage { display: grid; gap: 2.5rem; }
.manifesto.is-ready .manifesto__stage { gap: 0; }
.manifesto.is-ready .manifesto__chapter { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.manifesto.is-ready .manifesto__chapter.is-active { visibility: visible; }
.manifesto__line {
	position: relative; margin: 0;
	font-family: var(--f-display); font-weight: 600;
	font-size: clamp(2.2rem, 0.6rem + 5.4vw, 7.2rem);
	line-height: 0.95; letter-spacing: -0.045em; color: var(--fg);
	padding-bottom: 0.08em;
}
.manifesto__line:nth-child(even) { padding-left: clamp(0rem, 10vw, 12rem); }
.manifesto__line em {
	font-family: var(--f-body); font-style: italic; font-weight: 300; letter-spacing: -0.03em;
	color: var(--accent);
}
/* capas de aberración cromática (las crea main.js; solo se ven durante la transición) */
.manifesto__ghost { position: absolute; inset: 0; padding: inherit; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.manifesto__txt { display: inline-block; }
.manifesto__ghost--r { color: #ff2d55; }
.manifesto__ghost--c { color: #2fd8ff; }
.manifesto__ghost em { color: inherit; }
.manifesto .char { display: inline-block; will-change: transform; }

.manifesto__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 1px; background: var(--line); }
.manifesto__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */

.services { position: relative; padding-block: var(--section); }
.services__head { margin-bottom: 3.5rem; }
.srow { border-top: 1px solid var(--line); }
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__link {
	position: relative; display: grid; align-items: center;
	grid-template-columns: 4rem minmax(0, 1.4fr) minmax(0, 1fr) 3rem;
	gap: 1.5rem; padding: clamp(1.4rem, 2.6vw, 2.6rem) 0;
}
.srow__link::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s var(--ease-expo); z-index: -1; }
.srow { position: relative; z-index: 0; }
.srow__num { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--accent); padding-left: 0.3rem; }
.srow__title { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-xl); line-height: 1; letter-spacing: -0.035em; transition: transform 0.35s var(--ease-expo), color 0.2s; }
.srow__short { color: var(--mute); font-size: var(--fs-sm); max-width: 32rem; transition: color 0.2s; }
.srow__arrow { font-size: 1.6rem; justify-self: end; padding-right: 0.5rem; transition: transform 0.35s var(--ease-expo), color 0.2s; }
.srow__link:hover::before { transform: scaleY(1); }
.srow__link:hover .srow__title { color: var(--ink); transform: translateX(1rem); }
.srow__link:hover .srow__short, .srow__link:hover .srow__arrow { color: var(--ink); }
.srow__link:hover .srow__arrow { transform: rotate(45deg); }

.services__preview {
	position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
	width: clamp(200px, 22vw, 340px); aspect-ratio: 4 / 3;
	border-radius: var(--radius); overflow: hidden;
	opacity: 0; transform: scale(0.6);
}
.services__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   RUEDA (inspirada en waverunmedia)
   ========================================================================== */

.wheel-sec { padding-top: var(--section); }
.wheel-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.wheel-sec__cats { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; margin: 0; }
.wheel-sec__cats sup { font-family: var(--f-mono); font-size: 0.55em; color: var(--accent); }

.wheel-sec { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.wheel {
	--n: 24;
	--R: clamp(700px, 74vw, 1500px);
	--W: clamp(150px, 16vw, 290px);
	--H: calc(var(--W) * 1.3);
	position: relative;
	height: calc(var(--H) + 9rem);
	overflow: hidden;
	margin-top: 2rem;
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wheel__rotor {
	position: absolute; left: 50%;
	top: calc(var(--R) + var(--H) + 2.5rem);
	width: 0; height: 0;
	transform-origin: 0 0;
}
.wheel__slide {
	position: absolute; left: 0; top: 0; margin: 0;
	width: var(--W); height: var(--H);
	transform-origin: 50% calc(100% + var(--R));
	transform: translate(-50%, calc(-100% - var(--R))) rotate(calc(var(--i) * 360deg / var(--n)));
}
.wheel__slide a {
	display: block; width: 100%; height: 100%;
	border-radius: var(--radius); overflow: hidden; background: var(--ink-3);
	transition: transform 0.5s var(--ease-expo), box-shadow 0.5s;
}
.wheel__slide img { width: 100%; height: 100%; object-fit: cover; }
.wheel__slide:hover a { transform: translateY(-1.2rem) scale(1.05); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.wheel__slide figcaption {
	position: absolute; left: 0; right: 0; bottom: -1.8rem; text-align: center;
	font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
	opacity: 0; transition: opacity 0.4s;
}
.wheel__slide:hover figcaption { opacity: 1; }
.wheel__foot { display: flex; justify-content: center; margin: 1.5rem 0 0; }
.wheel__ui { width: min(560px, 90vw); margin: 1.2rem auto 0; }
.wheel { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wheel__slide.is-active a { transform: translateY(-1.2rem) scale(1.05); box-shadow: 0 0 0 1.5px var(--accent-2), 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(248, 112, 10, 0.35); }
.wheel__slide.is-active figcaption { opacity: 1; }
.btn { white-space: nowrap; }

/* ==========================================================================
   MARQUEE WEB
   ========================================================================== */

.webs { padding-block: var(--section); overflow: hidden; }
.webs__head { margin-bottom: 3rem; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); padding-block: 0.6rem; }
.marquee:last-child { border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
	display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em;
	font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 1rem + 4.5vw, 5.5rem);
	letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px var(--fg-2);
	transition: color 0.4s var(--ease-out);
}
.marquee__item i { font-style: normal; font-size: 0.4em; color: var(--accent); -webkit-text-stroke: 0; }
.marquee__item:hover { color: var(--fg); }
.marquee[data-marquee="-1"] .marquee__item { color: var(--fg); -webkit-text-stroke: 0; }
.marquee[data-marquee="-1"] .marquee__item:hover { color: var(--accent); }

/* ==========================================================================
   CIFRAS
   ========================================================================== */

.stats { padding-bottom: var(--section); }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stats__list strong { display: block; font-family: var(--f-display); font-size: clamp(3rem, 1.5rem + 5vw, 7rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats__list span { display: block; margin-top: 0.8rem; color: var(--mute); font-size: var(--fs-sm); max-width: 16rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { position: relative; background: var(--ink-2); border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; overflow: hidden; }
.cta { padding: var(--section) var(--gutter) calc(var(--section) * 0.6); }
.cta__link { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-mega); line-height: 0.88; letter-spacing: -0.05em; }
.cta__line { display: block; transition: transform 0.8s var(--ease-expo); }
.cta__line--accent { color: var(--accent); }
.cta__link:hover .cta__line:first-child { transform: translateX(2vw); }
.cta__link:hover .cta__line--accent { transform: translateX(-1vw); }

.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: 3rem var(--gutter); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--fg-2); }
.site-footer__grid a { transition: color 0.3s; }
.site-footer__grid a:hover { color: var(--accent); }
.site-footer__big { padding: 0 var(--gutter); }
.footer-wm { width: 100%; height: auto; fill: var(--ink-3); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--gutter) 2rem; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 4rem var(--gutter); background: rgba(5, 7, 15, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: 1.2rem; right: var(--gutter); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox__title { position: absolute; bottom: 1.4rem; left: var(--gutter); margin: 0; font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 650; }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */

.page-hero { padding: calc(var(--section) + 3rem) var(--gutter) calc(var(--section) * 0.5); }
.page-hero__title { font-size: var(--fs-mega); line-height: 0.86; letter-spacing: -0.055em; font-weight: 600; }
.page-hero__lead { max-width: 44rem; margin-top: 2rem; font-size: var(--fs-lg); line-height: 1.3; color: var(--fg-2); }

.prose { max-width: 46rem; color: var(--fg-2); }
.prose h2, .prose h3 { color: var(--fg); margin: 2em 0 0.6em; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 var(--gutter) 2.5rem; }
.filters button { border: 1px solid var(--line); border-radius: 99px; padding: 0.55em 1.2em; font-size: var(--fs-sm); transition: background 0.4s var(--ease-out), color 0.4s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--fg); color: var(--ink); }
.filters sup { font-family: var(--f-mono); font-size: 0.7em; margin-left: 0.3em; opacity: 0.6; }

.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter) var(--section); }
.vgrid .vcard { width: auto; }
.vgrid .vcard[hidden] { display: none; }

/* Galería: carrusel arrastrable por categoría */
.gal { padding-bottom: calc(var(--section) * 0.7); }
.gal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 0 var(--gutter) 1.5rem; }
.gal__title { font-size: var(--fs-xl); letter-spacing: -0.035em; }
.gal__count { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; }
.drag { overflow: hidden; cursor: grab; touch-action: pan-y; }
.drag.is-dragging { cursor: grabbing; }
.drag__track { display: flex; gap: 1rem; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.drag__item { flex: none; height: clamp(260px, 42vh, 520px); margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); transform-origin: center; }
.drag__item img { height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.drag__item button { display: block; height: 100%; }

/* Visor de imagen */
.viewer { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 4rem var(--gutter); background: rgba(5, 7, 15, 0.95); }
.viewer[hidden] { display: none; }
.viewer img { max-height: 84vh; width: auto; border-radius: var(--radius); }
.viewer__close { position: absolute; top: 1.2rem; right: var(--gutter); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.viewer__nav { position: absolute; top: 50%; font-size: 2rem; padding: 1rem; }
.viewer__nav--prev { left: var(--gutter); }
.viewer__nav--next { right: var(--gutter); }

/* Web grid */
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem clamp(1rem, 3vw, 3rem); padding: 0 var(--gutter) var(--section); }
.wcard:nth-child(even) { margin-top: 8rem; }
.wcard__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--ink-3); display: flex; flex-direction: column; border: 1px solid var(--line); }
.wcard__shot { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 4s var(--ease-in-out), transform 1s var(--ease-expo); }
.wcard:hover .wcard__media img { object-position: bottom; }
/* Portafolio unificado: mosaico de columnas con parallax sobre el foro de filmación */
.pf { --px: 0; --mx: 0; --my: 0; position: relative; isolation: isolate; padding-bottom: var(--section); }
.pf__bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: -1; overflow: hidden; pointer-events: none;
	background: radial-gradient(120% 80% at 50% 45%, #140b06 0%, #07060a 55%, #030304 100%); }
.pf__bg .arc__bg { z-index: 0; }
.pf__filters { position: sticky; top: 0; z-index: 5; padding-top: 1rem; padding-bottom: 1.5rem; background: linear-gradient(rgba(7, 6, 10, 0.92) 70%, transparent); }
.filters sup { font-family: var(--f-mono); font-size: 0.7em; margin-left: 0.3em; opacity: 0.6; }
/* sin JS: columnas CSS; con JS: columnas reales (cada una con su parallax) */
.pgrid { columns: 5 240px; column-gap: clamp(0.8rem, 1.4vw, 1.4rem); padding: 0 var(--gutter); margin: 0; list-style: none; }
.pgrid.is-cols { columns: auto; display: flex; align-items: flex-start; gap: clamp(0.8rem, 1.4vw, 1.4rem); }
.pgrid__col { flex: 1 1 0; min-width: 0; will-change: transform; }
.pcard { break-inside: avoid; margin: 0 0 clamp(1rem, 1.8vw, 1.6rem); perspective: 900px; }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; display: block; width: 100%; padding: 0; border-radius: 12px; overflow: hidden; background: var(--ink-3); cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(248, 112, 10, 0.18), 0 18px 40px -24px rgba(0, 0, 0, 0.9); transform-style: preserve-3d; transition: box-shadow 0.4s; }
.pcard__media img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease-expo), filter 0.5s; filter: grayscale(0.25) brightness(0.92); }
.pcard--video .pcard__media { aspect-ratio: 16 / 9; }
.pcard--video .pcard__media img { height: 100%; object-fit: cover; }
.pcard--web .pcard__media { display: flex; flex-direction: column; }
.pcard__media:hover { box-shadow: inset 0 0 0 1.5px #ffa65c, 0 0 34px rgba(248, 112, 10, 0.35), 0 24px 50px -24px rgba(0, 0, 0, 0.9); }
.pcard__media:hover img { transform: scale(1.04); filter: none; }
.pcard__media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard .vcard__play { width: 52px; height: 52px; }
.pcard .vcard__play::after { left: 21px; top: 16px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
.pcard__meta { display: flex; justify-content: space-between; gap: 0.6rem; margin: 0.55rem 0 0; }
.pcard__title { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: -0.01em; line-height: 1.2; }
.pcard__sub { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); padding-top: 0.25em; }
.pf__more { display: flex; justify-content: center; margin: 1rem 0 0; }
.pf__more [hidden] { display: none; }
@media (max-width: 560px) { .pcard__meta { flex-direction: column; gap: 0.15rem; } .pcard__sub { max-width: none; } }

.wcard__bar { position: relative; flex: none; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(5, 7, 15, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 1; }
.wcard__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.wcard__bar span { margin-left: 8px; font-family: var(--f-mono); font-size: 0.65rem; color: var(--mute); }
.wcard__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem; padding-top: 1rem; }
.wcard__num { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--accent); }
.wcard__title { font-size: var(--fs-lg); letter-spacing: -0.02em; }
.wcard__tag { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; }

/* Servicios (página) */
.sdetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem 4rem; padding: 4rem var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.sdetail__num { font-family: var(--f-mono); color: var(--accent); font-size: var(--fs-sm); }
.sdetail__title { font-size: var(--fs-xl); letter-spacing: -0.035em; margin-top: 0.6rem; }
.sdetail__short { font-size: var(--fs-lg); line-height: 1.3; color: var(--fg-2); margin-bottom: 1.5rem; }
.sdetail__items li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.sdetail__items li::after { content: "✦"; color: var(--accent); font-size: 0.8em; }

/* Estudio */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; padding: 0 var(--gutter) var(--section); }
.values li { border-top: 1px solid var(--line); padding-top: 1rem; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.values li span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: var(--fs-xs); color: var(--accent); margin-bottom: 0.5rem; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 5rem; padding: 0 var(--gutter) var(--section); }
.split2 h2 { font-size: var(--fs-xl); letter-spacing: -0.035em; }
.split2 p { color: var(--fg-2); font-size: var(--fs-lg); line-height: 1.35; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem 5rem; padding: 0 var(--gutter) var(--section); }
.contact__info dl { margin: 0; }
.contact__info dt { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 2rem; }
.contact__info dd { margin: 0.5rem 0 0; font-size: var(--fs-lg); line-height: 1.3; }
.contact__info dd a:hover { color: var(--accent); }
.wpcf7 label { display: block; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.8rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	display: block; width: 100%; margin-top: 0.4rem;
	background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	font-family: var(--f-display); font-size: var(--fs-lg); font-weight: 560; letter-spacing: -0.01em; padding: 0.5rem 0;
	transition: border-color 0.4s;
}
.wpcf7 textarea { height: 8rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--accent); }
.wpcf7 input[type="submit"] {
	background: var(--accent); color: var(--ink); border: 0; border-radius: 99px; padding: 1.1em 2.4em;
	font-family: var(--f-body); font-weight: 600; font-size: var(--fs-base); cursor: pointer; transition: transform 0.5s var(--ease-expo), background 0.3s;
}
.wpcf7 input[type="submit"]:hover { transform: scale(1.04); background: var(--fg); }
.wpcf7-not-valid-tip { color: var(--accent); font-size: var(--fs-sm); text-transform: none; letter-spacing: 0; font-family: var(--f-body); }
.wpcf7-response-output { border-radius: 10px; font-size: var(--fs-sm); margin: 1rem 0 0 !important; }

/* 404 */
.nf { min-height: 90vh; min-height: 90svh; display: flex; flex-direction: column; justify-content: center; padding: 8rem var(--gutter) 4rem; }
.nf__code { font-family: var(--f-display); font-weight: 600; font-size: clamp(8rem, 30vw, 26rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--accent); }

/* ==========================================================================
   Spot Animotion en 3D (fijado; se reproduce con el scroll)
   ========================================================================== */

.spot { position: relative; height: 420vh; }
.mode-lite .spot { height: auto; }
.spot__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050505; }
.mode-lite .spot__pin { position: relative; height: 90vh; height: 90svh; }
.spot__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.mode-3d .spot__gl { display: block; }
.spot__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.mode-3d .spot__poster { display: none; }
.spot__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.75) 100%); }

.spot__hud { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--gutter) + 3.4rem); display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--fg-2); pointer-events: none; }
.spot__hud b { color: var(--accent); font-weight: 600; }
.spot__q { position: absolute; right: var(--gutter); top: calc(var(--gutter) + 5.2rem); z-index: 2; padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: 99px; background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); transition: border-color 0.3s, color 0.3s; }
.spot__q:hover { border-color: var(--accent); color: var(--fg); }
.spot__q b { color: var(--accent); font-weight: 600; }
.mode-lite .spot__q { display: none; }
.spot__hud > span { display: flex; align-items: center; gap: 0.6em; }

.spot__intro { position: absolute; left: 0; bottom: 12vh; max-width: 40rem; pointer-events: none; }
.spot__title { font-size: clamp(2.6rem, 1rem + 5vw, 6.5rem); line-height: 0.9; letter-spacing: -0.04em; font-weight: 600; }
.spot__text { margin-top: 1.4rem; color: var(--fg-2); font-size: var(--fs-lg); line-height: 1.3; max-width: 30rem; }
.spot__hint { color: var(--accent); }
.mode-lite .spot__hint { display: none; }

.spot__end { position: absolute; left: 0; right: 0; bottom: 9vh; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; opacity: 0; pointer-events: none; }
.spot__end.is-on { pointer-events: auto; }
.mode-lite .spot__end { opacity: 1; pointer-events: auto; bottom: 6vh; }
.spot__tag { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); letter-spacing: -0.02em; }
.spot .btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.spot .btn:hover { background: var(--fg); border-color: var(--fg); }

.spot__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); height: 2px; background: var(--line); }
.spot__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.mode-lite .spot__bar, .mode-lite .spot__hud b { display: none; }

/* ==========================================================================
   Switch 3D / Lite
   ========================================================================== */

.mode-switch { display: flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-left: auto; margin-right: 1.6rem; }
.mode-switch__opt { opacity: 0.45; transition: opacity 0.3s; }
.mode-3d .mode-switch__opt[data-opt="3d"], .mode-lite .mode-switch__opt[data-opt="lite"] { opacity: 1; }
.mode-switch__track { position: relative; width: 34px; height: 18px; border-radius: 99px; border: 1px solid currentColor; }
.mode-switch__track i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; transition: transform 0.5s var(--ease-expo); }
.mode-lite .mode-switch__track i { transform: translateX(16px); }

/* ==========================================================================
   Distorsión WebGL (canvas compartido)
   ========================================================================== */

.fx-canvas { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; visibility: hidden; will-change: transform; }

/* ==========================================================================
   Galería: cilindro 3D
   ========================================================================== */

.page-hero--tight { padding-bottom: 1.5rem; }
.cyl { position: relative; padding-bottom: var(--section); overflow: hidden; }
.cyl__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 var(--gutter); position: relative; z-index: 2; }
.cyl__tabs button {
	border: 1px solid var(--line); border-radius: 99px; padding: 0.7em 1.3em;
	font-family: var(--f-display); font-weight: 500; font-size: var(--fs-base); letter-spacing: -0.01em;
	transition: background 0.4s var(--ease-out), color 0.4s, border-color 0.4s;
}
.cyl__tabs button sup { font-family: var(--f-mono); font-size: 0.65em; margin-left: 0.35em; color: var(--accent-2); }
.cyl__tabs button[aria-selected="true"], .cyl__tabs button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cyl__tabs button[aria-selected="true"] sup { color: var(--ink); }

.cyl__stage {
	--W: clamp(150px, 15vw, 240px);
	position: relative; height: clamp(420px, 68vh, 760px);
	perspective: 1600px; perspective-origin: 50% 40%;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.cyl__stage.is-dragging { cursor: grabbing; }
.cyl__ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.cyl__card {
	position: absolute; left: 0; top: 0;
	width: var(--W); aspect-ratio: 3 / 4; margin: 0;
	transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.cyl__card button {
	display: block; width: 100%; height: 100%; transform-style: preserve-3d;
	transform: translate(-50%, -50%);
	border-radius: 12px; overflow: hidden; background: var(--ink-3);
	box-shadow: 0 0 0 1px rgba(245, 245, 245, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
	transition: box-shadow 0.4s, transform 0.5s var(--ease-expo);
}
.cyl__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* En 3D z-index no aplica: la tarjeta en hover se adelanta en Z hacia el espectador. */
.cyl__card button:hover, .cyl__card button:focus-visible { transform: translate(-50%, -50%) translateZ(70px) scale(1.04); box-shadow: 0 0 0 1px var(--accent-2), 0 0 40px rgba(248, 112, 10, 0.5); filter: none !important; }
.cyl__floor {
	position: absolute; left: 50%; bottom: 4%; width: 70%; height: 30%; transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(248, 112, 10, 0.22), transparent 70%);
	filter: blur(20px); pointer-events: none;
}
.cyl__foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.cyl__hint-icon { color: var(--accent-2); margin-right: 0.4em; }
.cyl__count { color: var(--fg); }

/* ==========================================================================
   Galería en anillo (vista desde adentro) — foro de filmación de noche
   ========================================================================== */
.arc {
	--W: clamp(170px, 17vw, 270px);  /* ancho de tarjeta */
	--px: 0;                         /* parallax por giro (-1..1), lo pone main.js */
	--mx: 0; --my: 0;                /* parallax por mouse (-0.5..0.5), solo 3D */
	position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
	background: radial-gradient(120% 80% at 50% 45%, #140b06 0%, #07060a 55%, #030304 100%);
}
.arc__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; perspective: 700px; }
/* techo: rejilla de armadura de luces en perspectiva; se desliza con el giro */
.arc__ceil {
	position: absolute; left: -40%; right: -40%; top: -8%; height: 62%;
	transform-origin: 50% 0; transform: rotateX(-68deg) translateX(calc(var(--mx) * -30px));
	background:
		repeating-linear-gradient(90deg, rgba(255, 170, 110, 0.12) 0 2px, transparent 2px 120px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 90px);
	background-position: calc(var(--px) * 480px) 0, 0 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
/* focos colgantes (conos de luz naranja) */
.arc__lamps { position: absolute; inset: 0 -20%; display: flex; justify-content: space-around; transform: translateX(calc(var(--px) * -140px + var(--mx) * -40px)); }
.arc__lamps i { position: relative; width: 2px; height: 16%; background: linear-gradient(#000, rgba(255, 200, 150, 0.35)); }
.arc__lamps i::after {
	content: ""; position: absolute; left: 50%; top: 100%; width: 34vw; height: 70vh; transform: translateX(-50%);
	background: radial-gradient(40% 100% at 50% 0%, rgba(248, 112, 10, 0.16), transparent 70%);
	clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
}
.arc__lamps i:nth-child(even)::after { background: radial-gradient(40% 100% at 50% 0%, rgba(255, 220, 190, 0.08), transparent 70%); }
.arc__haze { position: absolute; left: 50%; top: 50%; width: 90vw; height: 55vh; transform: translate(calc(-50% + var(--mx) * 20px), -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(248, 112, 10, 0.18), transparent 70%); }
/* piso brillante con rejilla; se desliza con el giro */
.arc__floor {
	position: absolute; left: -40%; right: -40%; bottom: -10%; height: 52%;
	transform-origin: 50% 100%; transform: rotateX(70deg);
	background:
		linear-gradient(to top, rgba(248, 112, 10, 0.1), transparent 60%),
		repeating-linear-gradient(90deg, rgba(255, 150, 80, 0.1) 0 1px, transparent 1px 110px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 110px);
	background-position: 0 0, calc(var(--px) * 440px) 0, 0 0;
	-webkit-mask-image: linear-gradient(to top, #000 30%, transparent); mask-image: linear-gradient(to top, #000 30%, transparent);
}
/* polvo en el aire (dos capas a distinta velocidad) */
.arc__dust i { position: absolute; inset: -10%; opacity: 0.55;
	background-image: radial-gradient(1.5px 1.5px at 10% 20%, #ffd9b8, transparent), radial-gradient(1px 1px at 35% 70%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 62% 35%, #ffc38f, transparent), radial-gradient(1px 1px at 88% 60%, #fff, transparent), radial-gradient(1px 1px at 50% 90%, #ffd9b8, transparent);
	background-size: 420px 320px;
	transform: translate(calc(var(--px) * -120px + var(--mx) * -30px), calc(var(--my) * -20px));
}
.arc__dust i + i { background-size: 640px 480px; opacity: 0.35; transform: translate(calc(var(--px) * -260px + var(--mx) * -60px), calc(var(--my) * -40px)); animation: dust 14s linear infinite alternate; }
@keyframes dust { to { background-position: 60px -80px; } }

.arc__head { position: absolute; left: 0; right: 0; top: calc(var(--gutter) + 3.5rem); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; pointer-events: none; }
.arc__head a { pointer-events: auto; }
.arc__head .h-display { font-size: clamp(2.6rem, 1rem + 5vw, 6.5rem); }
.arc__stage {
	position: absolute; inset: 0; perspective: 1000px; perspective-origin: 50% 46%;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.arc__stage.is-dragging { cursor: grabbing; }
.arc__ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.arc__card { position: absolute; left: 0; top: 0; width: var(--W); aspect-ratio: 3 / 4; margin: 0; transform-style: preserve-3d; will-change: transform; }
.arc__card[hidden] { display: none; }
/* tarjeta: marco de vidrio con borde neón naranja, imagen adentro y líneas finas de pantalla */
.arc__card button {
	position: absolute; inset: 0; transform: translate(-50%, -50%); display: block; padding: 9px; border-radius: 18px;
	background: linear-gradient(160deg, rgba(255, 160, 90, 0.18), rgba(20, 10, 6, 0.6) 40%, rgba(248, 112, 10, 0.14));
	box-shadow: inset 0 0 0 1.5px rgba(248, 112, 10, 0.55), inset 0 0 22px rgba(248, 112, 10, 0.18), 0 0 18px rgba(248, 112, 10, 0.22);
	transition: box-shadow 0.4s, transform 0.5s var(--ease-expo), filter 0.4s;
}
.mode-3d .arc__card button { -webkit-box-reflect: below 10px linear-gradient(transparent 58%, rgba(0, 0, 0, 0.28)); }
.arc__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; pointer-events: none; -webkit-user-drag: none; background: #0d0a08; }
.arc__card button::after { content: ""; position: absolute; inset: 9px; border-radius: 11px; pointer-events: none;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px), linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent 30%); }
.arc__card.is-active button {
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: inset 0 0 0 2px #ffa65c, inset 0 0 30px rgba(248, 112, 10, 0.4), 0 0 40px rgba(248, 112, 10, 0.55), 0 0 90px rgba(248, 112, 10, 0.25);
}
.arc__card button:hover, .arc__card button:focus-visible { box-shadow: inset 0 0 0 2px #ffa65c, inset 0 0 30px rgba(248, 112, 10, 0.4), 0 0 44px rgba(248, 112, 10, 0.6); }
.mode-lite .arc__card button { box-shadow: inset 0 0 0 1.5px rgba(248, 112, 10, 0.55); }
.mode-lite .arc__card.is-active button { box-shadow: inset 0 0 0 2px #ffa65c, 0 0 24px rgba(248, 112, 10, 0.45); }

/* Showreel: tarjetas horizontales (16:9) con botón de play y tarjeta final */
.arc--reel { --W: clamp(300px, 30vw, 540px); }
.arc--reel .arc__card { aspect-ratio: 16 / 9; }
.arc--reel .arc__card button { border-radius: 16px; }
.arc__play {
	position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
	background: rgba(10, 8, 6, 0.55); box-shadow: inset 0 0 0 1.5px rgba(255, 166, 92, 0.8), 0 0 24px rgba(248, 112, 10, 0.4);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.5s var(--ease-expo);
}
.arc__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.arc__card.is-active .arc__play { opacity: 1; transform: none; }
.arc__card--cta { display: block; }
.arc__cta {
	position: absolute; inset: 0; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8%; padding: 0 9%; border-radius: 16px;
	background: radial-gradient(90% 120% at 20% 50%, rgba(248, 112, 10, 0.3), transparent 60%), linear-gradient(135deg, #1f1109, #0b0a09 60%);
	box-shadow: inset 0 0 0 1.5px rgba(248, 112, 10, 0.6), 0 0 22px rgba(248, 112, 10, 0.25);
	transition: box-shadow 0.4s, transform 0.5s var(--ease-expo);
}
.arc__card--cta.is-active .arc__cta { transform: translate(-50%, -50%) scale(1.05); box-shadow: inset 0 0 0 2px #ffa65c, 0 0 50px rgba(248, 112, 10, 0.55); }
.arc__cta-reel { height: 64%; width: auto; flex: none; fill: var(--accent); }
.arc__cta-reel .reel__holes { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 9s linear infinite; }
.arc__cta:hover .arc__cta-reel .reel__holes { animation-duration: 1.4s; }
.arc__cta-label { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 0.6rem + 2vw, 2.8rem); line-height: 0.95; letter-spacing: -0.04em; }
.arc__cta-label em { font-family: var(--f-body); font-style: italic; font-weight: 300; color: var(--accent); }
.arc__cta-label i { font-style: normal; color: var(--accent); display: inline-block; transition: transform 0.5s var(--ease-expo); }
.arc__cta:hover .arc__cta-label i { transform: translateX(0.3em); }
.mode-3d .arc__cta { -webkit-box-reflect: below 10px linear-gradient(transparent 58%, rgba(0, 0, 0, 0.28)); }

/* título de la pieza activa */
.arc__info { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + 5.5rem); max-width: min(34rem, 42vw); pointer-events: none; }
.arc__cat { margin: 0 0 0.5rem; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.arc__title { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 1rem + 2.6vw, 3.6rem); line-height: 0.95; letter-spacing: -0.035em; }
.arc__title::before { content: "↳ "; color: var(--accent); font-weight: 400; }

/* controles inferiores: filtro + regla de marcas */
.arc__ui { position: absolute; left: 50%; bottom: var(--gutter); transform: translateX(-50%); display: grid; justify-items: center; gap: 0.9rem; width: min(560px, 90vw); }
.arc__filter { position: relative; }
.arc__filter-btn {
	display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.8rem; border-radius: 99px;
	background: linear-gradient(180deg, rgba(248, 112, 10, 0.28), rgba(60, 22, 4, 0.55)); border: 1px solid rgba(255, 166, 92, 0.45);
	box-shadow: 0 0 24px rgba(248, 112, 10, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	font-family: var(--f-display); font-weight: 500; font-size: var(--fs-base); transition: box-shadow 0.3s, border-color 0.3s;
}
.arc__filter-btn:hover, .arc__filter-btn[aria-expanded="true"] { border-color: #ffa65c; box-shadow: 0 0 34px rgba(248, 112, 10, 0.45); }
.arc__filter-icon { display: grid; gap: 3px; justify-items: end; }
.arc__filter-icon i { display: block; height: 1.5px; background: currentColor; width: 16px; }
.arc__filter-icon i:nth-child(2) { width: 11px; }
.arc__filter-icon i:nth-child(3) { width: 6px; }
.arc__menu {
	position: absolute; left: 50%; bottom: calc(100% + 0.7rem); transform: translateX(-50%); min-width: 240px; margin: 0; padding: 0.4rem; list-style: none;
	border-radius: 16px; background: rgba(16, 10, 7, 0.92); border: 1px solid rgba(255, 166, 92, 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.arc__menu[hidden] { display: none; }
.arc__menu button { display: flex; justify-content: space-between; width: 100%; padding: 0.65rem 0.9rem; border-radius: 10px; text-align: left; font-size: var(--fs-sm); color: var(--fg-2); transition: background 0.2s, color 0.2s; }
.arc__menu button:hover { background: rgba(248, 112, 10, 0.12); color: var(--fg); }
.arc__menu button[aria-pressed="true"] { color: var(--accent-2); }
.arc__menu sup { font-family: var(--f-mono); font-size: 0.7rem; color: var(--mute); }
.arc__scrub { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 0.9rem; width: 100%; }
.arc__ticks { cursor: pointer; touch-action: none; }
.arc__arrow {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid rgba(255, 166, 92, 0.45); background: rgba(20, 10, 6, 0.55); color: var(--fg); font-size: 1rem;
	transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-expo);
}
.arc__arrow:hover { border-color: #ffa65c; background: rgba(248, 112, 10, 0.2); box-shadow: 0 0 18px rgba(248, 112, 10, 0.4); }
.arc__arrow:active { transform: scale(0.92); }
.arc__scrub:focus-visible { outline: 1px dashed var(--accent); outline-offset: 6px; }
.arc__num { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--fg); min-width: 2ch; }
.arc__num--total { color: var(--mute); }
.arc__ticks { position: relative; height: 22px; display: flex; justify-content: space-between; align-items: center; }
.arc__ticks i { width: 1px; height: 14px; background: rgba(245, 245, 245, 0.3); transition: background 0.2s, height 0.2s; }
.arc__ticks i.is-near { background: var(--accent-2); height: 18px; }
.arc__thumb { position: absolute; top: 50%; left: 0; width: 16px; height: 22px; margin: -11px 0 0 -8px; border: 1.5px solid var(--fg); border-radius: 4px; box-shadow: 0 0 12px rgba(248, 112, 10, 0.6); pointer-events: none; }
.arc__hint { margin: 0; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.viewer__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); margin: 0; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--mute); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.site-header__meta { display: none; }
	.hero__stage { top: 42%; width: min(30vh, 52vw); }
	.flare { top: 42%; width: min(40vh, 80vw); }
	.mode-switch { margin-right: 1rem; }
	.cyl__stage { --W: 34vw; perspective: 800px; height: 60vh; }
	.cyl__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.cyl__tabs::-webkit-scrollbar { display: none; }
	.cyl__tabs button { flex: none; }
	.arc { --W: 44vw; }
	.arc--reel { --W: 74vw; }
	.arc__stage { perspective: 700px; }
	.arc__info { bottom: calc(var(--gutter) + 8.5rem); max-width: 80vw; }
	.arc__hint { display: none; }
	.hero__copy { top: auto; bottom: calc(var(--gutter) + 22vw + 3rem); left: var(--gutter); }
	.hero__scroll { display: none; }
	.hud__tr, .hud__br { display: none; }
	.srow__link { grid-template-columns: 2.5rem minmax(0, 1fr) 2rem; }
	.srow__short { grid-column: 2 / 3; }
	.srow__arrow { grid-row: 1; grid-column: 3; }
	.stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wgrid { grid-template-columns: 1fr; }
	.wcard:nth-child(even) { margin-top: 0; }
	.sdetail, .split2, .contact { grid-template-columns: 1fr; }
	.spot__intro { bottom: auto; top: calc(var(--gutter) + 6rem); }
	.spot__title { font-size: clamp(2.2rem, 1rem + 7vw, 3.4rem); }
	.spot__text { font-size: var(--fs-base); }
	.values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
	.manifesto__line:nth-child(even) { padding-left: 1.2rem; }
	.manifesto__line { font-size: clamp(2rem, 0.8rem + 7vw, 3.8rem); line-height: 1; }
	.wheel { --R: 150vw; --W: 40vw; }
	.wheel-sec { min-height: 0; }
	.reel-track__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.reel-track__viewport::-webkit-scrollbar { display: none; }
	.vcard { width: 78vw; scroll-snap-align: center; }
	.reel-cta { width: 78vw; scroll-snap-align: center; }
}

@media (max-width: 560px) {
	.vgrid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hud { inset: calc(var(--gutter) + 3rem) var(--gutter) var(--gutter); }
}

/* ==========================================================================
   Movimiento reducido: todo estático y legible
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.manifesto { height: auto; }
	.manifesto__pin { position: relative; height: auto; padding-block: var(--section); }
	.shutter { display: none; }
}

/* Aviso de rendimiento y spot en modo estático */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 300; max-width: min(92vw, 30rem); padding: 0.8rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(12, 12, 12, 0.92); color: var(--fg-2); font-size: var(--fs-sm); text-align: center; }
.spot--static { height: auto; }
.spot--static .spot__pin { position: relative; height: 90vh; height: 90svh; }
.spot--static .spot__gl, .spot--static .spot__q, .spot--static .spot__bar, .spot--static .spot__hint { display: none; }
.spot--static .spot__poster { display: block; }
.spot__retry { display: none; }
.mode-3d .spot--static .spot__retry { display: inline-flex; }
.spot--static .spot__end { opacity: 1 !important; visibility: visible !important; pointer-events: auto; transform: none !important; }

/* ==========================================================================
   Contacto: robot del ducto (bloque animotion/vent-contact)
   ========================================================================== */
.vent { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #0b0a09; }
.vent__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.mode-3d .vent__gl { display: block; }
.vent__copy { position: absolute; left: 0; top: calc(var(--gutter) + 5rem); max-width: 34rem; z-index: 2; pointer-events: none; }
.vent__title { font-size: clamp(2.4rem, 1rem + 4.2vw, 5.4rem); line-height: 0.92; letter-spacing: -0.04em; font-weight: 600; }

/* Panel industrial con el botón */
.vent__panel { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) + 2rem); z-index: 3; display: grid; justify-items: center; gap: 0.7rem; padding: 1.1rem 1.3rem 1rem; border-radius: 10px; background: linear-gradient(#e0b21e, #b88a10); box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -3px 0 rgba(0,0,0,0.35), 0 18px 40px -12px rgba(0,0,0,0.8); }
.vent__panel::before { content: ""; position: absolute; inset: 6px; border-radius: 6px; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(0,0,0,0.12) 10px 20px); pointer-events: none; }
.vent__panel-label { position: relative; font-family: var(--f-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #2a2010; }
.vent__btn { position: relative; display: grid; justify-items: center; gap: 0.5rem; cursor: pointer; }
.vent__btn-cap { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6a4a, #c01e10 55%, #6e0a04); box-shadow: 0 7px 0 #4a0602, 0 12px 18px rgba(0,0,0,0.6), inset 0 -4px 8px rgba(0,0,0,0.35); transition: transform 0.12s, box-shadow 0.12s; }
.vent__btn:hover .vent__btn-cap { filter: brightness(1.12); }
.vent__btn:active .vent__btn-cap, .vent.is-open .vent__btn-cap { transform: translateY(6px); box-shadow: 0 1px 0 #4a0602, 0 4px 8px rgba(0,0,0,0.6), inset 0 -2px 6px rgba(0,0,0,0.35); }
.vent__btn-text { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; color: #1d1608; text-transform: uppercase; }
.vent__panel-led { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #3a1a0a; box-shadow: inset 0 1px 2px rgba(0,0,0,0.6); }
.vent.is-open .vent__panel-led { background: #ff3b1a; box-shadow: 0 0 10px #ff3b1a; animation: rec 0.6s steps(2, jump-none) infinite; }

/* Tarjeta de contacto */
.vent__card { position: absolute; inset: 0; margin: auto; height: fit-content; z-index: 4; width: min(92vw, 30rem); padding: 2rem 2rem 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(12, 11, 10, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9); }
.vent__card[hidden] { display: none; }
.vent__card-title { font-size: clamp(2rem, 1rem + 2.6vw, 3rem); letter-spacing: -0.035em; }
.vent__card-text { color: var(--fg-2); margin: 0.8rem 0 1.3rem; }
.vent__data { display: grid; gap: 0.75rem; margin: 0 0 1.6rem; }
.vent__data div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.8rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: 0.7rem; }
.vent__data dt { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.vent__data dd { margin: 0; }
.vent__data a:hover { color: var(--accent); }
.vent__link { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.vent__link:hover { background: var(--fg); border-color: var(--fg); }
.vent__close { position: absolute; top: 0.9rem; right: 1rem; font-size: 1rem; color: var(--mute); }
.vent__close:hover { color: var(--fg); }

/* Versión ligera (CSS): rejilla, ojos y mini robot */
.vent__lite { display: none; }
.mode-lite .vent__lite { display: block; }
.vent__grille { position: absolute; right: 12%; top: 26%; width: min(38vw, 420px); aspect-ratio: 1.6; border: 10px solid #b9b2a2; border-radius: 4px; background: radial-gradient(#050404, #1c1a17); box-shadow: inset 0 0 40px #000, 0 10px 30px rgba(0,0,0,0.6); overflow: visible; }
.vent__slat { position: absolute; left: 0; right: 0; height: 9%; top: calc(6% + var(--i) * 13%); background: linear-gradient(#d8d0bf, #8a8373); transform: perspective(300px) rotateX(35deg); transition: transform 0.9s cubic-bezier(.5,0,.9,.5) calc(var(--i) * 0.18s), opacity 0.3s calc(0.8s + var(--i) * 0.18s); }
.vent.is-open .vent__slat { transform: translate(calc((var(--i) - 3) * 6px), 90vh) rotate(calc(35deg + var(--i) * 20deg)); opacity: 0; }
.vent__eyes { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 22px; opacity: 0; transition: opacity 0.2s 0.4s; }
.vent__eyes b, .vent__minibot-eyes b { width: 16px; height: 16px; border-radius: 50%; background: #ff2a14; box-shadow: 0 0 14px #ff2a14; }
.vent.is-open .vent__eyes { opacity: 1; }
.vent__minibot { position: absolute; right: calc(12% + min(38vw, 420px) / 2 - 45px); top: calc(26% + 40px); width: 90px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0c25a, #c58a18 60%, #7a4a0c); opacity: 0; transform: scale(0.4); display: grid; place-items: center; }
.vent__minibot::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 20px; height: 22px; transform: translateX(-50%); background: radial-gradient(ellipse at top, #bfe3ff, rgba(120,190,255,0)); }
.vent__minibot-eyes { display: flex; gap: 14px; margin-top: 16px; }
.vent__phone { position: absolute; left: -26px; bottom: -6px; font-size: 26px; color: #c0281c; }
.vent.is-open .vent__minibot { animation: minibotOut 1.4s 1.6s cubic-bezier(.3,.7,.2,1) forwards, minibotHover 2s 3s ease-in-out infinite; }
@keyframes minibotOut { 0% { opacity: 1; transform: scale(0.4); } 60% { opacity: 1; transform: translate(-30vw, -12vh) scale(1.1); } 100% { opacity: 1; transform: translate(-46vw, -4vh) scale(1); } }
@keyframes minibotHover { 0%, 100% { opacity: 1; transform: translate(-46vw, -4vh); } 50% { opacity: 1; transform: translate(-46vw, -6vh); } }

@media (max-width: 900px) {
	.vent__copy { top: calc(var(--gutter) + 4.5rem); }
	.vent__panel { left: 50%; transform: translateX(-50%); bottom: var(--gutter); }
	.vent__grille { right: 50%; transform: translateX(50%); top: 34%; width: 70vw; }
	.vent__minibot { right: calc(50% - 45px); top: calc(34% + 30px); }
	.vent__card { inset: 4rem 0 auto 0; }
}
@media (prefers-reduced-motion: reduce) {
	.vent__slat, .vent__minibot { transition: none; animation: none !important; }
}

/* Spot: claqueta de precarga */
.spot__loader { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 1.4rem; background: radial-gradient(circle at 50% 45%, #15120f, #050505 70%); }
.spot__loader[hidden] { display: none; }
.clap { width: min(62vw, 300px); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7)); }
.clap__top { display: flex; height: 38px; background: #1a1a1a; border-radius: 4px 4px 0 0; overflow: hidden; transform-origin: 0 100%; animation: clap 1.6s cubic-bezier(.6,0,.4,1) infinite; }
.clap__top i { flex: 1; background: repeating-linear-gradient(0deg, transparent 0 0); }
.clap__top i:nth-child(odd) { background: #efe7d6; transform: skewX(-25deg); margin: 0 -6px; }
.clap__body { display: grid; gap: 0.45rem; padding: 1rem 1.1rem; background: #141414; border: 2px solid #efe7d6; border-top: 0; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: #efe7d6; }
.clap__body span:first-child { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.01em; color: var(--accent); }
@keyframes clap { 0%, 55% { transform: rotate(-22deg); } 62% { transform: rotate(0deg); } 70% { transform: rotate(-3deg); } 76%, 100% { transform: rotate(0deg); } }
.spot__loader-text { margin: 0; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.spot__loader-text b { color: var(--accent); }
.spot__loader-bar { width: min(62vw, 300px); height: 2px; background: var(--line); }
.spot__loader-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.2s; }

/* Ducto: botón de sonido (lo agrega vent.js en modo 3D) */
.vent__sound {
	position: absolute; right: var(--gutter); top: calc(var(--gutter) + 4.5rem); z-index: 3;
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5em 0.9em; border-radius: 99px;
	border: 1px solid var(--line); background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2);
	transition: border-color 0.3s, color 0.3s;
}
.vent__sound:hover { border-color: var(--accent); color: var(--fg); }
.vent__sound b { font-weight: 400; color: var(--accent); }
.vent__sound[aria-pressed="false"] b { color: var(--mute); }
.vent__sound i { display: inline-flex; align-items: flex-end; gap: 2px; width: 12px; height: 10px; }
.vent__sound i::before, .vent__sound i::after { content: ""; width: 2px; background: currentColor; transform-origin: bottom; animation: snd-bar 0.9s ease-in-out infinite alternate; }
.vent__sound i::before { height: 60%; }
.vent__sound i::after { height: 100%; animation-delay: 0.3s; }
.vent__sound[aria-pressed="false"] i::before, .vent__sound[aria-pressed="false"] i::after { animation: none; height: 20%; }
@keyframes snd-bar { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* Spot: botón de sonido (junto al de calidad) */
.spot__sound { position: absolute; right: var(--gutter); top: calc(var(--gutter) + 7.6rem); z-index: 2; padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: 99px; background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); transition: border-color 0.3s, color 0.3s; }
.spot__sound:hover { border-color: var(--accent); color: var(--fg); }
.spot__sound b { color: var(--accent); font-weight: 600; }
.mode-lite .spot__sound, .spot--static .spot__sound { display: none; }

/* ==========================================================================
   Secciones genéricas (páginas nuevas) — fondos y estilos seleccionables
   ========================================================================== */
.pf__filters[hidden] { display: none; }
.sx { --px: 0; --mx: 0; --my: 0; position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); }
.sx--bg-night { background: #04050c; }
.sx--bg-night .manifesto__sky-lite { --sky-top: #03040b; --sky-bottom: #0d1330; --sky-glow: rgba(60, 90, 200, 0.5); }
.sx--bg-stage { background: radial-gradient(120% 80% at 50% 45%, #140b06 0%, #07060a 55%, #030304 100%); }
.sx--bg-orange { background: radial-gradient(120% 140% at 20% 0%, #ff9a3c 0%, #f8700a 45%, #b84a06 100%); color: #140903; }
.sx--bg-orange .eyebrow, .sx--bg-orange .sx__text { color: rgba(20, 9, 3, 0.75); }
.sx--bg-orange .eyebrow::before { background: #140903; }
.sx--bg-orange .btn { border-color: rgba(20, 9, 3, 0.4); color: #140903; }
.sx--bg-orange .btn:hover { background: #140903; color: #f8700a; }
.mode-3d .sx.has-sky .manifesto__sky { display: block; }
.mode-3d .sx.has-sky .manifesto__sky-lite { display: none; }
.sx__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sx__title { position: relative; margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 1rem + 4.2vw, 5.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.sx__text { max-width: 38rem; margin-top: 1.4rem; font-size: var(--fs-lg); line-height: 1.45; color: var(--fg-2); }
.sx__text p { margin: 0 0 1em; }
.sx-empty { color: var(--mute); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; }

/* Texto + imagen */
.sx-mt__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.sx-mt__grid.is-rev .sx-mt__media { order: 2; }
.sx-mt__media { perspective: 1000px; }
.sx-mt__frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border-radius: 16px; background: var(--ink-3);
	box-shadow: inset 0 0 0 1px rgba(248, 112, 10, 0.25), 0 30px 70px -30px rgba(0, 0, 0, 0.9); transform-style: preserve-3d; }
.sx-mt__frame img { width: 100%; height: 115%; object-fit: cover; }
button.sx-mt__frame img { height: 100%; }
.sx-mt__frame--empty { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 50%, rgba(248, 112, 10, 0.2), transparent 70%), #0e0b09; }
.sx-mt__reel { height: 50%; width: auto; fill: var(--accent); opacity: 0.8; }

/* Galería libre */
.sx-gal__grid { list-style: none; margin: 0; padding: 0 var(--gutter); }
.sx-gal__grid--mosaic { columns: 3 260px; column-gap: 1.2rem; }
.sx-gal__grid--strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; }
.sx-gal__grid--strip::-webkit-scrollbar { display: none; }
.sx-gal__grid--strip .sx-gal__item { flex: 0 0 min(70vw, 460px); scroll-snap-align: start; }
.sx-gal__item { break-inside: avoid; margin: 0 0 1.2rem; }
.sx-gal__btn { display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 12px; background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(248, 112, 10, 0.18); }
.sx-gal__btn img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease-expo); }
.sx-gal__btn:hover img { transform: scale(1.04); }
.sx-gal__cap { margin: 0.5rem 0 0; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

/* Video destacado */
.sx-fv__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border-radius: 18px; background: var(--ink-3);
	box-shadow: inset 0 0 0 1.5px rgba(248, 112, 10, 0.45), 0 0 60px rgba(248, 112, 10, 0.18), 0 40px 90px -40px rgba(0, 0, 0, 0.9); transform-style: preserve-3d; }
.sx-fv__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo), filter 0.6s; filter: brightness(0.8); }
.sx-fv__frame:hover img { transform: scale(1.03); filter: none; }
.sx-fv__play { position: absolute; left: 50%; top: 50%; width: clamp(70px, 8vw, 110px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
	background: rgba(248, 112, 10, 0.92); box-shadow: 0 0 0 10px rgba(248, 112, 10, 0.18), 0 0 50px rgba(248, 112, 10, 0.6); transition: transform 0.5s var(--ease-expo); }
.sx-fv__play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 22px solid #140903; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.sx-fv__frame:hover .sx-fv__play { transform: translate(-50%, -50%) scale(1.08); }

/* Tarjetas */
.sx-cards__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); list-style: none; margin: 0; }
.sx-card { position: relative; padding: clamp(1.4rem, 2.4vw, 2.2rem); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 160, 90, 0.08), rgba(20, 12, 8, 0.6) 40%);
	box-shadow: inset 0 0 0 1px rgba(248, 112, 10, 0.25); transition: box-shadow 0.4s; transform-style: preserve-3d; }
.sx-card:hover { box-shadow: inset 0 0 0 1.5px #ffa65c, 0 0 40px rgba(248, 112, 10, 0.25); }
.sx-card__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--mute); }
.sx-card__icon { display: block; font-size: 2rem; line-height: 1; margin-bottom: 1.4rem; color: var(--accent); }
.sx-card__title { margin: 0 0 0.6rem; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.sx-card__text { margin: 0; color: var(--fg-2); }
.sx--bg-orange .sx-card { background: rgba(20, 9, 3, 0.08); box-shadow: inset 0 0 0 1px rgba(20, 9, 3, 0.25); }
.sx--bg-orange .sx-card__text, .sx--bg-orange .sx-card__icon { color: #140903; }

/* Cita */
.sx-quote__fig { max-width: 62rem; margin: 0 auto; text-align: center; }
.sx-quote__text { margin: 0; font-size: clamp(1.8rem, 1rem + 2.8vw, 3.8rem); line-height: 1.05; }
.sx-quote__who { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2rem; text-align: left; font-size: var(--fs-sm); color: var(--fg-2); }
.sx-quote__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }
.sx-quote__who b { display: block; color: var(--fg); font-weight: 600; }

/* Llamado a la acción */
.sx-cta { text-align: left; }
.sx-cta__title { font-size: clamp(2.8rem, 1rem + 7vw, 9rem); }
.sx-cta__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2.2rem 0 0; }
.sx-cta__btn { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.sx--bg-orange .sx-cta__btn { background: #140903; color: #f8700a; border-color: #140903; }

/* Preguntas frecuentes */
.sx-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.sx-faq__item { border-bottom: 1px solid var(--line); }
.sx-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; list-style: none; cursor: pointer;
	font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.sx-faq__item summary::-webkit-details-marker { display: none; }
.sx-faq__item summary i { position: relative; flex: none; width: 14px; height: 14px; }
.sx-faq__item summary i::before, .sx-faq__item summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--accent); transition: transform 0.4s var(--ease-expo); }
.sx-faq__item summary i::after { transform: rotate(90deg); }
.sx-faq__item[open] summary i::after { transform: rotate(0); }
.sx-faq__a { padding-bottom: 1.3rem; color: var(--fg-2); max-width: 42rem; }
.sx-faq__a p { margin: 0 0 0.8em; }

@media (max-width: 900px) {
	.sx-mt__grid, .sx-faq__grid { grid-template-columns: 1fr; }
	.sx-mt__grid.is-rev .sx-mt__media { order: 0; }
	.sx-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sx-cards__grid { grid-template-columns: 1fr; } }
