.wrap__main {
  font-family: var(--Play), sans-serif;
  max-width: 100vw;
  min-height: 100vh;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  color: var(--color-black);
  position: relative;
  overflow: hidden;
}
.wrap__main.hidden {
  height: 100vh;
}
.wrap__main.hidden:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  position: relative;
  display: -ms-flexbox;
  display: flex;
}
.section .container {
  -ms-flex-positive: 1;
      flex-grow: 1;
}
.section__title {
  color: var(--color-black);
  font: 700 36px/100% var(--Play);
  background: white;
  width: -moz-max-content;
  width: max-content;
  position: relative;
  padding: 0 40px;
  margin: 0 -40px;
}
.section__title.center {
  text-align: center;
  margin: 0 auto;
}
.section__title:after {
  content: "";
  position: absolute;
  width: 200vw;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  border-top: 20px solid transparent;
  border-image: repeating-linear-gradient(-70deg, black 0 10px, #fcf339 10px 20px) 20;
  transition: 0.2s ease;
}
.section__btn {
  width: -moz-max-content;
  width: max-content;
  text-align: center;
  border-radius: 30px;
  border-top-left-radius: 0px;
  padding: 17px 27px;
  color: var(--color-black);
  background: var(--color-primary);
  font: 600 18px/115% var(--Play);
  transition: 0.4s ease;
  display: block;
}
.section__btn:hover {
  transition: 0.2s ease;
  transform: scale(1.05);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: visible;
  padding: 15px 0;
}
.header__block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 100px;
  position: relative;
  overflow: visible;
}
.header__logo {
  width: 200px;
  min-width: 200px;
}
.header__menu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 75px;
  font: 400 22px/24px var(--Play);
  color: var(--color-white);
  -ms-flex-pack: justify;
      justify-content: space-between;
}
.header__menu-item {
  position: relative;
  cursor: pointer;
}
.header__menu-item > a {
  white-space: nowrap;
  padding: 18px 11px;
  position: relative;
  display: block;
  transition: 0.2s ease;
}
.header__menu-item > a:after {
  transition: 0.2s ease;
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  pointer-events: none;
}
.header__menu-item:hover > a:after {
  transition: 0.2s ease;
  width: 100%;
}
.header__phone {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: end;
      align-items: flex-end;
  color: var(--color-white);
  gap: 5px;
}
.header__phone-title {
  font: 400 16px/24px var(--Play);
}
.header__phone-title strong {
  color: var(--color-primary);
}
.header__phone-item {
  font: 700 20px/24px var(--Play);
  transition: 0.2s ease;
}
.header__phone-item:hover {
  color: var(--color-primary);
}
.header__phone-fixed {
  position: fixed;
  width: 100%;
  -ms-flex-direction: row;
      flex-direction: row;
  top: 0;
  left: 0;
  padding: 20px 100px;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: end;
      justify-content: flex-end;
  gap: 10px;
  z-index: 100;
}
.header__phone-fixed:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}
.header__social {
  display: none;
  -ms-flex-align: center;
      align-items: center;
  gap: 30px;
}
.header__social .img {
  position: relative;
  width: 40px;
  min-width: 40px;
  transition: 0.2s ease;
}
.header__social .img:hover {
  transform: scale(1.25);
}
.header__info-fixed {
  z-index: 10;
  position: fixed;
  width: 100%;
  top: -1px;
  left: 0;
  padding: 16px 100px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  gap: 10px;
}
.header__info-fixed .header__phone {
  -ms-flex-direction: row;
      flex-direction: row;
  gap: 10px;
}
.header__info-fixed .header__social {
  display: -ms-flexbox;
  display: flex;
}
.header__info-fixed:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.bottom__link {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-direction: column;
      flex-direction: column;
  cursor: pointer;
  position: fixed;
  overflow: visible;
  right: 100px;
  bottom: 60px;
  z-index: 2;
  gap: 16px;
}
.bottom__link-phone {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
}
.bottom__link-phone:before, .bottom__link-phone:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(252, 243, 57, 0.8);
  width: 50px;
  height: 50px;
  z-index: -1;
  animation: ring 2s infinite;
}
.bottom__link-phone:after {
  background: rgba(252, 243, 57, 0.4);
  width: 60px;
  height: 60px;
  border: 1px solid rgba(252, 243, 57, 0.8);
  animation-delay: 0.5s;
}
.bottom__link-chat {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  gap: 40px;
  border-radius: 50%;
  background: var(--color-primary);
}

