/* Variables de Color */
:root {
    --primary-color: #0A192F; 
    --secondary-color: #8C92AC; 
    --accent-color: #e77a0d; 
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f7f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Header Fijo y Transparente al inicio */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.top-bar {
    background-color: transparent; 
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
    transition: background-color 0.4s ease; 
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
}

html {
    scroll-behavior: smooth;
    /* Añade esta línea: ajusta los 100px según el alto de tu menú */
    scroll-padding-top: 140px; 
}

/* Solo para la sección con id="inventory" */
#inventory {
    scroll-margin-top: 50px;
}

.Ajuste3 {
 font-size: 23px;  
}

.Ajuste4 {
 font-size: 20px;  
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: transparent; 
    position: relative; 
    transition: background-color 0.4s ease; 
}

/* Clases dinámicas que se activan al hacer scroll */
header.scrolled .top-bar {
    background-color: #050d1a; 
}

header.scrolled .navbar {
    background-color: var(--primary-color); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

.logo img {
    height: 90px;
	margin-top: -11px;
	margin-bottom: -15px;
	
}

/* Estilos de navegación por defecto (Desktop) */
.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links a.btn-nav:hover {
    background-color: #c6690b; /* Naranja oscuro */
    color: #fff !important;    /* Mantiene el texto blanco */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-color);
}
.btn-nav {
    background-color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 5px;
}

/* 2. Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-top: 0; 
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.4); 
    z-index: -1;
}
.hero-content {
    z-index: 1; 
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 10px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }
.btn-primary {
    display: inline-block; background-color: var(--accent-color);
    color: white; padding: 15px 30px; text-decoration: none;
    border-radius: 5px; font-size: 1.1rem; font-weight: bold;
    border: none; cursor: pointer; transition: background 0.3s;
}
.pulse-effect { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 122, 13, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(231, 122, 13, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 122, 13, 0); }
}

.section-title { text-align: center; margin-bottom: 40px;margin-top: 10px; }
.section-title1 { margin-top: 0px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-color); }
section { padding: 80px 0; }

/* 3. Inventory (Marcas en color original) */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
	margin-top: 0px;
    margin-bottom: 30px;
}
.brand-item img {
    width: 100%;
    max-width: 120px;
    transition: transform 0.3s ease; 
    margin: 0 auto;
    display: block;
}
.brand-item:hover img {
    transform: scale(1.1); 
}

/* 4. About Us */
.intermedio-img { max-width: 100%; height: auto; margin-bottom: 0px; margin-top: -85px; display: inline-block; }
#about { background: linear-gradient(135deg, var(--primary-color), #1a365d); color: var(--text-light); }
#about .section-title h2 { color: var(--text-light); }
.subtitle-highlight { margin-top: 8px;font-style: italic; font-size: 1.2rem; color: var(--secondary-color); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.glass {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 30px;
    border-radius: 15px; text-align: center;
}
.glass i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; }

/* =========================================
   DEALER PARTNERSHIP PROGRAM
   ========================================= */
#partnership {
    padding: 80px 0;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.partnership-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efecto hover elegante */
.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Barra decorativa superior animada */
.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.partnership-card:hover::before {
    transform: scaleX(1);
}

.icon-plan {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.partnership-card h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    line-height: 1.5;
    font-weight: 700;
}

.partnership-cta {
    margin-top: 50px;
    text-align: center; /* Fuerza el centrado en cualquier pantalla */
    width: 100%; /* Asegura que no se achique hacia la izquierda */
    padding: 0 15px; /* Da un margen de respiro para que no toque los bordes */
    box-sizing: border-box; /* Evita que el padding sume ancho y lo corte */
	margin-bottom: -80px;
}

.partnership-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #4a5568;
    /* Un pequeño ajuste para móviles: */
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
}


/* 5. Location */
.map-container { position: relative; }
.floating-card {
    position: absolute; 
    top: 50%; /* Centrado vertical */
    transform: translateY(-50%); /* Ajuste exacto al centro de su altura */
    left: 20px; 
    background: rgba(10, 25, 47, 0.9);
    color: white; 
    padding: 20px; 
    border-radius: 10px; 
    width: 300px;
}
.floating-card h3 { margin-bottom: 15px; color: var(--accent-color); }
.floating-card p { margin-bottom: 10px; }

