/* ==========================================================================
   AutoBike - Global Styles
   ========================================================================== */

:root {
    --accent-color: #ff1a1a;
    --accent-hover: #e60000;
    --dark-color: #1a1a1a;
    --dark-secondary: #222222;
    --dark-panel: #1e1e1e;
    --light-color: #ffffff;
    --text-muted: #b5b5b5;
    --input-bg: #2a2a2a;
    --border-color: rgba(255, 255, 255, 0.08);
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html, body {
    font-family: var(--body-font);
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

body {
    background-color: #0d0d0d;
    background-image: url('../img/topographic-pattern.png');
    background-position: center top;
    background-repeat: repeat;
    background-size: 520px auto;
}

a { text-decoration: none; transition: all 0.3s ease; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Homepage load reveal */
.home-loading {
    overflow: hidden;
}

body.home-loading > *:not(.home-page-loader) {
    opacity: 0;
}

body.home-loaded > *:not(.home-page-loader) {
    opacity: 1;
    transition: opacity 0.45s ease;
}

.home-page-loader {
    align-items: center;
    background-color: #0d0d0d;
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    gap: 18px;
    inset: 0;
    justify-content: center;
    opacity: 1;
    position: fixed;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    visibility: visible;
    z-index: 9999;
}

.home-page-loader-mark {
    border: 2px solid rgba(255,255,255,0.18);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    height: 54px;
    width: 54px;
    animation: homeLoaderSpin 0.8s linear infinite;
}

.home-page-loader span {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-loaded .home-page-loader {
    opacity: 0;
    visibility: hidden;
}

@keyframes homeLoaderSpin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

.main-navbar {
    padding: 22px 0;
    background-color: transparent;
}

.main-navbar .navbar-brand {
    padding: 0;
    margin: 0;
}

.main-navbar .brand-logo {
    height: 30px;
    width: auto;
    display: block;
}

.brand-text {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--light-color);
    letter-spacing: 1px;
}
.brand-text span { color: var(--accent-color); }

/* Hamburger toggler */
.navbar-toggler {
    color: var(--light-color);
    font-size: 24px;
    background: transparent;
    box-shadow: none !important;
}
.navbar-toggler:focus { box-shadow: none; }

/* Desktop Nav Links */
.main-nav-links {
    gap: 6px;
}

.main-nav-links .nav-link {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 16px !important;
    position: relative;
}

.main-nav-links .nav-link:hover,
.main-nav-links .nav-link.active {
    color: var(--accent-color);
}

.main-nav-links .dropdown-menu {
    background-color: var(--dark-panel);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-top: 0;
    padding: 10px 0;
    min-width: 180px;
}

.main-nav-links .dropdown-item {
    color: var(--light-color);
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    text-transform: uppercase;
    font-family: var(--heading-font);
}
.main-nav-links .dropdown-item:hover,
.main-nav-links .dropdown-item:focus {
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* Hover-activated dropdowns on desktop */
@media (min-width: 992px) {
    .main-nav-links .dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropdownFade 0.2s ease-out;
    }
    .main-nav-links .dropdown-toggle::after {
        margin-left: 6px;
        vertical-align: middle;
    }
    /* Invisible bridge so moving cursor to the menu doesn't close it */
    .main-nav-links .dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 12px;
    }
    .main-nav-links .dropdown-menu {
        top: 100%;
    }
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Right-side CTA button */
.nav-cta .btn-msrp {
    padding: 12px 26px;
    font-size: 13px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Mobile Offcanvas Menu */
.mobile-offcanvas {
    background-color: var(--dark-color);
    color: var(--light-color);
    width: 280px !important;
}
.mobile-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 20px;
}
.mobile-offcanvas .brand-logo { height: 42px; width: auto; }
.mobile-offcanvas .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.mobile-nav-links .nav-link {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 14px;
    letter-spacing: 1px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-links .nav-link:hover,
.mobile-nav-links .nav-link.active {
    color: var(--accent-color);
}

.mobile-nav-links .dropdown-menu {
    background-color: var(--dark-panel);
    border: 1px solid var(--border-color);
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.mobile-nav-links .dropdown-item {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 28px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links .dropdown-item:hover,
.mobile-nav-links .dropdown-item:focus {
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* Mobile nav layout tweaks */
@media (max-width: 991.98px) {
    .main-navbar { padding: 14px 0; }
    .main-navbar .container-fluid {
        min-height: 42px;
        position: relative;
    }
    .main-navbar .navbar-brand {
        left: 50%;
        margin: 0 !important;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .main-navbar .navbar-brand .brand-logo { height: 42px; }
    .navbar-toggler,
    .nav-cta {
        position: relative;
        z-index: 2;
    }
    .nav-cta .btn-msrp {
        padding: 10px 18px;
        font-size: 11px;
        letter-spacing: 1px;
    }
}

@media (max-width: 575.98px) {
    .nav-cta .btn-msrp {
        padding: 9px 14px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 760px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 18%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.45) 68%, rgba(0,0,0,0.75) 100%),
                      var(--hero-bg, url('https://images.unsplash.com/photo-1558980664-10e7170b5df9?auto=format&fit=crop&w=1920&q=80'));
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 160px 0 120px;
    display: flex;
    align-items: center;
    color: var(--light-color);
}

/* Use a local hero image if it exists (drop file at img/hero-bg.jpg) */
.hero-section.has-local-bg {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.75) 100%),
                      url('../img/hero-bg.jpg');
}

.hero-subtitle {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #d9d9d9;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Primary button */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--light-color);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 38px;
    border: none;
    border-radius: 2px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2px;
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 15px 34px;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Search Panel */
.search-panel {
    background-color: var(--dark-panel);
    padding: 36px 30px 34px;
    border-radius: 2px;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.search-panel-header {
    text-align: center;
    margin-bottom: 22px;
}
.search-panel-icon {
    height: 56px;
    width: auto;
    margin-bottom: 14px;
    display: inline-block;
}
.search-panel-title {
    font-family: var(--heading-font);
    color: var(--light-color);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.search-panel .form-select {
    background-color: var(--input-bg);
    border: none;
    color: var(--text-muted);
    padding: 14px 18px;
    font-size: 13px;
    border-radius: 2px;
    margin-bottom: 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b5b5b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.search-panel .form-select:focus {
    box-shadow: none;
    border: none;
    color: var(--light-color);
}

.search-panel .btn-accent {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
}

/* Desktop hero layout - search panel overlapping */
@media (min-width: 992px) {
    .hero-section {
        padding: 180px 0 100px;
        min-height: 820px;
    }
    .search-panel {
        margin-top: 0;
        max-width: 360px;
        margin-left: auto;
    }
}

/* Tablet / Mobile adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 110px 0 0;
        text-align: center;
        background-position: 50% 50%;
    }
    .hero-subtitle { letter-spacing: 3px; font-size: 12px; }
    .hero-title { font-size: 30px; }
    .hero-description {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content-col { padding-bottom: 60px; }
    .search-panel {
        margin: 0 -12px;
        border-radius: 0;
        padding: 30px 22px;
    }
    .search-panel-wrapper { padding: 0; }
}

@media (max-width: 767.98px) {
    .hero-actions {
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .hero-actions .btn {
        max-width: 280px;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .hero-section .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 360px);
        align-items: center;
    }
    .hero-section .hero-content-col,
    .hero-section .search-panel-wrapper {
        width: auto;
        max-width: none;
    }
    .hero-section .search-panel-wrapper {
        padding: 0 12px;
    }
    .hero-section .search-panel {
        margin: 0;
        max-width: none;
        border-radius: 2px;
    }
}

@media (min-width: 1400px) {
    .hero-section .row {
        grid-template-columns: minmax(0, 1fr) clamp(420px, 30vw, 520px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 760px;
        padding: 140px 0 100px;
        text-align: left;
    }
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-content-col {
        padding-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 18%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.45) 68%, rgba(0,0,0,0.75) 100%),
                          url('../models/ov-x-5-5/img/gallery/05.jpg');
    }
    .hero-title { font-size: 26px; }
    .hero-description { font-size: 13px; }
    .btn-accent { padding: 14px 30px; font-size: 13px; }
}

/* ==========================================================================
   Inventory Types Section
   ========================================================================== */

.inventory-section {
    background-color: rgba(13,13,13,0.9);
    padding: 90px 0 100px;
    position: relative;
}

.inventory-header {
    margin-bottom: 44px;
}

.section-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 18px;
}

.section-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.view-inventory-link {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, gap 0.25s ease;
}
.view-inventory-link:hover {
    color: var(--accent-color);
    gap: 12px;
}
.view-inventory-link i { font-size: 12px; }

/* Swiper container */
.inventory-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}

/* Cards */
.inventory-card {
    background-color: #242424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.inventory-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #000;
}

.inventory-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.45s ease;
}

.inventory-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.inventory-card-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.inventory-card-meta {
    color: var(--accent-color);
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.inventory-card-best {
    color: #b5b5b5;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.inventory-card-specs {
    display: grid;
    gap: 1px;
    margin: 0 0 22px;
}

.inventory-card-specs div {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
}

.inventory-card-specs dt,
.inventory-card-specs dd {
    margin: 0;
}

.inventory-card-specs dt {
    color: #8f8f8f;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inventory-card-specs dd {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: right;
    text-transform: uppercase;
}

.inventory-card-link {
    align-items: center;
    color: var(--light-color);
    display: inline-flex;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 2px;
    margin-top: auto;
    text-transform: uppercase;
    transition: color 0.25s ease, gap 0.25s ease;
}

.inventory-card-link i {
    font-size: 10px;
}

.inventory-card-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

@media (min-width: 768px) {
    .inventory-card:hover {
        border-color: rgba(190, 32, 38, 0.55);
        transform: translateY(-4px);
    }
    .inventory-card:hover .inventory-card-img img {
        transform: scale(1.03);
    }
    .inventory-card:hover .inventory-card-title {
        color: var(--accent-color);
    }
}

/* Pagination (red bar) */
.inventory-pagination {
    position: relative;
    margin-top: 36px;
    text-align: center;
    line-height: 0;
}
.inventory-pagination .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    border-radius: 0;
    background-color: rgba(255,255,255,0.2);
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}
.inventory-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
    width: 32px;
}

/* Mobile: true vertical stack (Swiper is not initialized below 768px) */
@media (max-width: 767.98px) {
    .inventory-section { padding: 60px 0 70px; }
    .section-title { font-size: 28px; }
    .inventory-header { margin-bottom: 28px; }
    .inventory-card-img { aspect-ratio: 4 / 3; }
    .inventory-card-body { padding: 20px; }
    .inventory-card-title { font-size: 19px; }

    /* Override Swiper's default flex layout so slides stack vertically */
    .inventory-swiper {
        overflow: visible;
        padding-bottom: 0;
    }
    .inventory-swiper:not(.swiper-initialized) .swiper-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        transform: none !important;
    }
    .inventory-swiper:not(.swiper-initialized) .swiper-slide {
        width: 100% !important;
        height: auto;
        margin: 0 !important;
    }
    .inventory-swiper:not(.swiper-initialized) .inventory-pagination {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .inventory-section { padding: 50px 0 60px; }
    .section-title { font-size: 24px; }
}

/* ==========================================================================
   Services Callout Section
   ========================================================================== */

.services-section {
    background-color: rgba(13,13,13,0.9);
    padding: 30px 0 110px;
}

.services-header {
    margin-bottom: 40px;
}

/* CSS grid with hairline dividers between cells */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(255, 255, 255, 0.06);
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card {
    background-color: #0d0d0d;
    padding: 44px 38px 38px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.service-icon {
    color: var(--accent-color);
    font-size: 40px;
    line-height: 1;
    margin-bottom: 26px;
}

.service-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 14px;
    transition: color 0.3s ease;
}

.service-desc {
    color: #a8a8a8;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0 0 22px;
    flex: 1;
}

.service-link {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    transition: color 0.25s ease, gap 0.25s ease;
}
.service-link i { font-size: 10px; }
.service-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Hover state: slight tint + accent title */
.service-card:hover .service-title {
    color: var(--accent-color);
}

/* Brochure downloads */
.brochure-downloads {
    margin-top: 54px;
}

.brochure-downloads-header {
    margin-bottom: 28px;
    max-width: 760px;
}

.brochure-downloads-intro {
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.75;
    margin: 16px 0 0;
}

.brochure-downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.brochure-download-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.brochure-download-card:hover {
    border-color: rgba(190, 32, 38, 0.55);
    color: var(--light-color);
    transform: translateY(-3px);
}

.brochure-download-icon {
    color: var(--accent-color);
    font-size: 28px;
    line-height: 1;
    margin-bottom: 18px;
}

.brochure-download-title {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.brochure-download-desc {
    color: #a8a8a8;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.brochure-download-link {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: auto;
    text-transform: uppercase;
}

.brochure-download-link i {
    font-size: 10px;
    margin-left: 6px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .services-section { padding: 20px 0 80px; }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brochure-downloads-grid {
        grid-template-columns: 1fr;
    }
    .service-card { padding: 36px 28px 30px; }
}

/* Mobile: single column stack */
@media (max-width: 575.98px) {
    .services-section { padding: 10px 0 60px; }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card { padding: 32px 24px 26px; }
    .service-icon { font-size: 34px; margin-bottom: 20px; }
    .service-title { font-size: 17px; }
    .service-desc { font-size: 13px; }
}

/* ==========================================================================
   Video Section
   ========================================================================== */

.video-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 0 140px;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--light-color);
    overflow: hidden;
}

.video-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.1) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.video-section .container-fluid { z-index: 2; }

.video-content { max-width: 520px; }

.video-title {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.video-description {
    font-size: 14px;
    line-height: 1.8;
    color: #d9d9d9;
    margin-bottom: 36px;
    max-width: 460px;
}

/* Play video button */
.video-play-btn {
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--light-color);
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.video-play-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Pulse ripple */
.video-play-circle::before,
.video-play-circle::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: videoPulse 2.4s infinite ease-out;
}
.video-play-circle::after { animation-delay: 1.2s; }

@keyframes videoPulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    100% { transform: scale(1.7);  opacity: 0;   }
}

.video-play-btn:hover .video-play-circle {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.06);
}
.video-play-btn:hover {
    color: var(--accent-color);
}

/* Video modal */
.video-modal .modal-content {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}
.video-modal .modal-dialog {
    padding: 0 16px;
}
.video-modal .ratio iframe {
    border-radius: 4px;
    background-color: #000;
}
.video-modal-close {
    position: absolute;
    top: -42px;
    right: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    z-index: 2;
}
.video-modal-close:hover { opacity: 1; }

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .video-section {
        padding: 90px 0 100px;
        min-height: 460px;
    }
    .video-title { font-size: 32px; }
    .video-section-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

@media (max-width: 575.98px) {
    .video-section {
        padding: 70px 0 80px;
        min-height: 420px;
    }
    .video-title { font-size: 26px; }
    .video-description { font-size: 13px; }
    .video-play-circle { width: 54px; height: 54px; font-size: 14px; }
    .video-play-btn { gap: 12px; font-size: 12px; }
}

/* ==========================================================================
   CTA Section (Free Service For Premium Members)
   ========================================================================== */

.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: var(--light-color);
    overflow: hidden;
}

