@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    background: rgba(10, 10, 10, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 99;
}

.nav-wrap {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

nav a {
    color: #bbb;
    text-decoration: none;
    margin: 0 14px;
    font-size: 15px;
}

nav a:hover {
    color: #ae050e;
}

nav a.active {
    color: #ae050e;
    font-weight: 700;
    position: relative;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #ae050e;
    border-radius: 12px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
    flex: 0 0 auto;
}

.btn-icon path {
    fill: currentColor;
}

.btn-call {
    background: transparent;
    color: #ff4b57;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1.5px solid rgba(174, 5, 14, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(174, 5, 14, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    color: #ff7a82;
    border-color: rgba(255, 122, 130, 0.9);
    box-shadow: 0 18px 32px rgba(174, 5, 14, 0.3);
}

.nav-btn,
.btn-gold {
    background: linear-gradient(135deg, #ae050e, #ff4b57);
    color: #fff;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 14px 28px rgba(174, 5, 14, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-btn:hover,
.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(174, 5, 14, 0.4);
    filter: brightness(1.02);
}

.hero {
    min-height: 520px;
    height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero .container {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
}

.hero-cta {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.35));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    max-width: 650px;
}

.hero-tag {
    color: #ae050e;
    margin-bottom: 20px;
    font-size: 15px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.section {
    padding: 60px 0;
}

.details-section {
    padding: 18px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: 44px;
}

.section-head p {
    color: #aaa;
    max-width: 450px;
    line-height: 1.7;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.car-card {
    background: #101010;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.car-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.car-card-link:focus-visible {
    outline: 2px solid #ff4b57;
    outline-offset: -6px;
    border-radius: 10px;
}

.car-card:hover {
    transform: translateY(-8px);
    border-color: #ae050e;
}

.car-img {
    height: 240px;
    overflow: hidden;
    flex: 0 0 auto;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sold-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ae050e, #ff4b57);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(174, 5, 14, 0.35);
}

.status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    pointer-events: none;
    padding: 8px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #12b06f, #35d28d);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(18, 176, 111, 0.35);
}

.sold-card {
    opacity: 0.96;
}

.car-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.car-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.car-info p {
    color: #aaa;
    margin-bottom: 18px;
}

.price {
    color: #ae050e;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.car-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.car-info .btn-gold {
    margin-top: auto;
    align-self: flex-start;
}

.car-card-actions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.car-card-actions .car-action-btn {
    flex: 1 1 120px;
    min-width: 0;
    padding: 11px 16px;
    font-size: 13px;
}

.car-card-actions .btn-gold {
    margin-top: 0;
    align-self: auto;
}

.car-card-actions .btn-whatsapp {
    width: auto;
    max-width: none;
}

.car-card-actions .whatsapp-icon {
    width: 22px;
    height: 22px;
    padding: 4px;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.08);
    color: #fff;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(37, 211, 102, 0.55);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.9);
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.24);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    fill: #fff;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 10px rgba(37, 211, 102, 0.28));
}

.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #14b85a 48%, #128c7e 100%);
    display: grid;
    place-items: center;
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 211, 102, 0.28);
    z-index: 999;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    color: #fff;
    isolation: isolate;
    overflow: visible;
    animation: whatsapp-float-bob 3.4s ease-in-out infinite;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(37, 211, 102, 0.55);
    z-index: -1;
    animation: whatsapp-pulse 2.2s ease-out infinite;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%);
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.58), 0 0 40px rgba(37, 211, 102, 0.38);
    filter: brightness(1.06);
    animation-play-state: paused;
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
}

@keyframes whatsapp-pulse {
    0% {
        opacity: 0.72;
        transform: scale(0.82);
    }
    70% {
        opacity: 0;
        transform: scale(1.24);
    }
    100% {
        opacity: 0;
        transform: scale(1.24);
    }
}

@keyframes whatsapp-float-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.car-meta span {
    background: #1b1b1b;
    padding: 8px 12px;
    border-radius: 10px;
    color: #ccc;
    font-size: 13px;
}

.sold-card .car-meta {
    flex-wrap: wrap;
    gap: 8px;
}