/* 6. Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.social-btn {
    display: block; width: fit-content; padding: 10px 20px; margin-bottom: 15px;
    border-radius: 5px; color: white; text-decoration: none; font-weight: bold;
}
.ajuste1 {margin-top:5px; margin-bottom: 13px;}
.ajuste2 {margin-top:0px; margin-bottom: 100px;}
.whatsapp { background-color: #25D366; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.facebook { background-color: #1877F2; }

.w-100 { width: 100%; }

/* --- MEJORAS DEL FORMULARIO DE CONTACTO (SKINET) --- */
.contact-form-container {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra profesional y elegante */
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group { 
    margin-bottom: 24px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #4a5568; 
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea {
    width: 100%; 
    padding: 14px 16px; 
    border: 2px solid #e2e8f0; 
    border-radius: 8px; 
    font-size: 1rem;
    background-color: #f8fafc; 
    transition: all 0.3s ease; 
    outline: none; 
    color: var(--text-dark);
}

/* Efecto Hover */
.form-group input:hover, 
.form-group textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

/* Efecto Focus (Resplandor profesional) */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(231, 122, 13, 0.15); 
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Efecto avanzado para el botón dentro del formulario */
.contact-form-container .btn-primary {
    margin-top: 10px;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-form-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 122, 13, 0.35);
    background-color: #c6690b;
}
/* -------------------------------------------------- */

/* =========================================
   7. FOOTER REDISEÑADO (SKINET PREMIUM)
   ========================================= */
.modern-footer { 
    background-color: #020617; /* Azul/Negro más profundo y corporativo */
    color: #94a3b8; 
    padding: 70px 0 0 0; 
    border-top: 4px solid var(--accent-color);
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 50px; 
}

/* Columna 1: Marca */
.footer-logo { width: 160px; margin-bottom: 20px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); margin: 0 auto 20px auto; display: block;}
.brand-col p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 25px; text-align: center; }

.footer-socials { display: flex; gap: 12px; justify-content: center;}
.footer-social-icon {
    display: flex; justify-content: center; align-items: center;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff; border-radius: 50%;
    text-decoration: none; font-size: 1.1rem;
    transition: all 0.3s ease;
}
.footer-social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(231, 122, 13, 0.4);
}

/* Títulos de columnas */
.footer-col h4 { 
    color: #ffffff; 
    font-size: 1.2rem; 
    margin-bottom: 25px; 
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: ''; position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Listas de Enlaces */
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 15px; }
.footer-links-list li a { 
    color: #94a3b8; 
    text-decoration: none; 
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}
.footer-links-list li a i {
    font-size: 0.8rem;
    margin-right: 10px;
    color: var(--accent-color);
    transition: transform 0.3s;
}
.footer-links-list li a:hover { color: #fff; transform: translateX(5px); }
.footer-links-list li a:hover i { transform: translateX(3px); }

/* Lista de Contacto */
.footer-contact-list { list-style: none; }
.footer-contact-list li {
    display: flex; align-items: flex-start;
    margin-bottom: 18px; font-size: 0.95rem; line-height: 1.5;
}
.footer-contact-list li i {
    color: var(--accent-color);
    margin-top: 3px; margin-right: 15px;
    font-size: 1.1rem;
}

/* --- Acordeón del Footer (NUEVO DISEÑO) --- */
.footer-legal-section {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 20px;
}
.accordion-wrapper { max-width: 800px; margin: 0 auto; }
.accordion-header-title { text-align: center; color: white; margin-bottom: 20px; font-weight: 500;}
.accordion-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:hover { border-color: rgba(255, 255, 255, 0.1); }
.accordion-button {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 18px 25px;
    text-align: left; font-size: 1rem; font-weight: 600;
    color: #e2e8f0; background-color: transparent; border: none;
    cursor: pointer; transition: color 0.3s ease, padding-left 0.3s ease;
}
.accordion-button:hover { color: #fff; padding-left: 30px; }
.accordion-icon {
    flex-shrink: 0; width: 20px; height: 20px;
    transition: transform 0.3s ease; color: var(--accent-color);
}
.accordion-button.open .accordion-icon { transform: rotate(180deg); }
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: transparent;
}
.accordion-content .content-inner {
    padding: 0 25px 25px 25px;
    color: #94a3b8; font-size: 0.9rem; line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.02);
    margin-top: 10px; padding-top: 15px;
}
.accordion-content .content-inner p { margin-bottom: 10px; }
.accordion-content .content-inner h4 {
    font-weight: bold; color: white; margin-top: 15px; margin-bottom: 8px;
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0; text-align: center;
    font-size: 0.9rem; color: #64748b;
}

/* =========================================
   8. Responsive General (Ajustes Footer)
   ========================================= */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
	.partnership-grid { grid-template-columns: repeat(2, 1fr); } /* Nuevo */
}

