/* ==================================================
   CONTACT PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.contact-hero {
    width: 100%;

    background:
        linear-gradient(
            135deg,
            #101010 0%,
            #171717 50%,
            #0c0c0c 100%
        );

    color: #ffffff;

    border-bottom: 1px solid #242424;
}


.contact-hero-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 105px 50px 110px;
}


.contact-hero-content {
    width: 100%;
    max-width: 820px;
}


.contact-hero-label {
    display: inline-block;

    margin-bottom: 24px;

    color: #858585;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;
}


.contact-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(50px, 6vw, 78px);
    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -3px;
}


.contact-hero h1 span {
    display: block;

    color: #818181;
}


.contact-hero p {
    width: 100%;
    max-width: 650px;

    margin-top: 30px;

    color: #a8a8a8;

    font-size: 16px;

    line-height: 1.8;
}



/* ==================================================
   MAIN CONTACT AREA
================================================== */

.contact-main {
    width: 100%;

    background-color: #f5f5f3;

    color: #111111;
}


.contact-main-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 110px 50px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 90px;

    align-items: start;
}



/* ==================================================
   LEFT SIDE
================================================== */

.contact-info {
    width: 100%;
    min-width: 0;
}


.contact-info-header {
    width: 100%;
    max-width: 540px;

    margin-bottom: 40px;
}


.contact-section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #858585;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
}


.contact-info-header h2 {
    margin: 0;

    color: #111111;

    font-size: clamp(34px, 3.5vw, 48px);
    font-weight: 600;

    line-height: 1.13;

    letter-spacing: -2px;
}


.contact-info-header h2 span {
    display: block;

    color: #777777;
}


.contact-info-header > p {
    width: 100%;
    max-width: 500px;

    margin-top: 20px;

    color: #686868;

    font-size: 14px;

    line-height: 1.8;
}



/* ==================================================
   CONTACT METHODS
================================================== */

.contact-methods {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.contact-method-card {
    width: 100%;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        25px;

    gap: 18px;

    align-items: start;

    padding: 22px;

    background-color: #ffffff;

    border: 1px solid rgba(17, 17, 17, 0.07);

    border-radius: 10px;

    color: #111111;

    text-decoration: none;

    transition:
        transform 0.1s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-method-card:hover,
.contact-method-card.reveal-active:hover {
    transform: scale(1.015);

    border-color: rgba(17, 17, 17, 0.13);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.05);
}


.contact-method-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: #eeeeeb;

    border-radius: 8px;

    color: #222222;
}


.contact-method-icon svg {
    width: 21px;
    height: 21px;

    stroke-width: 1.7;
}


.contact-method-content {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.contact-method-content > span {
    margin-bottom: 6px;

    color: #999999;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1.7px;
}


.contact-method-content strong {
    color: #111111;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: anywhere;
}


.contact-method-content p {
    width: 100%;
    max-width: 370px;

    margin-top: 6px;

    color: #797979;

    font-size: 12px;

    line-height: 1.65;
}


.contact-method-arrow {
    align-self: center;

    color: #777777;

    font-size: 18px;

    transition: transform 0.2s ease;
}


.contact-method-card:hover .contact-method-arrow {
    transform: translateX(4px);
}



/* ==================================================
   COMPANY BOX
================================================== */

.contact-company-box {
    width: 100%;

    display: flex;

    gap: 18px;

    margin-top: 28px;

    padding-top: 28px;

    border-top: 1px solid #ddddda;
}


.contact-company-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #d8d8d4;

    border-radius: 8px;

    color: #555555;
}


.contact-company-icon svg {
    width: 19px;
    height: 19px;

    stroke-width: 1.6;
}


.contact-company-box > div:last-child {
    min-width: 0;
}


.contact-company-box span {
    display: block;

    margin-bottom: 9px;

    color: #929292;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 1.6px;
}


