/* Hallmark · redesign: full (v3 kept as the material) · shape: Photographic, a film first and a workbench diagram · genre: atmospheric · theme: brand (the owner's warm near-black, off-white and the logo's red), type changed to Barlow Condensed over Barlow · deal: manual (no Node on this machine) · job: book
 * hero: Poster, a looping film of the workshop's own clips · nav: edge-aligned over the film, the logo with the phone and one action, not sticky (the owner disliked a stock top bar) · footer: mast, the logo drawn large over address, contact, hours and the legal line · imagery: the owner's clips and photographs, natural colour · signature: "Del golpe al brillo" as a film cut from the workshop's own footage, then told step by step in five clips
 * axes: dark/display-condensed/warm · posture: committed (one red band, the red elsewhere a signal) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: E, ten sections and many moving parts on one page; every motion runs once on arrival or on a tap, the detail waits behind tabs and disclosures, and every loop stops off screen and has a pause */
/* Hallmark · waive 2b · one pass of light over the hero head, ink to the paper's white and back, both tokens · the shine is what the head promises and it leaves the head one colour */
/* Hallmark · waive 80 · line marks of the workshop's trades at 40 to 56px beside each priced service · the owner asked for an animated workshop mark on every service in the reference */
/* Hallmark · motion: by request, not the genre's fade only · section heads rise behind a shutter edge, photographs open like the workshop's shutter, the film and the five clips play only on screen and pause on demand · the owner asked for a detailed, animated page that does not bore */
/* Hallmark · logo: the workshop's emblem, 22px tall on a dark plate, signs each clip and photograph of the workshop's own work · the owner asked for the logo to stay in people's heads, without overdoing it */

/* ---------- Tipografía y piezas comunes ---------- */
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 46ch; }
.label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.skip-link { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-toast); padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); font-weight: 600; transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }
@media (max-width: 39.99rem) { .wide-only { display: none; } }

.section { position: relative; padding-block: var(--section-gap); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }

