/* ===================================== */
/* GERLUXURYCARS - STYLE.CSS OPTIMIZADO */
/* Versión 3.1 - Mejoras de Mantenimiento y Accesibilidad */
/* ===================================== */

:root {
    /* Colores */
    --graphite-dark: #1e2024;
    --graphite-medium: #2d2f33;
    --graphite-light: #3a3d42;
    --white: #fafbfb;
    --gray-light: #b3b0ab;
    --red: #c33309;
    --orange: #f95f19;
    --glow-orange: rgba(249, 95, 25, 0.4);

    /* MEJORA: Variables para "Magic Numbers" y Z-Index */
    --glow-blur-radius: 120px;
    --hero-glow-size: 500px;
    --hero-glow-size-2: 400px;

    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-cookie-banner: 10001;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--graphite-dark) 0%, var(--graphite-medium) 50%, var(--graphite-light) 100%);
    color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

section {
    padding: 80px 0;
}

/* ===================================== */
/* UTILITY CLASSES - GPU ACCELERATION */
/* ===================================== */

.gpu-accelerated {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.smooth-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================== */
/* GLASSMORPHISM CARDS */
/* ===================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(249, 95, 25, 0.05);
    transition: all 0.3s ease;
}

/* MEJORA: Clase base para el efecto hover de tarjetas interactivas */
.interactive-card-hover {
    transition: all 0.3s ease;
}
.interactive-card-hover:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(249, 95, 25, 0.15);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 95, 25, 0.4);
}

.glass-card:hover {
    /* Los estilos comunes ahora están en .interactive-card-hover */
    /* Se pueden añadir estilos específicos aquí si fuera necesario */
}
.process-card:hover {
    /* MEJORA: Sobreescribimos solo la propiedad que es diferente */
    transform: translate3d(0, -10px, 0);
}
.service-card:hover {
    /* Los estilos comunes ahora están en .interactive-card-hover */
}
.benefit-card:hover {
    /* Los estilos comunes ahora están en .interactive-card-hover */
}
.guide-card:hover {
    /* Los estilos comunes ahora están en .interactive-card-hover */
}
.contact-info-card:hover {
    /* Los estilos comunes ahora están en .interactive-card-hover */
}


/* ===================================== */
/* NAVBAR */
/* ===================================== */

.navbar-glass {
    background: rgba(30, 32, 36, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-glass.scrolled {
    background: rgba(30, 32, 36, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(249, 95, 25, 0.3));
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===================================== */
/* GRADIENTS & TEXT EFFECTS */
/* ===================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px var(--glow-orange));
}

/* ===================================== */
/* BUTTONS */
/* ===================================== */

.btn-glass-primary {
    background: linear-gradient(135deg, var(--orange), var(--red));
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(249, 95, 25, 0.3),
                0 0 20px rgba(249, 95, 25, 0.2);
}

.btn-glass-primary:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 15px 40px rgba(249, 95, 25, 0.4),
                0 0 30px rgba(249, 95, 25, 0.4);
    color: white;
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-glass-outline:hover {
    background: rgba(249, 95, 25, 0.2);
    box-shadow: 0 0 30px rgba(249, 95, 25, 0.3);
    color: white;
}

/* ===================================== */
/* HERO SECTION */
/* ===================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
    background: linear-gradient(rgba(30, 32, 36, 0.9), rgba(30, 32, 36, 0.7)), 
                url('../assets/images/bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    /* MEJORA: Usamos variable para el valor de blur */
    filter: blur(var(--glow-blur-radius));
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
}

.glow-1 {
    /* MEJORA: Usamos variable para el tamaño */
    width: var(--hero-glow-size);
    height: var(--hero-glow-size);
    background: radial-gradient(circle, var(--glow-orange) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    /* MEJORA: Usamos variable para el tamaño */
    width: var(--hero-glow-size-2);
    height: var(--hero-glow-size-2);
    background: radial-gradient(circle, rgba(195, 51, 9, 0.3) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(50px, -50px, 0) scale(1.1); }
    66% { transform: translate3d(-30px, 50px, 0) scale(0.9); }
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 95, 25, 0.2);
    border: 1px solid rgba(249, 95, 25, 0.4);
    color: var(--orange);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px var(--glow-orange));
    line-height: 1;
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================== */
/* ABOUT SECTION */
/* ===================================== */

.about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15, 15, 20, 0.85), rgba(15, 15, 20, 0.9)), 
                url('../assets/images/bg-about.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.about-content {
    color: var(--gray-light);
    line-height: 1.7;
}

