.contact-form-wrapper {
    width: min(680px, 100%);
    margin: 1.75rem auto 0;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.4rem;
}

.form-field label {
    color: #173246;
    font-size: 0.92rem;
    font-weight: 750;
}

.optional {
    color: #607483;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    color: #132432;
    background: #ffffff;
    border: 1px solid #abc7d5;
    border-radius: 0.6rem;
    font: inherit;
    line-height: 1.4;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
    min-height: 9rem;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #007fb7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 127, 183, 0.18);
}

.submit-button {
    min-height: 3rem;
    padding: 0.75rem 1.4rem;
    justify-self: start;
    color: #ffffff;
    background: #007fb7;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background-color 150ms ease, transform 150ms ease;
}

.submit-button:hover {
    background: #005f89;
    transform: translateY(-1px);
}

.submit-button:focus-visible {
    outline: 3px solid #004e70;
    outline-offset: 3px;
}

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

.form-success,
.form-unavailable {
    padding: 0.9rem 1rem;
    border-radius: 0.6rem;
}

.form-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.form-unavailable {
    color: #78350f;
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.form-privacy {
    margin: 0;
    color: #607483;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .form-field input,
    .form-field textarea,
    .submit-button {
        transition: none;
    }
}
