.contact-section {
  position: relative;
  margin-bottom: 38rem;
  padding: 14rem 0 10rem;
  background: #000000;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .contact-section {
    padding: 10rem 3rem 6rem;
  }
}
.contact-section__title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 6rem;
  line-height: 1;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .contact-section__title {
    font-size: 3rem;
  }
}
.contact-section__text {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: -0.01em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .contact-section__text {
    margin-top: 1rem;
    font-size: 1.2rem;
  }
}
.contact-section__text a {
  text-decoration: underline;
}
@media (hover: hover) {
  .contact-section__text a:hover {
    text-decoration: none;
  }
}
@media (hover: none) {
  .contact-section__text a:active {
    text-decoration: none;
  }
}
.contact-section__content {
  max-width: 80rem;
  margin: 4rem auto 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media screen and (max-width: 768px) {
  .contact-form {
    gap: 2rem;
  }
}
.contact-form__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form__item--agreement {
  align-items: center;
  text-align: center;
}
.contact-form__label {
  font-size: 1.6rem;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .contact-form__label {
    font-size: 1.4rem;
  }
}
.contact-form__content {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.contact-form__content input[type=text],
.contact-form__content input[type=email] {
  display: block;
  width: 100%;
  padding: 1.2rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .contact-form__content input[type=text],
  .contact-form__content input[type=email] {
    font-size: 1.6rem;
  }
}
.contact-form__content input[type=text]::placeholder,
.contact-form__content input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.15);
}
.contact-form__content textarea {
  display: block;
  width: 100%;
  height: 20rem;
  padding: 1.2rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .contact-form__content textarea {
    font-size: 1.6rem;
  }
}
.contact-form__content textarea::placeholder {
  color: rgba(255, 255, 255, 0.15);
}
.contact-form__content .just-validate-error-label {
  display: block;
  margin-top: 0.8rem;
  color: #a77500;
  font-size: 1.2rem;
  line-height: 1.4;
}
.contact-form__content > *:first-child {
  margin-top: 0;
}
.contact-form__agreement {
  display: block;
  margin-top: 1rem;
}
.contact-form__button {
  display: flex;
  justify-content: center;
}
.contact-form__button button, .contact-form__button a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28rem;
  height: 5.6rem;
  color: #000000;
  background: #ffffff;
  font-size: 1.3rem;
  transition: opacity 0.4s ease;
  text-decoration: none;
}
@media (hover: hover) {
  .contact-form__button button:hover, .contact-form__button a:hover {
    opacity: 0.75;
  }
}
@media (hover: none) {
  .contact-form__button button:active, .contact-form__button a:active {
    opacity: 0.75;
  }
}
.contact-form__button button.is-submitting {
  color: transparent;
  pointer-events: none;
}
.contact-form__button button.is-submitting::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: -0.9rem;
  margin-left: -0.9rem;
  border: 2px solid rgba(0, 0, 0, 0.28);
  border-top-color: #000000;
  border-radius: 50%;
  animation: contact-submit-spinner 0.7s linear infinite;
}

@keyframes contact-submit-spinner {
  to {
    transform: rotate(360deg);
  }
}