.contact-company-box h3 {
    margin: 0 0 8px;

    color: #111111;

    font-size: 17px;
    font-weight: 600;
}


.contact-company-box p {
    margin-bottom: 5px;

    color: #717171;

    font-size: 12px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}



/* ==================================================
   FORM AREA
================================================== */

.contact-form-area {
    width: 100%;
    min-width: 0;

    padding: 42px;

    background-color: #ffffff;

    border: 1px solid rgba(17, 17, 17, 0.07);

    border-radius: 14px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.04);
}


.contact-form-header {
    width: 100%;

    margin-bottom: 35px;
}


.contact-form-header > span {
    display: inline-block;

    margin-bottom: 12px;

    color: #909090;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2px;
}


.contact-form-header h2 {
    margin: 0;

    color: #111111;

    font-size: 29px;
    font-weight: 600;

    letter-spacing: -1px;

    line-height: 1.2;
}


.contact-form-header p {
    margin-top: 11px;

    color: #777777;

    font-size: 13px;

    line-height: 1.7;
}



/* ==================================================
   FORM
================================================== */

.contact-form {
    width: 100%;
}


.contact-form-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.contact-field {
    width: 100%;
    min-width: 0;

    display: flex;

    flex-direction: column;

    margin-bottom: 20px;
}


.contact-field label {
    margin-bottom: 8px;

    color: #333333;

    font-size: 11px;
    font-weight: 600;
}


.contact-field label span {
    margin-left: 4px;

    color: #a0a0a0;

    font-size: 9px;
    font-weight: 500;
}


.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    border: 1px solid #dddddd;

    border-radius: 7px;

    background-color: #fafafa;

    color: #111111;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-field input,
.contact-field select {
    height: 48px;

    padding: 0 14px;
}


.contact-field select {
    cursor: pointer;
}


.contact-field textarea {
    min-height: 160px;

    padding: 14px;

    resize: none;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #aaaaaa;
}


.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: #c7c7c7;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    background-color: #ffffff;

    border-color: #999999;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.035);
}



/* ==================================================
   PRIVACY MESSAGE
================================================== */

.contact-form-privacy {
    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 2px 0 18px;

    padding: 14px;

    background-color: #f6f6f4;

    border: 1px solid #e8e8e5;

    border-radius: 8px;
}


.contact-form-privacy svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    margin-top: 1px;

    color: #555555;

    stroke-width: 1.7;
}


.contact-form-privacy p {
    margin: 0;

    color: #6f6f6f;

    font-size: 11px;

    line-height: 1.65;
}


.contact-form-privacy a {
    color: #111111;

    font-weight: 600;

    text-decoration: underline;

    text-underline-offset: 3px;
}



/* ==================================================
   SUBMIT BUTTON
================================================== */

.contact-submit {
    width: 100%;
    min-height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 22px;

    background-color: #111111;

    border: 1px solid #111111;

    border-radius: 7px;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.1s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.contact-submit span {
    color: inherit;

    font-size: inherit;
    font-weight: inherit;
}


.contact-submit svg {
    width: 18px;
    height: 18px;

    stroke-width: 1.8;
}


.contact-submit:hover {
    transform: translateY(-2px);

    background-color: #252525;

    border-color: #252525;
}


.contact-submit:active {
    transform: translateY(0);
}


.contact-submit:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;
}



/* ==================================================
   FORM NOTE
================================================== */

.contact-form-note {
    margin-top: 14px;

    color: #9a9a9a;

    font-size: 10px;

    line-height: 1.6;
}



/* ==================================================
   SUPPORT SECTION
================================================== */

.contact-support {
    width: 100%;

    background-color: #ffffff;

    color: #111111;

    border-top: 1px solid #ececea;
}


.contact-support-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 100px 50px 110px;
}



/* ==================================================
   SUPPORT HEADER
================================================== */

.contact-support-header {
    width: 100%;
    max-width: 680px;

    margin-bottom: 45px;
}


