/* Guerra Motor — hoja de estilos
   Una familia (General Sans, alojada en /fonts), fondo azul marino, tinta hueso, acento azul cielo. */

@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a1a33;
  --surface: #11264a;
  --surface-2: #17325e;
  --field: #1b58b0;
  --ink: #eef2f7;
  --muted: #a9b9cf;
  --accent: #7cc8f2;
  --accent-strong: #a6dcfa;
  --accent-ink: #0a1a33;

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-giant: clamp(3.5rem, 9.4vw, 11.25rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 200px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
  --t-press: 120ms;
  --t-hover: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; }
.skip:focus { top: 12px; }

/* ---------- Controles ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; font-size: var(--step-body); text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.button--ink { background: var(--bg); color: var(--ink); }
.link {
  text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.25em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button--ink:hover { background: var(--surface-2); }
  .link:hover { text-decoration-color: currentColor; color: var(--accent); }
}

/* ---------- Barra ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--m);
  background: var(--bg);
  transition: transform 400ms var(--ease-out);
}
.bar.is-hidden { transform: translateY(-100%); }
.bar__mark { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.bar__nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 0.9375rem; }
.bar__nav a { text-decoration: none; color: var(--ink); padding: 10px 0; transition: color var(--t-hover) ease; }
@media (hover: hover) { .bar__nav a:hover { color: var(--accent); } }
.bar__menu { display: none; background: none; border: 0; padding: 10px 4px; min-height: 44px; cursor: pointer; font-weight: 500; }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: 88px var(--m) 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; padding: 6px 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 88px var(--m) var(--m);
}
.hero__name {
  align-self: center;
  display: flex; justify-content: center; align-items: baseline; flex-wrap: nowrap;
  gap: 0.24em;
  font-size: var(--step-giant); font-weight: 700; line-height: 0.9; letter-spacing: -0.045em;
  text-transform: uppercase; white-space: nowrap;
}
.hero__word { display: inline-flex; align-items: baseline; }
.hero__word .ch { display: inline-block; }
.hero__o {
  display: inline-block; position: relative;
  width: 0.74em; height: 0.74em; margin: 0 0.035em;
  border-radius: 50%; overflow: hidden;
  transform: translateY(0.015em);
  background: var(--surface);
}
.hero__o img { position: absolute; max-width: none; width: 740%; height: auto; left: -416%; top: -256%; transform-origin: 63% 62%; }
.hero__foot {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end;
}
.hero__lead { grid-column: 1 / span 5; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.hero__actions { grid-column: 8 / -1; display: flex; gap: 28px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Ventana ---------- */
.window { padding: 0 var(--m); margin-top: clamp(24px, 4vw, 64px); }
.window__frame {
  --open: 0;
  margin: 0 auto; overflow: hidden;
  width: calc(56% + 44% * var(--open));
  aspect-ratio: 16 / 8;
  transition: width 80ms linear;
}
.window__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - 0.18 * var(--open))); }

