.contact-page {
  color: #282d30;
  padding-bottom: 2.5rem;
}

.contact-page__header {
  max-width: 860px;
  margin: 1.1rem 0 1.55rem;
}

.contact-page__header h1 {
  margin: 0 0 .55rem;
  color: #282d30;
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1.12;
}

.contact-page__lead,
.contact-page__lead p {
  margin: 0;
  color: #667078;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-details,
.contact-form-card {
  min-width: 0;
}

.contact-details {
  padding-top: 1rem;
}

.contact-section-title,
.contact-form-card__header h2,
.contact-map-section__header h2,
.contact-form-success h2 {
  margin: 0;
  color: #282d30;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
}

.contact-section-title {
  margin-bottom: 0;
  padding-bottom: .7rem;
  border-bottom: 1px solid #e3e5e6;
}

.contact-details__grid {
  border-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 0;
  gap: .75rem;
  padding: .78rem 0;
  border: 0;
  border-bottom: 1px solid #e3e5e6;
  background: transparent;
}

.contact-card:hover {
  border-color: #e3e5e6;
  box-shadow: none;
  transform: none;
}

.contact-card--wide {
  grid-column: auto;
}

.contact-card__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: .05rem;
  background: transparent;
  color: #687178;
}

.contact-card__icon svg,
.contact-form-success__icon svg,
.contact-card__action svg,
.contact-form__submit svg,
.contact-map-section__header a svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  margin: 0 0 .28rem;
  color: #282d30;
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.3;
}

.contact-card p,
.contact-card a:not(.contact-card__action) {
  display: block;
  margin: 0 0 .12rem;
  color: #4f5960;
  font-size: .94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-card a:not(.contact-card__action):hover {
  color: #282d30;
}

.contact-card__muted {
  color: #7b848a !important;
}

.contact-card__action,
.contact-map-section__header a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .25rem;
  color: #394147;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-card__action svg,
.contact-map-section__header a svg,
.contact-form__submit svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.contact-card__action:hover svg,
.contact-map-section__header a:hover svg,
.contact-form__submit:hover svg {
  transform: translateX(2px);
}

.contact-form-card {
  padding: 1rem 1.1rem;
  border: 1px solid #e0e3e5;
  background: #fafafa;
}

.contact-form-card__header {
	margin-bottom: .72rem;
	padding: 0;
	border: 0;
}

.contact-form-card__header p {
	margin: .22rem 0 0;
  color: #6c757b;
  font-size: .92rem;
  line-height: 1.4;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.contact-form__field {
  min-width: 0;
	margin-bottom: .55rem;
}

.contact-form__field label {
  display: block;
  margin-bottom: .28rem;
  color: #394147;
  font-size: .88rem;
  font-weight: 500;
}

.contact-form .form-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5d9db;
  border-radius: 0;
  background: #fff;
  color: #282d30;
  font-size: .96rem;
  box-shadow: none;
}

.contact-form textarea.form-control {
	min-height: 162px;
  padding-top: .65rem;
  resize: vertical;
}

.contact-form .form-control:focus {
  border-color: #7f898f;
  box-shadow: 0 0 0 2px rgba(94, 104, 110, .12);
  outline: 0;
}

.contact-form .form-control::placeholder {
  color: #9ca3a7;
  opacity: 1;
}

.contact-form__captcha {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: end;
  gap: .65rem;
	min-width: 0;
	margin: 0;
}

.contact-form__captcha img {
  display: block;
  width: 110px !important;
  min-width: 110px;
  max-width: 110px;
  height: 48px !important;
  min-height: 48px;
  max-height: 48px;
  border: 1px solid #d5d9db;
  object-fit: contain;
  background: #fff;
}

.contact-form__captcha .contact-form__field {
  margin: 0;
}

.contact-form__captcha .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form__actions {
  display: flex;
  align-items: stretch;
  gap: .75rem;
}

.contact-form__actions > .antispam-altcha {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.contact-form__actions > .antispam-altcha altcha-widget,
.contact-form__actions > .antispam-altcha .altcha-main {
  min-height: 52px;
  box-sizing: border-box;
}

.contact-form__actions > .antispam-altcha--invisible {
  flex: 0 0 0;
  width: 0;
}

.contact-form__actions .contact-form__captcha {
  flex: 1 1 auto;
}

.contact-form__submit {
  display: inline-flex;
  min-width: 158px;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .58rem 1.2rem;
  border: 1px solid #fec50e;
  border-radius: 0;
  background: #fec50e;
  color: #282d30;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  margin-left: auto;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus {
  border-color: #f4b900;
  background: #f4b900;
  color: #282d30;
  outline: 0;
}

.contact-form-error {
  margin-bottom: 1rem;
  padding: .75rem .9rem;
  border-left: 3px solid #d7a000;
  background: #fff5d8;
  color: #5c4a17;
  font-size: .9rem;
}

.contact-form-success {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
}

.contact-form-success__icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: #fff4c7;
  color: #485158;
}

.contact-form-success__icon svg {
  width: 27px;
  height: 27px;
}

.contact-form-success p {
  margin: .7rem 0 0;
  color: #566067;
}

.contact-form-success__note {
  color: #7b848a !important;
  font-size: .9rem;
}

.contact-map-section {
  margin-top: 2rem;
}

.contact-map-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-map-section__header p {
  margin: .35rem 0 0;
  color: #6c757b;
}

.contact-map-section__header a {
  flex: 0 0 auto;
  margin: 0 0 .08rem;
}

.contact-map {
  min-height: 400px;
  overflow: hidden;
  border: 1px solid #e0e3e5;
  background: #f3f3f2;
}

.contact-map iframe,
.contact-map ymaps {
  max-width: 100%;
}

@media (max-width: 1199px) {
  .contact-page__layout {
    grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
    gap: 2.2rem;
  }
}

@media (max-width: 991px) {
  .contact-page__header {
    margin: 1rem 0 1.5rem;
  }

  .contact-page__layout {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding-bottom: 1.5rem;
  }

  .contact-page__header h1 {
    font-size: 1.85rem;
  }

  .contact-page__lead,
  .contact-page__lead p {
    font-size: .98rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: .82rem 0;
  }

  .contact-form-card {
    padding: .9rem;
  }

  .contact-form__actions,
  .contact-map-section__header {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__actions > .antispam-altcha {
    width: 100%;
  }

  .contact-form__submit {
    width: 100%;
    margin-left: 0;
  }

  .contact-map-section {
    margin-top: 1.8rem;
  }

  .contact-map {
    min-height: 320px;
  }

  .contact-map-section__header a {
    align-self: flex-start;
  }
}
