.contact-hero-section {
  position: relative;

  /* height: calc(100dvh - 60px); */
  height: auto;

  /* min-height: 990px; */
}

.contact-hero-section .waves {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.contact-hero-section .container {
  display: flex;
  gap: 40px;
  height: 100%;
  padding-top: 44px;
  padding-bottom: 40px;
}

.contact-hero-section .contact-hero-content {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}

.contact-hero-section .contact-hero-title {
  font-family: Satoshi-Bold, sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  font-feature-settings: 'liga' off;
  line-height: 80px; /* 111.111% */
  color: var(--e-global-brand-white);
}

.contact-hero-section .company-phone-label,
.contact-hero-section .company-email-label,
.contact-hero-section .company-address-label,
.contact-hero-section .socials-label {
  color: var(--e-global-opacity-black-064);
}

.contact-hero-section .company-phone,
.contact-hero-section .company-email,
.contact-hero-section .company-address {
  color: var(--e-global-color-bg);
  transition-duration: 0.3s;
}

.contact-hero-section .company-phone:hover,
.contact-hero-section .company-email:hover,
.contact-hero-section .company-address:hover {
  color: var(--e-global-color-brand);
}


.contact-hero-section .social-link {
  width: 52px;
  height: 52px;
  padding: 16px;
  background: var(--e-global-opacity-black-064);
  backdrop-filter: blur(60px);
  border-radius: 12px;
}

.contact-hero-section .social-link:hover {;
  background: linear-gradient(107deg, #FFF -155.85%, #2B4DFD 71.21%);
}

.contact-hero-form {
  flex: 1 0 632px;
  height: fit-content;
  padding: 32px;
  background: var(--e-global-opacity-black-080);
  border-radius: 12px;
}

.contact-hero-form-title {
  padding: 0;
  margin: 0 0 8px;
  font-family: Satoshi-Medium, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  font-feature-settings: 'liga' off;
  line-height: 40px; /* 125% */
  color: var(--e-global-brand-white);
}

.contact-hero-subtitle {
  padding: 0;
  margin: 0 0 24px;
  font-family: Satoshi-Regular, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: 'liga' off;
  line-height: 28px; /* 140% */
  color: var(--e-global-opacity-white-080);
}

.contact-hero-section .wpcf7-form {
  position: relative;
  display: flex;
  flex-direction: column;
}

.contact-hero-section .wpcf7-form > label {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  margin-bottom: 24px;
  font-family: Satoshi-Medium, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  font-feature-settings: 'liga' off;
  line-height: 20px; /* 142.857% */
  color: var(--e-global-brand-white);
  text-transform: uppercase;
  letter-spacing: 0.56px;
  border-bottom: 1px solid rgb(240 243 250 / 8%);
}

.contact-hero-section .wpcf7-form label.budget,
.contact-hero-section .wpcf7-form label:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.contact-hero-section .wpcf7-form label.budget {
  gap: 12px;
}

.contact-hero-section .wpcf7-form-control {
  width: 100%;
  padding-left: 0;
  font-family: Satoshi-Medium, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  font-feature-settings: 'liga' off;
  line-height: 28px; /* 155% */
  color: var(--e-global-brand-white);
  text-transform: capitalize;
  letter-spacing: 0.56px;
  background-color: transparent;
  border: none;
  outline: none;
}

.contact-hero-section .wpcf7-form-control:focus {
  color: var(--e-global-brand-white) !important;
}

.contact-hero-section .wpcf7-form-control::placeholder {
  font-family: Satoshi-Regular, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: 'liga' off;
  line-height: 28px; /* 155.556% */
  color: var(--e-global-opacity-white-040);
  text-transform: initial;
}

.contact-hero-section .wpcf7-form-control[name="your-name"]::placeholder {
  text-transform: capitalize;
}

.contact-hero-section .wpcf7-form-control.wpcf7-email,
.contact-hero-section .wpcf7-form-control.wpcf7-email::placeholder {
  text-transform: lowercase;
}

.contact-hero-section .budget {
  margin: 0 0 12px;
}


.contact-hero-section .wpcf7-not-valid-tip {
  position: absolute;
  top: 80%;
  left: 4px;
  font-family: Satoshi-Medium, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  text-transform: uppercase;
  letter-spacing: 0.56px;
}

.contact-hero-section .wpcf7-form-control-wrap[data-name="radio-668"] .wpcf7-not-valid-tip {
  top: 100%;
}

.contact-hero-section .wpcf7-spinner {
  transform: translateY(-50%);
}

.contact-hero-section .wpcf7-response-output {
  margin: 0 !important;
  color: var(--color-white);
}

.contact-hero-section .wpcf7-form textarea {
  min-height: 34px;
  overflow-y: auto;
  resize: none;
}

.contact-hero-section .wpcf7-form textarea::-webkit-scrollbar {
  width: 8px !important; /* ширина скролбару */
}

.contact-hero-section .wpcf7-form textarea::-webkit-scrollbar-track {
  background: var(--e-global-opacity-black-080) !important;
  border-radius: 4px !important;
}

.contact-hero-section .wpcf7-form textarea::-webkit-scrollbar-thumb {
  background: var(--e-global-opacity-white-024) !important;
  border-radius: 4px !important;
}

/* Приховуємо стандартні радіо-кнопки */
.contact-hero-section .wpcf7-radio input[type="radio"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

/* Стилізуємо елементи списку */
.contact-hero-section .wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin: 0 8px 8px 0;
  cursor: pointer;
}

/* Стилізуємо текст варіантів */
.contact-hero-section .wpcf7-radio .wpcf7-list-item-label {
  display: inline-block;
  padding: 8px 12px;
  font-family: Satoshi-Regular, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--e-global-brand-white);
  cursor: pointer;
  background: rgb(240 243 250 / 8%);
  backdrop-filter: blur(40px);
  border-radius: 72px;
}

/* Стилізуємо активний варіант */
.contact-hero-section .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
  background: rgb(240 243 250 / 24%);
}

