:root {
    --sl-white: #ffffff;
    --sl-navy: #0A1F44;
    --sl-navy-soft: #1a2f56;
    --sl-gold: #D4AF37;
    --sl-gold-soft: #f4e2b8;
    --sl-text: #222;
    --sl-muted: #64748b;
    --sl-bg: #F8F9FA;
    --sl-light-gray: #f1f1f1;
    --sl-shadow: 0 12px 30px rgba(15, 31, 61, 0.1);
    --sl-shadow-soft: 0 8px 20px rgba(15, 31, 61, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--sl-text);
    background: var(--sl-bg);
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    font-weight: 700;
    color: var(--sl-navy);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--sl-muted);
    margin-bottom: 34px;
}

.btn-brand {
    background: var(--sl-gold);
    color: var(--sl-navy);
    border: 1px solid var(--sl-gold);
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all .3s ease;
}

.btn-brand:hover {
    background: #b79039;
    border-color: #b79039;
    color: var(--sl-white);
}

.btn-outline-brand {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all .3s ease;
}

.btn-outline-brand:hover {
    background: #ffffff;
    color: var(--sl-navy);
}

.top-navbar {
    background: rgba(15, 31, 61, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(3, 11, 27, 0.18);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4b467, #b48a2f);
    color: var(--sl-navy);
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-navbar .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    padding: 12px 14px !important;
}

.top-navbar .nav-link:hover,
.top-navbar .nav-link:focus,
.top-navbar .nav-link.active {
    color: #ffffff !important;
}

.top-navbar .dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: var(--sl-shadow-soft);
    padding: 10px;
}

.top-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
}

.top-navbar .dropdown-item:hover {
    background: var(--sl-bg);
}

.mobile-action-btn,
.mobile-search-btn {
    width: auto;
    height: auto;
    border-radius: 0;
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0 2px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-header-actions .navbar-toggler {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-header-actions .navbar-toggler .navbar-toggler-icon-custom {
    width: 16px;
    height: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-header-actions .navbar-toggler .navbar-toggler-icon-custom span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: #fff;
}

.mobile-header-actions .navbar-toggler:hover,
.mobile-header-actions .navbar-toggler:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32) !important;
    transform: translateY(-1px);
}

.mobile-action-btn:hover,
.mobile-action-btn:focus,
.mobile-search-btn:hover,
.mobile-search-btn:focus {
    color: #fff;
    background: transparent;
    border-color: transparent;
    transform: translateY(-1px);
}

.mobile-action-btn.is-active,
.mobile-search-btn.is-active {
    background: transparent;
    border-color: transparent;
    color: #fff;
}

.mobile-action-btn:active,
.mobile-search-btn:active,
.mobile-header-actions .navbar-toggler:active {
    transform: translateY(0) scale(0.96);
    background: transparent;
}

.call-btn {
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    padding: 10px 16px;
    transition: all .3s ease;
    white-space: nowrap;
}

.call-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-slider {
    margin-top: 0;
}

.hero-slide {
    min-height: 78vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(10, 21, 44, 0.9) 12%, rgba(10, 21, 44, 0.55) 60%, rgba(10, 21, 44, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    min-height: 78vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-bottom: 30px;
}

.rounded-card {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--sl-shadow-soft);
    transition: transform .28s ease, box-shadow .28s ease;
    overflow: hidden;
    background: #fff;
}

.rounded-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sl-shadow);
}

