.contact-section__container {
  background: var(--color-main-alt);
  border-radius: 15px;
}

.contact-section__person {
  background: var(--color-highlight-white);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: calc(100% + 30px);
  justify-content: center;
  box-shadow: 0 18px 38px rgba(37, 57, 65, 0.2);
  margin-top: -15px;
  margin-bottom: -15px;
}

.contact-section__image-wrap {
  width: min(100%, 150px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 100%;
      margin-bottom: 1rem;
}

.contact-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-section__content {
  width: 100%;
}

.contact-section__title {
  margin: 0;
}

.contact-section__text {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.contact-section__links {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  font-size: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-section__link {
  color: inherit;
  text-decoration: none;
}

.contact-section__form .gform_wrapper,
.contact-section__form .gform_wrapper.gravity-theme,
.contact-section__form .gform_wrapper.gravity-theme form {
  margin: 0;
}

.contact-section .gform_title {
  font-size: 1.45rem;
  margin: 0 0 1.5rem;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_fields {
  row-gap: 0.5rem;
}

.contact-section__form .gform_wrapper.gravity-theme .gfield_label {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-main-font);
}

.contact-section__form .gform_wrapper.gravity-theme .gfield input[type="text"],
.contact-section__form .gform_wrapper.gravity-theme .gfield input[type="email"],
.contact-section__form .gform_wrapper.gravity-theme .gfield input[type="tel"],
.contact-section__form .gform_wrapper.gravity-theme .gfield input[type="url"],
.contact-section__form .gform_wrapper.gravity-theme .gfield input[type="number"],
.contact-section__form .gform_wrapper.gravity-theme .gfield select,
.contact-section__form .gform_wrapper.gravity-theme .gfield textarea {
  width: 100%;
  min-height: 35px;
  margin: 0;
  line-height: 2;
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--color-main-font);
  box-shadow: none;
}

.contact-section__form .gform_wrapper.gravity-theme .gfield textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-section__form .gform_wrapper.gravity-theme input::placeholder,
.contact-section__form .gform_wrapper.gravity-theme textarea::placeholder {
  color: #b9b9b9;
  opacity: 1;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_footer {
  margin: 2rem 0 0;
  padding: 0;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_button,
.contact-section__form .gform_wrapper.gravity-theme button[type="submit"] {
  width: 100%;
  min-height: 32px;
  margin: 0;
  line-height: 2;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--color-main-font);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 57, 65, 0.14);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_button:hover,
.contact-section__form .gform_wrapper.gravity-theme .gform_button:focus-visible,
.contact-section__form .gform_wrapper.gravity-theme button[type="submit"]:hover,
.contact-section__form .gform_wrapper.gravity-theme button[type="submit"]:focus-visible {
  box-shadow: 0 8px 18px rgba(37, 57, 65, 0.12);
  transform: translateY(-2px);
  background-color: #f8f8f8;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_footer input.gform_button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='M13 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 20px 20px;
  padding-right: 3.25rem;
}

.contact-section__form .gform_wrapper.gravity-theme .gform_validation_errors {
  margin: 0 0 1rem;
  border-radius: 6px;
}

.contact-section__form .gform_wrapper.gravity-theme .gfield_error .gfield_label,
.contact-section__form .gform_wrapper.gravity-theme .gfield_validation_message {
  color: #8d2f2f;
}

.contact-section .gform_required_legend {
  display: none;
}

@media only screen and (min-width: 768px) {
  .contact-section__links {
    justify-content: center;
  }
}

@media only screen and (max-width: 480px) {
  .contact-section__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
