/* =========================================================
   PAGOS - COLEGIO DE CONTADORES PÚBLICOS DE TUMBES
   ========================================================= */

.ccpt-pagos {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 35px 30px 60px;
    box-sizing: border-box;
}


/* =========================================================
   VOLVER
   ========================================================= */

.ccpt-pagos-volver {
    margin-bottom: 28px;
}

.ccpt-pagos-volver a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #a90000;
    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition: all .25s ease;
}

.ccpt-pagos-volver a:hover {
    color: #780000;
    transform: translateX(-3px);
}


/* =========================================================
   PRINCIPAL
   ========================================================= */

.ccpt-pagos-principal {
    display: grid;

    grid-template-columns: 0.82fr 1.18fr;

    gap: 45px;

    align-items: center;

    margin-bottom: 45px;
}


/* =========================================================
   TEXTO
   ========================================================= */

.ccpt-pagos-texto {
    min-width: 0;
}


/* =========================================================
   ETIQUETA
   ========================================================= */

.ccpt-pagos-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 17px;

    background: #b40000;
    color: #ffffff;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .2px;
}

.ccpt-pagos-etiqueta i {
    font-size: 13px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.ccpt-pagos-texto h1 {
    margin: 23px 0 14px;

    color: #10233f;

    font-size: 43px;
    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1px;
}


/* =========================================================
   SUBTÍTULO
   ========================================================= */

.ccpt-pagos-subtitulo {
    max-width: 550px;

    margin: 0 0 20px;

    color: #4f5965;

    font-size: 18px;

    line-height: 1.65;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.ccpt-pagos-descripcion {
    max-width: 570px;

    margin: 0 0 28px;

    color: #303944;

    font-size: 15px;

    line-height: 1.8;

    text-align: justify;
}


/* =========================================================
   BOTONES
   ========================================================= */

.ccpt-pagos-botones {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}


/* BOTÓN INSTRUCCIONES */

.ccpt-btn-instrucciones {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 23px;

    box-sizing: border-box;

    border-radius: 8px;

    background: #b40000;
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(180, 0, 0, .16);

    transition: all .25s ease;
}

.ccpt-btn-instrucciones:hover {
    background: #8e0000;

    color: #ffffff;

    transform: translateY(-2px);
}


/* BOTÓN COMPARTIR */

.ccpt-btn-compartir {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 23px;

    box-sizing: border-box;

    border: 1px solid #d9dee5;

    border-radius: 8px;

    background: #ffffff;
    color: #20252b;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: all .25s ease;
}

.ccpt-btn-compartir:hover {
    background: #f7f7f7;

    color: #20252b;

    transform: translateY(-2px);
}


/* =========================================================
   IMAGEN PRINCIPAL
   ========================================================= */

.ccpt-pagos-imagen {
    width: 100%;

    overflow: hidden;

    border-radius: 18px;

    background: #f3f6fa;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, .10);
}

.ccpt-pagos-imagen img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 650px;

    object-fit: cover;
}


/* =========================================================
   MEDIOS DE PAGO
   ========================================================= */

.ccpt-pagos-medios {
    margin-top: 20px;

    padding-top: 10px;
}


.ccpt-pagos-titulo-seccion {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}

.ccpt-pagos-titulo-seccion > i {
    color: #b40000;

    font-size: 23px;
}

.ccpt-pagos-titulo-seccion h2 {
    margin: 0;

    color: #172235;

    font-size: 20px;

    font-weight: 800;
}


/* =========================================================
   GRID MEDIOS
   ========================================================= */

.ccpt-pagos-medios-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    max-width: 700px;
}


.ccpt-medio {
    min-height: 105px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 15px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e2e6eb;

    border-radius: 12px;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .06);

    transition: all .25s ease;
}

.ccpt-medio:hover {
    transform: translateY(-3px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, .10);
}


.ccpt-medio > span {
    color: #3e4854;

    font-size: 12px;

    font-weight: 600;

    text-align: center;
}


/* =========================================================
   ICONOS MEDIOS
   ========================================================= */

.ccpt-medio-icono {
    width: 48px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    font-size: 19px;
}


/* BBVA */

.ccpt-medio-icono.bbva {
    background: #063b9e;

    color: #ffffff;

    font-size: 17px;

    letter-spacing: .5px;
}


/* QR */

.ccpt-medio-icono.qr {
    background: #111111;

    color: #ffffff;
}


/* WHATSAPP */

.ccpt-medio-icono.whatsapp {
    background: #20b858;

    color: #ffffff;
}


