:root {
    color: #171717;
    font-family: "Inter", Arial, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 320px;
    background: #f4f4f4;
}

body {
    padding: 20px 16px 10px;
}

.contact-page {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.intro {
    margin: 0 0 38px;
    font-size: 18px;
    line-height: 1.5;
}

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

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

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

label {
    color: #818181;
    font-size: 15px;
    line-height: 1.4;
}

input,
textarea {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #171717;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input {
    height: 42px;
    padding: 8px 12px;
}

textarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: #84134c;
    box-shadow: 0 0 0 2px rgb(132 19 76 / 12%);
}

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

.recaptcha-wrap {
    width: fit-content;
    max-width: 100%;
    margin: 17px 0 15px;
    padding: 10px;
    border: 1px solid #e2d7dc;
    border-left: 4px solid #84134c;
    background: #fff;
    box-shadow: 0 8px 18px rgb(132 19 76 / 8%);
}

.recaptcha-label {
    margin: 0 0 8px;
    color: #84134c;
    font-size: 11px;
    font-weight: 700;
}

.recaptcha-frame {
    min-height: 78px;
    overflow: hidden;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 26px;
    color: #252525;
    cursor: pointer;
}

.consent-row input {
    width: 14px;
    height: 14px;
    margin: 1px 0 0;
    accent-color: #84134c;
}

.consent-row span {
    font-size: 12px;
    line-height: 1.4;
}

button {
    min-width: 111px;
    min-height: 34px;
    padding: 9px 17px;
    border: 0;
    border-radius: 4px;
    background: #84134c;
    color: #fff;
    font: 500 11px/1.3 "Inter", Arial, sans-serif;
    cursor: pointer;
}

button:hover {
    background: #6f0e3f;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.message {
    display: none;
    margin: -22px 0 22px;
    font-size: 13px;
}

.error {
    color: #a40000;
}

.success-panel {
    display: none;
    padding: 70px 20px;
    text-align: center;
}

.success-panel h1 {
    margin: 0 0 12px;
    color: #84134c;
    font-size: 24px;
}

.success-panel p {
    margin: 0;
    color: #565656;
    line-height: 1.6;
}

@media (max-width: 640px) {
    body {
        padding-inline: 18px;
    }

    .intro {
        margin-bottom: 28px;
        font-size: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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