.cta-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.15) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.cta-section .container-fluid { z-index: 2; }

.cta-content { max-width: 560px; }

.cta-title {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.cta-description {
    font-size: 14px;
    line-height: 1.8;
    color: #d9d9d9;
    margin-bottom: 36px;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 34px;
}

.cta-call {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.cta-call-label {
    color: var(--light-color);
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cta-call-number {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}
.cta-call-number:hover { color: var(--accent-hover); }

/* Tablet */
@media (max-width: 991.98px) {
    .cta-section {
        padding: 90px 0;
        min-height: 440px;
    }
    .cta-title { font-size: 32px; }
    .cta-section-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.75) 100%
        );
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .cta-section {
        padding: 70px 0;
        min-height: 400px;
    }
    .cta-title { font-size: 26px; }
    .cta-description { font-size: 13px; }
    .cta-actions {
        gap: 22px;
    }
    .cta-btn { padding: 14px 26px; }
    .cta-call-number { font-size: 18px; }
}

/* ==========================================================================
   Page Header (Title bar + Breadcrumbs)
   ========================================================================== */

/* Inner pages: add top padding so content sits below the transparent nav */
.page-inner .page-header {
    padding-top: 180px;
}

.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 90px;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    color: var(--light-color);
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.1) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.page-header .container-fluid { z-index: 2; }

