/* ============================================================
   SECCIÓN COOPERACIÓN BASC-CTPAT (WEB-BASC-0129)
   Diseño fiel al Mockup + Tipografía e integración BASC PHP
   ============================================================ */

/* 1. HERO BANNER */
.ctpat-hero-mockup {
    position: relative;
    margin-top: 120px;
    background-color: #032149;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 290px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ctpat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 33, 73, 0.95) 0%, rgba(3, 33, 73, 0.88) 45%, rgba(3, 33, 73, 0.20) 100%);
    z-index: 1;
}

.ctpat-hero-container {
    z-index: 2;
    padding-top: 35px;
    padding-bottom: 35px;
    width: 96%;
    max-width: 1360px;
}

.ctpat-hero-caption {
    max-width: 540px;
    text-align: left;
}

.ctpat-hero-bar {
    width: 42px;
    height: 4px;
    background-color: rgb(25, 191, 247);
    margin-bottom: 14px;
    border-radius: 2px;
}

.ctpat-hero-title {
    font-family: "Exo 2", sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}

.ctpat-hero-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #e2e8f0;
    margin: 0 0 18px 0;
    text-align: left;
}

.ctpat-hero-logo-box img {
    height: 58px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* 2. MIGA DE PAN */
#navegacion .breadcrumb a {
    color: rgb(25, 191, 247);
}

/* 3. CONTENIDO PRINCIPAL */
.ctpat-page-content {
    background: #ffffff !important;
    padding-top: 40px !important;
    padding-bottom: 0px !important;
}

.ctpat-seccion-titulo-azul {
    font-family: "Exo 2", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #052652;
    line-height: 1.25;
    margin: 0 0 14px 0;
    text-align: left;
}

.ctpat-seccion-titulo-azul span,
.ctpat-seccion-titulo-azul strong {
    color: rgb(25, 191, 247);
}

.ctpat-linea-celeste {
    width: 44px;
    height: 3.5px;
    background-color: rgb(25, 191, 247);
    margin-bottom: 16px;
    border-radius: 2px;
}

.ctpat-linea-centro {
    margin: 0 auto 26px auto;
}

.ctpat-texto-parrafo p {
    color: rgb(89, 121, 133);
    font-family: "Open Sans", sans-serif;
    font-size: 14.5px !important;
    line-height: 165%;
    text-align: justify;
    margin-bottom: 14px !important;
}

/* Bloque 1: Alianza Estratégica */
.ctpat-alianza-bloque {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.ctpat-alianza-texto {
    padding-right: 35px;
}

.ctpat-inspector-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 30px rgba(4, 38, 61, 0.16);
}