.sold-card .car-meta span {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.why-section {
    background: #0b0b0b;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-box {
    background: #111;
    border: 1px solid #222;
    padding: 35px;
    border-radius: 10px;
}

.why-box h3 {
    color: #ae050e;
    margin-bottom: 15px;
    font-size: 22px;
}

.why-box p {
    color: #aaa;
    line-height: 1.7;
}

.brand-box {
    background: #111;
    border: 1px solid #222;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-box img {
    max-width: 110px;
    max-height: 65px;
    filter: grayscale(100%);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.story-card {
    background: #101010;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: 0.3s;
}

.story-card:hover {
    transform: translateY(-6px);
    border-color: #ae050e;
}

.story-image {
    height: 220px;
    background: #0b0b0b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}

.story-body h3 {
    font-size: 20px;
}

.story-car {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #ae050e;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

.story-label {
    flex-basis: 100%;
    display: block;
    color: #ffffff;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.story-car-name {
    flex-basis: 100%;
    color: #ae050e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.story-car span {
    display: inline-flex;
    align-items: center;
    color: #ededed;
    background: #171717;
    border: 1px solid #2a2a2a;
    border-left: 2px solid rgba(174, 5, 14, 0.85);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.story-desc {
    color: #bdbdbd;
    line-height: 1.6;
    flex: 1 1 auto;
}

.story-gallery-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.7);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.story-gallery-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(174, 5, 14, 0.8);
    background: rgba(20, 20, 20, 0.85);
}

.story-gallery-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 10px;
    position: relative;
}

.story-gallery-icon::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-radius: 9px;
    background: transparent;
}

.story-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.story-modal.open {
    display: block;
}

.story-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.story-modal-content {
    position: relative;
    z-index: 1;
    width: min(92vw, 960px);
    margin: 6vh auto;
    background: #101010;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 18px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.story-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px;
}

.story-modal-title {
    font-size: 18px;
}

.story-modal-count {
    color: #bbb;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.story-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    background: #0b0b0b;
}

.story-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.story-modal-nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: rgba(0, 0, 0, 0.8);
}

.story-modal-nav.prev {
    left: 12px;
}

.story-modal-nav.next {
    right: 12px;
}