@media (max-width: 768px) {
    .brands-grid { grid-template-columns: repeat(3, 1fr); } 
    .features-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
	.partnership-grid { grid-template-columns: 1fr; } /* Nuevo */
    
    /* Reseteo del transform para la tarjeta flotante en móviles */
    .floating-card { position: relative; width: 100%; top: 0; left: 0; border-radius: 0; transform: none; }
    
    /* Responsive Navigation */
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        gap: 0;
    }
    .nav-links.active {
        max-height: 300px; 
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links li { width: 100%; padding: 15px 0; }
    .nav-links a.btn-nav { display: inline-block; margin-top: 10px; }
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contenedor de las nuevas tarjetas sociales */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateX(10px);
}

.social-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-right: 15px;
}

.social-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.social-text span {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-text small {
    color: #1c1b1b;
	font-size: 0.8rem;
}

/* Botón de acceso directo */
.btn-direct {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-direct:hover {
    background-color: #c6690b;
}

/* Ajuste para móviles */
@media (max-width: 480px) {
    .social-card {
        padding: 10px;
    }
    .social-icon-img {
        width: 35px;
        height: 35px;
    }
}

/* Reemplaza tus reglas anteriores de popup por estas */
#popup-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Estado oculto con mayor especificidad */
#popup-inner.popup-hidden {
    opacity: 0 !important;
    transform: translateY(-100px) !important;
}

/* Asegurar que la insignia de reCAPTCHA esté oculta */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* Formato para el Disclaimer de reCAPTCHA */
.recaptcha-disclaimer {
    text-align: center;
    font-size: 11px; /* Letra pequeña y discreta */
    color: #94a3b8;  /* Un gris azulado elegante (Slate 400) */
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10px;
    display: block; /* Asegura que ocupe su propia línea */
}

.recaptcha-disclaimer a {
    color: #64748b; /* Un gris un poco más oscuro para los enlaces */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recaptcha-disclaimer a:hover {
    color: var(--accent-color); /* Cambia al azul de EZ CAR al pasar el mouse */
    text-decoration: underline;
}


/* --- DISEÑO ESTILIZADO LIGHT (SKINET PREMIUM) --- */
.bg-light-section {
    background-color: #f8fafc;
    padding: 80px 0;
    color: #1e293b;
}

.text-primary-dark { color: #0A192F; font-weight: 700; }
.text-subtitle { color: #64748b; font-style: italic; margin-top: 5px; }

/* Grid de Inventario */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 20px 15px; /* Espacio para que el borde superior sea visible */
    transition: opacity 0.4s ease;
}

/* Tarjetas Estilizadas */
.stylized-card {
    background: #ffffff;
    /* Borde fino de 1.5px con una opacidad suave del azul primario */
    border: 1.5px solid rgba(10, 25, 47, 0.15); 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* IMPORTANTE: Cambiamos a visible para que el borde y la sombra 
       no se corten en la parte superior */
    overflow: visible; 
    position: relative;
}

.stylized-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color); /* Cambio de color de borde */
    border-width: 2px; /* Opcional: engrosar ligeramente en hover para dar énfasis */
    box-shadow: 0 15px 35px rgba(231, 122, 13, 0.2);
}

