:root {
    --bg: #F9F2E8;
    --card: #fff;
    --ink: #2a2a2a;
    --muted: #6b7280;
    --ring: #aac2cf;
    --accent: #aac2cf;
    --accent-ink: #f4f5ed;
    --radius: 18px;
    --radius-pill: 999px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.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;
}

.btn {
    appearance: none;
    border: 0;
    padding: .8rem 1.15rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 6px 16px rgba(199, 118, 89, .28);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: #eff2f6;
    color: #4b5563;
}

.btn-ghost:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07);
}