@charset "UTF-8";

/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HERO BANNER
   ========================================================================== */
.g1-hero-banner-container {
    width: 100%;
    position: relative;
    background: #061024;
    overflow: hidden;
}

.g1-hero-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .g1-hero-banner-img {
        min-height: 220px;
        max-height: 280px;
        object-position: center;
    }
}

/* ==========================================================================
   3. LEGACY / ORIGINAL HORIZONTAL FLEET SCROLL (INDEX PAGE COMPATIBILITY)
   ========================================================================== */
.fleet-carousel-container {
    position: relative;
    width: 100%;
}

.fleet-horizontal-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fleet-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.fleet-scroll-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 41, 90, 0.12);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f295a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    background: #0f295a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

@media (max-width: 768px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    .carousel-arrow.prev { left: 2px; }
    .carousel-arrow.next { right: 2px; }
}

/* ==========================================================================
   4. UNIVERSAL CAROUSEL CLASSES (CHAR DHAM OLD WRAPPER COMPATIBILITY)
   ========================================================================== */
.uni-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.uni-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none;
}

.uni-carousel-track::-webkit-scrollbar {
    display: none;
}

.uni-card {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.uni-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f295a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.uni-arrow:hover {
    background: #0f295a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.uni-arrow.prev { left: 4px; }
.uni-arrow.next { right: 4px; }

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   5. INDEX PAGE: CLEAN WHITE 3D COVERFLOW (FLEET SECTION)
   ========================================================================== */
.white-coverflow-viewport {
    position: relative;
    width: 100%;
    perspective: 1500px;
    overflow: hidden;
    padding: 35px 0 45px;
    background: radial-gradient(circle at 50% 36%, rgba(15, 41, 90, 0.04) 0%, transparent 70%);
}

.white-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.clean-white-cab-card {
    position: absolute;
    width: 310px;
    height: 425px;
    border-radius: 24px;
    background: #ffffff !important;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.48s cubic-bezier(0.2, 0.85, 0.3, 1.15),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    opacity: 1 !important;
    filter: none !important;
}

.white-car-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.car-render-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.12));
}

.view-photos-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3.5px 9px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    color: #0f295a;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.view-photos-btn:hover {
    background: #0f295a;
    color: #ffffff;
    border-color: #0f295a;
}

.cab-badge-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3.5px 9px;
    border-radius: 9999px;
    background: #0f295a;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(15, 41, 90, 0.2);
}

.white-car-content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.btn-clean-call {
    background: #0f295a;
    color: #ffffff;
    padding: 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-clean-call:hover {
    background: #091b3d;
    transform: translateY(-1px);
}

.btn-clean-whatsapp {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    padding: 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
}

.btn-clean-whatsapp:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: translateY(-1px);
}

/* 3D Positions for Index Page */
.clean-white-cab-card.active-center {
    transform: translate3d(0, -22px, 120px) scale(1.03);
    z-index: 30;
    border-color: #f59e0b;
    box-shadow: 0 22px 50px -10px rgba(15, 41, 90, 0.22), 0 0 25px rgba(245, 158, 11, 0.32);
}

.clean-white-cab-card.prev-neighbor-1 {
    transform: translate3d(-270px, 12px, -30px) scale(0.91) rotateY(10deg);
    z-index: 20;
    border-color: #cbd5e1;
}

.clean-white-cab-card.next-neighbor-1 {
    transform: translate3d(270px, 12px, -30px) scale(0.91) rotateY(-10deg);
    z-index: 20;
    border-color: #cbd5e1;
}

.clean-white-cab-card.prev-neighbor-2 {
    transform: translate3d(-490px, 28px, -110px) scale(0.78) rotateY(18deg);
    z-index: 10;
    border-color: #e2e8f0;
}

.clean-white-cab-card.next-neighbor-2 {
    transform: translate3d(490px, 28px, -110px) scale(0.78) rotateY(-18deg);
    z-index: 10;
    border-color: #e2e8f0;
}

