
/* Inicio de estilos CSS para las miniaturas de imagenes y la imagen en grande en el popup */

/* Contenedor oscuro detrás del popup */
.ventanapopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9000;
    overflow-y: auto;
}

/* Cuadro blanco del contenido */
.popup {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
}

/* Encabezado del popup */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Botón de cierre */
.close-btn {
    background: #40e0d0;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Galería con Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

/* Miniaturas */
.thumbnail {
    width: 100%;
    height: auto; /* se ajusta automáticamente */
    max-height: 200px; /* límite para que no sean gigantes */
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

    .thumbnail:active {
        transform: scale(0.95);
        border-color: #40e0d0;
    }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

    .lightbox img {
        max-width: 92%;
        max-height: 85%;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 50px;
    color: #40e0d0;
    cursor: pointer;
    line-height: 1;
}

/* Adaptación para pantallas medianas */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .thumbnail {
        max-height: 150px;
    }
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .popup {
        padding: 20px 10px;
        width: 95%;
    }

    .thumbnail {
        max-height: 180px;
    }

    .close-lightbox {
        top: 15px;
        right: 15px;
        font-size: 45px;
    }
}


/* FIN de estilos CSS para las miniaturas de imagenes y la imagen en grande en el popup */

/* Adaptación responsiva para pantallas pequeñas para la parte de la sección llamada news__content*/

/* Adaptación responsiva para pantallas pequeñas */
@media (max-width: 768px) {
    .news__content {
        display: flex;
        flex-direction: column; /* apila texto e imagen */
        align-items: center;
        width: 100%; /* fuerza ancho completo */
    }

    .new-container {
        padding: 20px 0;
        width: 100%; /* asegura que Firefox no colapse */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .news__image {
        max-width: 90%; /* más flexible en móviles */
        height: auto; /* mantiene proporción */
    }

    .new__content {
        order: 1; /* texto primero */
        flex: 1 1 auto; /* evita colapso en Firefox */
        height: auto !important; /* sobrescribe cualquier altura fija */
        width: 100%; /* asegura ancho completo */
        z-index: 2;
    }

        .new__content p {
            font-size: 1rem; /* reduce tamaño de fuente */
            line-height: 1.4; /* mejora legibilidad */
            text-align: center;
            margin: 0; /* evita márgenes extra en Firefox */
        }
}


/* FIN Adaptación para pantallas pequeñas para la parte de la sección llamada news__content*/




    /* Inicio estilo de botones */
.lista-botones {
    list-style: none;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* estira todos los hijos al mismo ancho */
}


    .lista-botones li {
        position: relative; /* Necesario para posicionar el bullet respecto a este contenedor */
        margin-bottom: 12px;
    }
            /* El Bullet Exterior */
            .lista-botones li::before {
                content: ""; /* Creamos un elemento vacío */
                position: absolute;
                left: -25px; /* Lo movemos a la izquierda, fuera del botón */
                top: 50%; /* Lo centramos verticalmente */
                transform: translateY(-50%);
                /* Diseño del punto */
                width: 10px;
                height: 10px;
                background-color: #30D5C8; /* Color del bullet */
                border-radius: 50%; /* Lo hace redondo */
            }
    /* Estilo del Botón */
.mi-boton {
    background-color: #2f3542;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1; /* hace que todos los botones se estiren igual */
    text-align: center; /* centra el texto */
    display: block; /* asegura que ocupe todo el ancho del li */
    width: 100%; /* ocupa todo el ancho disponible */
}


        /* Efecto al pasar el mouse */
        .mi-boton:hover {
            background-color: #57606f;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

    /* Fin código estilo de botones */


    .title[data-astro-cid-vvd6bij3] {
        margin: 0;
        line-height: 1.2
    }

    .ProductosCL[data-astro-cid-movhilfz] {
        padding: 100px 20px;
        width: 100vw;
        display: flex;
        background-color: var(--color-black)
    }

    .ProductosCL__child[data-astro-cid-movhilfz] {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center
    }

    .ProductosCL__video[data-astro-cid-movhilfz] {
        border-right: 2px solid white
    }

        .ProductosCL__video[data-astro-cid-movhilfz] img[data-astro-cid-movhilfz] {
            height: 100%;
            width: 100%;
            max-height: 600px;
            object-fit: contain
        }

    .ProductosCL__text[data-astro-cid-movhilfz] {
        gap: 20px;
        padding: 30px 40px
    }

    .ProductosCL__text__content[data-astro-cid-movhilfz] {
        display: flex;
        flex-direction: column;
        max-width: 450px;
        gap: 30px
    }

    .ProductosCL__text__content__title[data-astro-cid-movhilfz] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px
    }

        .ProductosCL__text__content__title[data-astro-cid-movhilfz]
        img[data-astro-cid-movhilfz] {
            width: 100%;
            max-width: 170px;
            object-fit: contain
        }

    .ProductosCL__text__content__list[data-astro-cid-movhilfz] {
        max-width: 500px;
        list-style-type: disc;
        color: #fff;
        display: flex;
        flex-direction: column
    }

        .ProductosCL__text__content__list[data-astro-cid-movhilfz] li[data-astro-cid-movhilfz] {
            margin-bottom: .5rem
        }

    @media (max-width:870px) {
        .ProductosCL[data-astro-cid-movhilfz] {
            flex-direction: column;
            border-bottom: 2px solid white
        }

        .ProductosCL__video[data-astro-cid-movhilfz] {
            border-right: none
        }
    }

.presentation[data-astro-cid-ef2nyaos]
/* Imagen de fondo */ {
    padding: 0 30px;
    box-shadow: inset 0 -100px 100px 40px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    background-image: url(../img/presentation-background.yMQOYOXI.webp);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

    .presentation__img[data-astro-cid-ef2nyaos] {
        width: 100%;
        max-width: 700px;
        height: auto;
        object-fit: cover
    }

    .contact[data-astro-cid-dpq745to] {
        padding: 100px 0;
        display: flex;
        flex-wrap: wrap;
        background-image: url(../img/presentation-background.yMQOYOXI.png);
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat
    }

    .contact__information[data-astro-cid-dpq745to] {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 30px;
        width: 100%;
        min-width: none
    }

    .contact__information__content[data-astro-cid-dpq745to] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        background-color: var(--color-black);
        border-radius: 10px;
        padding: 30px;
        width: 100%;
        max-width: 500px;
        min-width: none
    }

    .information[data-astro-cid-dpq745to] {
        width: 100%;
        min-width: none;
        border-left: 2px solid var(--color-white);
        padding: 20px 40px;
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    .contact__information__content__child[data-astro-cid-dpq745to] {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1
    }

    .contact__logo[data-astro-cid-dpq745to] {
        padding: 0 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center
    }

        .contact__logo[data-astro-cid-dpq745to] img[data-astro-cid-dpq745to] {
            width: 100%;
            min-width: none;
            max-width: 600px;
            height: auto;
            object-fit: cover
        }

    @media (max-width: 860px) {
        .contact[data-astro-cid-dpq745to] {
            flex-direction: column-reverse
        }

        .contact__logo[data-astro-cid-dpq745to] {
            flex: .2
        }
    }
    /* Siguiente línea controla el tamaño del video de fondo donde se estrechan manos */
    .clients[data-astro-cid-dmge7ean] {
        padding: 100px 0;
        position: relative;
        width: 100vw;
        background-color: #0000005b
    }

    #background-video[data-astro-cid-dmge7ean] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1
    }

    .clients__content[data-astro-cid-dmge7ean] {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        flex-wrap: wrap
    }

    .clients__content__child[data-astro-cid-dmge7ean] {
        padding: 0 20px;
        flex: 1 1 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 40px
    }

    .divider[data-astro-cid-dmge7ean] {
        width: 100%;
        height: 2px;
        background-color: var(--color-white)
    }

    .clients__content__child__item[data-astro-cid-dmge7ean] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px
    }

    .news[data-astro-cid-h5m7mfi6] {
        padding: 100px 0;
        position: relative;
        overflow: hidden;
        background-color: #0000005b
    }

    #background-video[data-astro-cid-h5m7mfi6] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1
    }

    .news__image[data-astro-cid-h5m7mfi6] {
        min-width: 0px;
        width: 100%;
        max-width: 500px;
        max-height: 250px;
        border-radius: 10px;
        border: 2px solid var(--color-white);
        object-fit: cover
    }

    .news__content[data-astro-cid-h5m7mfi6] {
        display: flex;
        flex-wrap: wrap;
        padding: 20px;
        position: relative;
        height: 100%;
        z-index: 1
    }

    .new-container[data-astro-cid-h5m7mfi6] {
        padding: 50px 0;
        flex: 1 1 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center
    }

    .new[data-astro-cid-h5m7mfi6] {
        max-width: 500px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px
    }
    /* Siguiente línea controla el texto de las imágenes alusivas a contrucción de la sección mayor news 
    .new__content[data-astro-cid-h5m7mfi6] {
        display: flex;
        align-items: center;
        height: auto;
        z-index: 2
    } */





