* {
    margin: 0;
    padding: 0;
}

.container-principal-nostros {
    display: flex;
    flex-direction: column;
    padding: 84px 20px;
    background-color: #000;
    background-image: url(../img/fondo1.webp);
    background-position: center;
    background-size: cover;
}

.img-nosotros {
    width: 90%;
    margin-bottom: -302px;
    margin-top: -131px;
    z-index: 1;
    margin-left: -107px;
}

.fila147 {
    display: flex;
    width: 39%;
    flex-direction: column;
}


.titulo-subrayado {
    font-size: 45px;
    /* ajusta según tu diseño */
    font-weight: 900;
    color: #000;
    display: inline-block;
    position: relative;
    font-family: "Poppins", sans-serif;
    /* o tu fuente personalizada */
}

.text-blanco-no {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}



.titulo-subrayado::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    /* distancia entre texto y línea */
    width: 100%;
    height: 4px;
    background-color: #000;
    border-radius: 2px;
}

.titulo-subrayado:hover {
    color: #37e917;
}

.titulo-subrayado:hover::after {
    background-color: #37e917;
}


.text-nosotros {
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.porque-elegirnos {
    background-image: url(../img/fondo2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.container-elegirnos {
    width: 60%;
    border: 4px solid #37e917;
    height: 170px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    ;
}

.text-verde-elegirnos {
    color: #37e917;
    font-size: 14px;
}

.text-blanco-elegirnos {
    color: #fff;
    font-size: 14px;
}

.container-fila {
    display: flex;
    flex-direction: row;
}

.icono-ele {
    width: 82px;
    height: 75px;
}

.fila-ele {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 0px 30px;
    justify-content: center;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.estrellas-img {
    width: 30%;
    margin-left: 220px;
    margin-top: -80px;
    margin-bottom: 40PX;
}

.estrellas-img2 {
    width: 13%;
    margin-left: 600px;
    margin-top: -126px;
    margin-bottom: 40PX;
}

.container-title-dis {
    display: flex;
    width: 83%;
    justify-content: space-between;
    padding: 40px 0px 40px 200px;
}

.circle {
    width: 120px;
    height: 80px;
}

.img-servicios3 {
    height: 490px;
    display: block;
    object-fit: contain;
}

.calidad-garantizada {
    height: 90px;
}


.acordeon {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding: 40px;
    margin-top: 10px;
}

.card {
    background: linear-gradient(90deg, #80ff00, #54e200);
    border-radius: 25px;
    width: 215px;
    height: 350px;
    transition: all 0.4s ease;
    text-align: center;
    padding: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    /*  justify-content: center; */
    align-items: center;
    display: flex;
    flex-direction: column;
}



.card.active {
    flex: 1.5;
    text-align: left;
    padding: 20px 0px 26px 40px;
    width: auto;
    height: 440px;
    display: block;
    /* o inline-block, según lo que necesites */
    justify-content: unset;
    align-items: unset;
    flex-direction: unset;
    background-image: url(../img/nosotros-fondo-verde.webp);
    background-size: cover;
    /* La imagen cubre todo el contenedor */
    background-position: center;
    /* Centra la imagen */
    background-repeat: no-repeat;
}

.card img.logo {
    width: 90px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.card.active img.logo {
    width: 100px;
}

.img-marcas-acordeon {
    display: none;
}

.card.active .img-marcas-acordeon {
    display: block;
    width: 80%;
    height: 402px;
    margin-top: -19px;
    margin-bottom: -89PX;
}

.card.active .img-marcas-acordeon2 {
    display: block;
    width: 45%;
    height: 380px;
    margin-top: -23px;
    margin-bottom: -85PX;

}

.img-marcas-acordeon2,
.img-marcas-acordeon4,
.img-marcas-acordeon3 {
    display: none;
}

.card.active .img-marcas-acordeon4 {
    display: block;
    width: 42%;
    height: 385px;
    margin-top: 12px;
    margin-right: -5px;
    margin-bottom: -90px;
}

.card.active .img-marcas-acordeon3 {
    display: block;
    width: 40%;
    height: 380px;
    margin-top: -4px;
    margin-bottom: -100px;
    margin-right: -10px;
}

.img-parlante {
    display: none;
}

.card.active .img-parlante {
    display: block;
    width: 68%;
    margin-top: -85px;
    margin-right: -120px;
}

.card.active .texto-efecto {
    display: none;
}

.card.active .texto-efecto::before {
    display: none;
}

.card h2 {
    font-size: 28px;
    color: #111;
    margin-bottom: 10px;
}

.card .contenido {
    display: none;
}

.card.active .contenido {
    display: block;
}

.contenido p {
    font-size: 16px;
    font-weight: 600;
    margin-top: 46px;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    line-height: 27px;
}

.card button {
    background: #1a1a1a;
    color: #b8ff3b;
    font-weight: 600;
    border: none;
    width: 140px;
    padding: 12px 7px;
    border-radius: 50px;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.card.active button {
    position: static;
    transform: none;
}

.contanedor-acordeon {
    padding: 40px 70px;

}

/* texto sobrepuesto */
.texto-efecto {
    position: relative;
    font-size: 75px;
    font-weight: 900;
    line-height: 1;
    height: 100px;
    font-family: "Anton SC", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    /* separación desde la imagen */
}

.texto-efecto span {
    color: #0b1a08;
    position: relative;
    z-index: 2;
    margin-top: 78px;
}

.texto-efecto::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    /* centrado exacto */
    left: 0;
    right: 0;
    color: transparent;
    -webkit-text-stroke: 0.0001px #0b1a08;
    z-index: 1;
}

.texto-efecto24 {
    font-size: 50px !important;
    height: 25px;
}

.marquee {
    display: none;
    font-size: 67px;
    font-weight: 800;
    font-family: "Anton SC", sans-serif;
    margin-top: -120px;
    margin-left: 110px;
    font-stretch: 100%;
    gap: 5px;
}

.card.active .marquee {
    display: flex;
}

.filled {
    color: #0b1a08;
    ;
}

.stroke {
    color: transparent;
    -webkit-text-stroke: 0.1px #0b1a08;
    ;
}

.check {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #1b1b1b;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.text-bene {
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
}

.container-marcas {
    width: 90%;
    height: 767px;
    background-image: url(../img/rectangulo-fondo2.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 70px;
    margin-bottom: 260px;
}


.fondo-marcas {
    background-image: url(../img/fondo2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 60px 0px; */
}

.marcas-text-verdes {
    font-size: 58px;
    color: #34ec14;
    line-height: 64px;
    font-family: "Anton SC", sans-serif;
}

.marcas-text-blanco {
    font-size: 58px;
    color: #fff;
    line-height: 64px;
    font-family: "Anton SC", sans-serif;
}

.container-text-marcas {
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    gap: 80px;
    padding: 0px 40px;
}

.text-confiamos-marcas {
    font-weight: 600;
    color: #fff;
    font-size: 27px;
    margin-top: 0px;
    margin-left: 49px;
}

.container-vertical-147 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 1000px;
}

.btn-contactanos-verde {
    background-color: #9dfb00;
    border-radius: 20px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 40px;
    margin-left: 50px;

}


.btn-contactanos {
    background-color: #34ec14;
    color: #000;
    border-radius: 10px;
    padding: 12px 40px;
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    width: 38%;
    text-align: center;
}

.fila-img-chico {
    width: 37%;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: -100px;
}

.container-subimagenes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 23%;
    gap: 30px;
    margin-left: -345px;
    margin-top: 65px;
}



.img-nosotros-14 {
    width: 70%;
    transition: width 0.3s ease;
}

.img-nosotros-14:hover {
    width: 100%;
}

.carrusel {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #111;
    padding: 45px 0;
    margin-bottom: 25px;
    background-image: url(../img/fondo1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}

.carrusel-track {
    display: flex;
    width: calc(250px * 10);
    /* cantidad de imágenes * su ancho */
    animation: scroll 20s linear infinite;
}

.carrusel img {
    width: 250px;
    height: 185px;
    margin-right: 20px;
    border-radius: 10px;
    object-fit: cover;
}




/* Animación infinita */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.container-text-img {
    display: flex;
    flex-direction: row;
    gap: 20px;
}


.img-parlante {
    display: none;
}

@media (min-width: 1024px) and (max-width: 1440px) {}

@media (min-width: 1441px) and (max-width: 1700px) {
    .fila147 {
        width: 46%;
    }

    .estrellas-img {
        margin-left: 260px;
    }

    .text-confiamos-marcas {
        font-size: 20px !important;
    }

    .container-text-marcas {
        margin-top: 170px;
    }

    .card.active img.logo {
        width: 60px;
    }

    .marquee {
        margin-top: -70px;
        margin-left: 71px;
        font-size: 35px;
    }

    .card.active .img-marcas-acordeon {
        width: 45%;
        height: 260px;
        margin-top: 53px;
    }

    .contenido p {
        font-size: 13px;
        line-height: 18px;
    }

    .card {
        height: 330px;
    }

    .container-vertical-147 {
        width: 600px;
    }

    .card.active .img-marcas-acordeon2 {
        width: 50%;
        height: 279px;
        margin-top: 99px;
        margin-bottom: -69PX;
        margin-left: 0px;
    }

    .card.active .img-marcas-acordeon3 {
        display: block;
        width: 48%;
        height: 250px;
        margin-top: 168px;
        margin-bottom: -100px;
        margin-left: 0px;
    }

    .card.active .img-marcas-acordeon4 {
        display: block;
        width: 52%;
        height: 270px;
        margin-top: 140px;
        margin-right: -5px;
        margin-left: 0px;
        margin-bottom: -90px;
    }

    li {
        font-size: 13px;
    }

    .text-bene {
        font-size: 16px;
    }
}


@media (max-width:500px) {
    .container-principal-nostros {
        flex-direction: column;
        padding: 0px;
    }

    .fila {
        width: 100%;
        padding: 0px;
    }

    .img-nosotros {
        width: 133%;
        margin-top: -15px;
        margin-bottom: -15px;
        margin-left: -95px;
    }

    .text-nosotros {
        font-size: 13px;
        text-align: center;
    }

    .titulo-subrayado {
        font-size: 34px;
        text-align: center;
    }

    .fila-img-chico {
        margin-left: 0px;
        width: 56%;
        margin-bottom: -115px;
        margin-top: 101px;
    }

    .container-fila {
        flex-direction: column;
    }

    .fila-ele {
        width: 100%;
        padding: 0px;
        gap: 20px;
        margin-bottom: 20px;
    }

    .container-elegirnos {
        width: 80%;
    }

    .icono-ele {
        width: 51px;
        height: 52px;
    }

    .text-verde-elegirnos {
        font-size: 13px;
        font-weight: bold;
    }

    .text-blanco-elegirnos {
        font-size: 11px;
    }

    .fila147 {
        width: 100%;
        padding: 0px;
        text-align: center;
        align-items: center;
        padding-top: 85PX;
    }

    .text-blanco-no {
        font-size: 15px;
        margin-top: 20px;

    }

    .estrellas-img {
        margin-left: 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .container-title-dis {
        padding: 20px;
    }

    .img-servicios3 {
        height: 375px;
       
    }

    .fondo-marcas {
        display: none;
    }

    .estrellas-img2 {
        display: none;
    }

    .container-title-dis {
        width: 92%;
    }

    .calidad-garantizada {
        height: 55px;
    }

    .container-subimagenes {
        width: 100%;
        justify-content: end;
        align-items: end;
        margin-left: 0px;
        margin-top: -245px;
    }

    .img-nosotros-14 {
        width: 37%;
    }

    .img-nosotros-14:hover {
        width: 47%;
    }
}