* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Eliminar TODOS los márgenes del navegador */
html, body, main, div, section {
    margin: 0 !important;
    padding: 0 !important;
}

/* Forzar ancho completo en todos los contenedores */
html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}


html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Fuerza que todas las secciones ocupen el ancho completo */
.carousel-container,
.static-image-section,
.video-section,
.sweep-section,
.three-images-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body { 
    font-family: 'Source Sans Pro', 'Arial', sans-serif; 
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
main {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
    .carousel-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

        .carousel-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-slide.active { opacity: 1; }

        .carousel-slide img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            z-index: 0;
        }

        .slide-content {
            position: relative;
            z-index: 10;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .content-wrapper { text-align: center; color: white; padding: 0 20px; }
        .btn-read-more {
            background: #4238420e;
            color: white;
            padding: 20px 80px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(56, 51, 56, 0.06);
            position: absolute;
            min-width: 200px;
            max-width: calc(100% - 40px);
            z-index: 11;
            font-size: 1rem;
            font-weight: bold;
        }
        .btn-read-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(43, 34, 43, 0.1);
            background: #332e3323;
        }

        .slide1 .btn-read-more { top: 65%; left: 50%; transform: translateX(-50%); }
        .slide2 .btn-read-more { top: 20%; right: 8%; transform: none; }
        .slide3 .btn-read-more { top: 30%; left: 8%; transform: none; }
        .slide4 .btn-read-more { bottom: 10%; right: 10%; transform: none; }
        .slide5 .btn-read-more { top: 40%; right: 8%; transform: none; }
        .slide6 .btn-read-more { top: 60%; left: 50%; transform: translateX(-50%); }
        .slide7 .btn-read-more { top: 25%; left: 8%; transform: none; }
        .slide8 .btn-read-more { bottom: 15%; left: 10%; transform: none; }
        .slide9 .btn-read-more { top: 35%; right: 8%; transform: none; }
        .slide10 .btn-read-more { bottom: 20%; left: 50%; transform: translateX(-50%); }

        .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 8px;
        z-index: 20;
        left: 0;
        right: 0;
        }

        .nav-btn {
        background: rgba(255,255,255,0.3);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        flex-shrink: 0;
    }
        .nav-btn:hover { background: rgba(255,255,255,0.5); transform: scale(1.1); }
        .nav-btn svg { width: 24px; height: 24px; fill: white; }

        .carousel-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 20;
            flex-wrap: wrap;
            justify-content: center;
            padding: 0 20px;
            max-width: 100%;
        }
        .dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        .dot.active {
            background: white;
            transform: scale(1.2);
            border: 2px solid rgba(255,255,255,0.5);
        }

        /* IMAGEN ESTÁTICA */
        .static-image-section {
            width: 100%;
            height: 80vh;
            min-height: 400px;
            position: relative;
            overflow: hidden;
        }

        .static-image-section img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* SECCIÓN DE VIDEO */
        .video-section {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 500px;
            padding: 0;
            overflow: hidden;
        }

        .video-section video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            display: block;
        }

        .video-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
            z-index: 1;
        }

        .video-content {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
            color: white;
        }

        .video-text {
            max-width: 1200px;
        }

        .video-text h2 {
            font-size: clamp(1.8rem, 5vw, 3rem);
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
        }

        .video-text p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.6;
            margin-bottom: 1.5rem;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
        }

        /* CORRECCIÓN 1: Botón del video más grande con Source Sans Pro */


        .video-btn {
    background: #ffd700;
    color: #333;
    padding: 22px 60px;
    width: 260px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Source Sans Pro', 'Arial', sans-serif;
    box-shadow: 0 6px 20px rgba(255,215,0,0.25);
    transition: all 0.3s ease;
    min-height: 70px;
}

        
        .video-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255,215,0,0.4);
            background: #ffed4e;
        }

        /* BARRIDO DE IMÁGENES */
        .sweep-section {
            min-height: 100vh;
            background: linear-gradient(135deg, #122488 0%,#122488 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        .sweep-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            gap: 20px;
        }

        .sweep-item {
            flex: 1;
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
            opacity: 0;
            transform: translateY(40px) scale(0.98);
        }

        .sweep-section.in-view .sweep-item {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .sweep-section.in-view .sweep-item:nth-child(1) { transition-delay: 0.06s; }
        .sweep-section.in-view .sweep-item:nth-child(2) { transition-delay: 0.12s; }
        .sweep-section.in-view .sweep-item:nth-child(3) { transition-delay: 0.18s; }
        .sweep-section.in-view .sweep-item:nth-child(4) { transition-delay: 0.24s; }
        .sweep-section.in-view .sweep-item:nth-child(5) { transition-delay: 0.30s; }

        .sweep-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .sweep-item:hover {
            flex: 1.5;
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        .sweep-item:hover::before {
            opacity: 0.5;
        }

        .sweep-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .sweep-item:hover img {
            transform: scale(1.1);
        }

        /* CORRECCIÓN 2 y 3: Contenido visible en hover y posicionado más arriba */
        .sweep-content {
            position: absolute;
            bottom: 60px;
            left: 0;
            right: 0;
            padding: 30px;
            color: white;
            z-index: 2;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            pointer-events: none;
        }

        .sweep-item:hover .sweep-content {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        /* CORRECCIÓN 2: Tipografía más grande en títulos de camiones */
        .sweep-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
            font-weight: bold;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            letter-spacing: 2px;
            font-family: 'Source Sans Pro', 'Arial', sans-serif;
        }

        .sweep-subtitle {
            font-size: clamp(1rem, 1.8vw, 1.3rem);
            line-height: 1.6;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
            font-family: 'Source Sans Pro', 'Arial', sans-serif;
        }

        /* SECCIÓN 3 IMÁGENES ESTÁTICAS */
        /* CORRECCIÓN 3: Eliminar espacio adicional después de la sección */
       .three-images-section {
            width: 100%;
            background: #f5f5f5;
            padding: 80px 20px 40px 20px; /* reduce padding inferior */
            margin: 0;
        }


        /* CORRECCIÓN 4: Centrar las tarjetas en desktop */
  .three-images-container {
    max-width: 1100px;          /* controla qué tan centrado se ve el grupo */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 320px); /* ancho fijo de cada tarjeta */
    gap: 40px;
    justify-content: center;    /* centra el grupo completo */
}

@media (max-width: 1100px) {
    .three-images-container {
        grid-template-columns: repeat(2, 320px);
    }
}

@media (max-width: 700px) {
    .three-images-container {
        grid-template-columns: 1fr;
        max-width: 90%;
    }
}
.three-images-section {
    display: flex;
    justify-content: center;
}


        .image-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(30px) scale(0.995);
        }

        .three-images-section.in-view .image-card {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .three-images-section.in-view .image-card:nth-child(1) { transition-delay: 0.06s; }
        .three-images-section.in-view .image-card:nth-child(2) { transition-delay: 0.12s; }
        .three-images-section.in-view .image-card:nth-child(3) { transition-delay: 0.18s; }

        .image-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0,0,0,0.18);
        }

        .image-card-img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .image-card:hover .image-card-img {
            transform: scale(1.05);
        }

        .image-card-content {
            padding: 30px;
            text-align: center;
        }

        .image-card-title {
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: #333;
            margin-bottom: 15px;
            font-weight: bold;
            font-family: 'Source Sans Pro', 'Arial', sans-serif;
        }

        .image-card-text {
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            color: #666;
            line-height: 1.6;
            margin-bottom: 25px;
            font-family: 'Source Sans Pro', 'Arial', sans-serif;
        }

        .image-card-btn {
            background: #122488;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: bold;
            font-family: 'Source Sans Pro', 'Arial', sans-serif;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
        }

        .image-card-btn:hover {
            background: #0d1a5f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 75, 162, 0.4);
        }

        /* RESPONSIVE TABLETS */
        @media (max-width: 1024px) {
            .carousel-container { height: 100vh; }
            
            .btn-read-more { 
                padding: 16px 50px; 
                font-size: 0.95rem; 
                min-width: 180px;
            }
            
            .slide2 .btn-read-more { top: 25%; right: 6%; }
            .slide3 .btn-read-more { top: 35%; left: 6%; }
            .slide4 .btn-read-more { bottom: 12%; right: 8%; }
            .slide5 .btn-read-more { top: 45%; right: 6%; }
            .slide7 .btn-read-more { top: 30%; left: 6%; }
            .slide8 .btn-read-more { bottom: 18%; left: 8%; }
            .slide9 .btn-read-more { top: 40%; right: 6%; }

            .static-image-section { height: 60vh; min-height: 350px; }
            .video-section { height: 80vh; min-height: 450px; }

            .video-btn {
                font-size: 20px;
                padding: 18px 50px;
                min-height: 60px;
            }

            .sweep-container {
                height: auto;
                min-height: 500px;
            }

            .sweep-item {
                min-height: 200px;
            }

            .sweep-content {
                padding: 20px;
                bottom: 40px;
            }

            .three-images-container {
                gap: 30px;
            }

            .image-card-img {
                height: 300px;
            }

            .image-card-content {
                padding: 25px;
            }
        }

        /* RESPONSIVE MÓVILES */
        @media (max-width: 768px) {
            .carousel-container { height: 100vh; height: 100svh; }
            
            .btn-read-more { 
                padding: 12px 30px; 
                font-size: 0.85rem; 
                min-width: 140px;
                max-width: calc(100% - 20px);
            }
            
            .slide2 .btn-read-more { top: 30%; right: 10px; transform: none; }
            .slide3 .btn-read-more { top: 40%; left: 10px; transform: none; }
            .slide4 .btn-read-more { bottom: 20%; right: 10px; transform: none; }
            .slide5 .btn-read-more { top: 50%; right: 10px; transform: none; }
            .slide7 .btn-read-more { top: 35%; left: 10px; transform: none; }
            .slide8 .btn-read-more { bottom: 25%; left: 10px; transform: none; }
            .slide9 .btn-read-more { top: 45%; right: 10px; transform: none; }
            .slide10 .btn-read-more { bottom: 25%; left: 50%; }

            .carousel-nav {
            padding: 0 5px;
            }

            .nav-btn { 
                width: 40px; 
                height: 40px;
            }

            
            .nav-btn svg { width: 20px; height: 20px; }
            
            .carousel-dots { 
                bottom: 15px; 
                gap: 8px; 
                padding: 0 10px;
            }
            .dot { width: 8px; height: 8px; }

            .static-image-section { height: 50vh; min-height: 300px; }

            .video-section { 
                height: 70vh; 
                height: 70svh;
                min-height: 400px;
            }

            .video-content {
                padding: 15px;
            }

            .video-btn { 
                padding: 16px 40px; 
                font-size: 18px;
                min-height: 55px;
            }

            .sweep-section {
                padding: 30px 15px;
            }

            .sweep-container {
                flex-direction: column;
                height: auto;
                min-height: auto;
                gap: 15px;
            }

            .sweep-item {
                min-height: 250px;
                flex: none;
            }

            .sweep-item:hover {
                flex: none;
                transform: translateY(-5px);
            }

            /* En móvil, el contenido siempre visible */
            .sweep-content {
                opacity: 1;
                transform: translateY(0);
                padding: 20px 15px;
                bottom: 20px;
            }

            .three-images-section {
                padding: 60px 15px 60px 15px;
            }

            .three-images-container {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .image-card-img {
                height: 250px;
            }

            .image-card-content {
                padding: 20px;
            }

            .image-card-btn {
                padding: 12px 30px;
                font-size: 0.9rem;
            }
        }

        /* RESPONSIVE MÓVILES PEQUEÑOS */
        @media (max-width: 480px) {
            .btn-read-more { 
            padding: 10px 20px; 
            font-size: 0.8rem; 
            min-width: 120px;
            max-width: calc(100% - 10px);
            }

            .carousel-nav {
                padding: 0 3px;
            }

            .nav-btn { 
                width: 35px; 
                height: 35px;
            }

            .nav-btn { width: 35px; height: 35px; }
            .nav-btn svg { width: 18px; height: 18px; }
            
            .carousel-dots { 
                bottom: 10px; 
                gap: 6px; 
            }
            .dot { width: 7px; height: 7px; }

            .static-image-section { height: 40vh; min-height: 250px; }

            .video-section { 
                height: 60vh; 
                height: 60svh;
                min-height: 350px;
            }

            .video-btn { 
                padding: 14px 35px; 
                font-size: 16px;
                min-height: 50px;
            }

            .sweep-item {
                min-height: 220px;
            }

            .sweep-content {
                padding: 15px 12px;
                bottom: 15px;
            }

            .three-images-section {
                padding: 50px 12px 50px 12px;
            }

            .three-images-container {
                gap: 20px;
            }

            .image-card-img {
                height: 220px;
            }

            .image-card-content {
                padding: 18px;
            }
        }

        /* LANDSCAPE MÓVILES */
        @media (max-height: 500px) and (orientation: landscape) {
            .carousel-container { height: 100vh; }
            .static-image-section { height: 100vh; }
            .video-section { height: 100vh; }
            
            .btn-read-more { 
                padding: 8px 20px; 
                font-size: 0.75rem; 
            }

            .carousel-dots { bottom: 5px; }
        }

        /* PREFERS REDUCED MOTION */
        @media (prefers-reduced-motion: reduce) {
            .sweep-item,
            .image-card,
            .image-card-img,
            .carousel-slide {
                transition: none !important;
                transform: none !important;
                opacity: 1 !important;
            }
            
            .btn-read-more:hover,
            .nav-btn:hover,
            .video-btn:hover,
            .image-card-btn:hover {
                transform: none !important;
            }
        }

        /* ===============================
   AJUSTES GENERALES DESKTOP
================================ */
@media (min-width: 1025px) {

    body {
        font-size: 16px;
    }

    /* CORRECCIÓN 4: Mejor centrado de tarjetas en desktop */
    .three-images-container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 50px;
        max-width: 1400px;
    }

    .image-card {
        flex: 1 1 350px;
        max-width: 420px;
        min-width: 350px;
    }

    /* TITULOS DE LAS CARDS */
    .image-card-title {
        font-size: 20px !important;
        line-height: 1.4;
        letter-spacing: 0.5px;
    }

    /* TEXTO DESCRIPTIVO */
    .image-card-text {
        font-size: 16px !important;
        line-height: 1.7;
    }

    /* BOTÓN "VER MÁS" */
    .image-card-btn {
        font-size: 16px !important;
        padding: 16px 45px !important;
        border-radius: 50px;
    }

    /* MEJOR CENTRADO */
    .image-card-content {
        padding: 35px 30px;
    }

    /* ALTURA MÁS EQUILIBRADA DE IMÁGENES */
    .image-card-img {
        height: 380px;
    }

    /* BOTÓN DE VIDEO MÁS GRANDE */
    .video-btn {
        font-size: 24px;
        padding: 22px 60px;
        min-height: 70px;
    }

    /* MEJORA EN TÍTULOS DE SWEEP */
    .sweep-title {
        font-size: 2.8rem !important;
    }

    .sweep-subtitle {
        font-size: 1.3rem !important;
    }

    .sweep-content {
        bottom: 80px;
        padding: 35px;
    }
}

/* ===============================
   BOTONES "VER MÁS" GLOBALES
================================ */
.image-card-btn,
.btn-read-more {
    min-height: 52px;
    min-width: 180px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* EFECTO MÁS PRO */
.image-card-btn:hover,
.btn-read-more:hover {
    transform: translateY(-3px) scale(1.03);
}