:root{
  --button: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);;
}
*{
  margin: 0;
  padding: 0;
  border: none;
  outline:none;
  box-sizing: border-box;
}
body{
  font-family: "Gilroy", sans-serif;
}
button{
  font-family: "Gilroy", sans-serif;
  cursor: pointer;
}
.wrapper{
  width: 1420px;
  margin: 0 auto;
}
.flex{
  display: flex;
}
.aic{
  align-items: center;
}
h1{
  font-weight: 700;
font-size: 56px;
color: #323232;
}
h1 span{
  font-size: 72px;
color: #990038;
}
#top{
  border-bottom: 2px solid rgba(34, 157, 157, 0.15);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 9;
  background: #fff;
}
.logo{
  margin-right: 55px;
}
.price{
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  color: #323232;
  margin-right: 50px;
}
.price svg{
  margin-right: 10px;
}
#top .button{
  border-radius: 90px;
  padding: 13px 15px;
  width: 286px;
  height: 49px;
  background: var(--button);
  font-weight: 600;
  font-size: 17px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
.button:hover{
  box-shadow: 0 4px 15px 0 rgba(67, 215, 215, 0.5);
background: var(--button);
}
.phone{
  margin-left: auto;
}
.phone a{

text-decoration: none;

align-items: start;

position: relative;

top: 5px;
}
.phone p{
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  color: #323232;
  margin-left: 15px;
}
.phone span{
  font-weight: 400;
  font-size: 16px;
  line-height: 112%;
  text-align: right;
  color: #323232;
  display: block;
  margin-top: -5px;
}

.promo-header p{
  font-weight: 500;
  font-size: 42px;
  color: #323232;
  margin-top: 15px;
}
p.dop{
  font-weight: 500;
  font-size: 27px;
  line-height: 84px;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}
p.dop svg{
  position: absolute;
  z-index: -1;
  left: -250px;
}
p.dop span{
  font-weight: 600;
font-size: 32px;
}
.action{
  font-weight: 500;
  font-size: 22px;
  line-height: 159%;
  color: #323232;
  margin-top: 30px;
}
#header{
  padding: 200px 0 100px;
}
#header .button{
  background: var(--button);
  border-radius: 90px;
  padding: 12px 40px;
  width: 421px;
  height: 74px;
  font-weight: 700;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #fff;
  margin-top: 30px;
}
.bonus{
  align-items: center;
  margin-top: 30px;
}
.bonus > p{
  font-weight: 400;
font-size: 22px;
line-height: 159%;
color: #323232;
margin-right: 20px;
}
.bonus div{
  display: flex;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
background: #fff;
border-radius: 90px;
padding: 5px 12px;
align-items: center;
margin-right: 15px;
}
.bonus div:last-child{
  margin-right: 0;
}
.bonus div p{
  font-weight: 400;
font-size: 18px;
line-height: 122%;
text-align: center;
color: #323232;
margin-left: 10px;
}
.right {
  position: relative;
}
.doc-info{
  border-radius: 20px;
  padding: 20px 30px;
  width: 250px;
  height: 145px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 451px;
  left: 50px;
}
.doc-info .years{
  font-weight: 700;
  font-size: 48px;
  line-height: 104%;
  text-align: center;
  background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.doc-info .spec{
  font-weight: 400;
  font-size: 18px;
  line-height: 139%;
  text-align: center;
  color: #323232;
}
#plus {
  padding: 100px 0;
}
#plus .plus{
  justify-content: space-between;
}
#plus .plus div{
  box-shadow: 0 4px 15px 0 rgba(86, 86, 86, 0.1);
  background: #fff;
  border-radius: 30px;
  padding: 23px 35px;
  width: 453px;
  height: 135px;
  display: flex;
  align-items: center;
}
#plus .plus div:first-child{
  padding: 23px 30px;
}
#plus .plus p{
  font-weight: 500;
  font-size: 27px;
  line-height: 130%;
  color: #323232;
  margin-left: 15px;
}
#plus .plus p strong{
  font-weight: 700;

}






/*** QUIZ ***/

h2{
  font-weight: 700;
font-size: 47px;
line-height: 115%;

color: #323232;
}
#quiz {
  background: url('../images/bgquiz.png') no-repeat center right;
  background-size: contain;
  padding: 100px 0 0;
}
#quiz h2 + p{font-size: 27px;line-height: 130%;color: #323232;font-weight: 500;margin-top: 20px;margin-bottom: 50px;}
#quiz h2 + p strong{
  font-weight: 700;

}
.quiz-section {
  padding: 0 0 100px;
}

 .section-title {
  text-align: center;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  margin: 0 0 60px;
}

.section-title .title {
  font-weight: normal;
  font-size: 40px;
  line-height: 52px;
}

 .section-title .subtitle {
  font-size: 24px;
  line-height: 28px;
}

.quiz-block {
  flex-wrap: wrap;
  overflow: hidden;
}

