/* ============================================================
   Cardiwan — all-cars.css
   Theme: black / white / neutral-gray  (matches homepage)
   ============================================================ */

:root {
    --black:          #0A0A0A;
    --gray-900:       #111111;
    --gray-800:       #1A1A1A;
    --gray-700:       #2B2B2B;
    --gray-600:       #3D3D3D;
    --gray-500:       #555555;
    --gray-400:       #888888;
    --gray-300:       #AAAAAA;
    --gray-200:       #CCCCCC;
    --gray-100:       #E8E8E8;
    --gray-50:        #F5F5F5;
    --white:          #FFFFFF;
    --bg-muted:       #F5F5F5;
    --bg-brand:       #E8E8E8;
    --text-primary:   #111111;
    --text-secondary: #555555;
    --border:         #E0E0E0;
    --font-body:      'Inter', sans-serif;
    --font-display:   'Playfair Display', serif;
    --ease:           cubic-bezier(.4,0,.2,1);
    --ease-spring:    cubic-bezier(.34,1.56,.64,1);
    --r:              10px;
    --r-lg:           16px;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }
html,body { overflow-x:hidden; scroll-behavior:smooth }
body { font-family:var(--font-body); background:var(--white); color:var(--text-primary); -webkit-font-smoothing:antialiased }
img { max-width:100%; height:auto; display:block }
a { text-decoration:none; color:inherit }
button { font-family:var(--font-body); cursor:pointer }
.wrap { max-width:1380px; margin:0 auto; padding:0 32px }

/* ══════════════════════════════════════════════════════════
   BANNER — Ken Burns hero image
   ══════════════════════════════════════════════════════════ */
.ac-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ac-banner-img-wrap {
    position: absolute;
    inset: 0;
}
.ac-banner-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    animation: acBannerZoom 9s ease-out forwards;
}
@keyframes acBannerZoom {
    from { transform: scale(1.07) }
    to   { transform: scale(1) }
}
.ac-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    animation: acBannerFade 1.2s var(--ease) both;
}
@keyframes acBannerFade { from { opacity:0 } to { opacity:1 } }
.ac-banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.ac-banner-caption {
    animation: acBannerSlide 1.3s var(--ease) .15s both;
}
@keyframes acBannerSlide {
    from { opacity:0; transform:translateY(22px) }
    to   { opacity:1; transform:none }
}
.ac-crumb {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,.7);
    margin-bottom: 14px;
}
.ac-crumb a { color:rgba(255,255,255,.7); transition:color .2s }
.ac-crumb a:hover { color:var(--white) }
.ac-crumb-sep { color:rgba(255,255,255,.4) }
.ac-banner-eyebrow {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: rgba(255,255,255,.65);
    margin-bottom: 10px;
    display: block;
}
h1.ac-banner-title {
    font-family: var(--font-display);
    font-size: clamp(28px,5vw,64px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 12px;
}
h1.ac-banner-title em { font-style:italic }
.ac-banner-meta {
    font-size: 14px; color: rgba(255,255,255,.75);
}
.ac-banner-meta strong { color:var(--white); font-weight:700 }

/* ══════════════════════════════════════════════════════════
   FLEET HEADING  (H2 above toolbar)
   ══════════════════════════════════════════════════════════ */
.ac-fleet-wrap {
    padding: 36px 0 0;
    margin-bottom: 0;
}
.ac-fleet-label {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--gray-400);
    margin-bottom: 6px;
    display: block;
}
h2.ac-fleet-title {
    font-family: var(--font-display);
    font-size: clamp(22px,3vw,34px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════
   TOOLBAR
   ══════════════════════════════════════════════════════════ */
.ac-toolbar {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    animation: acToolIn .5s var(--ease) .1s both;
}
@keyframes acToolIn {
    from { opacity:0; transform:translateY(-8px) }
    to   { opacity:1; transform:none }
}
.ac-toolbar-left { display:flex; align-items:center; gap:12px; flex-wrap:wrap }
.ac-count { font-size:13px; font-weight:500; color:var(--text-secondary) }
.ac-count strong { color:var(--text-primary); font-weight:700 }
.ac-divider { width:1px; height:20px; background:var(--border); flex-shrink:0 }
.ac-sort-label {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--gray-400); white-space: nowrap;
}
.ac-sort-group { display:flex; align-items:center; gap:6px; flex-wrap:wrap }
.ac-sort-btn {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    white-space: nowrap;
}
.ac-sort-btn:hover { border-color:var(--gray-400); color:var(--text-primary) }
.ac-sort-btn.active {
    background: var(--gray-900);
    border-color: var(--gray-900);
    color: var(--white);
    font-weight: 700;
}
.ac-toolbar-right { display:flex; align-items:center; flex-shrink:0 }
.ac-views { display:flex; gap:4px }
.ac-vbtn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--gray-400);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.ac-vbtn.active { border-color:var(--gray-900); color:var(--gray-900); background:var(--gray-50) }
.ac-vbtn:hover:not(.active) { border-color:var(--gray-400); color:var(--text-primary) }
.ac-vbtn svg { width:15px; height:15px }

