/* ============================================================
   Exclusiv Auto Vest – style.css
   Tema: Black & Gold Luxury Modern
   ============================================================ */

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Montserrat', sans-serif;
    background: #0a0a0a;
    color: #e8e0d0;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .25s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- CSS Variables --------------------------------------- */
:root {
    --gold: #c9a227;
    --gold-light: #e8c45a;
    --gold-dark: #9b7a0f;
    --black: #0a0a0a;
    --black2: #111111;
    --black3: #1a1a1a;
    --black4: #222222;
    --white: #ffffff;
    --cream: #e8e0d0;
    --grey: #888;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,.7);
    --transition: .3s ease;
}

/* ---- Typography ----------------------------------------- */
h1,h2,h3,h4,h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.gold-text { color: var(--gold); }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--grey); margin-bottom: 3rem; font-size: .95rem; }
.section-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: .75rem auto 1.5rem;
    border-radius: 2px;
}

/* ---- Container ------------------------------------------ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }

/* ---- Buttons -------------------------------------------- */
.btn-gold {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
    font-weight: 700; font-size: .9rem; letter-spacing: .5px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid var(--gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.4); }
.btn-outline {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 2rem;
    background: transparent;
    color: var(--gold);
    font-weight: 700; font-size: .9rem; letter-spacing: .5px;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.btn-green {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 2rem;
    background: #25d366; color: var(--black);
    font-weight: 700; font-size: .9rem;
    border-radius: var(--radius); border: 2px solid #25d366;
    transition: var(--transition);
}
.btn-green:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }

/* ---- WhatsApp Float ------------------------------------- */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
    50% { box-shadow: 0 4px 40px rgba(37,211,102,.8); }
}

