:root {
    --ink: #0b111b;
    --panel: #111a2a;
    --muted: #9fb3c8;
    --accent: #c1121f;
    --accent-soft: #ffdedb;
    --stroke: rgba(255, 255, 255, 0.08);
}

/* Header glass gradient overlay */
header.header-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent;
}

header.header-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.32) 100%);
    pointer-events: none;
    z-index: 0;
}

header.header-glass .toolbar,
header.header-glass .bottom-header,
header.header-glass .navbar.navbar-default {
    display: none !important;
}

.toolbar_shadow,
.header_shadow {
    display: none !important;
}

header.header-glass .toolbar ul li,
header.header-glass .toolbar a,
header.header-glass .toolbar i,
header.header-glass .navbar-nav>li>a {
    color: #f5f8ff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    text-transform: none;
}

header.header-glass .navbar-nav>li>a:hover,
header.header-glass .navbar-nav>li>a:focus {
    color: #ffffff !important;
    opacity: 0.9;
    background: transparent;
}

header.header-glass .navbar-brand img {
    filter: brightness(1.1);
    height: 46px;
}

/* Single-line masthead */
.masthead-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 70px;
    display: flex;
    align-items: center;
    background: rgba(8, 12, 20, 0.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: #f5f8ff;
}

.masthead-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.mast-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.mast-logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.05);
}

.mast-nav {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 0 28px;
    padding: 0;
    list-style: none;
}

.mast-nav a {
    color: #f5f8ff;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 8px 0;
}

.mast-nav a:hover {
    color: #ffffff;
}

.mast-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.mast-meta a {
    color: #f5f8ff;
    text-decoration: none;
}

.mast-meta i {
    margin-right: 6px;
}

.mast-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    flex-direction: column;
    gap: 4px;
}

.mast-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #f5f8ff;
    margin: 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
}

.mast-mobile-open .mast-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mast-mobile-open .mast-toggle span:nth-child(2) {
    opacity: 0;
}

.mast-mobile-open .mast-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mast-mobile {
    display: none;
}

.mast-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mast-mobile-nav a {
    display: block;
    padding: 10px 12px;
    color: #f5f8ff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(10, 16, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

@media (max-width: 991px) {
    .masthead-line {
        height: auto;
        padding: 8px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .masthead-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "lang logo toggle"
            "meta meta meta";
        gap: 10px 12px;
    }

    .mast-logo {
        grid-area: logo;
        justify-self: center;
    }

    .mast-meta {
        grid-area: meta;
        justify-content: center;
        gap: 4px 6px;
        font-size: 9px;
        font-weight: 500;
        flex-wrap: nowrap;
        text-align: center;
        white-space: nowrap;
        letter-spacing: 0;
    }

    .mast-meta span {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        font-weight: 500;
    }

    .mast-lang {
        grid-area: lang;
    }

    .mast-nav {
        display: none;
    }

    .mast-toggle {
        grid-area: toggle;
        display: inline-flex;
        justify-self: end;
    }

    .mast-mobile {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(6, 10, 18, 0.95);
        border-top: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }

    .mast-mobile-open .mast-mobile {
        max-height: 320px;
        padding: 12px 16px 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 1;
        pointer-events: auto;
    }

    .mast-logo img {
        height: 42px;
        max-width: 160px;
    }
}

/* Sticky scroll-down nav */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 10px 24px;
    background: rgba(12, 18, 28, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f8ff;
    transform: translateY(-110%);
    transition: transform 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 50;
}

.sticky-nav .sticky-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.sticky-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.sticky-nav .nav-center img {
    height: 36px;
    filter: brightness(1.05);
}

.sticky-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sticky-nav .nav-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 13px;
}

.sticky-nav .nav-meta a {
    color: #f5f8ff;
    text-decoration: none;
}

.sticky-nav .nav-meta i {
    margin-right: 6px;
}

.sticky-nav .nav-menu a {
    color: #f5f8ff;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    text-transform: none;
}

.sticky-nav .nav-menu a:hover {
    color: #ffffff;
}

body.scrolled .sticky-nav {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 991px) {
    .sticky-nav {
        height: 56px;
        padding: 10px 16px;
    }

    .sticky-nav .nav-menu {
        gap: 14px;
        font-size: 13px;
    }
}

body {
    background: var(--ink);
    color: #e9eef5;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.01em;
}

a {
    color: inherit;
}

.section-shell {
    padding: 80px 0;
}

.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.75s ease;
    display: flex;
    align-items: flex-end;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 45px;
    padding: 0 16px;
    text-align: left;
    z-index: 2;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
    background: rgba(10, 12, 18, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    align-items: start;
}

.hero-title-wrap {
    text-align: left;
}

.hero-title-wrap .hero-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 7px 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    width: fit-content;
    max-width: 100%;
}

