/* Fonts */
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 400;
  src: local("ProximaNova-Regular"), local("Proxima Nova Regular"), url("../fonts/ProximaNova-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 600;
  src: local("ProximaNova-Semibold"), local("Proxima Nova Semibold"), url("../fonts/ProximaNova-Semibold.woff2") format("woff2");
}
@font-face {
  font-family: "ProximaNova";
  font-style: normal;
  font-weight: 700;
  src: local("ProximaNova-Bold"), local("Proxima Nova Bold"), url("../fonts/ProximaNova-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Swanston";
  src: local("Swanston"), url("../fonts/Swanston.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Swanston";
  src: local("Swanston-Bold"), local("Swanston Bold"), url("../fonts/Swanston-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  min-width: 1280px;
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  position: relative;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  font-family: "Swanston";
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: #FFFFFF;
  background-color: #F0F0F0;
}

main.quiz-completed .quiz {
  display: none;
}
main.quiz-completed .result,
main.quiz-completed .result__desc {
  display: block;
}

h1, h2, h3 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
}

button {
  font-family: "Swanston";
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden:not(:focus):not(:active),
input[type=checkbox].visually-hidden,
input[type=radio].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  max-width: 1160px;
  padding: 0 10px;
  margin: 0 auto;
}

.button-basic {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 58px;
  font-family: inherit;
  font-size: 16px;
  border: none;
  border-radius: 3px;
  border: 3px solid #000000;
  transition: 0.3s;
}
.button-basic--yellow {
  color: #000000;
  background-color: #FFF22F;
}
.button-basic--yellow:hover {
  background-color: #ECDE0A;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  border-bottom: 1px solid #D8D8D8;
}

.header__logo {
  padding-left: 18px;
}

.header__signin {
  line-height: 0;
}

.promo {
  position: relative;
  padding: 57px 0 0;
  background: #DD5E02;
  z-index: 0;
  overflow: hidden;
  background: url("../img/content/bg.png") no-repeat center left;
  background-size: cover !important;
}

@media (max-width: 1280px) {
  .promo::before {
    width: 200px;
  }
  .promo::after {
    width: 110px;
  }
}

.navigation {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px 0 0;
  border-radius: 57px;
}

.navigation__logo-link {
  display: block;
  line-height: 0;
}

.navigation__logo {
  width: 157px;
  height: 60px;
}

.navigation__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 620px;
  margin-top: 0;
  margin-left: auto;
}
.navigation__list--short {
  width: 335px;
}

.navigation__link {
  font-family: "Swanston";
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

.promo__wrapper {
  margin-top: 33px;
  padding-top: 115px;
  padding-bottom: 110px;
}

.promo__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 765px;
  margin: 0 auto;
  padding: 71px 65px 68px;
  text-align: center;
  color: #000000;
  background-color: #FFFFFF;
}
.promo__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 35px;
  background: url("../img/content/promo-content-window.svg") no-repeat center;
  background-size: contain;
}

.promo__title {
  font-size: 47px;
  line-height: 1;
}
.promo__title span {
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -5px;
}

.promo__desc {
  width: 460px;
  margin: 30px auto 0;
  font-family: "ProximaNova";
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}

.promo__button {
  position: relative;
  width: 56px;
  height: 37px;
  margin: 35px auto 0;
  padding: 0;
  border: none;
  background-color: transparent;
  background-size: cover;
  cursor: pointer;
  animation: hideArr 1.2s linear infinite;
}
.promo__button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 100%;
  height: 22px;
  background: url("../img/icon/icon-arrow-down.svg") no-repeat center bottom;
  background-size: cover;
}
.promo__button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 22px;
  background: url("../img/icon/icon-arrow-down.svg") no-repeat center bottom;
  background-size: cover;
}

@keyframes hideArr {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  75% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}
.promo__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  animation: marquee 15s linear infinite;
}
.promo__marquee::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  background: url("../img/content/marq.svg") left center;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.promo__people {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.promo__people::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 0;
  width: 270px;
  height: 240px;
  background: url("../img/content/calc.svg") no-repeat left top;
  background-size: contain !important;
  filter: drop-shadow(11px 3px 25px rgba(0, 0, 0, 0.25));
}
@media (max-width: 1280px) {
  .promo__people::before {
    left: 0;
    width: 490px;
    height: 340px;
  }
  .promo__people::after {
    right: 50px;
    width: 280px;
    height: 430px;
  }
}

.promo__curves {
  position: absolute;
  top: 0;
  right: 0;
  width: 1106px;
  height: 726px;
  z-index: -1;
}
.promo__curves::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url("../img/content/promo-bg-curve.svg") no-repeat right top;
  background-size: cover;
  z-index: -1;
}