.clean-white-cab-card.far-card {
    transform: translate3d(0, 45px, -280px) scale(0.5);
    opacity: 0 !important;
    z-index: 1;
    pointer-events: none;
}

.white-3d-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f295a;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 40;
    transition: all 0.25s ease;
}

.white-3d-arrow:hover {
    background: #0f295a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 26px rgba(15, 41, 90, 0.25);
}

.white-3d-arrow.prev { left: 16px; }
.white-3d-arrow.next { right: 16px; }

.white-3d-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.white-3d-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.white-3d-dot.active {
    width: 24px;
    background: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   6. CHAR DHAM PAGE: SHARP 3D WHITE COVERFLOW (.dyn-card / .dyn-stage)
   ========================================================================== */
.dynamic-coverflow-viewport {
    position: relative;
    width: 100%;
    perspective: 1500px;
    overflow: hidden;
    padding: 25px 0 45px;
    background: radial-gradient(circle at 50% 36%, rgba(15, 41, 90, 0.03) 0%, transparent 70%);
}

.dyn-stage {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.dyn-stage.tall-stage {
    height: 610px;
}

.dyn-card {
    position: absolute;
    width: 315px;
    height: 535px;
    border-radius: 24px;
    background: #ffffff !important;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.45s cubic-bezier(0.2, 0.85, 0.3, 1.15),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    opacity: 1 !important;
    filter: none !important;
}

.dyn-card.tall-card {
    height: 565px;
}

.dyn-card-img-wrap {
    position: relative;
    width: 100%;
    height: 165px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.dyn-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.12));
}

@media (min-width: 769px) {
    .dyn-card.desk-front-left {
        transform: translate3d(-162px, -14px, 110px) scale(1.02) rotateY(2deg);
        z-index: 30;
        border-color: #f59e0b;
        box-shadow: 0 20px 45px -10px rgba(15, 41, 90, 0.22), 0 0 20px rgba(245, 158, 11, 0.25);
    }

    .dyn-card.desk-front-right {
        transform: translate3d(162px, -14px, 110px) scale(1.02) rotateY(-2deg);
        z-index: 30;
        border-color: #f59e0b;
        box-shadow: 0 20px 45px -10px rgba(15, 41, 90, 0.22), 0 0 20px rgba(245, 158, 11, 0.25);
    }

    .dyn-card.desk-back-left {
        transform: translate3d(-415px, 18px, -60px) scale(0.88) rotateY(12deg);
        z-index: 15;
        border-color: #cbd5e1;
    }

    .dyn-card.desk-back-right {
        transform: translate3d(415px, 18px, -60px) scale(0.88) rotateY(-12deg);
        z-index: 15;
        border-color: #cbd5e1;
    }
}

@media (max-width: 768px) {
    .dyn-stage {
        height: 560px;
    }
    
    .dyn-stage.tall-stage {
        height: 590px;
    }

    .dyn-card {
        width: 88vw;
        max-width: 320px;
        height: 535px;
    }

    .dyn-card.tall-card {
        height: 565px;
    }

    .dyn-card.mobile-center {
        transform: translate3d(0, -10px, 90px) scale(1.03);
        z-index: 35;
        border-color: #f59e0b;
        box-shadow: 0 20px 45px -8px rgba(15, 41, 90, 0.25), 0 0 20px rgba(245, 158, 11, 0.3);
    }

    .dyn-card.mobile-prev {
        transform: translate3d(-175px, 14px, -50px) scale(0.84) rotateY(10deg);
        z-index: 15;
        border-color: #cbd5e1;
        pointer-events: auto;
    }

    .dyn-card.mobile-next {
        transform: translate3d(175px, 14px, -50px) scale(0.84) rotateY(-10deg);
        z-index: 15;
        border-color: #cbd5e1;
        pointer-events: auto;
    }

    .dyn-card.mobile-hidden {
        transform: translate3d(0, 30px, -200px) scale(0.5);
        opacity: 0 !important;
        z-index: 1;
        pointer-events: none;
    }
}

.dyn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f295a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 40;
    transition: all 0.25s ease;
}

