:root { color: #191a2d; background: #fff; font: 16px/1.55 system-ui, sans-serif; --navy: #191a2d; --accent: #b71d48; --line: #e1e5ec; --muted: #535c70; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #1677c7; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; z-index: 9; top: 8px; left: 8px; transform: translateY(-150%); background: #fff; padding: 12px; }
.skip:focus { transform: none; }
.site-header, .site-footer { color: #fff; background: var(--navy); }
.site-header { border-bottom: 2px solid #e84061; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner a, .site-footer a { color: #fff; text-decoration: none; }
.header-inner a:hover, .site-footer a:hover { text-decoration: underline; }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.brand { display: inline-flex; align-items: center; gap: 9px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.brand small { display: block; font-size: .68rem; font-weight: 500; color: #e2e5f0; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #e84061; }
.header-call { font-weight: 700; white-space: nowrap; }
.intro-band { background: #f4f6fa; border-bottom: 1px solid var(--line); }
.intro-inner { padding-block: 38px 30px; }
.intro-inner > p:not(.eyebrow) { max-width: 65ch; color: var(--muted); margin-top: 10px; }
.eyebrow { font-size: .82rem; font-weight: 800; color: var(--accent); margin: 0 0 7px; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 12px; overflow-wrap: anywhere; }
h1 { font-size: 2.7rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.03rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.button { min-height: 44px; color: inherit; font: inherit; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: underline; }
.accent { background: var(--accent); color: #fff; }
.secondary { background: #fff; color: var(--navy); border-color: #a1aaba; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 18px 0 0; list-style: none; color: #354055; font-size: .88rem; }
.trust li::before { content: '\2713'; padding-right: 6px; color: #167043; font-weight: 850; }
.inventory { padding-block: 30px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.vehicle-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.vehicle-card h3 a { color: inherit; text-decoration: none; }
.vehicle-card h3 a:hover { text-decoration: underline; }
.vehicle-image-link { display: block; }
.vehicle-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #edf0f5; }
.listing-layout > div > .vehicle-photo { border-radius: 8px; object-fit: contain; }
.card-body { padding: 13px; }
.card-body p { margin: 4px 0 0; }
.price { color: var(--accent); font-weight: 800; font-size: 1.15rem; }
.muted { color: var(--muted); }
.listing { padding-block: 24px; }
.back { display: inline-block; margin-bottom: 18px; }
.listing-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 30px; }
.listing-price { font-size: 1.8rem; margin: 0; }
.specs { margin-top: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.specs > div { border-top: 1px solid var(--line); padding-top: 6px; overflow-wrap: anywhere; }
dt { font-size: .8rem; color: var(--muted); }
dd { margin: 0; font-weight: 650; }
.gallery { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.gallery a { border: 2px solid transparent; border-radius: 5px; overflow: hidden; }
.gallery a[aria-current] { border-color: var(--accent); }
.editorial { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); gap: 32px; }
.copy { padding-block: 24px; }
.copy > p { max-width: 70ch; margin: 0 0 14px; }
details { border-bottom: 1px solid var(--line); padding-block: 8px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.related a { min-height: 34px; }
.directory .related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.site-footer { border-top: 3px solid #e84061; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-block: 22px; }
.footer-inner p { color: #e2e5f0; margin: 4px 0 0; }
.footer-inner nav { grid-column: 1/-1; }
dialog { width: min(480px, 100% - 28px); max-height: 90vh; border: 0; border-radius: 8px; color: var(--navy); padding: 24px; }
dialog::backdrop { background: rgb(15 18 34 / .75); }
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; gap: 2px 10px; padding-top: 8px; }
    .header-inner nav { order: 3; width: 100%; }
    .vehicle-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .gallery { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 28px); }
    h1 { font-size: 1.85rem; }
    .header-inner nav { gap: 0 12px; }
    .header-inner nav a { font-size: .8rem; }
    .vehicle-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .listing-layout, .editorial, .footer-inner { grid-template-columns: 1fr; gap: 16px; }
    .directory .related { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 13px; }
    .intro-inner { padding-block: 26px; }
}
