/* ===== LARROSA CAMIONES - CSS ACTUALIZADO ===== */

/* ===== SECCIÓN INTRODUCTORIA ===== */
.intro-section {
    padding: 30px 0; /* Reducido de 60px a 30px */
    background: var(--primary-white);
    text-align: center;
}

.intro-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-title {
    font-size: 2.8rem;
    color: var(--primary-blue); /* Azul */
    margin-bottom: 25px;
    font-weight: 700; /* Negrita */
    line-height: 1.2;
    letter-spacing: 0.5px; /* Hace que el texto sea un poco más ancho */
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin: 0;
}

/* ===== SECCIONES DE SOLUCIONES ESTILO VOLVO ===== */
.solution-section {
    padding: 40px 0; /* Reducido de 80px a 40px */
    background: #f8f9fa;
}

.solution-section:nth-child(odd) {
    background: var(--primary-white);
}

.solution-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-container.reverse {
    grid-template-columns: 1fr 1fr;
}

.solution-container.reverse .solution-content {
    order: 2;
}

.solution-container.reverse .solution-image {
    order: 1;
}

/* Header de sección con botón */
.solution-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-blue);
    color: var(--primary-white);
    transform: translateY(-2px);
}
/* ===== CARRUSEL MÁS LENTO CON PAUSAS - REEMPLAZA EL CSS EXISTENTE ===== */

/* ===== CARRUSEL - MISMA ALTURA QUE BANNER DE CONTACTO ===== */

/* Contenedor principal del banner */
.empresa-image-banner {
    margin-top: 80px; /* Offset para navbar fija */
    width: 100%;
    height: 450px; /* ACTUALIZADO: de 400px a 450px (igual que contacto) */
    overflow: hidden;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slides {
    display: flex;
    width: 400%; /* Para 4 imágenes (2 originales + 2 duplicadas) */
    height: 100%;
    animation: bannerSlideSlowInfinite 8s infinite ease-in-out;
}

.banner-slide {
    width: 25%; /* Cada slide ocupa 25% del contenedor de 400% */
    height: 100%;
    flex-shrink: 0;
}

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

/* ANIMACIÓN - MÁS LENTA CON PAUSAS */
@keyframes bannerSlideSlowInfinite {
    /* Mostrar primera imagen - 3 segundos (0% a 37.5% = 3s de 8s) */
    0%, 37.5% {
        transform: translateX(0);
    }
    
    /* Transición a segunda imagen - 1 segundo (37.5% a 50% = 1s de 8s) */
    50% {
        transform: translateX(-25%);
    }
    
    /* Mostrar segunda imagen - 3 segundos (50% a 87.5% = 3s de 8s) */
    50%, 87.5% {
        transform: translateX(-25%);
    }
    
    /* Transición de vuelta (bucle infinito) - 1 segundo (87.5% a 100% = 1s de 8s) */
    100% {
        transform: translateX(-50%);
    }
}

/* Indicadores del carrusel */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Animación de progreso en los indicadores */
.indicator.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: indicatorProgress 4s linear infinite;
}

@keyframes indicatorProgress {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.5;
    }
}

/* Controles de navegación - OCULTOS */
.banner-nav {
    display: none; /* OCULTAMOS LAS FLECHAS */
}

/* Pausa la animación al hacer hover */
.banner-carousel:hover .banner-slides {
    animation-play-state: paused;
}

.banner-carousel:hover .indicator.active::after {
    animation-play-state: paused;
}

