/*
|--------------------------------------------------------------------------
| MKGO - Contact Page
|--------------------------------------------------------------------------
|
| File:
| /assets/css/pages/contact.css
|
| Used by:
|
| /pages/contact.php
|
*/


/*
|--------------------------------------------------------------------------
| Main
|--------------------------------------------------------------------------
*/

.contact-main {
    width: 100%;

    overflow: hidden;

    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.contact-hero {
    position: relative;

    padding:
        84px
        0
        78px;

    overflow: hidden;

    border-bottom:
        1px solid
        #e2e8f0;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}


.contact-hero::after {
    content: "";

    position: absolute;

    top: -180px;
    right: -150px;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(15, 23, 42, 0.055) 0%,
            rgba(15, 23, 42, 0) 70%
        );

    pointer-events: none;
}


.contact-hero
.site-container {
    position: relative;

    z-index: 1;
}


.contact-hero
.page-hero-content {
    width: 100%;
    max-width: 790px;
}


.contact-hero h1 {
    max-width: 760px;

    margin: 0;

    color: #0f172a;

    font-size:
        clamp(
            2.7rem,
            6vw,
            5rem
        );

    font-weight: 850;

    line-height: 1.02;

    letter-spacing: -0.055em;
}


.contact-hero
.page-hero-description {
    max-width: 650px;

    margin:
        22px
        0
        0;

    color: #64748b;

    font-size: 1.05rem;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Topic Section
|--------------------------------------------------------------------------
*/

.contact-topic-section {
    padding:
        28px
        0
        0;

    background: #ffffff;
}


.contact-topic-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    padding:
        26px
        28px;

    border:
        1px solid
        #cbd5e1;

    border-radius: 16px;

    background: #f8fafc;

    scroll-margin-top: 110px;
}


.contact-topic-content {
    max-width: 760px;
}


.contact-topic-content
.page-eyebrow {
    margin-bottom: 7px;
}


.contact-topic-content h2 {
    margin:
        0
        0
        8px;

    color: #0f172a;

    font-size: 1.25rem;
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.02em;
}


.contact-topic-content p {
    margin: 0;

    color: #64748b;

    font-size: 0.9rem;

    line-height: 1.65;
}


.contact-topic-actions {
    display: flex;
    align-items: center;

    flex:
        0
        0
        auto;

    gap: 10px;
}


/*
|--------------------------------------------------------------------------
| Content Sections
|--------------------------------------------------------------------------
*/

.contact-main
.content-section {
    position: relative;

    padding:
        80px
        0;

    background: #ffffff;
}


.contact-main
.content-section-alt {
    background: #f8fafc;
}


/*
|--------------------------------------------------------------------------
| Section Heading
|--------------------------------------------------------------------------
*/

.contact-main
.section-heading {
    width: 100%;
    max-width: 760px;

    margin-bottom: 40px;
}


.contact-main
.section-heading h2 {
    margin:
        0
        0
        15px;

    color: #0f172a;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.contact-main
.section-heading > p:not(.page-eyebrow) {
    max-width: 650px;

    margin: 0;

    color: #64748b;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Content Grid
|--------------------------------------------------------------------------
*/

.contact-main
.content-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}


/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.contact-main
.content-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 28px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.035);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-main
.content-card:hover {
    transform: translateY(-3px);

    border-color: #cbd5e1;

    box-shadow:
        0 15px 38px
        rgba(15, 23, 42, 0.07);
}


.contact-main
.content-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-width: 40px;
    height: 30px;

    margin-bottom: 21px;

    padding:
        0
        9px;

    border-radius: 8px;

    background: #f1f5f9;

    color: #64748b;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.contact-main
.content-card h3 {
    margin:
        0
        0
        10px;

    color: #0f172a;

    font-size: 1.08rem;
    font-weight: 800;

    line-height: 1.35;
}


.contact-main
.content-card p {
    margin:
        0
        0
        18px;

    color: #64748b;

    font-size: 0.9rem;

    line-height: 1.7;
}


.contact-main
.content-card
.site-text-link {
    margin-top: auto;
}


/*
|--------------------------------------------------------------------------
| Requested Support Card
|--------------------------------------------------------------------------
*/

.contact-support-card.is-requested-topic {
    border-color: #0f172a;

    box-shadow:
        0 14px 40px
        rgba(15, 23, 42, 0.09);
}


/*
|--------------------------------------------------------------------------
| Split Layout
|--------------------------------------------------------------------------
*/

.contact-main
.content-split {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.75fr);

    align-items: start;

    gap: 68px;
}