.NosotrosCL[data-astro-cid-6jl4czvw] {
    background-color: var(--color-white);
    padding: 100px 20px;
    width: 100vw;
    display: flex
}

    .NosotrosCL__child[data-astro-cid-6jl4czvw] {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px
    }

    .NosotrosCL__text[data-astro-cid-6jl4czvw] {
        border-right: 2px solid rgb(0,0,0)
    }

    .NosotrosCL__img[data-astro-cid-6jl4czvw] img[data-astro-cid-6jl4czvw] {
        height: 100%;
        width: 100%;
        max-width: 580px;
        border-radius: 20px;
        object-fit: contain
    }

    .NosotrosCL__text[data-astro-cid-6jl4czvw] {
        gap: 20px;
        padding: 30px 40px
    }

    .NosotrosCL__text__content[data-astro-cid-6jl4czvw] {
        display: flex;
        flex-direction: column;
        max-width: 450px;
        gap: 20px
    }

    .NosotrosCL__text__content__title[data-astro-cid-6jl4czvw] {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px
    }

        .NosotrosCL__text__content__title[data-astro-cid-6jl4czvw] img[data-astro-cid-6jl4czvw] {
            width: 100%;
            max-width: 170px;
            object-fit: contain
        }

    .NosotrosCL__text__content__list[data-astro-cid-6jl4czvw] {
        max-width: 500px;
        list-style-type: disc;
        color: #000;
        display: flex;
        flex-direction: column
    }

        .NosotrosCL__text__content__list[data-astro-cid-6jl4czvw] li[data-astro-cid-6jl4czvw] {
            margin-bottom: .5rem
        }

    @media (max-width:870px) {
        .NosotrosCL[data-astro-cid-6jl4czvw] {
            flex-direction: column
        }

        .NosotrosCL__text[data-astro-cid-6jl4czvw] {
            border-right: none
        }
    }

    .cta[data-astro-cid-cckitdhk] {
        padding: 120px 80px;
        width: 100dvw;
        min-height: 80vh;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 60px;
        background: #000;
        position: relative;
        overflow: hidden
    }

    .cta__text-container[data-astro-cid-cckitdhk] a[data-astro-cid-cckitdhk] {
        display: inline-block;
        padding: 16px 40px;
        font-size: 1.25rem;
        font-weight: 700;
        border-radius: 12px;
        color: #fff;
        text-decoration: none;
        position: relative;
        z-index: 1;
        background: linear-gradient(270deg,#184b90,#136ce2,#58c0ff);
        background-size: 400% 400%;
        animation: gradientMove 6s ease infinite;
        transition: transform .2s ease,box-shadow .2s ease
    }

    @keyframes gradientMove {
        0% {
            background-position: 0% 50%
        }

        50% {
            background-position: 100% 50%
        }

        to {
            background-position: 0% 50%
        }
    }

    .cta__text-container[data-astro-cid-cckitdhk] a[data-astro-cid-cckitdhk]:hover {
        transform: translateY(-4px) scale(1.05)
    }

    @keyframes float {
        0% {
            transform: translateY(0)
        }

        to {
            transform: translateY(40px)
        }
    }

    .cta__text-container[data-astro-cid-cckitdhk] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 40px;
        flex: 1;
        z-index: 1
    }

    .cta__title[data-astro-cid-cckitdhk] {
        background: linear-gradient(90deg,#136ce2,#58c0ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2
    }

    .cta__subtitle[data-astro-cid-cckitdhk] {
        max-width: 600px;
        line-height: 1.5;
        opacity: .9
    }

    .cta__img-container[data-astro-cid-cckitdhk] {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative
    }

        .cta__img-container[data-astro-cid-cckitdhk] img[data-astro-cid-cckitdhk] {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 15px 40px #0009;
            transition: transform .4s ease
        }

            .cta__img-container[data-astro-cid-cckitdhk] img[data-astro-cid-cckitdhk]:hover {
                transform: scale(1.05) rotate(-1deg)
            }

    @media (max-width: 992px) {
        .cta[data-astro-cid-cckitdhk] {
            flex-direction: column;
            text-align: center;
            padding: 100px 40px
        }

        .cta__text-container[data-astro-cid-cckitdhk] {
            align-items: center;
            text-align: center
        }
    }