/* Breadcrumbs */
.page-breadcrumbs { margin-bottom: 18px; }
.page-breadcrumbs .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: var(--body-font);
    font-size: 13px;
    letter-spacing: 0.5px;
}
.page-breadcrumbs .breadcrumb-item a {
    color: var(--light-color);
    transition: color 0.2s ease;
}
.page-breadcrumbs .breadcrumb-item a:hover { color: var(--accent-color); }
.page-breadcrumbs .breadcrumb-item.active { color: #c9c9c9; }
.page-breadcrumbs .breadcrumb-item + .breadcrumb-item {
    padding-left: 10px;
}
.page-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding-right: 10px;
    padding-left: 0;
}

/* Page title */
.page-header-title {
    font-family: var(--heading-font);
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    color: var(--light-color);
    line-height: 1.1;
}

/* Tablet */
@media (max-width: 991.98px) {
    .page-inner .page-header { padding-top: 140px; }
    .page-header {
        padding: 120px 0 70px;
        min-height: 320px;
    }
    .page-header-title { font-size: 40px; }
    .page-header-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .page-inner .page-header { padding-top: 110px; }
    .page-header {
        padding: 90px 0 50px;
        min-height: 260px;
    }
    .page-header-title { font-size: 30px; }
    .page-breadcrumbs { margin-bottom: 12px; }
    .page-breadcrumbs .breadcrumb { font-size: 12px; }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background-color: rgba(13,13,13,0.9);
    padding: 100px 0;
    color: #c5c5c5;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4 / 5;
    background-color: #000;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.about-image:hover img {
    transform: scale(1.03);
}

