.contact-page {
  min-height: calc(100vh - 120px);
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: center;
  min-height: 72vh;
  padding: 78px 0 56px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: 10px;
  width: 340px;
  height: 220px;
  border-radius: 45% 55% 48% 52%;
  background: rgba(234, 220, 255, 0.72);
  filter: blur(4px);
  z-index: -1;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 74px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow:
    -240px -60px 0 rgba(139, 92, 246, 0.25),
    -300px 96px 0 rgba(139, 92, 246, 0.28);
}

.contact-copy .section-title {
  max-width: 660px;
}

.contact-lead {
  max-width: 520px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 18px;
  margin-top: 46px;
  max-width: 420px;
}

.contact-method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
}

.contact-method > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: white;
}

.contact-method strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-method small {
  color: var(--gray);
  font-size: 13px;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: white;
  font-size: 13px;
  transition: 0.25s ease;
}

.contact-socials a:hover {
  background: var(--purple);
  transform: translateY(-3px);
}

.contact-form {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 12, 15, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  font: inherit;
  font-size: 14px;
  padding: 15px 16px;
  outline: none;
  transition: 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.contact-form .btn {
  border: 0;
  justify-content: center;
  width: fit-content;
  margin-top: 8px;
  cursor: pointer;
}

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

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

@media (max-width: 720px) {
  .contact-hero {
    gap: 30px;
    min-height: auto;
    padding: 28px 0 34px;
  }

  .contact-hero::before {
    left: -120px;
    bottom: 150px;
    width: 240px;
    height: 160px;
  }

  .contact-hero::after {
    display: none;
  }

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

  .contact-method {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .contact-method > span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .contact-methods {
    gap: 14px;
    margin-top: 30px;
  }

  .contact-form {
    padding: 20px;
    border-radius: 20px;
    gap: 14px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  .contact-form textarea {
    min-height: 110px;
  }

  .contact-form .btn {
    width: 100%;
  }
}