.quiz {
  position: relative;
  padding-top: 80px;
  padding-bottom: 87px;
  color: #FFFFFF;
  background-color: #D8D8D8;
  z-index: 0;
}
.quiz::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: calc(50% - 45px);
  background: url("../img/content/quiz-bg-phone.png") no-repeat;
  mix-blend-mode: multiply;
  background-size: cover !important;
}
.quiz::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: calc(50% - 45px);
  background: url("../img/content/quiz-bg-curve.svg") no-repeat center;
  background-size: cover;
}
.quiz--active::before, .quiz--active::after {
  display: none;
}
.quiz--active .quiz__about {
  display: none;
}

.quiz__about {
  position: relative;
  width: 534px;
}

.quiz__title {
  padding-top: 124px;
  font-size: 44px;
  font-weight: 700;
  line-height: 90%;
}

.quiz__desc {
  margin-top: 40px;
  font-family: "ProximaNova", sans-serif;
  font-size: 32px;
  line-height: 45.79px;
  color: #060606;
}
.quiz__desc:last-of-type {
  margin-top: 10px;
}

.quiz__button {
  width: 520px;
  margin-top: 38px;
  margin-bottom: 71px;
  font-size: 24px;
  cursor: pointer;
}

.quiz__img-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 427px;
  padding: 25px;
  border-radius: 30px;
  overflow: hidden;
}

.quiz__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.quiz__content {
  position: relative;
  width: 100%;
  padding: 90px 50px 40px;
  font-family: "ProximaNova", sans-serif;
  color: #000000;
  background-color: #FFFFFF;
  z-index: 1;
  display: none;
}
.quiz__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 53px;
  background: url("../img/content/quiz-form-window.svg") no-repeat center;
  background-size: contain;
}

.quiz__counter {
  display: block;
  font-family: "Swanston";
  font-size: 30px;
  font-weight: 700;
}
.quiz__counter span {
  color: #ADADAD;
}

.question-counter {
  color: #000000 !important;
}

.question {
  margin-top: 32px;
}

.question__item {
  position: relative;
  display: none;
}
.question__item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: contain !important;
}
.question__item:first-of-type {
  display: block;
}
.question__item:first-of-type::before {
  width: 397px;
  height: 303px;
  background-image: url("../img/quiz/question-pic_1.svg");
}
.question__item:nth-child(2)::before {
  width: 370px;
  height: 330px;
  background-image: url("../img/quiz/question-pic_2.svg");
}
.question__item:nth-child(3)::before {
  width: 406px;
  height: 330px;
  background-image: url("../img/quiz/question-pic_3.svg");
}
.question__item:nth-child(4)::before {
  width: 370px;
  height: 365px;
  background-image: url("../img/quiz/question-pic_4.svg");
}
.question__item:last-of-type::before {
  width: 540px;
  height: 380px;
  background-image: url("../img/quiz/question-pic_5.svg");
}

.question__content {
  width: 555px;
}

.question__title {
  margin: 0;
  margin-bottom: 32px;
  font-size: 26px;
  font-weight: 700;
  line-height: 113%;
}

.question__label {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 19px;
  user-select: none;
  cursor: pointer;
}
.question__label:last-of-type {
  margin-bottom: 0;
}

.question__input {
  position: relative;
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
  margin-right: 15px;
  background: #FFFFFF;
  border: 3px solid #000000;
}
.question__input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: #FFF22F url("../img/icon/icon-checked.svg") no-repeat center;
  background-size: contain;
  display: none;
}

input[type=radio]:checked + .question__input:before {
  display: block;
}

.quiz__form-btn {
  width: 316px;
  margin-top: 32px;
  padding: 0;
  font-family: "Swanston";
  font-size: 24px;
  cursor: pointer;
}
.quiz__form-btn:disabled {
  background-color: #D6D6D6;
  cursor: auto;
}

.btn-result {
  display: none;
}

.result {
  padding: 80px 0 109px;
  font-family: "ProximaNova";
  background-color: #ED1E13;
  display: none;
}

.result__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 111px 83px 55px 70px;
  color: #000000;
  background-color: #FFFFFF;
  z-index: 1;
}
.result__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 53px;
  background: url("../img/content/quiz-form-window.svg") no-repeat center;
  background-size: contain;
}

.result__content {
  width: 502px;
}

.result__title {
  font-family: "Swanston";
  font-size: 30px;
}

.result__wrong {
  display: none;
  margin-top: 50px;
  font-size: 24px;
  font-weight: 400;
}

.result__desc {
  display: none;
  margin-top: 50px;
  font-weight: 400;
  font-family: "Swanston";
}