.about-content .section-tag {
    margin-bottom: 20px;
}

.about-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.about-content p {
    font-size: 14px;
    line-height: 1.85;
    color: #b5b5b5;
    margin-bottom: 18px;
}

.about-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s ease, gap 0.25s ease;
}
.about-link i { font-size: 11px; }
.about-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Tablet / Mobile */
@media (max-width: 991.98px) {
    .about-section { padding: 70px 0; }
    .about-title { font-size: 30px; }
    .about-image { aspect-ratio: 4 / 3; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 575.98px) {
    .about-section { padding: 50px 0; }
    .about-title { font-size: 24px; margin-bottom: 20px; }
    .about-content p { font-size: 13px; }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
    background-color: rgba(13,13,13,0.9);
    padding: 90px 0 100px;
    color: #b5b5b5;
}

/* ---- Left: Contact info card ---- */
.contact-info-card {
    background-color: #1a1a1a;
    padding: 44px 38px 38px;
    border-radius: 2px;
    height: 100%;
}

.contact-info-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 18px;
    text-transform: capitalize;
}

.contact-info-description {
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 30px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}
.contact-info-list li:last-child { margin-bottom: 0; }

.contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 16px;
}

.contact-info-label {
    display: block;
    color: #c9c9c9;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.contact-info-value {
    display: block;
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: color 0.2s ease;
}
a.contact-info-value:hover { color: var(--accent-color); }

