/* Contact — page-specific styles */

.contact-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Form */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px;
}
@media (max-width: 560px) { .contact-form-wrap { padding: 30px 24px; } }

.hidden-field { display: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: .82rem; font-weight: 600; color: var(--ink);
  margin-bottom: 8px; letter-spacing: .01em;
}
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

/* Select with custom chevron */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; }
.select-chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--teal-deep); pointer-events: none;
}

.btn--full { width: 100%; justify-content: center; margin-top: 6px; }
.form-reassure { text-align: center; margin-top: 16px; font-size: .84rem; color: var(--muted); }

/* Success state */
.form-success { text-align: center; padding: 30px 10px; }
.form-success__mark {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal-wash);
  color: var(--teal-deep); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.form-success__mark svg { width: 30px; height: 30px; }
.form-success p { max-width: 46ch; margin: 0 auto; }
.form-success a { color: var(--teal-deep); font-weight: 600; }

/* Sidebar */
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side__block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
}
.contact-side__block h3 {
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 18px;
}
.contact-side__block--urgent { background: var(--ink); border-color: var(--ink); }
.contact-side__block--urgent h3 { color: var(--teal-pale); }
.contact-side__phone {
  display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.contact-side__phone:hover { color: var(--teal-pale); }
.contact-side__email { display: block; color: #B9C7D2; font-size: .94rem; }
.contact-side__email:hover { color: var(--teal-pale); }

.contact-office { margin-bottom: 18px; }
.contact-office:last-child { margin-bottom: 0; }
.contact-office strong { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 3px; }
.contact-office span { font-size: .88rem; color: var(--body); line-height: 1.5; }

.contact-fam {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-size: .94rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.contact-fam:last-child { border-bottom: none; }
.contact-fam .arw { color: var(--teal-deep); transition: transform .2s var(--ease); }
.contact-fam:hover { color: var(--teal-deep); }
.contact-fam:hover .arw { transform: translateX(4px); }