.product-image-wrap {
    height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-wrap img,
.product-thumb {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
    display: block;
}

.product-no-image {
    width: 100%;
    height: 100%;
}

.products-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.products-page-header p {
    margin: 0;
    color: var(--sl-muted);
}

.products-meta {
    font-size: .92rem;
    font-weight: 600;
    color: var(--sl-navy);
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
}

.products-filter-bar {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--sl-shadow-soft);
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.products-filter-bar > [class*='col-'] {
    display: flex;
}

.products-filter-bar .form-control,
.products-filter-bar .form-select {
    height: 44px;
    border-radius: 12px;
    border-color: #d8e1ee;
}

.products-filter-bar .products-search-wrap,
.products-filter-bar .btn {
    width: 100%;
}

.products-filter-bar .btn-brand {
    height: 44px;
    padding: 0 16px;
}

.btn-reset-filter {
    height: 44px;
    border-radius: 50px;
    border: 1px solid #d0dbe8;
    color: var(--sl-navy);
    background: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-reset-filter:hover {
    background: #f3f7fc;
    border-color: #c1d0e1;
    color: var(--sl-navy);
}

.products-filter-bar .form-control:focus,
.products-filter-bar .form-select:focus {
    border-color: rgba(10, 31, 68, 0.4);
    box-shadow: 0 0 0 .2rem rgba(10, 31, 68, 0.12);
}

.products-search-wrap {
    position: relative;
}

.products-search-wrap .form-control {
    padding-left: 40px;
}

.products-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8ca0ba;
}

.product-card {
    border: 0;
}

.product-card .card-body {
    padding: 18px;
    text-align: center;
    align-items: center;
}

.product-card .card-body p {
    width: 100%;
}

.product-title {
    font-size: 1.03rem;
    font-weight: 600;
    color: var(--sl-navy);
    margin-bottom: 8px;
}

.btn-product-view {
    border-radius: 999px;
    border: 1px solid rgba(10, 31, 68, 0.24);
    color: var(--sl-navy);
    font-weight: 600;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-product-view:hover {
    background: var(--sl-navy);
    border-color: var(--sl-navy);
    color: #fff;
}

.btn-product-view i {
    font-size: .82em;
    transition: transform .2s ease;
}

.btn-product-view:hover i {
    transform: translateX(2px);
}

.products-pagination .page-link {
    border-radius: 999px;
    border: 1px solid #d7e0eb;
    color: var(--sl-navy);
    margin: 0 4px;
}

.products-pagination .page-item.disabled .page-link {
    color: #7b8ea8;
}

.products-pagination .page-item:not(.disabled) .page-link:hover {
    background: rgba(10, 31, 68, 0.08);
    border-color: rgba(10, 31, 68, 0.24);
}

.icon-feature {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(201, 162, 77, 0.14);
    color: var(--sl-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.dealership-cta {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--sl-shadow);
    background-size: cover;
    background-position: center;
    min-height: 360px;
}

.dealership-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 23, 47, 0.9) 20%, rgba(11, 23, 47, 0.6) 100%);
}

.dealership-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 64px 56px;
    max-width: 720px;
}

.contact-panel {
    border-radius: 20px;
    box-shadow: var(--sl-shadow-soft);
    background: #fff;
}

.contact-map {
    width: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--sl-shadow-soft);
}

.site-footer {
    background: #09172f;
    color: rgba(255, 255, 255, 0.86);
}

.site-footer h5,
.site-footer h6 {
    color: #ffffff;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color .2s ease;
}

.site-footer a:hover {
    color: var(--sl-gold-soft);
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.fade-up {
    animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .top-navbar .container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .top-navbar .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        font-size: .95rem;
    }

    .top-navbar .navbar-brand > span:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-navbar .navbar-toggler {
        margin-left: 0;
    }

    .mobile-header-actions {
        margin-left: auto;
        gap: 6px !important;
    }

    .mobile-header-actions .navbar-toggler {
        width: 32px;
        height: 32px;
        font-size: .92rem;
    }

    .products-page-header {
        align-items: center;
    }

    .products-meta {
        padding: 6px 12px;
    }

    .products-filter-bar > [class*='col-'] {
        display: block;
    }

    .hero-slide,
    .hero-content {
        min-height: 68vh;
    }

    .dealership-content {
        padding: 46px 26px;
    }

    .top-navbar .navbar-collapse {
        margin-top: 12px;
        background: rgba(7, 18, 40, 0.96);
        border-radius: 14px;
        padding: 12px;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-content p {
        font-size: .98rem;
    }

    .contact-map {
        min-height: 280px;
    }

    .products-page .row.g-3 {
        --bs-gutter-x: .7rem;
        --bs-gutter-y: .7rem;
    }

    .product-image-wrap {
        height: 148px;
        background: #f7f9fc;
    }

    .product-card {
        border: 1px solid #e9eff7;
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(13, 31, 60, 0.08);
    }

    .product-card .card-body {
        padding: 12px;
        align-items: flex-start;
        text-align: left;
    }

    .product-title {
        font-size: .92rem;
        line-height: 1.35;
        margin-bottom: 6px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.5em;
    }

    .product-card .card-body p {
        font-size: .76rem;
        line-height: 1.35;
        margin-bottom: 4px !important;
    }

    .btn-product-view {
        width: 100%;
        min-width: 0;
        margin-top: 6px !important;
        font-size: .74rem;
        padding: 5px 9px;
        border-radius: 8px;
        gap: 5px;
        letter-spacing: .2px;
        min-height: 30px;
    }

    .btn-product-view i {
        font-size: .78em;
    }
}