/* ---- Navbar --------------------------------------------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: .75rem 0;
    background: rgba(10,10,10,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,162,39,.15);
    transition: var(--transition);
}
.navbar.scrolled { padding: .5rem 0; box-shadow: 0 2px 20px rgba(0,0,0,.8); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 52px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: .25rem; }
.nav-menu a {
    padding: .5rem .9rem; font-size: .85rem; font-weight: 600;
    color: var(--cream); border-radius: 6px;
    transition: var(--transition); letter-spacing: .3px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a.active { border-bottom: 2px solid var(--gold); }
.nav-menu .nav-cta a {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black); border-radius: var(--radius);
    padding: .5rem 1.1rem; font-weight: 700;
}
.nav-menu .nav-cta a:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201,162,39,.4); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- Hero ----------------------------------------------- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: 80px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.5) 60%, rgba(10,10,10,.3) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 680px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(201,162,39,.15); border: 1px solid var(--gold);
    color: var(--gold); padding: .4rem 1rem;
    border-radius: 50px; font-size: .8rem; font-weight: 700;
    letter-spacing: 1px; margin-bottom: 1.25rem; text-transform: uppercase;
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.hero-content p { font-size: 1.05rem; color: var(--cream); margin-bottom: 2rem; opacity: .9; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    position: absolute; bottom: 2rem; left: 0; right: 0; z-index: 2;
}
.hero-stats .container { display: flex; justify-content: flex-start; }
.stats-bar {
    display: flex; gap: 0;
    background: rgba(10,10,10,.85); border: 1px solid rgba(201,162,39,.25);
    border-radius: var(--radius); overflow: hidden;
}
.stat-item {
    padding: 1rem 1.75rem; text-align: center;
    border-right: 1px solid rgba(201,162,39,.2);
}
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.stat-item span { font-size: .72rem; color: var(--grey); text-transform: uppercase; letter-spacing: .5px; }

/* ---- Search Bar ----------------------------------------- */
.search-bar-wrap {
    position: relative; z-index: 3;
    background: rgba(10,10,10,.9); border: 1px solid rgba(201,162,39,.3);
    border-radius: var(--radius); padding: 1.5rem;
    margin-top: 2.5rem; backdrop-filter: blur(8px);
}
.search-bar-wrap h3 { font-size: 1rem; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
.search-form { display: grid; grid-template-columns: repeat(3,1fr) auto; gap: .75rem; align-items: end; }
.search-form select, .search-form input {
    width: 100%;
    padding: .75rem 1rem;
    background: var(--black3); color: var(--cream);
    border: 1px solid rgba(201,162,39,.3); border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-size: .88rem;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a227' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .75rem center;
    transition: var(--transition);
}
.search-form select:focus, .search-form input:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.search-form input { background-image: none; }
.search-form label { display: block; font-size: .75rem; color: var(--gold); font-weight: 700; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .5px; }
.search-btn-wrap { display: flex; align-items: flex-end; }

/* ---- Section Badges ------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3);
    color: var(--gold); padding: .35rem .85rem;
    border-radius: 50px; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px; margin-bottom: 1rem;
}

/* ---- Car Cards ------------------------------------------ */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.car-card {
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    border-radius: 12px; overflow: hidden;
    transition: var(--transition);
}
.car-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(201,162,39,.2); }
.car-card-img {
    position: relative; height: 220px; overflow: hidden;
}
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.car-card:hover .car-card-img img { transform: scale(1.05); }
.car-badge-import {
    position: absolute; top: .75rem; left: .75rem;
    background: var(--gold); color: var(--black);
    font-size: .7rem; font-weight: 800;
    padding: .3rem .7rem; border-radius: 4px;
    text-transform: uppercase; letter-spacing: .5px;
}
.car-badge-warranty {
    position: absolute; top: .75rem; right: .75rem;
    background: rgba(10,10,10,.85); color: var(--gold);
    font-size: .7rem; font-weight: 700;
    padding: .3rem .7rem; border-radius: 4px;
    border: 1px solid var(--gold);
}
.car-card-body { padding: 1.25rem; }
.car-card-body h3 { font-size: 1.15rem; color: var(--white); margin-bottom: .5rem; }
.car-specs {
    display: flex; flex-wrap: wrap; gap: .4rem;
    margin: .75rem 0;
}
.car-spec-item {
    display: flex; align-items: center; gap: .35rem;
    background: var(--black4); padding: .3rem .65rem;
    border-radius: 50px; font-size: .75rem; color: var(--cream);
}
.car-spec-item i { color: var(--gold); font-size: .7rem; }
.car-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.car-price { font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.car-rata { font-size: .78rem; color: var(--grey); }
.car-card-footer { padding: 0 1.25rem 1.25rem; display: flex; gap: .5rem; }
.car-card-footer a { flex: 1; text-align: center; }

/* ---- Car Detail ----------------------------------------- */
.car-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.car-gallery { border-radius: 12px; overflow: hidden; }
.gallery-main { position: relative; height: 380px; background: var(--black3); border-radius: 12px; overflow: hidden; margin-bottom: .75rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: .5rem; }
.gallery-thumb { height: 72px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-info-card {
    background: var(--black3); border: 1px solid rgba(201,162,39,.2);
    border-radius: 12px; padding: 1.5rem;
    position: sticky; top: 80px;
}
.car-info-card h1 { font-size: 1.6rem; margin-bottom: .5rem; }
.car-info-price { font-size: 2.2rem; font-weight: 900; color: var(--gold); margin: .75rem 0; }
.car-info-rata { background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3); border-radius: 6px; padding: .6rem 1rem; font-size: .85rem; color: var(--gold); margin-bottom: 1rem; }
.car-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1rem 0; }
.car-spec-row { display: flex; flex-direction: column; background: var(--black4); padding: .6rem .8rem; border-radius: 6px; }
.car-spec-row .label { font-size: .7rem; color: var(--grey); text-transform: uppercase; letter-spacing: .5px; }
.car-spec-row .value { font-size: .88rem; font-weight: 700; color: var(--white); margin-top: .1rem; }
.car-dotari { margin: 1.25rem 0; }
.car-dotari h4 { color: var(--gold); font-size: .9rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.dotari-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.dotare-badge {
    background: var(--black4); border: 1px solid rgba(201,162,39,.2);
    color: var(--cream); padding: .3rem .7rem;
    border-radius: 50px; font-size: .75rem;
    display: flex; align-items: center; gap: .35rem;
}
.dotare-badge i { color: var(--gold); }
.car-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; }
.car-actions a { text-align: center; }