/* ---------- Botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius); background: none; color: var(--color-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--ghost { border-color: color-mix(in oklab, var(--color-ink) 55%, transparent); background: color-mix(in oklab, var(--color-paper) 30%, transparent); color: var(--color-ink); }
.btn--ghost:hover { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.btn--onred { background: var(--color-paper); color: var(--color-ink); }
.btn--onred:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn--sm { min-height: 44px; padding-inline: var(--space-md); font-size: 1.0625rem; }

.link { color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--color-ink) 45%, transparent); text-underline-offset: 0.22em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent-text); text-decoration-color: currentColor; }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.media-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 45%, transparent); border-radius: var(--radius); background: color-mix(in oklab, var(--color-paper) 55%, transparent); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.media-toggle:hover { border-color: var(--color-ink); background: var(--color-paper); }
.media-toggle:active { transform: scale(0.96); }
.media-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .media-toggle, html:not(.js) [data-loop-toggle], html:not(.js) [data-film-toggle], html:not(.js) [data-reel-toggle] { display: none; }

/* ---------- Entradas: cada sección se anima una vez al llegar ---------- */
/* Lo que aparece: sube y se enciende */
.rv { transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-anim]:not(.is-in) .rv { opacity: 0; transform: translateY(28px); }
/* Los titulares: la persiana sube y los descubre */
.rise { transition: clip-path 1100ms var(--ease-out), transform 1100ms var(--ease-out); }
.js [data-anim]:not(.is-in) .rise { clip-path: inset(100% 0 0 0); transform: translateY(14px); }
/* Las fotos: se abren como la persiana del taller */
.wipe { transition: clip-path 1200ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 120ms); }
.wipe > img { transition: transform 1600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.js [data-anim]:not(.is-in) .wipe { clip-path: inset(100% 0 0 0); }
.js [data-anim]:not(.is-in) .wipe > img { transform: scale(1.12); }

/* ---------- El emblema del logo: firma los trabajos del taller ---------- */
.em { fill: currentColor; fill-rule: evenodd; stroke: currentColor; stroke-linejoin: round; }
.em--arch, .em--ground { color: var(--color-ink-2); }
.em--body { color: var(--color-ink); }
.em--roof { color: var(--color-accent-text); }
.emblem { display: block; flex-shrink: 0; width: auto; height: 22px; overflow: visible; }
.emblem use { stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 1100ms var(--ease-in-out) var(--t, 500ms), fill-opacity 500ms var(--ease-out) calc(var(--t, 500ms) + 750ms); }
.stamp { position: absolute; top: var(--space-xs); right: var(--space-xs); z-index: 3; padding: 7px 9px; background: color-mix(in oklab, var(--color-paper) 78%, transparent); pointer-events: none; clip-path: inset(0); transition: clip-path 500ms var(--ease-out) calc(var(--t, 500ms) - 300ms); }
.js [data-anim]:not(.is-in) .stamp, .js .panel:not(.is-in) .stamp { clip-path: inset(0 0 0 100%); }
.js [data-anim]:not(.is-in) .emblem use, .js .panel:not(.is-in) .emblem use { stroke-dashoffset: 1; fill-opacity: 0; }

/* ---------- El logo completo (persiana y pie) ---------- */
.lockup { overflow: visible; }
.lk { fill: currentColor; fill-rule: evenodd; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lk--arch, .lk--ground { color: var(--color-ink-2); }
.lk--body { color: var(--color-ink); }
.lk--roof, .lk--chevron { color: var(--color-accent-text); }

/* ---------- La persiana del taller ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: var(--z-modal); overflow: hidden; pointer-events: none; animation: intro-hide 0s linear 2000ms forwards; }
.intro-on.intro-done .intro { display: none; }
.intro__shutter { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: auto;
  background:
    repeating-linear-gradient(to bottom, var(--color-paper-3) 0 2px, var(--color-paper-2) 2px 26px, color-mix(in oklab, var(--color-paper) 70%, var(--color-paper-2)) 26px 28px),
    var(--color-paper-2);
  animation: shutter-up 820ms var(--ease-in-out) 1150ms forwards; }
.intro__shutter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--color-paper-3); border-top: var(--rule-hair) solid var(--color-rule-2); }
.intro__logo { position: relative; z-index: 1; width: min(420px, 70vw); height: auto; }
.intro .lk { animation: lk-draw 900ms var(--ease-in-out) both; }
.intro .lk--body { animation-delay: 100ms; }
.intro .lk--roof { animation-delay: 240ms; }
.intro .lk--ground { animation-delay: 340ms; }
.intro .lk--chevron { animation-delay: 560ms; }
.intro .lk-word { animation: lk-word 560ms var(--ease-out) 520ms both; }
@keyframes intro-hide { to { visibility: hidden; } }
@keyframes shutter-up { to { transform: translateY(-102%); } }
@keyframes lk-draw { 0% { stroke-dashoffset: 1; fill-opacity: 0; } 65% { stroke-dashoffset: 0; fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes lk-word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Menú ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-sticky-nav); padding-top: env(safe-area-inset-top); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--nav-h); }
.brand { display: block; flex-shrink: 1; min-width: 0; padding-block: var(--space-xs); }
.brand img { width: auto; height: 22px; max-width: 100%; }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-width: 44px; min-height: 44px; border: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 40%, transparent); background: color-mix(in oklab, var(--color-paper) 35%, transparent); color: var(--color-ink); font-weight: 600; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__phone:hover { border-color: var(--color-ink); background: color-mix(in oklab, var(--color-paper) 70%, transparent); }
.nav__phone:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__phone-num { display: none; }
.nav__cta { display: none; }

/* ---------- Portada: la película ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(100svh, 38rem); color: var(--color-ink); overflow: clip; }
.hero__film { position: absolute; inset: 0; z-index: -2; background: var(--color-paper-2); }
.hero__film img, .hero__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 900ms var(--ease-out); }
.hero__film.is-playing .hero__video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 92%, transparent) 26%, color-mix(in oklab, var(--color-paper) 55%, transparent) 50%, transparent 72%),
    linear-gradient(to bottom, color-mix(in oklab, var(--color-paper) 72%, transparent), transparent 22%); }
.hero__content { display: grid; gap: var(--space-md); padding-top: calc(var(--nav-h) + var(--space-xl)); padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom)); }

/* La línea de la película: pausa, los cuatro planos y qué se ve ahora */
.film-ui { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.film-ui__toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 45%, transparent); border-radius: var(--radius); background: color-mix(in oklab, var(--color-paper) 40%, transparent); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.film-ui__toggle:hover { border-color: var(--color-ink); background: color-mix(in oklab, var(--color-paper) 75%, transparent); }
.film-ui__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.film-ui__shots { display: flex; gap: var(--space-2xs); flex-shrink: 0; }
.film-ui__shots li { position: relative; width: 22px; height: 2px; overflow: hidden; background: color-mix(in oklab, var(--color-ink) 28%, transparent); }
.film-ui__shots span { position: absolute; inset: 0; background: var(--color-ink); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.film-ui__now { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
html:not(.js) .film-ui { display: none; }

.hero__title { max-width: none; }
.hero__title .line { display: block; overflow: clip; overflow-clip-margin: 0.12em; white-space: nowrap; }
.hero__title .line > span { display: block; }
.hero__foot { display: grid; gap: var(--space-lg); }
.hero__main { display: grid; gap: var(--space-lg); }
.hero__lead { max-width: 34ch; color: var(--color-ink); }
.hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); }
.hero__actions .btn { padding-inline: var(--space-md); }
.hero__aside { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 22%, transparent); }
.proof { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.proof__num { font-family: var(--font-display); font-size: 2.5rem; line-height: 0.8; }
.proof__meta { display: grid; gap: var(--space-2xs); font-size: var(--text-xs); color: var(--color-ink-2); }
.proof:hover .proof__meta > span:last-child { color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.proof:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--color-ink); }
.stars .icon { width: 14px; height: 14px; }
.stars--lg .icon { width: 20px; height: 20px; }
.status { font-size: var(--text-xs); color: var(--color-ink-2); }
.status strong { color: var(--color-ink); }
.status.is-open strong { color: var(--color-success); }

/* Entrada de la portada: el titular sube, el resto aparece y una luz pasa por encima, como sobre la pintura */
.js .hero__title .line > span { animation: rise-in 1100ms var(--ease-out) 120ms both; }
.js .hero__title .line + .line > span { animation-delay: 230ms; }
.js .film-ui, .js .hero__foot { animation: up 900ms var(--ease-out) 420ms both; }
.js .hero__foot { animation-delay: 520ms; }
.js .hero__film > picture img { animation: settle 2400ms var(--ease-out) both; }
.intro-on .hero__title .line > span { animation-delay: 1500ms; }
.intro-on .hero__title .line + .line > span { animation-delay: 1610ms; }
.intro-on .film-ui { animation-delay: 1800ms; }
.intro-on .hero__foot { animation-delay: 1900ms; }
.intro-on .hero__film > picture img { animation-delay: 1150ms; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .js .hero__title .line > span {
    background-image: linear-gradient(100deg, transparent 38%, color-mix(in oklab, var(--color-accent-ink) 95%, transparent) 50%, transparent 62%), linear-gradient(var(--color-ink), var(--color-ink));
    background-size: 260% 100%, 100% 100%; background-position: 130% 0, 0 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: rise-in 1100ms var(--ease-out) 120ms both, sheen 1500ms var(--ease-in-out) 1250ms both; }
  .js .hero__title .line + .line > span { animation-delay: 230ms, 1400ms; }
  .intro-on .hero__title .line > span { animation-delay: 1500ms, 2600ms; }
  .intro-on .hero__title .line + .line > span { animation-delay: 1610ms, 2750ms; }
}
@keyframes rise-in { from { transform: translateY(108%); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes sheen { from { background-position: 130% 0, 0 0; } to { background-position: -30% 0, 0 0; } }

/* ---------- Así borramos un golpe: los cinco clips ---------- */
.process { padding-bottom: var(--space-2xl); }
.reel__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 290px); gap: var(--space-sm); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: var(--space-xs); scrollbar-width: none; counter-reset: step; }
.reel__track::-webkit-scrollbar { display: none; }
.step { counter-increment: step; scroll-snap-align: start; min-width: 0; }
.step__media { aspect-ratio: 9 / 16; }
.step__media video { opacity: 0; transition: opacity 500ms var(--ease-out); }
.step.is-playing .step__media video { opacity: 1; }
.step__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: color-mix(in oklab, var(--color-paper) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity 500ms var(--ease-out); }
.reel.is-sequencing .step:not(.is-active) .step__media::after { opacity: 1; }
.step__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; overflow: hidden; background: color-mix(in oklab, var(--color-ink) 25%, transparent); }
.step__bar > span { position: absolute; inset: 0; background: var(--color-ink); transform: scaleX(var(--p, 0)); transform-origin: left center; }
html:not(.js) .step__bar { display: none; }
.step h3 { display: flex; align-items: baseline; gap: 0.32em; margin-top: var(--space-md); }
.step h3::before { content: counter(step); color: var(--color-accent-text); }
.step p { margin-top: var(--space-2xs); font-size: var(--text-sm); line-height: 1.45; color: var(--color-muted); }
.reel__foot { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }
.reel__hint { font-size: var(--text-xs); color: var(--color-muted); }