/* ---------- Intro ---------- */
.intro { padding: var(--section) var(--m) 0; }
.intro__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.intro__title { grid-column: 1 / span 7; font-size: clamp(2.75rem, 5vw, 4.75rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; }
.intro__note { grid-column: 9 / -1; max-width: 34ch; }
.facts { display: flex; justify-content: space-between; gap: 32px; margin-top: clamp(72px, 8vw, 120px); }
.fact dt { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.fact dd { margin-top: 8px; font-size: var(--step-small); color: var(--muted); max-width: 22ch; }

/* ---------- Póster ---------- */
.poster { padding: var(--section) var(--m); position: relative; }
.poster__list li a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  text-decoration: none; padding: 0.02em 0;
}
.poster__word {
  font-size: clamp(3rem, 8.6vw, 9.5rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.045em;
  text-transform: uppercase; transition: color var(--t-hover) ease, transform 500ms var(--ease-out);
}
.poster__detail { font-size: 1.1875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .poster__list li a:hover .poster__word { color: var(--accent); transform: translateX(0.12em); }
  .poster__list li a:hover .poster__detail { color: var(--ink); }
}
.poster__preview {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(220px, 22vw, 360px); aspect-ratio: 4 / 5; overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.85);
  transition: opacity 250ms ease;
}
.poster__preview img { width: 100%; height: 100%; object-fit: cover; }
.poster__preview.is-on { opacity: 1; }

/* ---------- Alquiler ---------- */
.rent { padding: 0 var(--m) var(--section); }
.section-title { font-size: var(--step-head); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.rent__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.rent__head .section-title { grid-column: 1 / span 6; }
.rent__intro { grid-column: 8 / -1; max-width: 42ch; }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); min-height: 88svh; }
.calc__plate {
  position: relative; background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 3vw, 48px); aspect-ratio: 1 / 1;
}
.calc__letter {
  position: absolute; top: -0.12em; right: 0.02em;
  font-size: clamp(10rem, 24vw, 26rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em;
  color: var(--surface-2); user-select: none;
}
.calc__car { position: relative; width: 100%; aspect-ratio: 400 / 170; margin-top: auto; }
.calc__car svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.car__body { fill: var(--accent); }
.car__glass { fill: var(--bg); }
.car__tyre { fill: var(--bg); }
.car__hub { fill: var(--muted); }
.car__spoke { fill: var(--surface-2); }
.car__road { fill: var(--surface-2); }
.calc__specs { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: auto; padding-top: 32px; position: relative; }
.calc__specs dt { font-size: var(--step-small); color: var(--muted); }
.calc__specs dd { font-size: var(--step-lead); font-weight: 500; }

.calc__panel { display: flex; flex-direction: column; gap: 28px; padding: clamp(8px, 2vw, 24px) 0 0 clamp(0px, 2vw, 32px); }
.calc__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__group legend { font-size: var(--step-small); color: var(--muted); padding: 0; margin-bottom: 12px; }
.calc__types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.calc__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.chip {
  min-height: 48px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink);
  font-size: 1.125rem; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.chip:active { transform: scale(0.95); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .chip:not([aria-checked="true"]):hover { background: var(--surface-2); } }

.calc__result { margin-top: auto; }
.calc__name { font-size: var(--step-lead); font-weight: 500; }
.calc__price {
  font-size: clamp(4.5rem, 9vw, 9rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums; margin: 8px 0 12px;
}
.roll { display: inline-flex; overflow: hidden; vertical-align: bottom; }
.roll__d { display: inline-block; height: 1em; line-height: 1em; overflow: hidden; }
.roll__s { display: flex; flex-direction: column; transition: transform 700ms var(--ease-out); }
.roll__s span { height: 1em; line-height: 1em; }
.calc__per { color: var(--muted); }
.calc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cell {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 72px; padding: 0 16px; text-decoration: none; font-weight: 500;
  background: var(--surface-2); color: var(--ink);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.cell:active { transform: scale(0.98); }
.cell--accent { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .cell:hover { background: var(--surface); } .cell--accent:hover { background: var(--accent-strong); } }

.rates { margin-top: clamp(96px, 10vw, 160px); }
.rates__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 28px; }
.rates__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rates__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 760px; }
.rates__table th, .rates__table td { text-align: right; padding: 14px 12px; white-space: nowrap; }
.rates__table thead th { font-size: var(--step-small); font-weight: 500; color: var(--muted); }
.rates__table th:nth-child(-n+4), .rates__table td:nth-child(-n+4) { text-align: left; }
.rates__table tbody tr { background: var(--surface); cursor: pointer; transition: background-color var(--t-hover) ease; }
.rates__table tbody tr:nth-child(even) { background: var(--bg); }
.rates__table tbody th { font-size: 1.375rem; font-weight: 700; }
.rates__table td.is-sel { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.rates__table tbody tr.is-row { background: var(--surface-2); }
@media (hover: hover) { .rates__table tbody tr:hover { background: var(--surface-2); } }
.rates__note { margin-top: 20px; color: var(--muted); max-width: 80ch; font-size: 1rem; }
.rates__extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 64px; }
.rates__extra > div { background: var(--surface); padding: clamp(20px, 2.4vw, 36px); }
.rates__extra h4 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 16px; }
.rates__extra li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.rates__extra li span { color: var(--muted); white-space: nowrap; }