.card-img-container {
    height: 320px; /* Un poco más alto que la imagen para dar margen */
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0; /* Mantiene las esquinas redondeadas arriba */
    overflow: hidden; /* Aquí sí recortamos para que la foto no tape el borde curvo */
}

.card-img-container img {
    width: 100%;
    height: 304px; /* Tu medida deseada */
    object-fit: contain;
}

.card-info { padding: 20px; }
.card-info h3 { color: #0A192F; margin-bottom: 10px; font-size: 1.3rem; }
.card-info p { color: #64748b; font-size: 0.95rem; line-height: 1.4; margin-bottom: 20px; }

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
}

.price-light { color: var(--accent-color); font-weight: 800; font-size: 1.4rem; }
.btn-view-dark { color: #0A192F; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* --- Lógica de Transición Lateral --- */
.inventory-wrapper { position: relative; overflow: hidden; min-height: 500px; }

.detail-view {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.hidden-slide {
    display: none;
    transform: translateX(100%);
    opacity: 0;
}

.visible-slide {
    display: block;
    transform: translateX(0);
    opacity: 1;
}

/* Galería / Slider */
.detail-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin-top: 20px; }

.gallery-container-light {
    position: relative;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 95%; max-height: 95%; object-fit: contain; cursor: zoom-in; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(10, 25, 47, 0.8); color: #fff; border: none;
    width: 45px; height: 45px; border-radius: 50%; cursor: pointer; z-index: 10;
}
.prev { left: 15px; } .next { right: 15px; }

.slider-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(10, 25, 47, 0.2); cursor: pointer; }
.dot.active { background: var(--accent-color); width: 25px; border-radius: 10px; }

.info-sidebar-light { padding: 30px; border-radius: 15px; background: #fff; border: 1px solid #e2e8f0; }
.price-tag-dark { font-size: 2.5rem; font-weight: 800; color: #0A192F; margin: 20px 0; }
.btn-back-light { background: #0A192F; color: #fff; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* Lightbox Modal */
.lightbox-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); display: none; align-items: center; justify-content: center;
    z-index: 10000; cursor: zoom-out;
}
.lightbox-modal.active { display: flex; animation: fadeIn 0.3s; }
.lightbox-modal img { max-width: 90%; max-height: 85%; object-fit: contain; border-radius: 5px; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 992px) {
    .inventory-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .inventory-grid { grid-template-columns: 1fr; }
    .gallery-container-light { height: 300px; }
}


/*************************************************************/
/* Estilo para el cuadro de advertencia AS IS en el acordeón */
.disclosure-box-red {
    background-color: rgba(217, 83, 79, 0.1); /* Rojo muy suave */
    border-left: 4px solid #d9534f;
    padding: 20px;
    margin: 15px 0;
    border-radius: 4px;
}

.disclosure-box-red h4 {
    color: #ff6b6b !important; /* Color de título resaltado */
    margin-top: 0 !important;
    text-transform: uppercase;
    font-weight: 800;
}

.disclosure-box-red p, .disclosure-box-red li {
    font-size: 0.9em;
    line-height: 1.5;
}

/* Ajuste general para listas dentro de acordeones */
.content-inner h4 {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #fff; /* Asegura visibilidad en el footer oscuro */
}

.content-inner p, .content-inner li {
    margin-bottom: 10px;
}




/***************************************************************/
/* Aseguramos que el contenedor sea la referencia de posición */
.card-img-container {
    position: relative; /* Esto permite que el badge se posicione respecto al cuadro */
}

/* Estilo para la etiqueta de Vendido */
.sold-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado matemático perfecto */
    width: 60%; /* Ajusta este porcentaje según el tamaño que prefieras */
    z-index: 10; /* Asegura que esté por encima de la foto del auto */
    pointer-events: none; /* Importante: permite que el clic pase a través y abra el detalle */
    opacity: 0.9; /* Opcional: un toque de transparencia para que se vea el auto detrás */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); /* Sombra para que resalte */
}




