:root {
    --red: #E31937;
    --red-dark: #B8142D;
    --red-light: #FF2D4B;
    --black: #0A0A0A;
    --black-light: #141414;
    --black-medium: #1A1A1A;
    --dark-gray: #222222;
    --medium-gray: #333333;
    --gray: #888888;
    --light-gray: #CCCCCC;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    
    --gradient-red: linear-gradient(135deg, var(--red), var(--red-light));
    --gradient-dark: linear-gradient(180deg, var(--black), var(--black-light));
    --gradient-card: linear-gradient(145deg, rgba(26,26,26,0.9), rgba(20,20,20,0.95));
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-red: 0 8px 30px rgba(227,25,55,0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--black);
    background-color: var(--black);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-light); }

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input { font-family: inherit; }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#preloader.skip {
    display: none !important;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-red);
    border-radius: 3px;
    animation: loading 1.5s ease-in-out;
    width: 100%;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}


#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
    height: 70px;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.logo img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

#header.scrolled .logo img { height: 36px; }

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

#main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
    padding: 4px 0;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-red);
    transition: width 0.3s ease;
}

#main-nav a:hover, #main-nav a.active {
    color: var(--white);
}

#main-nav a:hover::after, #main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.header-phone:hover { color: var(--red-light); }

.header-phone i {
    font-size: 0.75rem;
}

.btn-whatsapp-header {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-whatsapp-header:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}


.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) { opacity: 0; }

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { right: 0; }

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu nav a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.mobile-menu nav a:hover, .mobile-menu nav a.active {
    color: var(--white);
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--gray);
}

.mobile-menu-contact a:hover { color: var(--red-light); }


#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.6) 0%,
        rgba(10,10,10,0.4) 40%,
        rgba(10,10,10,0.7) 80%,
        rgba(10,10,10,1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin-top: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(227,25,55,0.15);
    border: 1px solid rgba(227,25,55,0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--red-light);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    font-weight: 300;
}


.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 auto 50px;
    flex-wrap: wrap;
}
.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    font-size: 1.05rem;
    padding: 16px 36px;
}
.btn-wa-hero {
    border-color: #25D366 !important;
    color: #25D366 !important;
}
.btn-wa-hero:hover {
    background: rgba(37,211,102,0.15) !important;
    border-color: #25D366 !important;
}


.hero-search {
    max-width: 800px;
    margin: 0 auto 50px;
}

.search-wrapper {
    background: rgba(20,20,20,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: rgba(227,25,55,0.5);
    box-shadow: 0 0 30px rgba(227,25,55,0.1);
}

.search-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}

.search-field i {
    color: var(--gray);
    font-size: 1rem;
}

.search-field input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 0.95rem;
}

.search-field input::placeholder {
    color: var(--gray);
}

.search-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.search-filters select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    min-width: 120px;
}

.search-filters select:hover,
.search-filters select:focus {
    border-color: rgba(227,25,55,0.5);
    background: rgba(255,255,255,0.08);
}

.search-filters select option {
    background: var(--black-light);
    color: var(--white);
}

.btn-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-red);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}


.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}


.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.scroll-indicator {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--red);
    border-radius: 4px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}


.section-brands {
    padding: 40px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.brands-track {
    display: flex;
    animation: scrollBrands 30s linear infinite;
    gap: 60px;
    align-items: center;
    width: max-content;
}

.brands-track:hover { animation-play-state: paused; }

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    opacity: 0.4;
    transition: var(--transition);
    filter: grayscale(100%) brightness(2);
    cursor: pointer;
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.brand-item img {
    max-height: 45px;
    max-width: 100px;
    object-fit: contain;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--black-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}


.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227,25,55,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(227,25,55,0.1);
}

.vehicle-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.08);
}

.vehicle-card-badge {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-new {
    background: var(--red);
    color: white;
}

.badge-used {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
}

.vehicle-card-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.vehicle-card-body {
    padding: 20px;
}

.vehicle-card-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.vehicle-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.vehicle-card-year {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.vehicle-card-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.vehicle-card-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray);
}

.vehicle-card-spec i {
    color: var(--red);
    font-size: 0.7rem;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.vehicle-card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.vehicle-card-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    display: block;
}

.vehicle-card-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(227,25,55,0.1);
    border: 1px solid rgba(227,25,55,0.3);
    border-radius: var(--radius-sm);
    color: var(--red-light);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-card-btn {
    background: var(--red);
    color: white;
    border-color: var(--red);
}


.section-cta {
    text-align: center;
    margin-top: 50px;
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gradient-red);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--red);
    background: rgba(227,25,55,0.1);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1rem;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(227,25,55,0.1);
    border: 1px solid rgba(227,25,55,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.1rem;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray);
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
}