/* ===================================== */
/* PROCESS CARDS */
/* ===================================== */

.process-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(249, 95, 25, 0.05);
    height: 100%;
}
/* El hover está definido en la sección MEJORA */

.process-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.5),
                0 0 30px rgba(249, 95, 25, 0.3);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.4),
                0 0 20px rgba(249, 95, 25, 0.3);
    font-size: 2rem;
    color: white;
}

/* ===================================== */
/* PROCESO SECTION */
/* ===================================== */

#proceso {
    background: linear-gradient(rgba(20, 20, 25, 0.88), rgba(20, 20, 25, 0.92)), 
                url('../assets/images/bg-process.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 6rem 0;
}

/* ===================================== */
/* CTA BANNER */
/* ===================================== */

.cta-banner {
    background: rgba(249, 95, 25, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 95, 25, 0.3);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(249, 95, 25, 0.2);
}

section .cta-banner {
    background: rgba(116, 120, 128, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

section .cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
                transparent,
                rgba(249, 95, 25, 0.05),
                transparent);
    transition: left 0.6s ease;
}

section .cta-banner:hover::before {
    left: 100%;
}

section .cta-banner:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(249, 95, 25, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 95, 25, 0.15);
    transform: translate3d(0, -2px, 0);
}

section:has(.cta-banner) {
    background: linear-gradient(135deg, 
                rgba(30, 32, 36, 0.85) 0%, 
                rgba(58, 61, 66, 0.75) 100%),
                url('../assets/images/BMW-Commercial.webp') center/cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

section:has(.cta-banner)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(249, 95, 25, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(195, 51, 9, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

section:has(.cta-banner) .container {
    position: relative;
    z-index: 2;
}

/* ===================================== */
/* SERVICE SECTION */
/* ===================================== */

.service-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(15, 15, 20, 0.85), rgba(15, 15, 20, 0.9)), 
                url('../assets/images/mercedes-amg-gle-53-4matic-suv---interior-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-highlight {
    background: rgba(249, 95, 25, 0.1);
    border: 1px solid rgba(249, 95, 25, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.4),
                0 0 20px rgba(249, 95, 25, 0.3);
    font-size: 1.5rem;
    color: white;
}

.service-feature-content h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-feature-content p {
    color: var(--gray-light);
    margin-bottom: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(249, 95, 25, 0.05);
}
/* El hover está definido en la sección MEJORA */

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.4),
                0 0 20px rgba(249, 95, 25, 0.3);
    font-size: 1.75rem;
    color: white;
}

/* ===================================== */
/* WHY CHOOSE US - BENEFITS */
/* ===================================== */

.why-choose-section {
    position: relative;
    background: linear-gradient(rgba(20, 20, 25, 0.88), rgba(20, 20, 25, 0.92)), 
                url('../assets/images/bg-advantages.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(249, 95, 25, 0.05);
}
/* El hover está definido en la sección MEJORA */

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.4),
                0 0 20px rgba(249, 95, 25, 0.3);
    font-size: 2rem;
    color: white;
}

.benefit-content h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-content p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ===================================== */
/* PRICE TAG */
/* ===================================== */

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--red));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(249, 95, 25, 0.4),
                0 0 20px rgba(249, 95, 25, 0.3);
}

/* ===================================== */
/* ACCORDIONS */
/* ===================================== */

.accordion-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 5px rgba(249, 95, 25, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-glass:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(249, 95, 25, 0.1);
}

.accordion-button-glass {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-button-glass:hover {
    background: rgba(249, 95, 25, 0.1);
}

.accordion-button-glass h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-body ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.accordion-body li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.accordion-body strong {
    color: var(--orange);
}

/* ===================================== */
/* IMAGE CONTAINER */
/* ===================================== */

.image-container {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.image-container:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(249, 95, 25, 0.15);
}

.image-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay-content {
    position: relative;
    z-index: 2;
    padding: 1rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ===================================== */
/* BRANDS BANNER */
/* ===================================== */

.brands-banner-container {
    position: relative;
    width: 100%;
    height: 45px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.75rem 0;
}

.brands-banner-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scrollBrands 25s linear infinite;
    gap: 1.5rem;
    padding: 0 0.5rem;
}

.brand-logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.3rem;
    height: 100%;
}

.brand-logo {
    height: 22px;
    width: auto;
    max-width: 55px;
    filter: grayscale(1) brightness(2);
    opacity: 0.8;
    transition: all 0.3s ease;
    object-fit: contain;
}

