@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

/* ==================================================
   Variables
================================================== */

:root {
    --contact-cream: #f1e8d8;
    --contact-gold: #b48a2b;
    --contact-light-gold: #ddcba9;
    --contact-white: #fffdf8;
    --contact-text: #20201e;
    --contact-black: #111111;
    --contact-max-width: 1640px;
}

/* ==================================================
   Base page styles
================================================== */

.contact-page {
    width: 100%;
    margin: 0;
    background: var(--contact-cream);
    color: var(--contact-text);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p {
    margin-top: 0;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
}

.contact-page a {
    color: inherit;
    text-decoration: none;
}

/* ==================================================
   Shared alignment
================================================== */

.contact-hero-inner,
.contact-content {
    width: min(calc(100% - 15.2vw), var(--contact-max-width));
    margin-left: auto;
    margin-right: auto;
}

/* ==================================================
   Hero
================================================== */

.contact-hero {
    position: relative;
    min-height: 414px;
    padding: 56px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--contact-black);
    color: var(--contact-white);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image: url("../images/contact-hero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    filter: grayscale(100%);
    transform: scale(1.01);
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.7) 46%,
            rgba(0, 0, 0, 0.45) 100%
        );
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
}

/* Breadcrumbs */
.contact-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 44px;
    color: var(--contact-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-breadcrumbs a:hover {
    color: var(--contact-gold);
}

/* Eyebrow */
.contact-eyebrow {
    margin-bottom: 12px;
    color: var(--contact-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Hero heading */
.contact-hero h1 {
    margin: 0;
    color: var(--contact-white);
    font-size: clamp(58px, 6vw, 86px);
    line-height: 0.88;
    letter-spacing: -3px;
}

/* Hero description */
.contact-hero-description {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--contact-white);
    font-size: 16px;
    line-height: 1.55;
}

/* ==================================================
   Main content
================================================== */

.contact-content {
    padding-top: 98px;
    padding-bottom: 125px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(180px, 27%) minmax(0, 1fr);
    column-gap: 7.5vw;
    align-items: start;
}

/* ==================================================
   Contact card
================================================== */

.contact-card {
    width: 100%;
    padding-top: 15px;
    border-top: 2px solid var(--contact-light-gold);
    color: var(--contact-text);
    font-size: 14px;
}

.contact-card-title {
    margin-bottom: 14px;
    color: #90702d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-card p {
    margin: 0 0 18px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-phone {
    color: #997529;
    font-weight: 700;
}

/* ==================================================
   Main contact column
================================================== */

.contact-main-content {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.visit-contact-section {
    width: 100%;
    margin: 0;
    padding: 0 0 48px;
}

.visit-contact-section h2 {
    margin: 0;
    color: var(--contact-text);
    font-size: clamp(42px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -2px;
}

.visit-contact-details {
    margin-top: 18px;
}

.visit-contact-details p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.55;
}

.visit-contact-details p:last-child {
    margin-bottom: 0;
}

.visit-contact-details a {
    color: var(--contact-text);
}

.visit-contact-details a:hover {
    color: var(--contact-gold);
}

/* ==================================================
   Form messages
================================================== */

.contact-form-message {
    width: 100%;
    margin: 0 0 24px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-success {
    border: 1px solid #8c9f72;
    background: #e3ead8;
    color: #40552d;
}

.contact-form-error {
    border: 1px solid #b45f4e;
    background: #f1dcd6;
    color: #713327;
}

.contact-form-error ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

/* ==================================================
   Contact form
================================================== */

.contact-form {
    width: 100%;
    margin: 32px 0 0;
    padding: 30px;
    background: var(--contact-black);
    color: var(--contact-white);
}

.form-field {
    margin: 0 0 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--contact-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    display: block;
    border: 1px solid var(--contact-light-gold);
    border-radius: 0;
    outline: none;
    background: var(--contact-cream);
    color: var(--contact-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
}

.form-field input {
    min-height: 42px;
    padding: 10px 12px;
}

.form-field textarea {
    min-height: 150px;
    padding: 12px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--contact-gold);
    box-shadow: 0 0 0 2px rgba(180, 138, 43, 0.35);
}

.contact-submit {
    min-height: 48px;
    margin-top: 2px;
    padding: 14px 24px;
    border: 0;
    border-radius: 0;
    background: #d9a631;
    color: var(--contact-black);
    cursor: pointer;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: var(--contact-white);
    color: var(--contact-black);
}

/* ==================================================
   Medium screens
================================================== */

@media (max-width: 1000px) {
    .contact-grid {
        grid-template-columns: minmax(170px, 25%) minmax(0, 1fr);
        column-gap: 5vw;
    }

    .visit-contact-section h2 {
        font-size: clamp(38px, 5vw, 50px);
    }
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 850px) {
    .contact-hero {
        min-height: auto;
        padding: 52px 0 60px;
    }

    .contact-hero-inner,
    .contact-content {
        width: calc(100% - 14vw);
    }

    .contact-content {
        padding-top: 70px;
        padding-bottom: 85px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        row-gap: 45px;
    }

    .contact-card,
    .contact-main-content {
        grid-column: 1;
    }

    .contact-card {
        max-width: 280px;
    }

    .contact-hero h1 {
        font-size: clamp(54px, 10vw, 76px);
        letter-spacing: -2.5px;
    }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 560px) {
    .contact-hero {
        padding: 44px 0 52px;
    }

    .contact-hero-inner,
    .contact-content {
        width: calc(100% - 12vw);
    }

    .contact-breadcrumbs {
        margin-bottom: 34px;
        font-size: 10px;
    }

    .contact-hero h1 {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .contact-hero-description {
        font-size: 15px;
    }

    .visit-contact-section h2 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .visit-contact-details p {
        font-size: 15px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-submit {
        width: 100%;
    }
}
