
/* CLOUDSKY AIRWAYS - ESTADISTICAS CKY */

.cky-stats {
    background: #f7f9fc;
    min-height: 75vh;
    color: #192638;
}

.cky-stats-wrap {
    width: min(1200px, 92%);
    margin: auto;
}

/* ENCABEZADO */

.cky-stats-hero {
    background: linear-gradient(115deg, #101b2b, #293b51);
    color: white;
    padding: 66px 0 90px;
}

.cky-stats-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
    color: #ff4563;
}

.cky-stats-hero h1 {
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 12px 0;
}

.cky-stats-hero p {
    max-width: 650px;
    color: #e0e6ed;
    line-height: 1.7;
    font-size: 16px;
}

/* CONTENIDO */

.cky-stats-content {
    padding-bottom: 75px;
}

/* TARJETAS DE RESUMEN */

.cky-stats-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin-top: -48px;
    position: relative;
}

.cky-stats-summary article {
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 15px;
    box-shadow: 0 8px 22px #14233816;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cky-stats-summary article > span {
    color: #cf1336;
    font-size: 24px;
}

.cky-stats-summary small {
    color: #667485;
    font-weight: 700;
    font-size: 13px;
}

.cky-stats-summary strong {
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(26px, 3vw, 37px);
    font-weight: 900;
    color: #162438;
}

/* NOTIFICACIONES */

.cky-stats-notice {
    min-height: 28px;
    margin: 22px 0 8px;
    color: #667485;
    font-size: 13px;
}

/* SECCIONES */

.cky-stats-sections {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 22px;
    align-items: start;
}

.cky-stats-panel {
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    padding: 28px;
    box-shadow: 0 7px 25px #1723380c;
}

/* TITULOS CORREGIDOS */

.cky-stats .cky-stats-panel h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.3px !important;
    word-spacing: 2px !important;
    line-height: 1.4;
    font-kerning: normal;
    font-stretch: normal;
    text-transform: none;
    margin: 0 0 7px;
    color: #1a2839;
}

.cky-stats-panel > p {
    font-size: 13px;
    color: #6c7887;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ACTIVIDAD DE PILOTOS */

.cky-stats-statuses {
    display: grid;
    gap: 13px;
}

.cky-stats-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f9fb;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 14px;
}

.cky-stats-status strong {
    font-size: 19px;
}

.cky-stats-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
    margin-right: 10px;
}

.cky-stats-dot.flying {
    background: #16a34a;
}

.cky-stats-dot.booked {
    background: #eab308;
}

.cky-stats-dot.idle {
    background: #dc2626;
}

.cky-stats-update {
    font-size: 11px;
    color: #7c8793;
    margin-top: 22px;
}

/* CLASIFICACION DE PILOTOS */

.cky-stats-table-scroll {
    overflow-x: auto;
}

.cky-stats table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cky-stats th {
    text-align: left;
    color: #667485;
    font-weight: 800;
    padding: 12px 9px;
    border-bottom: 1px solid #e3e9ef;
    white-space: nowrap;
}

.cky-stats td {
    padding: 13px 9px;
    border-bottom: 1px solid #eff2f5;
    color: #283648;
}

.cky-stats td:nth-child(n+3),
.cky-stats th:nth-child(n+3) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cky-stats td:nth-child(2) b {
    display: block;
}

.cky-stats td:nth-child(2) small {
    color: #8a95a2;
}

/* NOTA INFORMATIVA */

.cky-stats-footnote {
    color: #7b8794;
    font-size: 12px;
    line-height: 1.7;
    margin: 25px 0;
}

/* BOTON DIRECTORIO DE PILOTOS */

.cky-stats-link {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(110deg, #db002a, #a00022);
    color: white !important;
    padding: 16px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
}

.cky-stats-link span {
    font-size: 21px;
}

/* RESPONSIVE */

@media (max-width: 850px) {

    .cky-stats-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .cky-stats-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    .cky-stats-summary {
        gap: 10px;
    }

    .cky-stats-summary article {
        padding: 17px 13px;
    }

    .cky-stats-panel {
        padding: 18px;
    }

    .cky-stats-hero {
        padding: 46px 0 82px;
    }

    .cky-stats .cky-stats-panel h2 {
        font-size: 20px;
    }
}
