.inner-page main {
  padding-bottom: 64px;
}
.page-heading {
  padding-block: 42px 44px;
}
.back-link {
  display: inline-block;
  font-size: 14px;
  color: #626e8b;
  margin-bottom: 32px;
}
.page-heading h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  max-width: 950px;
  text-wrap: balance;
}
.page-heading > p:last-child {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 20px);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: 32px;
  align-items: start;
}
.contact-info,
.contact-panel,
.legal-panel,
.legal-contact {
  padding: clamp(24px, 3vw, 40px);
}
.contact-info h2,
.legal-panel h2,
.legal-contact h2 {
  font-size: 30px;
  margin: 24px 0 14px;
}
.contact-info > p {
  margin-bottom: 28px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  font-weight: 600;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.contact-method .bx {
  color: var(--blue);
  font-size: 22px;
}
.text-link {
  display: inline-block;
  margin-top: 24px;
  color: #3655d5;
  font-size: 15px;
  font-weight: 600;
}
.contact-illustration {
  width: 100%;
  height: auto;
  border-radius: 24px;
  margin-top: 24px;
  mix-blend-mode: multiply;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.form-field {
  min-width: 0;
}
.full-width {
  grid-column: 1 / -1;
}
.form-label {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 650;
}
.form-control {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: #f6f7fd;
  color: var(--ink);
  border: 1px solid #dde2f2;
  border-radius: 12px;
  font: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-control:hover {
  border-color: #aebbe6;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #4868f618;
  background: white;
}
textarea.form-control {
  min-height: 180px;
  resize: vertical;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-status {
  margin-top: 16px;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.form-status:empty {
  display: none;
}
.form-status.is-success {
  color: #007364;
}
.form-status.is-error {
  color: #ae2438;
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.company-details {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1fr);
  font-size: 16px;
}
.company-details dt,
.company-details dd {
  margin: 0;
  padding-block: 18px;
  border-top: 1px solid #e8ecf6;
}
.company-details dt {
  color: #626e8b;
  padding-right: 20px;
}
.company-details dd {
  font-weight: 550;
  overflow-wrap: anywhere;
}
.company-details a {
  color: #3655d5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-contact {
  background: linear-gradient(135deg, #eef0ff, #f5faff);
}
.legal-contact .stat-icon {
  background: #dff5f0;
  color: #009683;
}
.legal-contact .button {
  margin-top: 28px;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page-heading {
    padding-block: 24px 32px;
  }
  .back-link {
    margin-bottom: 24px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-illustration {
    display: none;
  }
  .inner-page main {
    padding-bottom: 36px;
  }
  .company-details {
    grid-template-columns: 1fr;
  }
  .company-details dt {
    padding-bottom: 4px;
  }
  .company-details dd {
    border: 0;
    padding-top: 0;
  }
}
