/* =========================================================
   REUSABLE SECTION HEADING
   ========================================================= */

.sz-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;

    margin-bottom: 32px;
}

.sz-section-heading__content {
    max-width: 760px;
}

.sz-section-heading__eyebrow {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    margin-bottom: 12px;
    padding: 0 11px;

    border: 1px solid rgba(var(--sz-primary-rgb, 255, 107, 0), 0.16);
    border-radius: 999px;

    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);

    font-size: 0.62rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.sz-section-heading__title {
    margin: 0;

    color: var(--sz-heading, #17191d);

    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.sz-section-heading__description {
    max-width: 680px;

    margin: 14px 0 0;

    color: var(--sz-muted, #68707d);

    font-size: 0.9rem;
    line-height: 1.72;
}

.sz-section-heading__action-wrap {
    flex: 0 0 auto;
}

.sz-section-heading__action {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 16px;

    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 12px;

    background: #ffffff;
    color: var(--sz-heading, #17191d);

    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(18, 24, 40, 0.05);

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        gap 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.sz-section-heading__action:hover,
.sz-section-heading__action:focus-visible {
    gap: 12px;

    border-color: var(--sz-primary, #ff6b00);

    background: var(--sz-primary, #ff6b00);
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(var(--sz-primary-rgb, 255, 107, 0), 0.2);
}

/* Center aligned variation */

.sz-section-heading--center {
    align-items: center;
    flex-direction: column;

    text-align: center;
}

.sz-section-heading--center .sz-section-heading__content {
    max-width: 820px;
}

.sz-section-heading--center .sz-section-heading__description {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .sz-section-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        margin-bottom: 26px;
    }

    .sz-section-heading--center {
        align-items: center;
    }

    .sz-section-heading__title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .sz-section-heading__description {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-section-heading__action {
        transition: none !important;
    }
}
