/* Páginas generadas para SEO (fichas /autos/<slug>/ y listados /stock/...). Usa las variables y componentes de styles.css. */
.sp { padding: 120px var(--pad) clamp(64px, 9vw, 120px); max-width: 1320px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs ol { display: contents; list-style: none; }

/* Ficha de vehículo */
.vd { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vd-gal { display: grid; gap: 10px; }
.vd-main { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.vd-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.vd-thumbs button { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); opacity: .7; transition: opacity .3s; }
.vd-thumbs button[aria-current="true"], .vd-thumbs button:hover { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.vd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-info { position: sticky; top: 96px; display: grid; gap: 18px; }
.vd-kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; }
.vd h1 { font: 800 clamp(30px, 4.2vw, 52px)/1.02 "Archivo"; font-variation-settings: var(--wide); letter-spacing: -.02em; }
.vd-price { font: 800 clamp(28px, 3vw, 38px)/1 "Archivo"; }
.vd-price small { display: block; font: 500 14px/1.4 "Archivo"; color: var(--muted); margin-top: 6px; }
.vd-specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vd-specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.vd-specs dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.vd-specs dd { font-weight: 600; margin: 2px 0 0; }
.vd-actions { display: grid; gap: 10px; }
.vd-text { color: var(--ink-2); line-height: 1.65; max-width: 70ch; }
.vd-text p + p { margin-top: 12px; }
.vd-more { margin-top: clamp(56px, 8vw, 96px); }
.vd-more h2, .sp-h2 { font: 800 clamp(24px, 3vw, 34px)/1.1 "Archivo"; font-variation-settings: var(--wide); margin-bottom: 24px; }

/* Tarjetas sin animación de entrada: se ven al instante (mejor LCP) */
.sp .car { opacity: 1; transform: none; animation: none; }

/* Listados */
.sp-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 76ch; }
.sp-head h1 { font: 800 clamp(32px, 5vw, 64px)/1 "Archivo"; font-variation-settings: var(--wide); letter-spacing: -.02em; margin-bottom: 14px; }
.sp-head p { color: var(--muted); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; }
.chips a:hover, .chips a[aria-current="page"] { border-color: var(--ink); background: var(--card); }
.chips small { color: var(--muted); margin-left: 4px; }

@media (max-width: 860px) {
  .sp { padding-top: 96px; }
  .vd { grid-template-columns: 1fr; }
  .vd-info { position: static; }
  .vd-thumbs { grid-auto-flow: column; grid-auto-columns: 84px; grid-template-columns: none; overflow-x: auto; scrollbar-width: none; }
}
