﻿.contenico {
    padding: 10px 9px 8px 7px;
}

.cardbajo {
    margin-bottom: 30px;
}

.tarjetas {
    /*  background: linear-gradient(gray);*/
}

.tarjetas2 {
    background: white;
    color: black;
}

.service-img {
    max-height: 90px;
    object-fit: contain;
}

.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;
}


.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;
}

    .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;
    }

    .card-service p {
        color: #000000;
    }

.service-img {
    max-height: 90px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.card-service:hover .service-img {
    transform: scale(1.08);
}

.finalprincipal {
    width: 100%;
}


/*///*/

.faq-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 13px;
    text-align: justify;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .faq-header h4 {
        margin: 0;
        font-size: 20px;
    }

.faq-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
}

.faq-card.active .faq-body {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
}

.faq-card.active .faq-arrow {
    transform: rotate(180deg);
}


/*ffdsfd*/


.faq-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
}

/* HEADER */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TITULO + TEXTO */
.faq-title h4 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.faq-hint {
    font-size: 12px;
    color: #888;
}

/* FLECHA */
.faq-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* CONTENIDO OCULTO */
.faq-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s ease;
}

/* ESTADO ACTIVO */
.faq-card.active {
    background: #f5f9ff; /* fondo suave */
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

    .faq-card.active .faq-body {
        max-height: 300px;
        opacity: 1;
        margin-top: 15px;
    }

    .faq-card.active .faq-arrow {
        transform: rotate(180deg);
    }

/* OPCIONAL: efecto hover leve */
.faq-card:hover {
    transform: translateY(-3px);
}

.row2 {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 50px;
    margin-left: 50px;
    justify-content: center;
}


.contactos-section {
    padding: 50px 0;
    background: #f3f5f9;
}

.titulo-contactos {
    text-align: center;
    margin-bottom: 35px;
}

    .titulo-contactos h2 {
        font-size: 32px;
        font-weight: 700;
        color: #1d2b3a;
        margin-bottom: 8px;
    }

    .titulo-contactos p {
        color: #6b7280;
        font-size: 15px;
    }

.contactos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contacto-item {
    opacity: 0;
    animation: aparecerSuave 0.6s ease forwards;
}

.card-contacto {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 135px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card-contacto:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    }

.avatar-contacto {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2f80ed;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-contacto {
    flex: 1;
}

    .info-contacto h4 {
        margin: 0 0 4px 0;
        font-size: 16px;
        color: #2f3b52;
        font-weight: 600;
    }

.cargo-contacto {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.link-contacto {
    display: block;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    word-break: break-word;
    line-height: 1.5;
}
.telefono-link {
    color: #2563eb;
    font-weight: 700;
}

.correo-link {
    color: #3a9b6a;
}

.link-contacto:hover {
    text-decoration: underline;
    transform: translateX(2px);
}

.mensaje-error,
.mensaje-info {
    max-width: 800px;
    margin: 0 auto 20px auto;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.mensaje-error {
    background: #fdeaea;
    color: #a12626;
    border: 1px solid #f5c2c2;
}

.mensaje-info {
    background: #eef6ff;
    color: #174a7a;
    border: 1px solid #c8def5;
}

@keyframes aparecerSuave {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.buscador-contactos {
    text-align: center;
    margin-bottom: 25px;
}

.input-busqueda {
    width: 100%;
    max-width: 420px;
    padding: 12px 16px;
    border: 1px solid #d7deea;
    border-radius: 999px;
    font-size: 14px;
    color: #2f3b52;
    outline: none;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

    .input-busqueda:focus {
        border-color: #2f80ed;
        box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
    }


.icono-link {
    display: inline-block;
    width: 20px;
    margin-right: 6px;
    text-align: center;
}

