/* Grumasur — grúas y maquinarias del sureste
   Identidad: amarillo #FFCD00, negro, rojo #E8112D (acento Hyva). Archivo (ancha, industrial) + JetBrains Mono (rótulos técnicos). */

:root {
  --negro: #0E0F11;
  --grafito: #16181C;
  --acero: #1F232A;
  --plano: #0B1424;
  --amarillo: #FFCD00;
  --amarillo-claro: #FFE066;
  --amarillo-osc: #B58F00;
  --rojo: #E8112D;
  --hueso: #F3F0E8;
  --tinta: #121314;
  --gris: #55585E;
  --e: cubic-bezier(.22, 1, .36, 1);
  --f: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --nav-h: 76px;
  --r: 18px;
  --borde: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--f); color: var(--tinta); background: var(--negro); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; }
.contenedor { width: min(1240px, 100% - 2 * var(--borde)); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }

.saltar { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--amarillo); color: #111; font-weight: 700; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 16px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 10px; font: 700 14.5px/1 var(--f); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.btn .i { width: 20px; height: 20px; }
.btn--amarillo { background: var(--amarillo); color: #111; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .55); }
.btn--amarillo:hover { background: var(--amarillo-claro); }
.btn--linea { color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn--linea:hover { box-shadow: inset 0 0 0 1.5px var(--amarillo); color: var(--amarillo); }
.btn--negro { background: #111; color: #fff; }
.btn--negro .i { color: var(--amarillo); }
.btn--negro:hover { background: #000; color: var(--amarillo); }
.btn--chico { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn--ancho { width: 100%; }

/* ---------- rótulos y títulos ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.franjas { width: 26px; height: 13px; flex: none; color: #111; }
.eyebrow--claro { color: rgba(255, 255, 255, .72); }
.eyebrow--claro .franjas { color: var(--amarillo); }
.eyebrow--oscuro { color: rgba(0, 0, 0, .78); }
.titulo { margin: 0 0 20px; font-family: var(--f); font-weight: 820; font-stretch: 116%; font-size: clamp(34px, 5vw, 68px); line-height: .98; letter-spacing: -.012em; text-transform: uppercase; color: var(--tinta); }
.titulo em, .titulo .acento > span { font-style: normal; background-image: linear-gradient(transparent 60%, var(--amarillo) 60%, var(--amarillo) 92%, transparent 92%); padding: 0 .04em; }
.titulo--claro { color: #fff; }
.titulo--col { font-size: clamp(30px, 3.5vw, 50px); }
.arrenda .titulo--col { font-size: clamp(28px, 3.05vw, 44px); }
.titulo--claro em, .titulo--claro .acento > span { background: none; color: var(--amarillo); padding: 0; }
.lead { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--gris); }
.lead--claro { color: rgba(255, 255, 255, .72); }
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palabra > span { display: inline-block; }

.seccion { position: relative; padding: clamp(84px, 11vw, 150px) 0; overflow-x: clip; }
.cabeza { margin-bottom: clamp(40px, 5vw, 64px); }
.cabeza--dos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 48px; align-items: end; }
.cabeza--dos .titulo { margin-bottom: 0; }
.cabeza--centro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cabeza--centro .titulo { max-width: 18ch; }
.cabeza--centro .lead { margin-inline: auto; }

/* ---------- barra de avance y gancho lateral ---------- */
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; pointer-events: none; transform-origin: left; scale: 0 1; background: var(--amarillo); }
.gancho-lateral { display: none; }
@media (min-width: 1400px) and (hover: hover) {
  .progreso { display: none; }
  .gancho-lateral { display: block; position: fixed; right: 30px; top: calc(var(--nav-h) - 4px); bottom: 34px; width: 34px; z-index: 120; pointer-events: none; }
  .gancho-lateral__cable { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; background: linear-gradient(rgba(255, 255, 255, .15), rgba(160, 160, 160, .9)); transform-origin: top; scale: 1 0; }
  .gancho-lateral__bloque { position: absolute; left: 0; top: 0; width: 34px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
}

/* ---------- navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h); color: #fff; transition: background .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(0, 0, 0, .55), transparent); pointer-events: none; transition: opacity .35s; }
.nav.solida { background: rgba(14, 15, 17, .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.nav.solida::before { opacity: 0; }
.nav__in { height: 100%; width: min(1320px, 100% - 2 * clamp(16px, 3vw, 32px)); margin-inline: auto; display: flex; align-items: center; gap: 18px; }
.nav__logo { display: block; flex: none; transition: opacity .45s, translate .55s var(--e), visibility 0s; }
.nav.en-hero:not([data-abierto]) .nav__logo { opacity: 0; translate: 0 -10px; visibility: hidden; pointer-events: none; transition: opacity .3s, translate .3s, visibility 0s .3s; }
.nav__logo svg { display: block; width: 150px; height: auto; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 10px; font: 600 13px/1 var(--f); font-stretch: 106%; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--amarillo); scale: 0 1; transition: scale .35s var(--e); }
.nav__links a:hover, .nav__links a.activo { color: #fff; }
.nav__links a:hover::after, .nav__links a.activo::after { scale: 1 1; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 500 14px var(--mono); white-space: nowrap; }
.nav__tel .i { width: 18px; height: 18px; color: var(--amarillo); }
.nav__hamb { display: none; width: 46px; height: 46px; margin-left: 4px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__hamb span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: translate .3s, rotate .3s, opacity .3s; }
.nav[data-abierto] .nav__hamb span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.nav[data-abierto] .nav__hamb span:nth-child(2) { opacity: 0; }
.nav[data-abierto] .nav__hamb span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }

.menu-movil { color: #fff; position: fixed; inset: 0; z-index: 190; display: flex; flex-direction: column; gap: 22px; padding: calc(var(--nav-h) + 20px) 24px 30px; background: rgba(12, 13, 15, .97); backdrop-filter: blur(16px); overflow-y: auto; }
.menu-movil[hidden] { display: none; }
.menu-movil nav { display: flex; flex-direction: column; }
.menu-movil nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 800 24px/1.1 var(--f); font-stretch: 116%; text-transform: uppercase; color: #fff; text-decoration: none; opacity: 0; translate: 0 14px; transition: opacity .45s, translate .5s var(--e); transition-delay: calc(var(--i, 0) * .04s); }
.menu-movil.abierto nav a { opacity: 1; translate: 0 0; }
.menu-movil__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 500 16px var(--mono); text-decoration: none; }
.menu-movil__tel .i { color: var(--amarillo); }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--negro); overflow: clip; }
.hero__fondo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.hero__sombra { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .62) 36%, rgba(10, 10, 12, .08) 68%),
  linear-gradient(0deg, var(--negro) 0%, rgba(14, 15, 17, 0) 30%); }
.hero__rejilla { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 205, 0, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 205, 0, .1) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 18% 60%, #000, transparent 72%); mask-image: radial-gradient(ellipse 60% 75% at 18% 60%, #000, transparent 72%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: calc(var(--nav-h) + 48px) 0 clamp(96px, 12vh, 140px); }
.hero__txt { max-width: 820px; }
.hero__logo { display: block; width: clamp(230px, 25vw, 360px); height: auto; overflow: visible; margin: 0 0 30px -6px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.lg-lema { fill: #fff; font: 600 12.6px var(--f); letter-spacing: 3.45px; }
.hero__titulo { margin: 0 0 24px; font-weight: 860; font-stretch: 118%; font-size: clamp(42px, 6.3vw, 104px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.hero__titulo .linea { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__titulo .linea > span { display: inline-block; }
.hero__titulo .linea + .linea > span { color: var(--amarillo); }
.hero__lead b { color: #fff; font-weight: 700; }
.hero__lead { max-width: 540px; margin: 0 0 32px; font-size: clamp(17px, 1.35vw, 20px); color: rgba(255, 255, 255, .82); }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; color: rgba(255, 255, 255, .86); }
.hero__chips img { width: 46px; height: 24px; border-radius: 999px; object-fit: cover; }
.hero__chips .i { width: 18px; height: 18px; margin-left: 8px; color: var(--amarillo); }
.hero__chips a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero__chips a:hover { color: var(--amarillo); }
.hero__spot { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left; }
.hero__spot-boton { position: relative; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s; }
.hero__spot-boton::before, .hero__spot-boton::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 205, 0, .7); animation: onda 2.6s ease-out infinite; }
.hero__spot-boton::after { animation-delay: 1.3s; }
.hero__spot-boton .i { width: 28px; height: 28px; margin-left: 4px; }
.hero__spot:hover .hero__spot-boton { background: var(--amarillo); color: #111; }
.hero__spot-txt { display: flex; flex-direction: column; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__spot-txt b { font: 800 16px var(--f); font-stretch: 116%; letter-spacing: .08em; color: #fff; }
.hero__desliza { position: absolute; left: 0; right: 0; bottom: 26px; width: max-content; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; }
.hero__desliza i { position: relative; width: 2px; height: 40px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.hero__desliza i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--amarillo); animation: desliza 1.9s var(--e) infinite; }
@keyframes desliza { from { translate: 0 -100%; } to { translate: 0 230%; } }
@keyframes onda { from { scale: 1; opacity: .9; } to { scale: 1.6; opacity: 0; } }

/* entrada del hero (al cargar): logo que se arma pieza por pieza y luego el texto */
.m .hero:not(.listo) .hx, .m .hero:not(.listo) .lg-gancho, .m .hero:not(.listo) .lg-franja, .m .hero:not(.listo) .lg-placa,
.m .hero:not(.listo) .lg-ins, .m .hero:not(.listo) .lg-letra, .m .hero:not(.listo) .lg-lema, .m .hero:not(.listo) .hero__rejilla { opacity: 0; }
.m .hero:not(.listo) .hero__titulo .linea > span { translate: 0 105%; }
.m .hero.listo .lg-gancho { animation: hx-gancho 1s var(--e) .15s both; }
.m .hero.listo .lg-franja { animation: hx-franja .5s var(--e) both; animation-delay: calc(.7s + var(--k) * .08s); }
.m .hero.listo .lg-placa { animation: hx-barrido .8s var(--e) .5s both; }
.m .hero.listo .lg-ins { animation: hx-barrido .8s var(--e) .62s both; }
.m .hero.listo .lg-letra { animation: hx-letra .6s var(--e) both; animation-delay: calc(.86s + var(--k) * .055s); }
.m .hero.listo .lg-lema { animation: hx-lema 1s var(--e) 1.3s both; }
.m .hero.listo .hero__rejilla { animation: hx-rejilla 1.6s var(--e) .2s both; }
.m .hero.listo .hero__fondo img { animation: hx-fondo 2.8s var(--e) both; }
.m .hero.listo .hero__titulo .linea > span { animation: hx-linea .95s var(--e) both; animation-delay: var(--d); }
.m .hero.listo .hx { animation: hx-subir .85s var(--e) both; animation-delay: var(--d); }
@keyframes hx-gancho { 0% { opacity: 0; translate: 0 -80px; } 55% { opacity: 1; translate: 0 6px; } 78% { translate: 0 -2px; } 100% { opacity: 1; translate: 0 0; } }
@keyframes hx-franja { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-barrido { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hx-letra { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-lema { from { opacity: 0; letter-spacing: 9px; } to { opacity: 1; letter-spacing: 3.45px; } }
@keyframes hx-rejilla { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hx-fondo { from { scale: 1.14; filter: brightness(.55); } to { scale: 1; filter: none; } }
@keyframes hx-linea { from { translate: 0 105%; } to { translate: 0 0; } }
@keyframes hx-subir { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* ---------- cinta de industrias ---------- */
.cinta { position: relative; z-index: 2; overflow: hidden; padding: 20px 0; background: var(--amarillo); color: #111; }
.cinta::before, .cinta::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(-45deg, #111 0 10px, transparent 10px 20px); opacity: .9; }
.cinta::before { top: 0; }
.cinta::after { bottom: 0; }
.cinta__pista { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: cinta 42s linear infinite; }
.cinta__pista li { display: flex; align-items: center; gap: 30px; padding-right: 30px; font: 800 clamp(17px, 1.9vw, 25px)/1 var(--f); font-stretch: 120%; text-transform: uppercase; white-space: nowrap; }
.cinta__pista li::after { content: ""; width: 34px; height: 17px; background: #111; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M5 0h4L4 12H0ZM12.5 0h4l-5 12h-4ZM20 0h4l-5 12h-4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M5 0h4L4 12H0ZM12.5 0h4l-5 12h-4ZM20 0h4l-5 12h-4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes cinta { to { translate: -50% 0; } }

/* ---------- servicios ---------- */
.servicios { background: var(--hueso); }
.serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.serv { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 26px 50px -32px rgba(30, 24, 6, .4); transition: transform .45s var(--e), box-shadow .45s; }
.serv:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 36px 60px -30px rgba(30, 24, 6, .5); }
.serv__foto { position: relative; margin: 0; aspect-ratio: 16 / 10.5; overflow: hidden; background: #222; }
.serv__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e); }
.serv:hover .serv__foto img { transform: scale(1.05); }
.serv__cuerpo { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 0 28px 30px; }
.serv__num { position: absolute; top: 22px; right: 26px; font: 500 13px var(--mono); letter-spacing: .12em; color: var(--gris); }
.serv__ico { width: 58px; height: 58px; margin-top: -29px; padding: 14px; border-radius: 14px; background: var(--amarillo); color: #111; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); position: relative; }
.serv h3 { margin: 6px 0 0; font: 800 22px/1.12 var(--f); font-stretch: 112%; text-transform: uppercase; }
.serv h3 em { font-style: normal; display: block; color: var(--amarillo-osc); }
.serv p { margin: 0; font-size: 16px; color: var(--gris); }
.serv__link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 13.5px var(--f); letter-spacing: .08em; text-transform: uppercase; color: #111; text-decoration: none; }
.serv__link .i { width: 18px; height: 18px; transition: translate .35s var(--e); }
.serv__link:hover .i { translate: 5px 0; }
.serv--destacado { background: #111; color: #fff; }
.serv--destacado p, .serv--destacado .serv__num { color: rgba(255, 255, 255, .68); }
.serv--destacado h3 em { color: var(--amarillo); }
.serv--destacado .serv__link { color: var(--amarillo); }
.luz::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 205, 0, .14), transparent 60%); }
.luz:hover::after { opacity: 1; }

/* ---------- escenas ligadas al scroll (grúa y volteo) ---------- */
.escena { position: relative; height: 430vh; background: var(--plano); color: #fff; }
.escena--volteo { height: 400vh; }
.escena__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.escena__plano { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 55% 55% at 66% 56%, rgba(255, 205, 0, .1), transparent 70%),
  linear-gradient(rgba(140, 175, 230, .11) 1px, transparent 1px) 0 0 / 200px 200px,
  linear-gradient(90deg, rgba(140, 175, 230, .11) 1px, transparent 1px) 0 0 / 200px 200px,
  linear-gradient(rgba(140, 175, 230, .05) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(140, 175, 230, .05) 1px, transparent 1px) 0 0 / 40px 40px,
  var(--plano); }
.escena__plano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--negro), transparent 14%, transparent 86%, var(--negro)); }
.escena__in { height: 100%; display: grid; grid-template-columns: minmax(290px, .74fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: var(--nav-h); }
.escena__titulo { margin: 0 0 28px; font-weight: 820; font-stretch: 116%; font-size: clamp(30px, 3.5vw, 52px); line-height: .98; text-transform: uppercase; }
.escena__titulo em { display: block; font-style: normal; color: var(--amarillo); }
.capitulos { position: relative; min-height: 190px; margin: 0 0 26px; padding: 0; list-style: none; }
.cap { position: absolute; inset: 0 0 auto 0; }
.cap__n { display: block; margin-bottom: 8px; font: 500 13px var(--mono); letter-spacing: .14em; color: var(--amarillo); }
.cap h3 { margin: 0 0 10px; font: 800 24px/1.1 var(--f); font-stretch: 112%; text-transform: uppercase; }
.cap p { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, .74); }
.m .cap { opacity: 0; translate: 0 18px; filter: blur(4px); transition: opacity .5s, translate .6s var(--e), filter .5s; }
.m .cap.activo { opacity: 1; translate: 0 0; filter: none; }
/* sin coreografía (movimiento reducido o si motion.js no carga): la escena es una sección normal, ya armada */
html:not(.m) .escena { height: auto; }
html:not(.m) .escena__pin { position: relative; height: auto; min-height: 100vh; padding: 30px 0 60px; }
html:not(.m) .cap { position: static; margin-bottom: 22px; }
html:not(.m) .capitulos { min-height: 0; }
.escena__lienzo { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hud { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hud__dato b { font-weight: 500; font-size: 15px; color: var(--amarillo); font-variant-numeric: tabular-nums; }
.hud__fase { min-width: 9.5em; color: var(--amarillo); }
.hud__barra { position: relative; flex: 1; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.hud__barra i { position: absolute; inset: 0; background: var(--amarillo); transform-origin: left; }
.hud__desliza { color: rgba(255, 255, 255, .45); }
.plano { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 130px); overflow: visible; --relleno: 1; }
.plano.trazando { filter: drop-shadow(0 0 5px rgba(255, 205, 0, .45)); }
.plano .tz { fill: none; stroke: #08090B; stroke: color-mix(in srgb, var(--amarillo) calc((1 - var(--relleno)) * 100%), #08090B); stroke-width: calc(2 * var(--k, 1)); stroke-linejoin: round; stroke-linecap: round; }
.plano .det { stroke-width: calc(1.5 * var(--k, 1)); }
.plano .pz { fill: #2B3038; fill-opacity: var(--relleno); }
.plano .cab { fill: #E7EAEE; }
.plano .caja { fill: #D3D9E0; }
.plano .plataforma { fill: #3B424D; }
.plano .llanta { fill: #121418; }
.plano .am { fill: var(--amarillo); }
.plano .am2 { fill: #DDB000; }
.plano .carga { fill: #5E6876; }
.plano .cil0 { fill: var(--amarillo); }
.plano .cil1 { fill: #B9C0C9; }
.plano .cil2 { fill: #CBD1D8; }
.plano .cil3 { fill: #DCE0E5; }
.plano .cil4 { fill: #ECEFF2; }
.plano .vidrio { fill: #9FB6CB; fill-opacity: calc(var(--relleno) * .6); }
.plano .faro { fill: #FFF1A8; fill-opacity: var(--relleno); }
.plano .calavera { fill: var(--rojo); fill-opacity: var(--relleno); }
.plano .suelo { stroke: rgba(255, 255, 255, .3); stroke-width: calc(1.5 * var(--k, 1)); }
.plano .cil { stroke: #C69C00; stroke-width: 13; stroke-linecap: butt; }
.plano .vastago { stroke: #DCE1E7; stroke-width: 6; stroke-linecap: butt; }
.plano .cable, .plano .eslinga { stroke: #DCE1E7; stroke-width: calc(2 * var(--k, 1)); }
.plano .material, .particulas circle { fill: #8C6A45; }
.plano .material { fill-opacity: var(--relleno); }
.plano .decal { font: 800 17px var(--f); font-stretch: 125%; letter-spacing: 1px; fill: var(--rojo); fill-opacity: var(--relleno); }
.plano .decal-f { fill: #15171A; fill-opacity: var(--relleno); }
.rotulo path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: calc(1.2 * var(--k, 1)); }
.rotulo text { font: 500 19px var(--mono); letter-spacing: 1.5px; fill: rgba(255, 255, 255, .88); }
.cota__linea { fill: none; stroke: var(--amarillo); stroke-width: calc(1.3 * var(--k, 1)); stroke-dasharray: 6 5; }
.cota text { font: 500 18px var(--mono); letter-spacing: 4px; fill: var(--amarillo); }
.m .rotulo { opacity: 0; transition: opacity .5s; }
.m .rotulo.on { opacity: 1; }

/* ---------- catálogos (oscuro) ---------- */
.catalogo { background: var(--negro); color: #fff; }
.catalogo--hidraulica { background: #121418; }
.prod-grid--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.prod { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--grafito); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .45s var(--e), box-shadow .45s; }
.prod:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 205, 0, .45), 0 30px 60px -30px rgba(0, 0, 0, .85); }
.prod__foto { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.prod__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e); }
.prod:hover .prod__foto img { transform: scale(1.05); }
.prod__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; }
.prod__marca { align-self: flex-start; padding: 5px 9px; border-radius: 4px; background: var(--rojo); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.prod h3 { margin: 0; font: 800 21px/1.12 var(--f); font-stretch: 112%; text-transform: uppercase; }
.prod h3 em { display: block; font-style: normal; color: var(--amarillo); }
.prod p { margin: 0; font-size: 15.5px; color: rgba(255, 255, 255, .7); }
.prod__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; font: 700 12.5px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, box-shadow .25s; }
.prod__cta .i { width: 18px; height: 18px; color: #25D366; transition: color .25s; }
.prod__cta:hover { background: var(--amarillo); color: #111; box-shadow: none; }
.prod__cta:hover .i { color: #111; }
.prod .prod__cifra { margin: 2px 0; font: 850 clamp(46px, 5.4vw, 76px)/1 var(--f); font-stretch: 125%; color: #fff; letter-spacing: -.02em; }
.prod__cifra b { color: var(--amarillo); font-weight: 850; font-variant-numeric: tabular-nums; }
.prod__cifra span { font: 600 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); vertical-align: .6em; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.bento .prod { grid-column: span 2; }
.bento .prod:nth-child(5), .bento .prod:nth-child(6) { grid-column: span 3; }
.bento .prod__foto { aspect-ratio: 4 / 3.3; }
.bento .prod:nth-child(5) .prod__foto, .bento .prod:nth-child(6) .prod__foto { aspect-ratio: 16 / 8.4; }
.bento .prod--ancho { grid-column: 1 / -1; flex-direction: row; }
.prod--ancho .prod__foto { flex: 1.3; aspect-ratio: auto; min-height: 360px; }
.prod--ancho .prod__cuerpo { flex: 1; justify-content: center; padding: clamp(28px, 3.4vw, 48px); }

/* ---------- unidades utilitarias (telón amarillo) ---------- */
.unidades { background: var(--negro); color: #111; isolation: isolate; }
.unidades__telon { position: absolute; inset: 0; z-index: -1; background: var(--amarillo); }
.unidades .titulo { max-width: 20ch; }
.unidades .titulo em, .unidades .titulo .acento > span { background: #111; color: var(--amarillo); padding: 0 .14em; }
.unidades .lead { color: rgba(0, 0, 0, .72); }
.galeria { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 12.5vw, 168px); gap: 16px; }
.galeria__item { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #111; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e); }
.galeria__item:hover img { transform: scale(1.04); }
.galeria__item figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border-radius: 8px; background: #111; color: #fff; font: 700 12.5px/1 var(--f); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; }
.galeria__item figcaption::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--amarillo); }
.galeria__item--a { grid-column: 1 / 8; grid-row: 1 / 3; }
.galeria__item--b { grid-column: 8 / 13; grid-row: 1 / 4; }
.galeria__item--c { grid-column: 1 / 4; grid-row: 3 / 6; }
.galeria__item--d { grid-column: 4 / 8; grid-row: 3 / 6; }
.galeria__item--e { grid-column: 8 / 13; grid-row: 4 / 6; }
.galeria__item--b img { object-position: 30% 50%; }
.unidades__cta { margin-top: 44px; text-align: center; }

/* ---------- arrendamiento ---------- */
.arrenda { background: var(--negro); color: #fff; }
.arrenda__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.arrenda__foto { position: relative; isolation: isolate; }
.arrenda__foto img { width: 100%; border-radius: var(--r); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9); }
.arrenda__luz { position: absolute; inset: -18% -12% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 205, 0, .22), transparent); }
.arrenda__sello { position: absolute; left: -16px; bottom: -26px; margin: 0; padding: 14px 20px; border-radius: 12px; background: var(--amarillo); color: #111; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .8); }
.arrenda__sello b { display: block; font: 850 26px/1 var(--f); font-stretch: 122%; letter-spacing: 0; }
.placas { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; padding: 0; list-style: none; }
.placas li { padding: 11px 16px; border-radius: 8px; background: #F2F2EE; color: #111; font: 700 14.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 2px #111, inset 0 0 0 4px #F2F2EE, inset 0 0 0 5px rgba(0, 0, 0, .3); }
.placas li:first-child { background: var(--amarillo); box-shadow: inset 0 0 0 2px #111, inset 0 0 0 4px var(--amarillo), inset 0 0 0 5px rgba(0, 0, 0, .3); }
.arrenda__botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- mantenimiento ---------- */
.mante { background: var(--hueso); }
.mante__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.mante__cita { margin: 0 0 36px; padding: 22px 26px; border-left: 4px solid var(--amarillo); border-radius: 0 14px 14px 0; background: #fff; font-size: 18px; color: #2A2B2D; box-shadow: 0 22px 44px -32px rgba(0, 0, 0, .35); }
.mante__cita p { margin: 0; }
.proceso { position: relative; display: flex; flex-direction: column; margin: 0 0 36px; padding: 0; list-style: none; }
.proceso__linea { position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: rgba(0, 0, 0, .12); }
.proceso__linea i { position: absolute; inset: 0; background: linear-gradient(var(--amarillo), #E2A800); transform-origin: top; }
.m .proceso__linea i { scale: 1 0; }
.paso { display: flex; align-items: center; gap: 18px; padding: 11px 0; font: 750 18px/1.2 var(--f); font-stretch: 108%; letter-spacing: .02em; text-transform: uppercase; color: #111; transition: color .45s; }
.paso__punto { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--amarillo); color: #111; box-shadow: 0 0 0 4px var(--hueso), 0 0 0 5px rgba(0, 0, 0, .18); transition: background .45s, box-shadow .45s, color .45s, scale .45s var(--e); }
.paso__punto .i { width: 18px; height: 18px; }
.m .paso:not(.on) { color: rgba(0, 0, 0, .32); }
.m .paso:not(.on) .paso__punto { background: var(--hueso); color: transparent; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .16); scale: .86; }
.mante__foto { position: sticky; top: calc(var(--nav-h) + 30px); }
.mante__foto figure { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 760 / 1000; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.mante__foto img { width: 100%; height: 100%; object-fit: cover; }
.mante__sello { position: absolute; right: -14px; bottom: 34px; margin: 0; padding: 14px 20px; border-radius: 12px; background: #111; color: #fff; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .6); }
.mante__sello b { display: block; font: 850 26px/1 var(--f); font-stretch: 122%; letter-spacing: 0; color: var(--amarillo); }

/* ---------- chatarra ---------- */
.chatarra { background: var(--negro); color: #fff; padding-top: 0; }
.chatarra__foto { position: relative; height: clamp(440px, 74vh, 780px); }
.chatarra__foto figure { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.chatarra__foto img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.chatarra__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--negro), transparent 20%, transparent 50%, var(--negro)); pointer-events: none; }
.chatarra__tarjeta { position: relative; z-index: 2; max-width: 640px; margin-top: -220px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: rgba(22, 24, 28, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px #000; }
.chatarra__tarjeta > p { margin: 0; color: rgba(255, 255, 255, .76); }
.specs { display: grid; gap: 12px; margin: 24px 0 30px; padding: 0; list-style: none; }
.specs li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .86); }
.specs .i { margin-top: 3px; color: var(--amarillo); }

/* ---------- spot ---------- */
.spot { background: var(--negro); color: #fff; padding-top: clamp(40px, 6vw, 80px); }
.spot__marco { position: relative; width: min(1240px, 100% - 2 * var(--borde)); margin: 0 auto; aspect-ratio: 848 / 480; overflow: hidden; border-radius: 24px; background: #000; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.spot__marco video { width: 100%; height: 100%; object-fit: cover; }
.spot__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 700 14px/1 var(--f); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: opacity .3s, background .3s; }
.spot__play span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--amarillo); color: #111; }
.spot__play .i { width: 24px; height: 24px; margin-left: 3px; }
.spot__play:hover { background: rgba(0, 0, 0, .75); }
.spot.reproduciendo .spot__play { opacity: 0; pointer-events: none; }

/* ---------- contacto ---------- */
.contacto { background: var(--hueso); }
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.datos { display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.datos li { display: flex; align-items: flex-start; gap: 16px; }
.datos li > .i { width: 48px; height: 48px; padding: 13px; border-radius: 12px; background: #111; color: var(--amarillo); }
.datos span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; font-size: 16px; color: #2A2B2D; }
.datos small { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.datos a { font-size: 19px; font-weight: 700; color: #111; text-decoration: none; overflow-wrap: anywhere; }
.datos a:hover { text-decoration: underline; text-underline-offset: 4px; }
.datos .datos__mapa { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; }
.datos__mapa .i { width: 16px; height: 16px; }
.forma { margin: 0; }
.forma__in { padding: clamp(26px, 3.6vw, 44px); border-radius: 22px; background: #111; color: #fff; box-shadow: 0 44px 80px -44px rgba(0, 0, 0, .6); }
.forma h3 { margin: 0 0 24px; font: 800 24px/1.1 var(--f); font-stretch: 112%; text-transform: uppercase; }
.campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.campo > label, .campo > legend { padding: 0; margin: 0 0 2px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.campo > legend { margin-bottom: 10px; }
.campo input, .campo textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font: 400 16px/1.4 var(--f); transition: border-color .2s, background .2s; }
.campo textarea { resize: vertical; min-height: 92px; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(255, 255, 255, .56); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--amarillo); background: rgba(255, 255, 255, .09); }
.campo input[aria-invalid="true"] { border-color: #FF6B7D; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); font: 600 14px/1.2 var(--f); color: rgba(255, 255, 255, .86); transition: background .2s, color .2s, box-shadow .2s; }
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--amarillo); }
.chips input:checked + span { background: var(--amarillo); color: #111; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--amarillo); outline-offset: 2px; }
.forma__error { margin: -4px 0 14px; color: #FF8A98; font-size: 14.5px; }
.forma__nota { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: 86px 0 30px; background: #08090A; color: rgba(255, 255, 255, .7); }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -240px; width: 960px; height: 460px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 205, 0, .16), transparent); }
.footer__linea { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--amarillo), transparent); box-shadow: 0 0 18px var(--amarillo); transform-origin: center; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 44px; }
.footer__marca > svg { display: block; width: 210px; height: auto; margin-bottom: 18px; }
.footer__marca p { max-width: 360px; margin: 0; font-size: 16px; }
.footer__hyva { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.footer__hyva img { width: 78px; border-radius: 6px; }
.footer__hyva span { font: 500 12.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.redes { display: flex; flex-wrap: wrap; gap: 10px; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, color .2s; }
.redes a:hover { background: var(--amarillo); color: #111; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__col h3 { margin: 0 0 12px; font: 700 14px var(--f); font-stretch: 110%; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__col a, .footer__dir { display: inline-flex; align-items: flex-start; gap: 10px; padding: 6px 0; margin: 0; font-size: 16px; color: rgba(255, 255, 255, .76); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--amarillo); }
.footer__col .i { width: 18px; height: 18px; margin-top: 3px; color: var(--amarillo); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer__base p { margin: 0; }
@media (min-width: 761px) { .footer__base { padding-right: 96px; } }
.m .footer__linea { scale: 0 1; }
.m .footer::before { opacity: 0; }
.m .footer [data-f] { opacity: 0; translate: 0 22px; filter: blur(6px); }
.m .footer.on .footer__linea { scale: 1 1; transition: scale 1.1s var(--e); }
.m .footer.on::before { opacity: 1; transition: opacity 1.2s ease .45s; }
.m .footer.on [data-f] { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity .8s ease, translate .8s var(--e), filter .8s ease; transition-delay: calc(.4s + var(--i, 0) * .11s); }

/* ---------- botón flotante y video ---------- */
.flotante { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); transition: opacity .4s, translate .5s var(--e); }
.flotante .i { width: 30px; height: 30px; }
.flotante::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: onda 2.4s ease-out infinite; }
.m .flotante:not(.is-on) { opacity: 0; translate: 0 24px; pointer-events: none; }
@media (min-width: 1400px) and (hover: hover) { .flotante { right: 80px; } }
.modal-spot { color: #fff; width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.modal-spot::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(6px); }
.modal-spot video { width: 100%; border-radius: 16px; background: #000; }
.modal-spot__cerrar { position: absolute; right: 0; top: -54px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.modal-spot__cerrar:hover { background: var(--amarillo); color: #111; }

/* ---------- coreografía: estado inicial antes de que motion.js tome el control ---------- */
.m [data-m] { opacity: 0; }
.m [data-m="palabras"].dividido { opacity: 1; }
.m [data-m].eyebrow .franjas { clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--e) .25s; }
.m [data-m].eyebrow.on .franjas { clip-path: inset(0 0 0 0); }
.m .escena .eyebrow .franjas { clip-path: none; }

/* ---------- responsivo ---------- */
/* El menú completo mide ~1318 px: por debajo de 1384 px de ancho se compacta por escalones en vez de partir renglones o salirse. */
@media (max-width: 1383px) {
  .nav__links a { padding-inline: 7px; letter-spacing: .03em; }
  .nav__links a::after { left: 7px; right: 7px; }
}
@media (max-width: 1319px) {
  .nav__tel span { display: none; }
}
@media (max-width: 1179px) {
  .nav__links, .nav__tel { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__hamb { display: inline-flex; }
}
@media (max-width: 1000px) {
  .prod-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .prod-grid--3 .prod { flex-direction: row; }
  .prod-grid--3 .prod__foto { width: 42%; flex: none; aspect-ratio: auto; min-height: 300px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .prod, .bento .prod:nth-child(5) { grid-column: span 1; }
  .bento .prod--ancho, .bento .prod:nth-child(6) { grid-column: 1 / -1; }
  .bento .prod:nth-child(5) .prod__foto { aspect-ratio: 4 / 3.3; }
  .prod--ancho .prod__foto { min-height: 300px; }
}
@media (max-width: 960px) {
  .cabeza--dos, .arrenda__grid, .mante__grid, .contacto__grid { grid-template-columns: minmax(0, 1fr); }
  .serv-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .serv__foto { aspect-ratio: 16 / 9; }
  .mante__foto { position: relative; top: 0; order: -1; }
  .mante__foto figure { aspect-ratio: 4 / 3.4; }
  .mante__sello { right: 12px; bottom: -20px; }
  .arrenda__sello { left: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .escena { height: 360vh; }
  .escena--volteo { height: 340vh; }
  .escena__in { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 12px; padding-top: calc(var(--nav-h) - 6px); }
  .escena__lienzo { order: -1; gap: 8px; }
  .escena__titulo { margin-bottom: 12px; font-size: clamp(24px, 6.4vw, 34px); }
  .escena__titulo em { display: inline; }
  .escena .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .capitulos { min-height: 132px; margin-bottom: 14px; }
  .cap h3 { margin-bottom: 6px; font-size: 19px; }
  .cap p { font-size: 15px; line-height: 1.5; }
  .cap__n { margin-bottom: 4px; }
  .rotulo, .hud__desliza { display: none; }
  .hud { font-size: 10.5px; letter-spacing: .1em; }
  .plano { max-height: 44svh; }
  .escena__cta { min-height: 46px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .escena__cta { display: none; }
  .escena .eyebrow { display: none; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav__logo svg { width: 120px; }
  .nav__cta span { display: none; }
  .nav__cta { width: 46px; padding: 0; }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 92px; }
  .hero__fondo img { object-position: 50% 30%; }
  .hero__sombra { background: linear-gradient(0deg, var(--negro) 0%, rgba(10, 10, 12, .86) 38%, rgba(10, 10, 12, .35) 70%, rgba(10, 10, 12, .2) 100%); }
  .hero__logo { width: 210px; margin-bottom: 22px; }
  .hero__lead { margin-bottom: 26px; }
  .hero__botones .btn { flex: 1 1 220px; }
  .hero__spot { order: -1; position: absolute; right: var(--borde); top: calc(var(--nav-h) + 18px); }
  .hero__spot-boton { width: 64px; height: 64px; }
  .hero__spot-txt { display: none; }
  .hero__desliza { display: none; }
  .titulo { font-size: clamp(28px, 8.4vw, 42px); font-stretch: 110%; }
  .titulo--col { font-size: clamp(26px, 7.4vw, 38px); }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
  .galeria__item--a, .galeria__item--d, .galeria__item--e { grid-column: 1 / -1; grid-row: span 2; }
  .galeria__item--b, .galeria__item--c { grid-column: span 1; grid-row: span 3; }
  .galeria__item figcaption { left: 10px; bottom: 10px; font-size: 11px; padding: 7px 10px; }
  .chatarra__tarjeta { margin-top: -140px; }
  .flotante { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .footer { padding-bottom: 100px; }
  .spot__play { gap: 10px; padding: 6px 18px 6px 6px; font-size: 12px; white-space: nowrap; }
  .spot__play span { width: 44px; height: 44px; }
  .spot__marco { border-radius: 16px; }
}
@media (max-width: 620px) {
  .prod-grid--3 .prod { flex-direction: column; }
  .prod-grid--3 .prod__foto { width: auto; min-height: 0; aspect-ratio: 4 / 3.4; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .prod, .bento .prod:nth-child(5), .bento .prod:nth-child(6) { grid-column: 1 / -1; }
  .bento .prod__foto, .bento .prod:nth-child(5) .prod__foto, .bento .prod:nth-child(6) .prod__foto { aspect-ratio: 16 / 10; }
  .bento .prod--ancho { flex-direction: column; }
  .bento .prod--ancho .prod__foto { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__chips li { font-size: 13px; }
  .placas li { font-size: 13px; padding: 10px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