/* ---------- Servicios ---------- */
.services { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.tabs { display: flex; gap: var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-rule-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: 1 0 auto; min-height: 52px; padding: 0 clamp(6px, 1.8vw, 12px); border: 0; background: none; color: var(--color-muted); font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 4.5vw, 1.25rem); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; transition: transform 500ms var(--ease-out); }
.tab:hover { color: var(--color-ink); }
.tab[aria-selected="true"] { color: var(--color-ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
html:not(.js) .tabs { display: none; }

.panel { display: grid; gap: var(--space-xl); padding-top: var(--space-xl); }
.panel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
html:not(.js) .panel + .panel { margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.panel__media { aspect-ratio: 4 / 3; align-self: start; }
.panel__media > img { object-position: 50% 32%; }
.panel__media--meca > img { object-position: 55% 30%; }
.panel__media figcaption { position: absolute; left: 0; bottom: 0; z-index: 3; max-width: calc(100% - var(--space-2xl)); padding: var(--space-sm) var(--space-md); background: color-mix(in oklab, var(--color-paper) 82%, transparent); font-size: var(--text-xs); color: var(--color-ink-2); }
.panel__media .media-toggle { position: absolute; right: var(--space-xs); bottom: var(--space-xs); z-index: 4; }
/* La foto se abre y las filas suben al cambiar de pestaña */
.panel.is-entering .panel__media { animation: shutter-open 1100ms var(--ease-in-out) both; }
.panel.is-entering .svc { animation: up 700ms var(--ease-out) both; animation-delay: calc(140ms + var(--i, 0) * 90ms); }
@keyframes shutter-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

.svc-list { border-bottom: var(--rule-hair) solid var(--color-rule); }
.svc details { border-top: var(--rule-hair) solid var(--color-rule); }
.svc summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; grid-template-areas: "mark name tog" "mark line tog" "mark price tog"; column-gap: var(--space-md); row-gap: var(--space-2xs); align-items: start; padding: var(--space-lg) 0; list-style: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.svc h3 { grid-area: name; font-size: 1.75rem; transition: color var(--dur-short) var(--ease-out); }
.svc summary:hover h3 { color: var(--color-accent-text); }
.svc__line { grid-area: line; font-size: var(--text-sm); color: var(--color-muted); line-height: 1.45; }
.svc__price { grid-area: price; display: inline-flex; align-items: baseline; gap: var(--space-xs); margin-top: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }
.svc__price strong { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; color: var(--color-ink); }
.svc__price--quote { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.svc__toggle { grid-area: tog; position: relative; width: 32px; height: 32px; margin-top: 2px; border: var(--rule-hair) solid var(--color-rule-2); transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.svc__toggle::before, .svc__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--color-ink); transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.svc__toggle::after { transform: rotate(90deg); }
.svc summary:hover .svc__toggle { border-color: var(--color-ink); }
.svc details[open] .svc__toggle { border-color: var(--color-accent); background: var(--color-accent); }
.svc details[open] .svc__toggle::before { transform: rotate(45deg); }
.svc details[open] .svc__toggle::after { transform: rotate(135deg); }
.svc details[open] .svc__toggle::before, .svc details[open] .svc__toggle::after { background: var(--color-accent-ink); }
.svc__more { display: grid; gap: var(--space-md); padding: 0 0 var(--space-lg) calc(44px + var(--space-md)); }
.svc details[open] .svc__more { animation: more-in var(--dur-long) var(--ease-out); }
.svc__more dl { display: grid; gap: var(--space-sm); }
.svc__more dt { font-size: var(--text-xs); font-weight: 600; color: var(--color-ink); }
.svc__more dd { font-size: var(--text-sm); color: var(--color-ink-2); }
.svc__more .link { justify-self: start; }
.svc-more { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
@keyframes more-in { from { opacity: 0; transform: translateY(-8px); } }

/* Marcas animadas de cada servicio (heredadas de la web de referencia) */
.mark { grid-area: mark; flex-shrink: 0; width: 44px; height: 44px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; color: var(--color-ink-2); }
.mark .a { stroke: var(--color-accent-text); }
.mark .fa { fill: var(--color-accent-text); stroke: none; }
.mark .fi { fill: currentColor; stroke: none; }
.mark .d { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out) var(--t, 0ms); }
.mark .p, .mark .t { transform-box: fill-box; transform-origin: center; transition: transform 700ms var(--ease-out) var(--t, 0ms), opacity 300ms var(--ease-out) var(--t, 0ms); }
.mark .f { opacity: 0; transition: opacity 300ms var(--ease-out) var(--t, 0ms); }
.js .panel:not(.is-in) .mark .d { stroke-dashoffset: 1; }
.js .panel:not(.is-in) .mark .p { transform: scale(0); opacity: 0; }
.mark.is-reset, .mark.is-reset * { animation: none !important; }
/* Aceite: cae una gota y sube el nivel */
.mark--oil .oil-level { transform-box: fill-box; transform-origin: left center; transition: transform 600ms var(--ease-out) 1500ms; }
.js .panel:not(.is-in) .mark--oil .oil-level { transform: scaleX(0); }
.js .mark--oil .oil-drop { opacity: 0; }
.js .panel.is-in .mark--oil .oil-drop { animation: oil-drop 1000ms var(--ease-in) 650ms 2 both; }
@keyframes oil-drop { 0% { opacity: 0; transform: translateY(-5px); } 18% { opacity: 1; transform: translateY(-2px); } 80% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(15px); } }
/* Frenos: el disco gira, la pinza aprieta y se calienta */
.mark--brake .spin-in { transform-box: fill-box; transform-origin: center; transition: transform 1700ms var(--ease-out); }
.js .panel:not(.is-in) .mark--brake .spin-in { transform: rotate(-600deg); }
.mark--brake .caliper { stroke-width: 6; transition: transform 380ms var(--ease-out) 1250ms, opacity 200ms var(--ease-out) 1250ms; }
.js .panel:not(.is-in) .mark--brake .caliper { transform: translate(5px, -5px); opacity: 0; }
.js .mark--brake .heat { opacity: 0; }
.js .panel.is-in .mark--brake .heat { animation: flash 900ms var(--ease-out) 1500ms both; }
@keyframes flash { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
/* Averías: gira la llave y se apaga el ruido */
.mark--wrench .turn { transform-box: view-box; transform-origin: 40px 24px; transition: transform 1300ms var(--ease-out) 200ms; }
.js .panel:not(.is-in) .mark--wrench .turn { transform: rotate(-70deg); }
.js .panel.is-in .mark--wrench .noise { animation: noise 1700ms linear both; }
@keyframes noise { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
/* Motor: los engranajes engranan */
.mark--gears .gear { transform-box: fill-box; transform-origin: center; transition: transform 1600ms var(--ease-out); }
.js .panel:not(.is-in) .mark--gears .gear--a { transform: rotate(-200deg); }
.js .panel:not(.is-in) .mark--gears .gear--b { transform: rotate(257deg); }
/* Diagnosis: pasa una onda por la pantalla */
.mark--scan .wave { transition-duration: 1200ms; }
/* Golpes y rayones: la puerta se raya, la pulidora borra el rayón y queda un brillo */
.mark .spark { transform-box: fill-box; transform-origin: center; }
@keyframes spark { 0% { opacity: 0; transform: scale(0) rotate(-45deg); } 45% { opacity: 1; transform: scale(1.15) rotate(0); } 100% { opacity: 1; transform: scale(1); } }
.mark--dent .scratch--fine, .mark--dent .swirl { stroke-width: 1.25; }
.mark--dent .buffer, .mark--dent .glint { opacity: 0; }
.mark--dent .buffer__pad { transform-box: fill-box; transform-origin: center; }
.mark--dent .glint { stroke: var(--color-ink); stroke-width: 2.5; }
.js .mark--dent .scratch { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.js .mark--dent .spark, .js .mark--crash .spark { opacity: 0; }
.js .panel.is-in .mark--dent .scratch { animation: scratch-in 260ms var(--ease-in) 900ms both, scratch-out 1020ms linear 1330ms forwards; }
.js .panel.is-in .mark--dent .scratch--fine { animation: scratch-in 220ms var(--ease-in) 1040ms both, scratch-out 820ms linear 1560ms forwards; }
@keyframes scratch-in { 0% { opacity: 0; stroke-dashoffset: 1; } 1% { opacity: 1; } 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes scratch-out { 0% { opacity: 1; stroke-dashoffset: 0; } 96% { opacity: 1; stroke-dashoffset: 0.97; } 100% { opacity: 0; stroke-dashoffset: 1; } }
.js .panel.is-in .mark--dent .buffer { animation: buff 1500ms linear 1150ms both; }
.js .panel.is-in .mark--dent .buffer__pad { animation: spin 300ms linear 1150ms 5; }
@keyframes buff { 0% { opacity: 0; transform: translate(10px, -10px); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; transform: translate(-31px, 10.5px); } 100% { opacity: 0; transform: translate(-37px, 12.5px); } }
.js .panel.is-in .mark--dent .glint { animation: glint-pass 650ms var(--ease-in-out) 2450ms both; }
@keyframes glint-pass { 0% { opacity: 0; transform: translateX(-8px); } 25% { opacity: 0.9; } 100% { opacity: 0; transform: translateX(14px); } }
.js .panel.is-in .mark--dent .spark { animation: spark 900ms var(--ease-out) 2400ms both; }
/* Accidente: un coche alcanza al otro, se arrugan y salen reparados */
.mark--crash .crumple, .mark--crash .burst { opacity: 0; }
.mark--crash .burst { transform-box: fill-box; transform-origin: 50% 100%; }
.js .panel.is-in .mark--crash .car--a { animation: crash-a 1500ms 650ms both; }
.js .panel.is-in .mark--crash .car--b { animation: crash-b 1500ms 650ms both; }
@keyframes crash-a { 0% { transform: translateX(-5px); animation-timing-function: var(--ease-in); } 38% { transform: translateX(7.5px); animation-timing-function: var(--ease-out); } 52% { transform: translateX(5.5px); animation-timing-function: var(--ease-in-out); } 62%, 100% { transform: translateX(6px); } }
@keyframes crash-b { 0%, 38% { transform: none; animation-timing-function: var(--ease-out); } 55% { transform: translateX(3.5px); animation-timing-function: var(--ease-in-out); } 70%, 100% { transform: translateX(3px); } }
.js .panel.is-in .mark--crash .bumper { animation: bumper 1500ms linear 1220ms forwards; }
@keyframes bumper { 0%, 60% { opacity: 0; stroke-dashoffset: 1; } 61% { opacity: 1; stroke-dashoffset: 1; animation-timing-function: var(--ease-out); } 100% { opacity: 1; stroke-dashoffset: 0; } }
.js .panel.is-in .mark--crash .crumple { animation: crumple 1500ms linear 1220ms forwards; }
@keyframes crumple { 0%, 58% { opacity: 1; } 66%, 100% { opacity: 0; } }
.js .panel.is-in .mark--crash .burst { animation: burst 520ms var(--ease-out) 1200ms forwards; }
@keyframes burst { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.js .panel.is-in .mark--crash .spark { animation: spark 900ms var(--ease-out) 2300ms both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* ---------- Escucha a tu coche ---------- */
.xray__tabs { display: flex; gap: var(--space-xs); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--space-2xs); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.xray__tabs::-webkit-scrollbar { display: none; }
html:not(.js) .xray__tabs, html:not(.js) .xray__pins, html:not(.js) .xray__zoom { display: none; }
html:not(.js) .xray__stage { aspect-ratio: auto; padding-block: var(--space-lg); }
html:not(.js) .xray__canvas { position: relative; }
.chip { display: inline-flex; align-items: center; gap: var(--space-xs); flex-shrink: 0; min-height: 44px; padding: 0 var(--space-md) 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius); background: var(--color-paper); color: var(--color-ink-2); font-weight: 600; font-size: var(--text-sm); white-space: nowrap; scroll-snap-align: start; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chip__n { font-family: var(--font-display); font-size: 1.125rem; line-height: 1; color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }
.chip:hover { border-color: var(--color-ink-2); color: var(--color-ink); }
.chip[aria-selected="true"] { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.chip[aria-selected="true"] .chip__n { color: var(--color-accent-ink); }
.chip:active { transform: translateY(1px); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.xray__stage { position: relative; margin: var(--space-md) calc(var(--gutter) * -1) 0; aspect-ratio: 4 / 3; overflow: hidden; border-block: var(--rule-hair) solid var(--color-rule-2);
  background:
    linear-gradient(to right, color-mix(in oklab, var(--color-rule) 55%, transparent) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, color-mix(in oklab, var(--color-rule) 55%, transparent) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--color-paper); }
.xray__canvas { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1)); transition: transform 1100ms var(--ease-in-out); }
.xray__svg { width: 100%; height: auto; overflow: visible; }
.xray__zoom { position: absolute; right: var(--space-xs); bottom: var(--space-xs); z-index: 2; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius); background: color-mix(in oklab, var(--color-paper) 85%, transparent); color: var(--color-ink); font-size: var(--text-xs); font-weight: 600; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.xray__zoom:hover { border-color: var(--color-ink); background: var(--color-paper); }
.xray__zoom:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.xray__note { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }
.xray__note .emblem { --t: 1600ms; }

.xr-line { fill: none; stroke: var(--color-ink-2); stroke-width: 0.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke 300ms var(--ease-out), stroke-dashoffset 1400ms var(--ease-out); }
.xr-thin { stroke-width: 0.55; }
.xr-dash { stroke-dasharray: 0.03 0.03; transition: stroke 300ms var(--ease-out); }
.xr-belt { stroke-dasharray: 0.02 0.012; transition: stroke 300ms var(--ease-out); }
.xr-hose { stroke-dasharray: 0.04 0.03; stroke-linecap: butt; transition: stroke 300ms var(--ease-out); }
.xr-gasket { stroke-width: 1.1; }
.xr-caliper { stroke-width: 1.4; }
.xr-ground { stroke: var(--color-rule-2); }
.xr-reg { stroke: var(--color-muted); }
.xr-ghost { transition: opacity 900ms var(--ease-out) 200ms; }
.xr-ghost__body { fill: var(--color-ink); fill-opacity: 0.08; stroke: var(--color-ink-2); stroke-opacity: 0.55; stroke-width: 0.6; }
.xr-ghost__roof { fill: var(--color-accent-text); fill-opacity: 0.16; stroke: var(--color-accent-text); stroke-opacity: 0.6; stroke-width: 0.6; }
.xr-lead { fill: none; stroke: var(--color-muted); stroke-width: 0.5; stroke-dasharray: 1; transition: stroke 300ms var(--ease-out), stroke-dashoffset 700ms var(--ease-out) 1300ms; }
.xr-dot { fill: var(--color-muted); stroke: none; transition: fill 300ms var(--ease-out), opacity 300ms var(--ease-out) 1700ms; }
.xr-soot, .xr-smoke { opacity: 0; }
.xr-soot { fill: var(--color-ink-2); }
.xr-smoke { fill: var(--color-smoke); }
.xr-fan, .xr-whistle { opacity: 0; }
.xr-steam { fill: var(--color-smoke); opacity: 0; transform-box: fill-box; transform-origin: center; }
.xr-scan { fill: var(--color-accent); opacity: 0; }
.xr-part, .xr-engine, .xr-exhaust { transition: opacity 400ms var(--ease-out); }
.xr-spin, .xr-squash, .xr-slide, .xr-piston, .xr-inj, .xr-smoke { transform-box: view-box; }
/* El dibujo se traza al llegar a la sección */
.js .xray:not(.is-in) .xr-line:not(.xr-dash):not(.xr-belt):not(.xr-hose), .js .xray:not(.is-in) .xr-lead { stroke-dashoffset: 1; }
.js .xray:not(.is-in) .xr-dash, .js .xray:not(.is-in) .xr-belt, .js .xray:not(.is-in) .xr-hose, .js .xray:not(.is-in) .xr-dot, .js .xray:not(.is-in) .xr-ghost { opacity: 0; }
.xr-engine .xr-line { transition-delay: 0ms, 150ms; }
.xr-part--culata .xr-line, .xr-part--distribucion .xr-line { transition-delay: 0ms, 300ms; }
.xr-part--inyectores .xr-line, .xr-part--turbo .xr-line, .xr-part--refrigeracion .xr-line { transition-delay: 0ms, 450ms; }
.xr-part--embrague .xr-line, .xr-part--caja .xr-line { transition-delay: 0ms, 550ms; }
.xr-exhaust .xr-line, .xr-part--fap .xr-line { transition-delay: 0ms, 700ms; }
.xr-part--frenos .xr-line, .xr-part--suspension .xr-line { transition-delay: 0ms, 500ms; }
.js .xray.is-in .xr-scan { animation: xr-scan 1800ms var(--ease-in-out) 100ms both; }
@keyframes xr-scan { 0% { opacity: 0; transform: none; } 10% { opacity: 0.9; } 90% { opacity: 0.9; } 100% { opacity: 0; transform: translateX(788px); } }
/* La avería elegida se enciende en rojo y se mueve; el resto se apaga un poco */
.xray.has-active .xr-part:not(.is-active), .xray.has-active .xr-engine, .xray.has-active .xr-exhaust { opacity: 0.4; }
.xr-part.is-active .xr-line { stroke: var(--color-accent-text); }
.xr-part.is-active .xr-line:not(.xr-thin) { stroke-width: 1.2; }
.xr-lead.is-active { stroke: var(--color-accent-text); stroke-width: 0.8; }
.xr-dot.is-active { fill: var(--color-accent-text); }
.xr-part--culata.is-active .xr-gasket { animation: gasket 700ms var(--ease-in-out) 3; }
@keyframes gasket { 50% { stroke-width: 2.6; } }
.xray[data-active="culata"] .xr-smoke { animation: smoke 1600ms var(--ease-out) calc(var(--n) * 260ms) 3 both; }
@keyframes smoke { 0% { opacity: 0; transform: none; } 25% { opacity: 0.75; } 100% { opacity: 0; transform: translate(26px, -14px) scale(1.8); } }
.xray[data-active="culata"] .xr-piston, .xray[data-active="inyectores"] .xr-piston { animation: piston 520ms var(--ease-in-out) calc(var(--n) * 130ms) 6 alternate both; }
@keyframes piston { to { transform: translateY(4px); } }
.xr-part--distribucion.is-active .xr-belt { animation: belt 900ms linear 4; }
@keyframes belt { to { stroke-dashoffset: -0.256; } }
.xr-part--distribucion.is-active .xr-spin, .xr-part--caja.is-active .xr-spin { animation: spin 1200ms linear 3; }
.xr-part--caja.is-active .xr-spin--rev { animation-name: spin-rev; animation-duration: 920ms; animation-iteration-count: 4; }
.xr-part--turbo.is-active .xr-spin { animation: spin 260ms linear 12; }
.xr-part--turbo.is-active .xr-whistle { animation: flash 700ms var(--ease-out) 4 both; }
.xr-part--inyectores.is-active .xr-fan { animation: flash 520ms var(--ease-out) calc(var(--n) * 130ms) 6 both; }
.xr-inj { animation-delay: inherit; }
.xr-part--inyectores .xr-inj { --n: 0; }
.xr-part--inyectores.is-active .xr-inj:nth-child(1) .xr-fan { animation-delay: 0ms; }
.xr-part--inyectores.is-active .xr-inj:nth-child(2) .xr-fan { animation-delay: 260ms; }
.xr-part--inyectores.is-active .xr-inj:nth-child(3) .xr-fan { animation-delay: 390ms; }
.xr-part--inyectores.is-active .xr-inj:nth-child(4) .xr-fan { animation-delay: 130ms; }
.xr-part--embrague.is-active .xr-slide { animation: clutch 600ms var(--ease-in-out) 4 alternate; }
@keyframes clutch { to { transform: translateX(2.5px); } }
.xr-part--fap.is-active .xr-soot { animation: soot 2600ms var(--ease-out) calc(var(--n) * 90ms) both; }
@keyframes soot { 0% { opacity: 0; } 15% { opacity: 1; } 62% { opacity: 1; fill: var(--color-ink-2); } 72% { opacity: 1; fill: var(--color-accent-text); } 100% { opacity: 0; fill: var(--color-accent-text); } }
.xr-part--frenos.is-active .xr-spin { animation: brake 1700ms var(--ease-out) both; }
@keyframes brake { from { transform: rotate(-720deg); } to { transform: none; } }
.xr-part--suspension.is-active .xr-squash { animation: squash 520ms var(--ease-in-out) 4 alternate; }
@keyframes squash { to { transform: scaleY(0.82); } }
.xr-part--refrigeracion.is-active .xr-hose { animation: flow 700ms linear 6; }
@keyframes flow { to { stroke-dashoffset: -0.14; } }
.xr-part--refrigeracion.is-active .xr-steam { animation: steam 1500ms var(--ease-out) calc(var(--n) * 320ms) 3 both; }
@keyframes steam { 0% { opacity: 0; transform: none; } 30% { opacity: 0.8; } 100% { opacity: 0; transform: translate(-2px, -16px) scale(1.7); } }

/* Los globos numerados: con el dibujo, pero siempre del mismo tamaño */
.xray__pins { position: absolute; inset: 0; pointer-events: none; }
.xray__pin { position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: var(--rule-hair) solid var(--color-ink-2); border-radius: var(--radius); background: var(--color-paper); color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-sm); line-height: 1; pointer-events: auto; cursor: pointer; transform: translate(-50%, -50%) scale(calc(1 / var(--s, 1))); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), opacity 300ms var(--ease-out), transform 1100ms var(--ease-in-out); }
.xray__pin:hover { border-color: var(--color-ink); background: var(--color-paper-3); }
.xray__pin:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.xray__pin.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.js .xray:not(.is-in) .xray__pin { opacity: 0; }
.xray__pin { transition-delay: 0ms, 0ms, 0ms, calc(1400ms + var(--k, 0) * 50ms), 0ms; }
.xray.is-ready .xray__pin { transition-delay: 0ms; }

.xray__panels { margin-top: var(--space-xl); }
.fault h3 { font-size: var(--text-title); margin-bottom: var(--space-lg); }
.fault__cols { display: grid; gap: var(--space-lg); }
.fault__cols > div { display: grid; align-content: start; gap: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.fault h4 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; text-transform: none; color: var(--color-muted); }
.fault ul { display: grid; gap: var(--space-xs); }
.fault li { position: relative; padding-left: var(--space-lg); color: var(--color-ink-2); }
.fault li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--color-accent-text); }
.fault p { color: var(--color-ink-2); }
.fault .btn { justify-self: start; margin-top: var(--space-xs); }
.fault.is-entering .fault__cols > div { animation: up 600ms var(--ease-out) both; }
.fault.is-entering .fault__cols > div:nth-child(2) { animation-delay: 90ms; }
.fault.is-entering .fault__cols > div:nth-child(3) { animation-delay: 180ms; }
html:not(.js) .fault + .fault { margin-top: var(--space-2xl); }

.facts-row { display: grid; margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts-row > div { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts-row dt { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; text-transform: uppercase; color: var(--color-ink); }
.facts-row dd { font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- Antes y después ---------- */
.ba { border-top: var(--rule-hair) solid var(--color-rule); }
.ba__cars { display: grid; gap: var(--space-2xl); }
.car h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); margin-bottom: var(--space-md); }
.car h3 small { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; text-transform: none; color: var(--color-muted); }
.car__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); }
.shot { aspect-ratio: 3 / 4; }
.shot > img { object-position: 50% 45%; }
.shot figcaption { position: absolute; left: 0; bottom: 0; z-index: 3; padding: var(--space-xs) var(--space-sm); background: var(--color-paper); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1; text-transform: uppercase; color: var(--color-ink); }
.shot.is-after figcaption { background: var(--color-accent); color: var(--color-accent-ink); }
/* El después se descubre con una pasada de pistola, de izquierda a derecha */
.shot.is-after > img { clip-path: inset(0); transition: clip-path 1300ms var(--ease-in-out) calc(700ms + var(--d, 0) * 350ms); }
.js .ba:not(.is-in) .shot.is-after > img { clip-path: inset(0 100% 0 0); }
.shot .pass { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: 34%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--color-smoke) 55%, transparent) 70%, color-mix(in oklab, var(--color-smoke) 85%, transparent) 88%, transparent); }
.js .ba.is-in .shot .pass { animation: pass 1300ms var(--ease-in-out) calc(700ms + var(--d, 0) * 350ms) both; }
@keyframes pass { 0% { opacity: 1; transform: translateX(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(300%); } }
.shot.is-after .stamp { --t: calc(2100ms + var(--d, 0) * 350ms); padding: 5px 7px; }
.shot .stamp .emblem { height: 16px; }

/* ---------- Seguros: la banda roja ---------- */
.insurance { background: var(--color-accent); color: var(--color-accent-ink); }
.insurance h2, .insurance h3, .insurance .lead, .insurance p { color: var(--color-accent-ink); }
.insurance :focus-visible { outline-color: var(--color-accent-ink); }
.insurance ::selection { background: var(--color-paper); color: var(--color-ink); }
.steps { display: grid; gap: var(--space-lg); counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; column-gap: var(--space-md); row-gap: var(--space-xs); padding-top: var(--space-lg); counter-increment: s; }
.steps li > * { grid-column: 2; }
.steps li::before { content: counter(s); grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 700; font-size: 3.75rem; line-height: 0.8; color: var(--color-accent-ink); }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--color-accent-ink); transform-origin: left center; transition: transform 1100ms var(--ease-in-out) calc(300ms + var(--i, 0) * 260ms); }
.js .insurance:not(.is-in) .steps li::after { transform: scaleX(0); }
.steps p { max-width: 36ch; }
.insurance__foot { display: grid; gap: var(--space-lg); justify-items: start; margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 40%, transparent); }
.insurance__foot p { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.05; text-transform: uppercase; max-width: 26ch; }