.about-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 6s ease;
}

.about-slideshow img.active {
    opacity: 1;
    transform: scale(1);
}

.about-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(227,25,55,0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-red);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}


.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-card::before {
    content: attr(data-step);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(227,25,55,0.08);
    position: absolute;
    top: 0;
    right: 15px;
    line-height: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(227,25,55,0.1);
    border: 1px solid rgba(227,25,55,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--red);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-red);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(227,25,55,0.3);
    font-size: 1.2rem;
    padding-top: 55px;
    min-width: 30px;
}


.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.payment-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.payment-card:hover {
    border-color: rgba(227,25,55,0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.payment-card.featured {
    border-color: var(--red);
    background: linear-gradient(145deg, rgba(227,25,55,0.1), rgba(20,20,20,0.95));
}

.payment-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.payment-icon {
    font-size: 2.2rem;
    color: var(--red);
    margin-bottom: 20px;
}

.payment-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.payment-card ul {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.payment-card li i {
    color: var(--red);
    font-size: 0.8rem;
}


.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.branch-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.branch-card:hover {
    border-color: rgba(227,25,55,0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.branch-map {
    height: 200px;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.branch-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(90%);
}

.branch-info {
    padding: 24px;
}

.branch-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-info h3 i {
    color: var(--red);
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--gray);
}

.branch-detail i {
    color: var(--red);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}


.section-cta-full {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1400') center/cover no-repeat;
}

.cta-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(227,25,55,0.3));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


#footer {
    background: var(--black-light);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 38px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
}

.footer-brand > p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--red);
}

.footer-links a {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--red-light);
    padding-left: 5px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.footer-contact a i {
    color: var(--red);
    width: 16px;
    text-align: center;
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-bottom-links a:hover { color: var(--red-light); }

.footer-credit {
    font-size: 0.78rem;
    color: var(--gray);
    opacity: 0.7;
    width: 100%;
    text-align: center;
    padding-top: 12px;
}
.footer-credit a {
    color: var(--red-light);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}
.footer-credit a:hover { opacity: 0.8; text-decoration: underline; }


.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: floatPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}


.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--black-light), var(--black));
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--gray);
    font-size: 1.05rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb .separator { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--white); }


.inventory-section {
    padding: 60px 0 100px;
}

.inventory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inventory-count {
    font-size: 0.95rem;
    color: var(--gray);
}

.inventory-count strong {
    color: var(--white);
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar select,
.filter-bar input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
    min-width: 140px;
}

.filter-bar select:hover,
.filter-bar select:focus,
.filter-bar input:hover,
.filter-bar input:focus {
    border-color: rgba(227,25,55,0.5);
}

.filter-bar select option {
    background: var(--black-light);
    color: var(--white);
}

.filter-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-cat-btn {
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-cat-btn:hover,
.filter-cat-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--gray);
}

.no-results i {
    font-size: 3rem;
    color: rgba(227,25,55,0.3);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}


.vehicle-detail-section {
    padding: 100px 0 80px;
}

.vehicle-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}


.vehicle-gallery {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.gallery-main {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--black-light);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}

.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

.gallery-thumb {
    width: 100px;
    min-width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--red);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.vehicle-info {
    position: sticky;
    top: 100px;
}

.vehicle-info-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(227,25,55,0.15);
    border: 1px solid rgba(227,25,55,0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--red-light);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vehicle-info h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.vehicle-info .vehicle-year-label {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.vehicle-price-box {
    background: rgba(227,25,55,0.08);
    border: 1px solid rgba(227,25,55,0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 30px;
}

.vehicle-price-box .price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
}

.vehicle-price-box .price-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.vehicle-price-box .monthly {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 6px;
}

.vehicle-price-box .monthly span {
    color: var(--red-light);
    font-weight: 700;
}


.credit-calculator {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    overflow: hidden;
}

.credit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.credit-header:hover {
    background: rgba(255,255,255,0.03);
}

.credit-header i:first-child {
    margin-right: 8px;
    color: var(--red);
}

.credit-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: var(--gray);
}

.credit-calculator.open .credit-toggle-icon {
    transform: rotate(180deg);
}

.credit-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.credit-calculator.open .credit-body {
    max-height: 500px;
    padding: 0 20px 20px;
}

.credit-slider-group {
    margin-bottom: 18px;
}

.credit-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.credit-slider-value {
    color: var(--white);
    font-weight: 600;
}