/* ══════════════════════════════════════════════════════════
   GRID
   ══════════════════════════════════════════════════════════ */
.ac-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px }
.ac-grid.view-list { grid-template-columns:1fr }

/* ══════════════════════════════════════════════════════════
   CARD  — mirrors homepage fv-card
   ══════════════════════════════════════════════════════════ */
.ac-card {
    border: 2px solid #2a2a2a;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .32s var(--ease);
}
.ac-card.ac-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s !important;  /* reset stagger after entrance */
}
.ac-card.ac-in:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.12);
}

/* Entrance stagger delays (reset to 0 once .ac-in fires) */
.ac-d1 { transition-delay:.08s }
.ac-d2 { transition-delay:.17s }
.ac-d3 { transition-delay:.26s }
.ac-d4 { transition-delay:.35s }

/* ── Image outer ── */
.ac-img-outer {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}
.ac-img-wrap {
    display: block;
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    text-decoration: none;
}
.ac-gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s var(--ease), opacity .22s var(--ease);
}
.ac-card.ac-in:hover .ac-gallery-img { transform:scale(1.06) }

/* Deal badge */
.ac-deal-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--black); color: var(--white);
    font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 4px 10px; border-radius: 5px;
}

/* Gallery arrows */
.ac-arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 34px; height: 34px; border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.52); color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .2s var(--ease), background .2s;
    padding: 0; line-height: 1;
}
.ac-arr svg { width:16px; height:16px; pointer-events:none }
.ac-arr:hover { background:rgba(0,0,0,.8) }
.ac-arr-prev { left:10px }
.ac-arr-next { right:10px }
.ac-card.ac-in:hover .ac-arr { opacity:1 }
@media (hover:none) { .ac-arr { opacity:1; width:30px; height:30px } }

/* ── Dark name bar ── */
.ac-namebar {
    background: #111111;
    padding: 13px 14px;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}
.ac-title-link { text-decoration:none; flex:1; min-width:0 }
h3.ac-card-title {
    font-size: 13px; font-weight: 700;
    color: var(--white); line-height: 1.4; margin: 0;
    font-family: var(--font-body);
    text-align: left;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ac-brand-logo {
    width: 36px; height: 36px;
    object-fit: contain; flex-shrink: 0;
    border-radius: 6px; padding: 3px;
    background: rgba(255,255,255,.92);
}

/* ── Card body ── */
.ac-body {
    background: #f7f7f7;
    padding: 14px;
    display: flex; flex-direction: column;
    gap: 10px; flex: 1;
}

/* Price */
.ac-price-row { display:flex; align-items:baseline; gap:4px }
.ac-price { font-size:18px; font-weight:800; color:var(--text-primary); line-height:1 }
.ac-price-unit { font-size:11px; color:var(--text-secondary); font-weight:500 }

/* Specs strip — horizontal white pill */
.ac-specs-strip {
    background: var(--white);
    border-radius: 10px;
    padding: 9px;
    display: flex; align-items: center;
    gap: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,.09);
}
.ac-si {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 2px;
    font-size: 8px; font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap; min-width: 0;
}
.ac-si span { overflow: hidden; text-overflow: ellipsis; }
.ac-si svg { width:11px; height:11px; flex-shrink:0; color:var(--gray-700) }

