.contact-page {
    background: #f7f6f3;
    color: #302f2f;
}

.contact-hero {
    padding: 104px 0 112px;
    overflow: hidden;
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
}

.contact-intro {
    padding-top: 34px;
}

.contact-eyebrow,
.contact-form-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a96016;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.contact-eyebrow span {
    width: 25px;
    height: 2px;
    background: #f89520;
}

.contact-intro h1 {
    margin: 25px 0 24px;
    color: #302f2f;
    font-size: clamp(48px, 5.6vw, 76px);
    line-height: .99;
    letter-spacing: -.065em;
    font-weight: 700;
}

.contact-intro h1 em {
    color: #e88920;
    font-style: normal;
}

.contact-lead {
    max-width: 470px;
    color: #696766;
    font-size: 16px;
    line-height: 1.85;
}

.contact-details {
    display: grid;
    gap: 21px;
    margin-top: 46px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.contact-detail-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e6dfd6;
    border-radius: 50%;
    color: #d97b16;
    font-size: 18px;
    transition: background .2s ease, border-color .2s ease;
}

.contact-detail:hover .contact-detail-icon {
    background: #fff0dc;
    border-color: #f3c58e;
}

.contact-detail span:last-child {
    display: grid;
    gap: 4px;
}

.contact-detail small {
    color: #92908d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.contact-detail strong {
    color: #343230;
    font-size: 15px;
    font-weight: 650;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 62px;
    padding-top: 23px;
    border-top: 1px solid #e8e3dc;
}

.contact-note-mark {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #302f2f;
    color: #f7a33c;
    font-size: 14px;
    font-weight: 800;
}

.contact-note p {
    margin: 0;
    color: #77736f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.contact-form-wrap {
    padding: clamp(27px, 4vw, 45px);
    border: 1px solid #eee9e2;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(43, 38, 31, .055);
}

.contact-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 31px;
}

.contact-form-kicker {
    display: block;
    font-size: 9px;
}

.contact-form-heading h2 {
    margin: 10px 0 0;
    color: #302f2f;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.contact-form-number {
    padding-top: 4px;
    color: #aaa49d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.contact-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.contact-field label {
    color: #45413d;
    font-size: 11px;
    font-weight: 700;
}

.contact-field label span,
.contact-form-footnote span {
    color: #df841e;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #e8e4de;
    border-radius: 3px;
    outline: none;
    background: #fcfbf9;
    color: #302f2f;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field input,
.contact-field select {
    height: 48px;
    padding: 0 13px;
}

.contact-field textarea {
    min-height: 126px;
    padding: 13px;
    resize: vertical;
    line-height: 1.6;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #e99a3c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(248, 149, 32, .12);
}

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

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

.captcha-panel {
    padding: 17px;
    border: 1px solid #eae6df;
    border-radius: 3px;
    background: #faf9f7;
}

.captcha-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.captcha-heading strong {
    color: #3a3733;
    font-size: 12px;
}

.captcha-heading p {
    margin: 4px 0 0;
    color: #85817b;
    font-size: 11px;
}

.captcha-symbol {
    color: #d78325;
    font-size: 23px;
}

.captcha-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    max-width: 330px;
}

.captcha-tile {
    position: relative;
    display: block;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    cursor: pointer;
    background: #e9e5df;
}

.captcha-tile input {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #e88920;
    cursor: pointer;
}

.captcha-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease, opacity .2s ease;
}

.captcha-tile:hover img {
    transform: scale(1.04);
}

.captcha-tile:has(input:checked) {
    outline: 3px solid #e88920;
    outline-offset: -3px;
}

.captcha-tile:has(input:checked) img {
    opacity: .78;
}

.captcha-check {
    position: absolute;
    right: 7px;
    bottom: 7px;
    display: none;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e88920;
    color: white;
    font-size: 14px;
    font-weight: 800;
}

.captcha-tile:has(input:checked) .captcha-check {
    display: grid;
}

.captcha-refresh {
    display: inline-block;
    margin-top: 11px;
    color: #9b5d19;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.captcha-refresh:hover {
    text-decoration: underline;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 0 19px;
    border: 0;
    border-radius: 3px;
    background: #ed9226;
    color: #252321;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.contact-submit:hover {
    background: #f5a13c;
    transform: translateY(-1px);
}

.contact-submit span {
    font-size: 19px;
}

.contact-form-footnote {
    margin: -10px 0 0;
    color: #99948d;
    font-size: 10px;
}

.contact-alert {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.6;
}

.contact-alert-success {
    border: 1px solid #cfe5d5;
    background: #f2faf4;
    color: #285b37;
}

.contact-alert-error {
    border: 1px solid #f0d4c9;
    background: #fff7f3;
    color: #8c3e29;
}

.contact-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

@media (max-width: 900px) {
    .contact-hero {
        padding: 72px 0 82px;
    }

    .contact-hero-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-intro {
        padding-top: 0;
    }

    .contact-note {
        margin-top: 35px;
    }
}

@media (max-width: 560px) {
    .contact-hero {
        padding: 52px 0 62px;
    }

    .contact-intro h1 {
        font-size: clamp(44px, 13vw, 60px);
    }

    .contact-form-wrap {
        padding: 23px 18px;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .captcha-panel {
        padding: 13px;
    }
}