.contact-support-header > span {
    display: inline-block;

    margin-bottom: 14px;

    color: #929292;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2.5px;
}


.contact-support-header h2 {
    margin: 0;

    color: #111111;

    font-size: clamp(34px, 3.7vw, 48px);
    font-weight: 600;

    line-height: 1.13;

    letter-spacing: -2px;
}


.contact-support-header h2 strong {
    display: block;

    color: #777777;

    font-weight: 600;
}


.contact-support-header p {
    width: 100%;
    max-width: 600px;

    margin-top: 17px;

    color: #707070;

    font-size: 13px;

    line-height: 1.75;
}



/* ==================================================
   SUPPORT GRID
================================================== */

.contact-support-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}



/* ==================================================
   SUPPORT CARD
================================================== */

.contact-support-card {
    width: 100%;
    min-width: 0;
    min-height: 265px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 30px;

    background-color: #f6f6f4;

    border: 1px solid #e7e7e4;

    border-radius: 12px;

    color: #111111;

    text-decoration: none;

    transition:
        transform 0.1s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-support-card:hover,
.contact-support-card.reveal-active:hover {
    transform: scale(1.018);

    background-color: #ffffff;

    border-color: #d7d7d3;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.05);
}


.contact-support-card > svg {
    width: 42px;
    height: 42px;

    margin-bottom: 35px;

    padding: 10px;

    background-color: #e9e9e6;

    border-radius: 8px;

    color: #333333;

    stroke-width: 1.5;
}


.contact-support-card h3 {
    margin: 0 0 10px;

    color: #111111;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.35;
}


.contact-support-card p {
    margin: 0 0 25px;

    color: #727272;

    font-size: 12px;

    line-height: 1.7;
}


.contact-support-card > span {
    margin-top: auto;

    color: #111111;

    font-size: 11px;
    font-weight: 600;

    transition: transform 0.2s ease;
}


.contact-support-card:hover > span {
    transform: translateX(4px);
}



/* ==================================================
   TABLET
================================================== */

@media (max-width: 1000px) {

    .contact-hero-container {
        padding: 90px 30px;
    }


    .contact-main-container {
        padding: 90px 30px;

        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 55px;
    }


    .contact-form-area {
        padding: 34px;
    }


    .contact-support-container {
        padding: 85px 30px 95px;
    }

}



/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .contact-hero-container {
        padding: 75px 20px;
    }


    .contact-hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }


    .contact-hero p {
        font-size: 14px;
    }


    .contact-main-container {
        padding: 75px 20px;

        grid-template-columns: 1fr;

        gap: 55px;
    }


    .contact-info-header {
        max-width: 100%;
    }


    .contact-info-header h2 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .contact-form-area {
        padding: 32px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-support-container {
        padding: 75px 20px 80px;
    }


    .contact-support-grid {
        grid-template-columns: 1fr;
    }


    .contact-support-card {
        min-height: auto;
    }

}