.story-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.testimonial-card {
    background:
        radial-gradient(circle at top right, rgba(174, 5, 14, 0.18), transparent 55%),
        linear-gradient(160deg, rgba(18,18,18,0.96), rgba(8,8,8,0.92));
    border: 1px solid rgba(255,255,255,0.06);
    padding: 30px;
    border-radius: 10px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #151515;
    border: 2px solid rgba(174, 5, 14, 0.55);
    box-shadow: 0 8px 18px rgba(174, 5, 14, 0.25);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-initials {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-meta h4 {
    color: #fff;
    margin-bottom: 4px;
    font-size: 19px;
}

.testimonial-meta span {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-quote {
    color: #ccc;
    line-height: 1.8;
    font-size: 15px;
    position: relative;
    padding-left: 32px;
}

.testimonial-quote::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 36px;
    color: rgba(174, 5, 14, 0.75);
}

.faq-box {
    max-width: 1100px;
    margin: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.faq-item {
    background: linear-gradient(180deg, #0f0f0f, #0b0b0b);
    border: 1px solid rgba(212,164,55,0.06);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.faq-q-text {
    display: inline-block;
}

.faq-q-icon {
    background: #111;
    color: #ae050e;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease;
    font-size: 18px;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.faq-item.open .faq-q-icon {
    transform: scale(1.05);
    background: #ae050e;
    color: #fff;
}

.faq-icon-plus,
.faq-icon-minus {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
    will-change: transform, opacity;
}

.faq-icon-plus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.faq-icon-minus {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.faq-item.open .faq-icon-plus {
    opacity: 0;
    transform: rotate(90deg) scale(.6);
}

.faq-item.open .faq-icon-minus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .25s ease;
}

.faq-item.open .faq-answer {
    padding: 18px 22px 22px;
    max-height: 800px;
}

.faq-answer p {
    color: #cfcfcf;
    margin: 0;
    line-height: 1.7;
}

.faq-side {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.faq-side h3 {
    margin: 0 0 12px;
    color: #fff;
}

.faq-side p {
    color: #aaa;
    margin-bottom: 18px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ae050e, #ff4b57);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-side {
        order: 2;
    }
}

.cta-banner {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 75px;
    max-width: 620px;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 18px;
}

.cta-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer {
    background: #080808;
    padding-top: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-brand img {
    height: 72px;
    width: auto;
    display: block;
}

.footer-brand h2 {
    margin: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
}

.footer h2,
.footer h3 {
    color: #ae050e;
    margin-bottom: 18px;
}

.footer p,
.footer a {
    color: #aaa;
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.7;
}

.copyright {
    text-align: center;
    color: #777;
    padding: 25px;
    border-top: 1px solid #222;
    margin-top: 0;
}

@media(max-width: 900px) {
    body {
        padding-top: 0;
    }

    nav {
        display: none;
    }

    .site-header {
        background: rgba(5, 5, 5, 0.96);
        position: sticky;
        top: 0;
        z-index: 99;
    }

    .nav-wrap {
        height: auto;
        padding: 12px 0 14px;
        flex-direction: column;
        gap: 14px;
        transition: padding 0.22s ease, gap 0.22s ease;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-height: 72px;
        opacity: 1;
        overflow: hidden;
        transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.25s ease;
    }

    .logo img {
        height: 64px;
        max-width: min(240px, 82vw);
        object-fit: contain;
    }

    .site-header.mobile-nav-compact .nav-wrap {
        padding: 10px 0;
    }





    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        gap: 10px;
    }

    .btn-whatsapp,
    .btn-call {
        width: 100%;
        max-width: none;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .hero {
        min-height: 0;
        height: clamp(240px, 58vw, 360px);
        background-size: cover;
        background-position: center top;
        background-color: #ffffff;
    }

    .hero h1 {
        font-size: 40px;
        color: #111 !important;
    }

    .hero p {
        color: #555 !important;
    }

    .hero-tag {
        color: #ae050e !important;
    }



    .hero .container {
        width: 100%;
    }

    .hero-cta {
        bottom: 14px;
        width: min(260px, calc(100vw - 32px));
    }

    .hero-cta .btn-gold {
        width: 100%;
        min-height: 46px;
        padding: 12px 16px;
        font-size: 14px;
    }



    .hero-content {
        padding-top: 70px;
    }

    .car-grid,
    .why-grid,
    .footer-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .car-grid .car-meta {
        flex-wrap: nowrap;
        overflow: hidden;
        gap: 3px;
    }

    .car-grid .car-meta span {
        white-space: nowrap;
        padding: 4px 6px;
        font-size: 11px;
    }

    .car-grid.sold-car-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .car-grid.sold-car-grid .car-info h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .car-grid.sold-car-grid .car-info .price {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .car-grid.sold-car-grid .car-meta {
        gap: 2px;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .car-grid.sold-car-grid .car-meta span {
        padding: 1px 2px;
        font-size: 6px;
        letter-spacing: -0.2px;
    }

    .section-head {
        display: block;
    }

    .section {
        padding: 10px 0 40px;
    }

    .details-section {
        padding: 20px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .details-section > .container {
        display: block;
    }

    .details-gallery,
    .details-info {
        width: 100%;
    }

    .details-info {
        padding: 24px;
        border-radius: 10px;
    }

    .details-info-head {
        margin-bottom: 16px;
    }

    .details-info h2 {
        font-size: 26px;
    }

    .main-car-image img {
        height: 320px;
    }

    .thumb-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 22px;
    }

    .spec-grid div {
        padding: 11px;
    }

    .spec-grid span {
        overflow-wrap: anywhere;
    }

    .spec-description {
        margin-bottom: 22px;
    }

    .details-bottom-row {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .details-bottom-row .details-price {
        width: 100%;
    }

    .details-bottom-row .details-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .details-bottom-row .btn-gold,
    .details-bottom-row .btn-whatsapp {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 32px;
    }

    .cta-content h2 {
        font-size: 34px;
    }

    .page-hero {
        padding: 20px 0;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: clamp(230px, 64vw, 300px);
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-head h2 {
        font-size: 30px;
    }

    .details-price {
        font-size: 28px;
    }

    .details-info {
        padding: 20px;
        border-radius: 12px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .details-price strong {
        font-size: 26px;
    }

    .car-img {
        height: 200px;
    }

    .car-grid.sold-car-grid .car-img {
        height: 120px;
    }

    .thumb-grid img {
        height: 80px;
    }
}

.page-hero {
    padding: 20px 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.95), rgba(0,0,0,0.4)),
        url('../images/luxury-hero-generated.png');
    background-size: cover;
    background-position: center;
}

.car-details-hero {
    background: #050505;
}

.page-hero h1 {
    font-size: 58px;
    margin-bottom: 18px;
}

.page-hero p {
    color: #bbb;
    max-width: 650px;
    line-height: 1.8;
}

.filter-box {
    background: #111;
    border: 1px solid #222;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
}

.filter-box input,
.filter-box select,
.enquiry-box input,
.enquiry-box textarea {
    background: #050505;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 45px;
    align-items: start;
}

.details-gallery {
    margin-bottom: 28px;
}

.details-gallery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.details-gallery-head h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

.details-gallery-head .details-price {
    margin: 0;
    white-space: nowrap;
}

.main-car-image {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.main-car-image img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #0b0b0b;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #000;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: 0.25s;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .gallery-nav {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.thumb-item {
    width: 100%;
    height: 95px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid #222;
    background: #0b0b0b;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: block;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.thumb-item:hover,
.thumb-item:focus-visible {
    border-color: #ae050e;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
    outline: none;
}

.thumb-hidden {
    display: none;
}

.thumb-more-trigger {
    border-color: rgba(174, 5, 14, 0.58);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(174, 5, 14, 0.22);
}

.thumb-more-trigger img {
    filter: brightness(0.46) saturate(0.85) blur(1px);
    transform: scale(1.04);
}

.thumb-more-trigger:hover img,
.thumb-more-trigger:focus-visible img,
.thumb-more-trigger:active img {
    filter: brightness(0.38) saturate(0.8) blur(1.4px);
    transform: scale(1.1);
}

.thumb-more-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.62), rgba(174, 5, 14, 0.36));
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.2px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.thumb-grid.thumbs-expanded {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 4px;
}

.thumb-grid.thumbs-expanded .thumb-item {
    display: block;
    width: calc(20% - 10px);
    height: 95px;
}

.thumb-grid.thumbs-expanded .thumb-more-overlay {
    display: none;
}

.thumb-grid.thumbs-expanded .thumb-more-trigger {
    border-color: #222;
    box-shadow: none;
}

.thumb-grid.thumbs-expanded .thumb-more-trigger img {
    filter: none;
    transform: none;
}

.details-info {
    background: #111;
    border: 1px solid #222;
    padding: 35px;
    border-radius: 10px;
}

.details-info-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.details-info h2 {
    font-size: 28px;
    margin: 0;
}

.details-price {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(174, 5, 14, 0.18), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(174, 5, 14, 0.55);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.details-price span {
    color: #bdbdbd;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-price strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.details-info p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.spec-grid div {
    background: #050505;
    border: 1px solid #222;
    padding: 12px;
    border-radius: 10px;
}

.spec-grid strong {
    display: block;
    color: #ae050e;
    font-size: 11px;
    margin-bottom: 5px;
}

.spec-grid span {
    color: #ccc;
    font-size: 13px;
}

.spec-description {
    margin-bottom: 28px;
}

.spec-description strong {
    display: block;
    color: #ae050e;
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
}

.spec-description p {
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.details-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.details-bottom-row .details-actions {
    justify-content: flex-end;
}

.details-text {
    background: #111;
    border: 1px solid #222;
    padding: 35px;
    border-radius: 10px;
    color: #ccc;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-item {
    background: #111;
    border: 1px solid #222;
    color: #ccc;
    padding: 18px;
    border-radius: 12px;
}

.feature-item::before {
    content: "✓";
    color: #ae050e;
    margin-right: 10px;
}

.enquiry-box {
    background: #111;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 10px;
}

.enquiry-box input,
.enquiry-box textarea {
    margin-bottom: 15px;
}

.enquiry-box textarea {
    height: 130px;
}

.success-msg {
    background: #12351f;
    color: #83ffad;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 15px;
}

@media(max-width: 900px) {
    .filter-box,
    .details-grid {
        grid-template-columns: 1fr;
    }

    .main-car-image img {
        height: 320px;
    }

    .thumb-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 38px;
    }
}

@media(max-width: 900px) {
    .details-section > .container {
        display: block;
    }

    .details-gallery,
    .details-info {
        width: 100%;
    }

    .details-info {
        padding: 24px;
        border-radius: 10px;
    }

    .details-info h2 {
        font-size: 26px;
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 22px;
    }

    .spec-grid div {
        padding: 11px;
        min-width: 0;
    }

    .spec-grid span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .spec-description {
        margin-bottom: 22px;
    }

    .details-bottom-row {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .details-bottom-row .details-price {
        width: 100%;
    }

    .details-bottom-row .details-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .details-bottom-row .btn-gold,
    .details-bottom-row .btn-whatsapp {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
    }
}

@media(max-width: 520px) {
    .details-info {
        padding: 20px;
        border-radius: 12px;
    }

    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-price strong {
        font-size: 26px;
    }
}

@media(max-width: 900px) {
    .thumb-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
        margin-top: 12px;
    }

    .thumb-item {
        height: 58px;
        border-radius: 10px;
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .thumb-mobile-hidden {
        display: none;
    }

    .thumb-more-overlay {
        font-size: 17px;
    }

    .thumb-grid.thumbs-expanded {
        gap: 8px;
        padding: 2px 2px 8px;
    }

    .thumb-grid.thumbs-expanded .thumb-item {
        flex: 0 0 68px;
        height: 56px;
    }
}


/* Light Theme Overrides */
body {
    background: #ffffff;
    color: #111;
}
.hero h1, .hero p, .hero-tag {
    color: #fff;
}
.hero-tag {
    color: #ff4b57;
}
.site-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.logo {
    color: #111;
}
nav a {
    color: #555;
}
nav a.active {
    color: #ae050e;
}
.car-card {
    background: #ffffff;
    border-color: #e5e5e5;
}
.car-info h3 {
    color: #111;
}
.car-info p {
    color: #666;
}
.car-meta span {
    background: #f0f0f0;
    color: #444;
}
.section-head p {
    color: #666;
}
.why-section {
    background: #f4f4f4;
}
.why-box {
    background: #ffffff;
    border-color: #e5e5e5;
}
.why-box h3 {
    color: #ae050e;
}
.why-box p {
    color: #666;
}
.brand-box {
    background: #ffffff;
    border-color: #e5e5e5;
}
.story-card {
    background: #ffffff;
    border-color: #e5e5e5;
}
.story-image {
    background: #f0f0f0;
}
.story-body h3 {
    color: #111;
}
.story-label {
    color: #111;
}
.story-car span {
    background: #f4f4f4;
    border-color: #ddd;
    color: #333;
}
.story-desc {
    color: #555;
}
.story-modal-content {
    background: #ffffff;
    border-color: #ddd;
}
.story-modal-count {
    color: #666;
}
.story-gallery-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111;
}
.story-gallery-btn:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.3);
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.testimonial-initials {
    color: #111;
}
.testimonial-meta h4 {
    color: #111;
}
.testimonial-meta span {
    color: #666;
}
.testimonial-quote {
    color: #555;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.faq-question {
    color: #111;
}
.faq-answer p {
    color: #555;
}
.faq-side {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}
.faq-side h3 {
    color: #111;
}
.faq-side p {
    color: #666;
}
.cta-content p {
    color: #eee;
}
.footer {
    background: #fafafa;
    border-top: 1px solid #eaeaea;
}
.footer h2, .footer h3 {
    color: #ae050e;
}
.footer p, .footer a {
    color: #666;
}
.copyright {
    border-top: 1px solid #eaeaea;
    color: #888;
}
.filter-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
}
.enquiry-box input, .enquiry-box textarea {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    color: #111;
}
.filter-box input, .filter-box select {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #111;
}
.details-info {
    background: #ffffff;
    border: 1px solid #e5e5e5;
}
.main-car-image {
    background: #ffffff;
    border: 1px solid #e5e5e5;
}
.main-car-image img {
    background: #f9f9f9;
}
.thumb-item {
    background: #f9f9f9;
    border-color: #ddd;
}
.details-price {
    background: #f9f9f9;
    color: #111;
    border: 1px solid #e5e5e5;
    box-shadow: none;
}
.details-price span {
    color: #666;
}
.details-price strong {
    color: #ae050e;
}
.spec-grid div {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}
.spec-grid span {
    color: #666;
}
.spec-grid strong {
    color: #ae050e;
}
.car-details-hero {
    background: #f0f0f0;
}



/* Button Overrides for Light Theme */
.btn-call {
    background: linear-gradient(135deg, #8b0000, #c41e3a) !important;
    color: #fff !important;
    border: none !important;
}
.btn-call:hover {
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3) !important;
}
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
    border: none !important;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20bd5a, #0f786b) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3) !important;
}



/* Mobile Nav Overrides for Light Theme & Layout */
@media(max-width: 900px) {


    .nav-wrap {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 0 !important;
    }
    .logo {
        width: auto !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    .logo img {
        width: 80px !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .nav-actions {
        width: auto !important;
        display: flex !important;
        gap: 8px !important;
    }
    .btn-whatsapp, .btn-call {
        width: auto !important;
        min-height: auto !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    .btn-whatsapp svg, .btn-call svg {
        width: 16px !important;
        height: 16px !important;
        padding: 0 !important;
    }
}



/* Spacing adjustments for brand and model title */
.car-info h3 {
    margin-bottom: 4px !important;
}
.car-info p {
    margin-bottom: 12px !important;
}
.hero-tag {
    margin-bottom: 8px !important;
}
.page-hero .hero-tag {
    margin-bottom: 6px !important;
}

/* Vehicle Score Links Layout */
.score-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.score-grid > * {
    flex: 1 1 0;
}

.score-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
}

.vehiclescore-card:hover {
    border-color: #1abc9c;
}

.totalcarcheck-card:hover {
    border-color: #e45a1a;
}

.score-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-logo img {
    max-height: 100%;
    max-width: 200px;
}

.score-content {
    flex: 1;
    margin-bottom: 25px;
}

.score-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.score-content p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

.score-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.vehiclescore-btn {
    background: #1abc9c;
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.25);
}

.vehiclescore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.35);
}

.totalcarcheck-btn {
    background: #e45a1a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(228, 90, 26, 0.25);
}

.totalcarcheck-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(228, 90, 26, 0.35);
}

.details-price {
    background: #f9f9f9;
    color: #111;
    border: 1px solid #e5e5e5;
    box-shadow: none;
}
.details-price span {
    color: #666;
}
.details-price strong {
    color: #ae050e;
}
.spec-grid div {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}
.spec-grid span {
    color: #666;
}
.spec-grid strong {
    color: #ae050e;
}
.car-details-hero {
    background: #f0f0f0;
}



/* Button Overrides for Light Theme */
.btn-call {
    background: linear-gradient(135deg, #8b0000, #c41e3a) !important;
    color: #fff !important;
    border: none !important;
}
.btn-call:hover {
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3) !important;
}
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
    border: none !important;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #20bd5a, #0f786b) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3) !important;
}



/* Mobile Nav Overrides for Light Theme & Layout */
@media(max-width: 900px) {


    .nav-wrap {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 0 !important;
    }
    .logo {
        width: auto !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    .logo img {
        width: 80px !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .nav-actions {
        width: auto !important;
        display: flex !important;
        gap: 8px !important;
    }
    .btn-whatsapp, .btn-call {
        width: auto !important;
        min-height: auto !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    .btn-whatsapp svg, .btn-call svg {
        width: 16px !important;
        height: 16px !important;
        padding: 0 !important;
    }
}



/* Spacing adjustments for brand and model title */
.car-info h3 {
    margin-bottom: 4px !important;
}
.car-info p {
    margin-bottom: 12px !important;
}
.hero-tag {
    margin-bottom: 8px !important;
}
.page-hero .hero-tag {
    margin-bottom: 6px !important;
}

/* Vehicle Score Links Layout */
.score-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.score-grid > * {
    flex: 1 1 0;
}

.score-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
}

.vehiclescore-card:hover {
    border-color: #1abc9c;
}

.totalcarcheck-card:hover {
    border-color: #e45a1a;
}

.score-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-logo img {
    max-height: 100%;
    max-width: 200px;
}

.score-content {
    flex: 1;
    margin-bottom: 25px;
}

.score-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.score-content p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

.score-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.vehiclescore-btn {
    background: #1abc9c;
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.25);
}

.vehiclescore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.35);
}

.totalcarcheck-btn {
    background: #e45a1a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(228, 90, 26, 0.25);
}

.totalcarcheck-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(228, 90, 26, 0.35);
}

/* Floating Download Button on Car Cards */
.car-download-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5; /* Higher than .car-card-link (z-index 2) and .status-badge (z-index 3) */
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.car-download-btn:hover {
    transform: scale(1.1);
    background: rgba(174, 5, 14, 0.95);
    border-color: rgba(255, 75, 87, 0.5);
    color: #fff;
    box-shadow: 0 8px 20px rgba(174, 5, 14, 0.45);
}

.download-btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

/* Download Images Button in Details page */
.btn-download-gallery {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-download-gallery:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.08);
}

.btn-download-gallery .btn-icon {
    width: 18px;
    height: 18px;
}

/* Download Modal Styles */
.download-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.download-modal.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.download-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.download-modal-content {
    position: relative;
    z-index: 10001;
    width: min(92vw, 860px);
    max-height: 85vh;
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(174, 5, 14, 0.08);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.download-modal.open .download-modal-content {
    transform: translateY(0);
}

.download-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.download-modal-close:hover {
    transform: rotate(90deg);
    background: rgba(174, 5, 14, 0.2);
    border-color: rgba(174, 5, 14, 0.4);
    color: #ff4b57;
}

.download-modal-header {
    padding-right: 50px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.download-modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.download-modal-subtitle {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.download-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 200px;
    max-height: calc(85vh - 180px);
    padding-right: 6px;
}

/* Custom Scrollbar for Modal Body */
.download-modal-body::-webkit-scrollbar {
    width: 6px;
}
.download-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.download-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
.download-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(174, 5, 14, 0.6);
}

.download-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    gap: 16px;
    color: #aaa;
}

/* Spinner Loader */
.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ae050e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.download-modal-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1a1a1a;
    padding: 16px 20px;
    border-radius: 12px;
}

