﻿.contenido {
    padding: 10px 9px 8px 7px;
}

.tarjetas {
  /*  background: linear-gradient(gray);*/
}

.tarjetas2 {
    background: white;
    color: black;
}


.tituloservicios {
    color: black;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5%;
    margin-left: 5%;
    border-bottom-style: ridge;
}

.tituloservicios2 {
    color: black;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5%;
    margin-left: 5%;
    border-bottom-style: ridge;
}

.titulo2 {
    font-size: 36px;
}

.titulo3 {
    font-size: 20px;
}

.notario1 {
    width: 20%;
}

.notario2 {
    width: 50%;
    margin-left: 2%;
    text-align: justify;
    border-left-style: groove;
    padding: 13% 0% 0% 4%;
    font-size: 23px;
}

.imagenotario {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5%;
    margin-left: 5%;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.6;
    margin-right: 0px;
}


.cardbajo {
    margin-bottom: 30px;
    display: flex;
}

    .cardbajo a {
        display: flex;
        width: 100%;
        text-decoration: none;
    }

.card-service {
    border: none;
    border-radius: 18px;
    background: lightblue;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    cursor: pointer;
    width: 100%;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .card-service:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    }

    .card-service h4 {
        color: #000000;
        font-weight: 600;
        min-height: 58px;
        margin-bottom: 10px;
    }

    .card-service p {
        color: #000000;
        min-height: 72px;
        margin-bottom: 12px;
    }

.service-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform 0.35s ease;
    display: block;
    margin-top: auto;
}


.card-service:hover .service-img {
    transform: scale(1.08);
}




.finalprincipal {
    width: 100%;
}
