@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url("../css/normalize.css");
@import url("../css/grid.css");
@import url("../css/slick.css");
@import url("../css/jquery.fancybox.css");

@font-face {
    font-family: 'Days One';
    src: url('../fonts/DaysOne-Regular.eot');
    src: local('Days One'), local('DaysOne-Regular'),
        url('../fonts/DaysOne-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/DaysOne-Regular.woff2') format('woff2'),
        url('../fonts/DaysOne-Regular.woff') format('woff'),
        url('../fonts/DaysOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}

*,*:before,*:after { -webkit-box-sizing:border-box;box-sizing:border-box; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
b, strong { font-weight: bold; }
input { outline: none; }
input:focus,textarea:focus{-webkit-box-shadow:none;box-shadow:none;}
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; vertical-align: top;}
iframe{ border:0; }
a { text-decoration: none; 	-webkit-transition:opacity .3s ease-out; -o-transition:opacity .3s ease-out; transition:opacity .3s ease-out; }
a:hover { text-decoration: none; }
*:focus{outline:none}

body {
	font-family: 'Inter', sans-serif;
	font-size:14px;
	font-weight:normal;
	color:#000;
	background:#FFF;
	margin:0 auto;
	padding:0;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	position: relative;
}

.wrapper {
    background: url(../img/main.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 43px 0 75px;
    overflow: hidden;
}

.wrapper:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(93 189 203 / 15%);
    z-index: 1;
}

.wrapper header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 3;
}

.header-block {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-flow: column;
}

.header-block .phone {
    display: none;
}

header .logo {
    display: flex;
    align-items: center;
    padding: 22px 23px;
    background: rgb(255 255 255 / 90%);
    border-radius: 0px 0px 10px 10px;
    margin: 0 0 16px;
}

header .logo span {
    font-size: 16px;
    line-height: 120%;
    color: #3A3A3A;
    display: inline-block;
    vertical-align: top;
    width: 138px;
    margin-right: 10px;
    padding-right: 6px;
    border-right: 1px solid #ADADAD;
}

header .adress {
    display: flex;
    color: #FFF;
    margin-right: 100px;
}

header .adress .title {
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #FFF;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

header .adress ul li {
    margin: 0 0 6px;
}

header .adress ul li:last-child {
    margin-bottom: 0;
}

header .adress ul li a {
    color: #FFF;
    border-bottom: 1px dashed #FFF;
	font-size: 16px;
}

.main {
    position: relative;
    z-index: 2;
}

.main_title {
    text-transform: uppercase;
    font-size: 56px;
    line-height: 130%;
    color: #FFF;
    font-family: 'Days One';
    width: 760px;
    max-width: 100%;
    margin: 0 0 28px;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
}

.main_title u {
    display: inline-block;
    vertical-align: top;
}

.main_price {
    position: relative;
    background: #C12032;
    display: inline-block;
    vertical-align: top;
    color: #FFF;
    padding: 11px 12px 11px 0;
    border-radius: 0 7px 7px 0;
    font-size: 28px;
    line-height: 36px;
    margin: 0 0 10px;
    font-family: 'Days One';
}

.main_price:after {
    content: '';
    position: absolute;
    right: 100%;
    top: 0;
    width: 50vw;
    height: 100%;
    background: #C12032;
    z-index: 1;
}

.main_price s {
	text-decoration-line: line-through;
	font-size: 22px;
	color: #CAB7BB;
}

.main_phone {
    display: flex;
    flex-flow: column;
    color: #FFF;
    align-items: flex-start;
}

.main_phone span {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 4px;
    font-size: 24px;
}

.main_phone a {
    color: #FFF;
    font-size: 28px;
    display: inline-block;
    vertical-align: top;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
}

.main_price img {
    vertical-align: middle;
}

.main_date {
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    font-style: italic;
    margin: 0 0 33px;
}

.advantages {
    display: flex;
    align-items: center;
    margin: 0 0 47px;
}

.advantages .item {
    display: flex;
    align-items: center;
    color: #fff;
    margin-right: 32px;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
}

.advantages .item:last-child {
	margin-right: 0;
}

.advantages .item .icon {
    width: 37px;
    min-width: 37px;
    margin-right: 13px;
}

.advantages .item .text {
    display: flex;
    flex-flow: column;
    font-size: 14px;
}

.advantages .item .text b {
    font-size: 18px;
}

.form-group input {
    background: #FFF;
    border: 1px solid #E6E6E6;
    color: #434343;
    border-radius: 159px 0 0 159px;
    padding: 32px 75px 32px 35px;
    font-size: 21px;
}

.form-control button {
    background: linear-gradient(0deg, #2FAABD 0%, #80CED8 100%);
    border-radius: 159px;
    color: #FFF;
    border: none;
    padding: 22px 52px;
    font-size: 20px;
    cursor: pointer;
}

.form-control button b {
    position: relative;
    z-index: 5;
    display: inline-block;
    vertical-align: top;
    width: 250px;
    max-width: 100%;
    font-weight: 400;
    font-family: 'Days One';
}

.form_type_1 {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form_type_1 .form-control {
    margin-left: -70px;
}

.form-text {
    width: 100%;
    color: #FFF;
    text-align: center;
    margin: 12px 0 0;
    font-size: 12px;
}

.form-text a {
    color: #c2c2c2;
    border-bottom: 1px dashed #c2c2c2;
    display: inline-block;
    vertical-align: top;
    transition: .3s border-color;
}

.form-text a:hover {
    border-color: transparent;
}

.main_form {
    margin: 0 0 16px;
}

.section {
	background: #FFF;
	padding: 75px 0;
}

.section_title {
	font-family: 'Days One';
	font-size: 39px;
	color: #434343;
	margin: 0 0 30px;
}

.list_type_1 {
    display: flex;
    flex-wrap: wrap;
}

.list_type_1 .item {
    width: calc(100%/4 - 30px*3/4);
    margin-right: 30px;
}

.list_type_1 .item:last-child {
    margin-right: 0;
}

.list_type_1 .item .image img {
    width: 100%;
}

.list_type_1 .item .text {
    text-align: center;
    font-size: 20px;
    line-height: 130%;
    font-weight: 600;
    margin: 20px 0 0;
    color: #343434;
}

.quiz_section {
    background: #F6F6F6;
    padding: 72px 0;
}

.left_block {
    display: flex;
    flex-wrap: wrap;
}

.left_block .title {
    width: 384px;
    margin-right: 28px;
    color: #434343;
    font-family: 'Days One';
    font-size: 39px;
}

.left_block .quiz_block {
    width: calc(100% - 412px);
    max-width: 100%;
}

.left_block .title b {
    color: #C12032;
    font-weight: normal;
}

.quiz_block {
    background: url(../img/quiz.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 28px;
    overflow: hidden;
    padding: 44px 46px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 13%);
    position: relative;
}

.quiz_title {
    color: #434343;
    font-size: 22px;
    font-family: 'Days One';
    width: 430px;
    max-width: 100%;
    margin: 0 0 17px;
}

.quiz_title span {
    color: #C12032;
}

.quiz_title.big {
    font-size: 34px;
    margin: 0 0 28px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    color: #FFF;
}

.answers {
    display: flex;
    flex-wrap: wrap;
    width: 430px;
    max-width: 100%;
}

.answers .answer {
    margin: 0 21px 21px 0;
    width: calc(100%/2 - 21px/2);
}

.answers .answer input {
    display: none;
}

.answers .answer label {
    display: flex;
    align-items: center;
    background: #FFF;
    width: 100%;
    height: 100%;
    padding: 14px 14px 14px 43px;
    border-radius: 10px;
    border: 1px solid #FFF;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #959595;
    cursor: pointer;
}

.answers .answer:nth-child(2n) {
    margin-right: 0;
}

.answers .answer label:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: url(../img/check_gray.svg) no-repeat center center;
    background-size: contain;
    width: 26px;
    height: 26px;
}

.answers .answer input:checked + label {
    color: #55BBCA;
    border-color: #55BBCA;
}

.answers .answer input:checked + label:before {
    background: url(../img/check_blue.svg) no-repeat center center;
}

.form_type_1.center {width: 100%;justify-content: center;}

.answers.big {
    width: 100%;
}

.quiz_block:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #323232;
    pointer-events: none;
    opacity: 0;
    transition: .5s opacity;
}

.quiz_block.done:after {
    opacity: .6;
}

.quiz {
    position: relative;
    z-index: 5;
}

.quiz_block .next {
    border: none;
    background: #434343;
    color: #FFF;
    display: inline-block;
    vertical-align: top;
    padding: 18px 33px;
    border-radius: 6px;
    margin-right: 22px;
    cursor: pointer;
    transition: .3s background;
}

.quiz_block button.next {
    display: none;
}

.quiz_block .controls {
    display: flex;
    align-items: center;
    margin: 51px 0 0;
}

.quiz_block .total {
    color: #434343;
}

.quiz_block .next:hover {
    background: #5e5e5e;
}

.quiz {
    position: relative;
    z-index: 5;
}

footer {
    background: #F6F6F6;
    padding: 24px 0;
}

footer .footer-links ul {
    display: flex;
    align-items: center;
}

footer .footer-links ul li {
    margin-right: 20px;
}

footer .footer-links ul li a {
    color: #5b5b5b;
    border-bottom: 1px dashed #5b5b5b;
}

footer .footer-links ul li.ml {
    margin-left: auto;
}

footer .footer-links ul li:last-child {
    margin-right: 0;
}

footer .info {
    margin: 30px 0 0;
    color: #cacaca;
}

footer .info p {
    margin: 0 0 4px;
    text-align: center;
}

footer .info p:last-child {
    margin: 0;
}

.modal {
    display: none;
    border-radius: 20px;
    text-align: center;
    width: 370px;
    max-width: 100%;
    padding: 30px 40px;
}

.modal.big {
    width: 620px;
}

.modal-title {
    font-size: 28px;
    margin: 0 0 10px;
    font-family: 'Days One';
    font-weight: normal;
}

.modal-text {
    font-size: 20px;
}

.modal .text-block p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 130%;
}

.modal .text-block p:last-child {
    margin: 0;
}

.modal .text-left {
    text-align: left;
}

.modal-map {
    margin: 20px 0;
}

.modal-map:last-child {
    margin-bottom: 0;
}