/* =========================================
   Amber Ever After PHOTOGRAPHY
   CONTACT / INQUIRY PAGE
========================================= */


/* =========================================
   PAGE
========================================= */

.contact-page {
    margin: 0;

    background: #f4efe8;

    color: #2d2823;
}


/* =========================================
   HEADER
========================================= */

.contact-header {
    background: #f4efe8;
}

.contact-header .brand,
.contact-header .main-nav a {
    color: #2d2823;
}

.contact-header .nav-contact {
    border-color: #8d7d6f;
}

.contact-header
.mobile-menu-button span {
    background: #2d2823;
}


/* =========================================
   SHARED TYPOGRAPHY
========================================= */

.contact-eyebrow {
    margin: 0 0 28px;

    color: #9a795c;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.contact-eyebrow.light {
    color: #c5a486;
}


/* =========================================
   HERO
========================================= */

.contact-hero {
    padding:
        210px 7%
        140px;

    background: #f4efe8;
}

.contact-hero-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.55fr);

    gap: 130px;

    align-items: end;
}

.contact-hero h1 {
    max-width: 900px;

    margin: 0;

    color: #2d2823;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(70px, 8vw, 120px);

    font-weight: 400;

    line-height: 0.92;

    letter-spacing: -4px;
}

.contact-hero h1 em {
    display: block;

    color: #9d7f63;

    font-weight: 400;
}

.contact-hero-copy {
    padding-bottom: 5px;
}

.contact-hero-copy p {
    margin:
        0 0 20px;

    color: #685e55;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.85;
}

.contact-hero-copy
.contact-lead {
    color: #332e29;

    font-size: 21px;

    line-height: 1.6;
}


/* =========================================
   INQUIRY SECTION
========================================= */

.inquiry-section {
    padding:
        145px 7%
        160px;

    background: #e9dfd3;
}

.inquiry-inner {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(300px, 0.55fr)
        minmax(500px, 1fr);

    gap: 120px;

    align-items: start;
}


/* =========================================
   INQUIRY SIDEBAR
========================================= */

.inquiry-sidebar {
    position: sticky;

    top: 140px;
}

.inquiry-number {
    display: block;

    margin-bottom: 35px;

    color: #9d8064;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;

    font-style: italic;
}

.inquiry-sidebar h2 {
    max-width: 550px;

    margin:
        0 0 35px;

    color: #2d2823;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 5vw, 72px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -2px;
}

.inquiry-sidebar h2 em {
    display: block;

    color: #9b7d61;

    font-weight: 400;
}

