/* GQNET Home Page */
:root {
    --gq-navy: #001b3d;
    --gq-navy-dark: #071428;
    --gq-gold: #b59461;
    --gq-gold-hover: #a38352;
    --gq-blue: #4a8fd4;
    --gq-grey-bg: #eef1f5;
    --gq-text-muted: #64748b;
    --gq-white: #ffffff;
}

.gq-home {
    overflow-x: hidden;
}

.gq-text-gold { color: var(--gq-gold); font-style: normal; }

/* Hero */
.gq-hero {
    position: relative;
    min-height: clamp(480px, 72vh, 620px);
    display: flex;
    align-items: center;
    background-color: var(--gq-navy-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.gq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 27, 61, 0.94) 0%, rgba(7, 20, 40, 0.84) 52%, rgba(12, 31, 61, 0.72) 100%);
    pointer-events: none;
}

.gq-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.gq-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(760px, 100%);
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.gq-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 700;
    color: var(--gq-white);
    line-height: 1.22;
    margin: 0 0 1.25rem;
    text-wrap: balance;
}

.gq-hero__highlight {
    display: block;
    margin-top: 0.35rem;
}

.gq-hero__lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    line-height: 1.75;
    margin: 0 0 2rem;
    max-width: 38rem;
}

.gq-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
    max-width: 42rem;
    width: 100%;
}

.gq-hero__cta-primary {
    min-width: min(100%, 17.5rem);
}

.gq-hero__actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.gq-hero__actions-grid .gq-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.3;
    min-height: 3rem;
    text-align: center;
}

.gq-hero__actions-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gq-hero__actions-secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.gq-hero__actions-secondary a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 0.1rem;
    transition: color 0.15s, border-color 0.15s;
}

.gq-hero__actions-secondary a:hover {
    color: #fde68a;
    border-bottom-color: var(--gq-gold);
}

.gq-hero__actions-secondary span {
    color: rgba(255, 255, 255, 0.45);
}

.gq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gq-btn-gold {
    background: var(--gq-gold);
    color: var(--gq-white);
}

.gq-btn-gold:hover { background: var(--gq-gold-hover); }

.gq-btn-outline {
    background: transparent;
    color: var(--gq-white);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.gq-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gq-white);
}

/* Announcements */
.gq-cms-announce {
    background: #1e3a8a;
    color: #fff;
    padding: 0.65rem 0;
}

.gq-cms-announce__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.gq-cms-announce__label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.6875rem;
    opacity: 0.85;
}

.gq-cms-announce__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.gq-cms-announce__link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.gq-cms-announce__link:hover {
    border-bottom-color: #fbbf24;
    color: #fde68a;
}

/* Stats bar */
.gq-stats-bar {
    background: var(--gq-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gq-stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gq-stat-item {
    padding: clamp(1.75rem, 3vw, 2.25rem) 1.25rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.gq-stat-item:last-child { border-right: none; }

.gq-stat-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gq-white);
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.gq-stat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

/* Section headings */
.gq-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.75rem;
}

.gq-section-head h2 {
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--gq-navy);
    margin-bottom: 0.75rem;
}

.gq-section-head p {
    color: var(--gq-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

.gq-section-head--inverse h2 {
    color: #fff;
}

.gq-section-head--inverse p {
    color: #94a3b8;
}

/* Framework */
.gq-framework {
    background: var(--gq-white);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}

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

.gq-feature-card {
    background: var(--gq-white);
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 27, 61, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

.gq-feature-card:hover {
    box-shadow: 0 8px 32px rgba(0, 27, 61, 0.1);
    transform: translateY(-2px);
}

.gq-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gq-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--gq-gold);
}

.gq-feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gq-navy);
    margin-bottom: 0.75rem;
}

.gq-feature-card p {
    font-size: 0.875rem;
    color: var(--gq-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Programs */
.gq-programs {
    background: var(--gq-grey-bg);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.gq-programs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gq-programs-head h2 {
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--gq-navy);
    margin-bottom: 0.5rem;
}

.gq-programs-head p {
    color: var(--gq-text-muted);
    font-size: 0.9375rem;
    max-width: 520px;
    margin: 0;
    line-height: 1.65;
}

.gq-link-gold {
    color: var(--gq-gold);
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    text-decoration: none;
}

.gq-link-gold:hover { text-decoration: underline; }

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

.gq-program-card {
    background: var(--gq-white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 27, 61, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.gq-program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 27, 61, 0.1);
}

.gq-program-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gq-program-card__media {
    position: relative;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--gq-navy);
}

.gq-program-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 15, 31, 0.55) 0%, rgba(0, 15, 31, 0.05) 100%);
}

.gq-program-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 1;
    display: inline-block;
    background: var(--gq-gold);
    color: var(--gq-white);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
}

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

.gq-program-card__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gq-navy);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.gq-program-card__body p {
    font-size: 0.8125rem;
    color: var(--gq-text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.gq-program-card__cta {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gq-gold);
}

/* Pathway */
.gq-pathway {
    background: var(--gq-white);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    border-top: 1px solid #e8ecf1;
}

.gq-pathway-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
    margin-top: 0.5rem;
}

.gq-pathway-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.gq-pathway-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.gq-pathway-icon {
    width: 72px;
    height: 72px;
    background: var(--gq-white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.15rem;
    color: var(--gq-navy);
    box-shadow: 0 2px 12px rgba(0, 27, 61, 0.06);
}

.gq-pathway-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gq-navy);
    margin-bottom: 0.5rem;
}