.gift__item {
  display: none;
  margin-bottom: 50px;
}
.gift__item:last-of-type {
  margin-bottom: 0;
}

.gift__about,
.gift__desc {
  font-size: 18px;
}

.gift__about {
  font-weight: 700;
}

.result__wrong-link,
.gift__link {
  width: 316px;
  margin-top: 20px;
  font-family: "Swanston";
  font-size: 24px;
}

.gift__link-list {
  margin-top: 20px;
}

.manual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
}

.manual__link {
  display: flex;
  font-size: 16px;
  line-height: 20px;
  text-decoration: underline 1px;
  text-underline-offset: 4px;
  color: #1D79B3;
}

.result__offer {
  width: 410px;
}

.offer__text {
  font-size: 18px;
  line-height: 27px;
}

.offer__link {
  color: #000000;
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}

.gifts {
  position: relative;
  padding: 57px 0 0 0;
  background-color: #ED1E13;
  z-index: 0;
}
.gifts::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 681px;
  height: 1080px;
  background: url("../img/content/gifts-bg.svg") no-repeat center right;
  background-size: contain !important;
  z-index: -1;
  opacity: 0.9;
}
.gifts::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1094px;
  height: 920px;
  background: url("../img/content/gifts-bg-curve.svg") no-repeat bottom left;
  background-size: contain !important;
  z-index: -1;
  opacity: 0.9;
}

.gifts__title {
  margin-top: 74px;
font-size: 61px;
font-weight: 400;
line-height: 76px;
letter-spacing: 0px;
}

.gifts__list {
  position: relative;
  margin-top: 26px;
  padding-bottom: 112px;
  z-index: 1;
}
.gifts__list::before {
  content: "";
  position: absolute;
  top: 310px;
  left: -140px;
  width: 214px;
  height: 214px;
  background: url("../img/content/floppy.svg") no-repeat center;
  background-size: contain !important;
  z-index: 0;
}
.gifts__list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100px;
  width: 185px;
  height: 112px;
  background: url("../img/content/tetris.svg") no-repeat center bottom;
  background-size: contain !important;
  z-index: 0;
}

.gifts__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
  padding: 64px 97px 42px 50px;
  font-family: "ProximaNova";
  color: #000000;
  background-color: #FFFFFF;
  border: 2px solid #000;
}
.gifts__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 35px;
  background: url("../img/content/gifts-item-window.svg") no-repeat center;
  background-size: contain;
}
.gifts__item:last-of-type {
  margin-bottom: 0;
}

.gifts__name {
  width: 497px;
  font-size: 32px;
  font-weight: 700;
  line-height: 113%;
}

.gifts__about {
  width: 452px;
}

.gifts__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 125%;
}

.gifts__link {
  width: 316px;
  margin-top: 20px;
  font-family: "Swanston";
  font-size: 24px;
}

.footer {
  font-family: "ProximaNova", "Arial", sans-serif;
  background-color: #000000;
  color: #FFFFFF;
}
.footer--bg-red {
  padding-top: 20px;
  background-color: #ED1E13;
  box-shadow: 0px 4px 30px 0px rgba(44, 48, 59, 0.1);
  z-index: 2;
}

.footer__wrapper {
  display: flex;
  align-items: flex-start;
  padding: 55px 0 80px 45px;
  line-height: 16px;
}

.footer__copyright {
  margin: 0;
  font-size: 13px;
}

.footer__copyright-link {
  display: flex;
  flex-direction: column;
  display: inline;
  color: #FFFFFF;
  text-decoration: underline;
}

.footer__policy {
  display: block;
  margin-top: 20px;
  text-decoration: underline;
  color: #FFFFFF;
}

.footer__callback {
  margin: 0;
  margin-left: 167px;
  font-size: 13px;
}

.footer__phone {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #FFFFFF;
}

.footer__logo-link {
  display: flex;
  margin-left: auto;
}

.footer__logo {
  width: 207px;
}

@media (max-width: 425px) {
  .footer__wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 60px;
    padding-left: 0;
  }
  .footer__copyright-link {
    margin: 0;
    font-size: 13px;
  }
  .footer__copyright-link span {
    display: block;
  }
  .footer__copyright {
    margin: 5px 0;
  }
  .footer__policy {
    margin-top: 10px;
    text-decoration: underline;
    color: #FFFFFF;
  }
  .footer__callback {
    margin: 40px 0 0 0;
    font-size: 13px;
  }
  .footer__phone {
    position: relative;
  }
  .footer__phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: url("../img/icon/icon-phone.svg") no-repeat center;
  }
  .footer__logo-link {
    margin: 40px 0 0 0;
  }
  .footer__logo {
    width: 140px;
  }
}