/* ---------- Opiniones ---------- */
.reviews__grid { display: grid; gap: var(--space-xl); }
.reviews__photo { aspect-ratio: 4 / 3; }
.reviews__photo > img { object-position: 50% 30%; }
.reviews__photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 3; padding: var(--space-sm) var(--space-md); background: color-mix(in oklab, var(--color-paper) 82%, transparent); font-size: var(--text-xs); color: var(--color-ink-2); }
.reviews__body { display: grid; gap: var(--space-xl); align-content: start; }
.score { display: flex; align-items: flex-end; gap: var(--space-lg); }
.score__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(6.5rem, 4rem + 12vw, 11rem); line-height: 0.76; color: var(--color-ink); }
.score__meta { display: grid; gap: var(--space-xs); padding-bottom: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.quotes { display: grid; border-top: var(--rule-hair) solid var(--color-rule-2); }
.quotes li { display: grid; gap: var(--space-sm); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.quotes blockquote { margin: 0; font-size: 1.25rem; line-height: 1.4; color: var(--color-ink); text-indent: -0.42em; }
.quotes cite { font-style: normal; font-size: var(--text-sm); color: var(--color-muted); }
.reviews__body > .link { justify-self: start; }

/* ---------- Preguntas ---------- */
.faq { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.faq__grid { display: grid; gap: var(--space-xl); }
.faq__head { display: grid; gap: var(--space-md); align-content: start; }
.faq__more { color: var(--color-ink-2); }
.faq__list { border-top: var(--rule-hair) solid var(--color-rule-2); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding-block: var(--space-md); list-style: none; cursor: pointer; font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--color-ink); transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent-text); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq__icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: currentColor; transition: transform var(--dur-long) var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding-bottom: var(--space-lg); color: var(--color-ink-2); }
.faq details[open] .faq__a { animation: more-in var(--dur-long) var(--ease-out); }

/* ---------- Cita y contacto ---------- */
.booking__grid { display: grid; gap: var(--space-2xl); }
.form { display: grid; gap: var(--space-xl); }
.form.is-prefilled .select-wrap .input { animation: prefill 1600ms var(--ease-out); }
@keyframes prefill { 0%, 40% { border-color: var(--color-accent-text); } }
.segmented { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: var(--rule-hair) solid var(--color-rule-2); }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented label + label { border-left: var(--rule-hair) solid var(--color-rule-2); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-sm); font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-muted); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.segmented label:hover span { color: var(--color-ink); }
.segmented input:checked + span { background: var(--color-ink); color: var(--color-paper); }
.segmented input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.fields { display: grid; gap: var(--space-lg) var(--space-md); }
.field { display: grid; gap: var(--space-xs); align-content: start; min-width: 0; }
.field > label, .field > .label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.opt { font-weight: 400; color: var(--color-muted); }
.input { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius); background: var(--color-paper-2); color: var(--color-ink); font-size: 1rem; outline: 2px solid transparent; outline-offset: -2px; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.input::placeholder { color: var(--color-muted); }
.input:hover { border-color: var(--color-muted); }
.input:focus-visible, .input:focus { outline-color: var(--color-focus); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
textarea.input { min-height: 120px; padding-block: var(--space-sm); resize: vertical; line-height: 1.5; }
input[type="date"].input { color-scheme: dark; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: var(--space-2xl); cursor: pointer; }
.select-wrap .icon { position: absolute; right: var(--space-md); top: 50%; margin-top: -0.625em; pointer-events: none; color: var(--color-ink-2); }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.choice:hover span { border-color: var(--color-muted); color: var(--color-ink); }
.choice input:checked + span { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.choice input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice input:disabled + span { opacity: 0.55; cursor: not-allowed; }
.dropzone { position: relative; display: grid; justify-items: center; gap: var(--space-xs); padding: var(--space-xl) var(--space-md); border: var(--rule-hair) dashed var(--color-muted); background: var(--color-paper-2); text-align: center; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 32px; height: 32px; color: var(--color-ink-2); }
.dropzone strong { font-size: var(--text-sm); }
.dropzone:hover, .dropzone.is-drag { border-color: var(--color-ink); background: var(--color-paper-3); }
.dropzone:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hint { font-size: var(--text-xs); color: var(--color-muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius); background: var(--color-ink); color: var(--color-paper); cursor: pointer; }
.thumb button::before { content: ""; position: absolute; inset: -8px; }
.thumb button .icon { width: 14px; height: 14px; }
.thumb button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.check a { color: var(--color-ink); }
.error { display: none; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); font-weight: 600; color: var(--color-error); }
.error .icon { width: 1.1em; height: 1.1em; }
.has-error .error { display: flex; }
.has-error .input, .has-error .dropzone { border-color: var(--color-error); }
.form__actions { display: grid; gap: var(--space-sm); }
.form__actions .btn { width: 100%; }
.form-status { display: none; align-items: flex-start; gap: var(--space-sm); padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink); }
.form-status.is-shown { display: flex; }
.form-status .icon { margin-top: 2px; }