/* Ефект при наведенні */
.contact-hero-section .wpcf7-radio .wpcf7-list-item-label:hover {
  background: rgb(240 243 250 / 40%);
}

/* Виправляємо стилі для повідомлення про помилку */
.contact-hero-section .wpcf7-radio.wpcf7-not-valid {
  margin-bottom: 20px;
}

.contact-hero-section .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 16px 101px;
  margin-top: 24px;
  margin-left: auto;
  font-family: Satoshi-Bold, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
  color: var(--e-global-brand-white);
  text-align: center;
  cursor: pointer;
  background: linear-gradient(107deg, #FFF -155.85%, #2B4DFD 100.82%);
  border-radius: 80px;
}

.contact-hero-section .wpcf7-submit:hover {
  background: linear-gradient(107deg, #FFF -155.85%, #2B4DFD 71.21%);
}

.contact-hero-section .wpcf7-submit:active {
  background: linear-gradient(107deg, #FFF -74.41%, #2B4DFD 100.82%);
}

.contact-hero-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.wpcf7-form-control-wrap[data-name="acceptance-172"] {
  margin-top: 24px;
  font-family: Satoshi-Regular, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: 'liga' off;
  line-height: 28px; /* 155.556% */
  color: rgb(240 243 250 / 40%);
  text-transform: initial;
}

.wpcf7-form-control-wrap[data-name="acceptance-172"] a {
  color: var(--e-global-brand-white);
  text-decoration: none;
  transition-duration: 0.3s;
}

.wpcf7-form-control-wrap[data-name="acceptance-172"] a:hover {
  color: var(--e-global-color-brand);
}

.wpcf7-form-control-wrap[data-name="acceptance-172"] .wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form-control-wrap[data-name="acceptance-172"] .wpcf7-list-item-label {
  color: rgb(240 243 250 / 40%);
  text-transform: initial;
  cursor: pointer;
}

@media screen and (min-width: 1530px) {
  .contact-hero-section .container {
    padding-top: clamp(44px, -4.3636px + 8.6364vw, 120px);
    padding-bottom: clamp(40px, 24.7273px + 2.7273vw, 64px);
  }
}

@media screen and (max-width: 1360px) {
  .contact-hero-section .contact-hero-title {
    font-size: clamp(44px, 26.1818px + 3.1818vw, 72px);
    line-height: 1.1111;
  }

  .contact-hero-form-title {
    font-size: clamp(28px, 25.4545px + 0.4545vw, 32px);
    line-height: 1.25;
  }

  .contact-hero-subtitle {
    font-size: clamp(18px, 16.7273px + 0.2273vw, 20px);
    line-height: 1.4;
  }
}

@media screen and (max-width: 1240px) {
  .contact-hero-section {
    height: auto;
  }

  .contact-hero-section .container {
    flex-direction: column-reverse;
  }

  .contact-hero-section .contact-hero-title {
    order: 3;
  }

  .contact-hero-section .contact-hero-content {
    order: 1;
  }

  .contact-hero-form {
    order: 2;
  }
}

@media screen and (max-width: 560px) {
  .contact-hero-section .container {
    gap: 12px;
  }

  .contact-hero-section .contact-hero-title {
    font-size: 44px;
    line-height: 52px;
  }

  .contact-hero-form-title {
    font-size: 28px;
    line-height: 36px;
  }

  .contact-hero-subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .contact-hero-section .company-contacts {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-hero-section .socials-wrapper {
    padding: 0;
    margin-inline: auto;
  }

  .contact-hero-section .socials {
    justify-content: center;
  }

  .contact-hero-section .social-link {
    width: 54px;
    height: 54px;
  }

  .contact-hero-section .social-link img {
    align-self: center;
    width: 24px;
    height: 24px;
  }

  .contact-hero-form {
    padding: 24px;
  }

  .contact-hero-section .wpcf7-form {
    gap: 12px;
  }

  .contact-hero-section .wpcf7-submit {
    width: 100%;
  }
}