/* Social tiles */
.contact-info-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-info-social a {
    width: 38px;
    height: 38px;
    background-color: #2a2a2a;
    color: var(--light-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 14px;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.contact-info-social a:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* ---- Right: Contact form ---- */
.contact-form-wrap {
    padding-top: 8px;
}

.contact-form-wrap .section-tag {
    margin-bottom: 16px;
}

.contact-form-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contact-form-description {
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 760px;
}

/* Form fields */
.contact-field {
    position: relative;
}

.contact-form .form-control {
    background-color: #2a2a2a;
    border: none;
    border-radius: 2px;
    color: var(--light-color);
    padding: 16px 20px;
    font-size: 14px;
    box-shadow: none;
    outline: none;
    transition: box-shadow 0.2s ease;
}
.contact-form .form-control::placeholder { color: #8a8a8a; }
.contact-form .form-control:focus {
    background-color: #2a2a2a;
    color: var(--light-color);
    box-shadow: 0 0 0 1px rgba(255, 26, 26, 0.35);
}
.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-field-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-color);
    border: none;
    color: var(--light-color);
    width: 34px;
    height: 26px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}
.contact-field-icon:hover { background-color: var(--accent-hover); }

/* Input with icon needs right padding */
.contact-field:has(.contact-field-icon) .form-control {
    padding-right: 56px;
}

.contact-submit {
    padding: 16px 40px;
    margin-top: 10px;
}

/* ---- Map ---- */
.contact-map-section {
    width: 100%;
    line-height: 0;
    background-color: rgba(13,13,13,0.9);
}
.contact-map {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
    filter: grayscale(0);
}

/* Tablet */
@media (max-width: 991.98px) {
    .contact-section { padding: 70px 0 80px; }
    .contact-info-card { padding: 36px 28px 32px; }
    .contact-form-title { font-size: 32px; }
    .contact-map { height: 380px; }
}

/* Mobile */
@media (max-width: 575.98px) {
    .contact-section { padding: 60px 0 70px; }
    .contact-info-card { padding: 30px 24px 28px; }
    .contact-info-title { font-size: 22px; }
    .contact-form-title { font-size: 26px; }
    .contact-form-description { font-size: 13px; }
    .contact-submit { padding: 14px 32px; width: 100%; }
    .contact-map { height: 320px; }
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thank-you-section {
    background-color: rgba(13,13,13,0.9);
    color: #b5b5b5;
    padding: 95px 0 100px;
}

.thank-you-hero {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    overflow: hidden;
}

.thank-you-content {
    align-self: center;
    padding: 58px;
}

.thank-you-icon {
    align-items: center;
    background-color: var(--accent-color);
    color: var(--light-color);
    display: inline-flex;
    font-size: 28px;
    height: 76px;
    justify-content: center;
    margin-bottom: 26px;
    width: 76px;
}

.thank-you-title {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 12px 0 18px;
    text-transform: uppercase;
}

.thank-you-description {
    color: #c5c5c5;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 30px;
    max-width: 690px;
}

.thank-you-image-wrap {
    min-height: 460px;
    position: relative;
}

.thank-you-image-wrap::after {
    background: linear-gradient(to right, rgba(21,21,21,0.2), rgba(21,21,21,0));
    content: "";
    inset: 0;
    position: absolute;
}

.thank-you-image {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.thank-you-next-steps {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.thank-you-step-card {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 100%;
    padding: 30px;
}

.thank-you-step-icon {
    align-items: center;
    background-color: rgba(255,26,26,0.12);
    color: var(--accent-color);
    display: inline-flex;
    font-size: 22px;
    height: 54px;
    justify-content: center;
    margin-bottom: 22px;
    width: 54px;
}

.thank-you-step-card h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.thank-you-step-card p {
    color: #b5b5b5;
    line-height: 1.7;
    margin: 0;
}

.thank-you-step-card a {
    color: var(--accent-color);
}

.thank-you-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.thank-you-link {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.thank-you-link:hover {
    color: var(--accent-color);
}

.thank-you-bottom-cta {
    align-items: center;
    background: linear-gradient(135deg, rgba(255,26,26,0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-top: 26px;
    padding: 34px;
}

.thank-you-bottom-cta h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 10px 0 0;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .thank-you-hero {
        grid-template-columns: 1fr;
    }
    .thank-you-image-wrap {
        min-height: 360px;
        order: -1;
    }
    .thank-you-next-steps {
        grid-template-columns: 1fr;
    }
    .thank-you-bottom-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .thank-you-section {
        padding: 70px 0 80px;
    }
    .thank-you-content,
    .thank-you-step-card,
    .thank-you-bottom-cta {
        padding: 28px 22px;
    }
    .thank-you-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .thank-you-actions .btn,
    .thank-you-link {
        text-align: center;
    }
}

/* ==========================================================================
   Dealers Page
   ========================================================================== */

.dealers-section {
    background-color: rgba(13,13,13,0.9);
    color: #b5b5b5;
    padding: 90px 0 110px;
}

.dealers-intro {
    margin-bottom: 36px;
}

.dealers-description {
    color: #a8a8a8;
    line-height: 1.75;
    margin: 18px 0 0;
    max-width: 760px;
}

.dealers-map-card {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 34px;
    overflow: hidden;
    padding: 18px;
}

.dealers-map-img {
    display: block;
    height: auto;
    width: 100%;
}

.dealers-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dealer-card {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 22px;
    grid-template-columns: 58px 1fr;
    padding: 28px;
}

.dealer-number {
    align-items: center;
    background-color: var(--accent-color);
    color: var(--light-color);
    display: inline-flex;
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.dealer-card h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.dealer-address {
    color: #c5c5c5;
    line-height: 1.65;
    margin-bottom: 18px;
}

.dealer-address span {
    display: block;
}

.dealer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dealer-contact-list li {
    align-items: flex-start;
    color: #b5b5b5;
    display: flex;
    gap: 12px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.dealer-contact-list i {
    color: var(--accent-color);
    margin-top: 4px;
    min-width: 16px;
}

.dealer-contact-list a {
    color: #b5b5b5;
    word-break: break-word;
}

.dealer-contact-list a:hover {
    color: var(--accent-color);
}

@media (max-width: 991.98px) {
    .dealers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dealers-section {
        padding: 60px 0 70px;
    }
    .dealers-map-card {
        padding: 10px;
    }
    .dealer-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* ==========================================================================
   Construction Page
   ========================================================================== */

.construction-story-section,
.construction-gallery-section,
.construction-visit-section {
    background-color: rgba(13,13,13,0.9);
    color: #b5b5b5;
    padding: 90px 0;
}

.construction-story-section {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.construction-story-copy {
    color: #a8a8a8;
    font-size: 15px;
    line-height: 1.85;
    margin-top: 24px;
}

.construction-proof-card {
    background-color: #171717;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 34px;
}

.construction-proof-card h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.construction-proof-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.construction-proof-card li {
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #b5b5b5;
    display: flex;
    gap: 12px;
    line-height: 1.6;
    padding: 13px 0;
}

.construction-proof-card li::before {
    color: var(--accent-color);
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-top: 2px;
}

.construction-gallery-section {
    padding-top: 0;
}

.construction-gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.construction-gallery-item {
    background-color: #171717;
    border: 0;
    cursor: pointer;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: left;
}

.construction-gallery-item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.construction-gallery-item img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease, opacity 0.35s ease;
    width: 100%;
}

.construction-gallery-item:hover img {
    opacity: 0.86;
    transform: scale(1.04);
}

.construction-lightbox-modal .modal-content {
    background-color: transparent;
    border: 0;
    position: relative;
}

.construction-lightbox-close {
    background-color: rgba(0,0,0,0.85);
    border-radius: 50%;
    opacity: 1;
    padding: 12px;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
}

.construction-lightbox-img {
    background-color: #111;
    display: block;
    max-height: 84vh;
    object-fit: contain;
    width: 100%;
}

.construction-visit-section {
    padding-top: 0;
}

.construction-visit-card {
    background: linear-gradient(135deg, rgba(255,26,26,0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 48px;
}

.construction-visit-card h2 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 10px 0 18px;
    text-transform: uppercase;
}

.construction-visit-card p {
    color: #b5b5b5;
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 900px;
}

@media (max-width: 991.98px) {
    .construction-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .construction-story-section,
    .construction-gallery-section,
    .construction-visit-section {
        padding: 60px 0;
    }
    .construction-gallery-section,
    .construction-visit-section {
        padding-top: 0;
    }
    .construction-proof-card,
    .construction-visit-card {
        padding: 28px 22px;
    }
    .construction-gallery-grid {
        grid-template-columns: 1fr;
    }
    .construction-gallery-item.is-featured {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ==========================================================================
   Model Comparison Page
   ========================================================================== */

.comparison-section {
    background-color: rgba(13,13,13,0.9);
    color: #b5b5b5;
    padding: 90px 0 110px;
}

.comparison-intro {
    margin-bottom: 34px;
}

.comparison-description {
    color: #a8a8a8;
    line-height: 1.75;
    margin: 18px 0 0;
    max-width: 760px;
}

.comparison-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.compare-toggle {
    align-items: center;
    background-color: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--light-color);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    gap: 10px;
    letter-spacing: 1px;
    padding: 12px 14px;
    text-transform: uppercase;
}

.compare-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.compare-toggle-switch {
    background-color: #3a3a3a;
    border-radius: 999px;
    display: inline-block;
    height: 18px;
    position: relative;
    transition: background-color 0.2s ease;
    width: 34px;
}

.compare-toggle-switch::after {
    background-color: var(--light-color);
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform 0.2s ease;
    width: 14px;
}

.compare-toggle-input:checked + .compare-toggle-switch {
    background-color: var(--accent-color);
}

.compare-toggle-input:checked + .compare-toggle-switch::after {
    transform: translateX(16px);
}

.comparison-table-wrap {
    border: 1px solid rgba(255,255,255,0.08);
    overflow-x: auto;
}

.comparison-table {
    border-collapse: collapse;
    min-width: 1060px;
    table-layout: fixed;
    width: 100%;
}

.comparison-table th,
.comparison-table td {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    color: #c5c5c5;
    font-size: 13px;
    line-height: 1.55;
    min-width: 170px;
    padding: 18px;
    text-align: left;
    vertical-align: top;
}

.comparison-table thead th {
    background-color: #1f1f1f;
}

.comparison-row-label {
    color: var(--light-color) !important;
    font-family: var(--heading-font);
    font-size: 12px !important;
    font-weight: 700;
    left: 0;
    letter-spacing: 1px;
    min-width: 170px !important;
    position: sticky;
    text-transform: uppercase;
    z-index: 2;
}

.comparison-model-img {
    aspect-ratio: 4 / 3;
    display: block;
    height: clamp(150px, 12vw, 190px);
    margin-bottom: 14px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.comparison-model-name,
.comparison-model-price {
    display: block;
    font-family: var(--heading-font);
    text-transform: uppercase;
}

.comparison-model-name {
    color: var(--light-color);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.comparison-model-price {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.comparison-btn {
    display: inline-flex;
    font-size: 11px;
    margin-bottom: 10px;
    padding: 12px 18px;
}

.comparison-msrp-link {
    color: var(--light-color);
    display: block;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comparison-msrp-link:hover {
    color: var(--accent-color);
}

.compare-model-col.is-hidden,
.compare-mobile-card.is-hidden {
    display: none;
}

.comparison-mobile {
    display: none;
}

.comparison-empty {
    background-color: #1a1a1a;
    color: var(--light-color);
    margin-top: 22px;
    padding: 18px;
    text-align: center;
}

/* ==========================================================================
   MSRP Pricing Page
   ========================================================================== */

.pricing-section {
    background-color: rgba(13,13,13,0.9);
    color: #b5b5b5;
    padding: 90px 0 110px;
}

.pricing-intro {
    margin-bottom: 38px;
}

.pricing-description {
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.75;
    margin: 18px 0 0;
    max-width: 780px;
}

.pricing-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    background-color: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card-image {
    aspect-ratio: 16 / 10;
    background-color: #000;
    display: block;
    overflow: hidden;
}

.pricing-card-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    width: 100%;
}

.pricing-card:hover .pricing-card-image img {
    transform: scale(1.03);
}

.pricing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.pricing-card-bed {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pricing-card h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.pricing-card-price {
    color: #d7d7d7;
    display: block;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pricing-card-specs {
    display: grid;
    gap: 1px;
    margin: 0 0 24px;
}

.pricing-card-specs div {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 11px 12px;
}

.pricing-card-specs dt,
.pricing-card-specs dd {
    margin: 0;
}

.pricing-card-specs dt {
    color: #8f8f8f;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pricing-card-specs dd {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: right;
    text-transform: uppercase;
}

.pricing-card-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
}

.pricing-sheet-btn {
    padding: 13px 20px;
}

.pricing-model-link {
    align-items: center;
    color: var(--light-color);
    display: inline-flex;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.25s ease, gap 0.25s ease;
}

.pricing-model-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

.pricing-note {
    align-items: flex-start;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b5b5b5;
    display: flex;
    gap: 14px;
    margin-top: 34px;
    padding: 18px 20px;
}

.pricing-note i {
    color: var(--accent-color);
    margin-top: 4px;
}

.pricing-note p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .pricing-section {
        padding: 70px 0 80px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-mobile-card {
    background-color: #151515;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 22px;
}

.comparison-mobile-img {
    aspect-ratio: 16 / 10;
    display: block;
    height: clamp(190px, 54vw, 320px);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.comparison-mobile-body {
    padding: 22px;
}

.comparison-mobile-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.comparison-mobile-header h3 {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.comparison-mobile-header span {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 700;
    white-space: nowrap;
}

.comparison-mobile-list {
    margin: 0;
}

.comparison-mobile-list div {
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 10px;
    grid-template-columns: 110px 1fr;
    padding: 12px 0;
}

.comparison-mobile-list dt {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comparison-mobile-list dd {
    color: #b5b5b5;
    margin: 0;
}

.comparison-mobile-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

@media (max-width: 767.98px) {
    .comparison-section {
        padding: 60px 0 70px;
    }
    .comparison-controls {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }
    .compare-toggle {
        justify-content: space-between;
    }
    .comparison-desktop {
        display: none;
    }
    .comparison-mobile {
        display: block;
    }
    .comparison-mobile-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ==========================================================================
   Model Detail Page
   ========================================================================== */

.model-detail-section {
    background-color: rgba(13,13,13,0.9);
    padding: 80px 0 100px;
    color: #c5c5c5;
}

/* ---------- Gallery ---------- */
.model-gallery { margin-bottom: 36px; }

.model-gallery-main {
    background-color: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}
.model-gallery-main .swiper-slide {
    aspect-ratio: 16 / 10;
    background-color: #1a1a1a;
}
.model-gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery nav arrows */
.model-gallery-prev,
.model-gallery-next {
    background-color: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 2px;
    color: var(--light-color);
    transition: background-color 0.25s ease;
}
.model-gallery-prev::after,
.model-gallery-next::after {
    font-size: 14px;
    font-weight: 700;
}
.model-gallery-prev:hover,
.model-gallery-next:hover {
    background-color: var(--accent-color);
}

.model-gallery-thumbs .swiper-slide {
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity 0.25s ease, outline 0.25s ease;
    outline: 2px solid transparent;
    outline-offset: -2px;
}
.model-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.model-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline-color: var(--accent-color);
}
.model-gallery-thumbs .swiper-slide:hover { opacity: 0.85; }

/* ---------- Tabs ---------- */
.model-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
    gap: 4px;
    flex-wrap: wrap;
}
.model-tabs .nav-link {
    background-color: transparent;
    color: #c5c5c5;
    border: none;
    border-radius: 0;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 22px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.model-tabs .nav-link:hover { color: var(--light-color); }
.model-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background-color: transparent;
}

.model-tab-content {
    padding-bottom: 10px;
}
.model-tab-content p {
    font-size: 14.5px;
    line-height: 1.85;
    color: #b5b5b5;
    margin-bottom: 16px;
}

.model-disclaimer {
    background-color: #1a1a1a;
    border-left: 3px solid var(--accent-color);
    color: #a8a8a8;
    font-size: 10.5px;
    line-height: 1.55;
    margin-top: 28px;
    padding: 16px 18px;
}
.model-disclaimer p {
    margin-bottom: 8px;
}
.model-disclaimer p:last-child {
    margin-bottom: 0;
}
.model-disclaimer strong {
    color: var(--light-color);
}

.model-section-heading {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 30px 0 18px;
}
.model-section-heading:first-child { margin-top: 0; }

.model-sub-heading {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.model-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.model-bullets li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #b5b5b5;
    font-size: 14px;
    line-height: 1.6;
}
.model-bullets li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
}

/* In-stock callout */
.model-note {
    background-color: rgba(255, 26, 26, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e0e0e0;
    font-size: 13.5px;
    margin: 18px 0 26px;
    border-radius: 2px;
}
.model-note i { color: var(--accent-color); margin-top: 3px; }

/* Featured options pills */
.model-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.model-option-pill {
    background-color: #1f1f1f;
    color: var(--light-color);
    padding: 9px 16px;
    border-radius: 2px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.model-option-pill i {
    color: var(--accent-color);
    font-size: 11px;
}

/* Specs table */
.model-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.model-spec-table th,
.model-spec-table td {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: top;
}
.model-spec-table th {
    text-align: left;
    font-weight: 500;
    color: #9a9a9a;
    width: 50%;
}
.model-spec-table td {
    text-align: right;
    color: var(--light-color);
    font-weight: 500;
}

/* Video thumbnail */
.model-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: none;
    padding: 0;
    background-color: #000;
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 20px;
}
.model-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.model-video .video-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
}
.model-video:hover img { transform: scale(1.04); }

/* Comment form */
.comment-form .form-control {
    background-color: #2a2a2a;
    border: none;
    color: var(--light-color);
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 2px;
}
.comment-form .form-control::placeholder { color: #8a8a8a; }
.comment-form .form-control:focus {
    background-color: #2a2a2a;
    color: var(--light-color);
    box-shadow: 0 0 0 1px rgba(255, 26, 26, 0.35);
}
.comment-form .btn-accent {
    padding: 14px 34px;
    margin-top: 4px;
}

/* ---------- Sidebar ---------- */
.model-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-price {
    background-color: #1a1a1a;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 2px;
}
.sidebar-price-value {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}
.sidebar-price-btn {
    padding: 12px 22px;
    font-size: 13px;
    white-space: nowrap;
}

.sidebar-block {
    background-color: #1a1a1a;
    padding: 24px 26px;
    border-radius: 2px;
}

.sidebar-brochure-links {
    display: grid;
    gap: 10px;
}

.sidebar-brochure-link {
    align-items: center;
    background-color: #242424;
    color: var(--light-color);
    display: flex;
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    gap: 10px;
    justify-content: space-between;
    letter-spacing: 1px;
    padding: 12px 14px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-brochure-link:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.sidebar-heading {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Social share */
.sidebar-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sidebar-social a {
    width: 36px;
    height: 36px;
    background-color: #2a2a2a;
    color: var(--light-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}
.sidebar-social a:hover {
    background-color: var(--accent-color);
}

/* Sidebar tables */
.sidebar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.sidebar-table th,
.sidebar-table td {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.sidebar-table tr:last-child th,
.sidebar-table tr:last-child td { border-bottom: none; }
.sidebar-table th {
    text-align: left;
    font-weight: 500;
    color: #9a9a9a;
}
.sidebar-table td {
    text-align: right;
    color: var(--light-color);
    font-weight: 500;
}

/* Color list */
.sidebar-colors {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-colors li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.sidebar-colors li:last-child { border-bottom: none; }
.color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.color-label {
    color: var(--light-color);
    font-size: 13px;
    flex: 1;
}
.color-price {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
}

/* Sales person */
.sales-person {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.sales-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.sales-info { display: flex; flex-direction: column; gap: 2px; }
.sales-name {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.sales-role {
    color: var(--accent-color);
    font-size: 12px;
    margin-bottom: 6px;
}
.sales-contact {
    color: #c5c5c5;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s ease;
}
.sales-contact:hover { color: var(--accent-color); }

/* Quick inquiry form */
.sidebar-inquiry {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-inquiry .form-control {
    background-color: #2a2a2a;
    border: none;
    color: var(--light-color);
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 2px;
}
.sidebar-inquiry .form-control::placeholder { color: #8a8a8a; }
.sidebar-inquiry .form-control:focus {
    background-color: #2a2a2a;
    color: var(--light-color);
    box-shadow: 0 0 0 1px rgba(255, 26, 26, 0.35);
}
.sidebar-inquiry .btn-accent {
    padding: 13px;
    font-size: 13px;
    margin-top: 4px;
}

/* ---------- Related Products ---------- */
.related-products {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.related-heading {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.related-card {
    background-color: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.related-card:hover { transform: translateY(-4px); }

.related-card-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #000;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.04); }

.related-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.related-card-title {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.related-card-title a {
    color: var(--light-color);
    transition: color 0.2s ease;
}
.related-card-title a:hover { color: var(--accent-color); }

.related-card-price {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0 14px;
}

.related-card-btn {
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .model-detail-section { padding: 60px 0 80px; }
    .model-sidebar { margin-top: 24px; }
    .sidebar-price-value { font-size: 26px; }
    .related-products { margin-top: 50px; padding-top: 40px; }
}

@media (max-width: 575.98px) {
    .model-tabs .nav-link {
        padding: 10px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    .model-section-heading { font-size: 18px; }
    .sidebar-price {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .sidebar-price-value { font-size: 24px; }
    .related-card-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #000;
    color: #b5b5b5;
    padding: 80px 0 0;
    position: relative;
    font-size: 14px;
}

.footer-main {
    padding-bottom: 50px;
}

.text-accent { color: var(--accent-color) !important; }

.footer-brand-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}
.footer-brand-logo {
    height: auto;
    width: 200px;
}
.footer-brand-desc {
    color: #b5b5b5;
    line-height: 1.75;
    margin: 0 0 22px;
    max-width: 420px;
}
.footer-member-logo {
    display: block;
    height: auto;
    width: 150px;
}

.footer-heading {
    color: var(--light-color);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-heading-lg {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 26px;
}

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    color: #b5b5b5;
    line-height: 1.6;
}
.footer-contact-list li i {
    color: var(--light-color);
    font-size: 14px;
    margin-top: 5px;
    min-width: 16px;
}
.footer-contact-list a {
    color: #b5b5b5;
}
.footer-contact-list a:hover {
    color: var(--accent-color);
}

/* Link lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #b5b5b5;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

/* Subscribe form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subscribe-input-wrap {
    position: relative;
    flex: 1;
}
.subscribe-input {
    width: 100%;
    background-color: #2a2a2a;
    border: none;
    color: var(--light-color);
    padding: 14px 52px 14px 18px;
    border-radius: 2px;
    font-size: 13px;
    outline: none;
}
.subscribe-input::placeholder { color: #8a8a8a; }
.subscribe-input:focus { box-shadow: 0 0 0 1px rgba(255,26,26,0.4); }

.subscribe-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-color);
    border: none;
    color: var(--light-color);
    width: 32px;
    height: 24px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}
.subscribe-icon:hover { background-color: var(--accent-hover); }

.subscribe-btn {
    padding: 14px 26px;
    width: auto;
    align-self: stretch;
}

/* Desktop: inline input + button */
@media (min-width: 992px) {
    .subscribe-form {
        flex-direction: row;
        align-items: stretch;
    }
    .subscribe-btn {
        align-self: auto;
        padding: 0 28px;
        white-space: nowrap;
    }
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 26px 0;
}
.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #8a8a8a;
}
.footer-copyright a { color: var(--accent-color); }
.footer-copyright a:hover { color: var(--accent-hover); }

.footer-bottom-logo {
    text-align: center;
}
.footer-logo {
    height: 44px;
    width: auto;
}

/* Social icons */
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 26px;
    justify-content: flex-end;
    align-items: center;
}
.footer-social-list a {
    color: var(--light-color);
    font-size: 14px;
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-list a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--light-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1040;
}
.back-to-top:hover { background-color: var(--accent-hover); color: var(--light-color); }
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tablet / Mobile footer adjustments */
@media (max-width: 991.98px) {
    .site-footer { padding-top: 60px; }
    .footer-heading { margin-bottom: 18px; }
    .footer-heading-lg { font-size: 18px; margin-bottom: 22px; }
    .footer-bottom { text-align: center; padding: 24px 0; }
    .footer-copyright,
    .footer-bottom-logo,
    .footer-social { text-align: center; }
    .footer-social-list { justify-content: center; }
    .footer-bottom .row > [class*="col-"] { margin-bottom: 6px; }
}

@media (max-width: 767.98px) {
    .site-footer { padding-top: 50px; }
    .footer-main { padding-bottom: 30px; }
}

@media (max-width: 575.98px) {
    .back-to-top {
        width: 36px;
        height: 36px;
        right: 16px;
        bottom: 16px;
    }
}