/* ---- About / Servicii ----------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: 16px; overflow: hidden; position: relative; }
.about-img::before {
    content: ''; position: absolute; inset: -8px;
    border: 2px solid var(--gold); border-radius: 20px;
    opacity: .3; z-index: 0;
}
.about-img img { border-radius: 12px; position: relative; z-index: 1; }
.about-content { }
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--cream); opacity: .85; margin-bottom: 1.25rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.about-value {
    display: flex; align-items: center; gap: .75rem;
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    padding: .85rem 1rem; border-radius: 8px;
}
.about-value i { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; }
.about-value span { font-size: .85rem; font-weight: 600; color: var(--cream); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem; }
.service-card {
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    border-radius: 12px; padding: 2rem 1.5rem;
    text-align: center; transition: var(--transition);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(201,162,39,.15); }
.service-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(201,162,39,.15), rgba(201,162,39,.05));
    border: 1px solid rgba(201,162,39,.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--white); }
.service-card p { font-size: .85rem; color: var(--grey); }

/* ---- Calculator Rate ------------------------------------ */
.calculator-section { background: var(--black2); }
.calculator-wrap {
    background: var(--black3); border: 1px solid rgba(201,162,39,.25);
    border-radius: 16px; padding: 2.5rem;
    max-width: 700px; margin: 0 auto;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.calc-field label { display: block; font-size: .75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .4rem; }
.calc-field input, .calc-field select {
    width: 100%; padding: .8rem 1rem;
    background: var(--black4); color: var(--cream);
    border: 1px solid rgba(201,162,39,.3); border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-size: .9rem;
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--gold); }
.calc-slider-wrap { margin-bottom: 1.5rem; }
.calc-slider-wrap label { display: flex; justify-content: space-between; font-size: .75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: .5rem; }
.calc-slider-wrap label span { color: var(--white); }
input[type=range] {
    width: 100%; -webkit-appearance: none; appearance: none;
    height: 6px; border-radius: 3px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--val, 20%), var(--black4) var(--val, 20%), var(--black4) 100%);
    outline: none;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    border-radius: 50%; background: var(--gold);
    cursor: pointer; border: 3px solid var(--black3);
    box-shadow: 0 0 6px rgba(201,162,39,.5);
}
.calc-result {
    background: var(--black4); border: 2px solid var(--gold);
    border-radius: 12px; padding: 1.5rem;
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
    text-align: center;
}
.calc-result-item strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.calc-result-item span { font-size: .75rem; color: var(--grey); text-transform: uppercase; }
.calc-disclaimer { text-align: center; margin-top: 1rem; font-size: .72rem; color: var(--grey); }

/* ---- FAQ ------------------------------------------------ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    border-radius: 10px; margin-bottom: .75rem; overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem; cursor: pointer;
    font-weight: 700; font-size: .95rem; color: var(--white);
    user-select: none;
}
.faq-question i { color: var(--gold); font-size: .9rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--cream); font-size: .9rem; opacity: .85; }

/* ---- Contact -------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex; align-items: center; gap: 1rem;
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    border-radius: 10px; padding: 1.25rem;
    transition: var(--transition);
}
.contact-card:hover { border-color: var(--gold); }
.contact-card-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.2rem;
}
.contact-card-text h4 { font-size: .9rem; color: var(--white); margin-bottom: .2rem; }
.contact-card-text a, .contact-card-text p { font-size: .88rem; color: var(--cream); opacity: .8; }
.contact-card-text a:hover { color: var(--gold); opacity: 1; }
.contact-form-wrap {
    background: var(--black3); border: 1px solid rgba(201,162,39,.2);
    border-radius: 12px; padding: 2rem;
}
.contact-form-wrap h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: .75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .4rem; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%; padding: .8rem 1rem;
    background: var(--black4); color: var(--cream);
    border: 1px solid rgba(201,162,39,.25); border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-size: .9rem;
    transition: var(--transition);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.12); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-success { background: rgba(37,211,102,.1); border: 1px solid #25d366; color: #25d366; padding: 1rem; border-radius: 8px; margin-top: 1rem; font-size: .9rem; display: none; }
.contact-action-btns { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.contact-action-btns a { text-align: center; }

/* ---- Page Hero (subpages) ------------------------------- */
.page-hero {
    padding: 7rem 0 3rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--black3) 100%);
    border-bottom: 1px solid rgba(201,162,39,.15);
    text-align: center;
}
.page-hero h1 { margin-bottom: .5rem; }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .82rem; color: var(--grey); margin-top: .75rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span::before { content: '/'; margin-right: .5rem; }

