.contact-page__body {
  margin-bottom: 40px;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field span {
  font-size: 12px;
  color: var(--color-secondary);
  padding-inline: 4px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--color-gray-100);
  border-radius: 12px;
  background: transparent;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #000;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--color-primary);
}

.contact-field--textarea textarea {
  min-height: 160px;
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info__icon {
  width: clamp(28px, 4vw, 45px);
  height: clamp(28px, 4vw, 45px);
  color: var(--color-gray-100);
  flex-shrink: 0;
}

.contact-info__title {
  font-weight: 300;
}

.contact-info__title--primary {
  color: var(--color-primary);
  font-size: clamp(12px, 3vw, 20px);
  margin-bottom: 4px;
}

.contact-info__title--secondary {
  font-size: clamp(12px, 3vw, 19px);
  color: #000;
}

.contact-info__title--secondary a {
  color: inherit;
}

.contact-info__title--span {
  color: var(--color-secondary);
  font-size: clamp(8px, 2vw, 10px);
}

.contact-page__map {
  display: block;
  width: 100%;
  height: 500px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  margin-top: 50px;
  background: #f5f5f5;
}

@media (max-width: 1024px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
  }

  .contact-info__item {
    flex: 1 1 200px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-page__map {
    height: 260px;
    border-radius: 24px;
    margin-top: 28px;
  }

  .contact-info {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info__item {
    flex: none;
    flex-direction: row;
    align-items: flex-start;
    text-align: start;
  }

  .contact-form__submit .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