/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .contact-hero-container {
        padding: 65px 16px;
    }


    .contact-hero-label {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .contact-hero h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }


    .contact-hero p {
        margin-top: 22px;

        font-size: 13px;
    }


    .contact-main-container {
        padding: 60px 16px;

        gap: 45px;
    }


    .contact-info-header {
        margin-bottom: 30px;
    }


    .contact-info-header h2 {
        font-size: 32px;

        letter-spacing: -1px;
    }


    .contact-info-header > p {
        font-size: 13px;
    }


    .contact-method-card {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 14px;

        padding: 18px;
    }


    .contact-method-icon {
        width: 42px;
        height: 42px;
    }


    .contact-method-icon svg {
        width: 18px;
        height: 18px;
    }


    .contact-method-arrow {
        display: none;
    }


    .contact-method-content strong {
        font-size: 13px;
    }


    .contact-method-content p {
        font-size: 11px;
    }


    .contact-company-box {
        gap: 14px;
    }


    .contact-form-area {
        padding: 24px 18px;

        border-radius: 10px;
    }


    .contact-form-header {
        margin-bottom: 28px;
    }


    .contact-form-header h2 {
        font-size: 25px;
    }


    .contact-form-header p {
        font-size: 12px;
    }


    .contact-field {
        margin-bottom: 17px;
    }


    .contact-field input,
    .contact-field select {
        height: 46px;
    }


    .contact-field textarea {
        min-height: 145px;
    }


    .contact-form-privacy {
        padding: 12px;
    }


    .contact-submit {
        min-height: 48px;
    }


    .contact-support-container {
        padding: 65px 16px 70px;
    }


    .contact-support-header {
        margin-bottom: 32px;
    }


    .contact-support-header h2 {
        font-size: 31px;

        letter-spacing: -1px;
    }


    .contact-support-header p {
        font-size: 12px;
    }


    .contact-support-grid {
        gap: 12px;
    }


    .contact-support-card {
        padding: 24px;

        border-radius: 10px;
    }


    .contact-support-card > svg {
        margin-bottom: 25px;
    }


    .contact-support-card h3 {
        font-size: 17px;
    }

}
/* ==================================================
   CONTACT FORM
================================================== */

.contact-form-area {
    width: 100%;

    padding: 45px;

    background-color: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 18px;
}


/* ==================================================
   HEADER
================================================== */

.contact-form-header {
    margin-bottom: 35px;
}


.contact-form-header > span {
    display: block;

    margin-bottom: 12px;

    color: #777777;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2.5px;
}


.contact-form-header h2 {
    margin: 0 0 12px;

    color: #111111;

    font-size: 32px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: -1px;
}


.contact-form-header p {
    margin: 0;

    color: #707070;

    font-size: 14px;

    line-height: 1.7;
}


/* ==================================================
   FORM
================================================== */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 24px;
}


/* ==================================================
   ROW
================================================== */

.contact-form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


/* ==================================================
   FIELD
================================================== */

.contact-field {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.contact-field label {
    color: #222222;

    font-size: 13px;
    font-weight: 600;
}


.contact-field label span {
    margin-left: 5px;

    color: #999999;

    font-size: 11px;
    font-weight: 500;
}


/* ==================================================
   INPUTS
================================================== */

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    padding: 15px 16px;

    background-color: #f8f8f7;

    color: #111111;

    border: 1px solid #d8d8d5;

    border-radius: 10px;

    outline: none;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #999999;
}


/* ==================================================
   FOCUS
================================================== */

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    background-color: #ffffff;

    border-color: #111111;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* ==================================================
   SELECT
================================================== */

.contact-field select {
    cursor: pointer;
}


/* ==================================================
   TEXTAREA
================================================== */

.contact-field textarea {
    min-height: 160px;

    resize: none;

    line-height: 1.6;
}


/* ==================================================
   PRIVACY
================================================== */

.contact-form-privacy {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 14px 16px;

    background-color: #f5f5f3;

    border-radius: 10px;
}


.contact-form-privacy svg {
    width: 17px;
    height: 17px;

    min-width: 17px;

    margin-top: 2px;

    color: #777777;
}


.contact-form-privacy p {
    margin: 0;

    color: #777777;

    font-size: 12px;

    line-height: 1.6;
}


.contact-form-privacy a {
    color: #111111;

    font-weight: 600;

    text-decoration: none;

    transition: opacity 0.25s ease;
}


.contact-form-privacy a:hover {
    opacity: 0.6;
}


/* ==================================================
   SUBMIT BUTTON
================================================== */

.contact-submit {
    width: 100%;

    min-height: 55px;

    padding: 15px 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background-color: #111111;

    color: #ffffff;

    border: 1px solid #111111;

    border-radius: 10px;

    cursor: pointer;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease;
}


.contact-submit svg {
    width: 17px;
    height: 17px;

    transition: transform 0.3s ease;
}