/* ---- Testimonials --------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.testimonial-card {
    background: var(--black3); border: 1px solid rgba(201,162,39,.15);
    border-radius: 12px; padding: 1.75rem;
}
.testimonial-stars { color: var(--gold); margin-bottom: .75rem; font-size: .9rem; }
.testimonial-card p { font-size: .88rem; color: var(--cream); opacity: .85; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--black); font-size: .9rem;
}
.testimonial-author h4 { font-size: .9rem; color: var(--white); }
.testimonial-author span { font-size: .75rem; color: var(--grey); }

/* ---- CTA Section ---------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, rgba(201,162,39,.12) 0%, transparent 50%, rgba(201,162,39,.08) 100%);
    border-top: 1px solid rgba(201,162,39,.2); border-bottom: 1px solid rgba(201,162,39,.2);
    text-align: center; padding: 5rem 0;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--cream); opacity: .8; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Filters -------------------------------------------- */
.filters-bar {
    background: var(--black3); border: 1px solid rgba(201,162,39,.2);
    border-radius: 12px; padding: 1.25rem;
    margin-bottom: 2rem;
}
.filters-grid { display: grid; grid-template-columns: repeat(4,1fr) auto; gap: .75rem; align-items: end; }
.filter-field label { display: block; font-size: .72rem; color: var(--gold); font-weight: 700; margin-bottom: .35rem; text-transform: uppercase; }
.filter-field select, .filter-field input {
    width: 100%; padding: .65rem .9rem;
    background: var(--black4); color: var(--cream);
    border: 1px solid rgba(201,162,39,.25); border-radius: 6px;
    font-family: 'Montserrat', sans-serif; font-size: .83rem;
    appearance: none;
}
.filter-field select:focus, .filter-field input:focus { outline: none; border-color: var(--gold); }

/* ---- Lightbox ------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,.95);
    display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    color: var(--gold); font-size: 2rem; cursor: pointer;
    width: 48px; height: 48px; background: rgba(0,0,0,.7);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: var(--gold); font-size: 2rem; cursor: pointer;
    width: 52px; height: 52px; background: rgba(0,0,0,.7);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(201,162,39,.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ---- Alert Messages ------------------------------------- */