.brand-logo-container:hover .brand-logo {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); }
}

.brands-banner-container:hover .brands-banner-track {
    animation-play-state: paused;
}

.brand-logo-container.mercedes .brand-logo { height: 20px; }
.brand-logo-container.bmw .brand-logo { height: 24px; }
.brand-logo-container.audi .brand-logo { height: 22px; }
.brand-logo-container.porsche .brand-logo { height: 23px; }

/* ===================================== */
/* BRANDS STATS */
/* ===================================== */

.brands-stats {
    margin-top: 0.75rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-item .stat-number,
.stat-item-compact .stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-item .stat-label,
.stat-item-compact .stat-label {
    font-size: 0.6rem;
    color: var(--gray-light);
    line-height: 1.2;
}

/* ===================================== */
/* GUIDES SECTION */
/* ===================================== */

.guides-section {
    background: linear-gradient(rgba(30, 32, 36, 0.9), rgba(30, 32, 36, 0.7)), 
                url('../assets/images/car-sky.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
}

.guide-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(249, 95, 25, 0.05);
    text-decoration: none;
    display: block;
    color: inherit;
}
/* El hover está definido en la sección MEJORA */

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(249, 95, 25, 0.4),
                0 0 15px rgba(249, 95, 25, 0.3);
    font-size: 1.5rem;
    color: white;
}

/* ===================================== */
/* CALCULATOR SECTION */
/* ===================================== */

