﻿.tituloservicios3 {
    color: black;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5%;
    margin-left: 5%;
    border-bottom-style: ridge;
}

.titulo3 {
    font-size: 36px;
}

.equipo-section {
    padding: 60px 0 85px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
    overflow: hidden;
}

.equipo-wrapper {
    max-width: 1500px;
    margin: 0 auto;
}
/* NOTARIO */
.notario-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.card-notario {
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.05);
    border-left: 6px solid #1d2d8f;
}

.card-notario-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.card-notario-info {
    flex: 1;
}

.badge-cargo,
.badge-suplete {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #1d2d8f;
    color: #fff;
}

.card-notario-info h2 {
    margin: 10px 0 10px;
    font-size: 44px;
    line-height: 1.1;
    color: #1d2d8f;
    font-weight: 800;
}

.notario-sub {
    margin: 0 0 12px;
    font-size: 18px;
    color: #546172;
}

.notario-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #4b5869;
}
/* SUPLENTE */
.suplente-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.card-suplente {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(0, 0, 0, 0.04);
    border-left: 5px solid #1d2d8f;
}

.card-suplente-img img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.card-suplente-info h3 {
    margin: 10px 0 0;
    font-size: 28px;
    color: #1d2d8f;
    font-weight: 800;
}
/* TITULO BLOQUE */
.equipo-header {
    text-align: center;
    margin-bottom: 30px;
}

    .equipo-header h2 {
        font-size: 34px;
        color: #1d2d8f;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .equipo-header p {
        margin: 0;
        font-size: 15px;
        color: #5b6878;
    }
/* SWIPER */
.equipoSwiper {
    width: 60%;
    padding: 18px 10px 28px;
    overflow: visible;
}

    .equipoSwiper .swiper-slide {
        height: auto;
        transition: transform 0.35s ease, opacity 0.35s ease;
        opacity: 0.65;
        transform: scale(0.92);
    }

    .equipoSwiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

.equipo-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 100%;
}

.equipoSwiper .swiper-slide-active .equipo-card {
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12), 0 8px 18px rgba(29, 45, 143, 0.10);
}

.equipo-avatar {
    margin-bottom: 16px;
}

    .equipo-avatar img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
        background: #fff;
    }

.equipo-card h4 {
    margin: 0 0 10px;
    font-size: 10px;
    color: #1f2d3d;
    font-weight: 800;
    min-height: auto;
}

.equipo-titulo {
    font-size: 14px;
    color: #1d2d8f;
    margin-bottom: 12px;
    min-height: auto;
}

.equipo-box {
    background: #f6f8fc;
    border-radius: 10px;
    padding: 10px;
}

.equipo-box-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: #5f6d7d;
    margin-bottom: 8px;
}

.equipo-box-value {
    font-size: 10px;
    font-weight: 800;
    color: #2d3645;
}
/* FLECHAS */
.equipo-nav-prev,
.equipo-nav-next {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    background: #1d2d8f;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(29, 45, 143, 0.20);
    display: none !important;
}

    .equipo-nav-prev:after,
    .equipo-nav-next:after {
        font-size: 18px !important;
        font-weight: 800;
    }

    .equipo-nav-prev:hover,
    .equipo-nav-next:hover {
        transform: scale(1.04);
    }
/* MENSAJES */
.mensaje-error,
.mensaje-info {
    max-width: 820px;
    margin: 0 auto 20px auto;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
}

.mensaje-error {
    background: #fdeaea;
    color: #a12626;
    border: 1px solid #f2c5c5;
}

.mensaje-info {
    background: #eef6ff;
    color: #174a7a;
    border: 1px solid #c8def5;
}
/* RESPONSIVE */
@media (max-width: 991.98px) {
    .card-notario {
        max-width: 780px;
    }

    .card-notario-info h2 {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .equipo-section {
        padding: 45px 0 65px;
    }

    .card-notario {
        flex-direction: column;
        text-align: center;
        padding: 22px;
    }

    .card-notario-info h2 {
        font-size: 30px;
    }

    .card-suplente {
        flex-direction: column;
        text-align: center;
    }

    .equipo-header h2 {
        font-size: 28px;
    }

    .equipoSwiper .swiper-slide {
        transform: scale(0.94);
        opacity: 0.85;
    }

    .equipoSwiper .swiper-slide-active {
        transform: scale(1);
    }

    .equipo-nav-prev,
    .equipo-nav-next {
        display: none !important;
    }
}

.suplente-wrap.doble {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.arancel-section {
    padding: 60px 0;
    background: #f8fbff;
}

.arancel-header {
    text-align: center;
    margin-bottom: 25px;
}

    .arancel-header h2 {
        font-size: 30px;
        font-weight: 800;
        color: #1d2d8f;
    }

.pdf-viewer-wrap {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* 🔥 bloquea interacción */
}
/* capa extra por si acaso */
.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: default;
}

.revista-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 700px;
}

