* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.header-productos {
    min-height: 70vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}


.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 85px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa-solid {
    display: none;
}

/*Responsive*/


@media(max-width: 700px) {
    .text-box h1 {
        font-size: 30px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}

/*---- INDEX Nuestros Productos ----*/
.productos {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}


.productos-col-1 {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.productos-col-1:hover,
.productos-col-h1:hover,
.productos-col-h2:hover,
.productos-col-h3:hover {
    box-shadow: 0 0 20px 0px rgb(0, 0, 0, 0.2);
}

/*Responsive*/

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .productos-col-1 {
        flex-basis: 100%;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    .text-box h1 {
        font-size: 60px;
        /* Modifica según sea necesario */
    }

    .productos h1 {
        font-size: 28px;
        /* Modifica según sea necesario */
    }

    .productos p {
        font-size: 12px;
        /* Modifica según sea necesario */
    }

    .productos-col-1 {
        flex-basis: 28%;
        /* Modifica según sea necesario */
    }

    .general-1 h2 {
        font-size: 45px;
        /* Modifica según sea necesario */
    }

    .general-1 p {
        font-size: 12px;
        /* Modifica según sea necesario */
    }

    .btn-nosotros {
        padding: 10px 24px;
        /* Modifica según sea necesario */
        font-size: 12px;
        /* Modifica según sea necesario */
    }
}

/* Media Query para pantallas de 360x640 */
@media only screen and (max-width: 360px) {
    .text-box h1 {
        font-size: 30px;
        /* Modifica según sea necesario */
    }

    .productos h1 {
        font-size: 18px;
        /* Modifica según sea necesario */
    }

    .productos p {
        font-size: 10px;
        /* Modifica según sea necesario */
    }

    .productos-col-1 {
        flex-basis: 100%;
        /* Modifica según sea necesario */
    }

    .general-1 h2 {
        font-size: 25px;
        /* Modifica según sea necesario */
    }

    .general-1 p {
        font-size: 10px;
        /* Modifica según sea necesario */
    }

    .btn-nosotros {
        padding: 8px 20px;
        /* Modifica según sea necesario */
        font-size: 10px;
        /* Modifica según sea necesario */
    }
}

/*---- INDEX Nosotros ----*/

.general {
    display: flex;
    max-height: 75vh;
    /* Ajusta la altura máxima según tus preferencias */
    overflow: hidden;
    /* Para ocultar el contenido que excede la altura máxima */
}

.general-1 {
    width: 50%;
    padding: 10%;
    background-color: #fff3f3;
}

.general-2 {
    background-image: url(images/logo-para-pagina.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 50%;
}

.general-1 h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.general-1 p {
    font-size: 14px;
    color: #414247;
    margin: 25px 0 45px 0;
}

.btn-nosotros {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.btn-nosotros:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

/*Responsive*/

@media(max-width: 700px) {

    .general {
        max-height: none;
        /* Elimina la altura máxima en dispositivos pequeños */
    }

    .general-1 {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    .general-1 h2 {
        font-size: 30px;
    }

    .general-1 p {
        font-size: 14px;
    }

    .general-2 {
        display: none;
    }
}


/*Pagina Productos*/

/* ESTE CODIGO ES EL QUE TENIA LOS PRODUCTOS UNO ABAJO DEL OTRO
.titulo-productos {
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: fff3f3;
}


.productos-p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.producto-p {
    width: 98%;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
    background-color: fff3f3
}

.producto-p h2 {
    padding: 20px;
    font-size: 25px;
}

.producto-p img {
    max-width: 32%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.descripcion-p {
    margin-top: 10px;
}
*/

.titulo-productos {
    align-items: center;
    text-align: center;
    padding: 2%;
}

.titulo-fila {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    /* Agrega negrita a los títulos de fila */
    background-color: #ff9900;
    /* Cambia este color según tus preferencias */
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* 2 filas en total */
    gap: 20px;
    align-items: stretch;
    text-align: center;
    padding: 20px;
    background-color: #fff3f3;
}

.producto-p {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    /* Agrega bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Agrega sombreado */
}

.producto-p h2 {
    padding: 20px;
    font-size: 18px;
}

.producto-p img {
    width: 700px;
    height: 500px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 10px;
    /* Agrega bordes redondeados a las imágenes */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Ajusta el valor rgba para un sombreado más oscuro */
}


.descripcion-p {
    margin-top: 10px;
    flex-grow: 1;
}

.productos-grid-nuevos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    text-align: center;
    padding: 20px;
    background-color: #fff3f3;
}

.producto-p-2 {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    /* Agrega bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Agrega sombreado */
}

.producto-p-2 h2 {
    padding: 20px;
    font-size: 18px;
}

.producto-p-2 img {
    width: 700px;
    height: 500px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 10px;
    /* Agrega bordes redondeados a las imágenes */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Ajusta el valor rgba para un sombreado más oscuro */
}

.descripcion-p-2 {
    margin-top: 10px;
    flex-grow: 1;
}

.producto-p,
.producto-p-2 {
    width: 100%;
    /* Establece un ancho fijo para el contenedor */
}

.producto-p img,
.producto-p-2 img {
    max-width: 100%;
    /* Establece el tamaño máximo de las imágenes */
    height: 450px;
    /* Permite que la altura se ajuste automáticamente según las proporciones originales */
    object-fit: contain;
    /* Mantiene las proporciones originales sin recortar ni estirar */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/*Responsive*/

@media only screen and (max-width: 360px) {

    /* Ajustes específicos para pantallas de 360x640 */
    .titulo-productos {
        font-size: 24px;
        /* Modifica según sea necesario */
    }

    /* ... (otros ajustes específicos para pantallas pequeñas) ... */
}

@media only screen and (max-width: 700px) {

    .productos-grid,
    .productos-grid-nuevos {
        grid-template-columns: 1fr;
        /* Cambiado a una columna para pantallas más pequeñas */
    }

    .producto-p img {
        height: auto;
    }
}

/* Media Query para pantallas de 1366x768 (por ejemplo, laptops) */
@media only screen and (min-width: 1025px) and (max-width: 1366px) {

    /* Ajustes específicos para pantallas de 1366x768 */
    .titulo-productos {
        font-size: 36px;
        /* Modifica según sea necesario */
    }

    /* ... (otros ajustes específicos para pantallas medianas) ... */
}

/*Pagina Nosotros*/


.container-nosotros {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    font-size: 30px;
    color: #333;
    padding: 30px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}


.about-text {
    flex: 1;
    text-align: center;
    margin-right: 20px;
}

.about-text p {
    font-size: 18px;
}


.about-image {
    flex: 1;
    text-align: right;
}


.about-image img {
    max-width: 100%;
    height: auto;
}

.btn-nosotros {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: #333;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.btn-nosotros:hover {
    transform: translateY(-3px);
}

/*Responsive*/
@media (max-width: 700px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        flex: auto;
        text-align: center;
        margin-right: 0;
    }

    .btn-nosotros {
        font-size: 16px;
        padding: 8px 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 1366px) {
    h2 {
        font-size: 24px;
        padding: 20px;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        flex: auto;
        text-align: center;
        margin-right: 0;
    }

    .btn-nosotros {
        font-size: 16px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    h2 {
        font-size: 20px;
        padding: 15px;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        flex: auto;
        text-align: center;
        margin-right: 0;
    }

    .btn-nosotros {
        font-size: 14px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
}

/*Pagina de Contacto*/

.container {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 20px 60px 30px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.container .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 100px;
}

.container .content .left-side {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
}

.content .left-side::before {
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #afafb6;
}

.content .left-side .details {
    margin: 14px;
    text-align: center;
}

.content .left-side .details i {
    font-size: 30px;
    color: #3e2093;
    margin-bottom: 10px;
}

.content .left-side .details .topic {
    font-size: 18px;
    font-weight: 500;
}

.content .left-side .details .text-one,
.content .left-side .details .text-two {
    font-size: 14px;
    color: #afafb6;
}

.container .content .right-side {
    width: 75%;
    margin-left: 75px;
}

.content .right-side .topic-text {
    font-size: 23px;
    font-weight: 600;
    color: #3e2093;
}

.right-side .input-box {
    height: 50px;
    width: 100%;
    margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: #F0F1F8;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
}

.right-side .message-box {
    min-height: 110px;
}

.right-side .input-box textarea {
    padding-top: 6px;
}

.right-side .button {
    display: inline-block;
    margin-top: 12px;
}

.right-side .button input[type="submit"] {
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: #3e2093;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button input[type="submit"]:hover {
    background: #5029bc;
}

.map-container {
    margin-top: 20px;
    /* Ajusta según sea necesario para dejar espacio entre el formulario y el mapa */
    text-align: center;
    /* Centra el contenido */
}

.map-container iframe {
    width: 100%;
    /* Hace que el ancho sea del 100% */
    max-width: 800px;
    /* Establece un ancho máximo si lo deseas */
    margin: 0 auto;
    /* Centra el elemento dentro de .map-container */
}

@media (max-width: 950px) {
    .container {
        width: 100%;
        padding: 30px 40px 40px 35px;
    }

    .container .content .right-side {
        width: 75%;
        margin-left: 55px;
    }
}

@media (max-width: 820px) {
    .container {
        margin: 40px 0;
        height: 100%;
    }

    .container .content {
        flex-direction: column-reverse;
    }

    .container .content .left-side {
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .container .content .left-side::before {
        display: none;
    }

    .container .content .right-side {
        width: 100%;
        margin-left: 0;
    }

    .right-side .input-box input,
    .right-side .input-box textarea {
        font-size: 13px;
    }
}

@media screen and (max-width: 700px) {
    .container .content {
        padding: 10px;
        /* Ajusta el padding para pantallas más pequeñas */
    }

    .container .content .left-side::before {
        width: 2px;
        height: 70%;
        bottom: 15%;
        left: 50%;
        transform: translateY(-50%);
    }

    .container .content .left-side,
    .container .content .right-side {
        width: 100%;
        /* Ocupa el ancho completo en pantallas más pequeñas */
        margin-left: 0;
        /* Elimina el margen izquierdo en pantallas más pequeñas */
    }
}

@media (max-width: 1366px) {

    /* Ajustes para 1366x768 */
    .container {
        width: 100%;
        padding: 30px 40px 40px 35px;
    }

    .container .content .right-side {
        width: 75%;
        margin-left: 55px;
    }

    /* ... (otras reglas de medios específicas para 1366x768) ... */
}

@media (max-width: 360px) {

    /* Ajustes para 360x640 */
    .container {
        margin: 40px 0;
        height: 100%;
    }

    .container .content {
        flex-direction: column-reverse;
    }

    .container .content .left-side {
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* ... (otras reglas de medios específicas para 360x640) ... */
}

/*Pop up*/

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.popup-content {
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.success-popup {
    background-color: #add8e6;
    /* Celeste claro */
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/*Pagina de Servicios*/

.container-servicios {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.service-container {
    display: flex;
    justify-content: space-between;
    /* Opcional: ajusta la distribución entre los elementos */
    align-items: center;
    /* Opcional: alinea verticalmente los elementos */
}

h2 {
    text-align: center;
    font-size: 30px;
    color: #333;
    padding: 30px;
}

.images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.service-image {
    flex: 1;
    text-align: center;
    margin-bottom: 20px;
}

.service-image img {
    width: 500px;
    /* Establece un ancho fijo */
    height: auto;
}

.text-container {
    text-align: center;
}

.service-text p {
    font-size: 18px;
}

/*Responsive Servicios*/

@media only screen and (max-width: 700px) {
    .service-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .images-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

    h2 {
        font-size: 24px;
        padding: 10px;
    }

    .service-image img {
        width: 100%;
        height: auto;
    }

    .service-text p {
        font-size: 14px;
        margin: 15px 0;
    }
}

@media only screen and (max-width: 1366px) {
    .service-container {
        padding: 20px;
    }

    h2 {
        font-size: 24px;
        padding: 10px;
    }

    .service-image img {
        max-width: 500px;
        /* Establece un ancho máximo */
    }
}

/* Responsive para 360x640 */

@media only screen and (max-width: 360px) {
    .service-container {
        padding: 10px;
    }

    h2 {
        font-size: 20px;
        padding: 5px;
    }

    .service-image img {
        max-width: 300px;
        /* Establece un ancho máximo */
    }

    .service-text p {
        font-size: 14px;
        margin: 15px 0;
    }
}

/*Footer*/

footer {
    background-color: #333030;
    color: #fff;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
}


.contact-info {
    font-size: 18px;
    display: flex;
    justify-content: space-around;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}


.email-icon::before {
    content: '\2709';
    /* Código del icono de correo (✉) */
    font-size: 20px;
    margin-right: 5px;
}

/* Estilos para los nuevos iconos de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

/*Responsive*/

@media screen and (max-width: 600px) {
    .contact-info {
        flex-direction: column;
        /* Cambia la dirección del flex a columna */
        align-items: center;
        /* Centra los elementos en el eje transversal */
    }
}

/* Estilos para el enlace de WhatsApp anclado */
.whatsapp-link {
    position: fixed;
    bottom: 20px;
    /* Ajusta la distancia desde el borde inferior de la ventana */
    right: 20px;
    /* Ajusta la distancia desde el borde derecho de la ventana */
}

.whatsapp-link a {
    display: block;
    background-color: #25d366;
    /* Color de fondo de WhatsApp */
    width: 55px;
    /* Ancho del enlace de WhatsApp */
    height: 55px;
    /* Altura del enlace de WhatsApp */
    line-height: 55px;
    /* Alineación vertical del icono */
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-size: 24px;
    /* Tamaño del icono */
    text-decoration: none;
    border: 2px solid #fff;
    /* Borde blanco */
}

@media only screen and (max-width: 1366px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive para 360x640 */

@media only screen and (max-width: 360px) {
    footer {
        padding: 10px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        margin-top: 5px;
    }
}

@media only screen and (max-width: 1366px) {
    .whatsapp-link {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-link a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }
}

/* Responsive para 360x640 */

@media only screen and (max-width: 360px) {
    .whatsapp-link {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-link a {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
    }
}

/*Thank you Page*/

/* Contenedor principal de la página de agradecimiento */
.thank-you-container {
    text-align: center;
    margin: 50px;
    background-color: #f3ebeb;
    /* Cambia el color a tu preferencia */
}

/* Estilos para el título */
.thank-you-container h1 {
    color: #f89514;
    /* Color azul como ejemplo, puedes cambiarlo */
}

/* Estilos para el párrafo de agradecimiento */
.thank-you-container p {
    font-size: 20px;
    color: #0c0c0c;
    /* Color de texto oscuro */
}