/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
:root {
    --red: #323B4F;
    --red2: #6BB7FF;
    --ink: #171719;
    --muted: #666970;
    --paper: #f5f5f3;
    --line: #e3e3e0;
    --white: #fff;
    --radius: 22px;
    --vh: 1vh;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: #ffffff;
    color: var(--ink);
    overflow-x: hidden;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* Garis atas aksen */
.topline {
    height: 4px;
    background: #ADD4FF;
    position: fixed;
    top: var(--safe-top);
    left: 0;
    width: 100%;
    z-index: 1001;
}

/* ==========================================================================
   2. NAVBAR MODERN
   ========================================================================== */
.navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.5%;
    padding-left: max(5.5%, env(safe-area-inset-left, 0px));
    padding-right: max(5.5%, env(safe-area-inset-right, 0px));
    background: #fff;
    position: fixed;
    top: calc(4px + var(--safe-top));
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 22px;
    color: var(--ink);
}

.brand img,
.footer-brand img {
    max-height: 36px;
    width: auto;
    max-width: 145px;
    object-fit: contain;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border: 3px solid var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--red);
    font-size: 11px;
    letter-spacing: 0;
    font-weight: 900;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 700;
    color: #343438;
}

.nav-links a {
    text-decoration: none;
    color: #343438;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ADD4FF;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-test-drive {
    background: #ADD4FF;
    color: #000000;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.btn-test-drive:hover {
    background: var(--red2);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--ink);
}

/* ==========================================================================
   3. HERO SLIDER SECTION
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    margin-top: 82px;
    overflow: hidden;
    background: #1c1c1e;
    color: #fff;
    display: flex;
    align-items: center;
    touch-action: pan-y;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,12,.87) 0%, rgba(10,10,12,.48) 42%, rgba(10,10,12,.03) 100%);
    z-index: 2;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 8%;
    max-width: 1440px;
    margin: auto;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.sub-title {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 800;
    color: #6BB7FF;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sub-title::before {
    content: "";
    height: 2px;
    width: 30px;
    background: currentColor;
}

.slide-content h1 {
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 15px 0 20px;
    max-width: 700px;
    font-weight: 800;
    color: #fff;
}

.slide-content p {
    max-width: 470px;
    line-height: 1.8;
    color: #e1e1e2;
    font-size: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    border: 1px solid transparent;
    padding: 15px 22px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    border-radius: 4px;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--red2);
    transform: translateY(-2px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background-color: var(--red);
}

.prev-btn {
    left: 24px;
}

.next-btn {
    right: 24px;
}

.dots-container {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 32px;
    border-radius: 6px;
    background-color: var(--red);
}

/* ==========================================================================
   4. SECTION LAYOUTS & KATALOG MODEL (SLIDER FLEKSIBEL)
   ========================================================================== */
.section {
    padding: 90px 7%;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}

.kicker {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.section h2 {
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -1.8px;
    line-height: 1.05;
    margin: 12px 0 0;
}

.section-intro {
    max-width: 400px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.model-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.tab {
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px 17px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: 0.2s;
}

.tab.active, .tab:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.models-slider-container {
    position: relative;
    width: 100%;
}

.models-slider-wrapper {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.models {
    display: flex;
    gap: 18px;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.model-card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    transition: transform .25s;
    flex: 0 0 calc((100% - 36px) / 3);
    box-sizing: border-box;
    min-width: 0;
    cursor: pointer;
}

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

.model-visual {
    height: 312px;
    position: relative;
    overflow: hidden;
    background: #e8e8e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.model-card:hover .model-visual img {
    transform: scale(1.05);
}

.model-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: #fff;
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 2;
}

.model-info {
    padding: 22px 23px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.model-info h3 {
    font-size: 23px;
    margin: 0 0 7px;
    letter-spacing: -0.5px;
}

.model-info p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 18px;
    overflow-wrap: break-word;
}

.model-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    gap: 10px;
}

.model-bottom span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff;
    font-size: 17px;
    flex-shrink: 0;
}

.models-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(23, 23, 25, 0.8);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
    backdrop-filter: blur(4px);
}

.models-btn:hover {
    background: var(--red);
}

.models-prev-btn {
    left: -22px;
}

.models-next-btn {
    right: -22px;
}

.models-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* ==========================================================================
   5. FEATURE / TEKNOLOGI SECTION
   ========================================================================== */
.feature {
    background: #171719;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 490px;
}

