/* ── Contact — mobile first ──────────────────────────────────────────── */
.contact {
    background: var(--bg-mid);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    bottom: -180px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(173,255,242,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-inner    { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-subtext  {
    font-size: 14.5px; line-height: 1.75;
    color: var(--text-secondary);
    margin-top: 22px; margin-bottom: 56px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }

/* Single column on mobile */
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--text-muted);
}
.form-field input,
.form-field textarea {
    background: rgba(242,237,232,0.04);
    border: 1px solid rgba(242,237,232,0.1);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 14px;
    padding: 14px 17px;
    outline: none;
    width: 100%;
    /* Minimum 44px touch target */
    min-height: 44px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-mauve);
    background: rgba(176,129,186,0.05);
    box-shadow: 0 0 0 3px rgba(176,129,186,0.08);
}
.form-field textarea { resize: vertical; min-height: 134px; }

.btn-submit {
    font-family: var(--font-ui);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--bg-deep);
    background: var(--accent-mint);
    border: none;
    padding: 17px 40px;
    margin-top: 6px;
    width: 100%;
    min-height: 44px;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn-submit:hover, .btn-submit:focus-visible {
    background: #d4fff9;
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(173,255,242,0.28);
}
.btn-submit:active { transform: translateY(0); }

/* ── Desktop ─────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
    .contact  { padding: 128px 72px; }
    .form-row { grid-template-columns: 1fr 1fr; }
}