/* ---------- Línea empujada ---------- */
.pushed { overflow: hidden; padding: 0 0 var(--section); }
.pushed__line {
  white-space: nowrap; font-size: clamp(4rem, 13vw, 15rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9;
  text-transform: uppercase; color: var(--field);
  transform: translate3d(var(--push, 0%), 0, 0);
}

/* ---------- Concesionario ---------- */
.dealer { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--m) var(--section); align-items: stretch; }
.dealer__photo { overflow: hidden; min-height: 80svh; }
.dealer__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateY(var(--drift, 0px)); }
.dealer__body { display: flex; flex-direction: column; gap: 32px; padding: clamp(0px, 2vw, 32px) 0 0 clamp(0px, 3vw, 48px); }
.dealer__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 28ch; }
.dealer__points { display: grid; gap: 28px; margin-top: auto; }
.dealer__points dt { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.025em; }
.dealer__points dd { margin-top: 6px; max-width: 42ch; }
.dealer__actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* ---------- Taller ---------- */
.workshop { position: relative; }
.workshop__held { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 0; }
.workshop__held img { width: 100%; height: 100%; object-fit: cover; }
.workshop__held::after { content: ""; position: absolute; inset: 0; background: rgba(6, 16, 32, 0.38); }
.workshop__title {
  position: absolute; left: var(--m); bottom: calc(var(--m) - 0.12em); z-index: 1;
  font-size: clamp(5rem, 22vw, 26rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.06em;
  text-transform: uppercase; color: var(--ink);
}
.workshop__sheet {
  position: relative; z-index: 1; background: var(--field); color: #fff;
  padding: var(--section) var(--m);
}
.workshop__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(72px, 8vw, 128px); }
.workshop__lead { grid-column: 1 / span 7; font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; max-width: 30ch; }
.workshop__intro .button { grid-column: 10 / -1; justify-self: end; background: #fff; color: var(--field); }
@media (hover: hover) { .workshop__intro .button:hover { background: var(--accent-strong); color: var(--accent-ink); } }

.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.services__col:nth-child(1) { grid-column: 1 / span 3; }
.services__col:nth-child(2) { grid-column: 4 / span 3; }
.services__col:nth-child(3) { grid-column: 7 / span 3; }
.services h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 20px; }
.services li { font-size: 1.0625rem; line-height: 1.25; padding: 5px 0; color: #d6e4f7; cursor: default; transition: color var(--t-hover) ease, transform var(--t-hover) var(--ease-out); }
.services li.is-on { color: #fff; transform: translateX(6px); }
.services__desc { grid-column: 10 / -1; grid-row: 1; align-self: start; font-size: 1.0625rem; color: #fff; min-height: 6em; }
.workshop__photo { margin-top: clamp(72px, 8vw, 128px); overflow: hidden; aspect-ratio: 21 / 9; }
.workshop__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sobre nosotros ---------- */
.about { padding: var(--section) var(--m); }
.about .section-title { font-size: clamp(2.5rem, 4vw, 3.75rem); }
.about__lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.35; max-width: 46ch; }
.about__tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 72px; align-items: start; }
.about__photo { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about__paper {
  position: absolute; top: 0; right: 0; width: 320px; padding: 20px;
  background: var(--ink); color: var(--bg); font-size: 1rem; line-height: 1.45;
}
.about__side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 28px; }
.about__map { background: var(--field); aspect-ratio: 400 / 260; }
.about__map svg { width: 100%; height: 100%; }
.map__land { fill: var(--surface-2); }
.map__pin circle { fill: #fff; }
.map__pin .map__ring { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.about__map text { fill: #fff; font: 500 15px var(--font); }
.about__map .map__sea { fill: #cfe3fb; font-size: 14px; text-anchor: middle; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.about__facts dt { font-size: var(--step-small); color: var(--muted); }
.about__facts dd { font-size: 1.0625rem; font-weight: 500; }

/* ---------- Condiciones ---------- */
.faq { padding: 0 var(--m) var(--section); }
.faq__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 40px 0; }
.faq__row + .faq__row { margin-top: 0; }
.faq__q { grid-column: 1 / span 6; font-size: clamp(1.625rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.faq__q--head { color: var(--muted); }
.faq__a { grid-column: 8 / -1; max-width: 42ch; line-height: 1.55; padding-top: 0.35em; }

/* ---------- Contacto ---------- */
.contact { padding: 0 0 0; }
.contact__title { padding: 0 var(--m) 24px; font-size: var(--step-lead); font-weight: 500; color: var(--muted); }
.contact__rows li { background: var(--surface); }
.contact__rows li:nth-child(even) { background: var(--bg); }
.contact__rows a, .contact__rows li > span {
  display: flex; align-items: flex-end; gap: 0.35em; min-height: clamp(84px, 10vw, 150px);
  padding: 0 var(--m) 0.18em; text-decoration: none;
  font-size: clamp(2rem, 6vw, 5.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em;
  transition: color var(--t-hover) ease;
}
.contact__label { color: var(--muted); }
@media (hover: hover) { .contact__rows a:hover { color: var(--accent); } }
.contact__go a { background: var(--accent); color: var(--accent-ink); align-items: center; padding-bottom: 0; font-weight: 700; }
.contact__go a:hover { color: var(--accent-ink) !important; }
.contact__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--bg); color: var(--ink);
  transition: transform 400ms var(--ease-out);
}
.contact__arrow svg { width: 50%; height: 50%; }
@media (hover: hover) { .contact__go a:hover .contact__arrow { transform: translateX(0.2em) rotate(-45deg); } }

/* ---------- Pie ---------- */
.footer {
  position: relative; overflow: hidden; min-height: 100svh;
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; padding: clamp(64px, 8vw, 120px) var(--m) 0;
}
.footer__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.footer__top > div { grid-column: 1 / span 7; }
.footer__invite { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; max-width: 12ch; margin-bottom: 32px; }
.footer__links { grid-column: 10 / -1; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { text-decoration: none; font-weight: 500; }
@media (hover: hover) { .footer__links a:hover { text-decoration: underline; } .footer__legal a:hover { text-decoration: underline; } }
.footer__legal {
  margin-top: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--step-small); padding-bottom: 16px;
}
.footer__legal a { text-decoration: none; margin-left: 18px; }
.footer__legal p:first-child a, .footer__legal a:first-child { margin-left: 0; }
.footer__name {
  font-size: clamp(6rem, 27vw, 34rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.06em;
  text-transform: uppercase; white-space: nowrap; margin: 0 0 0 -0.04em;
  transform: translateY(28%);
}

/* ---------- Teléfono ---------- */
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .bar .button--small { padding: 0 16px; }

  .hero__name { flex-direction: column; align-items: center; gap: 0; font-size: 19vw; line-height: 0.92; }
  .hero__foot { grid-template-columns: 1fr; gap: 24px; }
  .hero__lead, .hero__actions { grid-column: 1 / -1; }
  .hero__actions { justify-content: flex-start; }
  .hero__lead { font-size: 1.1875rem; }

  .window__frame { width: calc(80% + 20% * var(--open)); aspect-ratio: 4 / 5; }

  .intro__top, .rent__head, .workshop__intro, .footer__top { grid-template-columns: 1fr; }
  .intro__title, .intro__note, .rent__head .section-title, .rent__intro, .workshop__lead, .workshop__intro .button, .footer__top > div, .footer__links { grid-column: 1 / -1; }
  .intro__title { font-size: 11vw; }
  .intro__note { margin-top: 16px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; margin-top: 56px; }
  .fact dt { font-size: 1.625rem; }

  .poster__list li a { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 22px; }
  .poster__word { font-size: 10.4vw; }
  .poster__detail { font-size: 0.9375rem; }
  .poster__preview { display: none; }

  .rent__intro { margin-top: 16px; }
  .calc { grid-template-columns: 1fr; min-height: 0; }
  .calc__panel { padding: 16px 0 0; }
  .calc__plate { aspect-ratio: auto; min-height: 340px; }
  .calc__price { font-size: 22vw; }
  .calc__actions { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .rates__extra { grid-template-columns: 1fr; }

  .dealer { grid-template-columns: 1fr; }
  .dealer__photo { min-height: 0; aspect-ratio: 4 / 5; }
  .dealer__body { padding: 32px 0 0; }

  .workshop__intro .button { justify-self: start; margin-top: 24px; }
  .services { grid-template-columns: 1fr; gap: 40px; }
  .services__col:nth-child(n) { grid-column: 1 / -1; }
  .services li { font-size: 1.125rem; line-height: 1.4; }
  .services__desc { display: none; }
  .workshop__photo { aspect-ratio: 4 / 3; }

  .about__tiles { grid-template-columns: 1fr; margin-top: 40px; }
  .about__photo, .about__side { grid-column: 1 / -1; }
  .about__photo { aspect-ratio: 4 / 3; overflow: visible; }
  .about__photo img { aspect-ratio: 4 / 3; }
  .about__paper { position: static; width: auto; margin-top: 0; }

  .faq__row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .faq__q, .faq__a { grid-column: 1 / -1; }
  .faq__q { font-size: 1.5rem; }
  .faq__a { padding-top: 0; }

  .contact__rows a, .contact__rows li > span { font-size: 8.4vw; min-height: 84px; padding-bottom: 0.25em; }
  .contact__label { display: block; width: 100%; }
  .contact__rows a:has(.contact__label) { flex-wrap: wrap; align-content: flex-end; padding-top: 16px; }
  .contact__label { font-size: 0.5em; }
  .contact__go a { justify-content: space-between; }

  .footer__invite { font-size: 11vw; }
  .footer__top .button { width: 100%; }
  .footer__links { margin-top: 32px; }
  .footer__legal { flex-direction: column; }
  .footer__legal a { margin: 0 14px 0 0; }
  .footer__name { font-size: 34vw; }
}

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__name .ch { transform: translateY(0.6em); opacity: 0; transition: transform 1000ms var(--ease-out), opacity 700ms ease; transition-delay: calc(var(--i, 0) * 55ms + 150ms); }
  .js .hero.is-in .hero__name .ch { transform: none; opacity: 1; }
  .js .shutter { clip-path: circle(0% at 50% 50%); transition: clip-path 1100ms var(--ease-in-out) 500ms; }
  .js .shutter img { transform: scale(1.5); transition: transform 1500ms var(--ease-soft) 500ms; }
  .js .hero.is-in .shutter { clip-path: circle(50% at 50% 50%); }
  .js .hero.is-in .shutter img { transform: none; }
  .js .hero__foot > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease 900ms, transform 900ms var(--ease-out) 900ms; }
  .js .hero.is-in .hero__foot > * { opacity: 1; transform: none; }
  .js .hero.is-in .hero__actions { transition-delay: 1000ms; }

  .js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }

  .map__pin .map__ring { animation: ping 2.4s var(--ease-out) infinite; }
  .map__pin:nth-of-type(2) .map__ring { animation-delay: 0.8s; }
  .map__pin:nth-of-type(3) .map__ring { animation-delay: 1.6s; }
  @keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }

  .car-in { animation: car-in 900ms var(--ease-out) both; }
  .car-out { animation: car-out 450ms var(--ease-in-out) both; }
  @keyframes car-in { from { transform: translateX(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes car-out { to { transform: translateX(70%); opacity: 0; } }
  .car-in .car__wheel { animation: spin 900ms var(--ease-out) both; }
  .car-out .car__wheel { animation: spin 450ms var(--ease-in-out) both; }
  .car__wheel { transform-box: fill-box; transform-origin: center; }
  @keyframes spin { from { transform: rotate(-540deg); } to { transform: rotate(0deg); } }
  .calc__letter.swap { animation: letter 600ms var(--ease-out); }
  @keyframes letter { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }

  .footer__name { transition: transform 1200ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .window__frame { width: 100%; }
  .window__frame img { transform: none; }
}

/* ---------- Páginas legales ---------- */
.legal-bar { position: static; }
.legal { padding: clamp(64px, 8vw, 120px) var(--m) var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.legal__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: 32px; }
.legal__head h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.legal__head p { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.legal__nav { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; font-size: 1rem; }
.legal__nav a { text-decoration: none; color: var(--muted); }
.legal__nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
@media (hover: hover) { .legal__nav a:hover { color: var(--accent); } }
.legal__body { grid-column: 6 / -1; max-width: 68ch; }
.legal__body h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; margin: 56px 0 16px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.125rem; font-weight: 700; margin: 28px 0 8px; }
.legal__body p, .legal__body li { line-height: 1.6; }
.legal__body p + p { margin-top: 14px; }
.legal__body ul { margin: 12px 0; padding-left: 1.2em; list-style: disc; }
.legal__body li + li { margin-top: 6px; }
.legal__body dl.legal__id { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; background: var(--surface); padding: 24px; }
.legal__body dl.legal__id dt { color: var(--muted); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-variant-numeric: tabular-nums; }
.legal__body th, .legal__body td { text-align: left; padding: 10px 12px; }
.legal__body thead th { color: var(--muted); font-weight: 500; font-size: var(--step-small); }
.legal__body tbody tr:nth-child(odd) { background: var(--surface); }
.legal__body .pending { background: var(--accent); color: var(--accent-ink); padding: 0 4px; }
.legal__body a { color: var(--accent); }
.legal-foot { padding: 32px var(--m); background: var(--surface); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--step-small); }
.legal-foot a { text-decoration: none; margin-left: 18px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__head { position: static; grid-column: 1 / -1; }
  .legal__body { grid-column: 1 / -1; margin-top: 40px; }
  .legal__body dl.legal__id { grid-template-columns: 1fr; gap: 2px; }
  .legal__body dl.legal__id dd { margin-bottom: 12px; }
  .legal-foot a { margin: 0 14px 0 0; }
}