.ctpat-inspector-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bloque 2: Franja de Cifras e Hitos */
.ctpat-cifras-franja {
    background: linear-gradient(90deg, #032149 0%, #063168 50%, #032149 100%);
    border-radius: 6px;
    padding: 24px 15px;
    margin: 10px 0 50px 0;
    box-shadow: 0px 4px 25px rgba(3, 33, 73, 0.25);
}

.ctpat-cifras-fila {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.ctpat-cifra-item {
    flex: 1 1 20%;
    min-width: 180px;
    padding: 6px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    text-align: left;
}

.ctpat-cifra-item:last-child {
    border-right: none;
}

.ctpat-cifra-top {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.ctpat-cifra-ico {
    color: rgb(25, 191, 247);
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctpat-cifra-data {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ctpat-cifra-tag {
    font-family: "Exo 2", sans-serif;
    font-size: 11.5px;
    color: #bae6fd;
    font-weight: 600;
}

.ctpat-cifra-num {
    font-family: "Exo 2", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

#contenido .ctpat-cifra-text {
    font-family: "Open Sans", sans-serif;
    font-size: 13px !important;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
    margin: 0 !important;
}

/* Bloque 3: Dos Columnas */
.ctpat-dos-columnas-bloque {
    padding: 10px 0 55px 0;
    display: flex;
    flex-wrap: wrap;
}

.ctpat-col-izq {
    padding-right: 40px;
    border-right: 1px solid rgba(4, 40, 61, 0.12);
    text-align: left;
}

.ctpat-col-der {
    padding-left: 40px;
    text-align: left;
}

.ctpat-subtitulo-azul {
    font-family: "Exo 2", sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: rgb(4, 38, 61);
    line-height: 1.25;
    margin: 0 0 16px 0;
    text-align: left;
}

.ctpat-btn-wrap {
    margin-top: 18px;
    text-align: left;
}

.btn-ctpat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border: 1.5px solid rgb(4, 38, 61);
    border-radius: 25px;
    background: #ffffff;
    color: rgb(4, 38, 61) !important;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-ctpat-pill:hover,
.btn-ctpat-pill:focus {
    background: rgb(4, 38, 61);
    color: #ffffff !important;
}

/* Bloque 4: Principales beneficios + Tarjeta Blanca */
.ctpat-beneficios-area {
    background: linear-gradient(180deg, #eaf4fb 0%, #f1f8fc 100%);
    margin-left: -15px;
    margin-right: -15px;
    padding: 55px 25px 65px 25px;
    border-radius: 10px;
}

.ctpat-beneficios-heading {
    margin-bottom: 35px;
}

.ctpat-beneficios-heading .ctpat-seccion-titulo-azul {
    text-align: center;
    font-size: 29px;
}

.ctpat-beneficios-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.ctpat-beneficio-card {
    display: flex;
    margin-bottom: 25px;
}

.ctpat-beneficio-inner {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 8px;
}

.ctpat-beneficio-icon-circle {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px auto;
    border-radius: 50%;
    background-color: rgba(4, 38, 61, 0.08);
    color: rgb(4, 38, 61);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ctpat-beneficio-card:hover .ctpat-beneficio-icon-circle {
    background-color: rgb(25, 191, 247);
    color: #ffffff;
    transform: scale(1.08);
}

.ctpat-beneficio-title {
    font-family: "Exo 2", sans-serif;
    font-size: 18.5px;
    font-weight: 800;
    color: #052652;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.ctpat-beneficio-p {
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px !important;
    line-height: 155%;
    color: rgb(89, 121, 133);
    margin: 0 !important;
}

/* Tarjeta Blanca del Certificado */
.ctpat-tarjeta-blanca {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 8px 30px rgba(54, 78, 95, 0.16);
    padding: 40px 35px;
}

.ctpat-tarjeta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ctpat-certificado-marco {
    background: #ffffff;
    display: inline-block;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0px 4px 20px rgba(4, 38, 61, 0.12);
    max-width: 290px;
}

.ctpat-certificado-marco img {
    width: 100%;
    height: auto;
    display: block;
}

.ctpat-tarjeta-text-col {
    padding-left: 25px;
    text-align: left;
}

.ctpat-cert-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.ctpat-cert-line {
    width: 4px;
    height: 26px;
    background-color: rgb(25, 191, 247);
    margin-right: 12px;
    display: inline-block;
    border-radius: 2px;
}

.ctpat-cert-title {
    font-family: "Exo 2", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: rgb(4, 38, 61);
    margin: 0;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 991px) {
    .ctpat-hero-mockup {
        margin-top: 70px;
        min-height: 240px;
    }

    .ctpat-hero-title {
        font-size: 30px;
    }

    .ctpat-alianza-bloque,
    .ctpat-dos-columnas-bloque,
    .ctpat-tarjeta-row {
        display: block;
    }

    .ctpat-alianza-texto {
        padding-right: 0;
        margin-bottom: 25px;
    }

    .ctpat-cifra-item {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px 10px;
    }

    .ctpat-cifra-item:last-child {
        border-bottom: none;
    }

    .ctpat-col-izq {
        padding-right: 0;
        border-right: none;
        margin-bottom: 30px;
    }

    .ctpat-col-der {
        padding-left: 0;
    }

    .ctpat-tarjeta-text-col {
        padding-left: 0;
        margin-top: 25px;
    }

    .ctpat-tarjeta-blanca {
        padding: 25px 20px;
    }
}
