/* ==========================================================
LITTLE HERO — SUPPORT CENTER
File: assets/css/support-center.css
========================================================== */


/* ==========================================================
PAGE
========================================================== */

body.support-center-page {
    background:
        linear-gradient(180deg,
            #fffaf1 0%,
            #ffffff 42%,
            #f7fbff 100%);

    color: #183153;
}


/* ==========================================================
HERO
========================================================== */

.support-center-hero {
    padding: 7rem 1.5rem 3.5rem;
}

.support-center-hero__content {
    max-width: 820px;
    margin: 0 auto;

    text-align: center;
}

.support-center-hero__eyebrow {
    display: block;
    width: 100%;

    margin: 0 auto 0.85rem;

    text-align: center;

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: #3e92cc;
}

.support-center-hero__title {
    margin-bottom: 1.25rem;

    font-size:
        clamp(2.6rem,
            6vw,
            4.8rem);

    line-height: 1.02;
    font-weight: 850;

    color: #183153;
}

.support-center-hero__lead {
    max-width: 700px;

    margin: 0 auto;

    font-size: 1.16rem;
    line-height: 1.8;

    color: #5f6f82;
}


/* ==========================================================
FORM SECTION
========================================================== */

.support-center-form-section {
    padding: 1rem 1.5rem 6rem;
}

.support-center-card {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding: 3.25rem;

    background: #ffffff;

    border:
        1px solid rgba(24, 49, 83, 0.09);

    border-radius: 30px;

    box-shadow:
        0 24px 70px rgba(24, 49, 83, 0.11);
}


/* ==========================================================
FORM HEADER
========================================================== */

.support-center-card__header {
    margin-bottom: 2rem;

    text-align: center;
}

.support-center-card__eyebrow {
    margin-bottom: 0.7rem;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #f0a53b;
}

.support-center-card__header h2 {
    margin-bottom: 0.9rem;

    font-size:
        clamp(2rem,
            4vw,
            3rem);

    line-height: 1.1;
    font-weight: 800;

    color: #183153;
}

.support-center-card__header p {
    max-width: 650px;

    margin: 0 auto;

    line-height: 1.75;

    color: #667789;
}


/* ==========================================================
SECURITY NOTICE
========================================================== */

.support-center-security {
    display: flex;
    gap: 1rem;

    margin-bottom: 2.5rem;

    padding: 1.25rem 1.35rem;

    background:
        rgba(62, 146, 204, 0.08);

    border:
        1px solid rgba(62, 146, 204, 0.14);

    border-radius: 18px;
}

.support-center-security__icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    background:
        rgba(62, 146, 204, 0.13);

    color: #2f7fb7;

    font-size: 1.05rem;
}

.support-center-security strong {
    display: block;

    margin-bottom: 0.3rem;

    color: #183153;
}

.support-center-security p {
    margin: 0;

    line-height: 1.65;

    color: #617285;
}


/* ==========================================================
FORM
========================================================== */

.support-center-form {
    display: grid;
    gap: 1.6rem;
}

.support-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.support-form-field label,
.support-form-field legend {
    margin: 0;

    font-size: 0.95rem;
    font-weight: 750;

    color: #243c5a;
}

.support-form-field legend {
    float: none;

    width: auto;
}

.support-form-field input,
.support-form-field select,
.support-form-field textarea {
    width: 100%;

    padding: 0.95rem 1rem;

    background: #ffffff;

    border:
        1px solid rgba(24, 49, 83, 0.16);

    border-radius: 14px;

    color: #183153;

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.support-form-field input:focus,
.support-form-field select:focus,
.support-form-field textarea:focus {
    border-color: #3e92cc;

    box-shadow:
        0 0 0 4px rgba(62, 146, 204, 0.12);

    background: #ffffff;
}

.support-form-field textarea {
    min-height: 160px;

    resize: vertical;
}

.support-form-help {
    margin: 0;

    font-size: 0.84rem;
    line-height: 1.5;

    color: #7b8998;
}

.support-form-error {
    min-height: 1.1rem;

    margin: 0;

    font-size: 0.82rem;
    line-height: 1.4;

    color: #b33434;
}


/* ==========================================================
FORM GRID
========================================================== */

.support-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.25rem;
}


/* ==========================================================
AMOUNT FIELD
========================================================== */

