/* =========================================================
   NOVAEL — CONTACT
========================================================= */

.novael-contact {
    width: 100%;
    min-height: 70vh;

    padding-bottom: 100px;

    background: var(--bg);
    color: var(--text);
}


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

.novael-contact__hero {
    width: calc(100% - (var(--page-x) * 2));
    max-width: 1240px;

    margin: 0 auto;

    padding:
        64px
        0
        48px;

    border-bottom:
        1px solid
        rgba(17,17,15,.13);
}

.novael-contact__eyebrow {
    display: block;

    margin-bottom: 13px;

    color: rgba(17,17,15,.48);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}

.novael-contact__hero h1 {
    margin:
        0
        0
        18px;

    font-family: var(--font-display);

    font-size: clamp(42px,5vw,68px);
    font-weight: 800;

    line-height: .95;
    letter-spacing: -.04em;
}

.novael-contact__hero p {
    max-width: 600px;

    margin: 0;

    color: #3c3934;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   LAYOUT
========================================================= */

.novael-contact__layout {
    width: calc(100% - (var(--page-x) * 2));
    max-width: 1240px;

    margin: 0 auto;

    display: block;

    padding-top: 42px;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.novael-contact__info {
    display: grid;
    align-content: start;

    gap: 36px;
}

.novael-contact__info-block {
    display: grid;

    gap: 9px;
}

.novael-contact__info-block > span {
    color: rgba(17,17,15,.46);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;
}

.novael-contact__info-block a {
    width: fit-content;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.55;

    text-decoration: none;
}

.novael-contact__info-block a:hover {
    text-decoration: underline;

    text-underline-offset: 4px;
}


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

.novael-contact__form-wrap {
    width: 100%;
    max-width: 720px;
}

.novael-contact-form {
    display: grid;

    gap: 20px;
}

.novael-contact-form__field {
    display: grid;

    gap: 8px;
}

.novael-contact-form label {
    color: var(--text);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .02em;
}

.novael-contact-form input,
.novael-contact-form textarea {
    width: 100%;

    border:
        1px solid
        rgba(17,17,15,.2);

    border-radius: 8px;

    background:
        rgba(250,250,248,.62);

    color: var(--text);

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;

    outline: none;

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

.novael-contact-form input {
    height: 56px;

    padding:
        0
        16px;
}

.novael-contact-form textarea {
    min-height: 170px;

    padding:
        15px
        16px;

    line-height: 1.6;

    resize: vertical;
}

.novael-contact-form input:focus,
.novael-contact-form textarea:focus {
    border-color:
        rgba(17,17,15,.7);

    background: #fff;

    box-shadow:
        0 0 0 2px
        rgba(17,17,15,.04);
}


/* Submit */

.novael-contact-form__submit {
    width: 100%;
    min-height: 56px;

    margin-top: 3px;

    border:
        1px solid
        var(--text);

    border-radius: 8px;

    background: var(--text);
    color: #fff;

    font-family: var(--font-main);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.novael-contact-form__submit:hover {
    background: #292824;

    transform: translateY(-1px);
}


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

.novael-contact__notice {
    margin-bottom: 22px;

    padding:
        15px
        16px;

    border:
        1px solid
        rgba(17,17,15,.14);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}

.novael-contact__notice.is-success {
    border-color:
        rgba(48,91,53,.25);

    background:
        rgba(48,91,53,.05);

    color: #315536;
}

.novael-contact__notice.is-error {
    border-color:
        rgba(163,45,37,.24);

    background:
        rgba(163,45,37,.05);

    color: #9f2f27;
}


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

@media (max-width: 767px) {

    .novael-contact {
        padding-bottom: 70px;
    }

    .novael-contact__hero {
        width: 100%;

        padding:
            34px
            14px
            30px;
    }

    .novael-contact__eyebrow {
        font-size: 8px;
    }

    .novael-contact__hero h1 {
        margin-bottom: 16px;

        font-size: 32px;
    }

    .novael-contact__hero p {
        font-size: 13px;

        line-height: 1.65;
    }

    .novael-contact__layout {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 38px;

        padding:
            30px
            14px
            0;
    }

    .novael-contact__form-wrap {
        order: 1;
    }

    .novael-contact__info {
        order: 2;

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

        gap: 24px;

        padding-top: 28px;

        border-top:
            1px solid
            rgba(17,17,15,.12);
    }

    .novael-contact__info-block a {
        font-size: 12px;
    }

    .novael-contact-form {
        gap: 18px;
    }

    .novael-contact-form label {
        font-size: 11px;
    }

    .novael-contact-form input {
        height: 54px;

        font-size: 13px;
    }

    .novael-contact-form textarea {
        min-height: 145px;

        font-size: 13px;
    }

    .novael-contact-form__submit {
        min-height: 54px;
    }

}