.hero-title {
    font-size: clamp(28px, 4.8vw, 46px);
    line-height: 1.05;
    margin: 0 0 12px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-year {
    font-size: inherit;
    font-weight: inherit;
    color: #d7dde6;
    margin-left: 10px;
}

.hero-copy {
    color: #f0f3f7;
    margin: 0 0 18px;
    font-size: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.btn-primary {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(193, 18, 31, 0.35);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #d7dde6;
    width: 100%;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 10px;
    width: fit-content;
    max-width: 100%;
}

.hero-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
    z-index: 3;
}

.hero-nav button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-nav button:hover {
    background: rgba(193, 18, 31, 0.9);
    border-color: rgba(193, 18, 31, 1);
}

.showroom-card.is-zoomable {
    cursor: pointer;
}

.hp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hp-lightbox.is-open {
    display: flex;
}

.hp-lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
}

.hp-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 10px;
    display: block;
}

.hp-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hp-lightbox-close:hover {
    background: rgba(180, 241, 240, 0.15);
    border-color: rgba(180, 241, 240, 0.6);
}

.hero-dots {
    display: none;
}

.showroom-section {
    background: linear-gradient(135deg, rgba(193, 18, 31, 0.08), rgba(255, 255, 255, 0));
}

.showroom-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    color: var(--accent-soft);
}

.showroom-modern h2 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    margin: 10px 0;
}

.showroom-modern p {
    color: var(--muted);
    line-height: 1.6;
}

.showroom-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 20px;
}

.showroom-badges span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--stroke);
    color: #e9eef5;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
}

.showroom-media {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 320px;
    gap: 16px;
    align-items: stretch;
}

.showroom-feature,
.showroom-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background-size: cover;
    background-position: center;
    min-height: 180px;
}

.showroom-feature {
    min-height: 640px;
    aspect-ratio: 2 / 3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.showroom-card::after,
.showroom-feature::after {
    content: none;
}

.showroom-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.showroom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (max-width: 1400px) {
    html,
    body {
        height: auto !important;
        min-height: 100%;
        overflow-y: auto !important;
        overflow-x: hidden;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199px) {

    .masthead-inner {
        gap: 16px;
    }

    .mast-nav {
        gap: 14px;
        margin-left: 18px;
    }

    .mast-meta {
        font-size: 12px;
        gap: 10px;
    }

    body {
        overflow-y: auto;
    }

    .showroom-media {
        grid-template-columns: 1fr;
    }

    .showroom-feature {
        min-height: 520px;
    }

    .showroom-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.recent-shell {
    background: radial-gradient(circle at 15% 20%, rgba(193, 18, 31, 0.08), transparent 40%), #0b111b;
}

.rv-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: start;
}

.rv-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.rv-intro p {
    color: var(--muted);
    margin-bottom: 18px;
}

.rv-controls {
    display: flex;
    gap: 10px;
}

.rv-controls button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.rv-window {
    overflow: hidden;
    position: relative;
}

.rv-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 320px);
    gap: 16px;
    transition: transform 0.45s ease;
    transform: translateX(var(--offset, 0px));
    will-change: transform;
}

.rv-card {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.rv-media {
    padding: 12px;
    background: #1a2230;
    border-radius: 18px;
    margin: 12px 12px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rv-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
}

.rv-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rv-meta {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rv-title {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.rv-copy {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv-price {
    margin: -6px 0 12px;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
}

.rv-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 16px;
    font-weight: 700;
    color: #111;
    background: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.rv-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .hero-content {
        margin-bottom: 50px;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 18px;
    }

    .hero-left {
        text-align: left;
    }

    .hero-right {
        text-align: center;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .showroom-gallery {
        grid-template-columns: 1fr;
    }

    .showroom-media {
        grid-template-columns: 1fr;
    }

    .showroom-feature {
        min-height: 420px;
    }

    .showroom-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 767px) {
    .section-shell {
        padding: 60px 0;
    }

    .hero-nav {
        display: none;
    }

    .hero-dots {
        bottom: 22px;
    }

    .rv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rv-track {
        display: grid;
        grid-auto-columns: 100%;
        grid-auto-flow: column;
    }

    .rv-window {
        overflow: hidden;
        padding: 0 12px;
    }

    .rv-controls {
        margin: 10px 0 0;
        justify-content: flex-end;
    }

    .rv-intro {
        max-width: none;
        padding: 0 8px;
    }

    .rv-intro h2,
    .rv-intro p {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .showroom-modern {
        margin: 0 12px;
    }
}

/* Ensure hybrid CTA pills render consistently on vehicle pages */
.enquiry-wrap {
    margin-top: 20px;
}

.enquiry-wrap .enquiry-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff;
    color: #111111;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.enquiry-wrap .enquiry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    color: #111111;
}

.enquiry-wrap .hybrid-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #f5f5f5;
    color: #0f0f0f;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.enquiry-wrap .hybrid-btn:hover {
    color: #0f0f0f;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}
@media (max-width: 767px) {
}