.support-form-amount {
    display: flex;
    align-items: stretch;

    border:
        1px solid rgba(24, 49, 83, 0.16);

    border-radius: 14px;

    overflow: hidden;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.support-form-amount:focus-within {
    border-color: #3e92cc;

    box-shadow:
        0 0 0 4px rgba(62, 146, 204, 0.12);
}

.support-form-amount__symbol {
    min-width: 52px;

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

    background:
        rgba(62, 146, 204, 0.08);

    border-right:
        1px solid rgba(24, 49, 83, 0.1);

    font-weight: 800;

    color: #183153;
}

.support-form-amount input {
    border: 0;

    border-radius: 0;

    box-shadow: none;
}

.support-form-amount input:focus {
    box-shadow: none;
}

/* ==========================================================
OPTIONAL FIELD LABEL
========================================================== */

.support-form-optional {
    margin-left: 0.25rem;

    font-size: 0.8rem;
    font-weight: 600;

    color: #7b8998;
}

/* ==========================================================
MESSAGE META
========================================================== */

.support-form-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    font-size: 0.8rem;
    line-height: 1.45;

    color: #83909e;
}


/* ==========================================================
SUBMIT
========================================================== */

.support-form-submit {
    padding-top: 0.5rem;

    text-align: center;
}

.support-form-submit__button {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;

    padding: 0.9rem 1.8rem;

    border: 0;
    border-radius: 999px;

    background: #183153;

    color: #ffffff;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.support-form-submit__button:hover {
    transform: translateY(-2px);

    background: #24476f;

    box-shadow:
        0 12px 30px rgba(24, 49, 83, 0.18);
}

.support-form-submit__button:disabled {
    cursor: wait;

    opacity: 0.72;

    transform: none;

    box-shadow: none;
}

.support-form-submit__note {
    max-width: 580px;

    margin:
        1rem auto 0;

    font-size: 0.85rem;
    line-height: 1.6;

    color: #7a8795;
}


/* ==========================================================
FORM STATUS
========================================================== */

.support-form-status {
    padding: 1rem 1.1rem;

    border-radius: 14px;

    text-align: center;

    font-weight: 650;
}

.support-form-status.is-success {
    background:
        rgba(64, 160, 111, 0.1);

    border:
        1px solid rgba(64, 160, 111, 0.2);

    color: #246d48;
}

.support-form-status.is-error {
    background:
        rgba(190, 62, 62, 0.08);

    border:
        1px solid rgba(190, 62, 62, 0.18);

    color: #9a2e2e;
}


/* ==========================================================
WHAT HAPPENS NEXT
========================================================== */

.support-center-next {
    padding: 1rem 1.5rem 7rem;
}

.support-center-next__content {
    max-width: 780px;

    margin: 0 auto;

    padding: 2.75rem;

    text-align: center;

    background:
        rgba(255, 250, 241, 0.75);

    border:
        1px solid rgba(240, 165, 59, 0.14);

    border-radius: 26px;
}

.support-center-next__eyebrow {
    margin-bottom: 0.7rem;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #f0a53b;
}

.support-center-next h2 {
    max-width: 620px;

    margin:
        0 auto 1.15rem;

    font-size:
        clamp(1.8rem,
            4vw,
            2.8rem);

    line-height: 1.12;
    font-weight: 800;

    color: #183153;
}

.support-center-next p {
    max-width: 650px;

    margin:
        0.75rem auto 0;

    line-height: 1.75;

    color: #667789;
}


/* ==========================================================
MOBILE
========================================================== */

@media (max-width: 767px) {

    .support-center-hero {
        padding:
            5rem 1rem 2.75rem;
    }

    .support-center-form-section {
        padding:
            0.5rem 1rem 4.5rem;
    }

    .support-center-card {
        padding:
            2rem 1.25rem;

        border-radius: 22px;
    }

    .support-center-security {
        align-items: flex-start;

        padding: 1rem;
    }

    .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-form-meta {
        flex-direction: column;

        gap: 0.35rem;
    }

    .support-form-submit__button {
        width: 100%;
    }

    .support-center-next {
        padding:
            0 1rem 5rem;
    }

    .support-center-next__content {
        padding:
            2rem 1.25rem;

        border-radius: 22px;
    }
}


/* ==========================================================
SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .support-center-hero__title {
        font-size: 2.35rem;
    }

    .support-center-security {
        flex-direction: column;
    }

}