.mb-contact-page {
    --contact-burgundy: #681827;
    --contact-ink: #403735;
    --contact-muted: #625956;
    --contact-line: #e2dad2;
    --contact-ivory: #f8f6f2;
    font-family: var(--mb-design-ui, sans-serif);
    color: var(--contact-ink);
    font-size: 14px;
    line-height: 1.7;
}

.mb-contact-page *,
.mb-contact-page *::before,
.mb-contact-page *::after {
    box-sizing: border-box;
}

.mb-contact-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.mb-contact-hero {
    padding: clamp(36px, 5vw, 66px) 0;
    background: var(--contact-ivory);
    border-bottom: 1px solid var(--contact-line);
}

.mb-contact-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #85694c;
    margin-bottom: 12px;
}

.mb-contact-page h1,
.mb-contact-page h2 {
    font-family: var(--mb-design-editorial, "Playfair Display", Georgia, serif);
    color: var(--contact-burgundy);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.25;
    margin: 0 0 14px;
}

.mb-contact-page h1 {
    font-size: clamp(36px, 4vw, 56px);
}

.mb-contact-page h2 {
    font-size: clamp(21px, 2vw, 29px);
}

.mb-contact-page p {
    color: var(--contact-muted);
    font-weight: 500;
    margin: 0 0 16px;
}

.mb-contact-hero p {
    max-width: 650px;
    font-size: 15px;
}

.mb-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mb-contact-page .mb-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 46px;
    padding: 12px 23px;
    background: var(--contact-burgundy);
    border: 1px solid var(--contact-burgundy);
    border-radius: 4px;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease;
}

.mb-contact-page .mb-contact-button:hover {
    background: #48121f;
    color: #fff;
}

.mb-contact-page .mb-contact-outline {
    background: transparent;
    color: var(--contact-burgundy);
}

.mb-contact-cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    padding-block: 36px;
}

.mb-contact-card {
    min-width: 0;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--contact-line);
    border-radius: 5px;
}

.mb-contact-card h2 {
    font-size: 23px;
}

.mb-contact-links {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

.mb-contact-links a,
.mb-contact-text-link,
.mb-contact-sidebar a,
.mb-contact-form-note a {
    color: var(--contact-burgundy);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mb-contact-links a:hover,
.mb-contact-text-link:hover,
.mb-contact-sidebar a:hover,
.mb-contact-form-note a:hover {
    text-decoration: underline;
}

.mb-contact-hours {
    margin: 0;
    font-size: 13px;
}

.mb-contact-hours div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--contact-line);
}

.mb-contact-hours div:last-child {
    border-bottom: 0;
}

.mb-contact-hours dd {
    margin: 0;
    font-weight: 600;
}

.mb-contact-main {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 44px;
}

.mb-contact-form-panel,
.mb-contact-sidebar {
    min-width: 0;
    padding: clamp(22px,3vw,36px);
    border: 1px solid var(--contact-line);
    border-radius: 5px;
}

.mb-contact-form-panel {
    background: #fff;
    scroll-margin-top: 180px;
}

.mb-contact-sidebar {
    background: var(--contact-ivory);
}

.mb-contact-form {
    position: relative;
    margin-top: 24px;
}

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

.mb-contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

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

.mb-contact-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--contact-ink);
}

.mb-contact-field label span {
    color: var(--contact-burgundy);
}

.mb-contact-field input,
.mb-contact-field select,
.mb-contact-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 13px;
    margin: 0;
    border: 1px solid #d8cec5;
    border-radius: 4px;
    background: #fff;
    color: var(--contact-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.mb-contact-field textarea {
    min-height: 155px;
    resize: vertical;
}

.mb-contact-field input::placeholder,
.mb-contact-field textarea::placeholder {
    color: #817875;
    font-weight: 400;
}

.mb-contact-field input:focus,
.mb-contact-field select:focus,
.mb-contact-field textarea:focus {
    outline: 2px solid #b29569;
    outline-offset: 1px;
    border-color: var(--contact-burgundy);
}

.mb-contact-form-note {
    font-size: 12px;
    font-weight: 500;
    color: var(--contact-muted);
    margin: 18px 0;
}

.mb-contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mb-contact-feedback {
    padding: 12px 15px;
    border: 1px solid var(--contact-line);
    border-radius: 4px;
    margin: 16px 0;
    font-weight: 500;
}

.mb-contact-success {
    background: #f1f6ee;
    color: #35583a;
}

.mb-contact-error {
    background: #fcf1f2;
    color: #922437;
}

.mb-contact-field-error {
    color: #922437;
    font-size: 12px;
}

.mb-contact-sidebar details {
    border-bottom: 1px solid var(--contact-line);
    padding: 15px 0;
}

.mb-contact-sidebar summary {
    cursor: pointer;
    color: var(--contact-ink);
    font-size: 14px;
    font-weight: 600;
}

.mb-contact-sidebar details p {
    margin: 12px 0 6px;
    font-size: 13px;
}

.mb-contact-sidebar details a {
    font-size: 13px;
}

.mb-contact-direct {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-left: 3px solid #b29569;
}

.mb-contact-direct strong {
    color: var(--contact-burgundy);
    font-weight: 600;
}

.mb-contact-direct p {
    font-size: 13px;
    margin: 5px 0 10px;
}

.mb-contact-direct a {
    display: block;
    font-size: 15px;
}

.mb-contact-location {
    background: var(--contact-ivory);
    border-top: 1px solid var(--contact-line);
    padding-block: 32px;
}

.mb-contact-location-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.mb-contact-location-inner p {
    margin: 0;
}

@media(max-width: 1000px) {
    .mb-contact-main {
        grid-template-columns: minmax(0,1fr);
    }
    .mb-contact-card {
        padding: 20px;
    }
}

@media(max-width: 700px) {
    .mb-contact-container {
        width: calc(100% - 32px);
    }
    .mb-contact-cards {
        grid-template-columns: minmax(0,1fr);
        gap: 12px;
        padding-block: 24px;
    }
    .mb-contact-form-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 15px;
    }
    .mb-contact-field input,
    .mb-contact-field select,
    .mb-contact-field textarea {
        font-size: 16px;
    }
    .mb-contact-form .mb-contact-button {
        width: 100%;
    }
    .mb-contact-form-panel {
        scroll-margin-top: 120px;
    }
}