/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores corporativos */
    --primary-blue: #3D5FAC;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    
    /* Colores secundarios */
    --secondary-dark-blue: #14264D;
    --secondary-light-blue: #7286B5;
    --secondary-gray: #747474;
    
    /* Tipografía */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
      
    /* Espaciado */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
    
    /* Sombras */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

/* ===== ESTILOS GENERALES ===== */
body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== NAVEGACIÓN CON EFECTOS MEJORADOS - BARRA MÁS ABAJO ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-white);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    transition: var(--transition-fast);
    padding: 8px 0; /* NUEVO: Padding agregado para bajar la barra */
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    height: 90px; /* AUMENTADO: Era 80px, ahora 90px para más espacio */
    gap: 3rem; /* AUMENTADO: Más espacio entre logo y navegación */
}

/* ===== NAVEGACIÓN ACTUALIZADA ===== */
.nav-button {
    display: flex;
    align-items: center;
    gap: 15px; /* AUMENTADO: Mayor separación entre botones */
}

/* ===== BOTÓN MERCADOLIBRE - DISEÑO DISCRETO ===== */
.btn-mercadolibre {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 20px !important; /* AUMENTADO: Más padding para consistencia */
    background: var(--primary-white) !important; /* CAMBIADO: Fondo blanco discreto */
    color: var(--primary-black) !important; /* CAMBIADO: Texto negro */
    text-decoration: none !important;
    border: 2px solid #e5e7eb !important; /* CAMBIADO: Borde gris sutil */
    border-radius: 8px !important; /* CAMBIADO: Bordes redondeados como otros botones */
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: none !important; /* CAMBIADO: Sin mayúsculas */
    letter-spacing: 0 !important; /* CAMBIADO: Sin espaciado extra */
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-mercadolibre:hover {
    background: #f8f9fa !important; /* CAMBIADO: Hover sutil gris */
    color: var(--primary-black) !important;
    border-color: var(--primary-blue) !important; /* CAMBIADO: Borde azul en hover */
    transform: translateY(-1px) !important; /* CAMBIADO: Movimiento sutil */
    box-shadow: var(--shadow-light) !important; /* CAMBIADO: Sombra sutil */
}

.btn-mercadolibre:focus {
    box-shadow: 0 0 0 3px rgba(61, 95, 172, 0.1) !important; /* CAMBIADO: Focus azul */
    outline: none !important;
    border-color: var(--primary-blue) !important;
}

.btn-mercadolibre:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* ===== ICONO DE MERCADOLIBRE - ANTES DEL TEXTO ===== */
.btn-mercadolibre i {
    font-size: 1.1rem !important;
    color: #3483fa !important; /* Color oficial de MercadoLibre */
}

/* Si quieres usar el logo SVG en lugar del icono, descomenta esto:
.btn-mercadolibre::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMTMuMDkgOC4yNkwyMCA5TDEzLjA5IDE1Ljc0TDEyIDIyTDEwLjkxIDE1Ljc0TDQgOUwxMC45MSA4LjI2TDEyIDJaIiBmaWxsPSIjMzQ4M0ZBIi8+Cjwvc3ZnPgo=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}
*/

/* LOGO LARROSA */
.nav-logo .logo {
    height: 85px; /* AUMENTADO: Era 75px, ahora más grande */
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

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

/* ===== CORRECCIÓN FORZADA DE NAVEGACIÓN - AGREGARLO AL FINAL DE main.css ===== */

/* ELIMINAR todos los estilos anteriores de .nav-link y reemplazar con estos */

/* Reset completo de navegación */
.navbar .nav-menu .nav-link {
    all: unset !important;
    display: inline-block !important;
    text-decoration: none !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-family: 'Roboto', sans-serif !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 1rem 0.8rem 1rem !important;
    border-radius: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

/* Hover - mantener negro */
.navbar .nav-menu .nav-link:hover {
    color: #000000 !important;
    background: transparent !important;
    transform: translateY(-1px) !important;
}

/* Active - mantener negro y negritas */
.navbar .nav-menu .nav-link.active {
    color: #000000 !important;
    background: transparent !important;
    font-weight: 700 !important;
}

/* Barra azul inferior */
.navbar .nav-menu .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 1px !important;
    left: 50% !important;
    width: 0 !important;
    height: 3px !important;
    background: #3D5FAC !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
}

.navbar .nav-menu .nav-link:hover::after,
.navbar .nav-menu .nav-link.active::after {
    width: 80% !important;
}

/* EXTRA: Forzar para todos los nav-item también */
.navbar .nav-item .nav-link {
    color: #000000 !important;
    font-weight: 700 !important;
}

.navbar .nav-item .nav-link:hover {
    color: #000000 !important;
}

.navbar .nav-item .nav-link.active {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Asegurar que no haya estilos heredados que interfieran */
.navbar .nav-menu a {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Si hay un contenedor nav-container */
.nav-container .nav-link {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* ===== RESPONSIVE - MANTENER ESTILOS EN MÓVIL ===== */
@media (max-width: 768px) {
    .navbar .nav-menu .nav-link {
        color: #000000 !important;
        font-weight: 700 !important;
        padding: 1rem !important;
    }
}

/* ===== DEBUGGING - PUEDES COMENTAR ESTO DESPUÉS ===== */
/* Esto te ayudará a ver qué elemento está causando el problema */
/*
.nav-link {
    border: 2px solid red !important;
    background: yellow !important;
}
*/



/* LOGO RANDON - MANTENER ESTILO ORIGINAL */
.nav-button .btn-special {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-button .btn-special:hover {
    background: transparent;
    border-color: var(--primary-blue);
    transform: scale(1.08);
}

.btn-icon {
    width: 80px;
    height: 50px;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

/* Hamburger menu para móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* ===== SECCIÓN HERO - AJUSTADA PARA NUEVA ALTURA DEL NAV ===== */

.hero-section {
    position: relative;
    height: 70vh;
    max-height: 650px; /* Limita altura máxima en pantallas grandes */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 98px;
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 90%;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px !important;

    /* Cover para llenar el espacio */
    object-fit: cover;
    object-position: center 40%; /* Ajustado para mostrar mejor el contenido */
    z-index: -2;

    /* Evitar interacción con el video */
    pointer-events: none;
    user-select: none;
}

/* ===== MANTENER TU CÓDIGO EXISTENTE PARA COMPATIBILIDAD CON IMÁGENES ===== */
/* (No elimines .hero-image, por si necesitas volver a usar imágenes) */

/* ===== RESPONSIVE PARA VIDEO ===== */
@media (max-width: 768px) {
    .hero-video {
        height: 500px !important; /* Tablet: proporcionalmente ajustado */
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-video {
        height: 400px !important; /* Móvil: proporcionalmente ajustado */
        object-position: center center;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* SIN FILTRO */
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 20%;
    left: 5%;
    text-align: left;
    color: var(--primary-white);
    z-index: 1;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: left;
}
/* ===== TEXTO SOBRE EL VIDEO - "DESDE 1977" ===== */
/* ===== TEXTO SOBRE EL VIDEO - "DESDE 1977" - SIN SOMBRA ===== */
.hero-text-overlay {
    position: absolute;
    bottom: 120px;
    left: calc((100% - 1200px) / 2 + 20px); /* Alineado con el navbar */
    z-index: 5;
    text-align: left;
    max-width: 1200px;
    white-space: nowrap;
}

/* "Desde 1977" - texto pequeño arriba */
.hero-year {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary-white);
    margin: 0 0 0.2rem 0;
    color: var(--primary-white);
    /* text-shadow eliminado */
    letter-spacing: 0.5px;
    line-height: 1;
    opacity: 1;
}

/* "Comercializando camiones" - texto MÁS PEQUEÑO EN UNA LÍNEA */
.hero-main-title {
    font-family: var(--font-primary);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-white);
    margin: 0;
    /* text-shadow eliminado */
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}


/* ===== RESPONSIVE PARA EL TEXTO ===== */
@media (max-width: 1400px) {
    .hero-text-overlay {
        bottom: 75px;
        left: calc((100% - 1200px) / 2 + 20px); /* Alineado con el navbar */
        max-width: 1000px;
    }
    
    .hero-year {
        font-size: 1.2rem;
    }
    
    .hero-main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .hero-text-overlay {
        bottom: 70px;
        left: 20px; /* Alineado con el padding del navbar */
        max-width: 800px;
    }
    
    .hero-year {
        font-size: 1.1rem;
    }
    
    .hero-main-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hero-text-overlay {
        bottom: 60px;
        left: 20px; /* Alineado con el padding del navbar */
        max-width: 90%;
    }
    
    .hero-year {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        white-space: normal; /* PERMITIR SALTO en móvil */
    }
}

@media (max-width: 480px) {
    .hero-text-overlay {
        bottom: 50px;
        left: 15px; /* Alineado con el padding del navbar en móvil */
    }
    
    .hero-year {
        font-size: 0.9rem;
    }
    
    .hero-main-title {
        font-size: 1.4rem;
        letter-spacing: 0.3px;
        white-space: normal;
    }
}


.hero-section .category-buttons {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--primary-blue) !important;
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
    padding: 25px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Botones individuales - NUEVOS ESTILOS BLANCOS */
.hero-section .category-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #e5e7eb !important;
    padding: 18px 22px !important; /* Tamaño fijo para consistencia */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 190px !important; /* Tamaño fijo óptimo para todas las pantallas */
    height: 65px !important; /* Tamaño fijo óptimo */
    border-radius: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    flex-shrink: 0 !important;
    gap: 15px !important;
}

/* NUEVO: Estado hover - Gris */
.hero-section .category-btn:hover {
    background: #f3f4f6 !important; /* CAMBIADO: Fondo gris claro en hover */
    color: #374151 !important; /* CAMBIADO: Texto gris oscuro en hover */
    border-color: #d1d5db !important; /* CAMBIADO: Borde gris en hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; /* CAMBIADO: Sombra más suave */
}

/* Flecha derecha - ACTUALIZADA CON FONT AWESOME */
.hero-section .category-btn::after {
    content: '\f061' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    color: #6b7280 !important;
    transition: color 0.3s ease !important;
}

.hero-section .category-btn:hover::after {
    color: #374151 !important;
}

/* IMÁGENES - SIN CAMBIOS MAYORES */
.hero-section .category-icon {
    width: 60px !important;
    height: 55px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    transition: var(--transition-fast) !important;
    filter: none !important;
    opacity: 0.8 !important; /* CAMBIADO: Ligeramente transparente por defecto */
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.hero-section .category-btn:hover .category-icon {
    opacity: 1 !important; /* CAMBIADO: Opacidad completa en hover */
    transform: scale(1.05) !important; /* CAMBIADO: Escala más sutil */
}

/* TEXTO - ACTUALIZADO */
.hero-section .category-btn span {
    font-family: var(--font-secondary) !important;
    font-size: 0.85rem !important;
    color: #374151 !important; /* CAMBIADO: Color gris oscuro por defecto */
    transition: color 0.3s ease !important;
    font-weight: 600 !important;
    text-align: left !important;
    line-height: 1.1 !important;
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hero-section .category-btn:hover span {
    color: #1f2937 !important; /* CAMBIADO: Color más oscuro en hover */
}

/* ===== ESTADOS ADICIONALES ===== */

/* Estado activo/presionado */
.hero-section .category-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    background: #e5e7eb !important;
}

.hero-section .category-btn:focus-visible {
    outline: none !important;
}

/* ===== VARIANTE ALTERNATIVA - MÁS CONTRASTE ===== */
/* Si prefieres un hover más contrastante, descomenta estas líneas: */

/*
.hero-section .category-btn:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    border-color: #9ca3af !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

.hero-section .category-btn:hover::after {
    color: #111827 !important;
}

.hero-section .category-btn:hover span {
    color: #111827 !important;
}
*/

/* ===== RESPONSIVE ACTUALIZADO ===== */
@media (max-width: 1024px) {
    .hero-section .category-buttons {
        gap: 18px !important;
        padding: 22px !important;
    }
    
    .hero-section .category-btn {
        width: 180px !important;
        height: 68px !important;
        padding: 15px 18px !important;
        gap: 12px !important;
        background: #ffffff !important; /* MANTENER: Fondo blanco */
    }
    
    .hero-section .category-btn:hover {
        background: #f3f4f6 !important; /* MANTENER: Hover gris */
    }
    
    .hero-section .category-icon {
        width: 50px !important;
        height: 45px !important;
    }
    
    .hero-section .category-btn span {
        font-size: 0.8rem !important;
        color: #374151 !important; /* MANTENER: Color gris */
    }
    
    .hero-section .category-btn::after {
        right: 15px !important;
        font-size: 18px !important;
        color: #6b7280 !important; /* MANTENER: Color gris */
    }
}

@media (max-width: 768px) {
    .hero-section .category-buttons {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 8px 5px !important;
        gap: 5px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-section .category-btn {
        width: auto !important;
        min-width: 80px !important;
        max-width: 95px !important;
        height: 40px !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 5px 8px !important;
        gap: 3px !important;
        background: #ffffff !important; /* MANTENER: Fondo blanco */
        border-color: #e5e7eb !important; /* MANTENER: Borde gris claro */
    }
    
    .hero-section .category-btn:hover {
        
        border: none !important; /* ELIMINADO EL BORDE */
        
    }
    
    .hero-section .category-btn::after {
        right: 18px !important;
        color: #6b7280 !important; /* MANTENER: Color gris */
    }
    
    .hero-section .category-btn:hover::after {
        color: #374151 !important; /* MANTENER: Hover más oscuro */
    }
    
    .hero-section .category-icon {
        width: 24px !important;
        height: 22px !important;
        margin-bottom: 0 !important;
        opacity: 0.8 !important;
    }

    .hero-section .category-btn:hover .category-icon {
        opacity: 1 !important;
    }

    .hero-section .category-btn span {
        font-size: 0.6rem !important;
        text-align: center !important;
        flex: none !important;
        color: #374151 !important; /* MANTENER: Color gris */
        line-height: 1.1 !important;
    }

    .hero-section .category-btn:hover span {
        color: #1f2937 !important; /* MANTENER: Hover más oscuro */
    }

    .hero-section .category-btn::after {
        display: none !important; /* Ocultar flecha en móvil */
    }
}

@media (max-width: 480px) {
    .hero-section .category-buttons {
        padding: 6px 3px !important;
        gap: 3px !important;
        max-width: 100% !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }

    .hero-section .category-btn {
        height: 35px !important;
        padding: 4px 6px !important;
        min-width: 65px !important;
        max-width: 75px !important;
        gap: 2px !important;
        background: #ffffff !important; /* MANTENER: Fondo blanco */
        flex-direction: column !important;
    }

    .hero-section .category-btn:hover {
        background: #f3f4f6 !important; /* MANTENER: Hover gris */
    }

    .hero-section .category-icon {
        width: 20px !important;
        height: 18px !important;
    }

    .hero-section .category-btn span {
        font-size: 0.55rem !important;
        color: #374151 !important; /* MANTENER: Color gris */
        text-align: center !important;
        line-height: 1 !important;
    }
    
    .hero-section .category-btn:hover span {
        color: #1f2937 !important; /* MANTENER: Hover más oscuro */
    }

    .hero-section .category-btn::after {
        display: none !important; /* Ocultar flecha en móvil */
    }
    
    .hero-section .category-btn:hover::after {
        color: #374151 !important; /* MANTENER: Hover más oscuro */
    }
}

/* ===== MEJORAS ADICIONALES ===== */

/* Mejor transición para todos los elementos */
.hero-section .category-btn,
.hero-section .category-btn::after,
.hero-section .category-btn span,
.hero-section .category-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Efecto de elevación más suave */
.hero-section .category-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

/* Sombra más realista */
.hero-section .category-btn {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.hero-section .category-btn:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

/* ===== ACCESIBILIDAD MEJORADA ===== */

/* Mejor contraste para lectores de pantalla */
.hero-section .category-btn[aria-pressed="true"] {
    background: #e5e7eb !important;
    border-color: var(--primary-blue) !important;
}

/* Estado disabled si fuera necesario */
.hero-section .category-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background: #f9fafb !important;
    color: #9ca3af !important;
}

.hero-section .category-btn:disabled:hover {
    transform: none !important;
    background: #f9fafb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* ===== INDICADOR VISUAL DE SELECCIÓN (OPCIONAL) ===== */
/* Si quieres que un botón muestre que está seleccionado */
.hero-section .category-btn.selected {
    background: #dbeafe !important;
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
}

.hero-section .category-btn.selected span {
    color: var(--primary-blue) !important;
}

.hero-section .category-btn.selected::after {
    color: var(--primary-blue) !important;
}

/* ===== SECCIÓN UNIDADES DESTACADAS - CENTRADO Y ESPACIADO CORREGIDO ===== */
.featured-units {
    padding: 20px 0 10px 0 !important; /* REDUCIDO: padding inferior de 30px a 10px */
    background: var(--primary-white);
    position: relative;
    margin-top: 0 !important;
}
.featured-units .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}




/* ===== TÍTULO "UNIDADES DESTACADAS" - CORREGIDO ===== */

.section-title-special {
    font-family: 'Roboto', sans-serif !important;
    font-size: 3rem !important;
    color: #9ca3af !important; /* MISMO GRIS PARA AMBAS PALABRAS */
    text-align: center !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    text-transform: none !important;
    font-weight: 300 !important; /* Peso ligero por defecto */
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    text-shadow: none !important; /* Sin sombra */
    word-spacing: -1.5em !important; /* REDUCIDO: más espacio negativo para acercar las palabras */
}

.section-title-special .word-normal {
    font-size: 1em !important;
    display: inline !important;
    font-weight: 300 !important; /* Peso ligero para "Unidades" */
    color: #9ca3af !important; /* MISMO GRIS */
    margin-right: 0.3em !important; /* Espacio entre palabras */
    font-family: 'Roboto', sans-serif !important;
}

.section-title-special .word-large {
    font-size: 1em !important;
    display: inline !important;
    margin-left: 0 !important;
    font-weight: 700 !important; /* MÁS GRUESO para "destacadas" */
    font-family: 'Roboto', sans-serif !important;
    color: #9ca3af !important; /* MISMO GRIS que word-normal */
}

/* ===== REDUCIR ESPACIO ARRIBA DE LA SECCIÓN ===== */
.featured-units {
    padding: 20px 0 10px 0 !important; /* REDUCIDO: padding inferior de 60px a 10px */
    background: var(--primary-white);
    position: relative;
    margin-top: 0 !important;
}

/* ===== ESPACIO ENTRE TÍTULO Y CARRUSEL ===== */
.carousel-container {
    margin-top: -10px !important; /* AGREGADO: acerca el carrusel al título */
}



/* CORREGIDO: Grid centrado con más espacio entre cards */
.units-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    margin-top: 0;
}

/* Cards más cuadradas y simples */
.unit-card {
    background: var(--primary-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-medium);
    aspect-ratio: 0.8;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    min-height: 320px;
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Imagen más cuadrada - SIN badges */
.unit-image {
    position: relative;
    height: 75%; /* Aumentado de 70% a 75% */
    overflow: hidden;
    background: #f8f9fa;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.unit-card:hover .unit-image img {
    transform: scale(1.03);
}

/* ELIMINAR todos los badges de estado */
.unit-status {
    display: none;
}

/* Información del vehículo - más compacta */
.unit-info {
    padding: 1.5rem 1.2rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* Título del vehículo */
.unit-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--primary-black);
    margin-bottom: 0.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

/* Detalles técnicos simplificados */
.unit-details {
    font-size: 0.85rem;
    color: var(--secondary-gray);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    text-align: center;
}

.unit-details .unit-year {
    font-weight: 400;
    color: var(--secondary-gray)}

/* Eliminar elementos innecesarios */
.unit-location {
    display: none;
}

.unit-price {
    display: none;
}

/* Botón VER UNIDAD centrado */
.unit-footer {
    margin-top: auto;
}

.btn-view-unit {
    width: 100%;
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    padding: 0.7rem 1rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.btn-view-unit:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-1px);
}

/* ===== VERSIÓN MÁS COMPACTA ===== */
.view-all-container {
    text-align: center;
    margin-top: 1.5rem !important; /* AJUSTADO: espacio suficiente para no superponerse */
    margin-bottom: 0 !important; /* SIN margen inferior */
    padding: 0 20px;
}

/* ===== SECCIÓN ¿POR QUÉ LARROSA? - ESPACIADO MÍNIMO ===== */
.why-larrosa {
    padding: 0.5rem 0 1rem 0 !important; /* REDUCIDO AÚN MÁS: espacio mínimo arriba y abajo */
    background: var(--primary-white);
    margin-top: 0 !important;
}

.btn-view-all {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    padding: 0.6rem 1rem !important; /* Igualado al botón de las cards */
    font-family: var(--font-primary);
    font-size: 0.8rem !important; /* Igualado al botón de las cards */
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    display: inline-block;
}

.btn-view-all:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
}

.btn-view-all::before,
.btn-view-all::after {
    display: none !important;
}
/* ===== SECCIÓN RANDON - ESPACIADO REDUCIDO ===== */
.randon-section {
    padding: 40px 0;
    background: var(--primary-white);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.randon-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Imagen principal como contenedor base */
.randon-image-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.randon-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Degradado blanco en la parte superior para el texto */
.randon-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.randon-logo-overlay {
    position: absolute;
    top: 45px; /* BAJADO: de 30px a 45px */
    left: 30px;
    z-index: 3;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.randon-logo-overlay img {
    height: 75px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

/* Contenido de texto posicionado en la parte superior derecha */
.randon-text-overlay {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 3;
    color: var(--primary-black);
    text-align: left;
    max-width: 600px;
}

.randon-question {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: none;
    text-align: left;
}

.randon-description {
    font-size: 1.1rem;
    color: var(--primary-black);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: none;
    opacity: 1;
    text-align: left;
}

.randon-description strong {
    color: var(--primary-black);
    font-weight: 700;
}

.btn-randon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-randon:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ===== SECCIÓN ¿POR QUÉ LARROSA? - ESTILO MODERNO CON IMÁGENES ===== */
/* ===== SECCIÓN ¿POR QUÉ LARROSA? - ESPACIADO MÍNIMO ===== */
.why-larrosa {
    padding: 0.5rem 0 1rem 0 !important; /* REDUCIDO AÚN MÁS: espacio mínimo arriba y abajo */
    background: var(--primary-white);
    margin-top: 0 !important;
}

/* ===== SECCIÓN ¿POR QUÉ LARROSA? - TÍTULO CORREGIDO ===== */
.why-larrosa .section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--primary-blue); /* AZUL como antes */
    text-align: center;
    margin: 0 auto 3rem auto;
    font-weight: 400; /* Peso intermedio por defecto */
    line-height: 1.2;
}

/* Palabra "Porqué" más finita */
.why-larrosa .section-title .word-light {
    font-weight: 300; /* MÁS FINO */
    color: var(--primary-blue);
}

/* Palabras "Larrosa Camiones" más anchas/bold */
.why-larrosa .section-title .word-bold {
    font-weight: 700; /* MÁS ANCHO/BOLD */
    color: var(--primary-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: var(--primary-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Imagen principal como hero de la card */
.value-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    margin: 0;
    display: block;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%; /* AJUSTADO: para mostrar más la parte inferior */
    transition: var(--transition-medium);
    filter: none;
}

.value-card:hover .value-image img {
    transform: scale(1.05);
}

/* Contenido de la card */
.value-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-blue);    margin-bottom: 1rem;
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
}

.value-description {
    color: var(--secondary-gray);
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 2rem;
    flex: 1;
}

/* Botón Read more */
.value-button {
    margin-top: auto;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--primary-black);
    border: 2px solid #e5e7eb;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-read-more:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.btn-read-more::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.btn-read-more:hover::after {
    transform: translateX(5px);
}

/* ===== SECCIÓN TESTIMONIOS - CORREGIDO ===== */
.testimonials {
    padding: 50px 0;
    background: var(--primary-white);
}

.testimonials .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 0;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
    text-align: left;
}

.testimonial-role {
    color: var(--secondary-gray);
    font-size: 0.9rem;
    text-align: left;
}

.testimonial-rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
}

.testimonial-text {
    color: var(--secondary-gray);
    line-height: 1.6;
    font-style: italic;
    text-align: left;
}
/* ===== SECCIÓN COTIZACIÓN - DISEÑO EXACTO CORREGIDO ===== */

.cotizacion-section-new {
    padding: 40px 0;
    background: #f8f9fa;
    margin: 0;
}

.cotizacion-container-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* ===== VIDEO IZQUIERDA 60% ===== */
.cotizacion-video-section {
    flex: 0 0 58%;
    position: relative;
}

.cotizacion-video-wrapper-new {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 440px; /* REDUCIDO de 500px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cotizacion-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-button-center {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-ver-unidades-new {
    display: inline-block;
    padding: 12px 28px; /* REDUCIDO ligeramente */
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-white);
    border-radius: 8px;
    font-size: 0.85rem; /* REDUCIDO */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-ver-unidades-new:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== SECCIÓN COTIZACIÓN - DISEÑO EXACTO CORREGIDO ===== */

.cotizacion-section-new {
    padding: 40px 0;
    background: #f8f9fa;
    margin: 0;
}

.cotizacion-container-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* ===== VIDEO IZQUIERDA 60% ===== */
.cotizacion-video-section {
    flex: 0 0 58%;
    position: relative;
}

.cotizacion-video-wrapper-new {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 440px; /* REDUCIDO de 500px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cotizacion-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-button-center {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-ver-unidades-new {
    display: inline-block;
    padding: 12px 28px; /* REDUCIDO ligeramente */
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-white);
    border-radius: 8px;
    font-size: 0.85rem; /* REDUCIDO */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-ver-unidades-new:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== COLUMNA DERECHA 40% ===== */
.cotizacion-cards-section {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== CARD RANDON - ARRIBA - MÁS COMPACTA ===== */
.card-randon-new {
    width: 100%;
    height: 220px; /* REDUCIDO de 280px */
    background: linear-gradient(135deg, #1a1a1a 0%, #009fe3 100%);
    border-radius: 16px;
    padding: 20px; /* REDUCIDO de 25px */
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-randon-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.randon-content-new {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Logo RANDON arriba derecha - MÁS PEQUEÑO */
.randon-logo-corner {
    position: absolute;
    top: 155px; /* BAJADO: de 135px a 155px */
    right: 5px;
}

.randon-logo-corner img {
    width: 130px; /* REDUCIDO de 120px */
    height: auto;
}

/* Texto arriba izquierda - MÁS COMPACTO */
/* Texto arriba izquierda - AJUSTE EXACTO */
/* Texto MÁS ANCHO para que llegue hasta el fondo */
.randon-text-content {
    position: absolute;
    top: 5px;
    left: 0;
    max-width: 85%; /* AUMENTADO: mucho más ancho */
    padding-right: 5px; /* Pequeño margen */
    text-align: left !important; /* Alineado a la izquierda */
}

.randon-text-content h3 {
    font-size: 1.3rem !important; /* Tamaño más pequeño */
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: nowrap; /* UNA SOLA LÍNEA */
    overflow: visible; /* NO OCULTAR */
    text-overflow: clip; /* NO MOSTRAR ... */
    text-align: left !important; /* Alineado a la izquierda */
}

.randon-text-content p {
    font-size: 0.95rem !important; /* Tamaño más pequeño (menos que el h3) */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.35;
    margin: 0;
    font-weight: 300;
    text-align: left !important; /* Alineado a la izquierda */
}

/* Semirremolque ABAJO IZQUIERDA - NO CENTRADO */

/* Botón abajo derecha - MÁS PEQUEÑO */
.randon-button-corner {
    position: absolute;
    bottom: 40px; /* BAJADO: de 58px a 40px */
    right: 85px; /* AJUSTADO */
}

.btn-randon-new {
    display: inline-block;
    padding: 9px 20px; /* Más grande */
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 0.78rem; /* REDUCIDO de 0.8rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== CARD RANDON - AJUSTE DEFINITIVO DEL SEMIRREMOLQUE ===== */

/* Semirremolque posicionado abajo y alineado con los textos */
.randon-trailer-center {
    position: absolute !important;
    bottom: -280px !important; /* Ajusta este valor para subirlo o bajarlo */
    left: -200px !important; /* Posición exacta original */
    transform: none !important; /* REMOVIDO: para alineación precisa */
    width: auto !important;
    display: flex !important;
    justify-content: flex-start !important; /* ALINEADO: a la izquierda */
    align-items: center !important;
}

.randon-trailer-center img {
    width: 550px !important; /* Tamaño original restaurado */
    max-width: 550px !important;
    height: auto !important;
    display: block !important;
}
.btn-randon-new:hover {
    background: white;
    color: #009fe3;
}

/* ===== GRID INFERIOR - 2 CARDS ===== */
.cards-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* ===== CARD USADO - GRIS ===== */
.card-usado-new {
    background: #6b7280;
    border-radius: 16px;
    padding: 25px 22px; /* AJUSTADO */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-usado-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-usado-new h3 {
    font-size: 1.05rem; /* AJUSTADO */
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.card-usado-new p {
    font-size: 0.88rem; /* AJUSTADO */
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 18px 0;
    line-height: 1.4;
}

.btn-cotizar-new {
    display: inline-block;
    padding: 9px 18px; /* AJUSTADO */
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 0.72rem; /* AJUSTADO */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-cotizar-new:hover {
    background: white;
    color: #6b7280;
}

/* ===== CARD MERCADOLIBRE - AMARILLO ===== */
.card-meli-new {
    background: #FFE600;
    border-radius: 16px;
    padding: 25px 22px; /* AJUSTADO */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.card-meli-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-meli-new h3 {
    font-size: 1.05rem; /* AJUSTADO */
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 18px 0;
    line-height: 1.3;
}

.btn-meli-new {
    display: inline-block;
    padding: 9px 18px; /* AJUSTADO */
    background: var(--primary-black);
    color: #FFE600;
    border: 2px solid var(--primary-black);
    border-radius: 8px;
    font-size: 0.72rem; /* AJUSTADO */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px; /* AJUSTADO */
}

.btn-meli-new:hover {
    background: transparent;
    color: var(--primary-black);
}

.meli-logo-new {
    width: 105px; /* AJUSTADO */
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cotizacion-container-new {
        flex-direction: column;
    }
    
    .cotizacion-video-section,
    .cotizacion-cards-section {
        flex: none;
        width: 100%;
    }
    
    .cotizacion-video-wrapper-new {
        min-height: 400px;
    }
    
    .card-randon-new {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .cards-bottom-grid {
        grid-template-columns: 1fr;
    }
    
    .cotizacion-video-wrapper-new {
        min-height: 350px;
    }
    
    .card-randon-new {
        height: 260px;
    }
    
    .randon-text-content {
        max-width: 65%;
    }
    
    .randon-trailer-center img {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .cotizacion-section-new {
        padding: 30px 0;
    }
    
    .cotizacion-container-new {
        gap: 20px;
    }
    
    .cotizacion-video-wrapper-new {
        min-height: 300px;
    }
    
    .card-randon-new {
        height: 240px;
        padding: 18px;
    }
    
    .randon-text-content h3 {
        font-size: 0.9rem;
    }
    
    .randon-text-content p {
        font-size: 0.65rem;
    }
    
    .randon-trailer-center img {
        width: 160px;
    }
    
    .card-usado-new,
    .card-meli-new {
        min-height: 180px;
        padding: 22px 18px;
    }
}
/* ===== GRID INFERIOR ===== */
.cotizacion-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px !important;
    width: 100%;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.cotizacion-content {
    display: flex;
    align-items: stretch;
    gap: 20px !important;
    min-height: 400px !important;
}

.cotizacion-right {
    flex: 0 0 40%;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px !important;
}

/* ===== SECCIÓN MARCAS - ULTRA COMPACTA Y SIN FONDO BLANCO ===== */
.brands {
    padding: 20px 0 !important; /* REDUCIDO: de 30px a 20px */
    background: transparent !important; /* ELIMINADO: fondo blanco */
    border-top: none !important; /* ELIMINADO: borde superior */
    border-bottom: none !important; /* ELIMINADO: borde inferior */
    margin: 0 !important;
    position: relative;
    overflow: hidden;
}

.brands-carousel {
    overflow: visible;
    position: relative;
    width: 100%;
    background: transparent !important; /* SIN FONDO */

}

.brands-track {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 25px !important;
    padding: 10px 0 !important;
    width: 100% !important;
    background: transparent !important; /* SIN FONDO */
}

/* ===== LOGOS - MANTENER TAMAÑO ===== */
.brand-logo {
    height: 38px !important;
    width: auto !important;
    max-width: 95px !important;
    min-width: 65px !important;
    object-fit: contain !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
    filter: grayscale(50%) brightness(0.9) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    margin: 6px !important;
    background: transparent !important; /* ASEGURAR: sin fondo por defecto */
    padding: 0 !important; /* ELIMINAR: cualquier padding */
}

.brand-logo:hover {
    opacity: 1 !important; /* Completamente visible */
    filter: grayscale(0%) brightness(1.05) !important; /* Sin grayscale, ligeramente más brillante */
    transform: scale(1.1) !important; /* Ligeramente más grande */
    box-shadow: none !important; /* SIN SOMBRA */
    background: none !important; /* SIN FONDO */
    border-radius: 0 !important; /* SIN BORDER RADIUS */
}

/* ===== TRANSICIÓN SUAVE ===== */
.brand-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== AJUSTES ESPECÍFICOS POR MARCA - MANTENER ===== */
.brand-logo[alt="Scania"] {
    max-width: 80px !important;
}

.brand-logo[alt="Volvo"] {
    max-width: 72px !important;
}

.brand-logo[alt="Mercedes-Benz"] {
    max-width: 88px !important;
}

.brand-logo[alt="Iveco"] {
    max-width: 80px !important;
}

.brand-logo[alt="Volkswagen"] {
    max-width: 88px !important;
}

.brand-logo[alt="Renault"] {
    max-width: 80px !important;
}

.brand-logo[alt="Ford"] {
    max-width: 72px !important;
}

.brand-logo[alt="DAF"] {
    max-width: 65px !important;
}

.brand-logo[alt="Randon"] {
    max-width: 80px !important;
    height: 35px !important;
}

/* ===== RESPONSIVE - ULTRA COMPACTO ===== */
@media (max-width: 1200px) {
    .brands {
        padding: 18px 0 !important; /* REDUCIDO */
    }

    .brands-track {
        gap: 18px !important;
        flex-wrap: nowrap !important;
        padding: 8px 0 !important; /* REDUCIDO */
    }

    .brand-logo {
        height: 32px !important;
        max-width: 70px !important;
        min-width: 48px !important;
        margin: 0 !important;
    }
}

@media (max-width: 992px) {
    .brands {
        padding: 15px 0 !important; /* REDUCIDO */
    }

    .brands-track {
        gap: 15px !important;
        flex-wrap: nowrap !important;
        padding: 6px 0 !important; /* REDUCIDO */
    }

    .brand-logo {
        height: 28px !important;
        max-width: 60px !important;
        min-width: 42px !important;
        margin: 0 !important;
    }

    .brand-logo[alt="Randon"] {
        height: 26px !important;
        max-width: 56px !important;
    }
}

@media (max-width: 768px) {
    .brands {
        padding: 12px 0 !important; /* REDUCIDO */
    }

    .brands-track {
        gap: 10px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        padding: 5px 5px !important; /* REDUCIDO */
    }

    .brand-logo {
        height: 24px !important;
        max-width: 50px !important;
        min-width: 35px !important;
        margin: 0 !important;
    }

    .brand-logo[alt="Randon"] {
        height: 22px !important;
        max-width: 46px !important;
    }
}

@media (max-width: 480px) {
    .brands {
        padding: 10px 0 !important; /* REDUCIDO */
    }

    .brands-track {
        gap: 6px !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        padding: 4px 3px !important; /* REDUCIDO */
    }

    .brand-logo {
        height: 20px !important;
        max-width: 42px !important;
        min-width: 30px !important;
        margin: 0 !important;
    }

    .brand-logo[alt="Randon"] {
        height: 18px !important;
        max-width: 38px !important;
    }
}



/* Focus para accesibilidad */
.brand-logo:focus {
    outline: 2px solid #3D5FAC !important;
    outline-offset: 2px !important;
    opacity: 1 !important;
    filter: grayscale(0%) brightness(1) !important;
    background: transparent !important; /* SIN FONDO */
    box-shadow: none !important; /* SIN SOMBRA */
}

.brand-logo::before,
.brand-logo::after {
    display: none !important;
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
.brands.animate-in .brand-logo {
    animation: fadeInBrand 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInBrand {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 0.7;
        transform: translateY(0) scale(1);
    }
}

/* Delay escalonado para las marcas */
.brands.animate-in .brand-logo:nth-child(1) { animation-delay: 0.1s; }
.brands.animate-in .brand-logo:nth-child(2) { animation-delay: 0.2s; }
.brands.animate-in .brand-logo:nth-child(3) { animation-delay: 0.3s; }
.brands.animate-in .brand-logo:nth-child(4) { animation-delay: 0.4s; }
.brands.animate-in .brand-logo:nth-child(5) { animation-delay: 0.5s; }
.brands.animate-in .brand-logo:nth-child(6) { animation-delay: 0.6s; }
.brands.animate-in .brand-logo:nth-child(7) { animation-delay: 0.7s; }
.brands.animate-in .brand-logo:nth-child(8) { animation-delay: 0.8s; }

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    .brand-logo {
        transition: none;
    }
}

/* ===== VARIANTES ESPECÍFICAS POR PÁGINA - ACTUALIZADAS ===== */
.page-inicio .brands {
    background: transparent !important; /* SIN FONDO */
}

.page-unidades .brands {
    background: transparent !important; /* SIN FONDO */
    border-top: none !important; /* SIN BORDE */
}

.page-empresa .brands {
    background: transparent !important; /* SIN FONDO */
}

.page-contacto .brands {
    background: transparent !important; /* SIN FONDO */
    margin-top: 0;
}

.page-detalle .brands {
    background: transparent !important; /* SIN FONDO */
    margin-top: 40px;
}

/* ===== FOOTER MODIFICADO ===== */
.footer {
    background: #d1d5db;
    color: var(--primary-black);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: none;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 0.8rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }

    .footer-logo {
        height: 45px;
        margin-bottom: 0.8rem;
    }

    .footer-section h4 {
        font-size: 1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-section p,
    .footer-section ul li a,
    .contact-info p {
        font-size: 0.85rem !important;
    }

    .footer-bottom {
        padding: 1.5rem 0 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 0.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
        padding: 0 12px;
    }

    .footer-logo {
        height: 38px;
        margin-bottom: 0.6rem;
    }

    .footer-section h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
    }

    .footer-section p,
    .footer-section ul li a,
    .contact-info p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem !important;
    }

    .footer-bottom {
        padding: 1.2rem 0 0;
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

.footer-description {
    color: var(--primary-black);
    line-height: 1.6;
    text-align: left;
}

.footer-title,
.footer-section h4 {
    font-family: var(--font-primary) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    color: var(--primary-blue) !important; /* AZUL - mantener */
    font-weight: 600 !important;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    text-align: left;
}

.footer-contact img {
    width: 16px;
    height: 16px;
    filter: none;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.5rem !important;
}

.footer-links a {
    color: var(--primary-black) !important; /* CAMBIADO: de blue a black */
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    display: inline-block !important;
}
.footer-links a:hover {
    color: var(--primary-blue) !important; /* HOVER: azul */
    text-decoration: underline !important;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-black);
    max-width: var(--container-max-width);
    margin: 0 auto;
}
/* ===== ELIMINAR SECCIÓN ADMIN ANTIGUA ===== */
.footer-admin {
    display: none !important; /* OCULTAR: la sección separada antigua */
}

.btn-admin-footer {
    display: none !important; /* OCULTAR: el botón grande antiguo */
}

/* ===== BOTÓN ADMIN INLINE - DISCRETO Y PEQUEÑO ===== */
.btn-admin-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 12px !important; /* MUY COMPACTO */
    background: transparent !important;
    color: var(--secondary-gray) !important; /* GRIS DISCRETO */
    text-decoration: none !important;
    border-radius: 4px !important;
    border: 1px solid transparent !important;
    font-size: 0.75rem !important; /* PEQUEÑO */
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    opacity: 0.6 !important; /* MÁS DISCRETO */
    margin-top: 12px !important;
}

.btn-admin-inline:hover {
    opacity: 1 !important;
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    background: rgba(61, 95, 172, 0.05) !important; /* FONDO SUTIL */
    transform: none !important; /* SIN MOVIMIENTO */
}

.btn-admin-inline i {
    font-size: 0.85rem !important;
    color: inherit !important;
}

.btn-admin-inline span {
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ===== ESTADO DE SESIÓN ACTIVA - MÁS DISCRETO ===== */
.btn-admin-inline.logged-in {
    color: #10b981 !important; /* VERDE */
    opacity: 0.7 !important;
    border-color: transparent !important;
}

.btn-admin-inline.logged-in:hover {
    opacity: 1 !important;
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
}

/* Indicador de sesión activa - pequeño punto verde */
.btn-admin-inline.logged-in::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    margin-right: 2px !important;
    animation: pulse 2s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== AJUSTAR ESPACIADO EN CONTACT-INFO ===== */
.footer-section .contact-info p {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--primary-black) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* ===== RESPONSIVE PARA BOTÓN ADMIN ===== */
@media (max-width: 768px) {
    .btn-admin-inline {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
        margin-top: 10px !important;
    }
    
    .btn-admin-inline i {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .btn-admin-inline {
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
        gap: 4px !important;
    }
    
    .btn-admin-inline i {
        font-size: 0.75rem !important;
    }
}

/* ===== ASEGURAR QUE NO INTERFIERA CON OTROS ELEMENTOS ===== */
.footer-section .contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

@keyframes adminGlow {
    from {
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    }
    to {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    }
}

/* ===== RESPONSIVE DESIGN OPTIMIZADO ===== */
@media (max-width: 1200px) {
    .nav-logo .logo {
        height: 80px; /* AJUSTADO: Proporcionalmente más pequeño */
    }
    
    .btn-icon {
        width: 75px;
        height: 45px;
    }
    
    .units-grid {
        max-width: 1100px;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-logo .logo {
        height: 75px; /* AJUSTADO: Más pequeño en tablets */
    }
    
    .btn-icon {
        width: 70px;
        height: 42px;
    }
    
    /* BOTÓN MERCADOLIBRE EN TABLET */
    .btn-mercadolibre {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        gap: 6px !important;
    }
    
    .btn-mercadolibre span {
        display: none !important; /* Ocultar texto en tablets */
    }
    
    .btn-mercadolibre i {
        font-size: 1.2rem !important;
    }
    
    .hero-section {
        height: 65vh;
        margin-top: 98px; /* MANTENER: Compensación para navbar más alto */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .category-buttons {
        gap: 15px;
        padding: 18px;
    }
    
    .category-btn {
        width: 160px;
        height: 65px;
        padding: 8px 25px;
    }
    
    .category-icon {
        width: 32px;
        height: 28px;
    }
    
    .category-btn span {
        font-size: 0.8rem;
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
    
    .featured-units {
        padding: 30px 0 50px 0;
    }
    
    .section-title-special {
        font-size: 2.4rem;
        margin-bottom: 1.3rem;
    }
    
    .randon-section {
        padding: 35px 0;
    }
    
    .randon-text-overlay {
        top: 40px;
        right: 30px;
        max-width: 450px;
    }
    
    .randon-question {
        font-size: 1.6rem;
    }
    
    .randon-description {
        font-size: 1rem;
    }
    
    .randon-logo-overlay img {
        height: 60px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 900px;
    }

    .value-image {
        height: 220px;
    }

    .value-content {
        padding: 1.5rem;
    }

    .value-title {
        font-size: 1.3rem;
    }

    .value-description {
        font-size: 0.9rem;
    }

    .why-larrosa .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Navegación móvil con efectos mejorados */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 98px; /* AJUSTADO: Para compensar navbar más alto */
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: var(--transition-fast);
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-logo .logo {
        height: 55px; /* AJUSTADO: Más pequeño en móvil */
    }
    
    .btn-icon {
        width: 60px;
        height: 38px;
    }
    
    /* BOTÓN MERCADOLIBRE EN MÓVIL */
    .btn-mercadolibre {
        padding: 8px 12px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 6px !important; /* Mantener bordes redondeados */
    }
    
    .btn-mercadolibre span {
        display: none !important;
    }
    
    .btn-mercadolibre i {
        font-size: 1.3rem !important;
    }
    
    .hero-section {
        height: 60vh;
        margin-top: 98px; /* MANTENER: Compensación para navbar más alto */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        top: 15%;
        left: 5%;
        max-width: 90%;
    }
    
    .category-buttons {
        position: absolute;
        bottom: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 8px 5px;
        gap: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .category-btn {
        width: auto;
        min-width: 80px;
        max-width: 95px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        padding: 5px 8px;
        gap: 3px;
    }
    
    .category-btn::after {
        display: none;
    }

    .category-btn:hover {
        transform: translateY(-1px);
    }

    .category-icon {
        width: 24px;
        height: 22px;
        margin-bottom: 0;
    }

    .category-btn span {
        font-size: 0.6rem;
        text-align: center;
        flex: none;
        line-height: 1.1;
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
        padding: 0 15px;
    }
    
    .section-title-special {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .unit-card {
        aspect-ratio: 1.05;
    }
    
    .unit-image {
        height: 60%;
    }
    
    .unit-info {
        height: 40%;
        padding: 1rem;
    }
    
    .unit-title {
        font-size: 0.9rem;
    }
    
    .unit-details {
        font-size: 0.8rem;
    }
    
    .featured-units {
        padding: 25px 0 40px 0;
    }
    
    .randon-section {
        padding: 30px 0;
    }
    
    .randon-text-overlay {
        position: static;
        transform: none;
        text-align: left;
        max-width: none;
        background: rgba(255, 255, 255, 0.95);
        padding: 30px 20px;
        margin: -100px 20px 0 20px;
        border-radius: 0;
        position: relative;
        z-index: 4;
        color: var(--primary-black);
    }
    
    .randon-question {
        font-size: 1.4rem;
        line-height: 1.4;
        text-shadow: none;
        color: var(--primary-black);
        text-align: left;
    }
    
    .randon-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        text-shadow: none;
        color: var(--primary-black);
        text-align: left;
    }
    
    .btn-randon {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .randon-image-container {
        margin: 0 20px;
        border-radius: 0;
    }
    
    .randon-logo-overlay {
        top: 20px;
        left: 20px;
    }
    
    .randon-logo-overlay img {
        height: 50px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        padding: 0 15px;
    }

    .value-card {
        margin-bottom: 0;
    }

    .value-image {
        height: 200px;
    }

    .value-image img {
        object-fit: cover;
        object-position: center;
    }

    .value-content {
        padding: 1.2rem;
        display: flex !important;
        flex-direction: column !important;
    }

    .value-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        color: var(--primary-blue) !important;
    }

    .value-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        color: var(--secondary-gray) !important;
    }

    .why-larrosa .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .why-larrosa {
        padding: 1.5rem 0 1.5rem 0 !important;
    }

    .btn-read-more {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        color: var(--primary-black) !important;
        border: 2px solid #e5e7eb !important;
        background: transparent !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .financing-title {
        font-size: 2rem;
    }
    
    .brands-track {
        gap: 15px !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        padding: 0 10px;
    }

    .brand-logo {
        height: 30px !important;
        max-width: 60px !important;
        min-width: 40px !important;
        margin-bottom: 0 !important;
    }

    .brand-logo[alt*="Iveco"],
    .brand-logo[src*="iveco"],
    .brand-logo[src*="Iveco"] {
        height: 28px !important;
        max-width: 55px !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 85px; /* AJUSTADO: Ligeramente más pequeño en móviles pequeños */
    }
    
    .nav-logo .logo {
        height: 50px; /* AJUSTADO: Más pequeño */
    }
    
    .btn-icon {
        width: 55px;
        height: 35px;
    }
    
    /* BOTÓN MERCADOLIBRE EN PANTALLAS PEQUEÑAS */
    .btn-mercadolibre {
        padding: 6px 10px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 6px !important;
    }
    
    .btn-mercadolibre i {
        font-size: 1.1rem !important;
    }
    
    .hero-section {
        height: 50vh;
        margin-top: 93px; /* AJUSTADO: Para compensar navbar más pequeño en móvil */
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        top: 12%;
        left: 3%;
    }
    
    .category-buttons {
        padding: 6px 3px;
        gap: 3px;
        max-width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .category-btn {
        height: 35px;
        padding: 4px 6px;
        min-width: 65px;
        max-width: 75px;
        gap: 2px;
        flex-direction: column;
    }

    .category-icon {
        width: 20px;
        height: 18px;
    }

    .category-btn span {
        font-size: 0.55rem;
        text-align: center;
        line-height: 1;
    }

    .category-btn::after {
        display: none;
    }

    .units-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
    }
    
    .section-title-special {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .unit-card {
        aspect-ratio: 1.1;
        max-width: 100%;
    }
    
    .featured-units {
        padding: 20px 0 35px 0;
    }
    
    .randon-section {
        padding: 25px 0;
    }
    
    .randon-text-overlay {
        margin: -80px 15px 0 15px;
        padding: 20px 15px;
        background: rgba(255, 255, 255, 0.95);
        color: var(--primary-black);
    }
    
    .randon-question {
        font-size: 1.2rem;
        color: var(--primary-black);
    }
    
    .randon-description {
        font-size: 0.9rem;
        color: var(--primary-black);
    }
    
    .btn-randon {
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    
    .randon-image-container {
        margin: 0 15px;
    }
    
    .randon-logo-overlay {
        top: 15px;
        left: 15px;
    }
    
    .randon-logo-overlay img {
        height: 40px;
    }
    
    .btn-view-all {
        padding: 0.6rem 1rem !important; /* Igualado al botón de las cards */
        font-size: 0.8rem !important;
    }
    
    .value-card {
        margin-bottom: 0;
    }

    .value-image {
        height: 180px;
    }

    .value-image img {
        object-fit: cover;
        object-position: center;
    }

    .value-content {
        padding: 1rem;
        display: flex !important;
        flex-direction: column !important;
    }

    .value-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        color: var(--primary-blue) !important;
    }

    .value-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        color: var(--secondary-gray) !important;
    }

    .why-larrosa .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .why-larrosa {
        padding: 1.2rem 0 1.2rem 0 !important;
    }

    .values-grid {
        gap: 1.2rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .btn-read-more {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        color: var(--primary-black) !important;
        border: 2px solid #e5e7eb !important;
        background: transparent !important;
    }

    .btn-read-more::after {
        font-size: 1rem;
        color: var(--primary-black) !important;
    }

    .financing-title {
        font-size: 1.8rem;
    }

    .btn-financing {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .brands-track {
        gap: 12px !important;
        flex-wrap: nowrap !important;
        padding: 0 8px;
    }

    .brand-logo {
        height: 26px !important;
        max-width: 52px !important;
        min-width: 35px !important;
    }

    .brand-logo[alt*="Iveco"],
    .brand-logo[src*="iveco"],
    .brand-logo[src*="Iveco"] {
        height: 24px !important;
        max-width: 48px !important;
    }
}

/* ===== RESPONSIVE ESPECIAL PARA TÍTULOS ===== */
@media (max-width: 768px) {
    .section-title-special {
        font-size: 1.8rem !important; /* Reducir tamaño en móvil */
        line-height: 1.4 !important; /* Menos espacio entre líneas */
        padding: 0 15px !important;
        white-space: normal !important;
        word-spacing: normal !important;
    }

    .section-title-special .word-normal {
        display: inline !important;
        margin-right: 0.2em !important; /* Menos espacio entre palabras */
    }

    .section-title-special .word-large {
        display: inline !important;
        margin-left: 0 !important;
    }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
    .section-title-special {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        padding: 0 10px !important;
        white-space: normal !important;
        word-spacing: normal !important;
    }

    .section-title-special .word-normal {
        margin-right: 0.15em !important; /* Espacio mínimo */
    }
}

/* ===== ANIMACIONES MEJORADAS ===== */
.unit-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.unit-card:nth-child(1) { animation-delay: 0.1s; }
.unit-card:nth-child(2) { animation-delay: 0.2s; }
.unit-card:nth-child(3) { animation-delay: 0.3s; }
.unit-card:nth-child(4) { animation-delay: 0.4s; }

.value-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

/* Animaciones de Randon */
.randon-image-container {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}

.randon-text-overlay {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.3s forwards;
}

.randon-logo-overlay {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease 0.5s forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== EFECTOS ADICIONALES ===== */
.randon-main-image {
    transition: transform 0.5s ease;
}

.randon-image-container:hover .randon-main-image {
    transform: scale(1.02);
}

/* ===== SMOOTH SCROLLING Y ACCESIBILIDAD ===== */
html {
    scroll-behavior: smooth;
}

/* Focus states para accesibilidad mejorados */
.nav-link:focus,
.category-btn:focus,
.btn-view-unit:focus,
.btn-view-all:focus,
.btn-randon:focus,
.btn-financing:focus,
.btn-mercadolibre:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.category-btn:focus {
    outline: 2px solid var(--primary-white);
    outline-offset: 2px;
}

.btn-randon:focus {
    outline: 2px solid var(--primary-white);
    outline-offset: 2px;
}

/* Loading state para imágenes */
img {
    transition: opacity var(--transition-fast);
}

img:not([src]) {
    opacity: 0;
}

/* Print styles */
@media print {
    .navbar,
    .hero-section,
    .footer {
        display: none;
    }
    
    .section-title {
        color: var(--primary-black) !important;
    }
}

/* ===== EFECTOS FOCUS ADICIONALES ===== */
.category-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ===== OPTIMIZACIÓN FINAL ===== */
.unit-card,
.value-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Eliminación de espacios extra entre secciones */
.section-title-special {
    padding-top: 0;
    margin-top: 0;
}

.units-grid {
    margin-top: 0;
}

/* ===== CORRECCIÓN DE ENLACES DEL FOOTER ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    display: inline-block !important;
}

.footer-links a:hover {
    color: var(--secondary-dark-blue) !important;
    text-decoration: underline !important;
}

.footer-links a:visited {
    color: var(--primary-black) !important; /* VISITADO: negro */
}

.footer-links a:focus {
    color: var(--primary-black) !important;
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: 2px !important;
}

/* ===== CORREGIR ESPECÍFICAMENTE LAS SECCIONES PROBLEMÁTICAS ===== */
.footer-section h4 {
    font-family: var(--font-primary) !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section ul li {
    margin-bottom: 0.5rem !important;
}

.footer-section ul li a {
    color: var(--primary-black) !important;
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.footer-section ul li a:hover {
    color: var(--secondary-dark-blue) !important;
    text-decoration: underline !important;
}

/* ===== INFORMACIÓN DE CONTACTO EN FOOTER ===== */
.contact-info p,
.footer-contact p {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--primary-black) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.contact-info i,
.footer-contact i {
    color: var(--primary-blue) !important;
    width: 16px !important;
    font-size: 0.9rem !important;
}

/* ===== DESCRIPCIÓN DEL FOOTER ===== */
.footer-description,
.footer-section p:first-of-type {
    color: var(--primary-black) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-size: 0.95rem !important;
}

/* ===== REDES SOCIALES ===== */
.social-links,
.social-links a {
    display: flex !important;
    gap: 12px !important;
    margin-top: 1rem !important;
}

.social-links a,
.social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    background: var(--primary-blue) !important;
    color: var(--primary-white) !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: var(--transition-fast) !important;
    font-size: 1rem !important;
}

.social-links a:hover,
.social-link:hover {
    background: var(--secondary-dark-blue) !important;
    transform: translateY(-2px) !important;
}
/* ===== REEMPLAZAR LOS ESTILOS DEL CARRUSEL EN TU styles/main.css CON ESTO ===== */

/* ===== CARRUSEL - 3 CARDS VISIBLES CON ESPACIOS ===== */

/* Ocultar grid original */
.featured-units .units-grid {
    display: none !important;
}


/* Contenedor del carrusel - FORZAR VISIBILIDAD */
.carousel-container {
    position: relative !important;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 1300px !important;
    width: 100% !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Viewport del carrusel */
.units-carousel {
    overflow: hidden !important; /* CAMBIADO: ocultar las cards fuera del viewport */
    width: 1180px !important; /* AJUSTADO: 4 cards (1120px) + 3 gaps (60px) = 1180px */
    max-width: 95% !important; /* AUMENTADO: más ancho para mostrar 4 cards completas */
    margin: 0 auto !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 10px 0 !important; /* AGREGADO: padding para sombras */
}

/* Track - FORZAR VISIBILIDAD */
.units-track {
    display: flex !important;
    gap: 20px !important;
    transition: transform 0.5s ease !important;
    width: fit-content !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== RESPONSIVE - MANTENER ALTURA ===== */
@media (max-width: 1200px) {
    .units-track .unit-card {
        height: 370px !important;
        min-height: 370px !important;
    }
}

@media (max-width: 900px) {
    .units-track .unit-card {
        height: 360px !important;
        min-height: 360px !important;
    }
}

@media (max-width: 600px) {
    .units-track .unit-card {
        height: 350px !important;
        min-height: 350px !important;
    }
}

/* ===== CARDS DEL CARRUSEL - SIN NINGÚN HOVER ===== */

.units-track .unit-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    background: var(--primary-white) !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    transition: none !important; /* ELIMINADO: sin transiciones */
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #e5e7eb !important;
    height: 380px !important;
    min-height: 380px !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important; /* Solo cursor pointer */
}

/* ELIMINAR COMPLETAMENTE EL HOVER DE LA CARD */
.units-track .unit-card:hover {
    transform: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important; /* MISMO que sin hover */
    z-index: auto !important;
}

/* Imagen - SIN HOVER */
.unit-card .unit-image {
    position: relative !important;
    height: 250px !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    display: block !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
    pointer-events: none !important; /* No responder a eventos */
}

.unit-card .unit-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: none !important;
    display: block !important;
    visibility: visible !important;
    transform: none !important;
}

/* ELIMINAR HOVER DE LA IMAGEN */
.unit-card:hover .unit-image img {
    transform: none !important;
    scale: 1 !important;
}

/* Botón - MANTENER SOLO SU HOVER */
.unit-card .btn-view-unit {
    width: 100% !important;
    background: var(--primary-white) !important;
    color: var(--primary-black) !important;
    border: 2px solid var(--primary-black) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
}

.unit-card .btn-view-unit:hover {
    background: var(--primary-black) !important;
    color: var(--primary-white) !important;
    transform: translateY(-1px) !important;
}
/* Flechas del carrusel */
.carousel-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 55px !important;
    height: 55px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 3px solid var(--primary-blue) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.carousel-btn:hover {
    background: var(--primary-blue) !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(61, 95, 172, 0.3) !important;
}

.carousel-btn-prev {
    left: -60px !important;
}

.carousel-btn-next {
    right: -60px !important;
}

.carousel-btn i {
    font-size: 1.5rem !important;
    color: var(--primary-blue) !important;
    display: block !important;
}

.carousel-btn:hover i {
    color: var(--primary-white) !important;
}

.carousel-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: rgba(243, 244, 246, 0.95) !important;
    border-color: #d1d5db !important;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1400px) {
    .carousel-container {
        max-width: 1200px !important;
        padding: 0 70px !important;
    }
    
    .units-track .unit-card {
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
    }
}

@media (max-width: 1200px) {
    .carousel-container {
        padding: 0 60px !important;
    }
    
    .units-track .unit-card {
        flex: 0 0 300px !important;
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }
    
    .units-track {
        gap: 30px !important;
    }
}

@media (max-width: 900px) {
    /* 2 cards en tablets */
    .carousel-container {
        padding: 0 40px !important;
    }

    .units-track .unit-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        height: 360px !important;
    }

    .units-track {
        gap: 20px !important;
    }

    .carousel-btn {
        width: 45px !important;
        height: 45px !important;
    }

    .carousel-btn-prev {
        left: -10px !important;
    }

    .carousel-btn-next {
        right: -10px !important;
    }
}

@media (max-width: 600px) {
    /* 1 card en móviles - MEJORADA */
    .carousel-container {
        padding: 0 45px !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .units-carousel {
        width: calc(100vw - 90px) !important; /* Ancho total menos espacio de flechas */
        max-width: 100% !important;
    }

    .units-track .unit-card {
        flex: 0 0 calc(100vw - 110px) !important; /* Se adapta al viewport */
        width: calc(100vw - 110px) !important;
        min-width: 260px !important; /* Mínimo */
        max-width: 350px !important; /* Máximo */
        height: auto !important; /* Altura automática */
        min-height: 380px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
    }

    .units-track {
        gap: 15px !important;
    }

    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        z-index: 10 !important;
    }

    .carousel-btn-prev {
        left: 2px !important;
    }

    .carousel-btn-next {
        right: 2px !important;
    }

    .featured-units {
        padding: 25px 0 40px 0 !important;
    }

    .section-title-special {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .unit-card .unit-image {
        height: 200px !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    .unit-card .unit-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .unit-card .unit-info {
        padding: 18px !important;
    }

    .unit-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .unit-details {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.5 !important;
        color: #666 !important;
    }

    .btn-view-unit {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 400px) {
    .carousel-container {
        padding: 0 45px !important; /* Más espacio para flechas */
    }

    .units-track .unit-card {
        flex: 0 0 280px !important; /* Card más ancha incluso en muy pequeño */
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        height: 370px !important; /* Altura adecuada */
        border-radius: 8px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    }

    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .carousel-btn-prev {
        left: 2px !important;
    }

    .carousel-btn-next {
        right: 2px !important;
    }

    .carousel-btn i {
        font-size: 1.2rem !important;
    }

    /* Sección ¿Por qué Larrosa? */
    .why-larrosa .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem !important;
    }

    .value-image {
        height: 160px !important;
    }

    .value-content {
        padding: 0.8rem !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .value-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        color: var(--primary-blue) !important;
    }

    .value-description {
        font-size: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        color: var(--secondary-gray) !important;
    }

    .btn-read-more {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.7rem !important;
    }

    .btn-read-more::after {
        font-size: 0.9rem !important;
    }

    .values-grid {
        gap: 1rem !important;
        padding: 0 8px !important;
    }

    .why-larrosa {
        padding: 1rem 0 1rem 0 !important;
    }
}

/* Forzar visibilidad de la sección RANDON */
.randon-section {
    padding: 40px 0 !important;
    background: var(--primary-white) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.randon-content {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Restaurar contenedor de imagen */
.randon-image-container {
    position: relative !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Restaurar imagen principal */
.randon-main-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Restaurar degradado */
.randon-image-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Restaurar logo RANDON */
.randon-logo-overlay {
    position: absolute !important;
    top: 30px !important;
    left: 30px !important;
    z-index: 3 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.randon-logo-overlay img {
    height: 75px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Restaurar texto superpuesto */
.randon-text-overlay {
    position: absolute !important;
    top: 30px !important;
    right: 40px !important;
    z-index: 3 !important;
    color: var(--primary-black) !important;
    text-align: left !important;
    max-width: 600px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.randon-question {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: var(--primary-black) !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
    text-align: left !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.randon-description {
    font-size: 1.1rem !important;
    color: var(--primary-black) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: none !important;
    opacity: 1 !important;
    text-align: left !important;
    display: block !important;
    visibility: visible !important;
}

.randon-description strong {
    color: var(--primary-black) !important;
    font-weight: 700 !important;
}

/* Restaurar botón RANDON */
.btn-randon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: var(--primary-white) !important;
    color: var(--primary-black) !important;
    border: 2px solid var(--primary-black) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: var(--transition-fast) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-randon:hover {
    background: var(--primary-black) !important;
    color: var(--primary-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

/* ===== RESPONSIVE PARA RANDON ===== */
@media (max-width: 768px) {
    .randon-text-overlay {
        position: static !important;
        transform: none !important;
        text-align: left !important;
        max-width: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
        padding: 30px 20px !important;
        margin: -100px 20px 0 20px !important;
        border-radius: 0 !important;
        position: relative !important;
        z-index: 4 !important;
        color: var(--primary-black) !important;
    }
    
    .randon-question {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        text-shadow: none !important;
        color: var(--primary-black) !important;
        text-align: left !important;
    }
    
    .randon-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.2rem !important;
        text-shadow: none !important;
        color: var(--primary-black) !important;
        text-align: left !important;
    }
    
    .btn-randon {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .randon-image-container {
        margin: 0 20px !important;
        border-radius: 0 !important;
    }
    
    .randon-logo-overlay {
        top: 20px !important;
        left: 20px !important;
    }
    
    .randon-logo-overlay img {
        height: 50px !important;
    }
}

/* ===== SECCIÓN TESTIMONIOS - TÍTULO COMPACTO EN DOS LÍNEAS ===== */
.testimonials-new {
    padding: 60px 0 40px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-new .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.testimonials-new .testimonials-header {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: transparent !important; /* SIN FONDO */
    padding: 20px 15px !important;
    border-radius: 0 !important; /* SIN BORDES REDONDEADOS */
    box-shadow: none !important; /* SIN SOMBRA */
    border: none !important; /* SIN BORDE */
}

/* ===== TÍTULO - TEXTO NEGRO ===== */
.testimonials-new .testimonials-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1.5rem !important;
    color: var(--primary-black) !important; /* CAMBIADO: negro en lugar de blanco */
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    font-weight: 300 !important;
    text-align: left !important;
    display: block !important;
}

/* PRIMERA LÍNEA: "Donde la experiencia se" - TEXTO NEGRO */
.testimonials-new .title-line-1 {
    display: inline !important; /* CAMBIADO: de block a inline para estar en la misma línea */
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    color: var(--primary-black) !important; /* CAMBIADO: negro */
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* SEGUNDA LÍNEA: "respalda en hechos" - TEXTO NEGRO */
.testimonials-new .title-line-2 {
    display: inline !important; /* CAMBIADO: de block a inline para estar en la misma línea */
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-black) !important; /* CAMBIADO: negro */
    line-height: 1.3 !important;
    margin-top: 0 !important;
    font-family: 'Roboto', sans-serif !important;
}

/* ===== SUBTÍTULO - TEXTO GRIS ===== */
.testimonials-new .testimonials-subtitle {
    color: var(--secondary-gray) !important; /* CAMBIADO: gris en lugar de blanco */
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
    font-family: 'Roboto', sans-serif !important;
}

/* ===== RATING SECTION ===== */
.testimonials-new .testimonials-rating {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.testimonials-new .rating-label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--primary-black) !important; /* CAMBIADO: negro en lugar de blanco */
    text-align: left !important;
    font-family: 'Roboto', sans-serif !important;
}

/* ESTRELLAS - DORADAS */
.testimonials-new .stars {
    display: flex !important;
    gap: 3px !important;
    margin-bottom: 5px !important;
}

.testimonials-new .stars i {
    color: #FFD700 !important;
    font-size: 0.95rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.testimonials-new .rating-info {
    margin: 0 !important;
    text-align: left !important;
}

/* ===== ENLACE GOOGLE - AZUL CORPORATIVO ===== */
.testimonials-new .google-reviews-link {
    color: var(--primary-blue) !important; /* CAMBIADO: azul corporativo (#3D5FAC) */
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.3s ease !important;
    padding: 5px 0 !important;
    border-bottom: 2px solid transparent !important;
    font-family: 'Roboto', sans-serif !important;
}

.testimonials-new .google-reviews-link:hover {
    color: var(--secondary-dark-blue) !important; /* CAMBIADO: azul más oscuro en hover */
    border-bottom-color: var(--primary-blue) !important;
    transform: translateX(3px) !important;
}

/* ===== CARRUSEL ===== */
.testimonials-new .testimonials-carousel-container {
    flex: 1;
    position: relative;
    min-width: 0;
}

.testimonials-new .testimonials-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-new .testimonials-track {
    display: flex !important;
    gap: 20px;
    transition: transform 0.5s ease;
    width: fit-content;
}

/* ===== TARJETAS ===== */
.testimonials-new .testimonial-card-new {
    flex: 0 0 280px !important;
    width: 280px !important;
    background: #e5e7eb !important; /* FONDO GRIS CLARO */
    color: var(--primary-black) !important; /* TEXTO NEGRO */
    padding: 25px 20px;
    border-radius: 8px;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-new .testimonial-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonials-new .testimonial-header-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.testimonials-new .testimonial-stars {
    display: flex;
    gap: 3px;
}

/* Busca esto */
.testimonials-new .testimonial-stars i {
    color: var(--primary-blue) !important;
    font-size: 1rem;
}

.testimonials-new .testimonial-title-new {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black) !important; /* TÍTULO NEGRO */
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.testimonials-new .testimonial-text-new {
    color: #4b5563 !important; /* TEXTO GRIS OSCURO */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

.testimonials-new .testimonial-author {
    border-top: 1px solid #d1d5db !important; /* BORDE GRIS */
    padding-top: 15px;
    margin-top: auto;
}

.testimonials-new .testimonial-author strong {
    color: var(--primary-black) !important; /* AUTOR NEGRO */
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

/* ===== BOTONES NAVEGACIÓN ===== */
.testimonials-new .testimonials-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-white);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonials-new .testimonials-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(61, 95, 172, 0.3);
}

.testimonials-new .testimonials-btn i {
    color: #4a5568;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.testimonials-new .testimonials-btn:hover i {
    color: var(--primary-white);
}

.testimonials-new .testimonials-btn-prev {
    left: -60px;
}

.testimonials-new .testimonials-btn-next {
    right: -60px;
}

/* ===== RESPONSIVE ===== */
/* Mantener layout horizontal en todas las pantallas */
@media (max-width: 1024px) {
    .testimonials-new .container {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
        padding: 0 10px;
    }

    .testimonials-new .testimonials-header {
        flex: 0 0 200px !important;
        max-width: 200px !important;
        min-height: auto !important;
        text-align: left !important;
    }

    .testimonials-new .testimonials-carousel-container {
        flex: 1;
        min-width: 0;
    }

    .testimonials-new .testimonials-title,
    .testimonials-new .title-line-1,
    .testimonials-new .title-line-2 {
        font-size: 1.1rem !important;
        color: var(--primary-black) !important;
    }

    .testimonials-new .testimonials-subtitle {
        font-size: 0.75rem !important;
        color: var(--secondary-gray) !important;
    }

    .testimonials-new .google-reviews-link {
        font-size: 0.7rem !important;
        color: var(--primary-blue) !important;
    }

    .testimonials-new .google-logo-icon {
        width: 14px !important;
        height: 14px !important;
    }

    .testimonials-new .testimonial-card-new {
        flex: 0 0 240px !important;
        width: 240px !important;
        padding: 20px 18px;
    }

    .testimonials-new .testimonials-track {
        gap: 15px;
    }

    .testimonials-new .testimonials-btn {
        width: 35px;
        height: 35px;
    }

    .testimonials-new .testimonials-btn-prev {
        left: -45px;
    }

    .testimonials-new .testimonials-btn-next {
        right: -45px;
    }
}

@media (max-width: 768px) {
    .testimonials-new .container {
        gap: 12px;
        padding: 0 8px;
    }

    .testimonials-new .testimonials-header {
        flex: 0 0 150px !important;
        max-width: 150px !important;
    }

    .testimonials-new .testimonials-title,
    .testimonials-new .title-line-1,
    .testimonials-new .title-line-2 {
        font-size: 0.95rem !important;
    }

    .testimonials-new .testimonials-subtitle {
        font-size: 0.7rem !important;
    }

    .testimonials-new .google-reviews-link {
        font-size: 0.65rem !important;
    }

    .testimonials-new .testimonial-card-new {
        flex: 0 0 200px !important;
        width: 200px !important;
        padding: 18px 15px;
    }

    .testimonials-new .testimonial-title-new {
        font-size: 0.95rem;
    }

    .testimonials-new .testimonial-text-new {
        font-size: 0.85rem;
    }

    .testimonials-new .testimonials-btn {
        width: 30px;
        height: 30px;
    }

    .testimonials-new .testimonials-btn-prev {
        left: -35px;
    }

    .testimonials-new .testimonials-btn-next {
        right: -35px;
    }
}

@media (max-width: 480px) {
    .testimonials-new .container {
        gap: 10px;
        padding: 0 5px;
    }

    .testimonials-new .testimonials-header {
        flex: 0 0 120px !important;
        max-width: 120px !important;
    }

    .testimonials-new .testimonials-title,
    .testimonials-new .title-line-1,
    .testimonials-new .title-line-2 {
        font-size: 0.85rem !important;
    }

    .testimonials-new .testimonials-subtitle {
        font-size: 0.65rem !important;
    }

    .testimonials-new .google-reviews-link {
        font-size: 0.6rem !important;
    }

    .testimonials-new .google-logo-icon {
        width: 12px !important;
        height: 12px !important;
    }

    .testimonials-new .testimonial-card-new {
        flex: 0 0 180px !important;
        width: 180px !important;
        padding: 15px 12px;
    }

    .testimonials-new .testimonial-title-new {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .testimonials-new .testimonial-text-new {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .testimonials-new .testimonial-stars i {
        font-size: 0.85rem;
    }

    .testimonials-new .testimonials-btn {
        width: 28px;
        height: 28px;
    }

    .testimonials-new .testimonials-btn i {
        font-size: 0.85rem;
    }

    .testimonials-new .testimonials-btn-prev {
        left: -30px;
    }

    .testimonials-new .testimonials-btn-next {
        right: -30px;
    }
}

/* ===== SECCIÓN COTIZACIÓN - PADDING AJUSTADO ===== */
.cotizacion-section {
    position: relative;
    padding: 40px 0; /* REDUCIDO: de 60px 0 a 40px 0 */
    background: #f8f9fa;
    overflow: hidden;
    margin-top: 0; /* ASEGURAR: sin margen superior */
    margin-bottom: 0; /* ASEGURAR: sin margen inferior */
}

/* ===== SECCIÓN MARCAS - PADDING REDUCIDO Y MARGEN ELIMINADO ===== */
.brands {
    padding: 40px 0; /* REDUCIDO: de 60px 0 a 40px 0 */
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 0 !important; /* ELIMINADO: todos los márgenes */
    position: relative;
    overflow: hidden;
}

/* ===== ELIMINAR ESPACIOS EXTRA ENTRE SECCIONES ===== */

/* Asegurar que no hay márgenes en contenedores */
.testimonials-new .container,
.cotizacion-section .cotizacion-container,
.brands .container {
    margin-top: 0;
    margin-bottom: 0;
}

/* Eliminar márgenes de elementos internos que puedan crear espacio */
.testimonials-new .testimonials-header,
.testimonials-new .testimonials-carousel-container {
    margin-bottom: 0;
}

.cotizacion-content {
    margin-top: 0;
    margin-bottom: 0;
}

.brands-track {
    margin-top: 0;
    margin-bottom: 0;
}

/* ===== AJUSTES ESPECÍFICOS PARA SECUENCIA DE SECCIONES ===== */

/* Si hay sección "¿Por qué Larrosa?" antes de testimonios */
.why-larrosa {
    padding: 50px 0 30px 0; /* REDUCIDO: padding inferior */
    margin-bottom: 0;
}

/* Si hay otras secciones entre testimonios y marcas */
.section + .testimonials-new {
    margin-top: 0;
}

.testimonials-new + .cotizacion-section {
    margin-top: 0;
}

.cotizacion-section + .brands {
    margin-top: 0;
}

.brands + .footer {
    margin-top: 0;
}

/* ===== COMPACTACIÓN ADICIONAL EN DISPOSITIVOS MÓVILES ===== */
@media (max-width: 768px) {
    .testimonials-new {
        padding: 40px 0 30px 0; /* AÚN MÁS REDUCIDO en móvil */
    }
    
    .cotizacion-section {
        padding: 30px 0; /* MÁS COMPACTO en móvil */
    }
    
    .brands {
        padding: 30px 0; /* MÁS COMPACTO en móvil */
    }
    
    /* Reducir espacios internos en móvil */
    .testimonials-new .container {
        gap: 25px; /* REDUCIDO: de 30px a 25px */
    }
}

@media (max-width: 480px) {
    .testimonials-new {
        padding: 30px 0 25px 0; /* MÍNIMO en móviles pequeños */
    }
    
    .cotizacion-section {
        padding: 25px 0; /* MÍNIMO en móviles pequeños */
    }
    
    .brands {
        padding: 25px 0; /* MÍNIMO en móviles pequeños */
    }
}

/* ===== OPTIMIZACIÓN PARA FLUJO VISUAL ===== */

/* Eliminar cualquier margen/padding extra en elementos que puedan interferir */
.testimonials-new::before,
.testimonials-new::after,
.cotizacion-section::before,
.cotizacion-section::after,
.brands::before,
.brands::after {
    margin: 0;
    padding: 0;
}

/* Asegurar que las secciones se peguen correctamente */
.testimonials-new + * {
    margin-top: 0 !important;
}

.cotizacion-section + * {
    margin-top: 0 !important;
}

/* ===== AJUSTES ESPECÍFICOS PARA EL DISEÑO ACTUAL ===== */

/* Si hay un título con clase especial que crea espacio extra */
.section-title-special {
    margin-top: 0;
    margin-bottom: 2rem; /* REDUCIDO si era mayor */
}

/* Si hay botones que crean espacio extra */
.view-all-container {
    margin-top: 1rem; /* REDUCIDO si era mayor */
    margin-bottom: 0;
}

/* ===== TRANSICIONES SUAVES PARA CAMBIOS ===== */
.testimonials-new,
.cotizacion-section,
.brands {
    transition: padding 0.3s ease;
}

/* ===== VARIANTE ULTRA-COMPACTA (OPCIONAL) ===== */
/* Descomenta estas líneas si quieres aún menos espacio */

/*
.testimonials-new {
    padding: 50px 0 30px 0 !important;
}

.cotizacion-section {
    padding: 30px 0 !important;
}

.brands {
    padding: 30px 0 !important;
}
*/

/* ===== VARIANTE PARA DIFERENTES COMBINACIONES DE SECCIONES ===== */

/* Si solo hay testimonios + marcas (sin cotización) */
.testimonials-new + .brands {
    margin-top: 0;
    border-top: none; /* Eliminar borde si no hay sección intermedia */
}

/* Si solo hay cotización + marcas (sin testimonios) */
.cotizacion-section + .brands {
    margin-top: 0;
}

/* ===== DEBUGGING - ELIMINAR DESPUÉS DE VERIFICAR ===== */
/* Estas reglas te ayudan a ver exactamente dónde están los espacios */
/*
.testimonials-new {
    outline: 2px solid red;
}

.cotizacion-section {
    outline: 2px solid blue;
}

.brands {
    outline: 2px solid green;
}
*/

/* ===== ASEGURAR CONSISTENCIA EN TODOS LOS ELEMENTOS ===== */

/* Eliminar márgenes de último elemento en cada sección */
.testimonials-new > *:last-child,
.cotizacion-section > *:last-child,
.brands > *:last-child {
    margin-bottom: 0;
}

/* Eliminar márgenes de primer elemento en cada sección */
.testimonials-new > *:first-child,
.cotizacion-section > *:first-child,
.brands > *:first-child {
    margin-top: 0;
}

/* ===== OPTIMIZACIÓN FINAL ===== */

/* Asegurar que no hay line-height extra creando espacio */
.testimonials-new,
.cotizacion-section,
.brands {
    line-height: 1;
}

/* Reset de cualquier spacing por defecto del navegador */
.testimonials-new * {
    margin-block-start: 0;
    margin-block-end: 0;
}

.cotizacion-section * {
    margin-block-start: 0;
    margin-block-end: 0;
}

.brands * {
    margin-block-start: 0;
    margin-block-end: 0;
}
/* ===== FORMULARIO "COMPRAMOS TU USADO" - TAMAÑO COMPACTO MODERNO ===== */

/* ===== MODAL CONTAINER - TAMAÑO ORIGINAL ===== */
.modal-content-usado {
    max-width: 700px; /* REDUCIDO: de 900px a 700px como el original */
    width: 90%; /* REDUCIDO: de 95% a 90% */
    background: var(--primary-white);
    border-radius: 0; /* BORDES RECTOS */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-black); /* REDUCIDO: de 3px a 2px */
    overflow: hidden;
}

/* ===== CONTENIDO DEL MODAL - PADDING COMPACTO ===== */
.usado-modal-content {
    padding: 40px 35px; /* REDUCIDO: de 60px 50px a 40px 35px */
    text-align: center;
    background: var(--primary-white);
    position: relative;
}

/* ===== TÍTULO PRINCIPAL - TAMAÑO REDUCIDO ===== */
.usado-modal-content h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: #ffffff; /* Texto blanco */
    background: #000000; /* Fondo negro */
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
    text-align: center;
    padding: 20px 30px; /* Espacio interno para el recuadro */
    display: inline-block; /* Para que el recuadro se ajuste al texto */
    width: auto;
}

/* ===== SUBTÍTULO - TAMAÑO REDUCIDO ===== */
.usado-modal-content p {
    color: var(--secondary-gray);
    margin-bottom: 35px; /* REDUCIDO: de 50px a 35px */
    font-size: 1.1rem; /* REDUCIDO: de 1.3rem a 1.1rem */
    line-height: 1.4;
    max-width: 600px; /* REDUCIDO: de 700px a 600px */
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* ===== FORMULARIO - COMPACTO ===== */
.usado-form {
    max-width: 650px; /* REDUCIDO: de 800px a 650px */
    margin: 0 auto;
    text-align: left;
}

/* ===== FILAS DEL FORMULARIO - ESPACIADO REDUCIDO ===== */
.form-row {
    display: flex;
    gap: 20px; /* REDUCIDO: de 30px a 20px */
    margin-bottom: 20px; /* REDUCIDO: de 30px a 20px */
}

.form-row.full-width {
    flex-direction: column;
    gap: 0;
}

/* ===== CAMPOS DE ENTRADA - TAMAÑO COMPACTO ===== */
.usado-form input,
.usado-form textarea,
.usado-form select {
    flex: 1;
    padding: 15px 18px; /* REDUCIDO: de 20px 25px a 15px 18px */
    border: 2px solid var(--primary-black); /* REDUCIDO: de 3px a 2px */
    border-radius: 0; /* BORDES RECTOS */
    font-size: 1rem; /* REDUCIDO: de 1.1rem a 1rem */
    transition: all 0.3s ease;
    background: var(--primary-white);
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--primary-black);
    box-shadow: none;
    outline: none;
}

/* ===== PLACEHOLDERS - TAMAÑO REDUCIDO ===== */
.usado-form input::placeholder,
.usado-form textarea::placeholder {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.9rem; /* REDUCIDO: de 1rem a 0.9rem */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* ===== ESTADOS DE FOCUS - OUTLINE REDUCIDO ===== */
.usado-form input:focus,
.usado-form textarea:focus,
.usado-form select:focus {
    border-color: var(--primary-blue);
    background: var(--primary-white);
    box-shadow: none;
    transform: none;
    outline: 2px solid var(--primary-blue); /* REDUCIDO: de 3px a 2px */
    outline-offset: 1px; /* REDUCIDO: de 2px a 1px */
}

/* ===== TEXTAREA ESPECÍFICO - COMPACTO ===== */
.usado-form textarea {
    resize: vertical;
    min-height: 100px; /* REDUCIDO: de 120px a 100px */
    font-family: var(--font-secondary);
    line-height: 1.5; /* REDUCIDO: de 1.6 a 1.5 */
}

/* ===== SELECT PERSONALIZADO - TAMAÑO REDUCIDO ===== */
.usado-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center; /* REDUCIDO: de 20px a 15px */
    background-size: 18px; /* REDUCIDO: de 20px a 18px */
    padding-right: 50px; /* REDUCIDO: de 60px a 50px */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.usado-form select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5FAC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* ===== BOTÓN DE ENVÍO - TAMAÑO COMPACTO ===== */
.btn-modal-action {
    width: 100%;
    padding: 16px 30px; /* REDUCIDO: de 20px 40px a 16px 30px */
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black); /* REDUCIDO: de 3px a 2px */
    border-radius: 0;
    font-size: 1.1rem; /* REDUCIDO: de 1.3rem a 1.1rem */
    font-weight: 700;
    letter-spacing: 1.5px; /* REDUCIDO: de 2px a 1.5px */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 30px; /* REDUCIDO: de 40px a 30px */
    position: relative;
    overflow: hidden;
    box-shadow: none;
    font-family: var(--font-primary);
}

/* ===== HOVER DEL BOTÓN - ELEVACIÓN REDUCIDA ===== */
.btn-modal-action:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-2px); /* REDUCIDO: de -3px a -2px */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); /* SOMBRA REDUCIDA */
}

.btn-modal-action:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===== EFECTOS DEL BOTÓN - SIN CAMBIOS ===== */
.btn-modal-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modal-action:hover::before {
    left: 100%;
}

/* ===== VALIDACIÓN VISUAL - OUTLINE REDUCIDO ===== */
.usado-form input.error,
.usado-form textarea.error,
.usado-form select.error {
    border-color: #dc3545;
    background-color: #fff5f5;
    outline: 2px solid #dc3545; /* REDUCIDO: de 3px a 2px */
    outline-offset: 1px; /* REDUCIDO: de 2px a 1px */
}

.usado-form input.success,
.usado-form textarea.success,
.usado-form select.success {
    border-color: #10b981;
    background-color: #f0fdf4;
    outline: 2px solid #10b981; /* REDUCIDO: de 3px a 2px */
    outline-offset: 1px; /* REDUCIDO: de 2px a 1px */
}

/* ===== MENSAJES DE ERROR - COMPACTOS ===== */
.field-error {
    color: #dc3545;
    font-size: 0.85rem; /* REDUCIDO: de 0.9rem a 0.85rem */
    margin-top: 8px; /* REDUCIDO: de 12px a 8px */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px; /* REDUCIDO: de 8px a 6px */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-error::before {
    content: '⚠';
    font-size: 1rem; /* REDUCIDO: de 1.2rem a 1rem */
    color: #dc3545;
}

/* ===== BOTÓN DE CERRAR - TAMAÑO REDUCIDO ===== */
.modal-close {
    position: absolute;
    top: 15px; /* REDUCIDO: de 20px a 15px */
    right: 20px; /* REDUCIDO: de 25px a 20px */
    color: var(--primary-black);
    font-size: 28px; /* REDUCIDO: de 32px a 28px */
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: var(--primary-white);
    width: 40px; /* REDUCIDO: de 50px a 40px */
    height: 40px; /* REDUCIDO: de 50px a 40px */
    border: 2px solid var(--primary-black); /* REDUCIDO: de 3px a 2px */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: scale(1.05);
}

/* ===== DECORACIÓN REDUCIDA ===== */
.usado-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* REDUCIDO: de 100px a 80px */
    height: 4px; /* REDUCIDO: de 6px a 4px */
    background: var(--primary-blue);
}

.usado-modal-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* REDUCIDO: de 100px a 80px */
    height: 4px; /* REDUCIDO: de 6px a 4px */
    background: var(--primary-blue);
}

/* ===== SEPARADOR VISUAL REDUCIDO ===== */
.usado-modal-content h2::after {
    content: '';
    display: block;
    width: 60px; /* REDUCIDO: de 80px a 60px */
    height: 3px; /* REDUCIDO: de 4px a 3px */
    background: var(--primary-blue);
    margin: 15px auto 0; /* REDUCIDO: de 20px a 15px */
}

/* ===== RESPONSIVE - COMPACTO ===== */
@media (max-width: 768px) {
    .modal-content-usado {
        width: 95%; /* AUMENTADO: para usar más espacio en móvil */
        margin: 15px; /* REDUCIDO: de mayor margen */
    }
    
    .usado-modal-content {
        padding: 30px 20px; /* REDUCIDO: de 40px 25px a 30px 20px */
    }
    
    .usado-modal-content h2 {
        font-size: 1.8rem; /* REDUCIDO: de 2.2rem a 1.8rem */
        letter-spacing: 1px;
    }
    
    .usado-modal-content p {
        font-size: 1rem; /* REDUCIDO: de 1.1rem a 1rem */
        margin-bottom: 25px; /* REDUCIDO: de 35px a 25px */
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 18px; /* REDUCIDO: de 25px a 18px */
    }
    
    .usado-form input,
    .usado-form textarea,
    .usado-form select {
        margin-bottom: 15px; /* REDUCIDO: de 20px a 15px */
        padding: 14px 16px; /* REDUCIDO: de 18px 20px a 14px 16px */
        font-size: 0.95rem; /* REDUCIDO: de 1rem a 0.95rem */
    }
    
    .btn-modal-action {
        padding: 14px 25px; /* REDUCIDO: de 18px 30px a 14px 25px */
        font-size: 1rem; /* REDUCIDO: de 1.1rem a 1rem */
        margin-top: 25px; /* REDUCIDO: de 30px a 25px */
    }
    
    .modal-close {
        width: 35px; /* REDUCIDO: de 45px a 35px */
        height: 35px; /* REDUCIDO: de 45px a 35px */
        font-size: 24px; /* REDUCIDO: de 28px a 24px */
        top: 12px; /* REDUCIDO: de 15px a 12px */
        right: 15px; /* REDUCIDO: de 20px a 15px */
    }
}

@media (max-width: 480px) {
    .usado-modal-content {
        padding: 25px 18px; /* REDUCIDO: de 30px 20px a 25px 18px */
    }
    
    .usado-modal-content h2 {
        font-size: 1.6rem; /* REDUCIDO: de 1.8rem a 1.6rem */
        line-height: 1.2;
    }
    
    .usado-modal-content p {
        font-size: 0.95rem; /* REDUCIDO: de 1rem a 0.95rem */
        margin-bottom: 20px; /* REDUCIDO: de 30px a 20px */
    }
    
    .usado-form input,
    .usado-form textarea,
    .usado-form select {
        padding: 12px 15px; /* REDUCIDO: de 15px 18px a 12px 15px */
        font-size: 0.9rem; /* REDUCIDO: de 0.95rem a 0.9rem */
    }
    
    .btn-modal-action {
        padding: 12px 20px; /* REDUCIDO: de 16px 25px a 12px 20px */
        font-size: 0.95rem; /* REDUCIDO: de 1rem a 0.95rem */
        letter-spacing: 1px;
    }
}

/* ===== ANIMACIONES REDUCIDAS ===== */
.modal-content-usado {
    animation: slideInFormCompact 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* DURACIÓN REDUCIDA */
}

@keyframes slideInFormCompact {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.98); /* MENOS MOVIMIENTO */
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ===== MODAL OCULTO POR DEFECTO ===== */
.modal-overlay {
    display: none !important;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex !important;
}

body.modal-open {
    overflow: hidden;
}

/* ===== ESTADOS DE CARGA - COMPACTOS ===== */
.btn-modal-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    background: #f3f4f6;
    color: #9ca3af;
}

.btn-modal-action.loading {
    color: transparent;
    pointer-events: none;
}

.btn-modal-action.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px; /* REDUCIDO: de 24px a 20px */
    height: 20px; /* REDUCIDO: de 24px a 20px */
    border: 2px solid rgba(0, 0, 0, 0.2); /* REDUCIDO: de 3px a 2px */
    border-top: 2px solid var(--primary-black); /* REDUCIDO: de 3px a 2px */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

/* ===== ACCESIBILIDAD ===== */
.usado-form input:focus,
.usado-form textarea:focus,
.usado-form select:focus,
.btn-modal-action:focus {
    outline: 2px solid var(--primary-blue); /* REDUCIDO: de 3px a 2px */
    outline-offset: 2px; /* REDUCIDO: de 3px a 2px */
}
/* Agregar al final de styles/main.css */

/* Eliminar outline solo cuando se hace clic con mouse */
.nav-link:focus:not(:focus-visible),
.category-btn:focus:not(:focus-visible),
.btn-view-unit:focus:not(:focus-visible),
.btn-view-all:focus:not(:focus-visible),
.btn-randon:focus:not(:focus-visible),
.btn-financing:focus:not(:focus-visible),
.btn-mercadolibre:focus:not(:focus-visible),
.unit-card:focus:not(:focus-visible),
.value-card:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Mantener outline para navegación con teclado (accesibilidad) */
.nav-link:focus-visible,
.category-btn:focus-visible,
.btn-view-unit:focus-visible,
.btn-view-all:focus-visible,
.btn-randon:focus-visible,
.btn-financing:focus-visible,
.btn-mercadolibre:focus-visible {
    outline: 3px solid var(--primary-blue) !important;
    outline-offset: 2px !important;
}

/* ===== CARD RANDON - SOLUCIÓN DEFINITIVA ===== */

/* Ajustar el contenedor principal */
.randon-bg-gradient {
    padding: 18px 25px !important;
}

.randon-main-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

/* Semirremolque - TAMAÑO CORRECTO para que NO se desborde */
.randon-semiremolque {
    flex: 0 0 35% !important;
    max-width: 35% !important;
}

.semiremolque-img {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    height: auto !important;
}

/* Texto - ESPACIO ADECUADO */
.randon-text-right {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}

/* Título - BLANCO */
.randon-title {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
    line-height: 1.3 !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
}

/* Descripción - BLANCO y tamaño para 2 líneas */
.randon-description {
    font-size: 0.68rem !important;
    color: #FFFFFF !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
    font-weight: 300 !important;
}

/* Botón */
.btn-randon-white {
    padding: 8px 18px !important;
    font-size: 0.72rem !important;
    margin-top: 5px !important;
}

/* Altura de la card */
.randon-modal {
    min-height: 190px !important;
}

/* ===== AGRANDAR Y CENTRAR SEMIRREMOLQUE SIN MOVER TEXTO ===== */

/* Semirremolque - MÁS GRANDE Y CENTRADO */
.randon-semiremolque {
    flex: 0 0 35% !important;
    max-width: 45% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* CENTRADO */
}

.semiremolque-img {
    width: 240px !important; /* AGRANDADO: de 200px a 240px */
    max-width: 240px !important;
    min-width: 240px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important; /* CENTRADO */
}

/* Texto - MANTENER EN SU LUGAR */
.randon-text-right {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    padding-left: 0 !important; /* Sin padding extra */
}

/* Logo RANDON - MANTENER ARRIBA A LA DERECHA */
.randon-logo-top {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    margin: 0 !important;
}

/* Asegurar que el contenedor principal no se mueva */
.randon-main-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    position: relative !important;
}


.semiremolque-img {
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
}
/* ===== CENTRAR SEMIRREMOLQUE VERTICALMENTE ===== */

.randon-main-content {
    display: flex !important;
    align-items: center !important; /* Centrado vertical */
    justify-content: space-between !important;
    gap: 20px !important;
    min-height: 140px !important; /* Dar altura para centrar */
}

.randon-semiremolque {
    flex: 0 0 35% !important;
    max-width: 35% !important;
    display: flex !important;
    align-items: center !important; /* Centrado vertical */
    justify-content: center !important;
    padding-top: 65px !important; /* BAJAR el semirremolque */
}

.semiremolque-img {
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ajustar el texto para que también esté centrado verticalmente */
.randon-text-right {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centrado vertical */
}
/* ===== ENLACE A RESEÑAS DE GOOGLE ===== */
.google-reviews-link {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
}

.google-reviews-link:hover {
    color: var(--secondary-dark-blue) !important;
    border-bottom-color: var(--primary-blue) !important;
    transform: translateX(3px) !important;
}

/* Icono de Google (opcional - si quieres agregar el logo) */
.google-reviews-link::before {
    content: '★' !important;
    font-size: 1.2rem !important;
    color: #FFD700 !important;
}

.google-reviews-link:hover::before {
    animation: starPulse 0.6s ease !important;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Versión alternativa con ícono de flecha externa */
.google-reviews-link::after {
    content: '\f35d' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 0.8rem !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease !important;
}

.google-reviews-link:hover::after {
    opacity: 1 !important;
}

/* ===== RESPONSIVE PARA ENLACE DE GOOGLE ===== */
@media (max-width: 768px) {
    .google-reviews-link {
        font-size: 0.9rem !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .google-reviews-link {
        font-size: 0.85rem !important;
    }
}

/* ===== LOGO DE GOOGLE EN ENLACE ===== */
.google-logo-icon {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
}

/* Ajustar el enlace para que el logo quede bien */
.google-reviews-link {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.3s ease !important;
    padding: 8px 0 !important;
    border-bottom: 2px solid transparent !important;
}

/* Eliminar el ::before de la estrella */
.google-reviews-link::before {
    display: none !important;
}

/* Mantener el hover */
.google-reviews-link:hover {
    color: var(--secondary-dark-blue) !important;
    border-bottom-color: var(--primary-blue) !important;
    transform: translateX(3px) !important;
}

.google-reviews-link:hover .google-logo-icon {
    transform: scale(1.1) !important;
    transition: transform 0.3s ease !important;
}

/* ===== INDICADORES DEL CARRUSEL (PUNTITOS) ===== */

.carousel-indicators {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 30px !important;
    padding: 0 !important;
    list-style: none !important;
}

.carousel-indicator {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #d1d5db !important; /* Gris claro */
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    outline: none !important;
}

.carousel-indicator:hover {
    background: #9ca3af !important; /* Gris medio */
    transform: scale(1.2) !important;
}

.carousel-indicator.active {
    background: var(--primary-blue) !important; /* Azul cuando está activo */
    width: 32px !important; /* Más ancho cuando está activo */
    border-radius: 6px !important; /* Forma de píldora */
    transform: scale(1) !important;
}

/* Focus para accesibilidad */
.carousel-indicator:focus-visible {
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: 2px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-indicators {
        margin-top: 25px !important;
        gap: 10px !important;
    }
    
    .carousel-indicator {
        width: 10px !important;
        height: 10px !important;
    }
    
    .carousel-indicator.active {
        width: 28px !important;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        margin-top: 20px !important;
        gap: 8px !important;
    }
    
    .carousel-indicator {
        width: 8px !important;
        height: 8px !important;
    }
    
    .carousel-indicator.active {
        width: 24px !important;
    }
}

/* ===== UNIFICACIÓN DE GRISES - COLOR #747474 ===== */
/* Agregar este código al final de styles/main.css */

/* ===== ACTUALIZAR VARIABLE CSS ===== */
:root {
    --secondary-gray: #747474 !important; /* NUEVO GRIS UNIFICADO */
}

/* ===== SECCIÓN HERO - TEXTO SOBRE VIDEO ===== */
.hero-year {
    color: white !important;
}

/* ===== TÍTULO "UNIDADES DESTACADAS" ===== */
.section-title-special {
    color: #747474 !important;
}

.section-title-special .word-normal {
    color: #747474 !important;
}

.section-title-special .word-large {
    color: #747474 !important;
}

/* ===== CARDS DE UNIDADES - DETALLES TÉCNICOS ===== */
.unit-details {
    color: #747474 !important;
}

/* ===== SECCIÓN "¿POR QUÉ LARROSA?" ===== */
.value-description {
    color: #747474 !important;
}

/* ===== SECCIÓN TESTIMONIOS ===== */
.testimonials-new .testimonials-subtitle {
    color: #747474 !important;
}

.testimonials-new .testimonial-text-new {
    color: #747474 !important;
}

/* ===== CARD RANDON - DESCRIPCIÓN ===== */
.randon-description {
    color: #747474 !important;
}

.randon-text-content p {
    color: #747474 !important;
}

/* ===== FORMULARIO "COMPRAMOS TU USADO" ===== */
.usado-modal-content p {
    color: #747474 !important;
}

.usado-form input::placeholder,
.usado-form textarea::placeholder {
    color: #747474 !important;
}

/* ===== FOOTER ===== */
.footer-description {
    color: #747474 !important;
}

.footer-contact p {
    color: #747474 !important;
}

/* ===== CUALQUIER OTRO TEXTO GRIS EN INICIO ===== */
.hero-section p,
.hero-subtitle {
    color: #747474 !important;
}

/* Texto secundario en general */
p.text-gray,
span.text-gray,
.secondary-text {
    color: #747474 !important;
}




/* ===== RESPONSIVE - MANTENER EL GRIS EN TODAS LAS PANTALLAS ===== */
@media (max-width: 768px) {
    .hero-year,
    .section-title-special,
    .unit-details,
    .value-description,
    .testimonials-new .testimonials-subtitle,
    .testimonials-new .testimonial-text-new,
    .randon-description,
    .footer-description {
        color: white !important;
    }
}

@media (max-width: 480px) {
    .hero-year,
    .section-title-special,
    .unit-details,
    .value-description,
    .testimonials-new .testimonials-subtitle,
    .testimonials-new .testimonial-text-new,
    .randon-description,
    .footer-description {
        color: white !important;
    }
}

/* ===== DEBUGGING - COMENTAR DESPUÉS DE VERIFICAR ===== */
/* Esto te ayudará a ver todos los elementos grises */
/*
[style*="color: #868991"],
[style*="color: #6b7280"],
[style*="color: #4b5563"],
[style*="color: rgb(134, 137, 145)"] {
    outline: 2px dashed red !important;
}
*/

/* ===== QUITAR BORDES DE BOTONES DE CATEGORÍAS ===== */
/* Agregar este código al final de styles/main.css */

/* Eliminar todos los bordes de los botones de categorías */
.hero-section .category-btn {
    border: none !important; /* ELIMINAR BORDE */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important; /* Mantener sombra sutil */
}

.hero-section .category-btn:hover {
    border: none !important; /* ELIMINAR BORDE en hover también */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; /* Sombra más pronunciada en hover */
}

.hero-section .category-btn:active {
    border: none !important;
}

.hero-section .category-btn:focus {
    border: none !important;
    outline: none !important; /* También eliminar outline si lo había */
}

/* ===== RESPONSIVE - SIN BORDES EN TODAS LAS PANTALLAS ===== */
@media (max-width: 1024px) {
    .hero-section .category-btn {
        border: none !important;
    }
}

@media (max-width: 768px) {
    .hero-section .category-btn {
        border: none !important;
    }
}

@media (max-width: 480px) {
    .hero-section .category-btn {
        border: none !important;
    }
}
/* ===== AGRANDAR TEXTOS DEL HERO ===== */
/* Agregar este código al final de styles/main.css */

/* "Desde 1977" - MÁS GRANDE */
.hero-year {
    font-size: 2rem !important; /* AUMENTADO: de 1.4rem a 2rem */
    font-weight: 300 !important;
    color: var(--primary-white) !important;
    margin: 0 0 0.3rem 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

/* "Comercializando camiones" - MÁS GRANDE */
.hero-main-title {
    font-size: 4.5rem !important; /* AUMENTADO: de 3.2rem a 4.5rem */
    font-weight: 700 !important;
    color: var(--primary-white) !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

/* ===== RESPONSIVE - AJUSTAR TAMAÑOS EN DIFERENTES PANTALLAS ===== */

@media (max-width: 1400px) {
    .hero-year {
        font-size: 1.8rem !important;
    }
    
    .hero-main-title {
        font-size: 4rem !important;
    }
}

@media (max-width: 1024px) {
    .hero-year {
        font-size: 1.6rem !important;
    }
    
    .hero-main-title {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-year {
        font-size: 1.4rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-main-title {
        font-size: 2.8rem !important;
        white-space: normal !important; /* Permitir salto de línea en móvil */
    }
}

@media (max-width: 480px) {
    .hero-year {
        font-size: 1.2rem !important;
    }
    
    .hero-main-title {
        font-size: 2.2rem !important;
        letter-spacing: 0.3px !important;
        white-space: normal !important;
    }
}

/* ===== AJUSTAR POSICIÓN DEL CONTENEDOR SI ES NECESARIO ===== */
.hero-text-overlay {
    position: absolute !important;
    bottom: 120px !important;
    left: calc((100% - 1200px) / 2 + 20px) !important; /* Alineado con el navbar */
    z-index: 5 !important;
    text-align: left !important;
    max-width: 1200px !important;
    white-space: nowrap !important;
}

/* Ajustar en pantallas más pequeñas */
@media (max-width: 1024px) {
    .hero-text-overlay {
        bottom: 100px !important;
        left: 20px !important; /* Alineado con el padding del navbar */
    }
}

@media (max-width: 768px) {
    .hero-text-overlay {
        bottom: 80px !important;
        left: 20px !important; /* Alineado con el padding del navbar */
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {
    .hero-text-overlay {
        bottom: 70px !important;
        left: 15px !important; /* Alineado con el padding del navbar en móvil */
    }
}
/* Forzar "Desde 1977" en blanco puro */
.hero-year {
    color: #FFFFFF !important;
    opacity: 1 !important;
    /* text-shadow eliminado */
}

.hero-main-title {
    color: #FFFFFF !important;
    opacity: 1 !important;
}
/* ===== AGREGAR ESTO AL FINAL DE main.css ===== */
/* Esta es la solución MÁS AGRESIVA para forzar el blanco */

.hero-year,
.hero-text-overlay .hero-year {
    color: #FFFFFF !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    /* text-shadow eliminado */
}

/* También para el título principal */
.hero-main-title,
.hero-text-overlay .hero-main-title {
    color: #FFFFFF !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    /* text-shadow eliminado */
}

/* Asegurar que el contenedor no tenga filtros */
.hero-text-overlay {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Por si acaso, también el hero-content */
.hero-content {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.hero-content * {
    color: #FFFFFF !important;
}


.btn-view-all {
    font-size: 0.8rem !important; /* Igualado al botón de las cards */
    padding: 0.6rem 1rem !important; /* Igualado al botón de las cards */
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
}
/* ===== NAVEGACIÓN CENTRADA VISUALMENTE ===== */
/* Reemplaza el código anterior con esto: */

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between !important; /* CAMBIADO */
    align-items: center;
    padding: 0 20px;
    height: 90px;
    gap: 0 !important; /* ELIMINADO el gap */
}

/* Logo a la izquierda */
.nav-logo {
    flex: 0 0 auto;
    margin-right: 0;
}

/* Navegación centrada EN EL ESPACIO RESTANTE */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute !important; /* NUEVO */
    left: 50% !important; /* NUEVO */
    transform: translateX(-50%) !important; /* NUEVO: Centrado perfecto */
}

/* Botones a la derecha */
.nav-button {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Hamburguesa oculta en desktop */
.hamburger {
    display: none;
}

/* ===== RESPONSIVE - MÓVIL ===== */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between !important;
        gap: 1rem !important;
    }
    
    .nav-logo {
        order: 1;
        flex-shrink: 0;
    }
    
    /* Navegación se convierte en menú móvil */
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 98px !important;
        transform: none !important; /* RESETEAR transform en móvil */
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: var(--transition-fast);
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    /* Hamburguesa visible y a la derecha */
    .hamburger {
        order: 3;
        display: flex !important;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    /* Botones también en el menú móvil o escondidos */
    .nav-button {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px !important;
    }
}

/* ===================================================================
   RESPONSIVE PARA PANTALLAS GRANDES (MONITORES ANCHOS)
   ================================================================= */

/* Para pantallas de 1400px a 1599px (laptops grandes) */
@media (min-width: 1400px) {
    :root {
        --container-max-width: 1320px;
    }

    .container {
        max-width: 1320px;
        padding: 0 30px;
    }

    /* Hero Section */
    .hero-main-title {
        font-size: 4rem !important;
    }

    .hero-year {
        font-size: 1.8rem !important;
    }

    /* Category Buttons */
    .category-buttons {
        gap: 25px;
        padding: 25px 0;
    }

    .category-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    /* Featured Units */
    .section-title-special {
        font-size: 3.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .units-carousel {
        width: 1280px !important;
        max-width: 95% !important;
    }

    .units-track .unit-card {
        flex: 0 0 300px !important;
        width: 300px !important;
        height: 400px !important;
    }

    /* Why Larrosa Section */
    .values-grid {
        gap: 3rem;
        max-width: 1300px;
    }

    .value-card {
        padding: 30px;
    }

    .value-title {
        font-size: 1.8rem;
    }

    /* Cotización Section */
    .cotizacion-container-new {
        max-width: 1320px;
        margin: 0 auto;
    }

    .card-randon-new h3 {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonials-title {
        font-size: 2.8rem;
    }

    .testimonial-card-new {
        padding: 35px;
    }

    /* Footer */
    .footer-content {
        max-width: 1320px;
        margin: 0 auto;
    }
}

/* Para pantallas de 1600px a 1919px (monitores Full HD) */
@media (min-width: 1600px) {
    :root {
        --container-max-width: 1500px;
    }

    .container {
        max-width: 1500px;
        padding: 0 40px;
    }

    /* Hero Section */
    .hero-main-title {
        font-size: 4.5rem !important;
    }

    .hero-year {
        font-size: 2rem !important;
    }

    .hero-video {
        height: 600px !important; /* Mantener 600px como en pantalla 14" */
    }

    /* Category Buttons */
    .category-buttons {
        gap: 30px;
        padding: 30px 0;
    }

    .category-btn {
        padding: 20px 40px;
        font-size: 1.2rem;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    /* Featured Units */
    .section-title-special {
        font-size: 4rem !important;
        margin-bottom: 1rem !important;
    }

    .units-carousel {
        width: 1460px !important;
        max-width: 95% !important;
    }

    .units-track .unit-card {
        flex: 0 0 340px !important;
        width: 340px !important;
        height: 440px !important;
    }

    .unit-card .unit-image {
        height: 280px !important;
    }

    .unit-title {
        font-size: 1.3rem !important;
    }

    /* Why Larrosa Section */
    .values-grid {
        gap: 4rem;
        max-width: 1480px;
    }

    .value-card {
        padding: 40px;
    }

    .value-title {
        font-size: 2rem;
    }

    .value-description {
        font-size: 1.1rem;
    }

    /* Cotización Section */
    .cotizacion-container-new {
        max-width: 1500px;
    }

    .card-randon-new {
        padding: 40px;
    }

    .card-randon-new h3 {
        font-size: 1.7rem;
    }

    .card-usado-new h3,
    .card-meli-new h3 {
        font-size: 1.3rem;
    }

    /* Testimonials */
    .testimonials-title {
        font-size: 3.2rem;
    }

    .testimonial-card-new {
        padding: 40px;
        min-width: 380px;
    }

    .testimonial-text-new {
        font-size: 1.05rem;
    }

    /* Footer */
    .footer-content {
        max-width: 1500px;
    }

    .footer-section h4 {
        font-size: 1.3rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 1.05rem;
    }
}

/* Para pantallas de 1920px en adelante (monitores 2K y superiores) */
@media (min-width: 1920px) {
    :root {
        --container-max-width: 1720px;
    }

    .container {
        max-width: 1720px;
        padding: 0 50px;
    }

    /* Hero Section */
    .hero-main-title {
        font-size: 5rem !important;
        letter-spacing: 2px;
    }

    .hero-year {
        font-size: 2.2rem !important;
    }

    .hero-video {
        height: 600px !important; /* Mantener 600px como en pantalla 14" */
    }

    /* Category Buttons */
    .category-buttons {
        gap: 40px;
        padding: 35px 0;
    }

    .category-btn {
        padding: 22px 45px;
        font-size: 1.3rem;
    }

    .category-icon {
        width: 80px;
        height: 80px;
    }

    /* Featured Units */
    .featured-units {
        padding: 50px 0 80px 0 !important;
    }

    .section-title-special {
        font-size: 4.5rem !important;
        margin-bottom: 1rem !important;
    }

    .units-carousel {
        width: 1680px !important;
        max-width: 95% !important;
    }

    .units-track {
        gap: 30px !important;
    }

    .units-track .unit-card {
        flex: 0 0 380px !important;
        width: 380px !important;
        height: 480px !important;
    }

    .unit-card .unit-image {
        height: 300px !important;
    }

    .unit-card .unit-info {
        padding: 25px !important;
    }

    .unit-title {
        font-size: 1.4rem !important;
    }

    .unit-details {
        font-size: 1.05rem !important;
    }

    .btn-view-unit {
        padding: 14px 30px !important;
        font-size: 1rem !important;
    }

    /* Why Larrosa Section */
    .why-larrosa {
        padding: 100px 0;
    }

    .section-title {
        font-size: 3.5rem;
        margin-bottom: 5rem;
    }

    .values-grid {
        gap: 5rem;
        max-width: 1680px;
    }

    .value-card {
        padding: 50px;
    }

    .value-title {
        font-size: 2.2rem;
    }

    .value-description {
        font-size: 1.15rem;
        line-height: 1.8;
    }

    .value-image img {
        height: 350px;
    }

    /* Cotización Section */
    .cotizacion-container-new {
        max-width: 1720px;
        gap: 40px;
    }

    .card-randon-new {
        padding: 50px;
    }

    .card-randon-new h3 {
        font-size: 2rem;
    }

    .card-randon-new p {
        font-size: 1.15rem;
    }

    .card-usado-new,
    .card-meli-new {
        padding: 35px;
    }

    .card-usado-new h3,
    .card-meli-new h3 {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonials-new {
        padding: 100px 0;
    }

    .testimonials-title {
        font-size: 3.8rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-subtitle {
        font-size: 1.4rem;
    }

    .testimonial-card-new {
        padding: 45px;
        min-width: 420px;
    }

    .testimonial-title-new {
        font-size: 1.4rem;
    }

    .testimonial-text-new {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    /* Brands Section */
    .brands {
        padding: 80px 0;
    }

    .brand-logo {
        height: 100px;
    }

    /* Footer */
    .footer {
        padding: 80px 0 30px;
    }

    .footer-content {
        max-width: 1720px;
        gap: 5rem;
    }

    .footer-section h4 {
        font-size: 1.4rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 1.1rem;
    }

    .footer-logo {
        max-width: 250px;
    }
}

/* Para pantallas ultra anchas 2560px+ (4K y superiores) */
@media (min-width: 2560px) {
    :root {
        --container-max-width: 2200px;
    }

    .container {
        max-width: 2200px;
        padding: 0 80px;
    }

    /* Hero Section */
    .hero-main-title {
        font-size: 6rem !important;
    }

    .hero-year {
        font-size: 2.5rem !important;
    }

    .hero-video {
        height: 600px !important; /* Mantener 600px como en pantalla 14" */
    }

    /* Category Buttons */
    .category-btn {
        padding: 25px 50px;
        font-size: 1.5rem;
    }

    .category-icon {
        width: 90px;
        height: 90px;
    }

    /* Featured Units */
    .section-title-special {
        font-size: 5.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .units-carousel {
        width: 2100px !important;
    }

    .units-track .unit-card {
        flex: 0 0 480px !important;
        width: 480px !important;
        height: 580px !important;
    }

    .unit-card .unit-image {
        height: 360px !important;
    }

    /* Sections Spacing */
    .why-larrosa,
    .testimonials-new {
        padding: 120px 0;
    }

    .section-title {
        font-size: 4.5rem;
    }

    .values-grid {
        max-width: 2200px;
    }
}