/* Overlay opcional para mejorar legibilidad */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(61, 95, 172, 0.08) 0%,
        rgba(0, 0, 0, 0.15) 100%
    );
    pointer-events: none;
    z-index: 5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .empresa-image-banner {
        height: 400px; /* ACTUALIZADO: misma proporción que contacto */
    }
    
    .banner-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .banner-nav.prev {
        left: 20px;
    }
    
    .banner-nav.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .empresa-image-banner {
        height: 350px; /* ACTUALIZADO: misma proporción que contacto */
    }
    
    .banner-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .banner-nav.prev {
        left: 15px;
    }
    
    .banner-nav.next {
        right: 15px;
    }
    
    .banner-indicators {
        bottom: 15px;
        gap: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .empresa-image-banner {
        height: 280px; /* ACTUALIZADO: misma proporción que contacto */
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .banner-nav.prev {
        left: 10px;
    }
    
    .banner-nav.next {
        right: 10px;
    }
    
    .banner-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active::after {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-width: 1px;
    }
}

/* ===== ACCESIBILIDAD ===== */
.banner-nav:focus {
    outline: 3px solid var(--primary-blue, #3D5FAC);
    outline-offset: 2px;
}

.indicator:focus {
    outline: 2px solid var(--primary-blue, #3D5FAC);
    outline-offset: 2px;
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .banner-slides {
        animation-duration: 16s; /* Más lento para usuarios sensibles al movimiento */
    }
    
    .indicator.active::after {
        animation: none;
    }
    
    .banner-nav {
        transition: none;
    }
    
    .indicator {
        transition: none;
    }
}

/* ===== EFECTOS ADICIONALES ===== */
.banner-slide {
    position: relative;
}

.banner-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 95, 172, 0.03) 0%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
}

/* Efecto de zoom muy sutil en hover */
.banner-carousel:hover .banner-image {
    transform: scale(1.01);
    transition: transform 0.6s ease;
}

/* Efecto de fade-in suave para las imágenes */
.banner-slide {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Mejora visual: sombra sutil en los controles */
.banner-nav {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.banner-indicators {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Sección de contenido - Texto debajo */
.empresa-content-section {
    background: var(--primary-white);
    padding: 50px 0 5px 0; /* Más espacio arriba, menos abajo */
}

.empresa-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Título principal */
.empresa-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: #6b7280; /* Color gris similar a la imagen */
    margin-bottom: 20px; /* Reducido de 30px a 20px */
    font-weight: 400;
    line-height: 1.3;
}

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

/* Línea decorativa */
.empresa-divider {
    width: 100px;
    height: 3px;
    background: var(--primary-blue);
    margin: 0 auto 20px auto; /* Reducido de 40px a 20px */
}

/* Descripción */
.empresa-description {
    text-align: center;
}

.empresa-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-gray);
    margin: 0 auto;
    max-width: 700px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .empresa-image-banner {
        height: 350px;
    }
    
    .empresa-title {
        font-size: 2.2rem;
    }
    
    .empresa-content-section {
        padding: 10px 0 10px 0;
    }
    
    .empresa-description p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .empresa-image-banner {
        height: 300px;
    }
    
    .empresa-title {
        font-size: 1.9rem;
        margin-bottom: 25px;
    }
    
    .empresa-content-section {
        padding: 8px 0 8px 0;
    }
    
    .empresa-content {
        padding: 0 20px;
    }
    
    .empresa-divider {
        width: 80px;
        margin-bottom: 30px;
    }
    
    .empresa-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .empresa-image-banner {
        height: 250px;
    }
    
    .empresa-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .empresa-content-section {
        padding: 5px 0 5px 0;
    }
    
    .empresa-content {
        padding: 0 15px;
    }
    
    .empresa-divider {
        width: 60px;
        height: 2px;
        margin-bottom: 25px;
    }
    
    .empresa-description p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ===== FIN DEL BANNER PRINCIPAL EMPRESA ===== */

/* ===== SECCIÓN QUIÉNES SOMOS ===== */
.quienes-somos-section {
    padding: 40px 0; /* Reducido de 80px a 40px */
    background: var(--primary-white);
}

.quienes-somos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.quienes-somos-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quienes-somos-text p {
    font-size: 1.15rem; /* Aumentado de 1.05rem a 1.15rem */
    line-height: 1.8;
    color: var(--secondary-gray);
    text-align: justify;
    margin: 0;
}

.quienes-somos-image {
    display: flex;
    align-items: stretch;
}

.quienes-somos-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    align-self: stretch;
}

/* ===== RESPONSIVE DESIGN QUIÉNES SOMOS ===== */
@media (max-width: 1024px) {
    .quienes-somos-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .quienes-somos-image {
        position: static;
        order: -1;
    }

    .quienes-somos-image img {
        min-height: 400px;
        max-height: 500px;
    }

    .quienes-somos-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .quienes-somos-section {
        padding: 60px 0;
    }

    .quienes-somos-container {
        padding: 0 20px;
        gap: 30px;
    }

    .quienes-somos-image img {
        min-height: 300px;
        max-height: 400px;
    }

    .quienes-somos-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .quienes-somos-section {
        padding: 40px 0;
    }

    .quienes-somos-container {
        padding: 0 15px;
        gap: 20px;
    }

    .quienes-somos-image img {
        min-height: 250px;
        max-height: 350px;
        border-radius: 8px;
    }

    .quienes-somos-text {
        gap: 15px;
    }

    .quienes-somos-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .empresa-hero-banner {
        min-height: 70vh;
    }
    
    .empresa-hero-title {
        font-size: 2.8rem;
    }
    
    .empresa-description p {
        font-size: 1.1rem;
    }
    
    .empresa-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .empresa-logo {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .empresa-hero-banner {
        min-height: 60vh;
        padding: 20px 0;
    }
    
    .empresa-hero-content {
        padding: 20px 15px;
    }
    
    .empresa-hero-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .empresa-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .empresa-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
        padding: 20px 0;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .empresa-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary-empresa,
    .btn-secondary-empresa {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .empresa-logo {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .empresa-hero-banner {
        min-height: 50vh;
    }
    
    .empresa-hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .empresa-description p {
        font-size: 0.95rem;
    }
    
    .empresa-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .stat-item {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .btn-primary-empresa,
    .btn-secondary-empresa {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .empresa-logo {
        height: 70px;
    }
}

/* ===== EFECTOS ADICIONALES ===== */
.empresa-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(248, 249, 250, 0.3));
    pointer-events: none;
}

/* Parallax effect */
@media (prefers-reduced-motion: no-preference) {
    .empresa-hero-image {
        transform: scale(1.1);
        transition: transform 20s ease;
    }
    
    .empresa-hero-banner:hover .empresa-hero-image {
        transform: scale(1.05);
    }


}

/* Focus states para accesibilidad */
.btn-primary-empresa:focus,
.btn-secondary-empresa:focus {
    outline: 3px solid var(--primary-white);
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .empresa-hero-banner {
        background: var(--primary-white) !important;
        color: var(--primary-black) !important;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .empresa-hero-background,
    .empresa-hero-overlay {
        display: none;
    }
    
    .empresa-hero-content {
        color: var(--primary-black) !important;
    }
    
    .empresa-actions {
        display: none;
    }
}

/* ===== FIN DEL BANNER PRINCIPAL EMPRESA ===== */

/* Títulos de sección */
.solution-title {
    font-size: 2.5rem;
    color: var(--primary-blue); /* Cambiado a azul */
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.2;
}

/* Subtítulos de sección */
.solution-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* Texto de contenido */
.solution-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-gray);
}

.solution-text p {
    margin-bottom: 20px;
}

.solution-text strong {
    color: var(--primary-black);
    font-weight: 600;
}

/* Imágenes de sección */
.solution-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: transparent; /* Sin fondo blanco */
}

.solution-image img {
    width: 100%;
    height: 300px; /* Reducido de 400px a 300px */
    object-fit: cover;
    transition: var(--transition-medium);
    display: block; /* Eliminar espacio debajo de la imagen */
}

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

/* Ajustes específicos solo para la segunda sección (Taller) */
.taller-section .solution-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: transparent; /* Sin fondo blanco */
}

.taller-section .solution-image img {
    width: 100%; /* Mismo ancho que las otras */
    height: 300px; /* Misma altura que las otras */
    object-fit: cover; /* Cambiar de contain a cover para que llene todo el espacio */
    border-radius: 12px;
    display: block; /* Eliminar espacio debajo */
}

.taller-section .solution-image:hover img {
    transform: scale(1.05);
}

/* ===== SECCIÓN DE FORMULARIO ===== */
.form-section {
    background: #f5f5f5;
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.form-header {
    margin-bottom: 50px;
}

.form-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Pasos del formulario */
.form-steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-gray);
    transition: var(--transition-fast);
}

