/* =============================================================================
   METHODOLOGY PAGE STYLES
   Target: B2B, Institutional Partners, NGOs
   Tone: High-tier competence, rigorous, scalable.
   Updated hero to align with About page visual language.
   ========================================================================== */

.methodology-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #F8F9FA;
    color: #4A5568;
}

/* ── Section Scaffolding ─────────────────────────────────────────────────── */

.methodology-page__section {
    position: relative;
    padding: 80px 24px;
}

@media (max-width: 639px) {
    .methodology-page__section {
        padding: 56px 16px;
    }
}

.methodology-page__section--alabaster {
    background-color: #FFFFFF;
}

.methodology-page__section--slate {
    background-color: #4A5568;
}

.methodology-page__section-header-center {
    text-align: center;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.methodology-page__section-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 1.75rem + 1vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #1A365D;
    margin: 0 0 16px 0;
}

.methodology-page__section-title--light {
    color: #F8F9FA;
}

.methodology-page__section-intro {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    color: #4A5568;
    line-height: 1.7;
    margin: 0;
}

.methodology-page__section-intro--light {
    color: #E2E8F0;
}

.methodology-page__body-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    color: #4A5568;
    line-height: 1.75;
    margin: 0 0 24px 0;
}

/* ── 1. Hero Section ─────────────────────────────────────────────────────── */

.methodology-page__hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(214, 158, 46, 0.18) 0%, rgba(214, 158, 46, 0) 38%),
        linear-gradient(135deg, #11243D 0%, #1A365D 56%, #214671 100%);
    padding: 112px 24px;
    text-align: center;
    border-bottom: 4px solid #D69E2E;
}

.methodology-page__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(248, 249, 250, 0.03) 0%, rgba(248, 249, 250, 0) 100%);
    pointer-events: none;
}

@media (max-width: 639px) {
    .methodology-page__hero {
        padding: 88px 16px;
    }
}

.methodology-page__hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.methodology-page__overline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    margin: 0 0 20px 0;
    border-radius: 999px;
    background-color: rgba(248, 249, 250, 0.1);
    border: 1px solid rgba(248, 249, 250, 0.18);
    color: #F6E05E;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.methodology-page__title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    color: #F8F9FA;
    margin: 0 0 24px 0;
}

.methodology-page__subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
    line-height: 1.75;
    color: #E2E8F0;
    margin: 0 auto;
    max-width: 760px;
}

.methodology-page__hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.methodology-page__btn-outline-light,
.methodology-page__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.methodology-page__btn-outline-light {
    background-color: transparent;
    color: #F8F9FA;
    border: 1px solid rgba(248, 249, 250, 0.34);
    cursor: pointer;
    gap:0.5rem;
}

.methodology-page__btn-outline-light:hover {
    background-color: rgba(248, 249, 250, 0.08);
    border-color: rgba(248, 249, 250, 0.56);
    transform: translateY(-2px);
}

.methodology-page__btn-outline-light:focus-visible,
.methodology-page__btn-primary:focus-visible {
    outline: 2px solid #F6E05E;
    outline-offset: 3px;
}

.methodology-page__btn-primary {
    background-color: #D69E2E;
    color: #1A365D;
    box-shadow: 0 10px 24px rgba(214, 158, 46, 0.24);
}

.methodology-page__btn-primary:hover {
    background-color: #E0A93A;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(214, 158, 46, 0.28);
}

/* ── 2. Hybrid Model Cards ──────────────────────────────────────────────── */

.methodology-page__card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    height: 100%;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.methodology-page__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border-color: rgba(214, 158, 46, 0.45);
}

.methodology-page__card-icon-wrap {
    width: 56px;
    height: 56px;
    background-color: rgba(26, 54, 93, 0.05);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.methodology-page__card-icon {
    font-size: 24px;
    color: #1A365D;
}

.methodology-page__card-title {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1A365D;
    margin: 0 0 16px 0;
}

.methodology-page__card-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #4A5568;
    line-height: 1.7;
    margin: 0;
}

/* ── 3. Psychometric Section ────────────────────────────────────────────── */

.methodology-page__text-block {
    padding-right: 40px;
}

@media (max-width: 1023px) {
    .methodology-page__text-block {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .methodology-page__card {
        padding: 28px 24px;
    }
}

.methodology-page__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.methodology-page__list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #4A5568;
    line-height: 1.6;
}

.methodology-page__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #C05621;
    font-weight: bold;
}

.methodology-page__chart-placeholder {
    background-color: #F8F9FA;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #A0AEC0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ── 4. Partner Section ─────────────────────────────────────────────────── */

.methodology-page__partner-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ── Responsive tuning ──────────────────────────────────────────────────── */

@media (max-width: 639px) {
    .methodology-page__section-title {
        font-size: 28px;
    }

    .methodology-page__section-intro,
    .methodology-page__body-text {
        font-size: 16px;
    }

    .methodology-page__card-title {
        font-size: 20px;
    }

    .methodology-page__title {
        line-height: 1.16;
    }

    .methodology-page__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .methodology-page__btn-outline-light,
    .methodology-page__btn-primary {
        width: 100%;
    }

    .methodology-page__chart-placeholder {
        height: 260px;
        font-size: 60px;
    }
}

/* ── Motion accessibility ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .methodology-page__btn-outline-light,
    .methodology-page__btn-primary,
    .methodology-page__card {
        transition: none;
    }

    .methodology-page__btn-outline-light:hover,
    .methodology-page__btn-primary:hover,
    .methodology-page__card:hover {
        transform: none;
    }
}