/* ============================================================
   Avanti — location.css
   Prefix: abt-  |  Aliases the sitewide --gv-* tokens (header.css)
   Sections: hero · story · stats · values · how · reviews · promise · faq
   ============================================================ */

/* ══════════════════════════════════════════
   TOKENS (per-page alias of --gv-* — matches all-cars.css convention)
══════════════════════════════════════════ */
:root {
    --black:          var(--gv-black, #0A0A0A);
    --gray-900:       var(--gv-gray-900, #1A1A1A);
    --gray-800:       var(--gv-gray-800, #222222);
    --gray-700:       var(--gv-gray-700, #2C2C2C);
    --gray-600:       var(--gv-gray-600, #3A3A3A);
    --gray-500:       var(--gv-gray-500, #4A4A4A);
    --gray-400:       var(--gv-gray-400, #6A6A6A);
    --gray-300:       var(--gv-gray-300, #9A9A9A);
    --gray-200:       var(--gv-gray-200, #CCCCCC);
    --gray-100:       var(--gv-gray-100, #E8E8E8);
    --gray-50:        #161616;
    --white:          var(--gv-white, #FFFFFF);

    --bg-muted:       #141414;
    --bg-brand:       var(--gv-gray-800, #222222);
    --bg-dark:        var(--gv-black, #0A0A0A);
    --text-primary:   var(--gv-white, #FFFFFF);
    --text-secondary: var(--gv-gray-300, #9A9A9A);
    --border:         var(--gv-gray-700, #2C2C2C);

    --font-body:      var(--gv-font, 'Poppins', sans-serif);
    --font-display:   var(--gv-font-display, 'Poppins', sans-serif);

    --gold:           var(--gv-gold, #C9A84C);
    --gold-light:     var(--gv-gold-light, #E0C978);

    --ease:           cubic-bezier(.4,0,.2,1);
    --ease-spring:    cubic-bezier(.34,1.56,.64,1);

    --r:              var(--gv-radius, 8px);
    --r-lg:           16px;
}

/* ══════════════════════════════════════════
   BASE RESET
══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-900); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ══════════════════════════════════════════
   SHARED LAYOUT UTILITIES
══════════════════════════════════════════ */
.wrap { max-width: 1380px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 900px) { .wrap { padding: 0 20px; } }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

.gv-section    { padding: 100px 0; }
.gv-section-sm { padding: 72px 0; }

.gv-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--gold);
    margin-bottom: 14px;
}
.gv-section-label::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* matches home.css exactly — clamp(30px,4vw,56px) */
.gv-section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.gv-section-sub {
    font-size: 15px;
    color: var(--gray-300);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 48px;
}

/* Gold CTA buttons — recipes from home.css (.av-fleet-view-all-btn / .av-premium-btn) */
.abt-cta-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.abt-cta-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201,168,76,.35);
}

.abt-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.abt-cta-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201,168,76,.3);
}


/* ══════════════════════════════════════════
   1. HERO BANNER — matches homepage gv-banner pattern exactly
      height:auto so it scales naturally on all screen sizes
══════════════════════════════════════════ */
/* ── Fixed-height banner, matching all-cars ac-banner style ── */
.abt-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.abt-hero-img-wrap {
    position: absolute;
    inset: 0;
}

.abt-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 82%;
    display: block;
    animation: abtHeroZoom 9s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes abtHeroZoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1); }
}

.abt-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.48);
    animation: abtBannerFade 1.2s var(--ease) both;
}
@keyframes abtBannerFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Inner container — sibling to img-wrap, left-aligned */
.abt-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.abt-hero-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    animation: abtFadeSlide 1.3s var(--ease) .15s both;
}

.abt-hero-eyebrow {
    display: block;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold);
}

.abt-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    letter-spacing: .5px;
}
.abt-crumb a { color: rgba(255,255,255,.65); transition: color .2s; }
.abt-crumb a:hover { color: var(--gold); }
.abt-crumb-sep { color: rgba(255,255,255,.35); }

.abt-hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4.5vw, 64px);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0,0,0,.55);
    line-height: 1.15;
    text-align: left;
    max-width: 680px;
}

@keyframes abtFadeSlide {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════
   2. OUR STORY
══════════════════════════════════════════ */
.abt-story { background: var(--black); }

.abt-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.abt-story-lead {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 16px;
}
.abt-story-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 14px;
}

.abt-milestones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 32px 0;
}
.abt-milestone {
    padding: 16px 18px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-left: 3px solid var(--gray-700);
    border-radius: var(--r);
    transition: border-left-color .25s, box-shadow .25s;
}
.abt-milestone:hover {
    border-left-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.abt-ms-year {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.abt-ms-text {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.abt-story-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.abt-story-imgs { display: flex; flex-direction: column; gap: 14px; }
.abt-img-main {
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
}
.abt-img-main img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: transform .65s var(--ease);
}
.abt-img-main:hover img { transform: scale(1.04); }

.abt-img-secondary {
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
}
.abt-img-secondary img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: transform .65s var(--ease);
}
.abt-img-secondary:hover img { transform: scale(1.04); }


/* ══════════════════════════════════════════
   3. STATS (dark)
══════════════════════════════════════════ */
.abt-stats {
    background: var(--bg-dark);
    padding: 80px 0;
}

.abt-stats-header { text-align: center; margin-bottom: 56px; }

.abt-label-light { color: rgba(255,255,255,.5); }
.abt-label-light::before { background: rgba(255,255,255,.35); }
.abt-title-white { color: var(--white); }

.abt-stats-grid { display: flex; align-items: stretch; justify-content: center; }

.abt-stat-card {
    flex: 1;
    text-align: center;
    padding: 28px 36px;
    border-right: 1px solid var(--gray-800);
}
.abt-stat-card:last-child { border-right: none; }

.abt-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 14px;
    cursor: default;
    letter-spacing: -1px;
}