.contact-main
.content-split-main h2 {
    margin:
        0
        0
        18px;

    color: #0f172a;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.contact-main
.content-split-main > p:not(.page-eyebrow) {
    max-width: 660px;

    margin:
        0
        0
        17px;

    color: #64748b;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Highlight
|--------------------------------------------------------------------------
*/

.contact-main
.content-highlight {
    position: relative;

    padding: 29px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    background: #ffffff;
}


.contact-main
.content-highlight::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    border-radius:
        18px
        0
        0
        18px;

    background: #0f172a;
}


.contact-main
.content-highlight h3 {
    margin:
        0
        0
        14px;

    color: #0f172a;

    font-size: 1.25rem;
    font-weight: 800;

    line-height: 1.35;
}


.contact-main
.content-highlight p {
    margin:
        0
        0
        14px;

    color: #64748b;

    line-height: 1.7;
}


.contact-main
.content-highlight p:last-child {
    margin-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Account Support Actions
|--------------------------------------------------------------------------
*/

.contact-account-split {
    align-items: center !important;
}


.contact-main
.page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 12px;
}


/*
|--------------------------------------------------------------------------
| Safety Notice
|--------------------------------------------------------------------------
*/

.contact-main
.content-notice {
    position: relative;

    max-width: 920px;

    padding:
        32px
        34px;

    border:
        1px solid
        #e2e8f0;

    border-left:
        5px solid
        #0f172a;

    border-radius:
        0
        18px
        18px
        0;

    background: #f8fafc;
}


.contact-main
.content-notice h2 {
    margin:
        0
        0
        12px;

    color: #0f172a;

    font-size:
        clamp(
            1.55rem,
            3vw,
            2.15rem
        );

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.03em;
}


.contact-main
.content-notice p:not(.page-eyebrow) {
    max-width: 760px;

    margin:
        0
        0
        17px;

    color: #64748b;

    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| CTA
|--------------------------------------------------------------------------
*/

.contact-main
.page-cta {
    padding:
        76px
        0;

    background: #0f172a;

    color: #ffffff;
}


.contact-main
.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 48px;
}


.contact-main
.page-cta
.page-eyebrow {
    color: #94a3b8;
}


.contact-main
.page-cta h2 {
    margin:
        8px
        0
        10px;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -0.04em;
}


.contact-main
.page-cta p {
    max-width: 620px;

    margin: 0;

    color: #cbd5e1;

    line-height: 1.7;
}


.contact-main
.page-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    flex:
        0
        0
        auto;

    gap: 12px;
}


.contact-main
.page-cta
.site-primary-button {
    border-color: #ffffff;

    background: #ffffff;

    color: #0f172a;
}


.contact-main
.page-cta
.site-secondary-button {
    border-color: #475569;

    background: transparent;

    color: #ffffff;
}


.contact-main
.page-cta
.site-secondary-button:hover {
    border-color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Topic Highlight
|--------------------------------------------------------------------------
*/

.contact-topic-card.is-topic-highlighted {
    animation:
        contact-topic-highlight
        1.1s ease;
}


@keyframes contact-topic-highlight {

    0% {
        box-shadow:
            0 0 0 0
            rgba(15, 23, 42, 0.16);
    }

    50% {
        box-shadow:
            0 0 0 7px
            rgba(15, 23, 42, 0.06);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(15, 23, 42, 0);
    }

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 992px) {

    .contact-hero {
        padding:
            68px
            0
            62px;
    }


    .contact-main
    .content-section {
        padding:
            66px
            0;
    }


    .contact-main
    .content-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .contact-main
    .content-grid
    .content-card:last-child:nth-child(odd) {
        grid-column:
            1
            / -1;
    }


    .contact-main
    .content-split {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .contact-main
    .page-actions {
        justify-content: flex-start;
    }


    .contact-main
    .page-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .contact-hero {
        padding:
            50px
            0
            46px;
    }


    .contact-hero h1 {
        font-size:
            clamp(
                2.3rem,
                12vw,
                3.3rem
            );
    }


    .contact-hero
    .page-hero-description {
        font-size: 0.95rem;
    }


    .contact-topic-section {
        padding-top: 20px;
    }


    .contact-topic-card {
        align-items: stretch;
        flex-direction: column;

        gap: 20px;

        padding:
            22px
            20px;
    }


    .contact-topic-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .contact-topic-actions
    .site-primary-button,

    .contact-topic-actions
    .site-secondary-button {
        width: 100%;
    }


    .contact-main
    .content-section {
        padding:
            52px
            0;
    }


    .contact-main
    .section-heading {
        margin-bottom: 30px;
    }


    .contact-main
    .section-heading h2,

    .contact-main
    .content-split-main h2 {
        font-size: 1.85rem;
    }


    .contact-main
    .content-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .contact-main
    .content-grid
    .content-card:last-child:nth-child(odd) {
        grid-column: auto;
    }


    .contact-main
    .content-card {
        padding: 23px;
    }


    .contact-main
    .content-highlight {
        padding:
            25px
            22px;
    }


    .contact-main
    .page-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .contact-main
    .page-actions
    .site-primary-button,

    .contact-main
    .page-actions
    .site-secondary-button {
        width: 100%;
    }


    .contact-main
    .content-notice {
        padding:
            26px
            22px;
    }


    .contact-main
    .page-cta {
        padding:
            54px
            0;
    }


    .contact-main
    .page-cta-actions {
        align-items: stretch;
        flex-direction: column;

        width: 100%;
    }


    .contact-main
    .page-cta-actions
    .site-primary-button,

    .contact-main
    .page-cta-actions
    .site-secondary-button {
        width: 100%;
    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .contact-main
    .content-card {
        padding:
            21px
            18px;
    }


    .contact-main
    .content-highlight {
        padding:
            23px
            19px;
    }


    .contact-main
    .content-notice {
        padding:
            23px
            19px;
    }

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .contact-main
    .content-card,

    .contact-topic-card {
        transition: none;
    }


    .contact-topic-card.is-topic-highlighted {
        animation: none;
    }

}