.contact-wrap {
    background: var(--card);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(1rem, 3vw, 2rem);
    max-width: 780px;
    margin: 2rem auto;
    border: 1px solid rgba(0, 0, 0, .06);
}

.contact-title {
    font-size: clamp(1.1rem, 1.2vw + .9rem, 1.5rem);
    font-weight: 700;
    margin-bottom: .75rem;
}

.contact-sub {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.form {
    display: grid;
    gap: .9rem;
}

@media (min-width: 720px) {
    .row-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .9rem;
    }
}

label {
    display: block;
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: .35rem;
    letter-spacing: .2px;
}

.required::after {
    content: " *";
    color: #e06363;
}

.input,
.textarea {
    width: 100%;
    padding: .9rem 1.1rem;
    border: 1.5px solid #d8dde3;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .08s ease;
    outline: none;
}

.textarea {
    border-radius: var(--radius);
    min-height: 120px;
    resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
    color: #9aa3ad;
}

.input:focus-visible,
.textarea:focus-visible {
    border-color: var(--ring);
    box-shadow: 0 0 0 6px rgba(170, 194, 207, .25);
}

.is-error {
    border-color: #e06363;
    box-shadow: 0 0 0 6px rgba(224, 99, 99, .15);
}

.help {
    margin-top: .35rem;
    font-size: .85rem;
    color: #c05050;
}

.actions {
    display: flex;
    gap: .6rem;
    margin-top: .4rem;
}
