/* =========================================================
   CONTACT
========================================================= */

.contact-page {
    background: #fff;
    color: #111;
}


/* =========================================================
   COMMON
========================================================= */

.contact-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #ff2b82;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    padding: 130px 0 110px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.contact-hero h1 {
    margin: 0;

    font-size: 54px;
    line-height: 1.18;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.contact-hero p {
    margin: 24px 0 0;

    font-size: 17px;
    line-height: 1.8;
    color: #888;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.contact-section {
    padding: 120px 0;
}

.contact-section-head {
    margin-bottom: 55px;
}

.contact-section-head h2 {
    margin: 0;

    font-size: 40px;
    line-height: 1.25;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.contact-section-head p {
    margin: 15px 0 0;

    font-size: 15px;
    line-height: 1.7;
    color: #888;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrap {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.contact-form-wrap .contact-section-head {
    text-align: left;
}


.contact-field {
    position: relative;
    margin-bottom: 30px;
}

.contact-field label {
    display: block;
    margin-bottom: 11px;

    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.contact-field label em {
    margin-left: 3px;

    font-style: normal;
    color: #ff2b82;
}


.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;

    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;

    font-family: inherit;
    font-size: 15px;
    color: #111;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.contact-field input,
.contact-field select {
    height: 56px;
    padding: 0 17px;
}


.contact-field textarea {
    min-height: 220px;
    padding: 17px;

    line-height: 1.7;
    resize: vertical;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #aaa;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}


.contact-field.active label {
    color: #ff2b82;
}


/* =========================================================
   TEXT COUNT
========================================================= */

.contact-text-count {
    margin-top: 8px;

    text-align: right;

    font-size: 12px;
    color: #aaa;
}

.contact-text-count span {
    color: #111;
    font-weight: 600;
}


/* =========================================================
   HONEYPOT
========================================================= */

.contact-hp {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   CAPTCHA
========================================================= */

.contact-captcha {
    min-height: 0;
    margin: 10px 0 25px;
}


/* =========================================================
   PRIVACY
========================================================= */

.contact-agree {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;
    padding: 20px;

    background: #fafafa;
    border: 1px solid #eee;
}

.contact-agree label {
    display: flex;
    align-items: center;
    gap: 9px;

    cursor: pointer;

    font-size: 13px;
    color: #555;
}

.contact-agree input {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #ff2b82;
}

.contact-agree a {
    margin-left: auto;

    font-size: 12px;
    color: #888;
    text-decoration: underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 62px;

    margin-top: 25px;

    border: 0;
    border-radius: 0;

    background: #ff2b82;
    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        opacity .2s ease;
}

.contact-submit:hover {
    background: #111;
}

.contact-submit:active {
    transform: translateY(1px);
}

.contact-submit:disabled {
    cursor: default;
    opacity: .65;
}


.contact-submit-loading {
    display: none;
}

.contact-submit.loading .contact-submit-text {
    display: none;
}

.contact-submit.loading .contact-submit-loading {
    display: block;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.contact-faq-section {
    padding: 120px 0 150px;

    background: #fafafa;
    border-top: 1px solid #eee;
}


.contact-faq-section .contact-inner {
    max-width: 1080px;
}


/* =========================================================
   FAQ LIST
========================================================= */

.contact-faq-list {
    width: 100%;

    border-top: 1px solid #222;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.contact-faq-item {
    border-bottom: 1px solid #ddd;
}


/* =========================================================
   FAQ QUESTION
========================================================= */

.contact-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 82px;

    padding: 0 5px;

    border: 0;
    background: transparent;

    font-family: inherit;
    text-align: left;

    cursor: pointer;
}


.contact-faq-question > span {
    display: flex;
    align-items: center;

    min-width: 0;

    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: #111;
}


/* Q */

.contact-faq-question small {
    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-right: 16px;

    border: 1px solid #222;
    border-radius: 50%;

    background: #fff;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    color: #111;
}


/* + */

.contact-faq-question i {
    flex: 0 0 auto;

    width: 20px;

    margin-left: 20px;

    font-size: 15px;
    color: #777;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* =========================================================
   FAQ ANSWER
   기본적으로 완전히 닫힘
========================================================= */

.contact-faq-answer {
    display: block;

    max-height: 0;

    overflow: hidden;

    padding: 0;

    opacity: 0;

    transition:
        max-height .4s ease,
        opacity .25s ease,
        padding .4s ease;
}


/* =========================================================
   FAQ OPEN
========================================================= */

.contact-faq-item.open .contact-faq-answer {
    max-height: 500px;

    padding: 0 5px 30px;

    opacity: 1;
}


.contact-faq-item.open
.contact-faq-question i {
    transform: rotate(45deg);
    color: #ff2b82;
}


/* =========================================================
   FAQ ANSWER CONTENT
========================================================= */

.contact-faq-answer > div {
    display: flex;
    align-items: flex-start;

    padding-left: 0;
}


.contact-faq-a {
    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-right: 16px;

    border-radius: 50%;

    background: #f0f0f0;

    font-size: 13px;
    font-weight: 800;
    color: #888;
}


.contact-faq-answer p {
    flex: 1;

    margin: 5px 0 0;

    font-size: 14px;
    line-height: 1.8;
    color: #888;
}


/* =========================================================
   FAQ EMPTY
========================================================= */

.contact-faq-empty {
    padding: 70px 0;

    border-top: 1px solid #222;
    border-bottom: 1px solid #ddd;

    text-align: center;

    font-size: 14px;
    color: #999;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .contact-inner {
        width: calc(100% - 40px);
    }


    /* HERO */

    .contact-hero {
        padding: 90px 0 80px;
    }

    .contact-hero h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    .contact-hero p {
        font-size: 15px;
    }


    /* SECTION */

    .contact-section {
        padding: 80px 0;
    }

    .contact-faq-section {
        padding: 80px 0 100px;
    }


    .contact-section-head {
        margin-bottom: 40px;
    }

    .contact-section-head h2 {
        font-size: 32px;
        letter-spacing: -1.3px;
    }


    /* FORM */

    .contact-field {
        margin-bottom: 25px;
    }

    .contact-field input,
    .contact-field select {
        height: 52px;
    }

    .contact-field textarea {
        min-height: 180px;
    }


    /* FAQ */

    .contact-faq-question {
        min-height: 72px;
        padding: 0;
    }

    .contact-faq-question > span {
        font-size: 15px;
    }

    .contact-faq-question small {
        flex-basis: 32px;

        width: 32px;
        height: 32px;

        margin-right: 12px;

        font-size: 12px;
    }

    .contact-faq-question i {
        margin-left: 12px;
    }


    .contact-faq-item.open
    .contact-faq-answer {
        padding: 0 0 25px;
    }


    .contact-faq-a {
        flex-basis: 32px;

        width: 32px;
        height: 32px;

        margin-right: 12px;

        font-size: 12px;
    }

    .contact-faq-answer p {
        margin-top: 4px;

        font-size: 13px;
        line-height: 1.75;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-inner {
        width: calc(100% - 32px);
    }


    .contact-hero {
        padding: 70px 0 65px;
    }

    .contact-hero h1 {
        font-size: 32px;
        letter-spacing: -1.5px;
    }

    .contact-hero p {
        margin-top: 18px;

        font-size: 14px;
    }


    .contact-eyebrow {
        margin-bottom: 14px;

        font-size: 11px;
        letter-spacing: 2px;
    }


    .contact-section,
    .contact-faq-section {
        padding: 65px 0 80px;
    }


    .contact-section-head h2 {
        font-size: 28px;
    }

    .contact-section-head p {
        font-size: 13px;
    }


    /* FAQ */

    .contact-faq-question {
        min-height: 68px;
    }

    .contact-faq-question > span {
        font-size: 14px;
        line-height: 1.45;
    }

    .contact-faq-question small {
        flex-basis: 30px;

        width: 30px;
        height: 30px;

        margin-right: 10px;
    }

    .contact-faq-question i {
        font-size: 13px;
    }


    .contact-faq-answer > div {
        align-items: flex-start;
    }

    .contact-faq-a {
        flex-basis: 30px;

        width: 30px;
        height: 30px;

        margin-right: 10px;
    }


    .contact-agree {
        align-items: flex-start;
        flex-wrap: wrap;

        padding: 16px;
    }

    .contact-agree a {
        margin-left: 26px;
    }


    .contact-submit {
        height: 58px;
    }

}