.download-images-count {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.download-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 10px;
}

.download-image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 1px solid #222;
    background: #111;
}

.download-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.download-image-card:hover img {
    transform: scale(1.05);
}

.download-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 65%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.download-image-card:hover .download-image-overlay {
    opacity: 1;
}

.download-single-btn {
    background: rgba(174, 5, 14, 0.9);
    border: 1px solid rgba(255, 75, 87, 0.4);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(174, 5, 14, 0.25);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.download-single-btn:hover {
    background: #ff4b57;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(174, 5, 14, 0.4);
}

/* Fallback for mobile and touch devices where hover is not active */
@media (max-width: 900px) {
    .download-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-image-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    }
}

@media (max-width: 480px) {
    .download-images-grid {
        grid-template-columns: 1fr;
    }
    .download-modal-actions-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
    }
}

/* --- Mobile Responsiveness Fixes for Car Details --- */
@media (max-width: 900px) {
    .score-grid {
        flex-direction: column;
    }
    .details-bottom-row .details-actions .btn-download-gallery {
        grid-column: span 2;
    }
}

/* Ensure action buttons are same size and side-by-side */
.details-bottom-row .btn-gold,
.details-bottom-row .btn-whatsapp {
    min-width: 150px;
    flex: 1;
}

@media (max-width: 520px) {
    /* Keep them 2 columns (same line) but allow them to fill space nicely */
    .details-bottom-row .details-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .details-bottom-row .details-actions .btn-download-gallery {
        grid-column: span 2;
    }
}

