.rz-contact {
  --rz-navy: #0b1026;
  --rz-deep: #003b73;
  --rz-blue: #0077c8;
  --rz-cyan: #00b7ff;
  --rz-mint: #42d3a5;
  --rz-ink: #1a1f29;
  --rz-surface: #f4f7fa;
  --rz-line: #d8e0ea;
  --rz-signal: #ff6b3d;
  --rz-muted: #667184;
  color: var(--rz-ink);
}

.rz-contact *,
.rz-contact *::before,
.rz-contact *::after {
  box-sizing: border-box;
}

.rz-contact__head {
  max-width: 820px;
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rz-line);
}

.rz-contact__eyebrow {
  margin: 0 0 8px;
  color: var(--rz-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rz-contact h1 {
  margin: 0 0 12px;
  color: var(--rz-deep);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 900;
}

.rz-contact__head p {
  margin: 0;
  color: var(--rz-muted);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.rz-contact__stack {
  display: grid;
  gap: 30px;
  min-width: 0;
}

.rz-contact-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rz-contact-quick__item {
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    var(--rz-navy);
  background-size: 56px 56px;
  border: 1px solid rgba(0, 224, 255, .16);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.rz-contact-quick__item span {
  display: block;
  margin-bottom: 6px;
  color: var(--rz-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rz-contact-quick__item strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rz-contact-quick__item em {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  font-style: normal;
  line-height: 1.35;
}

.rz-contact-quick__item:hover,
.rz-contact-quick__item:focus {
  border-color: var(--rz-cyan);
  color: #fff;
  text-decoration: none;
}

.rz-contact-quick__item:hover strong,
.rz-contact-quick__item:focus strong {
  color: var(--rz-cyan);
}

.rz-contact-map,
.rz-contact-team {
  min-width: 0;
  padding: 2px 0 0;
}

.rz-contact-section-head {
  margin: 0 0 18px;
}

.rz-contact-section-head p {
  margin: 0 0 7px;
  color: var(--rz-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.rz-contact-section-head h2 {
  margin: 0;
  color: var(--rz-deep);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.rz-contact-map__frame {
  overflow: hidden;
  border: 1px solid var(--rz-line);
  border-radius: 8px;
  background: var(--rz-surface);
}

.rz-contact-map__frame iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.rz-contact-map__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 12px;
  color: var(--rz-deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rz-contact-map__link:hover,
.rz-contact-map__link:focus {
  color: var(--rz-blue);
}

.rz-contact-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rz-contact-person {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rz-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.rz-contact-person img {
  width: 86px;
  height: 86px;
  padding: 4px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  object-position: center bottom;
}

.rz-contact-person__body {
  min-width: 0;
}

.rz-contact-person h3 {
  margin: 0 0 6px;
  color: var(--rz-deep);
  font-size: 20px;
  line-height: 1.16;
}

.rz-contact-person__role {
  margin: 0 0 7px;
  color: var(--rz-ink);
  font-weight: 900;
  line-height: 1.35;
}

.rz-contact-person__scope {
  margin: 0 0 10px;
  color: var(--rz-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rz-contact-person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  font-size: 14px;
  line-height: 1.3;
}

.rz-contact-person__links a {
  color: var(--rz-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.rz-contact-person__links a:hover,
.rz-contact-person__links a:focus {
  color: var(--rz-blue);
}

.rz-contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--rz-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(11, 16, 38, .08);
}

.rz-contact-purpose,
.rz-contact-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rz-contact-purpose legend,
.rz-contact-type legend {
  width: 100%;
  margin-bottom: 4px;
  color: var(--rz-deep);
  font-weight: 900;
}

.rz-contact-purpose label,
.rz-contact-type label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #ccd9e8;
  border-radius: 6px;
  background: #f8fbff;
  color: var(--rz-ink);
  font-weight: 700;
}

.rz-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.rz-contact-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rz-contact-full {
  grid-column: 1 / -1;
}

.rz-contact-field {
  display: grid;
  gap: 7px;
  color: var(--rz-deep);
  font-size: 14px;
  font-weight: 900;
}

.rz-contact-field b,
.rz-contact-purpose b {
  color: var(--rz-signal);
}

.rz-contact-topic {
  position: relative;
}

.rz-contact-topic select {
  font-weight: 650;
}

.rz-contact-field input,
.rz-contact-field textarea,
.rz-contact-field select {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #cbd7e6;
  border-radius: 6px;
  background: #fff;
  color: var(--rz-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.rz-contact-field textarea {
  min-height: 116px;
  resize: vertical;
}

.rz-contact-field input:focus,
.rz-contact-field textarea:focus,
.rz-contact-field select:focus {
  border-color: var(--rz-cyan);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, .18);
  outline: 0;
}

.rz-contact-help,
.rz-contact-dadata-status,
.rz-contact-topic-hint {
  color: var(--rz-muted);
  font-size: 13px;
  font-weight: 500;
}

.rz-contact-topic-hint {
  display: block;
  min-height: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rz-contact-dadata-status.is-ok {
  color: #176334;
  font-weight: 800;
}

.rz-contact-dadata-status.is-error {
  color: #9b1c1c;
  font-weight: 800;
}

.rz-contact-checks {
  display: grid;
  gap: 12px;
}

.rz-contact-checks label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--rz-ink);
  font-weight: 600;
}

.rz-contact-checks input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.rz-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.rz-contact-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--rz-blue);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  padding: 13px 22px;
}

.rz-contact-actions button:hover,
.rz-contact-actions button:focus {
  background: var(--rz-deep);
}

.rz-contact-actions button[disabled] {
  cursor: wait;
  opacity: .7;
}

.rz-contact-status {
  min-height: 22px;
  margin: 0;
  color: var(--rz-muted);
  font-size: 15px;
}

.rz-contact-status.is-ok {
  color: #176334;
  font-weight: 800;
}

.rz-contact-status.is-error {
  color: #9b1c1c;
  font-weight: 800;
}

.rz-contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .rz-contact-grid--two,
  .rz-contact-team__grid,
  .rz-contact-quick {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rz-contact {
    padding: 0 14px;
  }

  .rz-contact h1 {
    font-size: 30px;
  }

  .rz-contact-form,
  .rz-contact-quick__item {
    padding: 18px 14px;
  }

  .rz-contact-section-head h2 {
    font-size: 24px;
  }

  .rz-contact-type {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rz-contact-type label {
    width: 100%;
  }

  .rz-contact-person {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 14px;
  }

  .rz-contact-person img {
    width: 70px;
    height: 70px;
  }

  .rz-contact-person h3 {
    font-size: 18px;
  }

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

  .rz-contact-actions button {
    width: 100%;
  }
}