.quiz-block .quiz-title {
  color: #000000;
  font-size: 24px;
  line-height: 1;
  margin: 0 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-block .quiz-title .nums {
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: #323232;
}

.quiz-block .quiz-title .nums span {
  font-weight: bold;
}

.quiz-block .quiz-title .line {
  width: 1200px;
  background: #e6e6e6;
  border-radius: 50px;
  position: relative;
  height: 34px;
  overflow: hidden;
}

.quiz-block .quiz-title .line span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(134deg, #990038 0%, #d62465 96.4%);
}

.quiz-steps {
  margin: 0 0 55px;
}

.quiz-steps .step {
  counter-increment: steps;
  display: none;
}

.quiz-steps .step.active {
  display: block;
}

.quiz-steps .step .step-question {
  margin: 0 0 37px;
  font-weight: 700;
  font-size: 27px;
  line-height: 130%;
  color: #323232;
}

.quiz-steps .step .answers-block {
  display: flex;
  align-items: flex-start;
}

.quiz-steps .step .answers-block .answers {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.quiz-steps .step .answers .item {
  min-height: 40px;
  width: 332px;
  height: 295px;
  background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
  border-radius: 10px;
  padding: 10px;
  position: relative;
}
.quiz-steps .step .answers .item  .bgitem{
  background: #f2f2f2;
  width: 100%;
  height: 100%;
}
.quiz-steps .step .answers .item  .bgitem img{
  margin: 5px auto;
  width: 100%;
}
.quiz-steps .step .answers .item input {
  display: none;
}

.quiz-steps .step .answers .item label {
  cursor: pointer;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-weight: 500;
  font-size: 22px;
  text-align: center;
  color: #323232;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-steps .step .answers .item label span {
  align-items: end;
  position: relative;
  top: 100px;
}
.quiz-steps .step .answers .item label:before {
  content: "";
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: url('../images/checkoff.svg');
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -38px;
}

.steps-block {
  width: 100%;
  padding-bottom: 100px;
}

.quiz-steps .step .answers-block .image {
  width: 265px;
}

.quiz-steps .step .answers .item input:checked + label:before, .quiz-steps .step .answers .item label:hover:before{
  background: url(../images/checkon.svg) no-repeat center center;
}

.quiz-steps .step .answers .item input:checked + label {
}

.quiz-steps .step .answers-block .answers.a-presents {
  display: flex;
  flex-wrap: wrap;
}

.quiz-steps .step .answers-block .answers.a-presents .item label {
  display: flex;
  flex-flow: column;
  padding-left: 0;
  text-align: center;
}

.quiz-steps .step .answers-block .answers.a-presents .item {
  width: calc(100%/2 - 84px/2);
  margin-right: 84px;
}

.quiz-steps .step .answers-block .answers.a-presents .item:nth-child(2n) {
  margin-right: 0;
}

.quiz-steps .step .answers-block .answers.a-presents .item label img {
  width: 270px;
  height: 180px;
  object-fit: cover;
  margin: 0 0 34px;
}

.quiz-steps .step .answers-block .answers.a-presents .item label:before {
  left: 50%;
  top: inherit;
  transform: translateX(-50%);
  top: 160px;
}

.quiz-controls {
  display: flex;
  align-items: center;
  justify-content: start;
}

.quiz-final {
    display: none;
    width: 100%;
    justify-content: space-between;
}

.quiz-final .title {
  margin: 0 0 30px;
  font-weight: 700;
  font-size: 48px;
  line-height: 115%;
  color: #323232;
}
.quiz-final .descr{
  font-weight: 500;
font-size: 27px;
line-height: 130%;
background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.quiz-final .form-phone {
  width: 628px;
  margin: 50px 0 20px;
}

.quiz-final .form-phone input {
  background: #FFFFFF;
  border-radius: 90px;
  padding: 15px 40px;
  width: 398px;
  height: 80px;
  border: 1px solid #43d7d7;
  font-weight: 400;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #b8d4d4;
}

.quiz-final .form-phone button {
  cursor: pointer;
  background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
  border-radius: 90px;
  padding: 12px 40px;
  width: 398px;
  height: 74px;
  font-weight: 700;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}
.quiz-final .form-phone button:hover{
  box-shadow: 0 4px 15px 0 rgba(67, 215, 215, 0.5);
background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
}
.quiz-final .form-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 122%;
  color: #b9b2b2;
  width: 398px;
}

.quiz-final .form-text a {
  color: #6D6D6D;
  /* border-bottom: 1px solid #6D6D6D; */
  text-decoration: none;
}

.quiz-final .present-final {
  position: relative;
  padding-left: 86px;
}

.quiz-final .present-final svg {
  width: 71px;
  height: 71px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  fill: #ffffff;
}

.quiz-final .present-final b {
  display: block;
  font-size: 18px;
  margin: 0 0 5px;
}

.quiz-final .present-final span {
  display: inline-block;
  vertical-align: top;
  color: #FFA164;
  font-weight: 500;
  font-size: 15px;
}

.quiz-info {
  width: 420px;
  min-width: 420px;
  background: #E6FFFE;
  padding: 46px 36px;
}

.quiz-info .title {
  font-weight: bold;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
  margin: 0 0 15px;
}

.quiz-info .plan {
  position: relative;
  padding-left: 130px;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #000000;
  margin: 0 0 40px;
}

.quiz-info .plan:before {
  content: "";
  width: 134px;
  height: 113px;
  background: url(../images/calc.png) no-repeat center center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  margin: 16px 0 0;
  pointer-events: none;
  background-size: cover;
}

.quiz-info .presents b {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: bold;
}

.quiz-info .presents .items {
  display: flex;
  flex-wrap: wrap;
}

.quiz-info .presents .items .item {
  background: #fff;
  width: calc(100% / 2 - 30px / 2);
  margin-right: 30px;
}

.quiz-info .presents .items .item:last-child {
  margin-right: 0;
}

.quiz-info .presents .items .item .text {
  text-align: center;
  font-size: 14px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
}

.presents_final {
    display: none;
  font-weight: bold;
  font-size: 32px;
  line-height: 32px;
  text-align: center;
  position: relative;
  z-index: 25;
  margin: 90px 0 0;
}

.presents_final span {
  display: block;
  text-align: center;
  color: #fe7417;
}

.presents_final .icon {
  width: 165px;
  height: 165px;
  margin: 0 auto 25px;
  fill: #faaa0d;
}

.presents_final:before {
  content: "";
  width: 406px;
  height: 178px;
  background: url(../fonts/arrow.svg) no-repeat center center;
  position: absolute;
  left: -110%;
  top: -154px;
  z-index: 33;
  background-size: contain;
  pointer-events: none;
  transform: rotate(-3deg);
}



.btn {
  cursor: pointer;
  font-family: 'gilroy',Arial,sans-serif;
  letter-spacing: 0.5px;
  border-width: 0px;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
  border-radius: 90px;
  padding: 12px 40px;
  width: 288px;
  height: 74px;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:hover{
  box-shadow: 0 4px 15px 0 rgba(67, 215, 215, 0.5);
  background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
}
.btn.disabled {
    pointer-events: none;
    opacity: .5;
}
.btn-border {
}

.btn-border:hover {
  background: #faaa0d;
  color: #fff;
}

.quiz-controls .btn-border {
  background: transparent;
  border: 3px solid #43d7d7;
  box-shadow: none;
  border-radius: 90px;
  padding: 12px 40px;
  width: 146px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #323232;
  margin-right: 50px;
}

.quiz-controls .btn-border:hover {
  color: #fff;
  box-shadow: 0 4px 15px 0 rgba(67, 215, 215, 0.5);
  background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
}



footer{
  background: #E9F4F4;
  padding: 50px 0;
}
footer p{
  font-weight: 400;
font-size: 18px;
line-height: 139%;
text-align: center;
color: #323232;
}



#calculating-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-bottom: 100px;
  flex-direction: column;
}

.spinner {
  border: 6px solid #f3f3f3; /* Light grey */
  border-top: 6px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 3s linear forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.calculating-text {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
}



/* Стиль модального окна */
.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed; /* Фиксированное позиционирование */
  z-index: 1; /* Над другими элементами */
  left: 0;
  top: 0;
  width: 100%; /* Полная ширина */
  height: 100%; /* Полная высота */
  overflow: auto; /* Включить прокрутку, если необходимо */
  background-color: rgb(0,0,0); /* Цвет фона */
  background-color: rgba(0,0,0,0.4); /* Черный с непрозрачностью */
}

/* Стиль контента модального окна */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% сверху и по центру */
  padding: 20px;
  border: 1px solid #888;
  width: 440px; /* Можете изменить на нужную ширину */
}
.modal-content p{
  font-weight: 700;
font-size: 27px;
line-height: 130%;
text-align: center;
color: #323232;
}
/* Кнопка закрытия */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modal .form-phone {
  width: 100%;
  margin: 30px 0 20px;
}

.modal .form-phone input {
  background: #FFFFFF;
  border-radius: 90px;
  padding: 15px 40px;
  width: 398px;
  height: 80px;
  border: 1px solid #43d7d7;
  font-weight: 400;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #b8d4d4;
}

.modal .form-phone button {
  cursor: pointer;
  background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
  border-radius: 90px;
  padding: 12px 40px;
  width: 398px;
  height: 74px;
  font-weight: 700;
  font-size: 22px;
  line-height: 227%;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}
.modal .form-phone button:hover{
  box-shadow: 0 4px 15px 0 rgba(67, 215, 215, 0.5);
background: linear-gradient(131deg, #43d7d7 0%, #229d9d 100%);
}