/* Header Banner Styles */
.header-banner {
    background: linear-gradient(90deg, #ae050e, #ff4b57);
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 4px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ae050e, #ff4b57);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(174, 5, 14, 0.35);
}

@media (max-width: 900px) {
    .header-banner {
        font-size: 12px;
        padding: 6px 10px;
        letter-spacing: 1.5px;
    }
}

/* --- Header Height Overrides --- */
.nav-wrap {
    height: 65px !important;
}
.logo img {
    height: 55px !important;
}

@media (max-width: 900px) {
    .nav-wrap {
        padding: 8px 0 !important;
        gap: 10px !important;
    }
    .logo img {
        height: 48px !important;
    }
}

/* --- Mobile Same Line Header Overrides --- */
@media (max-width: 900px) {
    .nav-wrap {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 8px 0 !important;
    }
    
    .logo {
        padding: 6px 8px !important;
    }
    
    .logo span {
        font-size: 15px !important;
        white-space: nowrap;
    }
    
    .nav-actions {
        gap: 8px !important;
    }
    
    .btn-call, .btn-whatsapp {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        padding: 4px 6px !important;
    }
    .logo span {
        font-size: 12px !important;
    }
    
    .nav-actions {
        gap: 4px !important;
    }
    
    .btn-call, .btn-whatsapp {
        padding: 6px 8px !important;
        font-size: 11px !important;
        border-width: 1px !important;
    }
    
    .btn-icon {
        width: 14px !important;
        height: 14px !important;
    }
}

/* ===== Partner / Seller Profile Page ===== */
.partner-banner {
    position: relative;
    background: #0b0b0b;
}
.partner-banner-img {
    height: 45vh;
    min-height: 300px;
    max-height: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.partner-banner-fallback {
    height: 45vh;
    min-height: 250px;
    max-height: 400px;
    width: 100%;
    background: linear-gradient(135deg, #ae050e 0%, #1a1a1a 100%);
}

/* Profile Card Section (below banner) */
.partner-profile-section {
    background: #ffffff;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e2e8f0;
}
.partner-profile-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
.partner-card-logo {
    flex-shrink: 0;
}
.partner-logo-img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #222;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.partner-logo-fallback {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 42px;
    color: #ae050e;
    border: 3px solid #222;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Right side details */
.partner-card-details {
    flex: 1;
    min-width: 0;
}
.partner-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.partner-card-name {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0;
}
.partner-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(174, 5, 14, 0.12);
    border: 1px solid rgba(174, 5, 14, 0.35);
    border-radius: 20px;
    font-size: 11px;
    color: #ae050e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}
.partner-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
}
.partner-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}
.partner-card-actions {
    display: flex;
    gap: 12px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .partner-banner-img {
        height: 200px;
        min-height: 160px;
    }
    .partner-banner-fallback {
        height: 180px;
        min-height: 150px;
    }
    .partner-profile-section {
        background: #ffffff;
        padding: 15px 0;
    }
    .partner-profile-card {
        gap: 15px;
        align-items: center;
    }
    .partner-logo-img, .partner-logo-fallback {
        width: 70px;
        height: 70px;
        font-size: 26px;
        border-radius: 10px;
    }
    .partner-card-name {
        font-size: 18px;
        color: #0f172a;
    }
    .partner-verified-tag {
        font-size: 9px;
        padding: 3px 8px;
    }
    .partner-card-top {
        gap: 8px;
        margin-bottom: 6px;
    }
    .partner-card-meta {
        gap: 8px;
        margin-bottom: 10px;
    }
    .partner-meta-item {
        font-size: 12px;
        color: #475569;
    }
    .partner-card-actions {
        gap: 8px;
    }
    .partner-card-actions a {
        font-size: 12px;
        padding: 6px 12px;
    }
}
