.carousel-productos-wrapper {
     position: relative;
     width: 100%;
     overflow: hidden;
     background: #f3f6ff;
     margin: 0;
     padding: 0;
 }

 .carousel-productos-track {
     display: flex;
     gap: 18px;
     padding: 0.5rem 0;
     width: max-content;
     animation: carousel-scroll 18s linear infinite;
 }

 .carousel-productos-track img {
     width: 130px;
     border-radius: 18px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
     object-fit: cover;
     background: #fff;
 }

 @keyframes carousel-scroll {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 /* Oculta la barra de desplazamiento */
 .carousel-productos-wrapper::-webkit-scrollbar {
     display: none;
 }

 .carousel-productos-wrapper {
     -ms-overflow-style: none;
     scrollbar-width: none;
 }




 /***********************/

  .carousel-productos-wrapper {
     position: relative;
     width: 100%;
     overflow: hidden;
     background: #f3f6ff;
     margin: 0;
     padding: 0;
 }

 .carousel-productos-track-inv {
     display: flex;
     gap: 18px;
     padding: 0.5rem 0;
     width: max-content;
     animation: carousel-scroll-inv 18s linear infinite;
 }

 .carousel-productos-track-inv img {
     width: 130px;
     border-radius: 18px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
     object-fit: cover;
     background: #fff;
 }

 @keyframes carousel-scroll-inv {
     0% {
         transform: translateX(-50%);
     }

     100% {
         transform: translateX(0);
     }
 }

 /* Oculta la barra de desplazamiento */
 .carousel-productos-wrapper::-webkit-scrollbar {
     display: none;
 }

 .carousel-productos-wrapper {
     -ms-overflow-style: none;
     scrollbar-width: none;
 }

 /* Responsive helpers */
img, iframe {
    max-width: 100%;
    height: auto;
}

#bloque-principal, #bloque-secundario, section {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    #bloque-principal {
        height: auto;
        min-height: 60vh;
    }
    #hero-latam {
        padding: 2rem 1rem;
        background-position: center center;
    }
    .carousel-productos-wrapper {
        margin-left: 0 !important;
        max-width: 100% !important;
    }
    .carousel-productos-track, .carousel-productos-track-inv {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .carousel-productos-track img, .carousel-productos-track-inv img {
        width: 45vw;
        max-width: 180px;
        margin: 0.5rem;
    }
    section[style*="display: flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #soluciones-blindaje > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    #soluciones-blindaje img {
        max-width: 100%;
        border-radius: 20px;
        margin-top: 1rem;
    }
    .container-fluid .row {
        flex-direction: column;
    }
    .col-lg-2, .col-lg-3 {
        max-width: 100%;
        padding: 1rem !important;
        margin: 0 !important;
    }
    .col-lg-3, .col-lg-2 {
        width: 100% !important;
    }
    .col-lg-2 {
        display: none;
    }
    .col-lg-3 {
        margin-bottom: 1rem;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    h1, h2, h3 {
        font-size: 1.3rem !important;
    }

    ul, li {
        font-size: 1rem !important;
    }
    #carousel-productos {
        max-width: 100vw !important;
    }
    .carousel-productos-track img, .carousel-productos-track-inv img {
        width: 80vw;
        max-width: 120px;
    }
    section {
        padding: 1rem 0 !important;
    }
    .scroll-to-bottom {
        display: none;
    }
}

.hero-latam {
    position: relative;
    background: url('/img/landing/muelle-logistico.jpg') center center/cover no-repeat;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}



.atendemos-section {
    padding: 2rem 0;
    background: #f3f3f3;
}
.atendemos-container {
    max-width: 900px;
    margin: 0 auto;
}
.atendemos-title {
    color: #155d83;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.atendemos-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    justify-content: space-around;
    margin-bottom: 1.2rem;
}
.atendemos-card {
    padding: 0.5rem 1em;
    color: #00B5F8;
    width: 220px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.atendemos-icon {
    font-size: 4rem;
    margin-bottom: 0.1em;
}
.atendemos-text {
    color: #155d83;
    white-space: nowrap;
    padding: 0.5rem 1em;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
}
.atendemos-footer {
    color: #155d83;
    text-align: center;
}

/* Responsive: vertical stacking on mobile */
@media (max-width: 700px) {
    .atendemos-cards {
        flex-direction: column;
        align-items: center;
    }
    .atendemos-card {
        width: 90vw;
        min-width: 0;
        margin: 0 auto;
    }
}
.rounded-circle {
  border-radius: 50% !important;
}

.whatsapp-custom {
    position: fixed;
    right: 30px;
    bottom: 40px;
    background: #155d83;
    color: #fff;
    border-radius: 30px;
    padding: 10px 22px 10px 18px;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    z-index: 9999;
    text-decoration: none;
    transition: box-shadow 0.2s;
}
.whatsapp-custom:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    text-decoration: none;
    color: #fff;
}
.whatsapp-text {
    margin-right: 12px;
    line-height: 1.1;
}
.whatsapp-icon-circle {
    background: #25d366;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-left: 2px;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    display: flex !important;
}

/* Escala de grises para logos aliados y transición al color en hover */
.img-fluid-aliados {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.img-fluid-aliados:hover {
    filter: grayscale(0%);
}


/* Mostrar solo el botón WhatsApp adecuado según el dispositivo */
.whatsapp-custom.full-page { display: flex !important; }
.whatsapp.mobile-page { display: none !important; }

@media (max-width: 700px) {
  .whatsapp-custom.full-page { display: none !important; }
  .whatsapp.mobile-page { display: flex !important; }
}


.whatsapp.mobile-page {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 56px;
    height: 56px;
    position: fixed;
    right: 30px;
    bottom: 40px;
    background: #25d366;
    border-radius: 50%;
    z-index: 9999;
}

.whatsapp-icon {
    font-size: 32px;
    color: #fff;
}


@media (max-width: 991px) {
  .navbar .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
  }
  .navbar .nav-item {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }
}