/* GQNET Certification Programs Page */
.gq-programs-page {
    background: #f5f7fa;
}

/* Hero */
.gq-programs-hero {
    background: #0c1f3d;
    padding: 2.5rem 0 2.25rem;
}

.gq-programs-hero__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.65rem;
}

.gq-programs-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gq-programs-hero__lead {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: 820px;
}

.gq-programs-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.gq-programs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.gq-programs-badge svg {
    color: #b59461;
    flex-shrink: 0;
}

/* Toolbar — white bar below hero (Figma) */
.gq-programs-toolbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.gq-programs-toolbar__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gq-programs-search {
    position: relative;
    flex: 1 1 280px;
    min-width: min(100%, 320px);
    max-width: 420px;
    margin-bottom: 0;
}

.gq-programs-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.gq-programs-search input {
    width: 100%;
    height: 44px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #0c1f3d;
    background: #fff;
}

.gq-programs-search input:focus {
    outline: none;
    border-color: #4a8fd4;
    box-shadow: 0 0 0 3px rgba(74, 143, 212, 0.12);
}

.gq-programs-disciplines {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 420px;
    justify-content: flex-end;
}

.gq-programs-discipline {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #fff;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gq-programs-discipline:hover {
    border-color: #cbd5e1;
    color: #0c1f3d;
}

.gq-programs-discipline.is-active {
    background: #0c1f3d;
    border-color: #0c1f3d;
    color: #fff;
}

/* Catalog */
.gq-programs-catalog {
    padding: 2rem 0 3rem;
    background: #f5f7fa;
}

.gq-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gq-scheme-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(12, 31, 61, 0.05);
    display: flex;
    flex-direction: column;
}

.gq-scheme-card__media {
    height: 168px;
    background-size: cover;
    background-position: center;
    background-color: #cbd5e1;
}

.gq-scheme-card__body {
    padding: 1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gq-scheme-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.gq-scheme-card__tag {
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #967622;
    background: rgba(181, 148, 97, 0.15);
    padding: 0.28rem 0.55rem;
    border-radius: 3px;
}

.gq-scheme-card__level {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.gq-scheme-card__level svg {
    color: #94a3b8;
}

.gq-scheme-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0c1f3d;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.gq-scheme-card__body > p {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

/* Buttons */
.gq-programs-btn-primary,
.gq-programs-btn-outline,
.gq-programs-btn-gold,
.gq-programs-btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.gq-programs-btn-primary {
    background: #0c1f3d;
    color: #fff;
}

.gq-programs-btn-primary:hover {
    background: #071428;
}

.gq-programs-btn-primary--block,
.gq-programs-btn-outline--block {
    width: 100%;
}

.gq-programs-btn-outline {
    background: #fff;
    color: #0c1f3d;
    border-color: #cbd5e1;
}

.gq-programs-btn-outline:hover {
    border-color: #0c1f3d;
}

.gq-programs-btn-gold {
    background: #b59461;
    color: #fff;
    padding: 0.75rem 1.35rem;
}

.gq-programs-btn-gold:hover {
    background: #a38352;
}

.gq-programs-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    padding: 0.75rem 1.35rem;
}

.gq-programs-btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Pagination */
.gq-programs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
}

.gq-programs-pagination__btn,
.gq-programs-pagination__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.gq-programs-pagination__num.is-active {
    background: #0c1f3d;
    color: #fff;
    border-color: #0c1f3d;
}

.gq-programs-pagination__btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Empty */
.gq-programs-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.gq-programs-empty p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Pathway */
.gq-programs-pathway {
    background: #f5f7fa;
    border-top: 1px solid #e2e8f0;
    padding: 3.5rem 0;
}

.gq-programs-pathway h2 {
    text-align: center;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0c1f3d;
    margin-bottom: 2.5rem;
}

.gq-programs-pathway__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    position: relative;
}

.gq-programs-pathway__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: #e2e8f0;
    z-index: 0;
}

.gq-programs-pathway__step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gq-programs-pathway__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1f3d;
}

.gq-programs-pathway__step h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0c1f3d;
    margin-bottom: 0.45rem;
}

.gq-programs-pathway__step p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 210px;
    margin: 0 auto;
}

/* CTA */
.gq-programs-cta {
    background: #0c1f3d;
    padding: 3.5rem 0;
}

.gq-programs-cta__inner {
    text-align: center;
    max-width: 640px;
}

.gq-programs-cta h2 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.gq-programs-cta p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.gq-programs-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Detail page */
.gq-programs-detail-hero {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0 2rem;
}

.gq-programs-back {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.gq-programs-back:hover {
    color: #0c1f3d;
}

.gq-programs-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.gq-programs-detail-head h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #0c1f3d;
    margin: 0.5rem 0;
}

.gq-programs-detail-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
}

.gq-programs-detail-hero__media {
    height: 220px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}

.gq-programs-detail-body {
    padding: 2rem 0 3rem;
}

.gq-programs-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.gq-programs-detail-main h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #0c1f3d;
    margin-bottom: 0.75rem;
}

.gq-programs-detail-main p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.gq-programs-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gq-programs-detail-stats div {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.85rem 1rem;
}

.gq-programs-detail-stats span {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.gq-programs-detail-stats strong {
    font-size: 0.875rem;
    color: #0c1f3d;
}

.gq-programs-detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.25rem;
}

.gq-programs-detail-card h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0c1f3d;
    margin-bottom: 0.75rem;
}

.gq-programs-detail-card ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.gq-programs-detail-card li {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.gq-programs-detail-card li strong {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.gq-programs-fees li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.gq-programs-detail-card .gq-programs-btn-outline {
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .gq-programs-toolbar__row {
        flex-direction: column;
        align-items: stretch;
    }

    .gq-programs-search {
        max-width: none;
    }

    .gq-programs-disciplines {
        justify-content: flex-start;
    }

    .gq-programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gq-programs-pathway__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gq-programs-pathway__steps::before {
        display: none;
    }

    .gq-programs-detail-head,
    .gq-programs-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gq-programs-grid {
        grid-template-columns: 1fr;
    }

    .gq-programs-pathway__steps {
        grid-template-columns: 1fr;
    }

    .gq-programs-cta__actions {
        flex-direction: column;
    }

    .gq-programs-cta__actions a {
        width: 100%;
    }

    .gq-scheme-card__meta {
        grid-template-columns: 1fr;
    }

    .gq-programs-hero {
        padding: 2rem 0 1.75rem;
    }

    .gq-programs-toolbar {
        padding: 0.85rem 0;
    }

    .gq-programs-disciplines {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
        margin: 0 -0.25rem;
    }

    .gq-programs-disciplines::-webkit-scrollbar {
        display: none;
    }

    .gq-programs-detail-hero__media {
        min-height: 200px;
    }

    .gq-programs-detail-stats {
        grid-template-columns: 1fr;
    }
}
