﻿.content {
    background: #f5f5f5;
}

.fondo-texto {
    background-color: #c4122f;
    padding: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fondo-texto .texto {
        font-weight: bold;
    }

.div-centrado {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.titulo {
    color: #07354f;
    margin-top: 4em;
    font-weight: bold;
}

.card-home {
    padding: 20px;
    width: 25%;
    background: white;
    border: 1px solid white;
    border-radius: 10px;
    margin: 2em 1em 2em 1em;
    text-align: center;
    min-height: 200px;
    align-content: center;
}

    .card-home h2 {
        color: #c4122f;
        font-weight: bold;
    }

    .card-home p {
        font-weight: bold;
        width: 80%;
        margin: auto;
    }

.carrusel {
    width: 60%;
    margin: 2em 0em 2em 0em;
    text-align: center;
}

.div-centrado-grande {
    display: flex;
    background: #f0f0f0;
}

.card-home-grande {
    padding: 20px;
    width: 60%;
    background: white;
    border: 1px solid white;
    border-radius: 10px;
    text-align: center;
    left: 30%;
    position: relative;
}

.titulo-grande {
    color: #07354f;
    margin-top: 1em;
    text-align: left;
}

.texto-grande {
    text-align: left;
    margin-top: 1em;
}

.seccion-sector {
    display: flex;
    width: 100%;
    position: relative;
}

.imagenes-sector {
    width: 35%;
    border-radius: 10px;
    left: 15%;
    position: relative;
    margin: 7em 0em 4em 0em;
    z-index: 101;
}

.card-sector {
    width: 60%;
    height: 75%;
    padding: 15px;
    background: white;
    border-radius: 10px;
    left: 30%;
    position: absolute;
    margin: 6em 0em 1em 0em;
    z-index: 100;
}

.grupo-imagen {
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.imagen-grande {
    width: 64%;
}

.imagen-pequenia {
    width: 34%;
}

.frame-video {
    border-radius: 1rem;
    width: 85%;
    height: 400px;
}


.boton-movil {
    display: none;
}

.boton-desktop {
    display: block;
}

.boton-whatsapp {
    position: fixed;
    /*z-index: 100;*/
    margin-top: 21%;
    margin-bottom: auto;
    right: 0;
    background-color: #26d366;
    text-align: left;
    color: white;
    width: auto;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    z-index: 9999; /* Asegura que esté encima de otros elementos */
}

.a-whatsapp {
    text-decoration: none;
    color: white;
}




@media (max-width: 600px) {
    .card-home {
        width: 90%;
        margin: auto;
        margin-bottom: 5%;
    }

    .fondo-texto {
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        padding-left: 5%;
    }

        .fondo-texto h1 {
            margin-left: 0%;
        }

        .fondo-texto img {
            display: none;
        }

    .div-centrado {
        display: block;
    }

    .grupo-imagen {
        padding: 5px;
    }

    .div-centrado .titulo {
        text-align: center;
    }

    .seccion-sector {
        height: 400px;
    }

    .card-sector {
        width: 100%;
        height: 100%;
        left: 0;
        margin-top: 3em;
    }

        .card-sector .col-12 {
            margin-top: 45%;
        }

    .imagenes-sector {
        width: 90%;
        border-radius: 10px;
        left: 5%;
        position: absolute;
        margin: 0em 0em 3em 0em;
        z-index: 101;
    }

    .carrusel {
        width: 90%;
        margin: 2em 1em 2em 1em;
        text-align: center;
    }


    .boton-movil {
        display: block;
    }

    .boton-desktop {
        display: none;
    }

    .boton-whatsapp {
        margin-top: 76%;
    }

}

@media (min-width: 600px) and (max-width: 800px) {
    .card-home {
        width: 90%;
        margin: auto;
    }

    .fondo-texto {
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
        padding-left: 5%;
    }

        .fondo-texto h1 {
            margin-left: 0%;
        }

        .fondo-texto img {
            display: none;
        }

    .div-centrado {
        display: block;
    }

    .grupo-imagen {
        padding: 5px;
    }

    .div-centrado .titulo {
        text-align: center;
    }

    .seccion-sector {
        height: 600px;
    }

    .card-sector {
        width: 100%;
        height: 100%;
        left: 0;
        margin-top: 3em;
    }

        .card-sector .col-12 {
            width: 100%;
            margin-top: 45% !important;
            margin-left: 0;
        }

    .imagenes-sector {
        width: 90%;
        border-radius: 10px;
        left: 5%;
        position: absolute;
        margin: 0em 0em 3em 0em;
        z-index: 101;
    }

    .carrusel {
        width: 90%;
        margin: 2em 1em 2em 1em;
        text-align: center;
    }
}

.carousel-control-next, .carousel-control-prev {
    height: 100px;
    top: 40%;
    width: 20%;
}

.carousel-control-next {
    height: 100px;
    top: 40%;
    width: 20%;
}