/* ========================================================
   HERO DEALER PANEL — FULL-BLEED STUDIO BANNER (HOT.LAND STYLE)
   ======================================================== */

.hero-showcase-section {
    padding: 16px 0 28px;
}

.models-head-dense {
    margin-top: 22px;
    margin-bottom: 16px;
}

.hero-dealer-panel {
    position: relative;
    overflow: hidden;
    background: #121316;
    border: 1px solid #262930;
    border-radius: 4px;
    padding: 24px 36px;
    min-height: 308px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.hero-left {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 545px;
    min-width: 0;
}

.nowrap {
    white-space: nowrap;
}

.hero-title {
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
}

.hero-subtitle {
    margin: 0 0 14px 0;
    font-size: 13.5px;
    line-height: 1.44;
    color: #E5E7EB;
    max-width: 530px;
}

.hero-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    max-width: 530px;
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    background: rgba(18, 19, 22, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hero-search-input::placeholder {
    color: #9CA3AF;
}

.hero-search-input:focus {
    background: rgba(18, 19, 22, 0.94);
    border-color: #B81028;
}

.btn-hero-search {
    height: 38px;
    padding: 0 20px;
    background: #B81028;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.16s ease;
}

.btn-hero-search:hover {
    background: #990D22;
}

.hero-actions {
    display: flex;
    width: 100%;
    max-width: 530px;
}

.btn-hero-vin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    padding: 0 18px;
    background: rgba(28, 30, 35, 0.86);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-hero-vin:hover {
    background: #272A31;
    border-color: rgba(255, 255, 255, 0.34);
}

/* Full-Bleed Right Studio Background with Smooth Left Dark Fade */
.hero-media-stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    background: #121316;
}

.hero-media-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #121316 0%,
        rgba(18, 19, 22, 0.85) 8%,
        rgba(18, 19, 22, 0.35) 18%,
        rgba(18, 19, 22, 0) 30%
    );
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-studio-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

@media (max-width: 1480px), (max-height: 860px) {
    .hero-showcase-section {
        padding: 12px 0 22px;
    }
    .models-head-dense {
        margin-top: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .hero-dealer-panel {
        padding: 22px 30px;
        min-height: 294px;
    }
    .hero-left {
        max-width: 535px;
    }
    .hero-media-stage {
        width: 55%;
    }
    .hero-studio-img {
        object-position: right center;
    }
    .hero-title {
        font-size: 23px;
        margin-bottom: 6px;
    }
    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .hero-search-form {
        margin-bottom: 10px;
    }
    .hero-search-input,
    .btn-hero-search {
        height: 38px;
    }
    .btn-hero-vin {
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .hero-dealer-panel {
        padding: 24px 26px;
        min-height: 266px;
    }
    .hero-left {
        max-width: 500px;
    }
    .hero-media-stage {
        width: 82%;
    }
    .hero-media-stage::after {
        background: linear-gradient(
            90deg,
            #121316 0%,
            rgba(18, 19, 22, 0.92) 30%,
            rgba(18, 19, 22, 0.56) 62%,
            rgba(18, 19, 22, 0.24) 100%
        );
    }
}

@media (max-width: 640px) {
    .hero-showcase-section { padding-top: 8px !important; padding-bottom: 12px !important; }
    .hero-dealer-panel {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 0;
        min-height: auto;
        margin-bottom: 14px;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(18, 19, 22, 0.14);
    }
    .hero-media-stage {
        position: relative;
        top: auto; right: auto; bottom: auto; inset: auto;
        width: 100%;
        aspect-ratio: 5 / 2;
        height: auto;
    }
    .hero-media-stage::after {
        background: linear-gradient(180deg, rgba(18, 19, 22, 0) 54%, rgba(18, 19, 22, 0.82) 82%, #121316 100%);
    }
    .hero-studio-img { object-fit: cover; object-position: center center; }
    .hero-left { max-width: 100%; margin-top: -26px; padding: 0 14px 12px; background: transparent; }
    .hero-title { font-size: 17.5px; line-height: 1.2; margin-bottom: 5px; letter-spacing: -0.015em; }
    .hero-subtitle { font-size: 12px; line-height: 1.35; color: #D1D5DB; margin-bottom: 9px; }
    .hero-extra { display: none; }
    .hero-search-form { display: none; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .btn-hero-vin {
        width: 100%;
        justify-content: center;
        padding: 0 14px;
        font-size: 13.5px;
        font-weight: 700;
        height: 40px;
        border-radius: 6px;
        white-space: nowrap;
    }
    .hero-actions button.btn-hero-vin { background: #B81028; border-color: #B81028; }
}