/* Buttons */
.ac-actions { display:flex; gap:8px; margin-top:auto }
.ac-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 6px;
    border-radius: 4px;
    font-size: 12px; font-weight: 700;
    text-decoration: none;
    transition: opacity .2s, transform .2s var(--ease-spring);
    font-family: var(--font-body);
}
.ac-btn:hover { opacity:.88; transform:translateY(-1px) }
.ac-btn svg { width:14px; height:14px; flex-shrink:0 }
.ac-btn-call { background:var(--black); color:var(--white) }
.ac-btn-wa { background:#25D366; color:var(--white) }

/* Empty state */
.ac-empty { grid-column:1/-1; text-align:center; padding:100px 20px; animation:acFadeIn .5s both }
@keyframes acFadeIn { from{opacity:0} to{opacity:1} }
.ac-empty-icon { width:80px; height:80px; border-radius:50%; background:var(--gray-100); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; margin:0 auto 20px }
.ac-empty-icon svg { width:36px; height:36px; color:var(--gray-400) }
.ac-empty h3 { font-family:var(--font-display); font-size:26px; color:var(--text-primary); margin-bottom:8px }
.ac-empty p { font-size:14px; color:var(--text-secondary) }

/* Sort animations */
@keyframes acSortOut { from{opacity:1;transform:translateY(0) scale(1)} to{opacity:0;transform:translateY(10px) scale(.97)} }
@keyframes acSortIn  { from{opacity:0;transform:translateY(16px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
.ac-card.s-out { animation:acSortOut .18s var(--ease) forwards }
.ac-card.s-in  { animation:acSortIn .28s var(--ease) forwards }

/* ── List view ── */
.ac-grid.view-list .ac-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto 1fr;
    flex-direction: unset;
}
.ac-grid.view-list .ac-img-outer {
    grid-row: 1 / 3;
    aspect-ratio: unset;
    min-height: 220px;
}
.ac-grid.view-list .ac-namebar { grid-column:2 }
.ac-grid.view-list .ac-body { grid-column:2; flex-direction:row; align-items:center; flex-wrap:wrap; gap:14px; padding:12px 16px }
.ac-grid.view-list .ac-price-row { flex-shrink:0 }
.ac-grid.view-list .ac-specs-strip { flex-shrink:0 }
.ac-grid.view-list .ac-actions { flex-direction:column; min-width:130px; gap:6px }
.ac-grid.view-list .ac-btn { padding:9px 10px }

/* ── Card responsive ── */
@media (max-width:1200px) { .ac-grid { grid-template-columns:repeat(3,1fr) } }

@media (max-width:900px) {
    .ac-grid { grid-template-columns:repeat(2,1fr) }
    .wrap { padding:0 20px }
    .ac-grid.view-list .ac-card { display:flex; flex-direction:column; grid-template-columns:unset }
    .ac-grid.view-list .ac-img-outer { grid-row:unset; aspect-ratio:16/9; min-height:unset; width:100% }
    .ac-grid.view-list .ac-namebar { grid-column:unset }
    .ac-grid.view-list .ac-body { grid-column:unset; flex-direction:column; align-items:flex-start }
    .ac-grid.view-list .ac-actions { flex-direction:row; min-width:unset; width:100% }
}

@media (max-width:600px) {
    .ac-grid { grid-template-columns:1fr }
    .ac-banner { height:300px }
    .ac-toolbar { flex-direction:column; align-items:flex-start; padding:12px 0 }
    .ac-toolbar-right { align-self:flex-end }
    .ac-divider { display:none }
}

@media (max-width:480px) {
    .wrap { padding:0 16px }
    .ac-sort-btn { padding:5px 11px; font-size:11px }
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL  (SEO sections + cards share .ac-in trigger)
   ══════════════════════════════════════════════════════════ */
.ac-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .72s var(--ease), transform .72s var(--ease);
}
.ac-reveal.ac-in { opacity:1; transform:none }

/* ══════════════════════════════════════════════════════════
   SHARED SECTION HEADINGS
   ══════════════════════════════════════════════════════════ */
.ac-section-label {
    display: block;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--gray-400);
    text-align: center; margin-bottom: 10px;
}
h2.ac-section-title {
    font-family: var(--font-display);
    font-size: clamp(26px,3.5vw,48px);
    font-weight: 700; line-height: 1.15;
    color: var(--text-primary);
    text-align: center; margin-bottom: 12px;
}
.ac-section-sub {
    font-size: 15px; color: var(--text-secondary);
    text-align: center; max-width: 520px;
    margin: 0 auto 52px; line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FAQ — matches homepage / location page exactly
   ══════════════════════════════════════════════════════════ */
.ac-faq {
    background-color: #e8e8e8;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative; z-index: 1;
    overflow: hidden;
    padding: 88px 0 72px;
}
.ac-faq::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(235,235,235,0.78);
    z-index: 0;
}
.ac-faq > .wrap { position:relative; z-index:1 }

.ac-faq-header { text-align:center; margin-bottom:52px }

.ac-faq-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column;
}
.ac-faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    transition: background .25s var(--ease);
}
.ac-faq-item:first-child { border-top:1px solid var(--border) }
.ac-faq-item.open { background:var(--black); border-bottom-color:rgba(255,255,255,.1) }
.ac-faq-item:first-child.open { border-top-color:rgba(255,255,255,.1) }

