/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #0c0c0c;
    color: #fff;
}


.contact-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}



/* =========================================================
   MAIN
========================================================= */

.contact-main {
    min-height: 100vh;

    padding:
        165px 0
        120px;

    background:
        linear-gradient(
            180deg,
            #0a0a0a 0%,
            #0d0d0d 45%,
            #101010 100%
        );
}


.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(450px, .85fr);

    gap: 100px;

    align-items: start;
}



/* =========================================================
   LEFT
========================================================= */

.contact-left {
    max-width: 760px;
}


.contact-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: #c9a84c;

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .24em;

    text-transform: uppercase;
}


.contact-left h1 {
    max-width: 800px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(3rem, 5vw, 6rem);

    font-weight: 600;

    line-height: .98;

    letter-spacing: -.045em;
}


.contact-left h1 strong {
    display: block;

    color: #c9a84c;

    font-weight: inherit;
}



/* =========================================================
   DESCRIPTION
========================================================= */

.contact-description {
    max-width: 650px;

    margin-top: 28px;

    color:
        rgba(255,255,255,.55);

    font-size: .92rem;

    line-height: 1.85;
}



/* =========================================================
   DETAILS
========================================================= */

.contact-details {
    max-width: 650px;

    margin-top: 55px;

    border-top:
        1px solid rgba(255,255,255,.09);
}


.contact-detail-item {
    position: relative;

    display: grid;

    grid-template-columns:
        48px 1fr;

    gap: 18px;

    align-items: center;

    min-height: 92px;

    padding: 18px 0;

    border-bottom:
        1px solid rgba(255,255,255,.09);

    color: inherit;

    text-decoration: none;

    transition:
        padding-left .25s ease;
}


a.contact-detail-item:hover {
    padding-left: 7px;
}



/* =========================================================
   DETAIL ICON
========================================================= */

.contact-detail-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid rgba(201,168,76,.30);

    border-radius: 50%;

    color: #c9a84c;

    background:
        rgba(201,168,76,.04);
}


.contact-detail-icon svg {
    width: 19px;
    height: 19px;
}



/* =========================================================
   DETAIL CONTENT
========================================================= */

.contact-detail-content span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255,255,255,.30);

    font-size: .58rem;
    font-weight: 800;

    letter-spacing: .15em;
}


.contact-detail-content p {
    margin: 0;

    color:
        rgba(255,255,255,.82);

    font-size: .88rem;

    line-height: 1.6;
}



/* =========================================================
   FORM WRAP
========================================================= */

.contact-form-wrap {
    position: sticky;

    top: 110px;

    padding: 38px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.22);
}



/* =========================================================
   FORM HEAD
========================================================= */

.contact-form-head {
    margin-bottom: 32px;
}


.contact-form-head > span {
    display: block;

    margin-bottom: 10px;

    color: #c9a84c;

    font-size: .60rem;
    font-weight: 800;

    letter-spacing: .17em;
}


.contact-form-head h2 {
    max-width: 500px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(1.8rem, 2.5vw, 2.8rem);

    font-weight: 600;

    line-height: 1.1;

    letter-spacing: -.025em;
}


.contact-form-head p {
    max-width: 470px;

    margin:
        14px 0
        0;

    color:
        rgba(255,255,255,.42);

    font-size: .78rem;

    line-height: 1.65;
}



/* =========================================================
   FORM
========================================================= */

.contact-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.contact-field {
    margin-bottom: 17px;
}


.contact-field label {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(255,255,255,.45);

    font-size: .67rem;
}


.contact-field input,
.contact-field textarea {
    width: 100%;

    padding: 14px;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 8px;

    background:
        rgba(255,255,255,.025);

    color: #fff;

    font-family: inherit;

    outline: none;

    transition:
        border-color .25s ease,
        background .25s ease;
}


.contact-field textarea {
    min-height: 150px;

    resize: vertical;
}


.contact-field input:focus,
.contact-field textarea:focus {
    border-color:
        rgba(201,168,76,.65);

    background:
        rgba(201,168,76,.025);
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color:
        rgba(255,255,255,.22);
}



/* =========================================================
   BUTTON
========================================================= */

.contact-submit {
    width: 100%;

    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 5px;

    border: 0;

    border-radius: 8px;

    background: #c9a84c;

    color: #111;

    font-size: .76rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}


