.contact-page {
  overflow: hidden;
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    radial-gradient(circle at 83% 20%, rgba(0, 166, 232, .22), transparent 27%),
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 48%),
    #070a0f;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -250px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.01);
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
}

.contact-hero__en,
.contact-kicker,
.contact-complete__en {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 78px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .03em;
}

.contact-hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 2;
}

.contact-narrow {
  width: min(calc(100% - 48px), 980px);
  margin-inline: auto;
}

.contact-info {
  padding: 86px 0 94px;
  background: #f6f7f8;
}

.contact-info__head h2,
.contact-form-section__head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .025em;
}

.contact-info__grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d6dadd;
  border-bottom: 1px solid #d6dadd;
}

.contact-info__card {
  min-height: 168px;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  gap: 7px 14px;
  transition: background .2s ease, color .2s ease;
}

.contact-info__card + .contact-info__card {
  border-left: 1px solid #d6dadd;
}

.contact-info__card--tel:hover {
  color: #fff;
  background: #0a0d11;
}

.contact-info__label {
  flex: 0 0 100%;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.contact-info__card strong {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .03em;
}

.contact-info__card > span:last-child:not(.contact-info__label) {
  font-size: 12px;
}

.contact-form-section {
  padding: 106px 0 128px;
}

.contact-form-section__head {
  margin-bottom: 54px;
}

.contact-form-section__head > p:not(.contact-kicker):not(.contact-required-note) {
  margin: 22px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.contact-required-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #737373;
}

.contact-required-note span {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 8px;
  color: #fff;
  background: #ea0808;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact-form {
  border-top: 1px solid #d9dde0;
}

.contact-field {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  padding: 30px 0;
  border-bottom: 1px solid #d9dde0;
}

.contact-field > label {
  padding-top: 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-badge {
  display: inline-block;
  margin-right: 9px;
  padding: 2px 7px;
  color: #fff;
  background: #ea0808;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .08em;
  vertical-align: 2px;
}

.contact-badge--optional {
  color: #555;
  background: #e9ecef;
}

.contact-control input,
.contact-control textarea {
  width: 100%;
  border: 1px solid #cfd4d8;
  border-radius: 0;
  outline: none;
  color: #111;
  background: #fff;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-control input {
  min-height: 54px;
  padding: 10px 15px;
}

.contact-control textarea {
  min-height: 220px;
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.8;
}

.contact-control input:focus,
.contact-control textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,166,232,.11);
}

.contact-field.has-error .contact-control input,
.contact-field.has-error .contact-control textarea {
  border-color: #bf2a2a;
}

.contact-help {
  margin: 7px 0 0;
  color: #808080;
  font-size: 11px;
}

.contact-error {
  margin: 7px 0 0;
  color: #b51d1d;
  font-size: 12px;
  font-weight: 700;
}

.contact-errors {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-left: 3px solid #bd2727;
  background: #fff3f3;
  color: #7f1515;
  font-size: 13px;
}

.contact-errors strong {
  display: block;
  margin-bottom: 8px;
}

.contact-errors p {
  margin: 3px 0 0;
}

.contact-submit-wrap {
  padding-top: 42px;
  text-align: center;
}

.contact-privacy-note {
  margin: 0 0 24px;
  color: #777;
  font-size: 12px;
}

.contact-submit,
.contact-back {
  min-width: 280px;
  min-height: 66px;
  padding: 0 26px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: #080b0f;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.contact-submit:hover,
.contact-back:hover {
  background: #111820;
  transform: translateY(-2px);
}

.contact-submit__arrow,
.contact-back span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
}

.contact-complete {
  padding: 65px 64px;
  border-top: 3px solid var(--blue);
  background: #f6f7f8;
  text-align: center;
}

.contact-complete h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
}

.contact-complete > p:not(.contact-complete__en) {
  margin: 22px auto 34px;
  max-width: 620px;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 360px;
  }

  .contact-hero__inner {
    padding-bottom: 50px;
  }

  .contact-hero h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .contact-hero__lead {
    margin-top: 18px;
    font-size: 13px;
  }

  .contact-info {
    padding: 66px 0 72px;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .contact-info__card {
    min-height: 100px;
    padding: 24px 22px;
  }

  .contact-info__card + .contact-info__card {
    border-left: 0;
    border-top: 1px solid #d6dadd;
  }

  .contact-form-section {
    padding: 76px 0 92px;
  }

  .contact-form-section__head {
    margin-bottom: 38px;
  }

  .contact-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 0 27px;
  }

  .contact-field > label {
    padding-top: 0;
  }

  .contact-control input {
    min-height: 52px;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-complete {
    padding: 46px 24px;
  }

  .contact-back {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .contact-narrow {
    width: calc(100% - 28px);
  }

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

  .contact-hero::after {
    right: -220px;
  }

  .contact-info__head h2,
  .contact-form-section__head h2 {
    font-size: 22px;
  }

  .contact-info__card strong {
    font-size: 28px;
  }
}
