/*
Theme Name: LP - Survey
Author: Meduzzen
Description: A blank WordPress theme
Version: 1.0
*/

/* standartization */

:root {
  --font-family: "Asap", sans-serif;
}

body {
  font-family: var(--font-family);
}

html,
body {
  overflow-x: hidden;
}

/* primary */

#primary {
  position: relative;
  z-index: 2;
}

/* container */

.container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 1601px) {
  .container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .container {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (min-width: 381px) and (max-width: 800px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 380px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* header */

header {
  display: flex;
  z-index: 99999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.header-block__container {
  display: flex;
}

.header-logo {
  display: flex;
  position: relative;
}

.header-logo a {
  display: block;
  position: relative;
  z-index: 2;
}

.header-logo a img {
  width: 100%;
  height: auto;
}

.header-logo::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #fff;
  clip-path: path("M 0,0 L 243,0 L 175,101 A 38,42 0 0 1 151,119 L 0,119 Z");
}

.header-logo::before {
  content: "";
  position: absolute;
  width: 100vw;
  left: -99vw;
  height: 100%;
  top: 0;
  z-index: 1;
  background-color: #fff;
}

.header-logo {
  box-sizing: border-box;
  padding-top: 33px;
  padding-right: 83px;
  padding-bottom: 33px;
}

.header-logo a img {
  max-width: 160px;
}

/* hero */

.hero {
  display: flex;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__title {
  font-weight: 800;
  line-height: 98%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.hero__banner-content {
  position: relative;
  font-weight: 700;
  line-height: 138%;
  letter-spacing: 0.01em;
  color: #fff;
}

.hero__banner-content * {
  position: relative;
  z-index: 2;
}

.hero__banner-content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(220deg, #48dfe4 0%, #0780e3 100%);
}

.hero__banner-content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

@media screen and (min-width: 1901px) {
  .hero__container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (min-width: 1601px) {
  .hero {
    min-height: 957px;
  }
}

@media screen and (min-width: 1401px) {
  .hero__banner-content::after {
    clip-path: path(
      "M0 14.182 A14.182 14.182 0 0 1 14.177 0 H642.8 A20 19 0 0 1 659.733 26.839 L611.662 98.25 A44 45 0 0 1 573.885 117 H14.177A14.182 14.182 0 0 1 0 102.818V14.182Z"
    );
  }

  .hero__form {
    min-width: 506px;
  }
}

@media screen and (max-width: 1400px) {
  .hero__banner-content-inner br {
    display: none;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  .hero__banner-content-inner {
    max-width: 516px;
  }
  .hero__banner-content::after {
    clip-path: path(
      "M0 18.08  A13.19 18.08 0 0 1 13.19 0  H598.65  A18.62 24.25 0 0 1 613.17 34.26  L569.51 125.46  A40.96 57.43 0 0 1 534.30 149.38  H13.19  A13.19 18.08 0 0 1 0 130.90  V18.08Z"
    );
  }
}

@media screen and (min-width: 1201px) {
  .hero__container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: 94px;
    margin-bottom: 33px;
  }

  .hero__banner-content {
    font-size: 24px;
    padding: 24px 67px 26px 34px;
  }

  .hero__banner-content em {
    font-size: 20px;
  }

  .hero__form {
    flex-basis: 506px;
  }

  .hero__content {
    flex: 1 1 calc(100% - 506px - 40px);
  }

  .hero__wrapper {
    gap: 40px;
  }
}

@media screen and (max-width: 1380px) {
  .hero__wrapper {
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
    gap: 50px;
  }
}
@media screen and (max-width: 1200px) {
  .hero__content {
    align-items: center;
  }

  .hero__container {
    padding-top: 172px;
    padding-bottom: 72px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  .hero__title {
    font-size: 72px;
    margin-bottom: 34px;
  }

  .hero__banner-content {
    font-size: 20px;
    padding: 17px 100px 16px 30px;
  }

  .hero__banner-content-inner {
    max-width: 433px;
  }

  .hero__banner-content::after {
    clip-path: path(
      "M0 14.03 A12.03 14.03 0 0 1 12.03 0 H537.74 A16.98 18.80 0 0 1 551.09 26.63 L518.99 97.23 A37.36 44.53 0 0 1 487.20 115.78 H12.03 A12.03 14.03 0 0 1 0 101.43 V14.03Z"
    );
  }
}

@media screen and (max-width: 800px) {
  .form__rating .wpcf7-radio .wpcf7-list-item label {
    width: 26px !important;
    min-height: 41px;
  }

  body .form__rating .wpcf7-radio {
    gap: 6px;
  }

  .form__rating-wrapper svg {
    width: 100%;
  }

  body .form__rating .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
    font-size: 12px;
  }

  .hero__title {
    margin-bottom: 36px;
  }

  .hero__banner-content {
    font-size: 16px;
  }

  .hero__banner-content-inner {
    max-width: 274px;
  }
}

@media screen and (min-width: 421px) and (max-width: 800px) {
  .hero__banner-content {
    padding: 23px 60px 28px 32px;
  }

  .hero__banner-content::after {
    clip-path: path(
      "M0 13.746 A14 14 0 0 1 12.880 0.861 H335.084 A23 16 0 0 1 346.926 20.702 L308.161 92.398 A35 28 0 0 1 278.022 107.158 H12.880 A14 14 0 0 1 0 94.274 V13.746 Z"
    );
  }
}

@media screen and (min-width: 381px) and (max-width: 800px) {
  .hero__title {
    font-size: 49px;
  }
}

@media screen and (max-width: 420px) {
  .hero__content {
    position: relative;
    min-height: 350px;
  }
  .hero__banner-content {
    width: 100%;
    position: absolute;
    padding: 23px 54px 28px 50px;
    left: -50px;
    bottom: 0;
  }

  .hero__banner-content::after {
    clip-path: path(
      "M0 13.746 L0 0 H332.084 A24 17.5 0 0 1 359.926 22.65 L316.161 99.06 A37 30.6 0 0 1 278.022 117.23 H0 L0 103.19 V13.746Z"
    );
  }
}

@media screen and (max-width: 380px) {
  .hero__wrapper {
    align-items: flex-start;
  }
  .hero__title {
    font-size: 40px;
  }

  .hero__banner-content {
    padding: 23px 19px 28px 50px;
  }

  .hero__banner-content::after {
    clip-path: path(
      "M0 16.34 L0 0 H304.36 A22.00 20.79 0 0 1 329.87 26.91 L289.96 117.87 A33.94 36.38 0 0 1 254.94 139.31 H0 L0 122.69 V16.34Z"
    );
  }
}

/* form */
.form__rating .wpcf7-radio {
  display: flex;
  gap: 11px;
  justify-content: center;
  align-items: center;
}
.form__rating .wpcf7-radio .wpcf7-list-item {
  margin: 0;
  position: relative;
}
.form__rating .wpcf7-radio .wpcf7-list-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form__rating .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
}

.form__rating .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  text-transform: uppercase;
  user-select: none;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.form__rating .wpcf7-radio .wpcf7-list-item label::before,
.form__rating .wpcf7-radio .wpcf7-list-item.pre_choose label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: background 0.2s ease, -webkit-mask 0.2s ease, mask 0.2s ease;
}

.form__rating .wpcf7-radio .wpcf7-list-item label:hover span::before,
.form__rating
  .wpcf7-radio
  .wpcf7-list-item.pre_choose
  label:hover
  span::before {
  background: linear-gradient(180deg, #f78134 0%, #f7b919 100%);
  -webkit-mask: none;
  mask: none;
  border-radius: 100px;
  z-index: -1;
}

.form__rating .wpcf7-radio .wpcf7-list-item label span::before {
  position: absolute;
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  left: 1px;
  top: 1px;
}

.form__rating .wpcf7-radio .wpcf7-list-item label:hover .wpcf7-list-item-label {
  color: #fff;
}

.form__rating
  .wpcf7-radio
  .wpcf7-list-item
  input:focus-visible
  + .wpcf7-list-item-label {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.form__rating
  .wpcf7-radio
  .wpcf7-list-item
  input:checked
  + .wpcf7-list-item-label {
  color: #fff;
}

.form__rating .wpcf7-radio .wpcf7-list-item input:checked + span::before,
.form__rating .wpcf7-radio .wpcf7-list-item.pre_choose input + span::before,
.form__rating .wpcf7-radio .wpcf7-list-item.hover_choose input + span::before {
  background: linear-gradient(180deg, #f78134 0%, #f7b919 100%);
  -webkit-mask: none;
  mask: none;
  border-radius: 100px;
  z-index: -1;
}

.form__rating .wpcf7-radio .wpcf7-list-item.pre_choose .wpcf7-list-item-label,
.form__rating
  .wpcf7-radio
  .wpcf7-list-item.hover_choose
  .wpcf7-list-item-label {
  color: #fff;
}

.form__rating .wpcf7-radio .wpcf7-list-item.pre_choose label::before,
.form__rating .wpcf7-radio .wpcf7-list-item.hover_choose label::before {
  background: linear-gradient(180deg, #f78134 0%, #f7b919 100%);
  -webkit-mask: none;
  mask: none;
  border-radius: 100px;
}

.form__rating
  .wpcf7-radio
  .wpcf7-list-item.not_in_hover.pre_choose
  label::before,
.form__rating
  .wpcf7-radio
  .wpcf7-list-item.not_in_hover.pre_choose
  input
  + span::before,
.form__rating
  .wpcf7-radio
  .wpcf7-list-item.not_in_hover
  input:checked
  + span::before {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.form__rating
  .wpcf7-radio
  .wpcf7-list-item.not_in_hover.pre_choose
  .wpcf7-list-item-label,
.form__rating
  .wpcf7-radio
  .wpcf7-list-item.not_in_hover
  input:checked
  + .wpcf7-list-item-label {
  color: #fff;
}

.form__input-name {
  margin-right: auto;
}

.form__rating {
  margin-bottom: 8px;
}

.hero__form form .form__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-sizing: border-box;
  background: linear-gradient(219deg, #3dbbbf 0%, #1562a1 100%);
  min-height: 789px;
}

.hero__form form .form__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__form form .ty-wrap svg {
  width: 100%;
  height: auto;
  max-width: 72px;
  min-width: 72px;
}

.hero__form form .ty-wrap-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__form form .ty-wrap h4 {
  font-weight: 800;
  font-size: 48px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  margin-top: 33px;
}

.hero__form form .form__container .form__head {
  max-width: 301px;
  margin: 0 auto;
}

.hero__form form .form__container .form__head .form__title {
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.hero__form form .form__container h5 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 20px;
}

.hero__form form .form__container .form__content {
  display: flex;
  flex-direction: column;
}

.hero__form form .form__container .form__two-columns {
  display: flex;
}

.hero__form form .form__container .form__one-column {
  display: flex;
}

.hero__form form .form__container .form__column {
  width: 100%;
}

.hero__form form .form__container input {
  padding: 14px 20px;
}

.hero__form form .form__container input,
.hero__form form .form__container textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f5f5f5;
  box-sizing: border-box;
  outline: none;
  font-family: "Asap", sans-serif;
  font-weight: 500;
  color: #000;
}

.hero__form form .form__container textarea {
  padding: 12px 16px;
  resize: none;
  min-height: 124px;
  max-height: 124px;
  margin-bottom: 10px;
}

.hero__form form .form__container input::placeholder,
.hero__form form .form__container textarea::placeholder {
  font-family: "Asap", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #8d8d8d;
}

.hero__form form .form__container .form__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__form form .form__container .form__rating-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 35px;
  margin-bottom: 35px;
}

.hero__form form .form__container .form__agreement button {
  display: flex;
  font-weight: 700;
  font-size: 22px;
  line-height: 160%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  border-radius: 100px;
  background: linear-gradient(-90deg, #f8c315 0%, #f77f35 100%);
  background-size: 100% 100%;
  padding: 13px 66px;
  box-sizing: border-box;
  max-width: fit-content;
  max-height: fit-content;
  transition: all 0.3s;
  outline: none;
}

.hero__form form .form__container .form__agreement .response-and-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__form form.wpcf7-form.invalid input.wpcf7-not-valid,
.hero__form form.wpcf7-form.invalid textarea.wpcf7-not-valid {
  color: #f30606;
  border-color: #f30606;
}

.hero__form form.wpcf7-form .wpcf7-not-valid-tip {
  position: absolute;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.01em;
  right: 0;
}

.hero__form form.wpcf7-form.sent .wpcf7-response-outpu,
.hero__form form.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}

.hero__form form.wpcf7-form.sent .form__wrapper {
  display: none !important;
}

.hero__form form.wpcf7-form.sent .ty-wrap {
  display: block !important;
}

.hero__form form.wpcf7-form .wpcf7-response-output {
  border: none !important;
  font-family: "Asap", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 133%;
  letter-spacing: -0.01em;
  color: #ffb900;
}

.hero__form form .form__container .form__rating .star_rating_class {
  display: flex;
  font-size: 0;
}

.hero__form
  form
  .form__container
  .form__rating
  .star_rating_class
  img:not(:last-of-type) {
  margin-right: 20px;
}

.hero__form form .form__container .form__rating .star_rating_class img {
  width: 100%;
  height: auto;
  max-width: 36px;
  min-width: 36px;
}

.hero__form
  form
  .form__container
  .form__rating
  .star_rating_class
  img.raty-cancel {
  display: none;
}

.star_rating_class img[src*="/jquery.rating/images/star-on"] {
  content: url("/wp-content/uploads/2025/09/star-filled.svg");
}
.star_rating_class img[src*="/jquery.rating/images/star-off"] {
  content: url("/wp-content/uploads/2025/09/star-empty.svg");
}

@media screen and (min-width: 1201px) {
  .hero__form form .form__container .form__agreement button:hover {
    background-size: 150% 100%;
  }

  .hero__form form .form__container {
    padding: 42px 50px;
  }

  .hero__form form .form__container .form__two-columns {
    gap: 16px;
  }

  .hero__form form .form__container .form__head .form__title {
    line-height: 106%;
    font-size: 32px;
  }

  .hero__form form .form__container h5 {
    font-size: 18px;
    line-height: 133%;
  }

  .hero__form form .form__container input,
  .hero__form form .form__container textarea {
    font-size: 14px;
    line-height: 143%;
  }
}

@media screen and (max-width: 1200px) {
  .hero__form form .form__container {
    padding: 36px 32px;
  }

  .hero__form form .form__container .form__two-columns {
    flex-direction: column;
    gap: 12px;
  }

  .hero__form form .form__container .form__content-wrapper {
    gap: 12px;
  }

  .hero__form form .form__container .form__head .form__title {
    font-size: 24px;
    line-height: 110%;
    text-wrap-style: balance;
  }

  .hero__form form .form__container h5 {
    font-size: 16px;
    line-height: 110%;
  }

  .hero__form form .form__container input,
  .hero__form form .form__container textarea {
    font-size: 12px;
    line-height: 167%;
  }
}

@media screen and (max-width: 800px) {
  .hero__form form .form__container h5 {
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  .hero__form
    form
    .form__container
    .form__rating
    .star_rating_class
    img:not(:last-of-type) {
    margin-right: 10px;
  }
}

/* footer */

footer {
  display: flex;
  position: relative;
  z-index: 2;
  background: #fff;
}

.footer-block__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-block__menu ul.footer-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.footer-block__menu ul.footer-menu li a {
  position: relative;
  color: inherit;
}

.footer-block__menu ul.footer-menu li a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: #6d6d6d;
  transform-origin: right;
  transition: all 0.3s;
  transform: scaleX(1);
}

.footer-block__menu ul.footer-menu li a:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

.footer-block__menu ul.footer-menu li,
.footer-block__text p {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6d6d6d;
}

@media screen and (min-width: 801px) {
  footer {
    padding-top: 34px;
    padding-bottom: 35px;
  }

  .footer-block__menu ul.footer-menu {
    gap: 34px;
  }

  .footer-block__menu ul.footer-menu li,
  .footer-block__text p {
    font-size: 14px;
  }
}

@media screen and (max-width: 800px) {
  footer {
    padding-top: 30px;
    padding-bottom: 38px;
  }

  .footer-block__container {
    gap: 40px;
    flex-direction: column;
  }

  .footer-block__menu ul.footer-menu {
    gap: 20px;
  }

  .footer-block__menu ul.footer-menu li,
  .footer-block__text p {
    font-size: 13px;
    line-height: 130%;
  }

  .footer-block__menu ul.footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}