.inquiry-sidebar-copy {
    max-width: 480px;

    margin:
        0 0 55px;

    color: #675d54;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================
   SIDEBAR NOTES
========================================= */

.inquiry-notes {
    border-top:
        1px solid
        #c6b8aa;
}

.inquiry-note {
    padding:
        22px 0;

    display: grid;

    grid-template-columns:
        42px 1fr;

    gap: 20px;

    border-bottom:
        1px solid
        #c6b8aa;
}

.inquiry-note span {
    color: #9a7c61;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 10px;

    font-style: italic;
}

.inquiry-note p {
    margin: 0;

    color: #62584f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================
   FORM WRAPPER
========================================= */

.inquiry-form-wrap {
    padding:
        55px 55px
        60px;

    background: #f5f0ea;

    box-shadow:
        0 25px 70px
        rgba(
            61,
            49,
            39,
            0.08
        );
}


/* =========================================
   FORM GRID
========================================= */

.inquiry-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        34px 28px;
}

.form-group {
    position: relative;

    min-width: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}


/* =========================================
   LABELS
========================================= */

.form-group label {
    display: block;

    margin-bottom: 11px;

    color: #51483f;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}

.form-group label span {
    color: #a06f58;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: none;

    border-bottom:
        1px solid
        #bcae9f;

    border-radius: 0;

    outline: none;

    background: transparent;

    color: #332e29;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    transition:
        border-color 0.25s ease;
}

.form-group input,
.form-group select {
    min-height: 52px;
}

.form-group textarea {
    min-height: 170px;

    padding:
        14px 0;

    resize: vertical;

    line-height: 1.7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9b9187;

    opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6f5c4c;
}


/* =========================================
   SELECT
========================================= */

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "↓";

    position: absolute;

    top: 50%;
    right: 4px;

    color: #7b6d61;

    font-size: 12px;

    pointer-events: none;

    transform:
        translateY(-50%);
}

.form-group select {
    padding-right: 28px;

    appearance: none;

    cursor: pointer;
}


/* =========================================
   DATE INPUT
========================================= */

.form-group
input[type="date"] {
    color: #665b52;
}


/* =========================================
   ERRORS
========================================= */

.form-error {
    display: none;

    margin-top: 8px;

    color: #9b5548;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;
}

.form-group.has-error
.form-error {
    display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #9b5548;
}


/* =========================================
   SUBMIT AREA
========================================= */

.form-submit-area {
    grid-column: 1 / -1;

    margin-top: 10px;

    padding-top: 32px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-top:
        1px solid
        #d0c4b8;
}

.form-submit-area > p {
    max-width: 330px;

    margin: 0;

    color: #82776d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;

    line-height: 1.7;
}

.inquiry-submit {
    min-height: 60px;

    padding:
        0 32px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 35px;

    border: 1px solid #2d2823;

    background: #2d2823;

    color: white;

    cursor: pointer;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.inquiry-submit:hover {
    transform:
        translateY(-3px);

    background: transparent;

    color: #2d2823;
}

.inquiry-submit span {
    font-size: 15px;
}


/* =========================================
   FORM STATUS
========================================= */

.form-status {
    grid-column: 1 / -1;

    display: none;

    padding: 20px 22px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    line-height: 1.7;
}

.form-status.success {
    display: block;

    border:
        1px solid
        #8f9b7d;

    background:
        rgba(
            143,
            155,
            125,
            0.08
        );

    color: #59634c;
}

.form-status.error {
    display: block;

    border:
        1px solid
        #ad7669;

    background:
        rgba(
            173,
            118,
            105,
            0.08
        );

    color: #824f44;
}


/* =========================================
   WHAT HAPPENS NEXT
========================================= */

.after-inquiry {
    padding:
        150px 7%;

    background: #f4efe8;
}

.after-inquiry-inner {
    max-width: 1400px;

    margin: 0 auto;
}

.after-inquiry-heading {
    max-width: 850px;

    margin-bottom: 85px;
}

.after-inquiry-heading h2 {
    margin: 0;

    color: #2d2823;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(55px, 6vw, 88px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -3px;
}

.after-inquiry-heading h2 em {
    display: block;

    color: #9b7d61;

    font-weight: 400;
}


/* =========================================
   AFTER STEPS
========================================= */

.after-inquiry-steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        #cec0b2;

    border-bottom:
        1px solid
        #cec0b2;
}

.after-step {
    min-height: 300px;

    padding:
        38px 38px
        45px;

    border-right:
        1px solid
        #cec0b2;
}

.after-step:last-child {
    border-right: none;
}

.after-step > span {
    display: block;

    margin-bottom: 60px;

    color: #9b7d61;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 11px;

    font-style: italic;
}

.after-step h3 {
    margin:
        0 0 20px;

    color: #302a25;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    font-weight: 400;
}

.after-step p {
    margin: 0;

    color: #6b6057;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   FINAL CONTACT MESSAGE
========================================= */

.contact-final {
    padding:
        160px 7%;

    background: #2b2723;

    color: white;
}

.contact-final-inner {
    max-width: 1050px;

    margin: 0 auto;

    text-align: center;
}

.contact-final h2 {
    margin:
        0 0 30px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(58px, 7vw, 95px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -3px;
}

.contact-final h2 em {
    display: block;

    color: #c2a182;

    font-weight: 400;
}

.contact-final-inner > p:not(
    .contact-eyebrow
) {
    margin:
        0 auto 40px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
}

.contact-final-link {
    display: inline-flex;

    align-items: center;

    gap: 28px;

    padding-bottom: 8px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.45
        );

    color: white;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 3px;

    text-decoration: none;
    text-transform: uppercase;
}

.contact-final-link span {
    font-size: 15px;

    transition:
        transform 0.3s ease;
}

.contact-final-link:hover span {
    transform:
        translateY(-5px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .contact-hero-inner {
        gap: 70px;
    }

    .inquiry-inner {
        grid-template-columns:
            minmax(260px, 0.5fr)
            minmax(450px, 1fr);

        gap: 65px;
    }

    .inquiry-form-wrap {
        padding:
            45px 40px
            50px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    /* HERO */

    .contact-hero {
        padding:
            145px 6%
            95px;
    }

    .contact-hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-hero h1 {
        font-size: 61px;

        letter-spacing: -2px;
    }


    /* INQUIRY */

    .inquiry-section {
        padding:
            100px 6%;
    }

    .inquiry-inner {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .inquiry-sidebar {
        position: static;
    }

    .inquiry-sidebar h2 {
        font-size: 49px;
    }

    .inquiry-form-wrap {
        padding:
            38px 22px
            42px;
    }

    .inquiry-form {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .form-group-full,
    .form-submit-area,
    .form-status {
        grid-column: auto;
    }

    .form-submit-area {
        align-items: stretch;

        flex-direction: column;
    }

    .inquiry-submit {
        width: 100%;
    }


    /* NEXT */

    .after-inquiry {
        padding:
            105px 6%;
    }

    .after-inquiry-heading {
        margin-bottom: 60px;
    }

    .after-inquiry-heading h2 {
        font-size: 50px;

        letter-spacing: -2px;
    }

    .after-inquiry-steps {
        grid-template-columns: 1fr;
    }

    .after-step {
        min-height: 0;

        padding:
            35px 15px
            45px;

        border-right: none;

        border-bottom:
            1px solid
            #cec0b2;
    }

    .after-step:last-child {
        border-bottom: none;
    }

    .after-step > span {
        margin-bottom: 28px;
    }


    /* FINAL */

    .contact-final {
        padding:
            110px 6%;
    }

    .contact-final h2 {
        font-size: 52px;

        letter-spacing: -2px;
    }

}