.gq-pathway-step p {
    font-size: 0.8125rem;
    color: var(--gq-text-muted);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* CMS sections */
.gq-cms-faq {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: #f8fafc;
}

.gq-cms-faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.gq-cms-faq__item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.25rem 1rem;
}

.gq-cms-faq__item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.85rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--gq-navy);
}

.gq-cms-faq__item summary::-webkit-details-marker { display: none; }

.gq-cms-faq__item summary::after {
    content: '›';
    font-size: 1.25rem;
    color: var(--gq-gold);
    transform: rotate(90deg);
    transition: transform 0.15s;
}

.gq-cms-faq__item[open] summary::after {
    transform: rotate(-90deg);
}

.gq-cms-faq__body {
    padding-bottom: 1rem;
    color: #475569;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.gq-cms-testimonials {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: #fff;
}

.gq-cms-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.gq-cms-testimonial {
    margin: 0;
    padding: 1.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--gq-gold);
    border-radius: 0 10px 10px 0;
    height: 100%;
}

.gq-cms-testimonial p {
    margin: 0 0 0.85rem;
    color: #334155;
    line-height: 1.65;
    font-size: 0.9375rem;
}

.gq-cms-testimonial footer {
    font-weight: 600;
    color: var(--gq-navy);
    font-size: 0.875rem;
}

.gq-cms-employers {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
    background: #f1f5f9;
}

.gq-cms-employers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gq-cms-employer-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    height: 100%;
}

.gq-cms-employer-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: var(--gq-navy);
}

.gq-cms-employer-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gq-text-muted);
    line-height: 1.6;
}

.gq-cms-news {
    padding: clamp(3.5rem, 6vw, 4.5rem) 0;
    background: #0f172a;
    color: #e2e8f0;
}

.gq-cms-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.gq-cms-news__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gq-cms-news__type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fbbf24;
    font-weight: 700;
}

.gq-cms-news__card h3 {
    margin: 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.4;
}

.gq-cms-news__card h3 a {
    color: #fff;
    text-decoration: none;
}

.gq-cms-news__card h3 a:hover {
    color: #fde68a;
}

.gq-cms-news__card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex: 1;
}

.gq-cms-news__card time {
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1100px) {
    .gq-programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .gq-framework-grid,
    .gq-pathway-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gq-pathway-steps::before { display: none; }

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

    .gq-stat-item:nth-child(2) { border-right: none; }
    .gq-stat-item:nth-child(1),
    .gq-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 900px) {
    .gq-hero__actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gq-hero__actions-grid .gq-btn:last-child {
        grid-column: 1 / -1;
    }
}

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

    .gq-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .gq-stat-item:last-child { border-bottom: none; }

    .gq-framework-grid,
    .gq-pathway-steps,
    .gq-programs-grid {
        grid-template-columns: 1fr;
    }

    .gq-programs-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .gq-hero__actions-grid .gq-btn:last-child {
        grid-column: auto;
    }

    .gq-hero__cta-primary,
    .gq-hero__actions-grid .gq-btn {
        width: 100%;
    }

    .gq-hero__actions-primary {
        flex-direction: column;
        width: 100%;
    }

    .gq-hero .gq-btn {
        width: 100%;
    }

    .gq-hero {
        min-height: auto;
    }

    .gq-hero__content {
        padding: 2.5rem 0 3rem;
    }
}

/* Home — client content sections */

.gq-hero__eyebrow {
    display: block;
    margin: 0 0 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gq-gold);
    line-height: 1.4;
}

.gq-home-welcome {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: #fff;
}

.gq-home-welcome__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}

.gq-home-welcome h2 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    color: var(--gq-navy);
}

.gq-home-welcome p {
    color: var(--gq-text-muted);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.gq-home-welcome__card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--gq-gold);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem;
}

.gq-home-welcome__card strong {
    display: block;
    color: var(--gq-navy);
    margin-bottom: 0.5rem;
}

.gq-home-welcome__card p {
    margin: 0;
    font-size: 0.875rem;
}

.gq-home-why {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: var(--gq-grey-bg);
}

.gq-home-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 900px;
    margin-inline: auto;
}

.gq-home-checklist li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--gq-navy);
    line-height: 1.5;
}

.gq-home-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gq-gold);
    font-weight: 700;
}

.gq-home-services {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: #fff;
}

.gq-home-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gq-home-service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gq-navy);
    line-height: 1.45;
}

.gq-home-services__link,
.gq-home-process__link {
    text-align: center;
    margin-top: 1.5rem;
}

.gq-home-process {
    padding: clamp(3rem, 5vw, 4rem) 0;
    background: var(--gq-grey-bg);
}

.gq-home-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.gq-home-process__steps li {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--gq-text-muted);
    line-height: 1.5;
}

.gq-home-process__steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--gq-navy);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.gq-home-verify {
    padding: 2.5rem 0;
    background: var(--gq-navy);
    color: #fff;
}

.gq-home-verify__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gq-home-verify h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.gq-home-verify p {
    margin: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
}

.gq-programs-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
}

.gq-programs-grid--compact .gq-program-card__body {
    min-height: 140px;
}

@media (max-width: 1024px) {
    .gq-home-welcome__grid { grid-template-columns: 1fr; }
    .gq-home-checklist { grid-template-columns: 1fr; }
    .gq-home-services__grid { grid-template-columns: repeat(2, 1fr); }
    .gq-home-process__steps { grid-template-columns: repeat(2, 1fr); }
    .gq-programs-grid--compact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .gq-home-services__grid,
    .gq-home-process__steps,
    .gq-programs-grid--compact { grid-template-columns: 1fr; }
    .gq-home-verify__inner { flex-direction: column; align-items: flex-start; }
}