.abt-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,.9);
    margin-bottom: 8px;
}

.abt-stat-desc {
    font-size: 12px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 180px;
    margin: 0 auto;
}


/* ══════════════════════════════════════════
   4. WHAT SETS US APART
══════════════════════════════════════════ */
.abt-values { background: var(--black); }

.abt-values-header { text-align: center; margin-bottom: 56px; }
.abt-values-header .gv-section-sub { margin: 0 auto; }

.abt-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.abt-val-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .25s;
}
.abt-val-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(0,0,0,.4);
    border-color: var(--gold);
}

.abt-val-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform .3s var(--ease-spring);
}
.abt-val-card:hover .abt-val-icon { transform: scale(1.1) rotate(-6deg); }
.abt-val-icon svg { width: 22px; height: 22px; }

.abt-val-title {
    font-size: 16px; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px; line-height: 1.3;
}

.abt-val-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
}


/* ══════════════════════════════════════════
   5. HOW IT WORKS
══════════════════════════════════════════ */
.abt-how { background: var(--black); }

.abt-how-header { text-align: center; margin-bottom: 64px; }

.abt-how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.abt-how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 210px;
    padding: 0 8px;
}

.abt-how-connector {
    flex: 1;
    border-top: 2px dashed var(--gray-700);
    align-self: flex-start;
    margin-top: 23px;
    min-width: 20px;
}

.abt-how-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.abt-how-step:hover .abt-how-num {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(201,168,76,.25);
}

.abt-how-title {
    font-size: 15px; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px; line-height: 1.3;
}

.abt-how-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.75;
}


/* ══════════════════════════════════════════
   6. CUSTOMER REVIEWS
══════════════════════════════════════════ */
.abt-reviews {
    background: var(--black);
    padding: 80px 0;
    overflow-x: clip;
    overflow-y: visible;
}

.abt-reviews-header { text-align: center; margin-bottom: 48px; }

.abt-rev-outer {
    padding: 24px 0 48px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.abt-rev-track {
    display: flex;
    gap: 24px;
    align-items: center;
    will-change: transform;
}

.abt-rev-card {
    flex-shrink: 0;
    width: 400px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    opacity: .55;
    transition: transform .5s var(--ease), border-color .5s, box-shadow .5s, opacity .5s;
}

.abt-rev-card.abt-rev-active {
    opacity: 1;
    transform: scale(1.04) translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 24px 64px rgba(201,168,76,.15);
    position: relative;
    z-index: 10;
}

.abt-rev-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.abt-rev-stars svg { width: 14px; height: 14px; fill: var(--gold); }

.abt-rev-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}
.abt-rev-text p { margin: 0; }

.abt-rev-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-800);
}

.abt-rev-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--av-hue, var(--gray-300));
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.abt-rev-name { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.abt-rev-loc  { font-size: 11px; color: var(--gray-400); margin-top: 2px; }
.abt-rev-car  { font-size: 10px; color: var(--gray-400); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.abt-rev-car svg { width: 11px; height: 11px; flex-shrink: 0; }


/* ══════════════════════════════════════════
   7. OUR PROMISE (dark)
══════════════════════════════════════════ */
.abt-promise {
    background: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

.abt-promise-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.abt-promise-title { color: var(--white); margin-bottom: 18px; }

.abt-promise-sub {
    font-size: 15px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.abt-promise-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 56px;
    margin-bottom: 44px;
    text-align: left;
    width: 100%;
    max-width: 520px;
}

.abt-promise-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.82);
    line-height: 1.4;
}
.abt-promise-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.abt-promise-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }


/* ══════════════════════════════════════════
   8. FAQ — background matches homepage faq-section exactly
      (background-image set inline via PHP in location.php)
══════════════════════════════════════════ */
.abt-faq {
    background-color: var(--black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.abt-faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.88) 100%);
    pointer-events: none;
    z-index: 0;
}

.abt-faq > .wrap {
    position: relative;
    z-index: 1;
}

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

.abt-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.abt-faq-item {
    background: var(--gray-800);
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.abt-faq-item.open {
    background: var(--gray-900);
    border-color: var(--gold);
}

.abt-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.abt-faq-q-text {
    font-size: 14px; font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    transition: color .25s;
}
.abt-faq-item.open .abt-faq-q-text { color: var(--white); }

.abt-faq-icon {
    flex-shrink: 0; width: 40px; height: 40px; position: relative;
    border: 1px solid var(--gold); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.abt-faq-icon svg {
    position: absolute; width: 18px; height: 18px;
    color: var(--gold);
    transition: opacity .2s;
}
.abt-icon-plus  { opacity: 1; }
.abt-icon-minus { opacity: 0; }
.abt-faq-item.open .abt-icon-plus  { opacity: 0; }
.abt-faq-item.open .abt-icon-minus { opacity: 1; }

.abt-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}
.abt-faq-a-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color .25s;
}
.abt-faq-item.open .abt-faq-a-inner { color: var(--gray-200); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .abt-story-grid { gap: 52px; }
    .abt-how-step { width: 180px; }
}

@media (max-width: 1024px) {
    .abt-story-grid { grid-template-columns: 1fr; gap: 48px; }
    .abt-story-imgs { order: -1; }
    .abt-img-main { aspect-ratio: 16 / 9; }

    .abt-values-grid { grid-template-columns: repeat(2, 1fr); }

    .abt-how-steps { flex-wrap: wrap; gap: 40px; justify-content: center; }
    .abt-how-connector { display: none; }
    .abt-how-step { width: calc(50% - 24px); flex: 0 0 calc(50% - 24px); padding: 0; }
}

@media (max-width: 768px) {
    .gv-section { padding: 80px 0; }

    .abt-stats-grid { flex-wrap: wrap; }
    .abt-stat-card { flex: 1 1 calc(50% - 1px); border-right: none; border-bottom: 1px solid var(--gray-800); padding: 24px 20px; }
    .abt-stat-card:nth-child(odd)    { border-right: 1px solid var(--gray-800); }
    .abt-stat-card:last-child        { border-bottom: none; }
    .abt-stat-card:nth-last-child(2) { border-bottom: none; }

    .abt-how-steps { gap: 32px; }
    .abt-how-step { width: 100%; flex: 0 0 100%; }

    .abt-rev-card { width: 320px; }
    .abt-rev-outer { padding: 16px 0 40px; }

    .abt-promise-items { gap: 12px 28px; }
    .abt-stat-num { font-size: clamp(40px, 10vw, 60px); }
}

@media (max-width: 600px) {
    .abt-hero        { height: 300px; }
    .abt-values-grid { grid-template-columns: 1fr; }
    .abt-milestones  { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .gv-section { padding: 64px 0; }
    .gv-section-sm { padding: 52px 0; }

    .abt-stats { padding: 60px 0; }
    .abt-stat-card { flex: 1 1 100%; border-right: none; }
    .abt-stat-card:nth-child(odd)    { border-right: none; }
    .abt-stat-card:nth-last-child(2) { border-bottom: 1px solid var(--gray-800); }

    .abt-story-lead { font-size: 15px; }
    .abt-story-ctas { flex-direction: column; align-items: flex-start; }

    .abt-promise-items { grid-template-columns: 1fr; gap: 12px; }
    .abt-promise-ctas  { flex-direction: column; width: 100%; align-items: center; }
    .abt-promise-ctas .abt-cta-gold,
    .abt-promise-ctas .abt-cta-outline { width: 100%; justify-content: center; }

    .abt-rev-card { width: 280px; padding: 20px; }
    .abt-how-step { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .abt-hero-img, .abt-hero-caption, .abt-hero-overlay { animation: none; opacity: 1; transform: none; }
    .abt-val-card, .abt-milestone, .abt-how-num, .abt-rev-card { transition: none; }
}