.contact-submit span {
    font-size: 1rem;

    transition:
        transform .25s ease;
}


.contact-submit:hover {
    background: #e0c365;

    transform:
        translateY(-2px);
}


.contact-submit:hover span {
    transform:
        translateX(5px);
}



/* =========================================================
   MAP
========================================================= */

.contact-map {
    width: 100%;
    height: 500px;

    overflow: hidden;

    background: #111;

    border-top:
        1px solid rgba(255,255,255,.07);
}


.contact-map iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0 !important;

    filter:
        grayscale(1)
        contrast(.95)
        brightness(.72);
}



/* =========================================================
   LIGHT MODE
========================================================= */

body.light-mode .contact-page {
    background: #f4f4f2;

    color: #161616;
}


body.light-mode .contact-main {
    background:
        linear-gradient(
            180deg,
            #f4f4f2,
            #ececea
        );
}


body.light-mode .contact-left h1 {
    color: #161616;
}


body.light-mode .contact-left h1 strong,
body.light-mode .contact-eyebrow {
    color: #9d7c22;
}


body.light-mode .contact-description {
    color: #666;
}


body.light-mode .contact-details {
    border-top-color:
        rgba(0,0,0,.09);
}


body.light-mode .contact-detail-item {
    border-bottom-color:
        rgba(0,0,0,.09);
}


body.light-mode .contact-detail-icon {
    color: #9d7c22;

    border-color:
        rgba(157,124,34,.30);

    background:
        rgba(157,124,34,.04);
}


body.light-mode
.contact-detail-content span {
    color:
        rgba(0,0,0,.38);
}


body.light-mode
.contact-detail-content p {
    color: #444;
}


body.light-mode .contact-form-wrap {
    background: #fff;

    border-color:
        rgba(0,0,0,.08);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.06);
}


body.light-mode
.contact-form-head > span {
    color: #9d7c22;
}


body.light-mode
.contact-form-head h2 {
    color: #161616;
}


body.light-mode
.contact-form-head p {
    color: #777;
}


body.light-mode
.contact-field label {
    color: #666;
}


body.light-mode
.contact-field input,
body.light-mode
.contact-field textarea {
    background: #f7f7f5;

    border-color:
        rgba(0,0,0,.09);

    color: #161616;
}


body.light-mode
.contact-field input::placeholder,
body.light-mode
.contact-field textarea::placeholder {
    color: #999;
}


body.light-mode .contact-submit {
    background: #9d7c22;

    color: #fff;
}


body.light-mode .contact-map iframe {
    filter:
        grayscale(.8)
        contrast(.95)
        brightness(.95);
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-container {
        width:
            calc(100% - 50px);
    }


    .contact-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .contact-left {
        max-width: 850px;
    }


    .contact-form-wrap {
        position: relative;

        top: auto;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-container {
        width:
            calc(100% - 32px);
    }


    .contact-main {
        padding:
            125px 0
            80px;
    }


    .contact-left h1 {
        font-size:
            clamp(2.7rem, 13vw, 4.5rem);
    }


    .contact-details {
        margin-top: 40px;
    }


    .contact-detail-item {
        grid-template-columns:
            42px 1fr;

        gap: 14px;
    }


    .contact-detail-icon {
        width: 40px;
        height: 40px;
    }


    .contact-form-wrap {
        padding:
            26px 18px;

        border-radius: 14px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-map {
        height: 360px;
    }

}
.contact-form-success,
.contact-form-error {
    margin-bottom: 22px;

    padding: 13px 15px;

    border-radius: 8px;

    font-size: .78rem;

    line-height: 1.6;
}

.contact-form-success {
    background: rgba(40,118,65,.16);

    border:
        1px solid rgba(75,165,102,.40);

    color: #8ee6a8;
}

.contact-form-error {
    background: rgba(118,40,40,.16);

    border:
        1px solid rgba(165,75,75,.40);

    color: #ef9999;
}

body.light-mode .contact-form-success {
    background: #edf8f0;

    border-color: #b7dec1;

    color: #246c39;
}

body.light-mode .contact-form-error {
    background: #fbeeee;

    border-color: #e1b9b9;

    color: #8a3030;
}