.contact-wrapper { max-width: 720px; margin: 0 auto; padding: 120px 20px 80px; }
.contact-header { margin-bottom: 32px; }
.contact-header h1 { font-size: 2rem; font-weight: 900; color: #f8fafc; margin: 0 0 8px; }
.contact-header p { color: #94a3b8; margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row label { display: block; font-size: 0.85rem; font-weight: 700; color: #cbd5e1; margin-bottom: 6px; }
.cf-cats { display: flex; gap: 10px; }
.cf-cat-btn { flex: 1; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: #94a3b8; font-weight: 700; cursor: pointer; font-size: 0.9rem; }
.cf-cat-btn.active { background: #facc15; color: #0f172a; border-color: #facc15; }
.cf-input, .cf-textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.03); color: #f8fafc; font-size: 0.95rem; box-sizing: border-box; }
.cf-textarea { min-height: 160px; resize: vertical; font-family: inherit; }
.cf-files { display: flex; flex-direction: column; gap: 8px; }
.cf-file-row { display: flex; gap: 8px; align-items: center; }
.cf-add-file { align-self: flex-start; padding: 6px 14px; border-radius: 8px; border: 1px dashed rgba(255,255,255,0.25); background: transparent; color: #94a3b8; cursor: pointer; font-weight: 700; }
.cf-hint { font-size: 0.78rem; color: #64748b; }
.cf-captcha { display: flex; align-items: center; gap: 12px; }
.cf-captcha-q { font-weight: 800; color: #facc15; min-width: 110px; }
.cf-submit { padding: 14px; border-radius: 10px; border: none; background: #facc15; color: #0f172a; font-weight: 900; font-size: 1rem; cursor: pointer; }
.cf-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-error { color: #f87171; font-size: 0.85rem; display: none; }
.cf-success { display: none; text-align: center; padding: 60px 20px; }
.cf-success h2 { color: #f8fafc; font-size: 1.5rem; margin-bottom: 12px; }
.cf-success p { color: #94a3b8; }
.cf-success a { color: #facc15; text-decoration: none; font-weight: 700; }

[data-theme="light"] .contact-header h1 { color: #0f172a; }
[data-theme="light"] .contact-header p { color: #64748b; }
[data-theme="light"] .cf-row label { color: #334155; }
[data-theme="light"] .cf-cat-btn { background: #fff; color: #64748b; border-color: rgba(15,23,42,0.12); }
[data-theme="light"] .cf-cat-btn.active { background: #facc15; color: #0f172a; border-color: #facc15; }
[data-theme="light"] .cf-input, [data-theme="light"] .cf-textarea { background: #fff; color: #0f172a; border-color: rgba(15,23,42,0.28); }
[data-theme="light"] .cf-hint { color: #94a3b8; }
[data-theme="light"] .cf-success h2 { color: #0f172a; }