.ac-faq-q {
    width: 100%;
    display: flex; align-items:center; justify-content:space-between;
    gap: 20px; padding: 22px 20px;
    background: none; border: none; cursor: pointer; text-align:left;
}
.ac-faq-q-text { font-size:14px; font-weight:600; color:var(--text-primary); line-height:1.45; transition:color .25s }
.ac-faq-item.open .ac-faq-q-text { color:var(--white) }

.ac-faq-icon { flex-shrink:0; width:24px; height:24px; position:relative }
.ac-faq-icon svg { position:absolute; inset:0; width:24px; height:24px; color:var(--text-primary); transition:opacity .2s, color .25s }
.ac-faq-item.open .ac-faq-icon svg { color:var(--white) }
.ac-icon-plus  { opacity:1 }
.ac-icon-minus { opacity:0 }
.ac-faq-item.open .ac-icon-plus  { opacity:0 }
.ac-faq-item.open .ac-icon-minus { opacity:1 }

.ac-faq-a { max-height:0; overflow:hidden; transition:max-height .4s var(--ease) }
.ac-faq-a-inner { padding:0 20px 24px; font-size:14px; color:var(--text-secondary); line-height:1.85; transition:color .25s }
.ac-faq-item.open .ac-faq-a-inner { color:rgba(255,255,255,.7) }

.suv-seo-content{
    background: var(--white);
    padding: 40px 0;
}
.suv-seo-body {
    max-width: 100%;
}
.suv-seo-body > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}
.suv-seo-body h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 44px 0 14px;
}
.suv-seo-body h2:first-of-type { margin-top: 28px; }

.suv-seo-body h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 44px 0 14px;
}

.suv-seo-body ul {
    margin: 0 0 20px 0;
    padding-left: 22px;
    display: flex; flex-direction: column; gap: 10px;
}
.suv-seo-body ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 4px;
}

.ac-banner-desc {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
    color: var(--text-primary);;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — SEO SECTIONS
   ══════════════════════════════════════════════════════════ */
@media (max-width:900px) {
    .ac-faq      { padding:68px 0 }

    .ac-section-sub { margin-bottom:36px }
}

@media (max-width:600px) {
    .ac-faq      { padding:52px 0 56px }
    .ac-faq-q    { padding:16px 20px }
    .ac-faq-q-text { font-size:13px }
}

@media (max-width:420px) {
    h2.ac-section-title { font-size:24px }
}