@keyframes ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
  }
  70% {
    transform: translate(-50%, -50%) scale(1);
  }
}
.faq .container {
  padding: 100px 40px 20px;
}
.faq__block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 40px;
}
.faq__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
}
.faq__item {
  transition: 0.2s ease;
  position: relative;
}
.faq__header {
  padding: 12px 16px;
  position: relative;
  cursor: pointer;
  -ms-flex-direction: column;
      flex-direction: column;
  display: -ms-flexbox;
  display: flex;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
  -ms-flex-pack: center;
      justify-content: center;
  background: #EAEAEA;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.faq__header > * {
  font: 700 18px/24px var(--Play);
}
.faq__header:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 24px;
  height: 24px;
  background: url(../img/plus.svg) center/24px 24px no-repeat;
}
.faq__content {
  color: var(--basic-900);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.3s ease;
}
.faq__open {
  position: relative;
}
.faq__open .faq__content {
  padding: 24px 16px;
  opacity: 1;
  transition: height 0.4s ease, opacity 0.3s ease;
}
.faq__open .faq__header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.faq__open .faq__header:after {
  transition: all 0.3s ease;
  background: url(../img/minus.svg) center/24px 24px no-repeat;
}
.faq__open:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #F3F3FA;
  pointer-events: none;
  border-radius: 8px;
}
.faq__btn {
  margin: 8px auto 0;
}

.services .container {
  padding: 100px 40px 20px;
}
.services__block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 16px;
  -ms-flex-align: center;
      align-items: center;
  margin-top: 40px;
}
.services__text {
  font: 700 20px/32px var(--Play);
  text-align: center;
}
.services__phone {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  color: var(--color-white);
  gap: 5px;
  background: black;
  padding: 20px;
  width: -moz-max-content;
  width: max-content;
  margin: 40px auto;
}
.services__phone-title {
  font: 400 16px/24px var(--Play);
}
.services__phone-title strong {
  color: var(--color-primary);
}
.services__phone-item {
  font: 700 20px/24px var(--Play);
}
.services__phone:after {
  content: "";
  position: absolute;
  width: 100%;
  left: 50%;
  top: -10px;
  z-index: -1;
  transform: translateX(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-image: repeating-linear-gradient(-70deg, black 0 10px, #fcf339 10px 20px) 20;
  transition: 0.2s ease;
}
.services__phone:before {
  content: "";
  position: absolute;
  width: 100%;
  left: 50%;
  bottom: -10px;
  z-index: -1;
  transform: translateX(-50%);
  border-bottom: 20px solid transparent;
  border-image: repeating-linear-gradient(-70deg, black 0 10px, #fcf339 10px 20px) 20;
  transition: 0.2s ease;
}

.main {
  position: relative;
  min-height: 100vh;
  display: -ms-flexbox;
  display: flex;
}
.main:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.7);
}
.main__block {
  -ms-flex-positive: 1;
      flex-grow: 1;
  padding: 100px 100px 150px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 16px;
  -ms-flex-pack: end;
      justify-content: flex-end;
}
.main__info {
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 40px;
}
.main__info > * {
  text-transform: uppercase;
}
.main__info:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 3px;
  height: calc(100% + 40px);
  pointer-events: none;
  background: var(--color-primary);
}
.main__title {
  font: 700 44px/124% var(--Play);
  color: var(--color-white);
}
.main__subtitle {
  font: 700 24px/124% var(--Play);
  color: var(--color-primary);
}
.main__text {
  font: 700 18px/124% var(--Play);
  color: var(--color-white);
}
.main__img {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  height: 100%;
  z-index: -1;
}

