html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

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

h1,h2,h3,h4,h5,h6 {
    margin: 0;    
}

p {
    margin: 0;
}

:root {
    --main-text: #65849B;
    --text-dark: #263747;
    --bg-light: #F8F2ED;
    --redish-color: #E6D0BA;
}

img {
    max-width: 100%;
}

body {
    min-width: 1200px;
    font-family: "Lora", serif;
    background: #F8F2ED;
}

/* glob */

.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-reset {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.flex {
    display: flex;
}

.container {
    width: 100%;
    padding: 0 165px;
    margin: 0 auto;
}

/* header  */



.header__container {
    min-height: 80px;
    align-items: center;
}

.header__burger {
    display: none;
}

.header__logo {
    max-height: 60px;
    display: block;
    margin-right: auto;
}

.header__logo img {
    display: block;
    height: 60px;
}

.header__nav {
    margin-right: auto;
}

.nav__list {
    flex-wrap: wrap;
}

.nav__list-item:not(:last-child) {
    margin-right: 45px;
}

.nav__list-link {
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 130%;
    font-weight: 600;
    color: var(--text-dark);
}

.nav__list-link::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 55%;
    height: 9px;
    left: 5px;
    bottom: 0;
    background: var(--redish-color);
    transition: width .3s ease-in, left .3s ease-in-out;
}


.nav__list-link:hover::after {
    width: 100%;
    left: 0;
}

.header__contacts {
    align-items: flex-end;
    flex-direction: column;
}

.header__tel {
    margin-right: 15px;
    z-index: 2;
    font-size: 16px;
    line-height: 130%;
    font-weight: 600;
    color: var(--text-dark);
}

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

.header__socials img {
    display: block;
    width: 30px;
    height: 30px;
    transition: transform .3s ease-in-out;
}

.header__socials img:hover {
    transform: translateY(-5px);
}


/* hero */

.hero {
    padding-top: 60px;
    padding-bottom: 100px;
    margin-bottom: 100px;
    background: rgb(236,229,211);
    background: linear-gradient(90deg, rgba(236,229,211,1) 65%, #65849B 65%);
}

.hero__container {
    position: relative;
    align-items: center;
}

.hero__content {
    /* margin-right: 120px; */
    width: calc(60% - 120px);
    min-height: 620px;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 40px 40px;
    flex-direction: column;
}


.hero__title {
    position: relative;
    margin-bottom: 30px;
    font-size: 81px;
    line-height: 130%;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
}


.hero__descr {
    margin-bottom: 60px;
    font-size: 26px;
    line-height: 130%;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.hero__list {
    flex-direction: column;
    margin-bottom: 60px;
}

.hero__descr-more {
    padding-left: 28px;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    color: var(--text-dark)
}

.hero__descr-more:not(:last-child) {
    margin-bottom: 20px;
}

.hero__descr-more::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    left: 0;
    top: 50%;
    transform: translateY(-7.5px);
    border-radius: 50%;
    background: var(--main-text);
}


.hero__btn {
    padding: 20px 20px;
    background: var(--text-dark);
    color: var(--bg-light);
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
    transition: box-shadow .3s ease-in-out;
}

.hero__btn:hover {
    box-shadow: 0px 0px 15px 3px rgba(116, 111, 134, 0.7);
}

.hero__image {
    width: calc(60% - 120px);
    min-height: 670px;
    background: url(../img/first.jpg);
    background-repeat: no-repeat;
    background-size: auto 670px;
    border-radius: 20px;
}



/* about-me */

.about-me {
    margin-bottom: 120px;
}

.section__title {
    text-align: center;
    font-size: 56px;
    line-height: 130%;
    font-weight: 700;
    color: #65849B;
}

.about-me__title {
    text-align: center;
    margin-bottom: 60px;
}

.about-me__content {
    align-items: flex-start;
}

.about-me__photo {
    width: calc(50% - 30px);
    margin-right: 60px;
    min-height: 420px;
}

.about-me__img {
    display: block;
    margin: 0 auto;
    border-top-right-radius: 64px;
    border-bottom-left-radius: 64px;
}

.about-me__text {
    max-width: 50%;
    align-self: center;
}

.about-me__descr {
    font-size: 24px;
    line-height: 170%;
}

/* specs */

.specs {
    margin-bottom: 120px;
}

.specs__title {
    margin-bottom: 100px;
}

.specs__list {
    flex-wrap: wrap;
    justify-content: center;
}

.specs__list-item {
    position: relative;
    box-sizing: border-box;
    width: calc((100% - 60px) / 3);
    padding: 30px 35px;
}

.specs__list-item::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 95%;
    height: 95%;
    background: var(--main-text);
    top: 10%;
    left: 7%;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 32px;
}

.specs__list-item::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--redish-color);
    top: 0;
    left: 0;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 32px;
}

.specs__list-item:not(:last-child) {
    margin-right: 30px;
}

.specs__list-descr {
    padding-left: 12px;
    display: block;
    position: relative;
    text-align: left;
    font-size: 24px;
    line-height: 130%;
}

.specs__list-descr::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    transform: translateY(12px);
    background: var(--text-dark);
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.specs__list-descr:not(:last-child) {
    margin-bottom: 20px;
}

/* sert */

.sert {
    padding-top: 60px;
    padding-bottom: 100px;
}

.sert__title {
    margin-bottom: 60px;
}

.sert__descr {
    text-align: center;
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 60px;
    font-size: 24px;
    line-height: 170%;
}