.dyn-arrow:hover {
    background: #0f295a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(15, 41, 90, 0.25);
}

.dyn-arrow.prev { left: 14px; }
.dyn-arrow.next { right: 14px; }

@media (max-width: 768px) {
    .dyn-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .dyn-arrow.prev { left: 4px; }
    .dyn-arrow.next { right: 4px; }
}

.dyn-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dyn-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dyn-dot.active {
    width: 24px;
    background: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   7. POPUP MODAL & FLOATING ACTION BUTTONS
   ========================================================================== */
.modal-thumb-btn {
    height: 48px !important;
    border-radius: 8px !important;
}

@media (min-width: 640px) {
    .modal-thumb-btn {
        height: 54px !important;
        border-radius: 10px !important;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modalIn {
    animation: modalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.float-btn-group {
    position: fixed;
    bottom: 20px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.float-btn:hover {
    transform: scale(1.08);
}

.float-btn.call {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.float-btn.whats {
    background: linear-gradient(135deg, #22c55e, #15803d);
}
/* ========================================================================== 
   8. VEHICLE SPECIFICATIONS + SHARP TEXT
   ========================================================================== */
.clean-white-cab-card,
.clean-white-cab-card * {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cab-spec-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    margin-top: 8px;
}

.cab-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #17376d;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.cab-spec-pill i {
    font-size: 0.7rem;
}

.cab-luggage-pill {
    color: #475569;
    background: #f8fafc;
}

.modal-cab-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.modal-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d9e5ff;
    color: #17376d;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
}

/* Keep side-card text readable: depth comes from position, not text scaling. */
.clean-white-cab-card.prev-neighbor-1 {
    transform: translate3d(-270px, 12px, -30px);
}

.clean-white-cab-card.next-neighbor-1 {
    transform: translate3d(270px, 12px, -30px);
}

.clean-white-cab-card.prev-neighbor-2 {
    transform: translate3d(-490px, 28px, -110px);
}

.clean-white-cab-card.next-neighbor-2 {
    transform: translate3d(490px, 28px, -110px);
}

/* ========================================================================== 
   9. ADMIN VEHICLE FORM HELPERS
   ========================================================================== */
.fuel-option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fuel-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 700;
    color: #17376d;
}

.fuel-option:hover {
    border-color: #93b4ed;
    background: #eff6ff;
}

.fuel-option input {
    accent-color: #0f295a;
}

.gallery-upload-item,
.existing-gallery-item {
    position: relative;
}

.gallery-upload-item > img,
.existing-gallery-item > img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.gallery-upload-item .remove-gallery-file,
.existing-gallery-item .remove-existing,
.gallery-upload-item .remove-new {
    position: absolute;
    top: 8px;
    right: 8px;
}

@media (max-width: 768px) {
    .white-coverflow-viewport {
        padding: 20px 0 42px;
    }

    .white-stage {
        height: 500px;
    }

    .clean-white-cab-card {
        width: min(86vw, 340px);
        height: 455px;
    }

    .clean-white-cab-card.active-center {
        transform: translate3d(0, -10px, 100px) scale(1.01);
    }

    .clean-white-cab-card.prev-neighbor-1 {
        transform: translate3d(-205px, 18px, -40px);
    }

    .clean-white-cab-card.next-neighbor-1 {
        transform: translate3d(205px, 18px, -40px);
    }

    .clean-white-cab-card.prev-neighbor-2 {
        transform: translate3d(-355px, 28px, -120px);
    }

    .clean-white-cab-card.next-neighbor-2 {
        transform: translate3d(355px, 28px, -120px);
    }

    .clean-white-cab-card.far-card {
        transform: translate3d(0, 50px, -250px);
    }

    .white-3d-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        top: 205px;
        transform: translateY(-50%);
    }

    .white-3d-arrow:hover {
        transform: translateY(-50%) scale(1.06);
    }

    .white-3d-arrow.prev {
        left: 7px;
    }

    .white-3d-arrow.next {
        right: 7px;
    }

    .white-car-content {
        padding: 14px 16px 16px;
    }

    .cab-spec-row {
        gap: 5px;
    }

    .cab-spec-pill {
        font-size: 0.64rem;
        padding: 5px 7px;
    }
}


/* ========================================================================== 
   FINAL VEHICLE CARD SHARPNESS + MOBILE ARROWS
   Use 2D positioning only. 3D perspective/scale/rotate can rasterize text and
   make side-card typography look soft in Chrome/Edge.
   ========================================================================== */
.white-coverflow-viewport{perspective:none;}
.white-stage{transform-style:flat;}
.clean-white-cab-card{transform-style:flat;backface-visibility:visible;}
.clean-white-cab-card.active-center{transform:translateY(-10px);}
.clean-white-cab-card.prev-neighbor-1{transform:translateX(-270px);}
.clean-white-cab-card.next-neighbor-1{transform:translateX(270px);}
.clean-white-cab-card.prev-neighbor-2{transform:translateX(-490px);}
.clean-white-cab-card.next-neighbor-2{transform:translateX(490px);}
.clean-white-cab-card.far-card{transform:translateY(40px);opacity:0!important;}
.clean-white-cab-card,.clean-white-cab-card *{-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;}
.white-3d-arrow{top:225px;transform:translateY(-50%);}
.white-3d-arrow:hover{transform:translateY(-50%);}
.cab-spec-row{min-height:30px;align-items:flex-start;}
.cab-spec-pill{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:.67rem;line-height:1.2;}
.cab-spec-pill i{display:inline-block;width:14px;text-align:center;flex:0 0 14px;}
@media(max-width:768px){
    .clean-white-cab-card.active-center{transform:translateY(-8px);}
    .clean-white-cab-card.prev-neighbor-1{transform:translateX(-205px);}
    .clean-white-cab-card.next-neighbor-1{transform:translateX(205px);}
    .clean-white-cab-card.prev-neighbor-2{transform:translateX(-355px);}
    .clean-white-cab-card.next-neighbor-2{transform:translateX(355px);}
    .clean-white-cab-card.far-card{transform:translateY(45px);}
    .white-3d-arrow{top:218px;}
    .white-3d-arrow.prev{left:7px;}
    .white-3d-arrow.next{right:7px;}
}

/* Final G1 Cabs branding */
.g1-site-logo{max-width:185px}.g1-footer-logo{width:190px;height:58px;object-fit:contain;object-position:left center}.g1-loader-logo{width:230px;height:78px;object-fit:contain;margin:0 auto;filter:drop-shadow(0 8px 22px rgba(255,255,255,.08))}.social-icon,.footer-social{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#334155;text-decoration:none;font-size:13px;transition:.2s}.social-icon:hover,.footer-social:hover{transform:translateY(-2px);background:#0f295a;color:#fff}.social-whatsapp,.footer-whatsapp{color:#16a34a}.social-whatsapp:hover,.footer-whatsapp:hover{background:#16a34a;color:#fff}.footer-social{background:#172033;color:#cbd5e1;width:34px;height:34px;border-radius:10px}.footer-social:hover{background:#fff;color:#0f295a}

/* ==========================================================================
   FINAL SHARP VEHICLE CARDS
   Native left/top positioning avoids transformed text rasterization in Chrome.
   ========================================================================== */
.white-coverflow-viewport {
    perspective: none !important;
}
.white-stage {
    transform: none !important;
    transform-style: flat !important;
    position: relative;
}
.clean-white-cab-card {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}
.clean-white-cab-card.active-center {
    left: calc(50% - 155px);
    top: 10px;
    z-index: 30;
    border-color: #f59e0b;
}
.clean-white-cab-card.prev-neighbor-1 {
    left: calc(50% - 425px);
    top: 22px;
    z-index: 20;
}
.clean-white-cab-card.next-neighbor-1 {
    left: calc(50% + 115px);
    top: 22px;
    z-index: 20;
}
.clean-white-cab-card.prev-neighbor-2 {
    left: calc(50% - 645px);
    top: 38px;
    z-index: 10;
}
.clean-white-cab-card.next-neighbor-2 {
    left: calc(50% + 335px);
    top: 38px;
    z-index: 10;
}
.clean-white-cab-card.far-card {
    left: 50%;
    top: 55px;
    z-index: 1;
    opacity: 0 !important;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .clean-white-cab-card.prev-neighbor-2,
    .clean-white-cab-card.next-neighbor-2 {
        display: none;
    }
    .clean-white-cab-card.prev-neighbor-1 {
        left: calc(50% - 395px);
    }
    .clean-white-cab-card.next-neighbor-1 {
        left: calc(50% + 85px);
    }
}

@media (max-width: 768px) {
    .white-stage {
        height: 500px;
    }
    .clean-white-cab-card {
        width: min(86vw, 340px);
        height: 455px;
    }
    .clean-white-cab-card.active-center {
        left: 50%;
        top: 10px;
        margin-left: min(-43vw, -170px);
    }
    .clean-white-cab-card.prev-neighbor-1,
    .clean-white-cab-card.next-neighbor-1,
    .clean-white-cab-card.prev-neighbor-2,
    .clean-white-cab-card.next-neighbor-2 {
        display: none;
    }
}

/* ========================================================================== 
   FINAL TEXT CRISP FIX — VEHICLE CAROUSEL
   Keep every card in a normal 2D rendering layer. No transform animation,
   3D compositing, perspective or forced geometric text rasterization.
   ========================================================================== */
.white-coverflow-viewport,
.white-stage {
    perspective: none !important;
    transform: none !important;
    transform-style: flat !important;
    -webkit-transform: none !important;
}

.clean-white-cab-card {
    transform: none !important;
    -webkit-transform: none !important;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    will-change: auto !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transition: box-shadow .25s ease, border-color .25s ease !important;
    contain: paint;
}

.clean-white-cab-card * {
    -webkit-font-smoothing: auto !important;
    -moz-osx-font-smoothing: auto !important;
    text-rendering: optimizeLegibility !important;
}

.clean-white-cab-card h1,
.clean-white-cab-card h2,
.clean-white-cab-card h3,
.clean-white-cab-card h4,
.clean-white-cab-card h5,
.clean-white-cab-card h6,
.clean-white-cab-card p,
.clean-white-cab-card span,
.clean-white-cab-card strong,
.clean-white-cab-card small,
.clean-white-cab-card li,
.clean-white-cab-card a,
.clean-white-cab-card button,
.clean-white-cab-card div {
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

/* Exact 2D card positions — no scaling/rotation/depth transforms. */
.clean-white-cab-card.active-center {
    left: calc(50% - 155px) !important;
    top: 10px !important;
    z-index: 30;
    border-color: #f59e0b;
}

.clean-white-cab-card.prev-neighbor-1 {
    left: calc(50% - 425px) !important;
    top: 22px !important;
    z-index: 20;
}

.clean-white-cab-card.next-neighbor-1 {
    left: calc(50% + 115px) !important;
    top: 22px !important;
    z-index: 20;
}

.clean-white-cab-card.prev-neighbor-2 {
    left: calc(50% - 645px) !important;
    top: 38px !important;
    z-index: 10;
}

.clean-white-cab-card.next-neighbor-2 {
    left: calc(50% + 335px) !important;
    top: 38px !important;
    z-index: 10;
}

.clean-white-cab-card.far-card {
    left: 50% !important;
    top: 55px !important;
    z-index: 1;
    opacity: 0 !important;
    pointer-events: none;
}

@media (max-width: 768px) {
    .clean-white-cab-card.active-center {
        left: 50% !important;
        top: 10px !important;
        margin-left: min(-43vw, -170px) !important;
    }

    .clean-white-cab-card.prev-neighbor-1,
    .clean-white-cab-card.next-neighbor-1,
    .clean-white-cab-card.prev-neighbor-2,
    .clean-white-cab-card.next-neighbor-2 {
        display: none !important;
    }
}
