.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 92px;
  background: var(--bg);
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
}

.contact-hero::before {
  width: 420px;
  height: 420px;
  top: -170px;
  right: -60px;
  background: radial-gradient(circle, rgba(113, 0, 255, 0.14), transparent 68%);
}

.contact-hero::after {
  width: 320px;
  height: 320px;
  bottom: -150px;
  left: 8%;
  background: radial-gradient(circle, rgba(0, 246, 160, 0.16), transparent 68%);
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.contact-title {
  max-width: 12ch;
  margin: 20px 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.contact-title span {
  color: var(--violet);
}

.contact-lead {
  max-width: 36em;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.7;
}

.contact-card {
  padding: 38px;
  border: 1px solid var(--violet-100);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, var(--violet-50));
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.contact-card > p {
  margin-bottom: 28px;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-card .os-contact-info {
  gap: 20px;
}

.contact-form-section {
  background: var(--bg-alt);
}

.contact-form-section .os-form-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-card {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 64px 0 72px;
  }

  .contact-title {
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .contact-lead {
    font-size: 16px;
  }

  .contact-card {
    padding: 28px 24px;
    border-radius: 20px;
  }
}
