/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-block {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-of-type {
  border-bottom: 0;
}

.contact-block h2 {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-block p,
.contact-block a {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.contact-block a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-block .sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.lead-form {
  padding: 34px 32px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.lead-form h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.lead-form .form-intro {
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.field .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(31, 80, 97, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 80, 97, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aacb2;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.form-status {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  min-height: 1.4em;
}

.form-status.is-ok {
  color: #1f6b4a;
}

.form-status.is-error {
  color: #a12a1f;
}

.form-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.tz-note {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.65;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  padding: 26px 24px;
}

.map-frame h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.map-frame p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.66;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .lead-form {
    padding: 26px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