.feature-image {
    min-height: 420px;
    background: url('https://r2.fivemanage.com/fikTbZ4Mw5fu7UQmxpaHZ/Aira.jpg') center/cover no-repeat;
}

.feature-copy {
    padding: 75px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-copy h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -1.7px;
    margin: 15px 0 18px;
}

.feature-copy p {
    color: #c8c8ca;
    line-height: 1.8;
    font-size: 14px;
    max-width: 450px;
}

.feature-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 25px 0 28px;
}

.point {
    border-top: 1px solid #505054;
    padding-top: 14px;
}

.point strong {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
}

.point span {
    font-size: 10px;
    color: #bdbdc0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-red {
    background: var(--red);
    color: #fff;
    padding: 15px 22px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    transition: 0.2s;
    border: none;
}

.btn-red:hover {
    background: var(--red2);
}

/* ==========================================================================
   6. OWNERSHIP & SERVICE SECTION
   ========================================================================== */
.ownership {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    padding: 27px;
    background: #fff;
    border: 1px solid #eee;
    min-height: 205px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 42px;
    height: 42px;
    background: #2196FF;
    color: white;
    display: grid;
    place-items: center;
    font-size: 20px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 17px;
    margin: 0 0 9px;
}

.service-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 17px;
}

.text-link {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--red);
    margin-top: auto;
}

.cta-band {
    margin: 75px 7%;
    padding: 46px 5%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta-band h2 {
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.1;
    margin: 0 0 9px;
    letter-spacing: -1px;
}

.cta-band p {
    margin: 0;
    color: #ffe1e2;
    font-size: 13px;
}

.cta-band .btn {
    background: #fff;
    color: var(--red);
    white-space: nowrap;
    padding: 15px 22px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.2s;
}

.cta-band .btn:hover {
    background: #171719;
    color: #fff;
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.newsletter p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 450px;
}

.subscribe {
    display: flex;
    border-bottom: 1px solid #aaa;
    padding-bottom: 8px;
    gap: 10px;
}

.subscribe input {
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 0;
    flex: 1;
    min-width: 0;
}

.subscribe button {
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 0 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    background: #111113;
    color: #fff;
    padding: 55px 7% 25px;
    padding-bottom: calc(25px + var(--safe-bottom));
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 42px;
}

.footer-brand p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.8;
    max-width: 270px;
}

.footer-col h4 {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 5px 0 20px;
}

.footer-col a {
    display: block;
    color: #bdbdc0;
    font-size: 12px;
    margin: 13px 0;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #39393b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8d8d92;
    font-size: 10px;
    line-height: 1.6;
}

/* ==========================================================================
   8. MODAL POPUP & TOAST NOTIFICATION
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active,
.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    color: var(--ink);
    width: min(500px, 100%);
    padding: 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal,
.modal-backdrop.open .modal {
    transform: translateY(0);
}

.modal h2 {
    font-size: 28px;
    margin: 0 0 8px;
}

.modal p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.close {
    position: absolute;
    right: 16px;
    top: 13px;
    border: 0;
    background: none;
    font-size: 25px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close:hover {
    color: #e60012;
}

.form-field {
    display: block;
    margin: 16px 0;
}

.form-field label,
.form-field span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 7px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: #171719;
    color: #fff;
    padding: 14px 20px;
    font-size: 13px;
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.toast.show {
    display: block;
}

/* ==========================================================================
   9. RESPONSIVE STYLES
   ========================================================================== */
@media(max-width: 900px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #ADD4FF;
        padding: 20px 5%;
        border-bottom: 1px solid #eee;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .model-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 320px;
    }

    .feature-copy {
        padding: 55px 7%;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .models-prev-btn {
        left: -10px;
    }

    .models-next-btn {
        right: -10px;
    }
}

