@charset "UTF-8";

.contact-page .contact-content {
    padding-bottom: clamp(48px, 5vw, 96px);
}

.contact-page .contact-card {
    padding: 40px clamp(20px, 4vw, 72px);
    text-align: left;
    font-size: 16px;
}

.contact-page .contact-card h2 {
    text-align: center;
}

.contact-page .contact-introduction {
    text-align: center;
}

.contact-page .contact-screen-note {
    margin: 20px 0;
    padding: 12px 16px;
    background: #fff3e5;
    border-left: 3px solid #cc7425;
}

.contact-page .contact-required-note {
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-required,
.contact-optional {
    display: inline-block;
    margin-left: 10px;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.contact-required {
    color: #fff;
    background: #a9512d;
}

.contact-optional {
    color: #62544b;
    background: #eee9e4;
}

.contact-required-note .contact-required {
    margin-left: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid #e9ded4;
}

.contact-row > label,
.contact-row > .contact-row-label {
    padding-top: 10px;
    font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #baa99a;
    border-radius: 6px;
    color: #40372f;
    background: #fff;
    font: inherit;
    font-size: 16px;
}

.contact-field textarea {
    resize: vertical;
}

.contact-preferred-dates {
    display: grid;
    gap: 12px;
}

.contact-date-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.contact-date-row input {
    min-width: 0;
    box-sizing: border-box;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #82766c;
}

.contact-page input:focus-visible,
.contact-page select:focus-visible,
.contact-page textarea:focus-visible {
    outline: 3px solid #b77b4d;
    outline-offset: 3px;
}

.contact-consent {
    padding: 28px 0;
    border-top: 1px solid #e9ded4;
    text-align: center;
}

.contact-consent label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    cursor: pointer;
    text-align: left;
}

.contact-consent input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    accent-color: #965b2f;
}

.contact-actions {
    text-align: center;
}

.contact-actions button {
    width: 280px;
    max-width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 28px;
    background: #8b7767;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.contact-actions button:disabled {
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .contact-page .contact-card {
        padding: 28px 20px;
    }

    .contact-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 20px 0;
    }

    .contact-row > label,
    .contact-row > .contact-row-label {
        padding-top: 0;
    }
}

.contact-page [hidden] {
    display: none !important;
}

#contact-inputs {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

#contact-status {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #7a9a50;
    border-radius: 8px;
    background: #f3f8ec;
    white-space: pre-line;
}

#contact-status.is-error {
    border-color: #bd5140;
    background: #fff1ed;
    color: #8d3022;
}

#contact-summary {
    margin: 24px 0;
    overflow-wrap: anywhere;
}

#contact-summary dt {
    padding-top: 16px;
    border-top: 1px solid #e9ded4;
    font-weight: 700;
}

#contact-summary dd {
    margin: 0;
    padding: 8px 0 16px;
    white-space: pre-wrap;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-actions button {
    cursor: pointer;
    background: #a56528;
}

.contact-actions button:disabled {
    opacity: .6;
}

#contact-back {
    background: #f5eee5;
    color: #70461f;
    border: 1px solid #b89a7a;
}
