@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

:focus {
    outline: -webkit-focus-ring-color auto 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 500;
    background: #fff;
    color: #000;
}

h1 {
    font-size: 45px;
    font-weight: 700;
}
  
h2 {
    font-size: 40px;
    font-weight: 700;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}
  
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
}

img {
    max-width: 100%;
}

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

/*--------------------------------------------------------------*/

.header {
    background: #fff;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
}

.header__fixed {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.fixed {
    position: fixed;
    left: 0;
    top: 0;
    -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.header__logo {
    font-size: 20px;
    font-weight: 700;
    color: #1B6F9E;
}

.header__phone {
    font-size: 20px;
    font-weight: 500;
}

.menu__list {
    display: flex;
    justify-content: space-between;
}

.menu__item:not(:last-child) {
    margin-right: 50px;
}

.menu__link {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.menu__link:hover {
    color: #1B6F9E;
    transition: 0.3s;
}

.menu__link_active {
    color: #1B6F9E;
    border-bottom: 1px solid #1B6F9E;
}

/*--------------------------------------------------------------*/

.home {
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home__desc {
    margin-right: 50px;
}

.home__title {
    margin-bottom: 40px;
}

.home__text {
    max-width: 400px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3em;
    margin-bottom: 40px;
}

.home__button {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: #1B6F9E;
    cursor: pointer;
    padding: 20px 45px;
    border: none;
    border-radius: 100px;
    box-shadow: -4px 4px 10px rgba(81, 175, 227, 0.23);
    transition: 0.5s;
}

.home__button:hover {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    transition: 0.5s;
}

.home__img {
    max-width: 45%;
}

/*--------------------------------------------------------------*/

.popup-fade {
    display: none;
    text-align: center;
}

.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}

.popup {
	position: fixed;
	top: 20%;
	left: 35%;
	padding: 20px 10px 60px 10px;
	max-width: 550px;
	background: #fff;
	border: 1px solid #1B6F9E;
	border-radius: 10px; 
	z-index: 99999;
	opacity: 1;	
}

.popup__title {
    font-size: 25px;
    margin-bottom: 50px;
}

.popup__field {
    text-align: center;
    font-size: 18px;
    padding: 15px 100px;
    margin-bottom: 30px;
    border-radius: 15px;
    border: 1px solid #1B6F9E;
}

.popup__button {
    margin-top: 20px;

}

/*-------------------------------------------------------------*/

.price {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.price__title {
    margin-bottom: 50px;
}

.price__table {
    padding: 30px 70px;
    border-radius: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.table__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    padding: 25px 80px;
    border-top: 1px solid #1B6F9E;
}

.table__header {
    margin-bottom: 50px;
}

.table__name {
    font-size: 17px;
}

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

.table__button {
    position: relative;
    color: #1B6F9E;
    line-height: 1;
    cursor: pointer;
}

.table__button:after {
	display: block;
	position: absolute;
	left: 0;
	width: 0;
	height: 1px;
	background-color: #1B6F9E;
	content: "";
	transition: width 0.3s ease-out;
}

.table__button:hover:after,
.table__button:focus:after {
	width: 100%;
}

/*--------------------------------------------------------------*/

.method {
    padding-top: 100px;
}

.method__title {
    text-align: center;
    margin-bottom: 80px;
}

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

.method__img {
    max-width: 45%;
}

.method__list {
    margin-left: 80px;
    padding-left: 40px;
    border-left: 3px solid #1B6F9E;
}

.method__type:not(:last-child) {
    padding-bottom: 25px;
}

.method__header {
    color: #1B6F9E;
    margin: 0;
    padding-bottom: 15px;
}

.method__desc {
    padding: 0;
}

/*--------------------------------------------------------------*/

.faq {
    padding-top: 100px;
}

.faq__block {
    border-radius: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 35px 125px;
}

.faq__block:not(:last-child) {
    margin-bottom: 25px;
}

details summary::-webkit-details-marker {
    display: none;
}

.faq__accordeon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq__title {
    font-size: 15px;
    font-weight: 700;
}

.faq__text {
    padding-top: 25px;
}

.faq__icon {
    color: #1B6F9E;
}

details:not([open]) summary .faq__icon_close {
    display: block;
}

details[open] summary .faq__icon_close {
    display: none;
}

details:not([open]) summary .faq__icon_open {
    display: none;
}

details[open] summary .faq__icon_open {
    display: block;
}

/*--------------------------------------------------------------*/

.reviews {
    padding-top: 100px;
    padding-bottom: 150px;
    max-width: 800px;
}

.reviews__title {
    text-align: center;
    padding-bottom: 30px;
}

/* Слайдер */
.slick-list {
    overflow: hidden;
}

.slick-track{
    display: flex;
}

.slider {
    position: relative;
    padding: 20px 80px;
}

.slider .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    z-index: 10;
    font-size: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.slider .slick-arrow.slick-prev {
    left: 0;
    background: url('../images/left-arrow.svg') 0 0 / 100% no-repeat;
}

.slider .slick-arrow.slick-next {
    right: 0;
    background: url('../images/right-arrow.svg') 0 0 / 100% no-repeat;
}

.slider__item {
    border-radius: 50px;
    opacity: 0.3;
}

.slider__item img{
    border-radius: 50px;
}

.slider__desc {
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
    display: none;
}

.slider__desc::after {
    content: "";
    display: block;
    background: #1B6F9E;
    width: 110px;
    height: 3px;
    margin: 0 auto;
    margin-top: 15px;
}

.slider__item_active {
    opacity: 1;
}

.slider__desc_active {
    display: block;
}

/*--------------------------------------------------------------*/

.footer {
    text-align: center;
    background: #1B6F9E;
}

.footer__text {
    font-size: 16px;
    font-weight: 700;
    padding: 40px 0;
    color: #fff
}

/*--------------------------------------------------------------*/

@media (max-width: 1200px) {
    .header__logo {
        width: 200px;
    }

    .popup {
        left: 25%;
    }
}

@media (max-width: 768px) {
    .header {
        display: block;
        text-align: center;
    }

    .header__logo {
        font-size: 20px;
        width: 100%;
        margin-bottom: 20px;
        white-space: nowrap;
    }

    .header__phone {
        width: 100%;
        padding-bottom: 20px;
    }

    .header__menu {
        display: block;
        margin: 0 auto;
    }

    .popup {
        left: 15%;
    }

    .menu__list {
        justify-content: center;
    }

    .reviews {
        max-width: 600px;
    }

    .slider {
        padding: 20px 30px;
    }
}

@media (max-width: 576px) {
    .header__logo {
       margin-bottom: 20px;
    }

    .home {
        display: block;
        text-align: center;
    }

    .home__desc {
         margin: 0;
    }

    .home__text {
        margin: 30px auto;
    }

    .home__img {
         margin-top: 30px;
    }

    .popup {
        left: 10%;
    }

    .price__table {
         padding-left: 5px;
         padding-right: 5px;
    }

    .table__item {
        padding-left: 10px;
        padding-right: 10px;
    }

    .method__body {
         display: block;
    }

    .method__img {
         display: block;
         margin: 0 auto;
         margin-bottom: 30px;
    }

    .method__list {
         margin-left: 0;
    }

    .faq__block {
         padding: 35px;
    }

    .reviews {
        max-width: 400px;
    }
}

@media (max-width: 414px) {
    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }

    .menu__link {
        font-size: 11px;
    }

    .menu__item:not(:last-child) {
        margin-right: 15px;
    }

    .home {
        padding-top: 20px;
    }

    .popup {
        max-width: 350px;
    }

    .popup__field {
        padding: 15px;
    }

    .price {
        padding-top: 20px;
    }

    .table__name {
        font-size: 12px;
    }

    .table__item {
        font-size: 10px;
    }

    .method {
        padding-top: 20px;
    }

    .reviews {
        max-width: 300px;
        padding-bottom: 100px;
    }
}