#flipbook {
    width: 100%;
    height: 100%;
}

.flipbook-shell {
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10), 0 6px 14px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.flipbook-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #f6f8fc;
    border-bottom: 1px solid #e7edf7;
}

.flipbook-status {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.flipbook-btn {
    border: none;
    background: #1d2d8f;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(29, 45, 143, 0.20);
}

    .flipbook-btn:hover:not(:disabled) {
        transform: translateY(-1px);
    }

    .flipbook-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        box-shadow: none;
    }

.flipbook-stage {
    position: relative;
    min-height: 950px;
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.flipbook-page {
    position: relative;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.30), 0 2px 6px rgba(255, 255, 255, 0.20);
    transform-origin: center center;
    transition: transform 0.45s ease, opacity 0.45s ease;
    overflow: hidden;
}

.flipbook-stage.flip-next .flipbook-page {
    animation: pageFlipNext 0.45s ease;
}

.flipbook-stage.flip-prev .flipbook-page {
    animation: pageFlipPrev 0.45s ease;
}

@keyframes pageFlipNext {
    0% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotateY(-18deg) scale(0.98);
        opacity: 0.78;
    }

    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes pageFlipPrev {
    0% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotateY(18deg) scale(0.98);
        opacity: 0.78;
    }

    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}


.pdf-selector-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pdf-selector-btn {
    border: none;
    background: #e9eefb;
    color: #1d2d8f;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pdf-selector-btn:hover {
        background: #dbe5ff;
        transform: translateY(-1px);
    }

    .pdf-selector-btn.activo {
        background: #1d2d8f;
        color: #ffffff;
        box-shadow: 0 10px 20px rgba(29, 45, 143, 0.20);
    }


.btn-recarga-ninja {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.2;
    transition: all 0.3s ease;
    z-index: 9999;
}

    .btn-recarga-ninja:hover {
        opacity: 1;
        background: #198754;
        transform: scale(1.15);
    }

.flipbook-stage {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.flipbook-page {
    /*width: 100%;*/
    display: flex;
    justify-content: center;
}

    .flipbook-page canvas {
        display: block;
        max-width: none !important;
        height: auto !important;
    }

.flipbook-stage {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#flipbookStage2 {
    overflow: hidden;
}

#pdfCanvas2 {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}


.nomina-grid-wrap {
    max-width: 1180px;
    margin: 0 auto 40px auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.10);
    overflow-x: auto;
    border: 1px solid rgba(29, 45, 143, 0.08);
}

.nomina-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: #0f2344;
    overflow: hidden;
}

      .nomina-grid th {
        background: linear-gradient(135deg, #1d2d8f, #14206f);
        color: #ffffff;
        padding: 15px 16px;
        text-align: left;
        font-weight: 800;
        font-size: 14px;
        letter-spacing: 0.2px;
        border: none;
    }

        .nomina-grid th:first-child {
            border-top-left-radius: 14px;
        }

        .nomina-grid th:last-child {
            border-top-right-radius: 14px;
        }

    .nomina-grid td {
        padding: 14px 16px;
        border-bottom: 1px solid #e4eaf5;
        background: #ffffff;
        font-size: 14px;
        vertical-align: middle;
    }

    .nomina-grid tr {
        transition: background .20s ease, transform .18s ease, box-shadow .20s ease;
    }

        .nomina-grid tr:hover td {
            background: linear-gradient( 135deg, #1d2d8f, #14206f);
            color: #ffffff;
            transform: scale(1.005);
        }

        .nomina-grid tr:hover {
            box-shadow: inset 4px 0 0 #d4b068;
        }

            .nomina-grid tr:hover td:first-child {
                color: #ffd978;
                font-weight: 700;
            }

            .nomina-grid tr:hover td:nth-child(2) {
                font-weight: 700;
            }

            .nomina-grid tr:hover td:nth-child(3) {
                color: #ffffff;
            }


@media (max-width: 768px) {
    .nomina-grid-wrap {
        padding: 12px;
        border-radius: 18px;
    }

    .nomina-grid {
        font-size: 13px;
    }

        .nomina-grid th,
        .nomina-grid td {
            padding: 11px 12px;
            white-space: nowrap;
        }
}



.nomina-card-wrap {
    max-width: 1120px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nomina-persona {
    background: #ffffff;
    border: 1px solid rgba(13, 37, 120, 0.10);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: all 0.28s ease;
    text-align: center;
    justify-content: center;
    height: 100px;
}

    .nomina-persona:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(0,0,0,0.12);
        border-color: rgba(13, 37, 120, 0.25);
    }

.nomina-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #1d2d8f;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nomina-info h4 {
    margin: 0;
    color: #10235f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .nomina-card-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .nomina-card-wrap {
        grid-template-columns: 1fr;
    }
}