@media(max-width: 650px) {
    .navbar {
        padding: 0 4%;
        padding-left: max(4%, env(safe-area-inset-left, 0px));
        padding-right: max(4%, env(safe-area-inset-right, 0px));
        height: 68px;
    }

    .brand {
        font-size: 16px;
        letter-spacing: 1.5px;
        gap: 7px;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }

    .nav-right {
        gap: 8px;
    }

    .btn-test-drive {
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    .menu-btn {
        font-size: 21px;
        padding: 4px;
    }

    .nav-links {
        top: 68px;
    }

    .hero-slider {
        min-height: 440px;
        max-height: 640px;
        height: calc(var(--vh, 1vh) * 72);
        margin-top: calc(72px + var(--safe-top));
    }

    .slide-content {
        padding: 0 6%;
    }

    .slide-content h1 {
        font-size: clamp(28px, 8vw, 38px);
        letter-spacing: -1px;
        margin: 10px 0 14px;
    }

    .slide-content p {
        font-size: clamp(12.5px, 3.4vw, 14px);
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .section {
        padding: 56px 5%;
    }

    .section h2 {
        font-size: clamp(25px, 7vw, 32px);
        letter-spacing: -0.8px;
    }

    .model-tabs {
        gap: 6px;
        margin: 20px 0;
    }

    .tab {
        padding: 8px 12px;
        font-size: 10px;
    }

    .models {
        gap: 0;
    }

    .model-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        border-radius: 16px;
    }

    .model-visual {
        height: 200px;
        padding: 12px;
    }

    .model-visual img {
        object-fit: contain;
        max-width: 95%;
        max-height: 95%;
    }

    .model-info {
        padding: 18px 18px 20px;
    }

    .model-info h3 {
        font-size: 20px;
    }

    .model-info p {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .model-bottom span {
        font-size: clamp(13px, 3.8vw, 16px) !important;
        line-height: 1.3;
    }

    .models-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
        top: 100px;
    }

    .models-prev-btn {
        left: 6px;
    }

    .models-next-btn {
        right: 6px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        margin: 45px 5%;
        padding: 28px 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .modal {
        width: 100%;
        max-height: calc(var(--vh, 1vh) * 88);
        padding: 22px 18px;
        border-radius: 14px;
    }
}

@media (max-width: 390px) {
    .btn-test-drive {
        padding: 8px 10px;
        font-size: 9.5px;
    }

    .brand img {
        max-width: 112px;
        max-height: 30px;
    }

    .model-visual {
        height: 175px;
    }
}

/* ==========================================================================
   MODAL DETAIL SPESIFIKASI MOBIL (RESPONSIF)
   ========================================================================== */
.modal-lg {
    width: min(880px, 95%);
    padding: 28px;
}

.car-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 24px;
    align-items: flex-start;
    margin-top: 10px;
}

.car-modal-visual {
    position: relative;
    background: #e8e8e6;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.car-modal-info h2 {
    font-size: 26px;
    margin-bottom: 6px;
    color: var(--ink);
}

.car-modal-info p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--red);
    background: #f0f4f8;
    padding: 10px 14px;
    border-radius: 6px;
    display: inline-block;
}

.modal-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 18px 0;
}

.car-modal-info h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.car-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.car-features-list li {
    font-size: 12px;
    color: #444;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed #eee;
}

.car-features-list li i {
    color: #6BB7FF;
}

.modal-actions {
    margin-top: 15px;
}

.variant-price-container {
    margin: 14px 0;
}

.variant-section-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--ink);
}

.variant-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 6px;
}

.variant-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.variant-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--red);
}

.variant-compare-container {
    margin: 16px 0;
}

.variant-compare-hint {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

.variant-compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.variant-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.variant-compare-table th {
    background: #f4f7fb;
    color: var(--ink);
    font-weight: 800;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.variant-compare-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f3;
    color: #333;
    vertical-align: middle;
}

.variant-compare-table tr:last-child td {
    border-bottom: none;
}

.variant-compare-table tbody tr.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.variant-compare-table tbody tr.clickable-row:hover {
    background-color: #eef6ff;
}

.variant-compare-table tbody tr.clickable-row.selected-variant,
.variant-compare-table td.selected-variant {
    background-color: #dceeff;
}

.variant-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e9eef5;
    color: var(--red);
}

.selected-variant .variant-badge {
    background: var(--red);
    color: #fff;
}

.variant-row-price {
    font-weight: 800;
    color: var(--red);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .car-modal-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .car-modal-visual {
        min-height: 180px;
        height: 200px;
    }

    .car-modal-info h2 {
        font-size: 22px;
    }
}

.dealer-info-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin-top: 15px;
    align-items: center;
}

.dealer-details p {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 12px;
}

.dealer-details i {
    color: var(--red);
    margin-right: 6px;
}

.dealer-map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

@media (max-width: 768px) {
    .dealer-info-box {
        grid-template-columns: 1fr;
    }
}

.dealer-phone-item {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink);
}

.sales-name {
    font-weight: 700;
}

.phone-link {
    color: #25d366;
    font-weight: 700;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.specs-container {
    margin: 16px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.spec-box {
    background: #f5f7fa;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    padding: 8px 12px;
}

.spec-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.spec-value {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink);
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}