.contact-container { width: min(920px, calc(100% - 32px)); margin: calc(var(--header-height) + 56px) auto 86px; padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact-title { margin: 0 0 8px; color: var(--navy-900); font-size: clamp(2rem,4vw,3rem); line-height: 1.1; letter-spacing: -.04em; text-align: center; }
.contact-subtitle { max-width: 680px; margin: 0 auto 40px; color: var(--muted); text-align: center; }
.form-section { margin: 0 0 24px; padding: 26px; background: #f7fafb; border: 1px solid var(--line); border-radius: var(--radius); }
.section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--navy-800); font-size: 1.15rem; }
.section-title::before { content: ""; width: 10px; height: 10px; background: var(--amber-500); border-radius: 3px; }
.client-type { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; border: 0; }
.client-type-card { position: relative; display: block; margin: 0; cursor: pointer; }
.client-type-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.client-type-card span { display: flex; min-height: 92px; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 20px; background: #fff; border: 1px solid #c9d4dc; border-radius: 12px; transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s; }
.client-type-card strong { color: var(--navy-800); font-size: .98rem; }
.client-type-card small { color: var(--muted); font-size: .8rem; font-weight: 500; line-height: 1.4; }
.client-type-card input:checked + span { background: rgba(11,143,199,.06); border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(11,143,199,.12); }
.client-type-card input:focus-visible + span { outline: 3px solid rgba(11,143,199,.28); outline-offset: 2px; }
.client-type-card:hover span { transform: translateY(-1px); border-color: var(--blue-500); }
.professional-fields { animation: reveal-fields .25s ease-out; }
.form-row--location { grid-template-columns: minmax(140px, .45fr) 1fr; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@keyframes reveal-fields { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 19px; }
.form-group:last-child { margin-bottom: 0; }
label { display: block; margin-bottom: 7px; color: #293744; font-size: .88rem; font-weight: 700; }
.required { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #c9d4dc; border-radius: 9px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(11,143,199,.12); }
.help-text { margin-top: 7px; color: var(--muted); font-size: .8rem; }
.hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
hr { height: 1px; margin: 30px 0; background: var(--line); border: 0; }
.privacy-notice { margin: 0 0 18px; padding: 18px 20px; color: #405461; background: #eef7fa; border: 1px solid #cce4ed; border-left: 4px solid var(--blue-500); border-radius: 10px; font-size: .82rem; line-height: 1.55; }
.privacy-notice strong { display: block; margin-bottom: 5px; color: var(--navy-800); font-size: .88rem; }
.privacy-notice p { margin: 5px 0; }
.privacy-notice a { color: var(--blue-600); font-weight: 700; }
.submit-btn { width: 100%; min-height: 56px; padding: 14px 24px; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); border: 0; border-radius: 11px; box-shadow: 0 12px 26px rgba(8,120,168,.25); font-weight: 780; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(8,120,168,.32); }
.submit-btn:disabled { opacity: .7; cursor: wait; transform: none; }
@media (max-width: 650px) {
  .contact-container { width: calc(100% - 20px); margin-top: calc(var(--header-height) + 22px); margin-bottom: 42px; padding: 28px 18px; border-radius: var(--radius); }
  .contact-title { font-size: clamp(2rem, 10vw, 2.65rem); }
  .contact-subtitle { margin-bottom: 32px; }
  .form-section { padding: 21px 16px; }
  .form-row, .client-type { grid-template-columns: 1fr; gap: 0; }
  .client-type { gap: 12px; }
  .client-type-card span { min-height: 78px; }
  .section-title { line-height: 1.3; }
  select { text-overflow: ellipsis; }
  .submit-btn { min-height: 58px; }
}

@media (max-width: 370px) {
  .contact-container { width: calc(100% - 12px); padding-inline: 12px; }
  .form-section { padding-inline: 12px; }
}