.facts { display: grid; gap: var(--space-xl); align-content: start; }
.facts__photo { aspect-ratio: 4 / 3; }
.facts__photo > img { object-position: 50% 40%; }
.facts__photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 3; padding: var(--space-sm) var(--space-md); background: color-mix(in oklab, var(--color-paper) 82%, transparent); font-size: var(--text-xs); color: var(--color-ink-2); }
.facts dl { display: grid; border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts dl > div { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.facts dd { color: var(--color-ink); font-size: 1.0625rem; }
.facts dd a { color: var(--color-ink); text-decoration-color: color-mix(in oklab, var(--color-ink) 40%, transparent); }
.facts dd a:hover { color: var(--color-accent-text); }
.open-badge { font-weight: 600; color: var(--color-ink-2); }
.open-badge.is-open { color: var(--color-success); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: var(--space-2xs) var(--space-lg); }
.hours .today { color: var(--color-ink); font-weight: 600; }
.facts .hours span { color: var(--color-ink-2); }
.facts .hours span.today { color: var(--color-ink); }

/* ---------- Pie ---------- */
.footer { padding-block: var(--space-3xl) calc(var(--space-2xl) + var(--dock-h) + env(safe-area-inset-bottom)); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.footer__grid { display: grid; gap: var(--space-xl); }
.footer__logo { display: block; width: min(100%, 280px); }
.footer__logo svg { width: 100%; height: auto; }
.footer__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
.js .footer:not(.is-in) .lk { stroke-dashoffset: 1; fill-opacity: 0; }
.js .footer:not(.is-in) .lk-word { opacity: 0; }
.footer .lk { transition: stroke-dashoffset 1100ms var(--ease-in-out), fill-opacity 500ms var(--ease-out) 800ms; }
.footer .lk--body { transition-delay: 120ms, 900ms; }
.footer .lk--roof { transition-delay: 300ms, 1000ms; }
.footer .lk--ground { transition-delay: 420ms, 1050ms; }
.footer .lk--chevron { transition-delay: 700ms, 1300ms; }
.footer .lk-word { transition: opacity 600ms var(--ease-out) 800ms; }
.footer__cols { display: grid; gap: var(--space-lg); }
.footer__label { margin-bottom: var(--space-2xs); font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.footer__cols p { color: var(--color-ink-2); }
.footer__cols a { color: var(--color-ink); text-decoration: none; }
.footer__cols a:hover { color: var(--color-accent-text); text-decoration: underline; }
.footer__cols .hours { gap: 0 var(--space-lg); }
.footer__legal { display: grid; gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.footer__legal a { color: var(--color-ink-2); }
.footer__legal a:hover { color: var(--color-ink); }
.footer a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- Atajos fijos: llamar, WhatsApp y cita ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-2xs); padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-paper) 94%, transparent); border-top: var(--rule-hair) solid var(--color-rule-2); transform: translateY(calc(100% + var(--space-2xl))); transition: transform 500ms var(--ease-out); }
.dock.is-visible { transform: none; }
html:not(.js) .dock { position: static; transform: none; }
.dock__btn { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.dock__btn:hover { border-color: var(--color-ink); background: var(--color-paper-3); }
.dock__btn:active { transform: translateY(1px); }
.dock__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.dock__btn--primary { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }
.dock__btn--primary:hover { border-color: var(--color-accent-deep); background: var(--color-accent-deep); }

/* ---------- Páginas legales y 404 ---------- */
.nav--page { position: relative; border-bottom: var(--rule-hair) solid var(--color-rule); }
.legal-page { padding-block: var(--space-2xl) var(--section-gap); }
.legal-page__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.legal-page__head h1 { font-size: var(--text-section); line-height: 0.95; }
.legal { display: grid; gap: var(--space-md); max-width: 68ch; }
.legal h2 { margin-top: var(--space-xl); font-size: var(--text-title); }
.legal p, .legal li { color: var(--color-ink-2); line-height: 1.65; }
.legal ul { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: square; }
.legal li::marker { color: var(--color-accent-text); }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-md); border-block: var(--rule-hair) solid var(--color-rule); }
.legal dd { margin-bottom: var(--space-xs); overflow-wrap: break-word; }
.legal dt { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.legal dd { color: var(--color-ink); }
.legal a { color: var(--color-ink); }
.legal a:hover { color: var(--color-accent-text); }
.legal__date { margin-top: var(--space-xl); font-size: var(--text-xs); color: var(--color-muted); }
.footer--page { padding-block: var(--space-xl) calc(var(--space-xl) + env(safe-area-inset-bottom)); }
.footer__legal a[aria-current="page"] { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.page--404 { display: grid; grid-template-rows: auto 1fr auto; }
.not-found { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 34rem; }
.not-found__photo { position: absolute; inset: 0; z-index: -1; }
.not-found__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 70%, transparent) 45%, color-mix(in oklab, var(--color-paper) 25%, transparent) 100%); }
.not-found__photo > img { object-position: 60% 50%; }
.not-found__inner { display: grid; gap: var(--space-md); padding-block: var(--space-3xl) var(--space-2xl); }
.not-found__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 4rem + 14vw, 12rem); line-height: 0.8; color: var(--color-accent-text); }
.not-found h1 { font-size: var(--text-section); line-height: 0.95; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }

/* ---------- Tableta: 40rem ---------- */
@media (min-width: 40rem) {
  .brand img { height: 26px; }
  .nav__phone { padding-inline: var(--space-md); }
  .nav__phone-num { display: inline; }
  .nav__cta { display: inline-flex; }
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__actions .btn { padding-inline: var(--space-lg); }
  .reel__track { grid-auto-columns: min(42%, 300px); gap: var(--space-md); }
  .panel__media { aspect-ratio: 16 / 9; }
  .svc summary { grid-template-columns: 52px minmax(0, 1fr) auto 32px; grid-template-areas: "mark name price tog" "mark line price tog"; column-gap: var(--space-lg); align-items: center; }
  .mark { width: 52px; height: 52px; }
  .svc__price { justify-self: end; flex-direction: column; align-items: flex-end; gap: var(--space-3xs); margin-top: 0; text-align: right; }
  .svc__price--quote { max-width: 16ch; }
  .svc__more { padding-left: calc(52px + var(--space-lg)); padding-right: calc(32px + var(--space-lg)); }
  .svc__more dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
  .xray__stage { aspect-ratio: 16 / 9; }
  .fault__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
  .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); border-top: 0; }
  .facts-row > div { border-top: var(--rule-hair) solid var(--color-rule-2); border-bottom: 0; }
  .shot figcaption { font-size: 1.25rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
  .steps li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
  .steps li > *, .steps li::before { grid-column: 1; grid-row: auto; }
  .steps li::before { font-size: 4.5rem; }
  .insurance__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .legal dl { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); row-gap: var(--space-xs); }
  .legal dd { margin-bottom: 0; }
  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--full { grid-column: 1 / -1; }
  .form__actions { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-lg); }
  .form__actions .btn { width: auto; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__legal { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

/* ---------- Ordenador: 60rem ---------- */
@media (min-width: 60rem) {
  .brand img { height: 30px; }
  .head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
  .head > h2 { grid-column: 1 / span 7; }
  .head > .lead { grid-column: 9 / -1; justify-self: start; padding-bottom: 0.35em; }

  .hero__content { padding-bottom: var(--space-2xl); gap: var(--space-lg); }
  .hero__shade { background:
    linear-gradient(to top, var(--color-paper) 0%, color-mix(in oklab, var(--color-paper) 70%, transparent) 30%, transparent 62%),
    linear-gradient(to right, color-mix(in oklab, var(--color-paper) 72%, transparent) 0%, color-mix(in oklab, var(--color-paper) 30%, transparent) 45%, transparent 70%),
    linear-gradient(to bottom, color-mix(in oklab, var(--color-paper) 65%, transparent), transparent 20%); }
  .hero__foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap-columns); }
  .hero__aside { flex-direction: column; align-items: flex-end; justify-content: flex-end; padding-top: 0; border-top: 0; text-align: right; }
  .proof__num { font-size: 3.25rem; }

  .process .head { margin-bottom: var(--space-2xl); }
  .reel__track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); max-width: var(--container); margin-inline: auto; overflow: visible; scroll-snap-type: none; }
  .step { cursor: pointer; }
  .step h3 { font-size: 1.875rem; }
  .reel__hint { display: none; }

  .tabs { gap: var(--space-lg); }
  .tab { flex: 0 0 auto; padding: 0 var(--space-2xs); font-size: 1.5rem; }
  .panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; padding-top: var(--space-2xl); }
  .panel__media { aspect-ratio: 4 / 5; position: sticky; top: var(--space-xl); }
  .svc h3 { font-size: 2rem; }

  .xray__tabs { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .xray__stage { margin-inline: 0; aspect-ratio: auto; padding-block: var(--space-xl); }
  .xray__canvas { position: relative; transform: none; transition: none; }
  .xray__pin { transform: translate(-50%, -50%); }
  .xray__zoom { display: none; }

  .ba__cars { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); }
  .car__pair { gap: var(--space-sm); }

  .steps li::before { font-size: 6rem; }

  .reviews__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
  .reviews__photo { aspect-ratio: 4 / 5; }
  .quotes blockquote { font-size: 1.375rem; }

  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); }
  .faq__head { position: sticky; top: var(--space-xl); }

  .booking__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
  .facts { position: sticky; top: var(--space-xl); }
  .facts__photo { aspect-ratio: 16 / 11; }

  .footer { padding-bottom: var(--space-2xl); }
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; }
  .footer__logo { width: min(100%, 380px); }
  .footer__legal { grid-column: 1 / -1; }

  .dock { left: auto; right: var(--space-lg); bottom: var(--space-lg); display: flex; padding: 0; border: 0; background: none; }
  .dock__btn { min-width: 52px; min-height: 52px; border-color: var(--color-paper); background: var(--color-paper); box-shadow: 0 0 0 1px var(--color-rule-2); }
  .dock__btn:not(.dock__btn--primary) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dock__btn--primary { padding-inline: var(--space-lg); border-color: var(--color-paper); background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-paper); }
  .dock__btn:hover { border-color: var(--color-paper); }
}

/* ---------- Pantallas grandes ---------- */
@media (min-width: 90rem) {
  .hero__content { padding-bottom: var(--space-3xl); }
}

/* ---------- Reducir movimiento: todo quieto y visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .js .hero__title .line > span { animation: none; background: none; color: var(--color-ink); }
  .js .film-ui, .js .hero__foot, .js .hero__film > picture img { animation: none; }
  .xray__canvas, .xray__pin { transition: none; }
}
