/* =========================================================
   CORBETT ULTIMUS
   CONTACT US PAGE
========================================================= */

.cu-contact-page {
    --contact-green: #102b25;
    --contact-green-dark: #081b17;
    --contact-cream: #eee9dc;
    --contact-gold: #b9a36a;
    --contact-white: #ffffff;
    --contact-text: #24342f;

    background: var(--contact-cream);
    color: var(--contact-text);
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.cu-contact-container {
    width: min(1400px, calc(100% - 120px));
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
========================================================= */

.cu-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--contact-gold);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    margin-bottom: 24px;
}

.cu-contact-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.cu-contact-eyebrow--dark {
    color: #8d7848;
}


/* =========================================================
   HERO
========================================================= */

.cu-contact-hero {
    position: relative;

    min-height: 760px;

    background: var(--contact-green-dark);

    color: var(--contact-white);

    display: flex;
    align-items: center;

    overflow: hidden;
}

.cu-contact-hero__image {
    position: absolute;
    inset: 0;

    background-image: url("../images/contact/contact-hero.jpg");
    background-size: cover;
    background-position: center;
}

.cu-contact-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 14, 0.92) 0%,
            rgba(4, 17, 14, 0.72) 42%,
            rgba(4, 17, 14, 0.28) 100%
        );
}

.cu-contact-hero .cu-contact-container {
    position: relative;
    z-index: 2;
}

.cu-contact-hero__content {
    max-width: 760px;
}

.cu-contact-hero h1 {
    max-width: 780px;

    margin: 0;

    font-size: clamp(48px, 5.4vw, 78px);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: #fff;
}

.cu-contact-hero h1 em {
    display: block;

    color: #d1bf8d;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.cu-contact-hero p {
    max-width: 570px;

    margin: 34px 0 38px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.cu-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    min-width: 230px;

    padding: 16px 20px;

    border: 1px solid transparent;

    text-decoration: none;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.cu-contact-btn span {
    font-size: 18px;
    line-height: 1;
}

.cu-contact-btn--gold {
    background: var(--contact-gold);
    color: #101713;
}

.cu-contact-btn--gold:hover {
    transform: translateY(-3px);
    background: #d0bb80;
}

.cu-contact-btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cu-contact-btn--outline:hover {
    background: #fff;
    color: var(--contact-green);
}

.cu-contact-btn--dark {
    background: var(--contact-green);
    color: #fff;
}

.cu-contact-btn--dark:hover {
    background: var(--contact-green-dark);
    transform: translateY(-3px);
}


/* =========================================================
   HERO LOCATION
========================================================= */

.cu-contact-hero__location {
    position: absolute;

    right: 0;
    bottom: 50px;

    display: flex;
    align-items: center;
    gap: 15px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10px;
    letter-spacing: 0.18em;
}

.cu-contact-hero__line {
    width: 45px;
    height: 1px;
    background: var(--contact-gold);
}


/* =========================================================
   INTRO
========================================================= */

.cu-contact-intro {
    padding: 150px 0 130px;

    background: var(--contact-cream);
}

.cu-contact-intro__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 120px;

    padding-bottom: 100px;

    border-bottom: 1px solid rgba(16, 43, 37, 0.15);
}

