* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  font-family: "Gilroy", sans-serif;
}

ul {
  list-style: none;
}

.container {
  max-width: 1260px;
  margin: 0 auto;

  @media (max-width: 976px) {
    width: 100%;
  }
}

a {
  color: unset;
}

body {
  padding: 0 24px;
  background: #3E3E3E;

  @media (max-width: 450px) {
    padding: 0 12px;
  }
}

.top-bg {
  /* background-image: url(../img/hero/bg.jpg); */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
}

.mid-bg {
  background-image: linear-gradient(
      to bottom,
      #181818 0%,
      transparent 50%,
      #181818 100%
    ),
    url(../img/quiz/mid-bg.png);
  /*
          background-image: linear-gradient(
              to bottom,
              #181818 0%,
              transparent 50%,
              #181818 100%
          ); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.btm-bg {
  background-image: none !important;

  /* background-image: linear-gradient(
              to bottom,
              #181818 0%,
              transparent 50%,
              #181818 100%
          ),
          url(../img/footer/bg-btm.png);

         background-image: linear-gradient(
              to bottom,
              #181818 0%,
              transparent 50%,
              #181818 100%
          );
      */
  background-color: #3E3E3E;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.mobile-display {
  display: none;
}

.menu {
  max-width: 238px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: #1f1f1f;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  padding-left: 18px;
  padding-right: 23px;
  padding-top: 16px;
  transform: translateX(-100%);
  transition-duration: 0.3s;
  z-index: 50;
}

.menu-wrap {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 45;
  top: 0;
  left: 0;
}

.menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.menu__title {
  font-size: 20px;
  line-height: 23px;
  color: #595959;
}

.menu__logo {
  margin-bottom: 55px;
}

.menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.menu__item:last-child {
  margin-bottom: 0;
}

.menu__item span {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
}

.menu__items {
  margin-bottom: 48px;
}

.menu__phone {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7ca60;
  border-radius: 46px;
  text-decoration: none;
  margin-bottom: 22px;
}

.menu__phone span {
  font-weight: 600;
  font-size: 18px;
  line-height: 21px;
  color: #181818;
  margin-left: 4px;
}

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

.menu__link {
  width: 44px;
  height: 44px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 50;
  display: none;
}

.callback {
  max-width: 464px;
  height: 630px;
  background: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  border-radius: 10px;
  display: none;
}

.callback__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 54px;
}

.callback__close {
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

.callback__title {
  margin: 0 auto;
  font-weight: bold;
  font-size: 25px;
  line-height: 36px;
  text-align: center;
  color: #000000;
  margin-bottom: 38px;
  max-width: 360px;
}

.callback__input {
  max-width: 317px;
  margin-bottom: 9px;
}

.callback__input:last-of-type {
  margin-bottom: 15px;
}

.callback__form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.callback__btn {
  background: linear-gradient(293.89deg, #f6c150 35.44%, #fded9b 94.34%);
  border-radius: 100px;
  max-width: 317px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  border-bottom: 3px solid #c49028;
  box-shadow: 0px 4px 50px #ffd57a;
  margin-bottom: 39px;
  cursor: pointer;
}

.callback__note {
  text-align: center;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: #000000;
}

.hero__input {
  max-width: 320px;
  height: 68px;
  background: #e8e8e8;
  border-radius: 100px;
  border: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  line-height: 21px;
}

.hero__btn {
  border-top: none;
  border-left: none;
  border-right: none;
}

.hero__btn-wrap {
  display: flex;
  gap: 20px;
}

.gallery__img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.gallery__slider {
  position: relative;
}

.gallery__prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-55%);
  cursor: pointer;
  z-index: 3;
}

.gallery__next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(55%);
  cursor: pointer;
  z-index: 3;
}

.gallery__slider .swiper-slide-active {
  opacity: 1 !important;
}

.gallery__slider .swiper-slide-active + .swiper-slide {
  opacity: 1 !important;
}

.gallery__slider .swiper-slide-active + .swiper-slide + .swiper-slide {
  opacity: 1 !important;
}

section.quiz {
  padding-bottom: 150px;
}

.gallery {
  padding-bottom: 150px;
  overflow-x: hidden;
}

.gallery__title {
  margin-bottom: 87px;
  font-weight: 700;
  font-size: 60px;
  line-height: 122%;
  text-align: center;
  color: #ffffff;
}

.gallery__title span {
  color: rgba(247, 202, 96, 1);
}

.gallery__pagination {
  display: none;
}

.hero__geo {
  display: none !important;
}

.lazy-background:not(.visible) {
  background-image: none !important;
}

@media (max-width: 576px) {
  #callback-popup-second {
    height: 500px;
  }

  .quiz {
    padding-bottom: 0 !important;
  }

  .gallery {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .gallery__title {
    font-size: 26px;
    line-height: 122%;
    margin-bottom: 40px;
  }

  .gallery__pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .gallery__prev,
  .gallery__next {
    display: none;
  }

  .gallery__img {
    height: 300px;
  }

  .hero__btn-wrap {
    flex-direction: column;
    margin-top: 40px !important;
    gap: 10px;
  }

  .hero__btn {
    margin-top: 0 !important;
    height: 64px !important;
  }

  .hero__input {
    width: 100%;
    font-size: 16px;
    height: 58px;
  }

  body,
  html {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .top-bg {
    background: none;
  }

  .mid-bg {
    background: none;
  }

  .btm-bg {
    background: none;
  }

  .mobile-display {
    display: block;
  }

  .mobile-none {
    display: none;
  }

  .block {
    display: block;
  }

  .callback {
    width: 90%;
    height: 440px;
  }

  .callback__title {
    font-size: 20px;
    line-height: 122%;
    margin-bottom: 30px;
    max-width: 230px;
  }

  .callback__btn {
    max-width: 253px;
    height: 62px;
    font-size: 14px;
    line-height: 17px;
  }

  .callback__note {
    font-size: 10px;
    line-height: 140%;
  }

  .callback__btn {
    margin-bottom: 20px;
  }

  .callback__inner {
    padding-top: 44px;
  }
  .addition-text {
    color: white;
    font-size: 16px;
    margin-top: 30px;
  }
}
.addition-text {
  color: white;
  font-size: 26px;
  margin-top: 90px;
}

.popup-map {
  max-width: 1200px;
  height: 550px;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 100;
}

.popup-map__inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.popup-map__map {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.popup-map__close {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -44px;
  background: rgba(246, 193, 80, 0.75);
  border-radius: 8px;
  max-width: 116px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.popup-map__close {
  font-weight: bold;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.02em;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer {
  color: white;
  font-size: 19px;
}
.addition-text {
  color: white;
  font-size: 19px;
  margin-top: 30px;
  margin-bottom: 20px;
}
@media (min-width: 576px) {
  .addition-text {
    color: white;
    font-size: 35px;
    margin-top: 90px;
    margin-bottom: 0;
  }
  .timer {
    color: white;
    font-size: 35px;
  }
}

.new-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100dvh;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .new-hero-bg {
    height: 100vh;
  }
}
	