/* The form is the primary task on this page; keep the hero band compact so
   the form panel starts as soon as the header and title clear. */
.page-contact .page-title {
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(207, 170, 119, 0.72);
}

.page-contact .page-title h1 {
    max-width: 900px;
    margin-bottom: 0;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.page-contact .page-title > .container {
    padding-bottom: 24px;
}

.page-contact .fullwidth-box > .container.spacing-v-sm {
    padding-top: 36px;
}

.page-contact .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 60px;
}

.page-contact .contact-layout::before,
.page-contact .contact-layout::after {
    display: none;
    content: none;
}

.page-contact .contact-layout > .content-inner,
.page-contact .contact-layout > .sidebar {
    float: none;
    width: auto;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.page-contact .contact-layout > .content-inner {
    grid-column: 1;
    margin-left: 0;
}

.page-contact .contact-layout > .sidebar {
    grid-column: 2;
}

.page-contact .contact-form-privacy a {
    color: #3c46dc;
    text-decoration: underline;
    text-decoration-color: rgba(60, 70, 220, 0.3);
    text-underline-offset: 3px;
}

.page-contact .contact-form-privacy a:hover,
.page-contact .contact-form-privacy a:focus {
    color: #0f0f18;
    text-decoration-color: #cfaa77;
}

.page-contact .contact-form-panel {
    padding: 30px;
    border-top: 2px solid #cfaa77;
    background: #fcfcfc;
}

.page-contact .contact-form-heading {
    margin-bottom: 24px;
}

.page-contact .contact-form-heading h2 {
    margin: 0 0 6px;
    font-size: 29px;
    line-height: 38px;
}

.page-contact .contact-form-lead {
    max-width: 68ch;
    margin: 0 0 10px;
    color: #626468;
    font-size: 15px;
    line-height: 24px;
}

.page-contact .contact-form-requirements {
    margin: 0;
    color: #696a6e;
    font-size: 14px;
    line-height: 22px;
}

.page-contact .contact-eyebrow {
    margin: 0 0 8px;
    color: #b08d55;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 18px;
    text-transform: uppercase;
}

.page-contact .contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.page-contact .contact-field--full {
    grid-column: 1 / -1;
}

.page-contact .contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #454649;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.page-contact .contact-field label > span {
    color: #b08d55;
}

.page-contact .contact-field label small {
    margin-left: 5px;
    color: #77797d;
    font-size: 12px;
    font-weight: 400;
}

.page-contact .contact-field .input,
.page-contact .contact-field .select,
.page-contact .contact-field .textarea {
    width: 100%;
    margin: 0;
    color: #0f0f18;
    background-color: #ffffff;
    border-color: #dedee2;
    border-radius: 0;
    box-shadow: none;
}

.page-contact .contact-field .input,
.page-contact .contact-field .select {
    min-height: 50px;
}

.page-contact .contact-field .textarea {
    min-height: 156px;
    resize: vertical;
}

.page-contact .contact-field .input:focus,
.page-contact .contact-field .select:focus,
.page-contact .contact-field .textarea:focus {
    border-color: #cfaa77;
    box-shadow: 0 0 0 3px rgba(207, 170, 119, 0.18);
}

.page-contact .contact-field .input:user-invalid,
.page-contact .contact-field .textarea:user-invalid {
    border-color: #b44a4a;
    box-shadow: 0 0 0 3px rgba(180, 74, 74, 0.12);
}

.page-contact .contact-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.page-contact .contact-form-actions .button {
    flex: 0 0 auto;
    min-width: 178px;
}

.page-contact .contact-form-privacy {
    max-width: 390px;
    margin: 0;
    color: #696a6e;
    font-size: 13px;
    line-height: 20px;
}

.page-contact .error-container:empty {
    display: none;
}

.page-contact .error-container:not(:empty) {
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #7a2828;
    background: #fff5f4;
    border-left: 2px solid #b44a4a;
}

.page-contact .contact-card {
    position: sticky;
    top: 112px;
    border-top: 2px solid #cfaa77;
}

.page-contact .contact-card .card-content {
    padding: 28px;
}

.page-contact .contact-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 32px;
}

.page-contact .contact-card__note {
    margin-bottom: 20px;
    color: #626468;
}

.page-contact .contact-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #454649;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}

.page-contact .contact-status > span {
    width: 6px;
    height: 6px;
    background: #cfaa77;
}

.page-contact .contact-methods {
    margin: 0;
    padding: 0;
}

.page-contact .contact-methods > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(15, 15, 24, 0.12);
}

.page-contact .contact-methods dt,
.page-contact .contact-methods dd {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 22px;
}

.page-contact .contact-methods dt {
    color: #696a6e;
    font-weight: 400;
}

.page-contact .contact-methods dd {
    min-width: 0;
}

.page-contact .contact-methods a {
    color: #0f0f18;
    font-weight: 500;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: rgba(15, 15, 24, 0.2);
    text-underline-offset: 3px;
}

.page-contact .contact-methods a:hover,
.page-contact .contact-methods a:focus {
    color: #b08d55;
    text-decoration-color: currentColor;
}

.page-contact a:focus-visible,
.page-contact button:focus-visible {
    outline: 2px solid #cfaa77;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .page-contact .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .page-contact .contact-layout > .content-inner,
    .page-contact .contact-layout > .sidebar {
        grid-column: 1;
    }

    .page-contact .contact-form-panel {
        padding: 22px 20px;
    }

    .page-contact .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .page-contact .contact-field--full {
        grid-column: auto;
    }

    .page-contact .contact-form-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .page-contact .contact-form-actions .button {
        width: 100%;
    }

    .page-contact .contact-card {
        position: static;
    }
}

@media (max-width: 539px) {
    .page-contact .page-title h1 {
        font-size: 31px;
        line-height: 41px;
    }
}