.alert { padding: .85rem 1.25rem; border-radius: 8px; margin-bottom: 1rem; font-size: .88rem; font-weight: 600; }
.alert-success { background: rgba(37,211,102,.15); border: 1px solid #25d366; color: #25d366; }
.alert-error { background: rgba(220,53,69,.15); border: 1px solid #dc3545; color: #ff6b7a; }

/* ---- Footer --------------------------------------------- */
.footer { background: var(--black2); border-top: 1px solid rgba(201,162,39,.2); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: var(--grey); line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
    width: 38px; height: 38px;
    background: var(--black3); border: 1px solid rgba(201,162,39,.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: .95rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--black); }
.footer-col h4 { color: var(--gold); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li { font-size: .83rem; color: var(--grey); display: flex; align-items: center; gap: .5rem; }
.footer-col ul li a { color: var(--grey); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li i { color: var(--gold); font-size: .75rem; }
.footer-cta-btns { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(201,162,39,.1); padding: 1.25rem 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .78rem; color: var(--grey); }
.footer-bottom a { color: var(--gold); }
.footer-seo { font-size: .72rem !important; color: rgba(100,100,100,.6) !important; }

/* ---- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
    .car-detail-grid { grid-template-columns: 1fr; }
    .car-info-card { position: static; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .search-form { grid-template-columns: 1fr 1fr; }
    .search-btn-wrap { grid-column: span 2; }
}

/* ---- Mobile nav height variable ------------------------- */
:root {
    --navbar-h: 138px;
    --navbar-h-mobile: 138px; /* fallback if JS didn't run */
}

@media (max-width: 768px) {
    section { padding: 3.5rem 0; }

    /* ---- Navbar mobile ---------------------------------- */
    .navbar { padding: .55rem 0; }
    .nav-logo img {
        height: 120px;
        width: auto;
        object-fit: contain;
    }
    .nav-container { align-items: center; }

    /* ---- Hamburger toggle (must stay above overlay) ----- */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    /* ---- Mobile menu overlay ---------------------------- */
    .nav-menu {
        position: fixed;
        top: var(--navbar-h, var(--navbar-h-mobile));
        left: 0; right: 0;
        height: calc(100vh - var(--navbar-h, var(--navbar-h-mobile)));
        height: calc(100dvh - var(--navbar-h, var(--navbar-h-mobile)));
        background: rgba(8,8,8,.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.25rem 2rem;
        transform: translateX(110%);
        transition: transform .32s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        gap: .2rem;
        z-index: 1001; /* above navbar (1000) */
        border-top: 1px solid rgba(201,162,39,.2);
        visibility: hidden;
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Menu items */
    .nav-menu li {
        width: 100%;
        list-style: none;
    }
    .nav-menu li a {
        padding: .95rem 1.2rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: .6rem;
        border-bottom: 1px solid rgba(201,162,39,.08);
        color: var(--cream);
        transition: background .2s, color .2s;
    }
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(201,162,39,.1);
        color: var(--gold);
        border-color: rgba(201,162,39,.2);
    }
    .nav-menu li:last-child a { border-bottom: none; }
    .nav-menu .nav-cta { margin-top: .75rem; }
    .nav-menu .nav-cta a {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--black);
        text-align: center;
        justify-content: center;
        font-weight: 800;
        border-bottom: none;
    }
    .nav-menu .nav-cta a:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--black); }

    /* ---- Hero: fix overlap with navbar + breathing room  */
    .hero {
        min-height: 100svh;
        padding-top: calc(var(--navbar-h, var(--navbar-h-mobile)) + 2.5rem);
    }
    .hero-content { padding-top: .5rem; }
    .hero-badge { margin-top: .25rem; }

    /* ---- Page hero (interior pages) --------------------- */
    .page-hero {
        padding: calc(var(--navbar-h, var(--navbar-h-mobile)) + 2rem) 0 2.5rem;
    }

    .hero-stats { display: none; }
    .stats-bar { flex-direction: row; overflow-x: auto; }

    /* ---- Search form ------------------------------------ */
    .search-form { grid-template-columns: 1fr; }
    .search-btn-wrap { grid-column: span 1; }

    /* ---- Car grid --------------------------------------- */
    .cars-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .calc-result { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .filters-grid { grid-template-columns: 1fr 1fr; }
    .car-specs-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(4,1fr); }
    .gallery-main { height: 260px; }
    .cta-btns { flex-direction: column; align-items: center; }
    .hero-btns { flex-direction: column; }
    .hero-btns a { text-align: center; }
}

@media (max-width: 480px) {
    :root { --navbar-h-mobile: 134px; }
    .container { padding: 0 1rem; }
    .nav-logo img { height: 110px; }
    .car-card-footer { flex-direction: column; }
    .filters-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(3,1fr); }
}
