body.sr-ready {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sr-ready .site-nav__item--contact .site-nav__link {
  color: #1677ff;
}

.sr-ready .site-nav__item--contact .site-nav__link::after {
  opacity: 1;
  transform: scaleX(1);
}



.contact-main {
  width: calc(100% - (var(--header-pad) * 2));
  max-width: var(--header-shell);
  flex: 1 0 auto;
  min-height: 620px;
  margin: 34px auto 92px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 36fr 64fr;
  gap: 20px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel {
  border: 1px solid #d6e2f0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 36px rgba(13, 45, 84, .08);
}

.contact-info-panel {
  padding: 36px 34px;
}

.contact-form-panel {
  padding: 36px 38px 38px;
}

.contact-info-title,
.contact-form-title {
  margin: 0 0 34px;
  color: #071f3f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.contact-form-title {
  margin-bottom: 28px;
}

.contact-form-note {
  margin: 0 0 22px;
  color: #49617d;
  font-size: 14px;
  line-height: 1.7;
}

.ci-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 22px 0;
}

.ci-item + .ci-item {
  border-top: 1px solid #dfe8f5;
}

.ci-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #eef5ff;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #1677ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ci-body h3 {
  margin: 0 0 12px;
  color: #071f3f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.ci-body p {
  margin: 0;
  color: #49617d;
  font-size: 13px;
  line-height: 1.75;
  word-break: break-word;
}

.online-form {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.online-form li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.online-form li.w-100 {
  grid-column: 1 / -1;
}

.online-form li.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.online-form input,
.online-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid #cddced;
  border-radius: 0;
  background: #fbfdff;
  color: #1c314a;
  font-size: 14px;
  line-height: 1.5;
}

.online-form input:focus,
.online-form textarea:focus {
  outline: none;
  border-color: #1677ff;
  background: #fff;
}

.online-form textarea {
  min-height: 104px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-message-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #1677ff;
  border-radius: 0;
  background: transparent;
  color: #096de6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.contact-message-btn:hover,
.contact-message-btn:focus {
  border-color: #1677ff;
  background: #f5f9ff;
}

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

@media (max-width: 767px) {
  .contact-main {
    width: calc(100% - (var(--header-pad) * 2));
    min-height: 0;
    margin: 28px auto 64px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 28px 22px;
  }

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

/* -- Form validation states -------------------------------- */
.online-form input.field-error,
.online-form textarea.field-error {
  border-color: #e53e3e;
}

.field-error-msg {
  display: block;
  margin-top: 4px;
  color: #e53e3e;
  font-size: 12px;
}
