@font-face { font-family: "Geist"; src: url("/showroom/cochera/media/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/showroom/cochera/media/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* 60 / 30 / 10 — 60 % negro cochera, 30 % hueso cálido, 10 % rojo GTI */
:root {
  --ink: #08090a;        /* 60 */
  --ink-2: #111315;
  --bone: #ece6da;       /* 30 */
  --bone-dim: #a9a397;
  --red: #d81e2c;        /* 10 */
  --red-2: #ff3a44;
  --line: rgba(236, 230, 218, .14);
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 2px var(--ink), 0 0 0 4px var(--red-2);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--bone); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bone); }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--bone); color: var(--ink); padding: .5rem .8rem; border-radius: 6px; }
.skip:focus { left: 8px; }

.only-coarse { display: none; }
@media (pointer: coarse) { .only-coarse { display: inline; } .only-fine { display: none; } }

/* ---------- Cochera ---------- */
.garage {
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden; background: #000; touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: none;
}
.is-intro .garage, .garage.is-lit { cursor: auto; }
.garage.is-lit { touch-action: pan-y; }
.garage__pic, .garage__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.garage__img { object-fit: cover; object-position: 50% 50%; filter: saturate(.92) contrast(1.04); }
.garage.is-fitw .garage__img { object-fit: contain; -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
.garage__dark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.garage__spots { position: absolute; inset: 0; pointer-events: none; }

.spot {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; pointer-events: auto; cursor: pointer;
  opacity: var(--o, 0); transition: opacity .25s;
}
.spot::before {
  content: ""; position: absolute; inset: 13px; border-radius: 50%;
  border: 2px solid var(--bone); background: rgba(8, 9, 10, .35);
  box-shadow: 0 0 0 0 rgba(255, 58, 68, .55);
}
.spot::after {
  content: ""; position: absolute; inset: 19px; border-radius: 50%; background: var(--red-2);
}
.spot.is-found::before { border-color: var(--red-2); }
.spot.is-active::before { animation: ping 1.6s ease-out infinite; }
.spot:focus-visible { opacity: 1; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 58, 68, .55); } 100% { box-shadow: 0 0 0 16px rgba(255, 58, 68, 0); } }

.hud {
  position: absolute; z-index: 5; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; flex-wrap: wrap;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 2rem) 1rem;
  background: linear-gradient(to bottom, rgba(8, 9, 10, .7), transparent);
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud p { margin: 0; }
.hud__brand { font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.hud__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red-2); }
.hud__years { font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--bone-dim); }
.hud__count { font-family: var(--mono); font-size: .82rem; color: var(--bone-dim); margin-left: auto !important; }
.hud__count strong { color: var(--bone); }
.hud__discover { margin-right: .55rem; }
.hud__actions { display: flex; gap: .5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .6rem 1rem; border-radius: 999px; font: 600 .88rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--ghost { background: rgba(8, 9, 10, .55); color: var(--bone); border-color: var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover, .btn--ghost[aria-pressed="true"] { border-color: var(--bone); }
.btn--red { background: var(--red); color: #fff; padding: .9rem 1.5rem; font-size: 1rem; }
.btn--red:hover { background: var(--red-2); transform: translateY(-1px); }

.card {
  position: absolute; z-index: 5; left: clamp(1rem, 3vw, 2rem); bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: min(380px, calc(100% - 2rem)); padding: 1rem 1.15rem 1.1rem;
  background: rgba(10, 11, 12, .78); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .3s, transform .3s;
}
.card.is-swap { opacity: .25; transform: translateY(4px); }
.card__kicker { margin: 0 0 .25rem; font: 500 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-2); }
.card__title { margin: 0 0 .35rem; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.02em; }
.card__text { margin: 0; font-size: .92rem; color: var(--bone); opacity: .88; }

.intro { position: absolute; inset: 0; z-index: 10; overflow: hidden; background: #050506;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) max(2rem, env(safe-area-inset-bottom));
  transition: opacity .75s ease; }
.intro__photo, .intro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__photo img { object-fit: cover; object-position: 50% 45%; }
.intro { --gx: 55.2%; --gy: 52%; }
.intro__photo { transform-origin: 50% 50%;
  transition: transform .75s ease; animation: breathe 9s ease-in-out infinite alternate; }
@media (orientation: portrait) { .intro { --gx: 56.4%; --gy: 46%; } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.035); } }
.intro__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 55%) var(--gy, 52%), rgba(255, 196, 120, .9), rgba(255, 170, 90, .25) 18%, transparent 45%); }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5,5,6,.92) 0%, rgba(5,5,6,.55) 28%, transparent 55%); transition: opacity .5s; }
.intro__box { position: relative; z-index: 1; max-width: 30rem; text-align: left; transition: opacity .5s; }
.intro__kicker { font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); margin: 0 0 .7rem; }
.intro__title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 .8rem; font-weight: 750; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.intro__title em { font-style: normal; color: var(--red-2); }
.intro__text { margin: 0 0 1.2rem; max-width: 27rem; color: var(--bone); opacity: .88; font-size: .95rem; }
.intro__hint { margin: .8rem 0 0; font-size: .78rem; color: var(--bone-dim); }
.is-open .intro { pointer-events: none; opacity: 0; }
.is-open .intro__photo { animation-play-state: paused; }
.is-open .intro__glow { opacity: 0; }
.intro[hidden] { display: none; }