.contact-submit:hover {
    background-color: #292929;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}


.contact-submit:hover svg {
    transform: translateX(3px);
}


.contact-submit:active {
    transform: translateY(0);
}


/* ==================================================
   BUTTON DISABLED / SENDING
================================================== */

.contact-submit:disabled {
    cursor: not-allowed;

    opacity: 0.65;

    transform: none;

    box-shadow: none;
}


.contact-submit:disabled svg {
    animation: contact-send-loading 1s linear infinite;
}


@keyframes contact-send-loading {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ==================================================
   SUCCESS MESSAGE
================================================== */

.contact-form-success {
    width: 100%;

    padding: 18px 20px;

    display: flex;

    align-items: flex-start;

    gap: 13px;

    background-color: #edf8f0;

    border: 1px solid #b8dec1;

    border-radius: 10px;

    animation: contact-message-show 0.4s ease;
}


.contact-form-success[hidden] {
    display: none;
}


.contact-form-success svg {
    width: 22px;
    height: 22px;

    min-width: 22px;

    margin-top: 1px;

    color: #278840;
}


.contact-form-success strong {
    display: block;

    margin-bottom: 4px;

    color: #1e6f34;

    font-size: 13px;
    font-weight: 700;
}


.contact-form-success p {
    margin: 0;

    color: #497555;

    font-size: 12px;

    line-height: 1.6;
}


/* ==================================================
   ERROR MESSAGE
================================================== */

.contact-form-error {
    width: 100%;

    padding: 18px 20px;

    display: flex;

    align-items: flex-start;

    gap: 13px;

    background-color: #fff0f0;

    border: 1px solid #e7b7b7;

    border-radius: 10px;

    animation: contact-message-show 0.4s ease;
}


.contact-form-error[hidden] {
    display: none;
}


.contact-form-error svg {
    width: 22px;
    height: 22px;

    min-width: 22px;

    margin-top: 1px;

    color: #b33a3a;
}


.contact-form-error strong {
    display: block;

    margin-bottom: 4px;

    color: #942f2f;

    font-size: 13px;
    font-weight: 700;
}


.contact-form-error p {
    margin: 0;

    color: #885454;

    font-size: 12px;

    line-height: 1.6;
}


/* ==================================================
   MESSAGE ANIMATION
================================================== */

@keyframes contact-message-show {

    from {
        opacity: 0;

        transform: translateY(-8px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* ==================================================
   NOTE
================================================== */

.contact-form-note {
    margin: -5px 0 0;

    color: #929292;

    font-size: 11px;

    text-align: center;

    line-height: 1.6;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1000px) {

    .contact-form-area {
        padding: 38px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .contact-form-area {
        padding: 30px 24px;

        border-radius: 14px;
    }


    .contact-form-header h2 {
        font-size: 27px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;
    }


    .contact-form {
        gap: 20px;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .contact-form-area {
        padding: 25px 18px;
    }


    .contact-form-header {
        margin-bottom: 28px;
    }


    .contact-form-header h2 {
        font-size: 24px;
    }


    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        padding: 14px;
    }


    .contact-submit {
        min-height: 52px;
    }


    .contact-form-success,
    .contact-form-error {
        padding: 15px;
    }

}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-submit,
    .contact-submit svg,
    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        transition: none;
    }


    .contact-form-success,
    .contact-form-error {
        animation: none;
    }

}

/* ==================================================
   CONTACT HONEYPOT
================================================== */

.contact-honeypot {
    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;
    white-space: nowrap !important;

    border: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;
}



/* ==================================================
   CONTACT POPUP
================================================== */

.contact-popup {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


.contact-popup[hidden] {
    display: none;
}



/* ==================================================
   BACKDROP
================================================== */

.contact-popup-backdrop {
    position: absolute;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.68);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    animation:
        contact-popup-backdrop-show
        0.3s ease;
}



/* ==================================================
   POPUP CARD
================================================== */

.contact-popup-card {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 470px;

    padding: 42px;

    background-color: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28);

    text-align: center;

    animation:
        contact-popup-card-show
        0.35s ease;
}



/* ==================================================
   CLOSE BUTTON
================================================== */

.contact-popup-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background-color: #f3f3f1;

    color: #777777;

    border: 1px solid #e2e2df;

    border-radius: 8px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.contact-popup-close:hover {
    background-color: #111111;

    color: #ffffff;

    transform: scale(1.05);
}


.contact-popup-close svg {
    width: 18px;
    height: 18px;

    stroke-width: 1.7;
}



/* ==================================================
   ICON
================================================== */

.contact-popup-icon {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        5px auto
        26px;

    background-color: #f2f2ef;

    border: 1px solid #e0e0dc;

    border-radius: 50%;

    color: #111111;
}


.contact-popup-icon svg {
    width: 30px;
    height: 30px;

    stroke-width: 1.6;
}



/* ==================================================
   SUCCESS
================================================== */

.contact-popup-success
.contact-popup-icon {
    background-color: #edf8f0;

    border-color: #c9e6d0;

    color: #278840;
}



/* ==================================================
   ERROR
================================================== */

.contact-popup-error
.contact-popup-icon {
    background-color: #fff0f0;

    border-color: #e7c5c5;

    color: #b33a3a;
}



/* ==================================================
   CONTENT
================================================== */

.contact-popup-content > span {
    display: block;

    margin-bottom: 12px;

    color: #888888;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2.3px;
}


.contact-popup-content h2 {
    margin: 0;

    color: #111111;

    font-size: 27px;
    font-weight: 600;

    line-height: 1.25;

    letter-spacing: -0.8px;
}


.contact-popup-content p {
    max-width: 360px;

    margin:
        15px auto
        0;

    color: #707070;

    font-size: 13px;

    line-height: 1.75;
}



/* ==================================================
   DONE BUTTON
================================================== */

.contact-popup-button {
    width: 100%;

    min-height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 30px;

    padding: 0 20px;

    background-color: #111111;

    color: #ffffff;

    border: 1px solid #111111;

    border-radius: 9px;

    cursor: pointer;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;
    font-weight: 600;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.contact-popup-button:hover {
    background-color: #292929;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}


.contact-popup-button:active {
    transform: translateY(0);
}



/* ==================================================
   DISABLE PAGE SCROLL
================================================== */

body.contact-popup-open {
    overflow: hidden;
}



/* ==================================================
   POPUP ANIMATIONS
================================================== */

@keyframes contact-popup-backdrop-show {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes contact-popup-card-show {

    from {
        opacity: 0;

        transform:
            translateY(18px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}



/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .contact-popup {
        padding: 16px;
    }


    .contact-popup-card {
        max-width: 100%;

        padding:
            38px
            24px
            28px;

        border-radius: 14px;
    }


    .contact-popup-close {
        top: 13px;
        right: 13px;

        width: 33px;
        height: 33px;
    }


    .contact-popup-icon {
        width: 60px;
        height: 60px;

        margin-bottom: 22px;
    }


    .contact-popup-icon svg {
        width: 27px;
        height: 27px;
    }


    .contact-popup-content h2 {
        font-size: 24px;
    }


    .contact-popup-content p {
        font-size: 12px;
    }


    .contact-popup-button {
        min-height: 48px;

        margin-top: 26px;
    }

}



/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 400px) {

    .contact-popup-card {
        padding:
            36px
            18px
            24px;
    }


    .contact-popup-content h2 {
        font-size: 22px;
    }


    .contact-popup-content p {
        font-size: 11px;
    }

}



/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-popup-backdrop,
    .contact-popup-card {
        animation: none;
    }


    .contact-popup-close,
    .contact-popup-button {
        transition: none;
    }

}