.calculator-section {
    position: relative;
    background: linear-gradient(rgba(15, 15, 20, 0.85), rgba(15, 15, 20, 0.9)), 
                url('../assets/images/calculator-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.calculator-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s;
}

.calculator-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(249, 95, 25, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.calculator-input::placeholder {
    color: var(--gray-light);
}

.calculator-result {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.calculator-result.highlight {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

/* ===================================== */
/* SELECT INPUTS */
/* ===================================== */

select.calculator-input {
    background: var(--graphite-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    padding: 12px 15px;
    padding-right: 45px;
    width: 100%;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f95f19' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

select.calculator-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(249, 95, 25, 0.3);
    background-color: var(--graphite-medium);
}

select.calculator-input option {
    background: var(--graphite-dark);
    color: var(--white);
    padding: 12px 15px;
}

/* ===================================== */
/* TEXTAREA */
/* ===================================== */

textarea.calculator-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s;
    resize: vertical;
    min-height: 120px;
}

textarea.calculator-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 20px rgba(249, 95, 25, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

/* ===================================== */
/* NUMBER INPUT BUTTONS */
/* ===================================== */

.number-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.number-input-container .calculator-input {
    padding-right: 80px;
}

.number-input-buttons {
    position: absolute;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.number-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 30px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

.number-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.05);
}

.number-btn:active {
    transform: scale(0.95);
}

.number-btn.increment {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.number-btn.decrement {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.calculator-input[type="number"]::-webkit-outer-spin-button,
.calculator-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calculator-input[type="number"] {
    -moz-appearance: textfield;
}

/* ===================================== */
/* CONTACT SECTION */
/* ===================================== */

.contact-section {
    position: relative;
    background: linear-gradient(rgba(20, 20, 25, 0.88), rgba(20, 20, 25, 0.92)), 
                url('../assets/images/contact-form.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(249, 95, 25, 0.05);
}
/* El hover está definido en la sección MEJORA */

/* ===================================== */
/* FORM VALIDATION */
/* ===================================== */

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.form-check-label,
.text-readable {
    color: #e8e8e8;
    cursor: pointer;
}

.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.text-orange {
    color: var(--orange);
}

.text-orange:hover {
    color: #ff8c42;
}

.text-muted-custom {
    color: var(--gray-light);
}

/* ===================================== */
/* WHATSAPP FLOAT BUTTON */
/* ===================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5),
                0 0 30px rgba(37, 211, 102, 0.3);
    /* MEJORA: Usamos variable para z-index */
    z-index: var(--z-fixed);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6),
                0 0 40px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ===================================== */
/* HONEYPOT */
/* ===================================== */

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ===================================== */
/* BACK TO TOP - CIRCULAR */
/* ===================================== */

.back-to-top-circular {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translate3d(0, 20px, 0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* MEJORA: Usamos variable para z-index */
    z-index: var(--z-fixed);
    background: radial-gradient(circle at center, rgba(249, 95, 25, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.back-to-top-circular.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translate3d(0, 0, 0);
}

.scroll-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateText 15s linear infinite;
    filter: drop-shadow(0 0 8px rgba(249, 95, 25, 0.4));
}

.scroll-text text {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.5px;
    fill: var(--orange);
    text-transform: uppercase;
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.circle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 6px rgba(249, 95, 25, 0.3));
}

.progress-ring .background {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.progress-ring .progress {
    fill: none;
    stroke: var(--orange);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 0.3s ease;
    stroke-linecap: round;
}

.arrow {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(249, 95, 25, 0.3));
    transition: all 0.3s ease;
}

.back-to-top-circular:hover {
    transform: scale(1.1) translate3d(0, -5px, 0);
}

.back-to-top-circular:hover .scroll-text {
    animation-duration: 8s;
}

.back-to-top-circular:hover .scroll-text text {
    fill: var(--red);
}

.back-to-top-circular:hover .progress-ring .progress {
    stroke: var(--red);
    stroke-width: 2.5;
}

.back-to-top-circular:hover .arrow {
    transform: translate3d(0, -2px, 0);
}

.back-to-top-circular:active {
    transform: scale(0.95) translate3d(0, 0, 0);
}

.back-to-top-circular::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: conic-gradient(from 0deg, transparent, rgba(249, 95, 25, 0.3), rgba(249, 95, 25, 0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.back-to-top-circular:hover::before {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================== */
/* SECTION PARTICLES */
/* ===================================== */

.section-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(249, 95, 25, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(195, 51, 9, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about-section .container,
#proceso .container,
.service-section .container,
.why-choose-section .container,
.guides-section .container,
.calculator-section .container,
.contact-section .container {
    position: relative;
    z-index: 2;
}

/* ===================================== */
/* COOKIE BANNER */
/* ===================================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 95, 25, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    /* MEJORA: Usamos variable para z-index */
    z-index: var(--z-cookie-banner);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Inter', sans-serif;
    display: none;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-icon {
    font-size: 24px;
    text-align: center;
}

.cookie-text h4 {
    color: #f95f19;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-link {
    color: #f95f19;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #ff7b47;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.cookie-buttons button {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
    min-width: 120px;
}

.btn-accept {
    background: #f95f19;
    color: white;
}

.btn-accept:hover {
    background: #e04e0e;
    transform: translateY(-1px);
}

.btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-settings {
    background: transparent;
    color: #f95f19;
    border: 1px solid #f95f19 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-settings:hover {
    background: rgba(249, 95, 25, 0.1);
}

.cookie-settings {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cookie-settings.show {
    display: block;
    opacity: 1;
    max-height: 800px;
}

.cookie-settings h4 {
    color: #f95f19;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.settings-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.category-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.category-header input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #f95f19;
}

.category-header input[type="checkbox"]:disabled {
    accent-color: #666;
}

.category-name {
    color: white;
    font-weight: 500;
    font-size: 15px;
}

.badge-required {
    margin-left: auto;
    background: rgba(249, 95, 25, 0.2);
    color: #f95f19;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.category-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-save {
    background: #f95f19;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-save:hover {
    background: #e04e0e;
    transform: translateY(-1px);
}

.btn-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================== */
/* OPTIMIZACIÓN MÓVIL */
/* ===================================== */

@media (max-width: 1024px) {
    /* Desactivar background-attachment: fixed en tablets/móviles */
    .hero-section,
    .about-section,
    #proceso,
    .service-section,
    .why-choose-section,
    .guides-section,
    .calculator-section,
    .contact-section,
    section:has(.cta-banner) {
        background-attachment: scroll !important;
    }
    
    /* Desactivar backdrop-filter en tablets (mejor rendimiento) */
    .glass-card,
    .navbar-glass,
    .process-card,
    .benefit-card,
    .service-card,
    .guide-card,
    .contact-info-card,
    .accordion-glass,
    .cta-banner,
    section .cta-banner {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Reducir animaciones */
    .hero-glow {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 50px;
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
        text-align: center;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats,
    .hero-buttons {
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .service-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .accordion-button-glass {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .brands-banner-container {
        height: 35px;
    }
    
    .brand-logo {
        height: 16px;
        max-width: 40px;
    }
    
    .image-container {
        margin-top: 2rem;
        height: auto;
        min-height: 300px;
    }
    
    .image-container img {
        height: 200px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .about-section,
    #proceso,
    .service-section,
    .why-choose-section,
    .guides-section,
    .calculator-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .back-to-top-circular {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .circle-container {
        width: 45px;
        height: 45px;
    }
    
    .arrow {
        width: 16px;
        height: 16px;
    }
    
    .scroll-text text {
        font-size: 6px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-glass-primary,
    .btn-glass-outline {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .cta-banner,
    section .cta-banner {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    section:has(.cta-banner) {
        padding: 60px 0;
    }
    
    /* Reducir motion en móvil */
    * {
        animation-duration: 0.5s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Simplificar sombras */
    .glass-card,
    .process-card,
    .benefit-card,
    .service-card,
    .guide-card,
    .contact-info-card {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .glass-card:hover,
    .process-card:hover,
    .benefit-card:hover,
    .service-card:hover,
    .guide-card:hover,
    .contact-info-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
        transform: translate3d(0, -2px, 0) !important;
    }
    
    /* Desactivar particles */
    .section-particles::before {
        display: none;
    }
    
    /* Simplificar gradientes */
    .gradient-text,
    .stat-number,
    .logo-text {
        filter: none !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .accordion-button-glass {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .image-container {
        height: 300px;
    }
    
    .brands-banner-container {
        height: 32px;
    }
    
    .brand-logo {
        height: 14px;
        max-width: 35px;
    }
    
    .back-to-top-circular {
        width: 50px;
        height: 50px;
    }
    
    .circle-container {
        width: 40px;
        height: 40px;
    }
    
    .cta-banner,
    section .cta-banner {
        padding: 1.5rem 1rem;
    }
}

/* Cookie banner responsive */
@media (max-width: 480px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        min-width: auto;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
}

/* ===================================== */
/* ACCESSIBILITY */
/* ===================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn-glass-primary,
    .btn-glass-outline,
    .accordion-button-glass {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .glass-card:hover,
    .process-card:hover,
    .benefit-card:hover,
    .service-card:hover {
        transform: none !important;
    }
}

/* ===================================== */
/* LOADING STATES */
/* ===================================== */

body.loading {
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================== */
/* FIN DEL ARCHIVO */
/* ===================================== */

/* MEJORA: Aplicamos la clase base a las tarjetas interactivas */
.glass-card, .process-card, .service-card, .benefit-card, .guide-card, .contact-info-card {
    /* Los estilos base de cada tarjeta ya están definidos arriba */
    /* Añadimos la clase de hover base */
    /* Esto se podría hacer mejor en el HTML añadiendo la clase directamente, pero para mantener todo en un archivo CSS, se usa esta aproximación */
}
.glass-card:hover, .process-card:hover, .service-card:hover, .benefit-card:hover, .guide-card:hover, .contact-info-card:hover {
    /* Aplicamos los estilos del hover base */
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(249, 95, 25, 0.15);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 95, 25, 0.4);
}
/* Sobreescribimos los casos específicos */
.process-card:hover {
    transform: translate3d(0, -10px, 0);
}

/* ============================================
   SECCIÓN INTERACTIVA DE MARCAS - GER LUXURY CARS
   Copiar este código en tu archivo style.css
   ============================================ */

/* Contenedor de la imagen principal con transición suave */
.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Estilos base para todas las imágenes de vehículos */
.main-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Imagen activa visible */
.main-vehicle-image.active {
    opacity: 1;
    z-index: 1;
}

/* Pausar animación del banner al hacer hover */
.brands-banner-track:hover {
    animation-play-state: paused;
}

/* Actualizar estilos del contenedor de logos para interactividad */
.brand-logo-container {
    flex-shrink: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

/* Efecto hover mejorado en logos */
.brand-logo-container:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Logo de marca activa */
.brand-logo-container.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.8);
}

/* Estilos para las imágenes de logos con transición */
.brand-logo {
    height: 24px;
    width: auto;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

/* Brillo en hover */
.brand-logo-container:hover .brand-logo {
    filter: brightness(1.2);
}

/* Indicador de marca activa (opcional) */
.brand-indicator {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-light, #b0b0b0);
    min-height: 20px;
    transition: all 0.3s ease;
}

/* Responsive: ajustar altura de imagen en móviles */
@media (max-width: 768px) {
    .main-image-wrapper {
        height: 180px;
    }
    
    .brand-logo-container {
        padding: 0.6rem 1.2rem;
    }
    
    .brand-logo {
        height: 20px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .main-image-wrapper {
        height: 200px;
    }
}
.grecaptcha-badge {
    visibility: hidden;
}