body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}


.header {
    background-color: #fff;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 250px;
    height: 50px;
}

.container-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

a {
    text-decoration: none;
}


.text-header {
    font-weight: 600;
    font-size: 16px;
    color: #032052;
    text-decoration: none;
}

.text-header:hover {
    color: #38D998;
}

.btn-conta {
    border-radius: 10px;
    background-color: #032052;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 20px;
    margin-left: 20px;
    border: none;
}

.btn-conta:hover {
    background-color: #38D998;

}

.container-img {
    width: 100%;
}

.banner {
    width: 100%;
}

.container-contactanos {
    display: flex;
    gap: 60px;
    margin-top: -80px;
    background-color: transparent;
    margin-bottom: 80px;
}

.contenedor-wha {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    background-image: url('../img/caja.png');
    background-repeat: no-repeat;
    background-position: center center;
    /* centrada */
    background-size: cover;
    /* 👈 llena todo el contenedor */
    width: 307px;
    height: 145px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgb(185 185 185 / 30%);
}

.contenedor-wha2 {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    background-image: url('../img/caja-correo.png');
    background-repeat: no-repeat;
    background-position: center center;
    /* centrada */
    background-size: cover;
    /* 👈 llena todo el contenedor */
    width: 307px;
    height: 145px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgb(185 185 185 / 30%);
}


.btn-contenedor-wha {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background-color: #38D998;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    width: 34%;
    font-weight: 600;
    justify-content: center;
    display: flex;
    text-align: center;
    gap: 10px;
    align-items: center;
}

.btn-contenedor-wha:hover {
    background-color: #31bf86;
}

.text-wha {
    color: #032052;
    font-size: 22px;
    font-weight: 600;
    margin: 0;

}

.text-secun-wha {
    color: #032052;
    font-size: 13px;
}

.text-marcas {
    font-size: 44px;
    color: #032052;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.text-sub-marcas {
    font-size: 14px;
    color: #595F6A;
    margin: 0;
}


/* CARRUSEL */

.carousel-container {
    overflow: hidden;
    width: 80%;
    margin-top: 15px;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.carousel-track2 {
    display: flex;
    align-items: center;
    gap: 0px;
    width: max-content;
    background-color: #37e917;
    animation: scroll 240s linear infinite;
}

.cosas {
    text-align: center;
    flex: 0 0 calc(12% - 0px);
}

.img-servicios {
    width: 270px;
    object-fit: contain;
    display: block;
}

/* Animación infinita sin cortes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* solo hasta la mitad */
    }
}

/* FIN CARRUSEL */


.comtainer-pie {
    margin-top: 60px;
    background-color: #032052;
    width: 77%;
    border-radius: 20px;
    padding: 70px 140px;
    height: 225px;
    margin-bottom: 50PX;
}

.container-logo-blanco {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.logo-blanco {
    width: 250px;
    margin-bottom: 50px;
}

.container-redes-sociales {
    display: flex;
    gap: 20px;
}

.redes {
    width: 40px;
    transition: 0.3s;
}

.redes:hover {
    content: url('../img/fb1.png');
    /* 👈 cambia la imagen */
}

.icon-x {
    width: 40px;
    transition: 0.3s;
}

.icon-x:hover {
    content: url('../img/x1.png');
    /* 👈 cambia la imagen */
}

.lin {
    width: 40px;
    transition: 0.3s;
}

.lin:hover {
    content: url('../img/lin1.png');
    /* 👈 cambia la imagen */
}



.container-pie-text {
    display: flex;
    gap: 15px;
}

.container-pie-text p {
    color: #AEC8F3;
    font-size: 16px;
    font-weight: 400;
    margin: 5px;
}


.container-pie-text p:hover {
    color: #fff;
}

.banner-cuadrado {
    width: 100%;
    display: none;
}

.text-pie-blanco {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    margin-top: 40px;
    margin-left: 6px;
}

.flecha {
    width: 16%;
    height: 14px;
}

@media (max-width: 500px) {
    .header {
        padding: 20px 10px;
    }

    img.logo {
        width: 33%;
        height: auto;
    }

    .text-header {
        font-size: 12px;
    }

    .btn-conta {
        font-size: 12px;
        padding: 15px 5px;
        margin-left: 0px;
        margin-right: 10px;
        border-radius: 8px;

    }


    .container-text {
        gap: 10px;
    }

    .banner {
        display: none;
    }

    .banner-cuadrado {
        display: block;
    }

    .container-contactanos {
        flex-direction: column;
        width: 80%;
        margin-top: -50px;
        margin-left: -10px;
    }

    .text-sub-marcas {
        text-align: center;
        font-size: 12px;
        margin: 10px 20px 15px 20px;
    }

    .comtainer-pie {
        width: 75%;
        padding: 30px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .contenedor-wha, .contenedor-wha2 {
        width: 85%;
    }

    .logo-blanco {
        width: 40%;
        margin-bottom: 25px;
    }

    .redes,
    .icon-x,
    .lin {
        width: 25px;
        height: 25px;
    }

    .container-pie-text {
        flex-direction: column;
    }

    .container-pie-text p {
        margin: 0;
        font-size: 13px;
    }

    .text-marcas {
        font-size: 26px;
    }

    .btn-contenedor-wha {
        width: 54%;
    }
}