.credit-slider-amount {
    font-size: 0.82rem;
    color: var(--red-light);
    font-weight: 600;
    margin-top: 4px;
}

.credit-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
    outline: none;
    cursor: pointer;
}

.credit-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(227,25,55,0.4);
    transition: transform 0.2s ease;
}

.credit-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.credit-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(227,25,55,0.4);
}

.credit-summary {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 10px;
}

.credit-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--gray);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.credit-row:last-child {
    border-bottom: none;
}

.credit-row span:last-child {
    color: var(--white);
    font-weight: 600;
}

.credit-row-total {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(227,25,55,0.3);
    border-bottom: none;
}

.credit-row-total span:first-child {
    font-weight: 700;
    color: var(--white);
}

.credit-row-total span:last-child {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--red-light);
}

.credit-disclaimer {
    font-size: 0.72rem;
    color: var(--gray);
    opacity: 0.6;
    margin-top: 12px;
    line-height: 1.4;
}


.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
}

.spec-item i {
    color: var(--red);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.spec-item .spec-label {
    font-size: 0.75rem;
    color: var(--gray);
    display: block;
}

.spec-item .spec-value {
    font-size: 0.9rem;
    font-weight: 600;
}


.vehicle-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

.btn-schedule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--gradient-red);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-schedule:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-size: 1rem;
    transition: var(--transition);
}

.btn-share:hover {
    color: var(--red-light);
    border-color: var(--red);
}


.vehicle-description {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.vehicle-description h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.vehicle-description p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.vehicle-features {
    margin-top: 30px;
}

.vehicle-features h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--light-gray);
    padding: 8px 0;
}

.feature-item i {
    color: var(--red);
    font-size: 0.75rem;
}


.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--black-medium);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--gray);
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(227,25,55,0.2);
    color: var(--red-light);
}


.calendar {
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition);
}

.calendar-nav button:hover {
    border-color: var(--red);
    color: var(--red-light);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.empty):not(.full) {
    border-color: var(--red);
    background: rgba(227,25,55,0.1);
}

.calendar-day.today {
    border-color: var(--red);
}

.calendar-day.selected {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.disabled {
    color: var(--medium-gray);
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.full {
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
    position: relative;
}

.calendar-day.full::after {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.5rem;
    position: absolute;
    bottom: 4px;
    right: 4px;
    color: rgba(227,25,55,0.5);
}

.calendar-day.has-slots::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #25D366;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
}


.time-slots {
    margin-bottom: 30px;
}

.time-slots h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--light-gray);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover:not(.booked) {
    border-color: var(--red);
    background: rgba(227,25,55,0.1);
}

.time-slot.selected {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.time-slot.booked {
    color: rgba(255,255,255,0.15);
    cursor: not-allowed;
    text-decoration: line-through;
    background: rgba(255,255,255,0.01);
}


.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);
}

.form-group select option {
    background: var(--black-light);
    color: var(--white);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-dot.available { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.legend-dot.full-day { background: rgba(227,25,55,0.2); }
.legend-dot.selected-day { background: var(--red); }


.contact-section {
    padding: 40px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(227,25,55,0.3);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(227,25,55,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p, .contact-card a {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.contact-card a:hover { color: var(--red-light); }

.contact-form-wrapper {
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(90%);
}


.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--black-medium);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success { border-color: #25D366; }
.toast.success i { color: #25D366; }
.toast.error { border-color: var(--red); }
.toast.error i { color: var(--red); }


@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image { order: -1; }
    
    .vehicle-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-info { position: static; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #main-nav { display: none; }
    
    .menu-toggle { display: flex; }
    
    .header-phone span { display: none; }
    
    .hero-content { margin-top: 20px; }
    
    .search-wrapper {
        flex-direction: column;
    }
    
    .search-field { min-width: unset; }
    
    .search-filters {
        width: 100%;
    }
    
    .search-filters select {
        flex: 1;
        min-width: 100px;
    }
    
    .btn-search { width: 100%; justify-content: center; }
    
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { 
        transform: rotate(90deg); 
        padding-top: 0;
        padding: 10px 0;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-main { height: 300px; }
    
    .features-list { grid-template-columns: 1fr; }
    
    .specs-grid { grid-template-columns: 1fr; }
    
    .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
    
    .form-row { grid-template-columns: 1fr; }
    
    .modal { padding: 24px; }
    
    .filter-bar { width: 100%; }
    
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 0.65rem; letter-spacing: 2px; }
    
    .vehicle-card-image { height: 180px; }
    
    .experience-badge {
        left: 10px;
        bottom: -20px;
        padding: 16px 20px;
    }
    
    .exp-number { font-size: 2rem; }
}
