/* VIDEO DE INTRODUCCIÓN */
#intro {
    display: flex;
    padding-top: 20rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    #intro {
        align-items: flex-end;
    }

    #intro .row {
        justify-content: flex-start;
    }

    #intro .content-wrap {
        padding: 1rem 3rem;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #intro .content-wrap {
        min-width: 50%;
    }
}

@media (max-width: 767px) {
    #intro {
        -webkit-align-items: center;
        align-items: flex-end;
    }

    #intro .mbr-row {
        -webkit-justify-content: center;
        justify-content: center;
    }

    #intro .content-wrap {
        width: 100%;
    }
}

#intro .mbr-fallback-image.disabled {
    display: none;
}

#intro .mbr-fallback-image {
    display: block;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-image: url("../../../grs/images/servicios/srv_laser.jpg");
}

#intro .mbr-section-title,
#intro .mbr-section-subtitle {
    text-align: left;
    color: #ffffff;
}

#intro .mbr-text,
#intro .mbr-section-btn {
    text-align: left;
}

/* posision de texto y boton de whatsapp sobre video */
#intro .intro_info {
    display: grid;
}

#intro .row.intro_tx {
    position: relative;
    bottom: 60%;
}

#intro .row.intro_wa {
    position: relative;
    bottom: -4rem;
}

/* BOTONES, tanto en nosotros como en galería */
.fa-brands--whatsapp-square {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='green' d='M224 122.8c-72.7 0-131.8 59.1-131.9 131.8c0 24.9 7 49.2 20.2 70.1l3.1 5l-13.3 48.6l49.9-13.1l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7m77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8c-12.6 1.9-22.4.9-47.5-9.9c-39.7-17.2-65.7-57.2-67.7-59.8s-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6.1c2.4.1 5.7-.9 8.9 6.8c3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48M223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5'/%3E%3C/svg%3E");
}

#intro .btn:hover .fa-brands--whatsapp-square,
#intro .btn:active .fa-brands--whatsapp-square {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M224 122.8c-72.7 0-131.8 59.1-131.9 131.8c0 24.9 7 49.2 20.2 70.1l3.1 5l-13.3 48.6l49.9-13.1l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7m77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8c-12.6 1.9-22.4.9-47.5-9.9c-39.7-17.2-65.7-57.2-67.7-59.8s-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6.1c2.4.1 5.7-.9 8.9 6.8c3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48M223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5'/%3E%3C/svg%3E");
}

#intro .btn {
    display: inline-flex;
    align-items: center;
    gap: .2em;
    font-size: 18px;
    border: 0.2rem solid green;
    border-radius: 5px;
    color: green;
    margin-bottom: 30px;
    background-color: white;
}

#intro .btn:hover {
    transition: color 0.3s;
    border: 0.2rem solid rgba(0, 0, 0, 0.5);
    color: white;
    background-color: green;
}

#intro .btn:active,
#intro .btn-default:active,
#intro .filter-button:active {
    background-color: #000;
    color: white;
}

/* NOSOTROS, FONDO BLANCO, DISTANCIAS ARRIBA/ABAJO */
#nosotros {
    background-color: white !important;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#nosotros .image-wrapper img {
    border-radius: 5px !important;
}

/* textos centrados en pantallas chicas */
@media (max-width: 991px) {
    #nosotros h2,
    #nosotros p {
        text-align: left !important;
    }
}

/* SERVICIOS, IMAGEN DE FONDO */
#servicios {
    background-image: linear-gradient(rgba(250, 250, 250, 1), rgba(255, 0, 0, 0.7), rgba(255, 255, 255, 1)), url("../../grs/images/bgs/bg_servicios.jpg");
}

#servicios img {
    /* border: 0.3px solid #555; */
    border-radius: 5px !important;
}

#servicios .item-wrapper {
    border-radius: 5px !important;
}

/* materiales, para el orden de las tarjetas */
#materiales .info_materiales {
    flex-direction: unset !important;
}

/* materiales, borde en imágenes */
#materiales img {
    /* border: 1px solid #555; */
    border-radius: 5px !important;
    display: inline-block;
}

/* materiales, espacio entre card y card */
#materiales .features-image {
    padding-bottom: 2rem;
}

/* materiales, tamaño texto imagen en pantalla pc y tels */
#materiales img {
    width: 60% !important;
}

@media only screen and (max-width : 991px) {
    #materiales img {
        width: 80% !important;
        margin: 0 auto;
    }

    #materiales h5, #materiales .mbr-text {
        text-align: center;
    }
}

@media only screen and (max-width : 484px) {
    #materiales img {
        width: 100% !important;
    }
}

/* materiales, primer texto, distancia a imagen */
#materiales h5 {
    padding-top: 0.5rem;
}

/* materiales, textos centrados */
#materiales h5,
#materiales p {
    text-align: center;
}

/* materiales, imagen de fondo */
#materiales {
    background-image: linear-gradient(rgba(250, 250, 250, 1), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1)), url("../../grs/images/bgs/bg_materiales.jpg");
}

/* GALERIA, BOTONOES */
#galeria .btn,
#galeria .filter-button {
    display: inline-flex;
    align-items: center;
    gap: .2em;
    font-size: 18px;
    border: 0.2rem solid rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

#galeria .btn:hover,
#galeria .filter-button:hover {
    transition: color 0.6s;
    border: 0.2rem solid rgba(0, 0, 0, 0.7);
    color: white;
    background-color: red;
}

#galeria .btn:active,
#galeria .btn-default:active,
#galeria .filter-button:active {
    border: 0.2rem solid rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
}

/* galería, espacio entre filas de imágenes */
#galeria .item {
    margin-bottom: 0px !important;
}

/* galería, texto, cursor y padding */
#galeria .item-wrapper {
    cursor: auto;
}

#galeria .item-content {
    padding: 1rem;
    cursor: auto;
}

/* galeria, imágenes, borde imágenes y cursor */
#galeria img {
    /* border: 1px solid #555; */
    border-radius: 5px !important;
    cursor: auto;
}

/* espacio entre botones e imágenes */
#galeria .mt-4 {
    margin-top: 0px !important;
}

/* imagen de fondo en ubi/contactanos */
#ubi {
    background-image: linear-gradient(rgba(250, 250, 250, 1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1)), url("../../grs/images/bgs/bg_ubi.jpg");
}

/* marco y esquinas en los dos rectángulos de ubi */
#ubi .card-wrapper, .google-map iframe {
    border-radius: 5px !important;
}

#ubi .card-wrapper, .google-map {
    /* border: 1px solid #555; */
}

/* imagen de fondo en forma de contacto */
#forma_cto {
    background-image: linear-gradient(rgba(250, 250, 250, 1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)), url("../../grs/images/bgs/bg_forma_cto.jpg");
}