/* =========================================================
   INFORMACIÓN IMPORTANTE
   ========================================================= */

.ccpt-pagos-importante {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 35px;

    padding: 20px 24px;

    box-sizing: border-box;

    border-radius: 14px;

    background: #f2f7ff;

    border: 1px solid #d8e6f8;
}


.ccpt-pagos-importante-icono {
    width: 43px;
    height: 43px;

    min-width: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #dceaff;

    color: #1266c4;

    font-size: 19px;
}


.ccpt-pagos-importante h2 {
    margin: 0 0 7px;

    color: #172337;

    font-size: 17px;
}


.ccpt-pagos-importante p {
    margin: 4px 0;

    color: #53606d;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   CONFIANZA
   ========================================================= */

.ccpt-pagos-confianza {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;

    padding: 5px 0;
}


.ccpt-confianza-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.ccpt-confianza-item > i {
    margin-top: 2px;

    color: #b40000;

    font-size: 19px;
}


.ccpt-confianza-item strong {
    display: block;

    margin-bottom: 3px;

    color: #182334;

    font-size: 13px;
}


.ccpt-confianza-item p {
    margin: 0;

    color: #6a727c;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   MENSAJE FINAL
   ========================================================= */

.ccpt-pagos-final {
    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 35px;

    padding: 20px 25px;

    border-radius: 14px;

    background: #fff4f4;

    border: 1px solid #f2dada;
}


.ccpt-pagos-final > i {
    width: 45px;
    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #b40000;

    font-size: 20px;
}


.ccpt-pagos-final strong {
    display: block;

    margin-bottom: 4px;

    color: #20242b;

    font-size: 15px;
}


.ccpt-pagos-final p {
    margin: 0;

    color: #5d636b;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   =========================================================
   MODAL CUENTA BBVA + QR
   =========================================================
   ========================================================= */


/* =========================================================
   MODAL GENERAL
   ========================================================= */

.ccpt-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;
}


/*
   Cuando se pulsa "Ver instrucciones"
   el enlace lleva a #modalCuentas
*/

.ccpt-modal:target {
    display: flex;
}


/* =========================================================
   FONDO DEL MODAL
   ========================================================= */

.ccpt-modal-fondo {
    position: absolute;

    inset: 0;

    background: rgba(10, 18, 31, .72);

    backdrop-filter: blur(4px);
}


/* =========================================================
   CONTENIDO MODAL
   ========================================================= */

.ccpt-modal-contenido {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 820px;

    max-height: 92vh;

    overflow-y: auto;

    padding: 20px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .30);

    animation: ccptModalEntrada .25s ease;
}


@keyframes ccptModalEntrada {

    from {
        opacity: 0;

        transform:
            translateY(20px)
            scale(.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   CERRAR
   ========================================================= */

.ccpt-modal-cerrar {
    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 5;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #172235;

    text-decoration: none;

    font-size: 18px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .16);

    transition: all .25s ease;
}

.ccpt-modal-cerrar:hover {
    background: #b40000;

    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================================
   CABECERA MODAL
   ========================================================= */

.ccpt-modal-header {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px 55px 16px 18px;

    box-sizing: border-box;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #073b9c,
            #1458c4
        );

    color: #ffffff;
}


.ccpt-modal-header-icono {
    width: 53px;
    height: 53px;

    min-width: 53px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid rgba(255,255,255,.75);

    border-radius: 50%;

    font-size: 23px;
}


.ccpt-modal-header h2 {
    margin: 0 0 3px;

    font-size: 22px;

    line-height: 1.2;
}


.ccpt-modal-header p {
    margin: 0;

    color: rgba(255,255,255,.9);

    font-size: 12px;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.ccpt-modal-introduccion {
    max-width: 650px;

    margin: 16px auto 20px;

    color: #243a57;

    text-align: center;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   BBVA + QR
   ========================================================= */

.ccpt-modal-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   CUENTA BBVA
   ========================================================= */

.ccpt-cuenta-bbva {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dce3ec;

    border-radius: 14px;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .08);
}


/* LOGO */

.ccpt-bbva-logo {
    padding: 16px;

    background:
        linear-gradient(
            135deg,
            #063b9b,
            #1162c9
        );

    color: #ffffff;

    text-align: center;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* CONTENIDO */

.ccpt-bbva-contenido {
    padding: 17px;
}


.ccpt-bbva-contenido > span {
    display: block;

    margin-bottom: 4px;

    color: #17253a;

    font-size: 16px;

    font-weight: 700;
}


.ccpt-bbva-contenido > small {
    display: block;

    margin-bottom: 15px;

    color: #707983;

    font-size: 12px;
}


/* =========================================================
   DATOS
   ========================================================= */

.ccpt-dato {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 10px;

    padding: 11px;

    border: 1px solid #d9e0e8;

    border-radius: 9px;

    background: #fafbfd;
}


.ccpt-dato > i {
    width: 32px;
    height: 32px;

    min-width: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: #e9f2ff;

    color: #1263c4;

    font-size: 13px;
}


.ccpt-dato div {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.ccpt-dato small {
    color: #7a828b;

    font-size: 10px;
}


.ccpt-dato strong {
    color: #18263b;

    font-size: 12px;

    line-height: 1.4;

    word-break: break-word;
}


/* =========================================================
   QR
   ========================================================= */

.ccpt-qr {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 17px;

    box-sizing: border-box;

    border: 1px solid #dce3ec;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .08);
}


.ccpt-qr-titulo {
    width: 100%;

    padding: 11px;

    box-sizing: border-box;

    border-radius: 8px;

    background: #050505;

    color: #ffffff;

    text-align: center;

    font-size: 15px;

    font-weight: 700;
}


.ccpt-qr-titulo i {
    margin-right: 7px;
}


.ccpt-qr-imagen {
    width: 245px;

    max-width: 100%;

    margin: 16px auto 10px;

    padding: 8px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 8px;
}


.ccpt-qr-imagen img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}


.ccpt-qr p {
    max-width: 280px;

    margin: 4px 0 0;

    color: #59636d;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   INFORMACIÓN DEL MODAL
   ========================================================= */

.ccpt-modal-importante {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 18px;

    padding: 14px 16px;

    box-sizing: border-box;

    border: 1px solid #cfe2f8;

    border-radius: 12px;

    background: #eaf4ff;
}


.ccpt-modal-whatsapp {
    width: 39px;
    height: 39px;

    min-width: 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #20b858;

    color: #ffffff;

    font-size: 20px;
}


.ccpt-modal-importante > div:last-child {
    min-width: 0;
}


.ccpt-modal-importante > div:last-child > strong {
    color: #123f73;

    font-size: 13px;
}


.ccpt-modal-importante p {
    margin: 3px 0;

    color: #40566d;

    font-size: 11px;

    line-height: 1.5;
}


.ccpt-modal-importante small {
    color: #52677c;

    font-size: 10px;

    line-height: 1.4;
}


.ccpt-modal-contactos {
    display: flex;

    align-items: center;

    gap: 7px;

    margin: 4px 0;
}


.ccpt-modal-contactos a {
    color: #087d3c;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .ccpt-pagos-principal {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .ccpt-pagos-texto {
        max-width: 720px;
    }

    .ccpt-pagos-imagen {
        max-width: 800px;

        margin: 0 auto;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .ccpt-pagos {
        padding: 25px 15px 45px;
    }


    .ccpt-pagos-texto h1 {
        font-size: 34px;
    }


    .ccpt-pagos-subtitulo {
        font-size: 16px;
    }


    .ccpt-pagos-botones {
        flex-direction: column;
    }


    .ccpt-btn-instrucciones,
    .ccpt-btn-compartir {
        width: 100%;
    }


    .ccpt-pagos-medios-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }


    .ccpt-pagos-confianza {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .ccpt-modal {
        padding: 10px;
    }


    .ccpt-modal-contenido {
        max-height: 95vh;

        padding: 14px;

        border-radius: 15px;
    }


    .ccpt-modal-grid {
        grid-template-columns: 1fr;
    }


    .ccpt-modal-header {
        padding: 14px 48px 14px 13px;
    }


    .ccpt-modal-header-icono {
        width: 43px;
        height: 43px;

        min-width: 43px;

        font-size: 19px;
    }


    .ccpt-modal-header h2 {
        font-size: 18px;
    }


    .ccpt-modal-header p {
        font-size: 10px;
    }


    .ccpt-qr-imagen {
        width: 210px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 420px) {

    .ccpt-pagos-texto h1 {
        font-size: 29px;
    }


    .ccpt-pagos-subtitulo {
        font-size: 15px;
    }


    .ccpt-pagos-descripcion {
        font-size: 14px;
    }


    .ccpt-modal-introduccion {
        font-size: 12px;
    }


    .ccpt-bbva-logo {
        font-size: 24px;
    }


    .ccpt-dato strong {
        font-size: 11px;
    }


    .ccpt-modal-contactos {
        flex-wrap: wrap;
    }

}