
:root {
  --red: #D71920;
  --red-on-light: #C5161C;
  --red-on-dark: #FF4D54;
  --focus: #FF5960;
  --black: #090B0D;
  --graphite: #22272D;
  --steel: #737C85;
  --silver: #BDC3C8;
  --white: #F3F4F5;
  --header-h: 74px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --line: rgba(189, 195, 200, .16);
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { color: var(--white); background: var(--red); }

.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 200;
  padding: .65rem 1rem; color: var(--black); background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.scroll-progress {
  position: fixed; z-index: 110; top: 0; left: 0; width: 0; height: 2px;
  background: var(--red); pointer-events: none;
}

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); background: rgba(9,11,13,.78);
  border-bottom: 0; transition: background .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled { background: rgba(9, 11, 13, .64); backdrop-filter: blur(22px); }
.site-header__side { display: flex; align-items: center; }
.site-header__side:last-child { justify-content: flex-end; }
.header-button {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 44px;
  padding: .6rem 0; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.header-button::before { content: ""; width: 18px; height: 2px; background: var(--red); transition: transform .2s cubic-bezier(.23,1,.32,1); }
/* El texto alterna Menú/Cerrar por JS (site.js); este giro de 45° del guion es el refuerzo visual
   mínimo — sin X, sin ícono nuevo — de que el mismo botón ahora cierra. */
.header-button[aria-expanded="true"]::before { transform: rotate(45deg); }
.header-quote {
  padding: .62rem 0; border: 0; border-bottom: 1px solid transparent;
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, border-color .25s;
}
.header-quote:hover, .header-quote:focus-visible { color: var(--white); border-color: var(--red); }
.site-logo {
  position: relative; display: grid; place-items: center;
  width: clamp(148px, 13vw, 190px); height: 56px; overflow: hidden;
}
.site-logo img {
  width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,.58)) drop-shadow(0 0 7px rgba(255,255,255,.1));
}
.site-logo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.18) 58%, transparent 72%);
  -webkit-mask: url("../images/orion-wordmark-outline.png") center / contain no-repeat;
  mask: url("../images/orion-wordmark-outline.png") center / contain no-repeat;
  transform: translateX(-145%); opacity: 0; pointer-events: none;
  animation: orion-logo-etch 7s ease-in-out infinite 1.4s;
}
@keyframes orion-logo-etch {
  0%, 68%, 100% { transform: translateX(-145%); opacity: 0; }
  74% { opacity: .78; }
  88% { transform: translateX(145%); opacity: 0; }
}

.menu-overlay {
  position: fixed; z-index: 90; inset: var(--header-h) 0 0;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  visibility: hidden; opacity: 0; background: rgba(9,11,13,.98);
  transition: opacity .3s cubic-bezier(.23,1,.32,1), visibility 0s linear .3s;
}
.menu-overlay.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }

/* Menú — Fase 2: jerarquía por categorías + descubrimiento de vehículos. `.menu-overlay__primary`
   es la nueva columna izquierda (antes solo `.menu-overlay__nav`); dentro de ella el nav es la
   única zona que hace scroll y el CTA queda fijo al fondo, visible sin desplazar nada. */
.menu-overlay__primary { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
.menu-overlay__nav {
  position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: clamp(1.25rem, 4vh, 2.25rem) var(--gutter) 1rem;
}
.menu-overlay__nav::-webkit-scrollbar { display: none; }
/* Pista visual de que hay más contenido debajo: un desvanecido pegado (`sticky`) al borde inferior
   del área visible del scroll. No reserva espacio propio (`margin-top` negativo lo compensa) y no
   oculta nada — solo sugiere continuidad cuando el menú crece más que la pantalla disponible. */
.menu-overlay__nav::after {
  content: ""; position: sticky; display: block; bottom: 0; left: 0; right: 0; height: 28px;
  margin-top: -28px; background: linear-gradient(rgba(9,11,13,0), rgba(9,11,13,.92));
  pointer-events: none;
}
/* Vacío vertical en pantallas altas (430×932, 1440×900): a partir de ~850px de alto se abre algo
   más de aire entre categorías en vez de dejarlo todo apilado con un hueco muerto antes de Cotizar.
   Por debajo de ese umbral el valor coincide exactamente con el de siempre (.85rem): no cambia nada
   en los tamaños ya verificados (375–430 de ancho a su alto habitual). */
.menu-nav__group {
  padding-block: clamp(.85rem, calc(.85rem + (100vh - 850px) * .05), 1.3rem);
  border-bottom: 1px solid var(--line);
}
.menu-nav__group:first-child { padding-top: 0; }
.menu-nav__label {
  margin: 0 0 .85rem; color: var(--steel); font-family: var(--mono);
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.menu-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding: .5rem 0;
  font-family: var(--display); font-size: clamp(1.2rem, 3.4vw, 1.55rem); font-weight: 400;
  letter-spacing: -.02em; transition: color .15s ease-out, transform .12s ease-out;
}
.menu-nav__link:focus-visible, .menu-nav__link[aria-current="page"] { color: var(--red-on-dark); }
.menu-nav__link:active { transform: scale(.98); }
.menu-nav__all {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .7rem;
  color: var(--silver); font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; transition: color .15s ease-out, transform .12s ease-out;
}
.menu-nav__all:focus-visible, .menu-nav__all[aria-current="page"] { color: var(--red-on-dark); }
.menu-nav__all:active { transform: scale(.98); }
.menu-chevron {
  display: inline-block; width: .38em; height: .38em; margin-left: .05em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s;
}
.menu-nav__all:focus-visible .menu-chevron, .menu-nav__link:focus-visible .menu-chevron { transform: rotate(-45deg) translate(.05em, -.05em); }
/* Estados solo-hover: gateados tras `(hover: hover) and (pointer: fine)` para que un toque en
   iPhone/Android no deje el color o el chevron "pegados" hasta el siguiente toque (no hay forma de
   quitar :hover con el dedo). El foco por teclado (:focus-visible) y la página actual siguen
   funcionando igual en cualquier dispositivo — solo se gatea el hover puro. */
@media (hover: hover) and (pointer: fine) {
  .menu-nav__link:hover { color: var(--red-on-dark); }
  .menu-nav__all:hover { color: var(--red-on-dark); }
  .menu-nav__all:hover .menu-chevron, .menu-nav__link:hover .menu-chevron { transform: rotate(-45deg) translate(.05em, -.05em); }
}

/* Tira horizontal deslizable de vehículos — "descubrir" en vez de listar. Funciona igual si un
   modelo llega sin imagen: el <img> simplemente no pinta nada, la tarjeta conserva su texto.
   Tamaño pensado para que en móvil se vea un vehículo protagonista y el siguiente asomando
   (~1.2–1.5 tarjetas visibles a la vez), sin cambiar el marcado: en pantallas más anchas (tablet/
   desktop) el mismo clamp cede espacio a más tarjetas visibles simultáneamente. */
.menu-vehicles {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 42vw, 175px);
  gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: .4rem;
  cursor: grab; user-select: none;
}
.menu-vehicles.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.menu-vehicles::-webkit-scrollbar { display: none; }
.menu-vehicle {
  scroll-snap-align: start; scroll-margin-inline: var(--gutter);
  display: flex; flex-direction: column; gap: .45rem; min-width: 0;
  text-decoration: none; transition: transform .15s ease-out;
}
.menu-vehicle:active { transform: scale(.98); }
.menu-vehicle img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center;
  background: #111417; border: 1px solid rgba(189,195,200,.16); border-radius: 2px;
  filter: brightness(.86) saturate(.92); transition: filter .2s, border-color .2s, transform .2s ease-out;
}
.menu-vehicle:focus-visible img { filter: brightness(1) saturate(1); border-color: rgba(215,25,32,.7); }
.menu-vehicle__name {
  font-family: var(--display); font-size: clamp(.78rem, 2.2vw, .88rem); font-weight: 500;
  letter-spacing: -.01em; color: var(--white); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; line-height: 1.25;
}
.menu-vehicle__cta {
  display: inline-flex; align-items: center; gap: .35em; color: var(--silver);
  font-family: var(--mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase;
}
.menu-vehicle:focus-visible .menu-vehicle__cta { color: var(--red-on-dark); }
.menu-vehicle[aria-current="page"] .menu-vehicle__name { color: var(--red-on-dark); }
.menu-vehicle[aria-current="page"] img { border-color: rgba(215,25,32,.6); filter: brightness(1); }
@media (hover: hover) and (pointer: fine) {
  .menu-vehicle:hover img { filter: brightness(1) saturate(1.05); border-color: rgba(215,25,32,.5); transform: translateY(-2px); }
  .menu-vehicle:hover .menu-vehicle__cta { color: var(--red-on-dark); }
}
@media (min-width: 901px) {
  .menu-vehicles { grid-auto-columns: clamp(160px, 14vw, 195px); gap: .85rem; }
}

.menu-cta {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; margin: 0 var(--gutter); padding: 1rem 1.25rem;
  border: 1px solid var(--red); background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .12s ease-out;
}
.menu-cta .menu-chevron { border-color: currentColor; }
.menu-cta:focus-visible { background: transparent; color: var(--white); border-color: var(--red-on-dark); }
.menu-cta:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .menu-cta:hover { background: transparent; color: var(--white); border-color: var(--red-on-dark); }
}

/* Reveal muy sutil al abrir: los vehículos entran primero, luego "ver todos", luego cada categoría
   y por último Cotizar (30–60ms entre pasos). Usa opacidad + una traslación mínima, nunca
   `visibility`, así que no interfiere con el reintento de foco cuadro a cuadro de `focusMenuStart()`
   en site.js (ese código solo depende de cuándo el overlay pasa a `visibility:visible`, sin relación
   con esto). Al cerrar no hay retardo — el contenido se retira de inmediato junto con el overlay. */
.menu-vehicles, .menu-nav__all, .menu-nav__group:nth-of-type(2), .menu-nav__group:nth-of-type(3), .menu-nav__group:nth-of-type(4), .menu-cta {
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s cubic-bezier(.23,1,.32,1), transform .22s cubic-bezier(.23,1,.32,1);
}
.menu-overlay.is-open .menu-vehicles { opacity: 1; transform: none; transition-delay: 0ms; }
.menu-overlay.is-open .menu-nav__all { opacity: 1; transform: none; transition-delay: 40ms; }
.menu-overlay.is-open .menu-nav__group:nth-of-type(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.menu-overlay.is-open .menu-nav__group:nth-of-type(3) { opacity: 1; transform: none; transition-delay: 120ms; }
.menu-overlay.is-open .menu-nav__group:nth-of-type(4) { opacity: 1; transform: none; transition-delay: 160ms; }
.menu-overlay.is-open .menu-cta { opacity: 1; transform: none; transition-delay: 200ms; }

.menu-overlay__media { position: relative; min-height: 0; overflow: hidden; border-left: 1px solid var(--line); }
.menu-overlay__media img { height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); }
.menu-overlay__media span { position: absolute; left: 2rem; bottom: 2rem; max-width: 13rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }

main { padding-top: 0; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--red-on-dark); font-family: var(--mono); font-size: .67rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.display { margin: 0; max-width: 18ch; font-family: var(--display); font-size: clamp(2.6rem, 4.6vw, 4.25rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; }
.headline { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3.3vw, 3.25rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; }
.subhead { margin: 0; font-family: var(--display); font-size: clamp(1.65rem, 2.4vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; }
.lead { max-width: 38rem; margin: 1rem 0 0; color: var(--silver); font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.6; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-width: 190px; padding: .85rem 1.25rem; border: 1px solid var(--red); background: var(--red);
  color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s;
}
.button::after {
  content: ""; flex: 0 0 auto; width: 1rem; height: 1rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'/%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 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button:hover, .button:focus-visible { background: transparent; transform: translateY(-2px); }
.button:hover::after, .button:focus-visible::after { transform: translate(.2rem, -.2rem); }
.button::after { transition: transform .2s ease; }
.button:active { transform: scale(.98); }
.button--ghost { background: transparent; border-color: var(--silver); }
.button--ghost:hover { color: var(--black); background: var(--white); border-color: var(--white); }
.ui-arrow { width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.model-nav a { display: inline-flex; align-items: center; gap: .5rem; }
.carousel-controls button .ui-arrow, .gallery-controls button .ui-arrow, .model-exterior__controls button .ui-arrow { margin: auto; }
.section { padding: clamp(5rem, 11vw, 10rem) var(--gutter); border-bottom: 1px solid var(--line); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--light { color: var(--black); background: var(--white); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section__note { max-width: 28rem; color: var(--steel); }

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; padding: 8rem var(--gutter) 5rem; overflow: hidden; text-align: center;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.62) saturate(.75); transform: scale(1.02); }
.hero-video-stage { position: absolute; inset: 0; background: #07090b; }
.hero-video {
  opacity: 0; transition: opacity .85s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform; backface-visibility: hidden;
}
.hero-video.is-active { opacity: 1; }
.page-home .hero-video-stage { inset: 0 0 6svh; }
.page-home .hero__image { filter: brightness(1.04) saturate(.96); transform: none; }
/* El texto de portada se apoya en el borde inferior. Medido sobre los cuadros reales, el subtítulo
   caía a 3,3:1 y el título a 1,8:1 cuando detrás quedaba la carrocería clara. Se profundiza la
   degradación inferior que ya formaba parte de la composición, en vez de superponer una mancha
   sobre el vehículo: el bus, el encuadre y el video quedan intactos. */
.page-home .hero::after { background: radial-gradient(circle at 50% 46%, rgba(9,11,13,0), rgba(9,11,13,.32) 84%), linear-gradient(0deg, rgba(9,11,13,.90), rgba(9,11,13,.62) 18%, rgba(9,11,13,.22) 34%, transparent 52%); }
.page-home .hero { align-items: flex-end; justify-content: center; text-align: center; padding-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.page-home .hero__content { width: min(680px, 100%); margin: 0 auto; display: grid; justify-items: center; }
.page-home .hero .eyebrow { justify-content: center; margin-bottom: .45rem; text-shadow: 0 2px 12px rgba(0,0,0,.95); }
.page-home .hero .display { max-width: 18ch; font-size: clamp(1.75rem, 2.6vw, 2.55rem); line-height: 1.02; }
.page-home .hero .lead { max-width: 34rem; margin: .55rem auto 0; font-size: .82rem; }
.page-home .hero__actions { justify-content: center; margin-top: .85rem; }
.page-home .hero .button { min-width: 160px; padding: .66rem 1rem; font-size: .61rem; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%, rgba(9,11,13,.12), rgba(9,11,13,.72) 72%), linear-gradient(0deg, rgba(9,11,13,.72), transparent 60%); }
.hero__content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; }
.hero .lead { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.hero__marker { position: absolute; z-index: 2; right: var(--gutter); bottom: 5rem; writing-mode: vertical-rl; color: var(--silver); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; }
/* Control para detener la secuencia de portada. La portada se reproduce sola y en bucle, de modo
   que sin él no había forma de pararla; se mantiene discreto y con área táctil de 44 px. */
.hero__playback {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 1.4rem;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(9,11,13,.55);
  color: var(--silver); cursor: pointer; font-size: .62rem; line-height: 1; letter-spacing: .04em;
  transition: color .2s, background .2s, border-color .2s;
}
.hero__playback:hover, .hero__playback:focus-visible { color: var(--white); background: rgba(9,11,13,.82); border-color: var(--silver); }

.manifesto { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; }
.manifesto .headline { color: var(--black); }
.manifesto p { margin: 0; color: #626b73; }

.brand-world { background: #0d1012; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.story-card { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--graphite); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,11,13,.38), rgba(9,11,13,.14) 50%, rgba(9,11,13,.8)); }
.story-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.7); transition: transform .8s ease, filter .5s ease; }
.story-card span { position: relative; z-index: 1; padding: 1.5rem; font-size: clamp(1.65rem,2.35vw,2.65rem); font-weight: 300; letter-spacing: -.04em; text-align: center; }
.story-card span small { display: table; margin: 0 auto .75rem; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-shadow: 0 2px 12px rgba(0,0,0,.95); text-transform: uppercase; }
.story-card strong { position: absolute; z-index: 2; bottom: 2rem; border-bottom: 1px solid var(--silver); padding-bottom: .3rem; font-family: var(--mono); font-size: .62rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.story-card:hover img, .story-card:focus-visible img { transform: scale(1.035); filter: brightness(.72) saturate(.85); }

.model-stage { position: relative; }
.model-carousel { overflow: hidden; }
.model-track { display: flex; transition: transform .55s cubic-bezier(.22,.75,.25,1); }
.model-slide { position: relative; flex: 0 0 100%; min-height: 74svh; overflow: hidden; border: 0; background: #111417; }
.model-slide::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,11,13,.94)); }
.model-slide__media { position: absolute; inset: 0; overflow: hidden; }
.model-slide__media img { height: 100%; object-fit: cover; transition: transform .7s; }
.model-slide:hover img { transform: scale(1.025); }
.model-slide__copy { position: absolute; z-index: 2; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 4vw, 4rem); border: 0; text-align: left; }
.model-index { margin-bottom: .8rem; color: var(--silver); font-family: var(--mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.model-slide h3 { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.model-slide p { color: var(--silver); }
.model-feature {
  position: relative; width: min(100%, 494px); aspect-ratio: 4 / 5; min-height: 0; display: grid; place-items: center;
  overflow: hidden; border: 1px solid rgba(189,195,200,.22); background: #0c0f11;
  isolation: isolate; margin-inline: auto; border-radius: 6px;
}
.model-feature::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,13,.28) 0%, rgba(9,11,13,.08) 26%, transparent 45%, transparent 56%, rgba(9,11,13,.78) 100%);
}
.model-feature::after {
  content: ""; position: absolute; z-index: 2; inset: 1rem;
  border: 1px solid rgba(189,195,200,.12); pointer-events: none;
  transition: border-color .35s ease, inset .35s ease;
}
.model-feature img {
  position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--vehicle-focus, center);
  filter: brightness(.98) saturate(1); transform: scale(calc(1.025 * var(--home-card-zoom, 1)));
  transition: transform 1s cubic-bezier(.22,.75,.25,1), filter .6s ease;
}
.model-feature[data-product="orion-fx"] { --vehicle-focus: 9% center; }
.model-feature[data-product="fx-bus"] { --vehicle-focus: 55% center; }
.model-feature[data-product="orion-firetruck"] { --vehicle-focus: 6% center; }
.product-showcase .model-feature[data-product="orion-firetruck"] { --vehicle-focus: 6% center; }
.model-feature[data-product="fx-food-truck"] { --vehicle-focus: 84% center; }
.model-feature[data-product="radical"] { --vehicle-focus: 22% center; }
.model-feature[data-product="orion-s4"] { --vehicle-focus: 28% center; }
.model-feature[data-product="orion-vission-midi"] { --vehicle-focus: 20% center; }
.model-feature[data-product="orion-mega"] { --vehicle-focus: 70% center; }
.model-feature[data-product="bus-cabrio-techo-duro"] { --vehicle-focus: 84% center; }
.model-feature[data-product="tranvia-turistico"] { --vehicle-focus: 82% center; }
.model-feature[data-product="tren-turistico"] { --vehicle-focus: 42% center; }
.model-feature[data-product="biocab"] { --vehicle-focus: 50% center; }
.model-feature__tag, .model-feature__name, .model-feature__action { position: absolute; z-index: 3; left: clamp(1.5rem, 4vw, 2.5rem); right: clamp(1.5rem, 4vw, 2.5rem); text-align: left; }
.model-feature__status { position: absolute; z-index: 3; top: 1.15rem; right: 1.15rem; padding: .42rem .58rem; border: 1px solid rgba(255,255,255,.34); background: rgba(9,11,13,.76); color: var(--white); font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; }
.model-feature__tag {
  top: clamp(4rem,7vw,5.25rem); max-width: 28ch; color: rgba(255,255,255,.82);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase;
}
.model-feature__name {
  bottom: clamp(4.4rem, 7vw, 5.25rem); padding-left: .9rem; color: var(--white);
  font-family: var(--display); font-size: clamp(1.85rem,4vw,3rem); font-weight: 400;
  letter-spacing: -.035em; line-height: .95; text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.model-feature__name::before { content: ""; position: absolute; left: 0; top: .08em; width: 2px; height: .78em; background: var(--red); }
.model-feature__name small {
  display: inline; margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit;
}
.model-feature__action {
  right: auto; bottom: clamp(1.65rem,3.5vw,2.25rem); border-bottom: 1px solid var(--silver); padding-bottom: .3rem;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
}
.model-feature__action::after, .discover::after {
  content: ""; display: inline-block; flex: 0 0 auto; width: 1rem; height: 1rem; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'/%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 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}
.model-feature__action { display: inline-flex; align-items: center; gap: .45rem; }
.model-feature:hover::after, .model-feature:focus-visible::after { inset: .6rem; border-color: rgba(215,25,32,.65); }
.model-feature:hover .model-feature__action, .model-feature:focus-visible .model-feature__action { border-color: var(--red); }
.product-showcase .model-feature[data-product="orion-firetruck"] { --vehicle-focus: 6% center; }
.model-feature[data-product="orion-firetruck"] .model-feature__tag,
.model-feature[data-product="orion-firetruck"] .model-feature__name,
.model-feature[data-product="orion-firetruck"] .model-feature__action,
.model-feature[data-product="orion-vission-midi"] .model-feature__tag,
.model-feature[data-product="orion-vission-midi"] .model-feature__name,
.model-feature[data-product="orion-vission-midi"] .model-feature__action,
.model-feature[data-product="radical"] .model-feature__tag,
.model-feature[data-product="radical"] .model-feature__name,
.model-feature[data-product="radical"] .model-feature__action { left: auto; right: clamp(1.5rem, 4vw, 2.5rem); width: min(46%, 18rem); }
.model-feature[data-product="orion-firetruck"] .model-feature__name,
.model-feature[data-product="orion-vission-midi"] .model-feature__name,
.model-feature[data-product="radical"] .model-feature__name { padding-left: 0; padding-right: .9rem; text-align: right; }
.model-feature[data-product="orion-firetruck"] .model-feature__name::before,
.model-feature[data-product="orion-vission-midi"] .model-feature__name::before,
.model-feature[data-product="radical"] .model-feature__name::before { left: auto; right: 0; }
.model-feature[data-product="orion-firetruck"] .model-feature__tag,
.model-feature[data-product="orion-vission-midi"] .model-feature__tag,
.model-feature[data-product="radical"] .model-feature__tag { text-align: right; }
.carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.carousel-controls button, .gallery-controls button {
  width: 48px; height: 48px; border: 1px solid var(--graphite); background: transparent; cursor: pointer;
  font-size: 1.2rem; transition: border-color .2s, background .2s;
}
.carousel-controls button:hover, .gallery-controls button:hover { border-color: var(--red); background: var(--red); }
.carousel-status { min-width: 4.5rem; color: var(--steel); font-size: .7rem; letter-spacing: .18em; text-align: center; }

.video-placeholder { position: relative; aspect-ratio: 16/7; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: var(--graphite); }
.video-placeholder img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.28); }
.video-placeholder__center { position: relative; z-index: 1; text-align: center; }
.video-placeholder__play { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border: 1px solid var(--red); color: var(--red); font-size: 1.15rem; }
.video-placeholder p { margin: 0; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.cinematic-film { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--graphite); }
.cinematic-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,11,13,.6)); pointer-events: none; }
.cinematic-film video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cinematic-film span { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.25rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }

.page-hero { position: relative; min-height: 64svh; display: flex; align-items: end; padding: 7rem var(--gutter) 4rem; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: brightness(.34) saturate(.7); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black), transparent 75%); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__content > .eyebrow { width:max-content; text-shadow: 0 2px 12px rgba(0,0,0,.95); }

.history-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.history-grid + .history-grid { margin-top: clamp(5rem, 10vw, 9rem); }
.history-grid:nth-child(even) .history-grid__image { order: 2; }
.history-grid__image { min-height: 480px; height: 62vw; max-height: 700px; object-fit: cover; filter: none; border: 1px solid rgba(34,39,45,.28); box-shadow: 18px 18px 0 rgba(34,39,45,.08); }
.history-grid__copy p { color: var(--silver); }
.history-grid--plant { grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr); align-items: start; }
.history-grid__media { margin: 0; }
.history-grid--plant .history-grid__image { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 2400 / 1792; object-position: center; }
.history-grid--plant .history-grid__image--plant-archive { aspect-ratio: 2752 / 1536; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.history-grid__media figcaption { margin-top: .8rem; color: #565f66; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }

.product-intro { padding: clamp(7rem, 13vw, 12rem) var(--gutter) 3rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter) clamp(6rem, 11vw, 10rem); background: var(--black); }
.product-catalog { padding: 2rem 0 clamp(6rem, 11vw, 10rem); background: var(--black); }
.product-catalog > .empty-public { padding-inline: var(--gutter); }
.catalog-group { padding: clamp(4rem, 8vw, 7rem) var(--gutter); border-top: 1px solid rgba(189,195,200,.2); }
.catalog-group:first-child { padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 0; }
.catalog-group__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .72fr); gap: clamp(2rem, 8vw, 8rem); align-items: end; max-width: 1180px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); }
.catalog-group__head h2 { margin: .65rem 0 0; font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 4.6rem); font-weight: 300; letter-spacing: -.05em; line-height: .95; }
.catalog-group__head p:last-child { max-width: 37rem; margin: 0; color: var(--silver); line-height: 1.75; }
.catalog-group__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 494px)); justify-content: center; gap: clamp(1rem, 2vw, 2rem); }
.catalog-group--single .catalog-group__grid { grid-template-columns: minmax(0, 540px); }
.catalog-group--single .model-feature { width: min(100%, 540px); }
.catalog-group--historical { background: #0d1012; }
.catalog-group--historical .catalog-group__head h2 { font-size: clamp(2rem, 3.8vw, 3.7rem); }
.catalog-group--historical .model-feature { width: min(100%, 450px); }
.product-grid--single { display: block; }
.product-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.product-showcase .model-feature:only-child { grid-column: 1 / -1; }
.empty-public { grid-column: 1 / -1; max-width: 42rem; margin: 0; padding: 4rem 0; color: var(--silver); }
.product-card { position: relative; min-height: 72svh; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid rgba(189,195,200,.22); }
.product-card:first-child { grid-column: 1 / -1; min-height: 84svh; }
.product-card::before { content: ""; position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 34px; height: 34px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); transition: width .25s, height .25s; }
.product-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: brightness(.58) saturate(.7); transition: transform .65s, filter .65s; }
.product-card::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(9,11,13,.98)); }
.product-card__copy { position: relative; z-index: 1; padding: 1.5rem; }
.product-card h2 { margin: 0 0 .5rem; font-family: var(--display); font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.product-card p { margin: 0 0 1.25rem; color: var(--silver); font-size: .88rem; }
.discover { display: inline-flex; gap: .6rem; align-items: center; color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.discover::after { transition: transform .2s; }
.product-card:hover img, .product-card:focus-visible img { transform: scale(1.045); filter: brightness(.72) saturate(.9); }
.product-card:hover .discover::after { transform: translateX(.4rem); }
.product-card:hover::before, .product-card:focus-visible::before { width: 54px; height: 54px; }

/* Cada sección tiene un ambiente propio dentro de la misma identidad ORION. */
.page-history main { color: var(--black); background: linear-gradient(135deg, #d9dcdf 0%, #abb2b8 100%); }
.page-history .page-hero { color: var(--white); min-height: clamp(540px, 75svh, 840px); }
.page-history .page-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: brightness(.86) saturate(1) contrast(1.02); }
.page-history .page-hero::after { background: linear-gradient(0deg, rgba(9,11,13,.95) 0%, rgba(9,11,13,.72) 30%, rgba(9,11,13,.25) 58%, transparent 88%), linear-gradient(90deg, rgba(9,11,13,.84) 0%, rgba(9,11,13,.58) 38%, rgba(9,11,13,.12) 68%, transparent 92%); }
.page-history .page-hero__content { max-width: 48rem; }
.page-history .page-hero__content.reveal { opacity: 1 !important; transform: none !important; }
.page-history .page-hero__content .display { color: #ffffff; font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.05; text-shadow: 0 4px 24px rgba(0,0,0,.95); }
.page-history .page-hero__content .lead { color: rgba(255,255,255,.94); text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.page-history .section { border-color: rgba(34,39,45,.2); }
.page-history .history-grid__copy p { color: #353c42; }
.page-history .history-grid__copy .eyebrow { color: #353c42; }
.page-history .history-grid__copy .eyebrow::before { background: var(--red); }

.page-products { background: var(--white); }
.page-products .product-intro { position: relative; color: var(--black); background-color: var(--white); background-image: linear-gradient(rgba(34,39,45,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(34,39,45,.055) 1px, transparent 1px); background-size: 32px 32px; }
.page-products .product-intro .lead { color: #545d65; }
.page-products .product-intro .eyebrow, .section--light .eyebrow, .contact-intro .eyebrow { color: var(--red-on-light); }
.page-products .product-grid { padding-top: 2rem; }
.page-model main { background: var(--black); }
.page-news main { background: #121518; }
.page-news .section { border-color: rgba(189,195,200,.2); }

.model-hero-v2 {
  position: relative;
  min-height: min(94svh, 920px);
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #090b0d;
}
.model-hero-v2__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.model-hero-v2__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.012); animation: model-hero-v2-settle .9s cubic-bezier(.23,1,.32,1) both;
}
.model-hero-v2__shade {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(9,11,13,.52) 0%, rgba(9,11,13,.12) 30%, transparent 52%), linear-gradient(0deg, rgba(9,11,13,.78) 0%, rgba(9,11,13,.18) 24%, transparent 48%);
}
.model-hero-v2__content { width: min(100%, 48rem); padding: 8rem var(--gutter) clamp(3rem, 7vh, 5.5rem); }
.model-hero-v2__title {
  max-width: 9ch; margin: .2rem 0 .65rem; color: var(--white); font-family: var(--display);
  font-size: clamp(3.5rem, 7.5vw, 7.4rem); font-weight: 300; letter-spacing: -.065em; line-height: .86;
}
.model-hero-v2__claim { max-width: 34rem; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.42; }
.model-hero-v2__title, .model-hero-v2__claim { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.model-hero-v2__actions { margin-top: clamp(1.5rem, 3vh, 2.25rem); }
.model-hero-v2__actions .button { min-height: 48px; }
@keyframes model-hero-v2-settle { from { opacity: .82; transform: scale(1.025); } to { opacity: 1; transform: scale(1.012); } }

.page-model[data-product="orion-firetruck"] .model-hero-v2__media img { object-position: 28% center; }
.page-model[data-product="orion-vission-midi"] .model-hero-v2__media img { object-position: 26% center; }
.page-model[data-product="radical"] .model-hero-v2__media img { object-position: 27% center; }
.page-model[data-product="orion-firetruck"] .model-hero-v2__shade,
.page-model[data-product="orion-vission-midi"] .model-hero-v2__shade,
.page-model[data-product="radical"] .model-hero-v2__shade {
  background: linear-gradient(270deg, rgba(9,11,13,.56) 0%, rgba(9,11,13,.12) 31%, transparent 54%), linear-gradient(0deg, rgba(9,11,13,.76) 0%, rgba(9,11,13,.16) 23%, transparent 47%);
}
.page-model[data-product="orion-firetruck"] .model-hero-v2__content,
.page-model[data-product="orion-vission-midi"] .model-hero-v2__content,
.page-model[data-product="radical"] .model-hero-v2__content { margin-left: auto; width: min(56%, 48rem); }

.page-model[data-product="fx-bus"] .model-hero-v2__media img {
  object-position: center 54%;
}
.page-model[data-product="fx-food-truck"] .model-hero-v2__media img {
  object-position: center 54%;
}
.page-model[data-product="bus-cabrio-techo-duro"] .model-hero-v2__media img,
.page-model[data-product="tranvia-turistico"] .model-hero-v2__media img,
.page-model[data-product="tren-turistico"] .model-hero-v2__media img { object-position: center; }

.model-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.model-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.model-nav a:hover { color: var(--red-on-dark); }
.gallery { display: grid; grid-template-columns: 1.7fr .3fr; gap: 1rem; }
.gallery-main { position: relative; min-height: 620px; overflow: hidden; background: var(--graphite); }
.gallery-main img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.gallery-main img.is-active { opacity: 1; }
.gallery-thumbs { display: grid; gap: 1rem; }
.gallery-thumb { min-height: 0; padding: 0; border: 1px solid transparent; overflow: hidden; background: none; cursor: pointer; }
.gallery-thumb img { height: 100%; object-fit: cover; filter: grayscale(1) brightness(.65); transition: filter .2s; }
.gallery-thumb.is-active { border-color: var(--red); }
.gallery-thumb.is-active img, .gallery-thumb:hover img { filter: none; }
.gallery-controls { display: none; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(7rem, 12vw, 11rem) var(--gutter); background: var(--white); color: var(--black); }
.contact-intro { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
.contact-intro .eyebrow { color: var(--red); }
.contact-intro p { color: #596169; font-size: 1.05rem; }
.contact-details { display: grid; gap: .85rem; margin-top: 1.75rem; color: #3f474e; }
.contact-details a, .contact-details span { width: max-content; max-width: 100%; }
.contact-details a { border-bottom: 1px solid #8f979d; }
.contact-details small { display: block; margin-bottom: .15rem; color: #626b73; font-family: var(--mono); font-size: .55rem; letter-spacing: .15em; text-transform: uppercase; }
.contact-details a:hover { border-color: var(--red); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: #555e66; font-size: .8rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: .65rem 0; border: 0; border-bottom: 1px solid var(--silver); border-radius: 0; outline: 0; background: transparent; color: var(--black); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 3px; }
.field:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.field-error { min-height: 1rem; margin: 0; color: var(--red); font-size: .72rem; }
.consent { grid-column: 1 / -1; min-height: 44px; display: flex; align-items: center; gap: .75rem; color: #555e66; font-size: .82rem; }
.consent input { margin-top: 0; accent-color: var(--red); }
.form-actions { grid-column: 1 / -1; }
.form-success { display: none; padding: 2rem; border: 1px solid var(--red); }
.form-success.is-visible { display: block; }
.form-success h2 { margin-top: 0; font-family: var(--display); font-size: 2.5rem; text-transform: uppercase; }

/* Copy oficial del cliente — composiciones editoriales compartidas */
.home-intro .section__note { color: #626b73; }
#modelos .section__note { color: rgba(255,255,255,.92); }
.home-intro__copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.home-intro__copy .lead { max-width: 30rem; margin: 0; color: var(--black); }
.home-intro__copy > div { max-width: 44rem; }
.home-intro__copy > div p { color: #626b73; line-height: 1.65; }
.home-intro__copy > div p:first-child { margin-top: 0; }

.principles-list { border-top: 1px solid var(--line); }
.principles-list article { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.principles-list article > span, .values-list article > span { color: var(--red-on-dark); font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; }
.principles-list h3, .values-list h3 { margin: 0; font-family: var(--display); font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 300; letter-spacing: -.035em; }
.principles-list p, .values-list p { max-width: 42rem; margin: .45rem 0 0; color: var(--silver); }

.history-grid__copy p { max-width: 44rem; }
.history-statement, .history-closing { color: var(--white) !important; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; line-height: 1.65; text-transform: uppercase; }
.history-statement { padding-top: 1rem; border-top: 1px solid var(--red); }
.history-milestone { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.history-milestone span { color: var(--red-on-dark); font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; }
.history-milestone p { margin: 0; }
.history-purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.history-purpose__grid article { padding-top: 1.5rem; border-top: 1px solid rgba(9, 11, 13, .18); }
.history-purpose__grid .eyebrow { color: var(--red-on-light); }
.history-purpose__grid .lead { color: #3f474e; font-size: clamp(1rem, 1.6vw, 1.28rem); }
.values-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.values-list article { min-height: 220px; padding: clamp(1.5rem, 4vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-list article:nth-child(even) { border-right: 0; }
.page-history .history-statement, .page-history .history-closing { color: #252a2f !important; }
.page-history .history-statement { border-color: var(--red-on-light); }
.page-history .values-list { border-color: rgba(9, 11, 13, .2); }
.page-history .values-list article { border-color: rgba(9, 11, 13, .2); }
.page-history .values-list article > span { color: var(--red-on-light); }
.page-history .values-list h3 { color: var(--black); }
.page-history .values-list p { color: #353c42; }

.product-intro__copy { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 6vw, 6rem); margin-top: 1.5rem; align-items: end; }
.product-intro__copy .lead { margin: 0; }
.product-intro__copy > p:last-child { max-width: 32rem; margin: 0; color: var(--silver); }

.contact-manifesto { margin: 1.5rem 0 2rem; padding: 1.4rem 0; border-block: 1px solid rgba(9, 11, 13, .15); }
.contact-manifesto p { margin: 0; color: #3f474e; font-size: clamp(.95rem, 1.4vw, 1.12rem); }
.contact-manifesto strong { display: block; margin-top: 1rem; color: var(--black); font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 400; line-height: 1.2; }

.editorial-grid { display: grid; grid-template-columns: 1.35fr .65fr; border: 1px solid var(--graphite); }
.editorial-grid img { height: 100%; min-height: 520px; object-fit: cover; filter: grayscale(.9); }
.editorial-copy { display: flex; flex-direction: column; justify-content: end; padding: clamp(1.5rem, 4vw, 3.5rem); background: #15191c; }
.editorial-copy p { color: var(--silver); }
.news-note { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1px; }
.news-note article { min-height: 320px; padding: 2rem; border: 1px solid var(--graphite); background: #111417; }
.news-note p { color: var(--silver); }

.site-footer { padding: 6rem var(--gutter) 2rem; border-top: 1px solid var(--line); background: rgba(5,6,7,.96); overflow: hidden; }
.footer-main { display: grid; grid-template-columns: 1fr; gap: 4rem; padding-bottom: 4rem; }
.footer-brand {
  position: relative; width: 100%; min-width: 0;
  cursor: default;
}
.footer-brand img { display: block; width: 100%; height: auto; opacity: .48; }
.footer-brand-mask {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url("../images/orion-wordmark-outline.png") center / contain no-repeat;
  mask: url("../images/orion-wordmark-outline.png") center / contain no-repeat;
}
.footer-brand-light {
  position: absolute; left: -180px; top: -180px; width: 360px; height: 360px;
  background: radial-gradient(circle, #dce0e3 0%, #69727a 24%, rgba(34,39,45,.5) 52%, transparent 78%);
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .footer-brand-light { transition: transform 180ms cubic-bezier(.23, 1, .32, 1), opacity 180ms cubic-bezier(.23, 1, .32, 1); }
  .footer-brand.is-tracking .footer-brand-light { opacity: 1; }
}
.footer-nav { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--silver); font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav a[aria-current="page"] { color: var(--red-on-dark); }
@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { color: var(--red-on-dark); }
}
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #7b848b; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1.2rem; }
.footer-legal a { color: inherit; text-underline-offset: .25em; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--silver); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.legal-page { min-height: 70vh; padding: clamp(7rem, 11vw, 10rem) var(--gutter) clamp(5rem, 9vw, 8rem); background: var(--white); color: var(--black); }
.legal-shell { width: min(100%, 920px); margin-inline: auto; }
.legal-shell__intro { margin-bottom: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; border-bottom: 1px solid rgba(9,11,13,.16); }
.legal-shell h1 { max-width: 14ch; margin: .45rem 0 1.25rem; font-family: var(--display); font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 300; line-height: .98; }
.legal-shell h2 { margin: 2.75rem 0 .8rem; font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 400; }
.legal-shell p, .legal-shell li { color: #424a50; line-height: 1.75; }
.legal-shell ul { padding-left: 1.2rem; }
.legal-shell a { color: #7b1018; text-decoration: underline; text-underline-offset: .2em; }
.legal-note { margin-top: 3.5rem; padding: 1.25rem 1.4rem; border-left: 3px solid var(--red); background: #f0f1f2; }
.legal-updated { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* Content is visible without JavaScript. Motion never gates loading or reading. */
.reveal, .reveal.is-visible { opacity: 1; transform: none; }
/* Native view timelines: scroll position is the clock, with no editorial JS state.
   Viewport-length ranges finish consistently for short headings and tall images.
   Effects release at the end of entry; the approved resting composition stays unmodified.
   Unsupported browsers and reduced motion retain the visible resting composition. */
@supports (animation-timeline: view()) and (animation-range: entry 0% entry 22vh) {
  @media (prefers-reduced-motion: no-preference) {
    main .reveal h2 {
      animation: orion-scroll-title linear;
      animation-timeline: view(block);
      animation-range: entry 0% entry 22vh;
    }
    main :is(.home-intro__copy, .model-overview-v2__copy,
      .section__head > p, .catalog-group__head > p, .model-exterior__head > p,
      .history-grid__copy > p:nth-of-type(2), .dd-definition__copy > p:nth-of-type(2),
      .dd-outcome__copy > p:nth-of-type(2), .model-interior__note, .model-comfort__content) {
      animation: orion-scroll-copy linear;
      animation-timeline: view(block);
      animation-range: entry 0% entry 18vh;
    }
    main :is(.history-grid__image, .dd-stage__media img, .dd-definition__media img,
      .dd-outcome__media img, .editorial-grid > img, .sr-bodywork__figure img,
      .sr-maintenance__media img, .model-interior__item img, .model-case-study__figure img,
      .model-supplementary__figure img, .model-customization__media img, .model-road__media img) {
      animation: orion-scroll-image linear;
      animation-timeline: view(block);
      animation-range: entry 0% entry 26vh;
    }
    main :is(.model-feature, .story-card) {
      animation: orion-scroll-card linear;
      animation-timeline: view(block);
      animation-range: entry 0% entry 20vh;
    }
    /* Progress offsets provide row rhythm, never a time-based queue. */
    .catalog-group__grid .model-feature:nth-child(2n), .story-card:nth-child(2) {
      animation-range-end: entry 23vh;
    }
    .story-card:nth-child(3) { animation-range-end: entry 26vh; }
  }
  @media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .history-grid:nth-child(odd) .history-grid__image,
    .dd-outcome__media img, .editorial-grid > img, .sr-maintenance__media img {
      animation-name: orion-scroll-image-left;
    }
    .history-grid:nth-child(even) .history-grid__image, .dd-definition__media img {
      animation-name: orion-scroll-image-right;
    }
  }
}
@keyframes orion-scroll-title {
  from { opacity: .65; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}
@keyframes orion-scroll-copy {
  from { opacity: .85; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes orion-scroll-image {
  from { opacity: .85; transform: translateY(24px) scale(1.025); }
  to { opacity: 1; transform: none; }
}
@keyframes orion-scroll-image-left {
  from { opacity: .85; transform: translateX(-20px) scale(1.025); }
  to { opacity: 1; transform: none; }
}
@keyframes orion-scroll-image-right {
  from { opacity: .85; transform: translateX(20px) scale(1.025); }
  to { opacity: 1; transform: none; }
}
@keyframes orion-scroll-card {
  /* Individual translation leaves the existing hover transform independent. */
  from { opacity: .85; translate: 0 20px; }
  to { opacity: 1; translate: 0 0; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .model-feature { transition: transform 350ms cubic-bezier(.23,1,.32,1); }
  .model-feature:hover { transform: translateY(-5px); }
  .model-feature img { transition: transform 350ms cubic-bezier(.23,1,.32,1), filter .6s ease; }
  .model-feature:hover img, .model-feature:focus-visible img { transform: scale(calc(1.02 * var(--home-card-zoom, 1))); filter: brightness(1.02) saturate(1.03); }
  .model-feature__action::after { transition: transform 350ms cubic-bezier(.23,1,.32,1); }
  .model-feature:hover .model-feature__action::after { transform: translateX(5px); }
  .model-exterior__controls button { transition: transform 160ms cubic-bezier(.23,1,.32,1); }
  .model-exterior__controls button:active { transform: scale(.96); }
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

@media (max-width: 900px) {
  .menu-overlay { grid-template-columns: 1fr; }
  .menu-overlay__media { display: none; }
  .manifesto, .history-grid, .contact-layout { grid-template-columns: 1fr; }
  .history-grid--plant { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .model-slide { grid-template-columns: 1fr; min-height: 0; }
  .model-slide { min-height: 72svh; }
  .model-slide__media { min-height: 0; }
  .model-slide__copy { min-height: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 1rem; }
  .catalog-group__head { grid-template-columns: 1fr; gap: 1rem; }
  .catalog-group__grid { grid-template-columns: minmax(0, 540px); }
  .product-showcase { grid-template-columns: 1fr; }
  .product-card { min-height: 68svh; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-main { min-height: 65vw; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-thumb { aspect-ratio: 4/3; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid img { min-height: 430px; }
  .story-grid { gap: .85rem; }
  .story-card { min-height: 440px; }
  .story-card span { padding-inline: 1rem; font-size: clamp(1.4rem, 3.7vw, 2rem); }
  .home-intro__copy, .history-purpose__grid, .product-intro__copy { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .site-header { padding-inline: 1rem; }
  .site-logo { width: 130px; height: 48px; }
  .header-button { font-size: .62rem; }
  .header-button::before { width: 12px; }
  .header-quote { padding: .55rem .65rem; font-size: .58rem; letter-spacing: .14em; }
  .hero { min-height: 82svh; padding-bottom: 3rem; }
  .hero__marker { display: none; }
  .display { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .headline { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .section__head { align-items: start; flex-direction: column; }
  .model-slide__media { min-height: 56vw; }
  .model-slide__copy { min-height: 310px; }
  .story-grid { grid-template-columns: 1fr; }
  .page-home .story-grid { gap: 1rem; }
  .page-home .story-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .page-home .story-card img { object-fit: cover; object-position: center; }
  .page-home .story-card span { padding: 1.25rem; font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .model-feature { width: min(100%, 430px); aspect-ratio: 4 / 5; }
  .catalog-group, .catalog-group:first-child { padding-block: 3.5rem; }
  .catalog-group__head { margin-bottom: 1.5rem; }
  .catalog-group--single .model-feature, .catalog-group--historical .model-feature { width: min(100%, 430px); }
  .model-feature__name { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .cinematic-film { aspect-ratio: 4 / 5; }
  .page-home .hero {
    position: relative; min-height: 100svh; padding: 5.5rem 1rem 1.35rem;
    overflow: hidden; background: #000;
  }
  .page-home .hero-video-stage { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
  .page-home .hero-video-stage .hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transform: none;
  }
  .page-home .hero-video:nth-child(1) { object-position: 31% center; }
  .page-home .hero-video:nth-child(2) { object-position: 50% center; }
  .page-home .hero-video:nth-child(3) { object-position: 46% center; }
  .page-home .hero::after { background: radial-gradient(circle at 50% 50%, transparent 42%, rgba(9,11,13,.28) 100%); }
  /* Pedido del cliente: el video/giro debe percibirse primero; el texto es acompañamiento, no
     protagonista. Se baja el bloque hacia el tercio inferior (antes su centro quedaba ~52% de
     la pantalla, casi a media altura) y se reduce moderadamente su tamaño y ancho. La viñeta de
     abajo se encoge en la misma proporción para tapar menos video alrededor del texto — pero el
     oscurecimiento JUSTO detrás del texto (los mismos .88/.66/.28 de siempre) no se toca: esos
     valores vienen de una medición de contraste dedicada (486 muestras, ver REGISTRO_PROYECTO.md)
     y bajarlos sin volver a medir arriesgaría la legibilidad ya validada. */
  .page-home .hero__content {
    display: grid; position: absolute; left: 50%; top: clamp(340px, 67svh, 620px); bottom: auto;
    width: min(320px, 86vw); padding: 0; margin: 0; transform: translate(-50%, -50%);
    justify-items: center; background: none; backdrop-filter: none;
    text-shadow: 0 2px 16px rgba(0,0,0,.85);
  }
  .page-home .hero .eyebrow { display: none; }
  .page-home .hero .lead {
    display: block; max-width: 27ch; margin: .65rem auto 0; font-size: .57rem;
    line-height: 1.55; letter-spacing: .13em; text-transform: uppercase;
  }
  .page-home .hero .display { max-width: 15ch; font-size: clamp(1.48rem, 6.2vw, 1.85rem); }
  .page-home .hero__content::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 50%; top: 50%; width: 148%; height: 198%; transform: translate(-50%, -50%);
    background: radial-gradient(ellipse 58% 50% at 50% 50%, rgba(9,11,13,.88), rgba(9,11,13,.66) 52%, rgba(9,11,13,.28) 76%, rgba(9,11,13,0) 100%);
  }
  .page-home .hero__actions { margin-top: 1.15rem; }
  .page-home .hero .button { min-width: 145px; padding: .62rem .8rem; font-size: .56rem; }
  .page-home .story-card:nth-child(2) img { object-position: center 48%; }
  .history-grid:nth-child(even) .history-grid__image { order: 0; }
  .history-grid__image { min-height: 360px; height: 120vw; }
  .history-grid--plant .history-grid__image { height: auto; min-height: 0; aspect-ratio: 2400 / 1792; }
  .history-grid--plant .history-grid__image--plant-archive { aspect-ratio: 2752 / 1536; }
  .history-grid--renaciente .history-grid__image,
  .history-grid img[src*="renaciente"] {
    width: 100%; height: auto; min-height: 0; max-height: none;
    aspect-ratio: 2400 / 1792; object-fit: cover; object-position: center;
  }
  .model-nav { padding-inline: 1.25rem; }
  .gallery-main { min-height: 78vw; }
  .gallery-thumbs { display: none; }
  .gallery-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
  .contact-form { grid-template-columns: 1fr; }
  .field--full, .consent, .form-actions { grid-column: auto; }
  .news-note { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-nav { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .footer-legal { justify-content: flex-start; gap: .65rem 1rem; line-height: 1.5; }
  .page-home .home-intro { padding-block: 4.5rem; }
  .page-home .home-intro .section__head { gap: 1.5rem; margin-bottom: 3rem; }
  .page-home .home-intro__copy { gap: 2.5rem; }
  .page-home .home-intro__copy > div { max-width: 38ch; }
  .principles-list article { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .values-list { grid-template-columns: 1fr; }
  .values-list article { min-height: 0; border-right: 0; }
  .history-milestone { grid-template-columns: 3.5rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-world .story-card img { transition: none; }
}

@media (min-width: 901px) {
  /* El copy define la altura de estas composiciones. Se conserva aire amplio,
     sin heredar los 10rem por lado de las secciones más cinematográficas. */
  .page-home .home-intro { padding-block: clamp(5.5rem, 7vw, 6.5rem); }
  .page-home .home-intro .section__head { margin-bottom: 2rem; }

  .page-design .dd-stage--digital { padding-top: clamp(5.5rem, 7vw, 7rem); padding-bottom: clamp(6rem, 8vw, 8rem); }
  .page-design .dd-stage--digital .dd-process-intro { margin-bottom: clamp(3.5rem, 5vw, 4.5rem); }
  .page-design .dd-stage--digital .section__head { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.news-body summary { cursor:pointer; padding:.75rem 0; text-decoration:underline; text-underline-offset:4px; }
.news-body p { white-space:pre-wrap; overflow-wrap:anywhere; }

.cinematic-film span { pointer-events:none; bottom:1.25rem; }
.menu-overlay { overflow: hidden; }

/* ============================================================
   Diseño & Desarrollo — diseno-desarrollo.html
   Bloque aislado: no reescribe ninguna regla anterior.
   ============================================================ */

/* 01 · Boceto / concepto. La imagen clara se conserva legible y el degradado
   concentra el contraste detrás del título sin oscurecer toda la lámina. */
.page-hero--process { min-height: 74svh; background: #e9e5dc; }
.page-hero--process img { filter: saturate(.88) contrast(1.02); }
.page-hero--process::after {
  background: linear-gradient(0deg,
    rgba(9, 11, 13, .95) 0%,
    rgba(9, 11, 13, .90) 18%,
    rgba(9, 11, 13, .58) 32%,
    rgba(9, 11, 13, .10) 50%,
    transparent 64%);
}
.dd-lede { max-width: 30rem; }
.dd-process-intro { max-width: 54rem; margin: 0 0 clamp(4rem, 8vw, 7rem); }

/* Marco de recorte: contiene el reveal de escala y el filete de superposición.
   height:auto es necesario: los atributos width/height del HTML fijan una
   altura que, de otro modo, anularía aspect-ratio. */
.dd-frame { overflow: hidden; }
.dd-frame img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }

.dd-stage figcaption,
.dd-definition figcaption,
.dd-outcome figcaption { margin-top: .85rem; color: var(--silver); font-family: var(--mono); font-size: .67rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.dd-definition__copy p, .dd-outcome__copy p { max-width: 38rem; color: var(--silver); }

/* 02 · Desarrollo digital. La fotografía 16:9 conserva su encuadre completo. */
.dd-stage__media { margin: 0; }
.dd-stage--digital .dd-stage__media { margin-inline: calc(var(--gutter) * -1); }
.dd-stage--digital .dd-stage__media figcaption { padding-inline: var(--gutter); }
.dd-stage--digital .dd-frame img { aspect-ratio: 16 / 9; object-fit: contain; background: #080a0c; }

/* 03 · Definición del diseño */
.dd-definition { display: grid; gap: clamp(2.25rem, 7vw, 5rem); align-items: center; }
.dd-definition__media, .dd-outcome__media { margin: 0; }
.dd-definition__media .dd-frame img { aspect-ratio: 16 / 9; object-fit: contain; background: #d8d8d8; }

/* 04 · Ingeniería. La lámina se lee como papel sobre una mesa clara. */
.dd-blueprint .section__note { color: #626b73; }
.dd-plate { margin: 0; }
.dd-plate + .dd-plate { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.dd-plate__frame { width: min(100%, 74rem); margin-inline: auto; padding: clamp(.75rem, 2vw, 1.75rem); overflow: hidden; background: #fff; border: 1px solid rgba(9, 11, 13, .14); border-radius: 2px; box-sizing: border-box; }
.dd-plate--front-rear .dd-plate__frame,
.dd-plate--side-plan .dd-plate__frame,
.dd-plate--lateral .dd-plate__frame,
.dd-plate--plan .dd-plate__frame { width: min(100%, 74rem); }
.dd-plate__frame img { display: block; width: 100%; max-width: 100%; height: auto; transform: none; object-fit: contain; }
.dd-plate figcaption { margin-top: .85rem; color: #626b73; font-family: var(--mono); font-size: .67rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.dd-plate__hint { display: none; color: var(--red-on-light); }
.dd-plate.is-scrollable .dd-plate__hint { display: inline; }
.dd-note { max-width: 44rem; margin: clamp(2.5rem, 6vw, 4rem) 0 0; color: #626b73; font-size: .85rem; line-height: 1.7; }
.dd-engineering-claim { margin: clamp(2.5rem, 6vw, 4rem) 0 0; color: var(--red-on-light); font-family: var(--mono); font-size: clamp(.72rem, 1.1vw, .9rem); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.dd-engineering-claim + .dd-note { margin-top: 1rem; }

/* 05 · Del plano a la planta */
.dd-outcome { display: grid; gap: clamp(2.25rem, 7vw, 3.5rem); align-items: end; }
.dd-outcome__media .dd-frame img { aspect-ratio: 4 / 3; }

/* 06 · Cierre */
.dd-cta .lead { margin-bottom: 2rem; }
.dd-closing { margin: 0 0 2rem; color: var(--red-on-dark); font-family: var(--mono); font-size: clamp(.72rem, 1.1vw, .9rem); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.dd-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 900px) {
  /* En móvil se muestra la lámina completa: el boceto importa más que llenar
     verticalmente el hero mediante un recorte agresivo. */
  .page-hero--process { min-height: 68svh; }
  .page-hero--process img { object-fit: contain; object-position: center 28%; }

  .dd-definition__media, .dd-outcome__media, .dd-plate { margin-inline: calc(var(--gutter) * -1); }
  .dd-definition figcaption, .dd-outcome figcaption, .dd-plate figcaption { padding-inline: var(--gutter); }

  .dd-plate__frame { width: 100%; overflow: hidden; border-inline: 0; padding: clamp(.5rem, 2.5vw, 1rem); box-sizing: border-box; }
  .dd-plate--front-rear .dd-plate__frame,
  .dd-plate--side-plan .dd-plate__frame,
  .dd-plate--lateral .dd-plate__frame,
  .dd-plate--plan .dd-plate__frame { width: 100%; }
  .dd-plate__frame img { width: 100%; max-width: 100%; min-width: 0; height: auto; object-fit: contain; }
}

@media (min-width: 901px) {
  .dd-definition { grid-template-columns: .36fr .64fr; gap: clamp(3rem, 6vw, 6rem); }
  .dd-outcome { grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 6vw, 6rem); }

  .dd-plate__hint { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .dd-frame img { transform: scale(1.035); transition: transform 1.1s cubic-bezier(.23, 1, .32, 1); }
  .reveal.is-visible .dd-frame img { transform: none; }
}

/* ============================================================
   Servicio & Respaldo — servicio-respaldo.html
   Composición documental basada en los patrones editoriales existentes.
   ============================================================ */
.sr-hero { position: relative; min-height: 82svh; display: flex; align-items: end; overflow: hidden; padding: 7rem var(--gutter) 4rem; }
.sr-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.sr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,11,13,.88) 0%, rgba(9,11,13,.46) 34%, rgba(9,11,13,.08) 70%); }
.sr-hero__content { position: relative; z-index: 1; max-width: 780px; }
.sr-hero__content .lead { max-width: 34rem; color: var(--white); }

.sr-intro .eyebrow, .sr-maintenance .eyebrow, .sr-trust .eyebrow { color: var(--red-on-light); }
.sr-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.sr-intro__grid .lead { margin-top: 0; color: #353c42; }
.sr-intro__grid > div:last-child { max-width: 42rem; }
.sr-intro__grid > div:last-child > p:last-child { color: #626b73; }

.sr-bodywork__figure { margin: 0 calc(var(--gutter) * -1); overflow: hidden; }
.sr-bodywork__figure img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.sr-bodywork__figure figcaption { padding: .9rem var(--gutter) 0; color: var(--silver); font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }

.sr-human { position: relative; min-height: 78svh; display: flex; align-items: end; overflow: hidden; padding: 6rem var(--gutter); }
.sr-human > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.sr-human::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,13,.9) 0%, rgba(9,11,13,.62) 38%, rgba(9,11,13,.06) 72%); }
.sr-human__copy { position: relative; z-index: 1; width: min(38rem, 52%); padding: clamp(1.5rem, 4vw, 3rem); background: rgba(9,11,13,.68); backdrop-filter: blur(4px); }
.sr-human__copy p:last-child { color: var(--silver); }

.sr-maintenance { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.sr-maintenance__media { margin: 0; overflow: hidden; }
.sr-maintenance__media img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 50% center; }
.sr-maintenance__copy { max-width: 34rem; }
.sr-maintenance__copy p { color: #626b73; }

.sr-other-brands { min-height: 70svh; display: flex; align-items: center; background: #111417; }
.sr-other-brands__copy { width: min(100%, 980px); }
.sr-other-brands__copy .headline { max-width: 20ch; font-size: clamp(2.5rem, 5vw, 5rem); }
.sr-other-brands__copy .lead { max-width: 52rem; margin-top: 2rem; }

.sr-trust { min-height: 66svh; display: flex; align-items: center; }
.sr-trust__copy { max-width: 1100px; }
.sr-trust h2 { margin: 0; color: var(--black); font-family: var(--display); font-size: clamp(2.5rem, 5.7vw, 5.7rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.02; }

.sr-cta .lead { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .sr-intro__grid, .sr-maintenance { grid-template-columns: 1fr; }
  .sr-maintenance__media { margin-inline: calc(var(--gutter) * -1); }
  .sr-maintenance__copy { max-width: 42rem; }
  .sr-human { min-height: 72svh; }
  .sr-human__copy { width: min(100%, 36rem); }
}

@media (max-width: 620px) {
  .sr-hero { min-height: 78svh; padding: 6rem 1.25rem 3rem; }
  .sr-hero > img { object-position: 42% center; }
  .sr-hero::after { background: linear-gradient(0deg, rgba(9,11,13,.92) 0%, rgba(9,11,13,.52) 38%, rgba(9,11,13,.06) 72%); }
  .sr-intro__grid { gap: 2.5rem; }
  .sr-bodywork__figure img { aspect-ratio: 4 / 3; object-position: 62% center; }
  .sr-human { min-height: 76svh; padding: 3rem 1.25rem; }
  .sr-human > img { object-position: 54% center; }
  .sr-human::after { background: linear-gradient(0deg, rgba(9,11,13,.94) 0%, rgba(9,11,13,.42) 48%, rgba(9,11,13,.02) 76%); }
  .sr-human__copy { padding: 1.25rem; background: rgba(9,11,13,.7); }
  .sr-maintenance__media img { aspect-ratio: 4 / 3; object-position: 52% center; }
  .sr-other-brands { min-height: auto; }
  .sr-other-brands__copy .headline { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .sr-trust { min-height: 62svh; }
}

@media (prefers-reduced-motion: no-preference) {
  .sr-bodywork__figure img, .sr-maintenance__media img { transform: none; }
  .sr-bodywork__figure.is-visible img, .sr-maintenance__media.is-visible img { transform: none; }
}

/* ============================================================
   Ficha de modelo V2 — hero compartido alimentado por Product V2.
   El resto de la ficha conserva temporalmente su composición actual.
   ============================================================ */
@media (max-width: 900px) {
  .model-hero-v2 { min-height: 90svh; }
  .model-hero-v2__content { width: min(100%, 42rem); }
}

@media (max-width: 620px) {
  .model-hero-v2 { min-height: 92svh; align-items: end; }
  .model-hero-v2__media { inset: var(--header-h) 0 auto; height: 56%; display: grid; place-items: start center; }
  .model-hero-v2__media img {
    width: 146%; max-width: none; height: auto; min-height: 0; aspect-ratio: 1920 / 1071;
    object-fit: contain; object-position: center top;
  }
  .page-model[data-product="fx-bus"] .model-hero-v2__media { height: auto; aspect-ratio: 4 / 3; }
  .page-model[data-product="fx-bus"] .model-hero-v2__media img {
    width: 100%; height: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: center; animation: none; transform: none;
  }
  .page-model[data-product="fx-food-truck"] .model-hero-v2__media { height: auto; aspect-ratio: 4 / 3; }
  .page-model[data-product="fx-food-truck"] .model-hero-v2__media img {
    width: 100%; height: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: center; animation: none; transform: none;
  }
  .page-model[data-product="bus-cabrio-techo-duro"] .model-hero-v2__media,
  .page-model[data-product="tranvia-turistico"] .model-hero-v2__media,
  .page-model[data-product="tren-turistico"] .model-hero-v2__media { height: auto; aspect-ratio: 4 / 3; }
  .page-model[data-product="bus-cabrio-techo-duro"] .model-hero-v2__media img,
  .page-model[data-product="tranvia-turistico"] .model-hero-v2__media img,
  .page-model[data-product="tren-turistico"] .model-hero-v2__media img {
    width: 100%; height: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: center; animation: none; transform: none;
  }
  .model-hero-v2__shade {
    background: linear-gradient(0deg, rgba(9,11,13,.76) 0%, rgba(9,11,13,.5) 18%, rgba(9,11,13,.14) 40%, rgba(9,11,13,0) 58%);
  }
  .model-hero-v2__content { width: 100%; padding: 5rem 1.25rem max(2rem, env(safe-area-inset-bottom)); }
  .model-hero-v2__title { margin-bottom: .55rem; font-size: clamp(2.75rem, 15vw, 4rem); }
  .model-hero-v2__claim { max-width: 28ch; font-size: clamp(.98rem, 4.4vw, 1.15rem); }
  .model-hero-v2__actions { margin-top: 1.4rem; }
  .model-hero-v2__actions .button { width: min(100%, 280px); min-height: 48px; }

  .page-model[data-product="orion-firetruck"] .model-hero-v2__media {
    inset: var(--header-h) 0 auto 0;
    width: 100%;
    height: 52%;
    display: block;
  }
  .page-model[data-product="orion-firetruck"] .model-hero-v2__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 4% center;
    animation: none;
    transform: none;
  }
  .page-model[data-product="orion-firetruck"] .model-hero-v2__content {
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
    padding: 1.5rem 1.25rem max(2rem, env(safe-area-inset-bottom));
    text-align: left;
  }
  .page-model[data-product="orion-firetruck"] .model-hero-v2__title {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }
  .page-model[data-product="orion-firetruck"] .model-hero-v2__claim {
    max-width: 28ch;
  }

  .page-model[data-product="orion-vission-midi"] .model-hero-v2__media,
  .page-model[data-product="radical"] .model-hero-v2__media { inset: 0; width: 100%; height: 100%; display: block; }
  .page-model[data-product="orion-vission-midi"] .model-hero-v2__media img,
  .page-model[data-product="radical"] .model-hero-v2__media img {
    width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; animation: none; transform: none;
  }
  .page-model[data-product="orion-vission-midi"] .model-hero-v2__media img { object-position: 24% center; }
  .page-model[data-product="radical"] .model-hero-v2__media img { object-position: 18% center; }
  .page-model[data-product="tranvia-turistico"] .model-hero-v2__media img { object-position: 80% center; }
  .page-model[data-product="orion-vission-midi"] .model-hero-v2__content,
  .page-model[data-product="radical"] .model-hero-v2__content {
    box-sizing: border-box; width: min(78%, 30rem); margin-left: auto; padding-left: 1rem; text-align: left;
  }
  .page-model[data-product="orion-vission-midi"] .model-hero-v2__title,
  .page-model[data-product="radical"] .model-hero-v2__title { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .page-model[data-product="orion-vission-midi"] .model-hero-v2__claim,
  .page-model[data-product="radical"] .model-hero-v2__claim { max-width: 22ch; }
}

@media (max-width: 900px) {
  .page-model[data-product="fx-bus"] .model-hero-v2,
  .page-model[data-product="orion-fx"] .model-hero-v2 {
    min-height: auto;
    display: block;
    padding-top: var(--header-h);
  }
  .page-model[data-product="fx-bus"] .model-hero-v2__media,
  .page-model[data-product="orion-fx"] .model-hero-v2__media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 43 / 24;
    background: #090b0d;
  }
  .page-model[data-product="fx-bus"] .model-hero-v2__media img,
  .page-model[data-product="orion-fx"] .model-hero-v2__media img {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    animation: none;
    transform: none;
  }
  .page-model[data-product="fx-bus"] .model-hero-v2__shade,
  .page-model[data-product="orion-fx"] .model-hero-v2__shade { display: none; }
  .page-model[data-product="fx-bus"] .model-hero-v2__content,
  .page-model[data-product="orion-fx"] .model-hero-v2__content {
    position: relative;
    z-index: 1;
    padding-top: clamp(2rem, 5vw, 3rem);
  }
}


@media (prefers-reduced-motion: reduce) {
  .model-hero-v2__media img { animation: none; transform: none; }
}

/* ============================================================
   Ficha de modelo V2 — 04.2 overview, specs y adaptación.
   Todas las reglas permanecen dentro del namespace de la ficha.
   ============================================================ */
.model-overview-v2 {
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(3rem, 8vw, 9rem); align-items: start;
}
.model-overview-v2__heading { max-width: 40rem; }
.model-overview-v2__copy { max-width: 46rem; }
.model-overview-v2__copy > .lead { margin-top: 0; color: #2e353b; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45; }
.model-overview-v2__copy > p:not(.lead) { max-width: 42rem; color: #626b73; }
.model-overview-v2__applications { margin-top: clamp(2.25rem, 5vw, 4rem); padding-top: 1.15rem; border-top: 1px solid rgba(9,11,13,.2); }
.model-overview-v2__applications span { color: #626b73; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.model-overview-v2__applications p { max-width: 44rem; margin: .7rem 0 0; color: var(--black); font-size: clamp(.95rem, 1.35vw, 1.15rem); line-height: 1.6; }

.model-specs-v2 { padding-block: clamp(5rem, 9vw, 9rem); }
.model-specs-v2__head { display: grid; grid-template-columns: minmax(9rem, .35fr) 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: baseline; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.model-specs-v2__head .headline { margin: 0; }
.model-specs-v2__list { margin: 0; border-top: 1px solid var(--line); }
.model-specs-v2__row { display: grid; grid-template-columns: minmax(9rem, .35fr) 1fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(1.75rem, 3.5vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.model-specs-v2 dt { color: var(--silver); font-family: var(--mono); font-size: .63rem; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.model-specs-v2 dd { margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }

.model-adapted-v2 { min-height: 58svh; display: flex; align-items: center; }
.model-adapted-v2__copy { width: min(100%, 980px); }
.model-adapted-v2__copy .headline { max-width: 19ch; }
.model-adapted-v2__copy .lead { max-width: 52rem; margin-top: 2rem; color: #3d454c; }

.model-technical { overflow: hidden; background: #e9ecee; color: var(--black); }
.model-technical__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .7fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; margin-bottom: clamp(2.75rem, 6vw, 5rem); }
.model-technical__head .headline { max-width: 14ch; margin-bottom: 0; }
.model-technical__intro { max-width: 36rem; margin: 0; color: #4f5961; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; }
.model-technical__controls { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(9,11,13,.18); }
.model-technical__tabs { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); }
.model-technical__tab { position: relative; min-height: 48px; padding: 0 0 1rem; border: 0; background: transparent; color: #5d666d; font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.model-technical__tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.model-technical__tab[aria-selected="true"] { color: var(--black); }
.model-technical__tab[aria-selected="true"]::after { transform: scaleX(1); }
.model-technical__tab:focus-visible, .model-technical__pan:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.model-technical__hint { display: none; margin: 0 0 1rem; color: #687179; font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.model-technical__controls.is-scrollable .model-technical__hint { display: block; }
.model-technical__viewer { width: 100%; max-width: 100%; background: #f8f9f9; border: 1px solid rgba(9,11,13,.13); }
.model-technical__panel { margin: 0; padding: clamp(1.25rem, 3vw, 3rem); animation: model-technical-fade .3s ease both; }
.model-technical__panel[hidden] { display: none; }
.model-technical__pan { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-color: #858d93 #dde1e3; scrollbar-width: thin; }
.model-technical__pan { overflow-x: auto; overflow-y: hidden; }
.model-technical__canvas { width: min(100%, 74rem); margin-inline: auto; }
.model-technical__panel img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; transform: none; }
.model-technical__panel figcaption { margin-top: 1.25rem; color: #687179; font: 500 .62rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
@keyframes model-technical-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Ficha de modelo V2 — 04.4 exterior e interior editoriales.
   Los capítulos existen solo cuando la capa de medios entrega su grupo.
   ============================================================ */
.model-exterior { padding-inline: 0; background: #090b0d; }
.model-exterior__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .62fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; margin: 0 var(--gutter) clamp(2.75rem, 6vw, 5rem); }
.model-exterior__head .headline { max-width: 15ch; margin-bottom: 0; }
.model-exterior__head > p { max-width: 34rem; margin: 0; color: var(--silver); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; }
.model-exterior__stage { position: relative; min-width: 0; outline-offset: -4px; background: #0e1113; }
.model-exterior__slides { position: relative; min-height: clamp(32rem, 68vw, 54rem); overflow: clip; }
.model-exterior__slide { position: absolute; inset: 0; margin: 0; animation: model-exterior-enter .38s ease both; }
.model-exterior__slide[hidden] { display: none; }
.model-exterior__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-model[data-product="orion-fx"] .model-exterior__slide img,
.page-model[data-product="orion-vission-midi"] .model-exterior__slide img { object-fit: contain; }
.page-model[data-product="radical"] .model-exterior__slide img { object-fit: contain; }
.page-model[data-product="fx-bus"] .model-exterior__slide img { object-fit: contain; }
.page-model[data-product="fx-food-truck"] .model-exterior__slide img,
.page-model[data-product="bus-cabrio-techo-duro"] .model-exterior__slide img,
.page-model[data-product="tranvia-turistico"] .model-exterior__slide img,
.page-model[data-product="tren-turistico"] .model-exterior__slide img { object-fit: contain; }
.model-exterior__slide[data-view="side"] img { object-fit: contain; padding: clamp(1rem, 3vw, 2.5rem); }
.model-exterior__slide figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: 2rem; margin: 0; color: rgba(255,255,255,.86); font: 500 .63rem/1.4 var(--mono); letter-spacing: .14em; text-shadow: 0 2px 14px rgba(0,0,0,.9); text-transform: uppercase; }
.model-exterior__controls { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.4rem; display: flex; align-items: center; gap: .65rem; }
.model-exterior__controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(9,11,13,.68); color: var(--white); cursor: pointer; }
.model-exterior__controls button:hover, .model-exterior__controls button:focus-visible { border-color: var(--red); background: var(--red); }
.model-exterior__controls button:disabled { opacity: .4; cursor: default; }
.model-exterior__controls p { min-width: 4.5rem; margin: 0; color: var(--white); font: 500 .65rem/1 var(--mono); letter-spacing: .12em; text-align: center; }
@keyframes model-exterior-enter { from { opacity: 0; transform: translateX(.75rem); } to { opacity: 1; transform: none; } }

.model-interior { color: var(--black); }
.model-road { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(22rem, .65fr); min-height: 76svh; background: #090b0d; }
.model-road__media { min-height: 42rem; margin: 0; overflow: hidden; }
.model-road__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.model-road__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.model-road__content .headline { max-width: 13ch; }
.model-road__content > p:last-child { max-width: 38rem; color: var(--silver); }
.model-interior__head { max-width: 58rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.model-interior__head .headline { max-width: 17ch; margin-bottom: 0; }
.model-interior__media { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); grid-template-rows: auto auto; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end; }
.model-interior__item { margin: 0; min-width: 0; }
.model-interior__item--primary { grid-row: 1 / 3; }
.model-interior__item img { width: 100%; height: auto; object-fit: cover; }
.model-interior__item--primary img { aspect-ratio: 4 / 3; }
.model-interior__item--secondary img { aspect-ratio: 4 / 3; }
.page-model[data-product="radical"] .model-interior__item img { aspect-ratio: 4 / 3; object-fit: cover; }
.page-model[data-product="fx-bus"] .model-interior__item img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.page-model[data-product="fx-food-truck"] .model-interior__item img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.model-interior__item figcaption { margin-top: .85rem; color: #5d666d; font: 500 .63rem/1.55 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.model-interior__note { align-self: start; padding-top: 1.25rem; border-top: 1px solid rgba(9,11,13,.2); }
.model-interior__note p { max-width: 31rem; margin: 0; color: #4f5961; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.65; }

/* ============================================================
   Ficha de modelo V2 — 04.5 confort, seguridad y personalización.
   Cada capítulo se oculta desde datos cuando su campo content está vacío.
   ============================================================ */
.model-quality-copy { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.6; }
.model-quality-note { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid currentColor; font: 500 .62rem/1.55 var(--mono); letter-spacing: .11em; text-transform: uppercase; }

.model-comfort { min-height: 72svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .75fr); gap: clamp(3rem, 9vw, 10rem); align-items: center; background: #101316; }
.model-comfort__heading .headline { max-width: 15ch; margin-bottom: 0; }
.model-comfort__content { max-width: 39rem; padding-left: clamp(1.25rem, 3vw, 3rem); border-left: 1px solid var(--red); }
.model-comfort__content .model-quality-copy { color: #d7dbde; }
.model-comfort__content .model-quality-note { color: #899198; }

.model-safety { min-height: 74svh; display: grid; grid-template-columns: minmax(7rem, .25fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; color: var(--black); }
.model-safety__index { align-self: start; color: rgba(9,11,13,.14); font-family: var(--display); font-size: clamp(6rem, 15vw, 14rem); font-weight: 300; letter-spacing: -.08em; line-height: .72; }
.model-safety__content { width: min(100%, 68rem); }
.model-safety__content .headline { max-width: 16ch; }
.model-safety__content .model-quality-copy { max-width: 54rem; color: #353c42; font-size: clamp(1.25rem, 2.2vw, 1.85rem); }
.model-safety__content .model-quality-note { max-width: 42rem; color: #687179; }

.model-customization { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr); min-height: 76svh; background: #090b0d; }
.model-customization__media { min-height: 42rem; margin: 0; overflow: hidden; }
.model-customization__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.model-customization__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.model-customization__content .headline { max-width: 13ch; }
.model-customization__content .model-quality-copy { max-width: 38rem; color: var(--silver); }
.page-model[data-product="orion-firetruck"] .model-customization { align-items: center; }
.page-model[data-product="orion-firetruck"] .model-customization__media { min-height: auto; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 3.5vw, 3.5rem); background: #090b0d; }
.page-model[data-product="orion-firetruck"] .model-customization__media img { width: 100%; height: auto; max-height: 74svh; aspect-ratio: 1024 / 571; object-fit: contain; object-position: center; filter: none; }
.model-case-study__head { display: grid; grid-template-columns: minmax(0, .7fr) minmax(22rem, 1.3fr); gap: 1rem clamp(2rem, 8vw, 8rem); margin-bottom: clamp(3rem, 7vw, 6rem); }
.model-case-study__head .eyebrow, .model-case-study__head .headline { grid-column: 1; }
.model-case-study__head .headline { margin-bottom: 0; }
.model-case-study__head .lead, .model-case-study__head > p:last-child { grid-column: 2; margin: 0; }
.model-case-study__head .lead { align-self: end; color: #2e353b; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.5; }
.model-case-study__head > p:last-child { color: #626b73; }
.model-case-study__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.model-case-study__figure { margin: 0; }
.model-case-study__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.model-case-study__figure figcaption { margin-top: .8rem; color: #5d666d; font: 500 .63rem/1.55 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .model-overview-v2 { grid-template-columns: 1fr; gap: 2.75rem; }
  .model-specs-v2__head { grid-template-columns: 1fr; gap: .85rem; }
  .model-technical__head { grid-template-columns: 1fr; gap: 2rem; }
  .model-exterior__head { grid-template-columns: 1fr; gap: 2rem; }
  .model-exterior__slides { min-height: clamp(28rem, 72vw, 38rem); }
  .model-interior__media { grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr); }
  .model-road { grid-template-columns: 1fr; }
  .model-road__media { min-height: 58vw; }
  .page-model[data-product="orion-firetruck"] .model-road__media,
  .model-road__media:has(img[src*="final-action"]) { min-height: 0; aspect-ratio: 2752 / 1536; width: 100%; height: auto; }
  .model-road__content { padding-block: 5rem; }
  .model-comfort { grid-template-columns: 1fr; min-height: auto; gap: 3rem; }
  .model-comfort__content { max-width: 46rem; }
  .model-safety { min-height: auto; grid-template-columns: 5rem minmax(0, 1fr); }
  .model-customization { grid-template-columns: 1fr; }
  .model-customization__media { min-height: 58vw; }
  .model-customization__content { padding-block: 5rem; }
  .model-case-study__head { grid-template-columns: 1fr; gap: 1.25rem; }
  .model-case-study__head .eyebrow, .model-case-study__head .headline, .model-case-study__head .lead, .model-case-study__head > p:last-child { grid-column: 1; }
}

@media (max-width: 620px) {
  .model-overview-v2 { gap: 2.25rem; }
  .model-overview-v2__copy > .lead { font-size: 1.12rem; }
  .model-overview-v2__applications { margin-top: 2.25rem; }
  .model-specs-v2 { padding-block: 4.75rem; }
  .model-specs-v2__head { margin-bottom: 2.5rem; }
  .model-specs-v2__row { grid-template-columns: 1fr; gap: .65rem; padding-block: 1.65rem; }
  .model-specs-v2 dd { max-width: 20ch; font-size: clamp(1.5rem, 7vw, 2rem); }
  .model-adapted-v2 { min-height: auto; padding-block: 5rem; }
  .model-adapted-v2__copy .lead { margin-top: 1.5rem; }
  .model-technical { padding-inline: 0; }
  .model-technical__head, .model-technical__controls { margin-inline: var(--gutter); }
  .model-technical__head { margin-bottom: 2.5rem; }
  .model-technical__controls { display: block; }
  .model-technical__tabs { flex-wrap: nowrap; gap: 1.5rem; overflow-x: auto; }
  .model-technical__tab { flex: 0 0 auto; }
  .model-technical__hint { display: none; }
  .model-technical__viewer { border-inline: 0; }
  .model-technical__panel { padding: 1.25rem var(--gutter); }
  .model-technical__panel .model-technical__pan { display: block; min-height: 0; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; }
  .model-technical__canvas { width: 100%; max-width: 100%; margin-inline: auto; }
  .model-technical__panel[data-view="side-plan"] .model-technical__canvas,
  .model-technical__panel[data-view="front-rear"] .model-technical__canvas { width: 100%; }
  .model-exterior__head { margin-bottom: 2.5rem; }
  .model-exterior__slides { min-height: 72vw; }
  .model-exterior__slide img { object-fit: cover; }
  .model-exterior__slide[data-view="side"] img { object-fit: contain; padding: .75rem; }
  .model-exterior__slide figcaption { left: var(--gutter); bottom: 1rem; max-width: 45%; }
  .model-exterior__controls { right: var(--gutter); bottom: .75rem; gap: .35rem; }
  .model-exterior__controls button { width: 44px; height: 44px; }
  .model-exterior__controls p { min-width: 3.8rem; font-size: .6rem; }
  .model-road__media { min-height: 0; aspect-ratio: 4 / 3; }
  .page-model[data-product="orion-firetruck"] .model-road__media,
  .model-road__media:has(img[src*="final-action"]) { min-height: 0; aspect-ratio: 2752 / 1536; width: 100%; height: auto; }
  .page-model[data-product="orion-firetruck"] .model-road__media img,
  .model-road__media:has(img[src*="final-action"]) img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .model-road__content { padding: 4.5rem var(--gutter); }
  .model-interior__media { grid-template-columns: 1fr; grid-template-rows: none; gap: 2.5rem; }
  .model-interior__item--primary { grid-row: auto; }
  .model-interior__item img, .model-interior__item--primary img, .model-interior__item--secondary img { aspect-ratio: 16 / 10; }
  .model-interior__note { padding-top: 1.5rem; }
  .model-quality-copy { font-size: 1.08rem; }
  .model-comfort { padding-block: 5rem; }
  .model-comfort__heading .headline { max-width: 17ch; }
  .model-comfort__content { padding-left: 1.25rem; }
  .model-safety { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 5rem; }
  .model-safety__index { font-size: 5rem; }
  .model-safety__content .model-quality-copy { font-size: 1.12rem; }
  .model-customization__media { min-height: 0; aspect-ratio: 4 / 3; }
  .model-customization__content { padding: 4.5rem var(--gutter); }
  .model-case-study__media { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .model-technical__tab::after { transition: none; }
  .model-technical__panel { animation: none; }
  .model-exterior__slide { animation: none; }
}

/* ============================================================
   Ficha de modelo V2 — 04.6 video final y cierre comercial.
   Visibilidad gobernada por media.videos y commerce.quoteEnabled.
   ============================================================ */
.model-video-final { padding-block: clamp(5rem, 9vw, 8rem); }
.model-video-final .section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.model-video-final .cinematic-film { aspect-ratio: 16 / 9; }
.model-video-final .cinematic-film video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: auto; }
.model-video-final .cinematic-film span { top: 1.25rem; bottom: auto; }
.model-video-final .cinematic-film::after { background: linear-gradient(180deg, rgba(9,11,13,.48), transparent 24%); }
.model-video-final video:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }

.model-quote-close { display: grid; min-height: min(64svh, 44rem); place-items: center; padding: clamp(5rem, 10vw, 9rem) var(--gutter); background: #f2f3f3; color: var(--black); text-align: center; }
.model-quote-close__inner { width: min(100%, 64rem); }
.model-quote-close .eyebrow { color: var(--red-on-light); }
.model-quote-close .headline { margin-inline: auto; margin-bottom: 1.25rem; }
.model-quote-close p:not(.eyebrow) { max-width: 42rem; margin: 0 auto; color: #4f5961; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.6; }
.model-quote-close .button { min-height: 48px; margin-top: clamp(2rem, 4vw, 3rem); }

.model-explore { background: #101214; color: var(--white); border-top: 1px solid var(--line); }
.model-explore__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.model-explore__head .headline { margin: 0; }
.model-explore__all { flex: 0 0 auto; }
.model-explore__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 19vw, 280px);
  gap: 1.15rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: .85rem;
  cursor: grab;
  user-select: none;
}
.model-explore__grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.model-explore__grid::-webkit-scrollbar {
  display: none;
}
.model-explore__card {
  scroll-snap-align: start;
  scroll-margin-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  text-decoration: none;
  transition: transform .15s ease-out;
}
.model-explore__card:active {
  transform: scale(.98);
}
.model-explore__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111417;
  border: 1px solid rgba(189,195,200,.16);
  border-radius: 2px;
}
.model-explore__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.88) saturate(.92);
  transition: filter .2s, border-color .2s, transform .2s ease-out;
}
.model-explore__card:hover .model-explore__media img,
.model-explore__card:focus-visible .model-explore__media img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.03);
}
.model-explore__card:hover .model-explore__media,
.model-explore__card:focus-visible .model-explore__media {
  border-color: rgba(215,25,32,.5);
}
.model-explore__name {
  font-family: var(--display);
  font-size: clamp(.88rem, 1.35vw, 1.05rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.model-explore__cta {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  color: var(--silver);
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.model-explore__card:hover .model-explore__cta,
.model-explore__card:focus-visible .model-explore__cta {
  color: var(--red-on-dark);
}

@media (max-width: 620px) {
  .model-video-final { padding: 4.5rem 0; }
  .model-video-final .section__head { margin-inline: var(--gutter); }
  .model-video-final .cinematic-film { aspect-ratio: 16 / 9; }
  .model-video-final .cinematic-film span { top: .8rem; left: var(--gutter); font-size: .54rem; }
  .model-quote-close { min-height: 34rem; padding-block: 5rem; }
  .model-quote-close .headline { font-size: clamp(2.75rem, 14vw, 4rem); }
  .model-quote-close .button { width: min(100%, 20rem); }
}

@media (max-width: 900px) {
  .model-explore__head { align-items: start; flex-direction: column; gap: 1rem; }
  .model-explore__grid { grid-auto-columns: clamp(190px, 54vw, 240px); gap: .85rem; }
}
@media (max-width: 620px) {
  .model-explore__grid { grid-auto-columns: clamp(175px, 62vw, 220px); gap: .75rem; }
  .page-history .page-hero { min-height: 80svh; padding-bottom: 3.5rem; }
  .page-history .page-hero img { object-position: 68% 60%; }
  .page-history .page-hero::after { background: linear-gradient(0deg, rgba(9,11,13,.95) 0%, rgba(9,11,13,.68) 45%, rgba(9,11,13,.2) 75%, transparent 100%); }
  .page-history .page-hero__content { max-width: 100%; }
  .page-history .page-hero__content .display { font-size: clamp(1.4rem, 6.2vw, 1.95rem); line-height: 1.15; word-break: normal; overflow-wrap: break-word; }
}

/* Tanda 2: contenido complementario y documentación por producto. */
.model-supplementary__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.model-supplementary__head p:last-child { max-width: 60ch; color: var(--muted); }
.model-supplementary__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.model-supplementary__figure { margin: 0; }
.model-supplementary__figure img { width: 100%; height: auto; display: block; background: #111; }
.model-supplementary__figure figcaption { margin-top: .75rem; font: 500 .68rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.page-model[data-product="orion-s4"] .model-supplementary__grid { grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }
.page-model[data-product="orion-s4"] .model-supplementary__figure img { object-fit: contain; }
.model-documents { background: #111416; color: #fff; }
.model-documents__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.model-documents__inner p:not(.eyebrow) { max-width: 58ch; color: rgba(255,255,255,.7); }
.page-model[data-product="biocab"] .model-exterior__slide img { object-fit: contain; }
@media (max-width: 620px) {
  .page-model[data-product="biocab"] .model-hero-v2 { min-height: auto; display: block; padding-top: calc(var(--header-h) + 75vw); }
  .page-model[data-product="biocab"] .model-hero-v2__media { height: auto; aspect-ratio: 4 / 3; }
  .page-model[data-product="biocab"] .model-hero-v2__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; animation: none; transform: none; }
  .page-model[data-product="biocab"] .model-hero-v2__content { padding-top: 2rem; }
  .model-supplementary__grid, .model-documents__inner { grid-template-columns: 1fr; }
  .model-documents__inner .button { width: 100%; }
}

/* Banner de vista previa para modelos en borrador (Requisito 17) */
.model-preview-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .65rem 1.25rem;
  background: #ffc96b;
  color: #090b0d;
  font: 600 .75rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* Phase 3A additions: structural sections keep their existing ORION templates. */
[data-sections-rendered] .orion-plain-text { white-space: pre-line; overflow-wrap: anywhere; }
[data-sections-rendered] .orion-framed { transform: scale(var(--orion-image-zoom)) !important; animation: none !important; }
[data-sections-rendered] .orion-image-crop { overflow: hidden; height: 100%; }
[data-sections-rendered] .model-interior__item > .orion-image-crop { height: auto; aspect-ratio: 4 / 3; }
[data-sections-rendered] .model-interior__item > .orion-image-crop img { height: 100%; }
[data-sections-rendered] .orion-block { min-width: 0; overflow-wrap: anywhere; }
[data-sections-rendered] .orion-block > p { max-width: 60rem; line-height: 1.65; }
.orion-capacity, .orion-columns { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.orion-grid--1 { grid-template-columns: minmax(0,1fr); }
.orion-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.orion-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.orion-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.orion-capacity { margin: 0; }
.orion-capacity__item { display: flex; flex-direction: column-reverse; padding-block: 2rem; border-top: 1px solid var(--line); }
.orion-capacity dt { color: var(--silver); font-family: var(--mono); font-size: .7rem; }
.orion-capacity dd { margin: 0 0 .75rem; font-family: var(--display); font-size: clamp(2rem,4vw,4rem); line-height: 1.1; }
.orion-logos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 2rem; }
.orion-logo { min-width: 0; padding: 1.5rem; border: 1px solid var(--line); }
.orion-logo__image { display: block; width: 100%; height: 120px; object-fit: contain; background: #f8f9f9; }
.orion-image-text--right .model-road__media { order: 2; }
.orion-image-text--right { grid-template-columns: minmax(22rem,.65fr) minmax(0,1.35fr); }
.orion-column { min-width: 0; }
[data-sections-rendered] .orion-column-block { padding: 0; margin-bottom: 2rem; min-height: 0; }
[data-sections-rendered] .orion-column-block :is(.section__head,.model-exterior__head) { display: block; margin: 0 0 1rem; }
[data-sections-rendered] .orion-column-block .headline { font-size: clamp(1.75rem,2.5vw,3rem); }
[data-sections-rendered] .orion-column-block.orion-image-text { display: flex; flex-direction: column; }
[data-sections-rendered] .orion-column-block .model-road__media { min-height: 0; aspect-ratio: 4 / 3; }
[data-sections-rendered] .orion-column-block .model-road__content { padding: 1.5rem; }
[data-sections-rendered] .orion-column-block .model-exterior__slides { min-height: 20rem; }
[data-sections-rendered] .orion-column-block .model-exterior__controls { right: 1rem; }
[data-sections-rendered] .orion-column-block .model-exterior__slide figcaption { left: 1rem; bottom: 5rem; }
@media(max-width:900px) {
  .orion-columns.orion-grid--3, .orion-columns.orion-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .orion-capacity, .orion-columns { grid-template-columns: minmax(0,1fr) !important; }
  .orion-image-text--right { grid-template-columns: minmax(0,1fr); }
  .orion-image-text--right .model-road__media { order: 0; }
}

[data-sections-rendered] :is(h1,h2,h3,dt,dd,figcaption,.model-quality-copy) { overflow-wrap: anywhere; }
[data-sections-rendered] .orion-column-block .model-case-study__head { display: block; }
[data-sections-rendered] .orion-column-block .model-case-study__media { grid-template-columns: minmax(0,1fr); }
@media(max-width:900px) { .orion-image-text--right { grid-template-columns: minmax(0,1fr); } .orion-image-text--right .model-road__media { order: 0; } }
