.servicios_pag {
    position: relative;
    background: url("../img/fondo_servicios.png") no-repeat center center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    overflow: hidden;
}

.servicios-titulo {
    width: 50%;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.servicios-titulo h1 {
    font-size: 5rem;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.sangria {
    display: inline-block;
    text-indent: 50px;
    margin-left: 10px;
}

.servicios_texto {
    width: 60%;
    text-align: justify;
    position: absolute;
    bottom: 5%;
    right: 5%;
}

.servicios_texto p {
    font-size: 2rem;
    color: white;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .servicios_pag {
        height: 100vh; /* Mantiene la altura de la pantalla completa */
        flex-direction: column;
        padding: 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .servicios-titulo {
        position: static;
        width: 100%;
        text-align: center;
        transform: none;
        margin-bottom: 10px;
    }

    .servicios-titulo h1 {
        font-size: 3rem; /* Ajuste del tamaño del título */
        line-height: 1.2;
    }

    .servicios_texto {
        position: static;
        width: 90%;
        text-align: center;
        margin-top: 10px;
    }

    .servicios_texto p {
        font-size: 1.5rem; /* Ajuste del tamaño del texto */
        line-height: 1.4;
    }
}
.negocios {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    padding-top: 60px;
}

.texto_negocios {
    width: 70%;
}
.texto_negocios p {
    font-size: 1.8rem;
    text-align: justify;
    margin: 10;
}
.imagen_negocios {
    width: 30%;
}

.imagen_negocios img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 768px) {
    .negocios {
        flex-direction: column;
    }

    .texto_negocios {
        width: 100%;
    }

    .imagen_negocios {
        width: 100%;
        text-align: center;
    }
}
.fondo_cards{
    background: url('../img/fondo_servicios_blanco.png') no-repeat center center;
    background-size: cover;
}
.tarjetas_servicios,
.segunda_fila {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas por fila en desktop */
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
}
.segunda_fila {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); /* Distribuir equitativamente las columnas */
    justify-content: center;
    gap: 2rem;
    place-items: center;
}


.cards {
    background: linear-gradient(to bottom, transparent, #b6c3dc);
    color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.cards img {
    width: 150px;
    height: 150px;
    margin-bottom: 0;
    object-fit: contain;
}

.card_titulo {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.card_descripcion {
    font-size: 1.8rem;
    color: #111e46;
    padding-bottom: 15px;
}

.card_lista {
    list-style-type: disc;
    padding-left: 1.5rem;
    text-align: left;
    margin-top: 0.5rem;
}

/* Ajustes para tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .tarjetas_servicios, 
    .segunda_fila {
        grid-template-columns: repeat(2, 1fr); /* Dos cards por fila */
        align-items: center;
    }
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .tarjetas_servicios, 
    .segunda_fila {
        grid-template-columns: repeat(1, 1fr); /* Una card por fila */
        align-items: center;
    }
}