/* =================================================================
   Vehicle "we buy" pages — loaded only by includes/vehicle-page.php
   Builds on style.css tokens; nothing here affects existing pages.
   ================================================================= */

/* ---------- Hero + breadcrumbs ---------- */
.vehicle-hero { padding: 1.25rem 0 3.5rem; }
.vehicle-crumbs ol {
    list-style: none; margin: 0 0 2.25rem; padding: 0 0 1.1rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem;
    font-size: .85rem; color: var(--gray-400);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.vehicle-crumbs li { display: inline-flex; align-items: center; gap: .55rem; }
.vehicle-crumbs li + li::before { content: '\203A'; color: var(--gray-600); font-size: 1rem; line-height: 1; }
.vehicle-crumbs a { color: var(--gray-200); transition: color .15s ease; }
.vehicle-crumbs a:hover { color: var(--accent); }
.vehicle-crumbs [aria-current] { color: var(--accent); font-weight: 600; }

.vehicle-hero h1 { margin-bottom: .6em; }
.vehicle-hero .loc-hero__actions { margin-top: 1.8rem; }
.vehicle-hero .hero__trust {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
    gap: 0; margin-top: 2.2rem; padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.vehicle-hero .hero__trust > div { padding: 0 1.6rem; border-left: 1px solid rgba(255,255,255,.12); line-height: 1.35; }
.vehicle-hero .hero__trust > div:first-child { padding-left: 0; border-left: 0; }
.vehicle-hero .hero__trust strong { font-size: clamp(1.05rem, 4vw, 1.4rem); margin-bottom: .2rem; }

/* ---------- Body copy ---------- */
.vehicle-prose { margin-inline: auto; }
.vehicle-prose > h2:first-child { margin-top: 0; }
.vehicle-prose h3 { margin: 2rem 0 .25rem; font-size: 1.1rem; }
.vehicle-prose .zip-list { margin-bottom: 0; }

/* Generations / model-year table */
.spec-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin: 1.5rem 0 .9rem; font-size: .98rem;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden;
}
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: .95rem 1.1rem; border-bottom: 1px solid var(--gray-100); }
.spec-table thead th { background: var(--black); color: var(--white); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; }
.spec-table tbody th, .spec-table__years { color: var(--black); white-space: nowrap; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: var(--gray-50); }
.spec-note { color: var(--gray-600) !important; font-size: .95rem !important; margin: 0; }

/* "Any condition" cards */
.vehicle-conditions { gap: 1rem; }
.vehicle-conditions .feature {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
    padding: 1.7rem 1.3rem; transition: transform .15s ease, box-shadow .15s ease;
}
.vehicle-conditions .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vehicle-conditions .feature__icon { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: .9rem; }
.vehicle-conditions .feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }

/* "What to tell us" box + checklist */
.tell-us {
    margin-top: 3rem; padding: 2rem;
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius);
}
.tell-us h2 { margin-top: 0; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.tell-us > p { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.75rem; }
.checklist li { position: relative; padding-left: 1.8rem; color: var(--gray-800); line-height: 1.5; }
.checklist li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

.loc-card--hub { border-left-color: var(--black); background: var(--gray-50); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .vehicle-hero .loc-hero__grid { gap: 2rem; }
}

@media (max-width: 640px) {
    .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
    .spec-table thead { display: none; }
    .spec-table tr { padding: .8rem 0; border-bottom: 1px solid var(--gray-200); }
    .spec-table tbody tr:last-child { border-bottom: 0; }
    .spec-table th, .spec-table td { border: 0; padding: .3rem 1.1rem; }
    .spec-table tbody th { font-size: 1.05rem; white-space: normal; }
    .spec-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); }
    .checklist { grid-template-columns: 1fr; }
    .tell-us { padding: 1.4rem 1.25rem; margin-top: 2.5rem; }
}

@media (max-width: 540px) {
    .vehicle-hero { padding-bottom: 2.75rem; }
    .vehicle-crumbs ol { margin-bottom: 1.6rem; font-size: .8rem; }
    .vehicle-hero .loc-hero__actions .btn { width: 100%; }
    .vehicle-hero .hero__trust { grid-template-columns: repeat(3, auto); justify-content: space-between; font-size: .8rem; }
    .vehicle-hero .hero__trust > div { padding: 0 .8rem; }

    /* Condition cards: icon left, text right, one per row */
    .vehicle-conditions { gap: .7rem; }
    .vehicle-conditions .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: .9rem; text-align: left; padding: 1rem 1.1rem; }
    .vehicle-conditions .feature__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 1.2rem; }
    .vehicle-conditions .feature h3 { margin: 0 0 .15rem; font-size: 1rem; align-self: end; }
    .vehicle-conditions .feature p { font-size: .9rem; }
}