.sert__descr-link {
    font-size: 26px;
    color: var(--main-text);
    text-transform: uppercase;
}

.sert__image {
    margin: 0 auto;
    width: 80%;
    height: 720px;
    background-image: url('../Сертификат_фронт.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
/* price */

.price {
    padding-top: 60px;
    padding-bottom: 100px;
    margin-bottom: 100px;
    background: rgb(183,224,236);
    background: radial-gradient(circle, rgba(183,224,236,0.3) 0%, rgba(247,219,212,0.3) 100%);
}

.price__title {
    margin-bottom: 32px;
}

.price__descr {
    text-align: center;
    font-size: 24px;
    line-height: 170%;
    margin-bottom: 60px;
}

.price__descr-link {
    font-size: 26px;
    text-transform: uppercase;
    color: var(--main-text);
}

.price__list {
    flex-wrap: wrap;
    justify-content: center;
}

.price__list-item {
    position: relative;
    box-sizing: border-box;
    width: calc((100% - 60px * 2) / 3);
    margin-right: 30px;
    padding: 30px 45px;
    flex-direction: column;
    border-radius: 8px;
    justify-content: space-between;
    border: 2px solid rgba(38, 55, 71, .2);
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, .1);
    transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out;
    cursor: default;
}

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

.price__list-item:hover {
    background-color: rgba(116, 111, 134, 0.1);
    box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, .15);
}

.price__list-item-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    text-transform: uppercase;
}

.price__list-descr {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--main-text);
}

.price__list-item-descr {
    text-align: center;
    margin-bottom: 45px;
    font-size: 26px;
    font-weight: 500;
    text-transform: uppercase;
}

.price__list-item-btn {
    padding: 20px 30px;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--text-dark);
    border-radius: 4px;
}


/* reasons */

.reasons {
    padding: 60px 0 80px;
}

.reasons__title {
    margin-bottom: 60px;
}

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

.reasons__list-item {
    padding: 20px 20px;
    padding-left: 45px;
    width: 60%;
    min-height: 80px;
    border-radius: 20px 20px 20px 20px;
    background: var(--text-dark);
    font-weight: 800;
    font-size: 24px;
    line-height: 130%;
    color: var(--bg-light);
}

.reasons__list-item:not(:last-child) {
    margin-bottom: 30px;
}

/* quals */

.quals {
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-x: hidden;
}

.quals__title {
    margin-bottom: 30px;
}

.quals__descr {
    text-align: center;
    font-size: 24px;
    line-height: 170%;
    margin-bottom: 30px;
}

.quals__swiper {
    height: 550px;
}

.quals .swiper-wrapper .swiper-slide {
    display: flex;
    justify-content: center;
}

.quals__item {
    width: 375px;
    height: 500px;
    background-color: transparent;
}

.quals__item-3 {
    width: 700px;
}

.quals__item-img {
    display: block;
    max-height: 100%;
    border-radius: 8px;
    border: 1px solid #000000;
}

.quals__item:first-child {
    margin-right: 45px;
} 

.swiper .swiper-pagination {
    z-index: 50;
}

.swiper .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #C7A887;
    opacity: 0.5;
}

.swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--main-text);
}

/* contacts */

.contacts {
    padding-top: 60px;
    padding-bottom: 100px;
}

.contacts__title {
    margin-bottom: 50px;
}

.contacts__content {
    width: 90%;
    margin: 0 auto;
    justify-content: center;
}

.contacts__info {
    box-sizing: border-box;
    padding: 45px 45px;
    width: 70%;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    background: rgba(240,214,211,1);
}


.contacts__info-item {
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 20px 0;
    width: 100%;
}

.contacts__info-item:not(:last-child) {
    border-bottom: 1px solid var(--text-dark);
}

.contacts__info-link {
    font-size: 25px;
    line-height: 130%;
    font-weight: 700;
    color: var(--text-dark);
}


.contacts__info-address {
    font-size: 25px;
    line-height: 130%;
    font-weight: 700;
    color: var(--text-dark);
}

.contacts__photo {
    width: calc((100% - 60px) / 2);
    border-radius: 16px;
    border: 1px solid #000000;
}

/* footer */

.footer {
    padding: 60px 0;
    background: var(--redish-color);
}

.footer__nav {
    margin-right: 0;
}

.footer__nav-list {
    flex-direction: column;
    align-items: start;
}

.footer .nav__list-item:not(:last-child) {
    margin-bottom: 15px;
    margin-right: 0;
}

.footer .nav__list-link {
    font-size: 20px;
    line-height: 130%;
}

.footer .nav__list-link::after {
    content: none;
}

.footer__logo {
    display: block;
    width: 30%;
    margin: 0 auto;
}

.footer__contacts { 
    align-items: flex-start;
    flex-direction: column;
}

.footer__tel {
    margin-right: 10px;
}

.footer__tel::after {
    content: none;
}

.footer__socials-wrapper {
    align-self: flex-end;
}

.footer__socials:not(:last-child) {
    margin-right: 10px;
}

.footer__socials img {
    display: block;
    width: 40px;
    height: 40px;
}

.swiper-button-prev, .swiper-button-next {
    color: #373737 !important;
    border: 2px solid #373737 !important;
    height: 70px !important;
    width: 70px !important;
    border-radius: 35px !important;
    
}
.swiper-button-prev {
	padding-right: 5px !important;
}
.swiper-button-next {
	padding-left: 5px !important;
}