.cu-contact-intro h2,
.cu-contact-form-intro h2,
.cu-contact-location h2,
.cu-contact-final h2 {
    margin: 0;

    font-size: clamp(42px, 4.5vw, 66px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.cu-contact-intro h2 em,
.cu-contact-form-intro h2 em,
.cu-contact-location h2 em,
.cu-contact-final h2 em {
    display: block;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #7e704d;
}

.cu-contact-intro__content {
    max-width: 650px;
}

.cu-contact-intro__lead {
    margin: 0 0 28px;

    font-size: 23px !important;
    line-height: 1.45 !important;

    color: var(--contact-green) !important;
}

.cu-contact-intro__content p {
    margin: 0 0 22px;

    font-size: 16px;
    line-height: 1.85;

    color: rgba(36, 52, 47, 0.76);
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.cu-contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding-top: 55px;
}

.cu-contact-detail {
    min-height: 150px;

    padding-right: 50px;

    border-right: 1px solid rgba(16, 43, 37, 0.15);
}

.cu-contact-detail:not(:first-child) {
    padding-left: 50px;
}

.cu-contact-detail:last-child {
    border-right: 0;
}

.cu-contact-detail__number {
    display: block;

    margin-bottom: 24px;

    color: var(--contact-gold);

    font-size: 10px;
    letter-spacing: 0.15em;
}

.cu-contact-detail__label {
    display: block;

    margin-bottom: 10px;

    color: #6f765f;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.cu-contact-detail a,
.cu-contact-detail p {
    margin: 0;

    color: var(--contact-green);

    font-size: 17px;
    line-height: 1.6;

    text-decoration: none;
}


/* =========================================================
   FORM SECTION
========================================================= */

.cu-contact-form-section {
    padding: 140px 0;

    background: var(--contact-green);
    color: #fff;
}

.cu-contact-form-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 120px;
}

.cu-contact-form-intro {
    padding-top: 20px;
}

.cu-contact-form-intro h2 {
    color: #fff;
}

.cu-contact-form-intro h2 em {
    color: #cbb983;
}

.cu-contact-form-intro > p {
    max-width: 480px;

    margin: 35px 0 50px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   FORM POINTS
========================================================= */

.cu-contact-form-points {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cu-contact-form-points > div {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cu-contact-form-points span {
    color: var(--contact-gold);

    font-size: 10px;
    letter-spacing: 0.12em;
}

.cu-contact-form-points p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}


/* =========================================================
   FORM BOX
========================================================= */

.cu-contact-form-wrap {
    padding: 48px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.025);
}

.cu-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.cu-contact-field {
    margin-bottom: 28px;
}

.cu-contact-field label {
    display: block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.cu-contact-field input,
.cu-contact-field select,
.cu-contact-field textarea {
    width: 100%;

    padding: 14px 0;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    outline: none;

    background: transparent;

    color: #fff;

    font-family: inherit;
    font-size: 14px;

    transition: border-color 0.3s ease;
}

.cu-contact-field input::placeholder,
.cu-contact-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.cu-contact-field input:focus,
.cu-contact-field select:focus,
.cu-contact-field textarea:focus {
    border-color: var(--contact-gold);
}

.cu-contact-field select {
    appearance: none;
    cursor: pointer;
}

.cu-contact-field select option {
    color: #111;
}

.cu-contact-field textarea {
    resize: vertical;
    min-height: 120px;
}


/* =========================================================
   CHECKBOX
========================================================= */

.cu-contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 5px 0 30px;

    cursor: pointer;
}

.cu-contact-checkbox input {
    margin-top: 3px;

    accent-color: var(--contact-gold);
}

.cu-contact-checkbox span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   SUBMIT
========================================================= */

.cu-contact-submit {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border: 0;

    background: var(--contact-gold);
    color: #101713;

    cursor: pointer;

    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.cu-contact-submit:hover {
    background: #d0bb80;
    transform: translateY(-2px);
}

.cu-contact-submit__arrow {
    font-size: 19px;
}

.cu-contact-form__message {
    display: none;

    margin-top: 18px;

    font-size: 13px;
}


/* =========================================================
   LOCATION
========================================================= */

.cu-contact-location {
    background: var(--contact-green-dark);
    color: #fff;
}

.cu-contact-location__visual {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.cu-contact-location__image {
    position: absolute;
    inset: 0;

    background-image: url("../images/contact/contact-hero.jpg");
    background-size: cover;
    background-position: center;
}

.cu-contact-location__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 22, 18, 0.92),
            rgba(5, 22, 18, 0.45),
            rgba(5, 22, 18, 0.25)
        );
}

.cu-contact-location__content {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 120px));
    margin: 0 auto;

    max-width: 650px;
}

.cu-contact-location h2 {
    color: #fff;
}

.cu-contact-location h2 em {
    color: #cbb983;
}

.cu-contact-location p {
    max-width: 470px;

    margin: 32px 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.cu-contact-final {
    padding: 140px 0;

    background: var(--contact-cream);

    text-align: center;
}

.cu-contact-final__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cu-contact-final h2 {
    max-width: 850px;

    margin-bottom: 45px;

    color: var(--contact-green);
}

.cu-contact-final h2 em {
    color: #84754e;
}


/* =========================================================
   REVEAL
========================================================= */

.cu-contact-reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cu-contact-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .cu-contact-container {
        width: min(100% - 60px, 1400px);
    }

    .cu-contact-intro__grid,
    .cu-contact-form-grid {
        gap: 60px;
    }

    .cu-contact-form-wrap {
        padding: 35px;
    }

}


@media (max-width: 800px) {

    .cu-contact-container {
        width: calc(100% - 40px);
    }

    .cu-contact-hero {
        min-height: 680px;
    }

    .cu-contact-hero h1 {
        font-size: clamp(45px, 12vw, 65px);
    }

    .cu-contact-hero__location {
        right: 20px;
        bottom: 30px;
    }

    .cu-contact-intro {
        padding: 90px 0;
    }

    .cu-contact-intro__grid,
    .cu-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .cu-contact-intro__grid {
        padding-bottom: 70px;
    }

    .cu-contact-details {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cu-contact-detail,
    .cu-contact-detail:not(:first-child) {
        padding: 30px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(16, 43, 37, 0.15);
    }

    .cu-contact-detail:last-child {
        border-bottom: 0;
    }

    .cu-contact-form-section {
        padding: 90px 0;
    }

    .cu-contact-form-grid {
        gap: 65px;
    }

    .cu-contact-location__visual {
        min-height: 600px;
    }

    .cu-contact-location__content {
        width: calc(100% - 40px);
    }

    .cu-contact-final {
        padding: 90px 0;
    }

}


@media (max-width: 600px) {

    .cu-contact-hero {
        min-height: 650px;
    }

    .cu-contact-hero p {
        font-size: 14px;
    }

    .cu-contact-btn {
        width: 100%;
        max-width: 310px;
    }

    .cu-contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cu-contact-form-wrap {
        padding: 25px 20px;
    }

    .cu-contact-intro h2,
    .cu-contact-form-intro h2,
    .cu-contact-location h2,
    .cu-contact-final h2 {
        font-size: 43px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .cu-contact-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cu-contact-btn,
    .cu-contact-submit {
        transition: none;
    }

}