.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 68px;
  padding-bottom: 76px;
  background:
    linear-gradient(135deg, rgba(49, 0, 75, 0.96), rgba(82, 0, 122, 0.88)),
    radial-gradient(circle at top right, rgba(255, 159, 28, 0.34), transparent 34%);
}

.contact-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.contact-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.contact-card ul,
.contact-content-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--soft);
}

.contact-options article,
.contact-content-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-options h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.contact-options p {
  color: var(--muted);
}

.contact-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-editor-content {
  padding-top: 72px;
  padding-bottom: 72px;
}

.contact-editor-content:empty {
  display: none;
}

.contact-content-card {
  max-width: 860px;
}

.contact-content-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-content-card input,
.contact-content-card textarea,
.contact-content-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-content-card input[type="submit"],
.contact-content-card button {
  width: auto;
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 920px) {
  .contact-hero,
  .contact-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .contact-hero h1 {
    font-size: 42px;
  }
}