.step.active {
    color: var(--primary-black);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.step.active .step-number {
    background: var(--primary-black);
}

.step-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Formulario */
.financial-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: var(--primary-black);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label i {
    color: var(--secondary-gray);
    margin-left: 5px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    font-size: 1rem;
    background: var(--primary-white);
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(61, 95, 172, 0.1);
}

/* Acciones del formulario */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-next {
    background: #e5e7eb;
    color: var(--primary-black);
    padding: 15px 40px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* ===== SECCIONES MANTENIDAS - AJUSTES MENORES ===== */

/* Historia Section */
.historia-section {
    padding: var(--section-padding);
    background: var(--primary-white);
}

.historia-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.historia-text h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.historia-text .lead {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.historia-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
    margin-top: 3rem;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid var(--primary-white);
    box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-year {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--secondary-gray);
    font-size: 1rem;
    margin: 0;
}

/* Historia Image */
.historia-image {
    position: sticky;
    top: 120px;
}

.historia-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.image-caption {
    margin-top: 1rem;
    text-align: center;
}

.image-caption p {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    font-style: italic;
}

/* ===== VALORES SECTION ===== */
.valores-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.valores-header {
    text-align: center;
    margin-bottom: 4rem;
}

.valores-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.valor-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.valor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.valor-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.valor-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.valor-card p {
    color: var(--secondary-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== CTA SECTION ===== */
.empresa-cta-section {
    padding: var(--section-padding);
    background: #f8f9fa;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--secondary-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
}

.cta-button:hover {
    background: var(--secondary-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.cta-button-outline:hover {
    background: var(--primary-blue);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .intro-title {
        font-size: 2.3rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .intro-container {
        padding: 0 30px;
    }

    .solution-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .solution-container.reverse .solution-content,
    .solution-container.reverse .solution-image {
        order: unset;
    }
    
    .solution-image {
        order: -1;
    }
    
    .solution-title {
        font-size: 2rem;
    }
    
    .form-steps {
        gap: 30px;
    }
    
    .historia-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .historia-image {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 50px 0;
    }

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

    .intro-text {
        font-size: 1rem;
    }

    .intro-container {
        padding: 0 20px;
    }

    .solution-section {
        padding: 60px 0;
    }

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

    .solution-subtitle {
        font-size: 1.3rem;
    }

    .solution-text {
        font-size: 0.95rem;
    }
    
    .solution-image img {
        height: 250px;
    }

    .taller-section .solution-image {
        max-height: 280px;
    }

    .taller-section .solution-image img {
        max-height: 280px;
    }

    .form-title {
        font-size: 1.8rem;
    }
    
    .form-steps {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .step {
        gap: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 15px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 40px 0;
    }

    .intro-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .intro-container {
        padding: 0 15px;
    }

    .solution-section {
        padding: 40px 0;
    }

    .solution-container {
        padding: 0 15px;
        gap: 30px;
    }

    .solution-title {
        font-size: 1.5rem;
    }

    .solution-subtitle {
        font-size: 1.2rem;
    }

    .taller-section .solution-image {
        max-height: 220px;
    }

    .taller-section .solution-image img {
        max-height: 220px;
    }

    .solution-header {
        justify-content: center;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .form-container {
        padding: 0 15px;
    }
    
    .form-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .financial-form {
        max-width: 100%;
    }
    
    .valor-card {
        padding: 2rem 1.5rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal - Estados iniciales */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Aplicar animaciones - Eliminadas las animaciones automáticas */
.solution-content {
    /* Animación ahora se controla con scroll-reveal */
}

.solution-image {
    /* Animación ahora se controla con scroll-reveal */
}

.reverse .solution-content {
    /* Animación ahora se controla con scroll-reveal */
}

.reverse .solution-image {
    /* Animación ahora se controla con scroll-reveal */
}

.form-header {
    /* Animación ahora se controla con scroll-reveal */
}

.form-steps {
    /* Animación ahora se controla con scroll-reveal */
}

.financial-form {
    /* Animación ahora se controla con scroll-reveal */
}
/* ===== SECCIÓN MARCAS - VERSION ESTÁTICA ===== */
/* Reemplaza el CSS del carrusel en todos tus archivos CSS */

.brands {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 40px 0 0 0;
    position: relative;
    overflow: hidden;
}

.brands-carousel {
    overflow: visible; /* CAMBIADO: de hidden a visible */
    position: relative;
    width: 100%;
    /* ELIMINADO: mask y -webkit-mask para que se vean todos los logos */
}

.brands-track {
    display: flex;
    align-items: center;
    justify-content: center; /* CAMBIADO: de flex-start a center */
    gap: 40px; /* REDUCIDO: de 60px a 40px para mejor distribución */
    padding: 20px 0;
    /* ELIMINADO: animation para que sea estático */
    width: 100%; /* CAMBIADO: de calc(200% + 60px) a 100% */
    flex-wrap: wrap; /* AGREGADO: para que se ajuste en pantallas pequeñas */
}

.brand-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
    min-width: 80px;
    object-fit: contain;
    opacity: 0.7; /* CAMBIADO: de 0.6 a 0.7 para mejor visibilidad */
    transition: all 0.3s ease;
    filter: grayscale(50%) brightness(0.9); /* REDUCIDO: de 100% a 50% grayscale */
    flex-shrink: 0;
    cursor: pointer;
    margin: 10px; /* AGREGADO: margen para separación cuando se ajusta */
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Configuración específica para cada marca - MANTENER IGUAL */
.brand-logo[alt="Scania"] {
    max-width: 100px;
}

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

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

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

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

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

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

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

.brand-logo[alt="Randon"] {
    max-width: 100px;
    height: 45px;
}

/* ELIMINADO: @keyframes brandCarousel - Ya no es necesario */

/* ELIMINADO: .brands-track::after - Ya no necesitamos duplicar contenido */

/* ELIMINADO: Pausa de animación - Ya no hay animación que pausar */

/* Estados adicionales - MANTENER */
.brands.with-title {
    padding-top: 80px;
}

.brands.with-title::before {
    content: 'Trabajamos con las mejores marcas';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    width: 100%;
}

.brands.compact {
    padding: 40px 0;
}

.brands.compact .brand-logo {
    height: 40px;
    max-width: 100px;
}

.brands.white-bg {
    background: #ffffff;
}

.brands.dark-bg {
    background: #2c3e50;
    border-color: #34495e;
}

.brands.dark-bg .brand-logo {
    filter: grayscale(50%) brightness(1.2) invert(1);
}

.brands.dark-bg .brand-logo:hover {
    filter: grayscale(0%) brightness(1) invert(1);
}

/* ===== RESPONSIVE DESIGN - ACTUALIZADO ===== */
@media (max-width: 1200px) {
    .brands-track {
        gap: 35px;
    }
    
    .brand-logo {
        height: 45px;
        max-width: 110px;
        margin: 8px;
    }
}

@media (max-width: 992px) {
    .brands {
        padding: 50px 0;
    }
    
    .brands-track {
        gap: 30px;
    }
    
    .brand-logo {
        height: 42px;
        max-width: 100px;
        margin: 6px;
    }
    
    .brand-logo[alt="Randon"] {
        height: 38px;
        max-width: 90px;
    }
}

@media (max-width: 768px) {
    .brands {
        padding: 40px 0;
    }
    
    .brands-track {
        gap: 25px;
        justify-content: center; /* Mantener centrado en móviles */
    }
    
    .brand-logo {
        height: 38px;
        max-width: 90px;
        min-width: 60px;
        margin: 5px;
    }
    
    .brand-logo[alt="Randon"] {
        height: 35px;
        max-width: 80px;
    }
    
    /* Ajustes específicos para móviles */
    .brand-logo[alt="Mercedes-Benz"],
    .brand-logo[alt="Volkswagen"] {
        max-width: 85px;
    }
}

@media (max-width: 480px) {
    .brands {
        padding: 30px 0;
        margin: 20px 0 0 0;
    }
    
    .brands-track {
        gap: 20px;
        /* Permitir múltiples filas en pantallas muy pequeñas */
        justify-content: center;
        max-width: 100%;
    }
    
    .brand-logo {
        height: 35px;
        max-width: 80px;
        min-width: 50px;
        margin: 4px;
    }
    
    .brand-logo[alt="Randon"] {
        height: 32px;
        max-width: 70px;
    }
}

/* ===== EFECTOS ADICIONALES - MANTENER ===== */
.brand-logo:hover {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(61, 95, 172, 0.1);
    border-radius: 8px;
}

/* Animación de entrada - MANTENER */
.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; /* CAMBIADO: de 0.6 a 0.7 */
        transform: translateY(0) scale(1);
    }
}

/* Delay escalonado para las marcas - MANTENER */
.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 - MANTENER */
@media (prefers-reduced-motion: reduce) {
    .brand-logo {
        transition: none;
    }
}

/* Focus para accesibilidad - MANTENER */
.brand-logo:focus {
    outline: 3px solid #3D5FAC;
    outline-offset: 3px;
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* ===== VARIANTES ESPECÍFICAS POR PÁGINA - MANTENER ===== */
.page-inicio .brands {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-unidades .brands {
    background: #ffffff;
    border-top: 2px solid #3D5FAC;
}

.page-empresa .brands {
    background: #f8f9fa;
}

.page-contacto .brands {
    background: #ffffff;
    margin-top: 60px;
}

.page-detalle .brands {
    background: #f8f9fa;
    margin-top: 40px;
}

/* ===== ACCESSIBILITY ===== */
.cta-button:focus,
.btn-next:focus,
.form-group input:focus,
.form-group select:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .solution-section,
    .form-section {
        page-break-inside: avoid;
    }
    
    .solution-image img {
        height: auto;
        max-height: 200px;
    }
    
    .cta-button,
    .btn-next {
        display: none;
    }
}

/* ===== OVERRIDE: Eliminar recuadro azul del botón Randon ===== */
.nav-button .btn-special:hover {
    border-color: transparent !important;
}

/* ===== AGREGAR AL FINAL DE styles/LarrosaCamiones.css ===== */

/* ========================================
   CORRECCIÓN: Footer - Botones Sociales Circulares
   ======================================== */

/* Forzar todos los botones sociales a ser circulares */
.footer .social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.footer .social-links .social-btn,
.footer .social-links .cta-button-outline {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Específico para botón WhatsApp */

  

/* Iconos dentro de botones sociales */
.footer .social-links .social-btn i,
.footer .social-links .cta-button-outline i {
    font-size: 18px !important;
    margin: 0 !important;
}

/* ========================================
   CORRECCIÓN: Footer - Color de Texto Uniforme
   ======================================== */

.footer .footer-contact p {
    color: #6b7280 !important;
    opacity: 1 !important;
}

.footer .footer-contact p i {
    color: #3D5FAC !important;
    margin-right: 8px !important;
}

.footer .footer-contact a {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer .footer-contact a:hover {
    color: #3D5FAC !important;
}

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

@media (max-width: 768px) {
    .footer .social-links .social-btn,
    .footer .social-links .cta-button-outline {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
    
    .footer .social-links .social-btn i,
    .footer .social-links .cta-button-outline i {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .footer .social-links .social-btn,
    .footer .social-links .cta-button-outline {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    .footer .social-links .social-btn i,
    .footer .social-links .cta-button-outline i {
        font-size: 15px !important;
    }
}

/* Botón WhatsApp circular - MANTENER COLORES ORIGINALES */
.footer .social-links .cta-button-outline {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.footer .social-links .cta-button-outline i {
    font-size: 18px !important;
    margin: 0 !important;
}