@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.container {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

html {
    background: #000;
}

body {
    background: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/*
.container {
    max-width: 2000px;
    margin: 0 auto;
}
*/
.header {
    display: flex;
    flex-wrap: wrap;
    position: static;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.logo {
    color: black;
    display: flex;
    font-size: 25px;
    font-weight: 800;
}

.logo img {
    max-height: 55px;
    max-width: 400px;
    margin-left: 0;
    /* Ajusta el margen negativo */
}

.navbar {
    background-color: transparent;
    /* Color de fondo de la barra de navegación */
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 16px;
    padding: 10px 20px;
    color: black;
    font-weight: 800;
    line-height: 1;
}

.navbar ul li a:hover {
    color: #6d522a;
    ;
}

#menu {
    display: none;
}

.menu-icono {
    width: 55px;
}

.menu label {
    cursor: pointer;
    display: none;
}

/*
/ * CSS existente * /
.submenu {
    display: none;
    / * Oculta el submenu por defecto * /
    position: absolute;
    font-size: 5px;
    background-color: #fff;
    / * Color de fondo * /
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    / * Sombra * /
    z-index: 1000;
    top: 100%;
    / * Posiciona el submenu debajo del elemento padre * /
    left: 0;
    / * Alinea el submenu con el borde izquierdo del elemento padre * /
    width: auto;
    / * Ancho automático * /
}

.navbar li:hover .submenu {
    display: flex;
    / * Cambia el display a flex para mostrar los elementos en línea * /
    flex-direction: column;
    / * Alinea los elementos horizontalmente * /
    flex-wrap: nowrap;
    / * Evita que los elementos se envuelvan * /
    gap: 1px;
    / * Espacio entre elementos * /
}

.submenu li a {
    font-size: 14px !important;
    / * Ajusta este valor según tus necesidades * /
    text-decoration: none;
    margin-bottom: -15px;
    / * Quita el subrayado * /
}

.submenu li {
    display: block;
    font-size: 10px;
}

.submenu li a:hover {
    background-color: #ffffff;
    / * Color de fondo al pasar el cursor sobre las opciones del submenu de servicios* /
}

/ * Estilos para el logo de PSE * /
.navbar li.pse-link a img {
    width: 50px;
    / * Ajusta el ancho del logo según sea necesario * /
    margin-right: 10px;
    / * Espacio entre el logo y el texto * /
    vertical-align: middle;
    / * Alinea verticalmente con el texto * /
}

.navbar li.pse-link a {
    display: flex;
    / * Usa flexbox para alinear verticalmente el texto y el logo * /
    align-items: center;
    / * Alinea verticalmente los elementos * /
}

.btn-simular-credito {
    display: inline-block;
    background-color: #F2E5A8;
    padding: 13px 30px;
    border-radius: 25px;
    color: white;
    text-transform: capitalize;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1);
}

.btn-simular-credito:hover {
    background-color: #c4e7f1;
}
*/
/*
.text-container h2 {
    margin: 0;
    text-align: center !important;
    / * Justificar el texto * /
    line-height: 1.5;
    / * Ajusta el espacio entre líneas * /
}

.text-container {
    position: absolute;
    width: 30%;
    top: 28%;
    left: 70%;
    z-index: 10;
    / * Para asegurarse de que el texto esté encima del slider * /
    padding: 10px;
}

.text-container h2 {
    margin: 0;
    text-align: left;
    / * Alineación del texto a la izquierda * /
}

*/



/* Estilos para los botones flotantes */
/*
.floating-buttons {
    position: fixed;
    bottom: 25px;
    / * Ajusta la posición verticalmente * /
    right: 1px;
    / * Ajusta la posición horizontalmente * /
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    / * Espacio entre los botones * /
    z-index: 1000;
}
/ * Botón principal * /
.main-btn {
    width: 60px;
    height: 60px;
    background-color: #f5d135;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-btn i {
    font-size: 24px;
    color: #ffffff;
}

.main-btn:hover {
    background-color: #fada4d;
}

/ * Botones desplegables * /
.quick-access {
    display: none;
    / * Ocultar por defecto * /
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    / * Espacio entre los botones * /
}
*/
.quick-btn {
    width: 66px;
    height: 66px;
    background-color: #f5d135;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(89, 56, 20);
    /*color: #ffffff;*/
    cursor: pointer;
    /*transition: transform 0.3s ease, background-color 0.3s ease;*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 55%;
    font-size: 2.618em;
    bottom: 44px;
    position: fixed;
    right: 44px;
    z-index: 1000;
}
.quick-btn:hover{
    opacity: 100%;
    transform: scale(161.8%);
}
/*
/ * Texto en los botones desplegables * /
.quick-btn i {
    color: #f3efef;
    / * Cambia los iconos a color negro * /
    font-size: 25px;
}

.quick-btn:hover {
    background-color: #fada4d;
    transform: scale(1.1);
}

.show-buttons .quick-access {
    display: flex;
    / * Mostrar los botones al hacer clic en el principal * /
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-contact .quick-btn {
    background-color: #4cd553;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.floating-contact .quick-btn:hover {
    background-color: #9de0a0;
}

.floating-contact a i {
    font-size: 30px;
    / * Tamaño del icono * /
    margin-right: 10px;
    / * Espacio entre el icono y el texto * /
}

.floating-contact .quick-btn i {
    margin-right: 5px;
}

.floating-contact .quick-btn span {
    display: none;
}

.floating-contact .quick-btn:hover span {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}

/ * Estilos para el botón flotante de WhatsApp * /
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: -68px !important;
    z-index: 1000;
    top: 90%;
}

.whatsapp img {
    width: 50px;
    / * Ajusta el tamaño del logo de WhatsApp según sea necesario * /
    border-radius: 50%;
    / * Da forma circular al botón * /
    border: 2px solid #25d366;
    / * Color del borde * /
    background-color: #fff;
    / * Color de fondo * /
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    / * Sombra * /
    transition: transform 0.3s ease;
    / * Efecto de transición al pasar el cursor * /
}

.whatsapp img:hover {
    transform: scale(1.1);
    / * Escala el botón al pasar el cursor * /
}

.nosotros {
    padding: 10px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.nosotros-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px;
}

.nosotros-img {
    flex: 1;
    text-align: center;
}

.nosotros-img img {
    max-width: 100%;
    border-radius: 50px;
    margin-top: 10px;
}

.nosotros-txt {
    flex: 2;
    text-align: left;
    margin: 10px;
    padding: 10px;
}

.nosotros-txt h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.nosotros-txt p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.btn-1 {
    display: inline-block;
    background-color: #f5d135;
    / * Color de fondo del botón * /
    color: #fff;
    / * Color del texto del botón * /
    padding: 10px 20px;
    / * Espaciado interno del botón * /
    border-radius: 5px;
    / * Bordes redondeados * /
    text-decoration: none;
    / * Eliminar subrayado * /
    font-size: 16px;
    / * Tamaño de fuente * /
    font-weight: bold;
    / * Peso de fuente * /
    transition: background-color 0.3s ease, transform 0.3s ease;
    / * Transición suave para el color de fondo y el efecto de transformación * /
}

.product-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-gap: 3rem;
}

.product {
    padding-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    height: 250px;
    border-radius: 25px 25px 0 0;
}

.product h3 {
    font-size: 20px;
    color: black;
    margin-top: 15px;
}

.product p {
    font-size: 16px;
    padding: 30px;
    color: gray;
    margin: 0;
}

.product span {
    background-color: #f5d135;
    padding: 10px;
    color: white;
    border-radius: 15px;
}

.product .read-more {
    background-color: #f5d135;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product .read-more:hover {
    background-color: #f3de81;
}

hr {
    border: 1px solid #EEE;
}
*/
.footer {
    width: 100%;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    padding: 0 20px;
}

.link {
    flex-basis: 30%;
    text-align: center;
}

.link h3 {
    font-size: 20px;
    color: black;
    margin-bottom: 20px;
}

.footer-links .link:first-child {
    background: url('../img/coopavalco.foot.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 150px;
}
/*
.socials img {
    margin-right: 15px;
}
*/
ul {
    padding: 0;
    list-style: none;
}

a {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    color: gray;
}

.whatsapp {
    width: 120px;
    /* Ancho especial para el botón de WhatsApp */
    height: 120px;
    /* Altura especial para el botón de WhatsApp */
    font-size: 20px;
    /* Tamaño del ícono de WhatsApp */
}
/*
/ * Estilos de la sección "Nosotros" * /
.nosotros {
    padding: 0px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.nosotros-txt h2 {
    color: #161515;
    / * Color inicial del texto * /
    transition: color 0.3s ease;
    / * Transición suave para el cambio de color * /
}

.nosotros-txt h2:hover {
    color: #f5d135;
    / * Color del texto al pasar el cursor * /
}

.nosotros-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nosotros-img img {
    max-width: 100%;
    border-radius: 50px;
    margin-top: 10px;
}

.nosotros-txt {
    max-width: 50%;
}

/ * Estilos del botón flotante de WhatsApp * /
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

/* Estilos del footer */
.footer {
    padding: 50px 0;
    background-color: #f2f2f2;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Contact Section Styles */
/*
.contact-info {
    text-align: center;
    padding: 50px 0;
    margin-top: 100px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    transition: color 0.3s ease;
    color: black;
}

.contact-info h2:hover {
    color: #f5d135;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #828282;
    margin-top: 12px;
    text-decoration: none;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f5d135;
}

.contact-item i {
    font-size: 24px;
    margin-right: 10px;
}

.contact-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #909090;
}

#map {
    width: 100%;
    height: 400px;
    margin-top: 30px;
}

.contact-form {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    / * Alineación vertical * /
    align-items: center;
    / * Alineación horizontal * /
}

.contact-form form {
    width: 100%;
    max-width: 600px;
    / * Ancho máximo del formulario * /
    display: flex;
    flex-direction: row;
    / * Disposición horizontal * /
    flex-wrap: wrap;
    gap: 15px;
}

.form {
    width: 400%;
}

.contact-form .form-group {
    flex: 1;
    min-width: 250px;
}

.contact-form .form-group label {
    margin-right: 10px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
}

.contact-form button {
    background-color: #f5d135;
    border-color: #f5d135;
    color: black;
    width: 100%;
    max-width: 200px;
    / * Ancho máximo del botón * /
}

.contact-form button:hover {
    background-color: #e6c31c;
    border-color: #e6c31c;
}
*/
/* Ajustes de estilo para pantallas pequeñas */
@media (max-width: 230px) {
    body {
        background-color: #f5d135;
        * {
            display: none;
        }
    }
}

@media (max-width: 283px) {
    .logo img {
        width: calc(100vw - 75px);
    }
}

@media (max-width: 600px) {
    /*
    .contact {
        padding: 30px 10px;
    }

    .contact form {
        width: 100%;
        padding: 0 10px;
    }
    */
}
/*
/ * Estilos adicionales para el contenedor y el contenido del formulario de contacto * /
.contact.container {
    margin: 50px auto;
    padding: 20px;
    background: #fff;
}

.contact .form-group input,
.contact .form-group textarea {
    border: 2px solid #f5d135;
    transition: border-color 0.3s ease;
}

.contact .form-group input:focus,
.contact .form-group textarea:focus {
    border-color: #c3a829;
}

.contact button.btn-1 {
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
    background: #f5d135;
}

.contact button.btn-1:hover {
    background: #c3a829;
}
*/
@media (max-width: 768px) {
/*
into cards.css
.cards-container {
        padding: 5px;
        flex-direction: column;
        margin-bottom: -15px;
        margin-left: 1px;
    }

    .floating-contact {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }

    / * Reducir el padding en pantallas pequeñas * /
    .card {
        padding: 1px;
        width: calc(100% - 20px);
        / * Tarjetas ocupan el 100% del ancho en pantallas pequeñas * /
        max-width: 100%;
    }

    .product-info {
        grid-template-columns: 1fr;
        / * Una columna en pantallas pequeñas * /
        grid-gap: 20px;
        / * Reducir el espacio entre las tarjetas * /
    }

    .product img {
        height: 200px;
        / * Reducir el tamaño de la imagen en pantallas pequeñas * /
    }
    */
}
@media (max-width: 991px) {
    .menu {
        background: linear-gradient(85deg, #fff 0%, #fff 4.6%, #fdf4dc 4.6%, #fdf4dc 15.8%, #f8d151 15.8%);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        padding: 10px;
        position: fixed;
    }

    .menu label {
        display: flex;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fffe;
        display: none;
    }

    .menu .navbar ul li {
        display: flex;
        width: 100%;
    }

    .menu .navbar ul li:last-child {
        border-bottom: solid 1px rgb(89, 56, 20,0.68535);
        box-shadow: 0 11px 9px rgb(0,0,0,0.42358)
    }

    .menu .navbar ul li a {
        color: rgb(0, 0, 0);
        padding: 20px;
        width: 100%;
    }

    .menu .navbar ul li a:hover {
        color: rgb(89, 56, 20);
        background-color: rgb(253, 244, 220);
    }

    #menu:checked~.navbar {
        display: initial;
    }

    /*
    .bg {
        width: 500px;
    }

    .esp {
        display: none;
    }

    .header-info {
        flex-direction: column;
        padding: 30px;
    }

    .header-txt {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .header-txt h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .header-img {
        width: 100%;
        text-align: center;
        padding-top: 35px;
    }

    .header-img img {
        width: 300px;
    }

    .link {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .product {
        width: 100%;
    }

    / * Estilos para la sección de productos en dispositivos móviles * /
    .products p {
        font-size: 14px;
        text-align: justify;
        / * Justifica el texto horizontalmente * /
        overflow: hidden;
        / * Oculta cualquier texto que se desborde * /
        text-overflow: ellipsis;
        / * Muestra puntos suspensivos (...) para indicar texto cortado * /
        margin: 0;
        / * Elimina el margen para evitar espacios innecesarios * /
        padding: 0;
        / * Elimina el relleno para evitar espacios innecesarios * /
    }


    / * Estilos para la sección header-content en dispositivos móviles * /
    .header-content {
        padding: 50px 20px;
        / * Ajusta el relleno para adaptarse al contenido * /
        text-align: center;
        / * Centra el contenido * /
        margin-left: 10px;
        / * Agrega un margen a la izquierda para correr la sección hacia la derecha * /
        margin-right: 10px;
        / * Agrega un margen a la derecha para correr la sección hacia la derecha * /
    }

    / * Estilos para el slider de imágenes en dispositivos móviles * /
    .image-slider {
        display: none;
    }

    .slider {
        position: relative;
        width: 20%;
        height: auto;
        / * Ajusta la altura automáticamente * /
        display: flex;
        align-items: center;
    }

    .slider img {
        width: 20%;
        / * Ajusta el ancho de las imágenes al 100% * /
        height: auto;
        / * Ajusta la altura automáticamente * /
    }

    .prev,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.5);
        color: black;
        border: none;
        cursor: pointer;
        padding: 10px;
        font-size: 18px;
        z-index: 1;
    }

    / * Estilos para los elementos dentro de header-txt en dispositivos móviles * /
    .header-txt {
        margin-left: 10px;
        / * Ajusta el margen izquierdo para correr los elementos a la izquierda * /
        margin-right: 40px;
        / * Ajusta el margen derecho para correr los elementos a la izquierda * /
    }

    .header-txt h1,
    .header-txt p,
    .header-txt a {
        text-align: left;
        / * Alinea el texto a la izquierda * /
    }

    .payment-card {
        margin-top: -40px;
        margin-left: -10px;
    }

    .header-txt h1 {
        font-size: 55px;
        line-height: 70px;
        font-weight: 600;
        color: black;
        margin-bottom: 25px;
        text-transform: capitalize;
        text-align: center;
        margin-top: -10px;
        / * Alinea el título al centro * /
    }

    .header-txt img {
        position: absolute;
        / * Posiciona la imagen absolutamente dentro del contenedor relativo * /
        max-width: 300px;
        / * Ajusta el ancho máximo de la imagen según sea necesario * /
        top: 480px;
        / * Ajusta la posición desde la parte superior * /
        right: 80px;
        border-radius: 20px;
        / * Ajusta la posición desde la derecha * /
    }

    .text-container h2 {
        display: none;
    }

    .codigo-texto {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-top: 15px;
    }

    .codigo-rojo {
        color: red;
        text-decoration: underline;
    }
    */
    /* Media query para dispositivos móviles */
    @media (max-width: 768px) {

        /*
        .nosotros-info {
            flex-direction: column;
            text-align: center;
        }

        .nosotros-img,
        .nosotros-txt {
            padding: 5px;
            width: 100%;
        }

        .nosotros-img img {
            margin-bottom: 20px;
        }

        .nosotros-txt h2 {
            font-size: 20px;
            text-align: justify;
        }
*/
        .menu-icono {
            margin-left: -30px;
            /* Esto empuja el ícono hacia la derecha */
        }
    }

    @media (max-width: 1200px) {
        footer .footer-links div.link:first-child {
            display: none;
        }
    }

    /* Media query para pantallas mayores a 1200 */
    @media (min-width: 1200px) {
        /*
        .text-container {
            width: 25%;
            top: 25%;
            left: 70%;
            padding: 20px;
        }

        into cards.css
        .cards-container {
            bottom: -250px;
            margin-left: 50px;
        }

        .card {
            width: 400px;
            padding: 30px;
            margin: 0;
        }


            */
    }
}

@media (min-width: 1500px) {

}

@media (min-width: 1500px) {
/*
into cards.css
    .cards-container {
        bottom: 60px;
        display: flex;
        justify-content: center;
        / * Centrar horizontalmente * /
        / * Ajustar otros estilos según sea necesario * /
    }

    .floating-buttons {
        / * Ajusta la posición verticalmente * /
        right: 90px;
    }

    .products {
        padding: 60px 0;
        text-align: center;
        margin-top: -50px;
    }

    .text-container {
        position: absolute;
        left: 67%;
    }
    */
}

/*
.codigo-texto {
    margin-top: 15px;
}

.codigo-contenedor {
    display: inline-block;
    background-color: #f5d135;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.codigo-contenedor .codigo-rojo {
    color: red;
    text-decoration: underline;
}
*/
@media (min-width: 1960px) {

    /*
    .products {
        padding: 60px 0;
        text-align: center;
        margin-top: -200px;
    }
    */
}