/* ---------- Ficha ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.ficha { padding: clamp(3.5rem, 9vw, 6.5rem) 0 2rem; background: var(--ink); }
.kicker { font: 500 .75rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-2); margin: 0 0 .5rem; }
.kicker--gap { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 1.8rem; }
.h3 { font-size: 1.15rem; margin: 0 0 .8rem; letter-spacing: -.01em; }
.vs { display: grid; gap: 1rem; }
@media (min-width: 760px) { .vs { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.vs__col { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.3rem; }
.vs__col--new { border-color: rgba(216, 30, 44, .5); }
.vs__year { font: 700 clamp(2.6rem, 7vw, 3.6rem)/1 var(--mono); letter-spacing: -.06em; margin: 0 0 .3rem; color: var(--bone-dim); }
.vs__col--new .vs__year { color: var(--red-2); }
.vs h3 { margin: 0 0 1rem; font-size: 1.25rem; letter-spacing: -.02em; }
.vs h3 span { font-weight: 400; color: var(--bone-dim); font-size: .95rem; }
.vs dl { margin: 0; }
.vs dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.vs dt { font: 500 .78rem/1.5 var(--mono); color: var(--bone-dim); }
.vs dd { margin: 0; font-size: .95rem; }
@media (max-width: 420px) { .vs dl div { grid-template-columns: 1fr; gap: .1rem; } }
.vs__src { margin: 1rem 0 0; font-size: .78rem; color: var(--bone-dim); }
.vs__src a, .gal a, .fuentes a { color: var(--bone); text-underline-offset: 2px; }

.gal { display: grid; gap: 1rem; }
@media (min-width: 700px) { .gal { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--ink-2); }
.gal figcaption { font-size: .8rem; color: var(--bone-dim); margin-top: .55rem; }
.gal figcaption strong { color: var(--bone); font-weight: 600; }
.gal__note { background: var(--ink-2); border: 1px solid rgba(216, 30, 44, .5); border-radius: 16px; padding: 1.4rem 1.3rem; display: flex; flex-direction: column; justify-content: center; }
.gal__note h3 { margin: 0 0 .7rem; font: 600 1.15rem/1.3 var(--sans); }
.gal__note p { margin: 0; color: var(--bone-dim); font-size: .95rem; }
.gal__note .vs__src { margin-top: 1rem; }

.fuentes { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.fuentes ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .85rem; color: var(--bone-dim); }

.fuentes__det { margin: 0; }
.fuentes__sum {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%;
}
.fuentes__sum::-webkit-details-marker { display: none; }
.fuentes__sum::marker { content: ""; }
.fuentes__sum .h3 { margin: 0; }
.fuentes__sum::after {
  content: "";
  width: .45rem; height: .45rem;
  border-right: 2px solid var(--bone-dim);
  border-bottom: 2px solid var(--bone-dim);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
  margin-right: .15rem;
}
.fuentes__det[open] .fuentes__sum::after { transform: rotate(-135deg); }
.fuentes__sum:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.fuentes__det[open] ul { margin-top: .85rem; }

.foot { background: var(--ink); border-top: 1px solid var(--line); padding: 1.5rem 1rem 0; text-align: center; }
.foot__note { margin: 0; font-size: .75rem; color: var(--bone-dim); }

/* Crédito Zogic (snippet compartido, variante oscura) */
.zogic-credit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 24px 16px; box-sizing: border-box; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.zogic-credit__by { font-size: 11px; line-height: 1; color: #6b6b6b; }
.zogic-credit__mark { font-weight: 900; font-size: 15px; line-height: 1; letter-spacing: -0.02em; color: #0A0A0A; text-decoration: none; transition: opacity .2s ease; }
.zogic-credit__mark:hover { opacity: .7; }
.zogic-credit__mark span { color: #00BCD4; }
.zogic-credit--on-dark .zogic-credit__by { color: rgba(244, 241, 236, .55); }
.zogic-credit--on-dark .zogic-credit__mark { color: #F4F1EC; }
.zogic-credit--on-dark .zogic-credit__mark span { color: #00BCD4; }

@media (max-width: 640px) {
  .hud { padding-bottom: 2rem; }
  .hud__brand { font-size: .92rem; }
  .hud__years { display: none; }
  .hud__count { font-size: .68rem; text-align: right; }
  .hud__discover { margin-right: .35rem; }
  .hud__actions { width: 100%; }
  .hud__actions .btn { flex: 1; min-height: 40px; font-size: .8rem; padding: .5rem .7rem; }
  .card { left: .75rem; right: .75rem; width: auto; padding: .85rem 1rem .95rem; }
  .card__title { font-size: 1.05rem; }
  .card__text { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { transition: opacity .4s ease; }
  .intro__photo { animation: none; transition: none; }
  .is-open .intro__photo { transform: none; }
  .is-open .intro__glow { opacity: 0; }
  .spot.is-active::before { animation: none; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hud { padding-top: .6rem; padding-bottom: .6rem; }
  .hud__actions .btn { min-height: 38px; padding: .45rem .8rem; font-size: .8rem; }
  .card { width: min(300px, 40vw); padding: .6rem .8rem .7rem; bottom: .6rem; left: .6rem; }
  .card__title { font-size: .95rem; }
  .card__text { font-size: .76rem; line-height: 1.4; }
  .intro { padding-bottom: 1rem; }
  .intro__title { font-size: 1.6rem; }
  .intro__text { display: none; }
  .intro__hint { display: none; }
}

/* ---------- Comparador (ba-slider de MULTIMEDIA) ---------- */
.lead { margin: -1rem 0 1.4rem; max-width: 40rem; color: var(--bone); opacity: .85; }
.cmp__tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cmp__tabs [role=tab] { appearance: none; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--bone); font: 600 .9rem/1 var(--sans); }
.cmp__tabs [role=tab][aria-selected=true] { background: var(--bone); color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.cmp__tabs [role=tab]:focus-visible { outline: none; box-shadow: var(--focus); }
.cmp__slider { --ba-accent: var(--red); --ba-ink: var(--bone); margin: 0 auto; border-radius: 16px; border: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 30% at 50% 92%, rgba(0,0,0,.55), transparent 70%), linear-gradient(#1a1c1f, #0f1012 72%, #16181a); }
.cmp__slider--frontal, .cmp__slider--trasera { max-width: min(100%, calc(72vh * 1.6)); }
.cmp__slider--lateral { max-width: min(100%, calc(72vh * 2)); }
.cmp__slider .ba-handle { color: #fff; border-color: #fff; }
.cmp__slider .ba-line { background: var(--bone); }
.cmp__slider .ba-label { background: rgba(8,9,10,.75); color: var(--bone); font-family: var(--mono); }
.cmp__slider .ba-label--after { color: #fff; background: var(--red); }
.cmp__credit { margin: .9rem 0 0; font-size: .78rem; color: var(--bone-dim); max-width: 60rem; }
.cmp__credit strong { color: var(--bone); }
.cmp__credit a { color: var(--bone); text-underline-offset: 2px; }

/* Linterna en la puerta (portada) */
.intro__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.intro__dark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.intro.is-torch .intro__dark { opacity: 1; }
.intro.is-torch { cursor: none; touch-action: none; }
.intro.is-torch .intro__box { cursor: auto; }
.intro.is-torch .intro__photo { animation: none; }
.intro.is-torch.is-over-door { cursor: pointer; }
/* la linterna no altera la oscuridad base de la portada */
.is-open .intro__dark { opacity: 0 !important; }

.ai-tag { position: absolute; z-index: 6; right: clamp(.75rem, 2vw, 1.5rem); bottom: max(.6rem, env(safe-area-inset-bottom));
  margin: 0; padding: .25rem .55rem; border-radius: 6px; background: rgba(8,9,10,.6); color: var(--bone-dim);
  font: 500 .66rem/1.3 var(--mono); letter-spacing: .02em; pointer-events: none; }
.intro .ai-tag { z-index: 2; top: max(.75rem, env(safe-area-inset-top)); bottom: auto; }
@media (max-width: 640px) { .ai-tag--scene { bottom: auto; top: 6.4rem; right: .75rem; } }
.cmp__ai { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 4px 9px; border-radius: 6px;
  background: rgba(8,9,10,.78); color: var(--bone); font: 600 11px/1.3 var(--mono); pointer-events: none; line-height: 1.3; }
.cmp__ai--after { left: auto; right: 12px; }
.cmp__ai--stack { bottom: 44px; }

.hud__left { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.hud__back, .intro__back a, .foot__nav a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.hud__back { font-size: .78rem; color: var(--bone-dim); }
.hud__back:hover, .intro__back a:hover, .foot__nav a:hover { color: var(--bone); }
.intro__back { margin: .85rem 0 0; font-size: .82rem; }
.foot__nav { margin: 0 0 1rem; font-size: .88rem; }

.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