.gallery .container {
  padding-top: 100px;
  padding-bottom: 100px;
}
.gallery__img {
  aspect-ratio: 290/210;
  width: 100%;
  overflow: hidden;
}
.gallery__block {
  position: relative;
  margin-top: 40px;
}
.gallery__btn {
  width: 60px;
  height: 60px;
  background: url("./../img/arr.svg") center/50% no-repeat;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.gallery .gallery__btn--prev {
  left: -70px;
  transform: translateY(-50%) rotate(180deg);
}
.gallery .gallery__btn--next {
  right: -70px;
}

.content {
  color: #333333;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 16px;
}
.content p, .content p > *, .content span, .content li {
  font: 400 16px/136% var(--Play);
}
.content ol, .content ul {
  padding-left: 20px;
}
.content ul {
  padding-left: 20px;
}
.content ul li {
  position: relative;
}
.content ul li:after {
  content: "";
  position: absolute;
  top: 9px;
  left: -14px;
  width: 5px;
  height: 5px;
  background-color: #333;
  border-radius: 50%;
}
.content strong {
  font-weight: 700;
}
.content h2, .content h3, .content h4, .content h5, .content h6 {
  font: 700 30px/115% var(--Play);
}
.content h2 {
  font-size: 35px;
}
.content a {
  text-decoration: underline;
}

.footer {
  background: var(--color-black);
}
.footer .container {
  padding: 50px 40px;
}
.footer__block {
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
.footer__logo {
  width: 250px;
}
.footer__social {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 24px;
}
.footer__social-item {
  width: 36px;
  transition: 0.2s ease;
}
.footer__social-item:hover {
  transform: scale(1.25);
}
.footer__text {
  color: var(--color-white);
  opacity: 0.5;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font: 400 14px/124% var(--Play);
}

@media only screen and (max-width: 1500px) {
  .header__info-fixed {
    padding: 20px 40px;
  }
  .header__block {
    padding: 0px 40px;
  }
  .main__block {
    padding: 100px 40px 150px;
  }
  .bottom__link {
    right: 60px;
  }
}
@media only screen and (max-width: 1190px) {
  .gallery .gallery__btn--next {
    right: -50px;
  }
  .gallery .gallery__btn--prev {
    left: -50px;
  }
}
@media only screen and (max-width: 1024px) {
  .header__menu {
    gap: 30px;
    font-size: 20px;
  }
  .header__social {
    gap: 24px;
  }
  .header__phone-item {
    font-size: 16px;
  }
  .section__title {
    width: auto;
    text-align: center;
  }
  .section__title:after {
    width: 100vw;
    top: -45px;
    border-top: 10px solid transparent;
  }
  .bottom__link {
    right: 30px;
  }
  .wrap__main .container {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 768px) {
  .header__menu {
    display: none;
  }
  .main__block {
    padding: 52vw 40px 100px;
  }
  .header__logo {
    width: 60vw;
  }
  .main__info {
    text-align: center;
    padding: 0;
  }
  .main__info:after {
    display: none;
  }
  .header__social {
    display: -ms-flexbox;
    display: flex;
  }
  .header .header__info {
    display: none;
  }
  .header__info {
    -ms-flex-align: center;
        align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    gap: 32px;
    margin-top: 20px;
  }
  .header__info-fixed {
    -ms-flex-direction: row;
        flex-direction: row;
    gap: 20px;
    margin: 0;
  }
  .header__block {
    -ms-flex-pack: center;
        justify-content: center;
  }
  .gallery .gallery__btn--next {
    right: -30px;
  }
  .gallery .gallery__btn--prev {
    left: -30px;
  }
  .header__info-fixed .header__phone {
    -ms-flex-direction: column;
        flex-direction: column;
    gap: 0px;
  }
  .header__phone-title {
    font-size: 14px;
  }
  .header__info-fixed:after {
    background: rgba(0, 0, 0, 0.9);
  }
  .main__info {
    z-index: 11;
  }
}
@media only screen and (max-width: 666px) {
  .main__block {
    padding: 52vw 20px 100px;
  }
  .wrap__main .container {
    padding: 30px 20px;
  }
  .header .container {
    padding: 10px 20px;
  }
  .content h2, .content h3, .content h4, .content h5, .content h6 {
    font-size: 24px;
  }
  .content p, .content p > *, .content span, .content li {
    font-size: 14px;
  }
  .section__title {
    font-size: 30px;
  }
  .main__title {
    font-size: 28px;
  }
  .main__subtitle {
    font-size: 18px;
  }
  .main__text, .services__text {
    font-size: 15px;
  }
  .section__title:after {
    top: -30px;
  }
  .services .section__title:after {
    display: none;
  }
  .header__social {
    gap: 20px;
  }
  .header__social .img {
    width: 32px;
    min-width: 32px;
  }
  .header__info {
    gap: 24px;
    margin-top: 8px;
  }
  .header__info-fixed {
    padding: 10px 20px;
    z-index: 10;
    margin: 0;
  }
  .header__info-fixed .header__social {
    gap: 14px;
  }
}
@media only screen and (max-width: 425px) {
  .header__info-fixed {
    padding: 12px 20px;
  }
}