/* Шапка */
.header {
    background: linear-gradient(white 20%, #26B1E6);
    margin-bottom: 110px;
    margin-top: 245px;
}
@media (max-width: 1200px) {
    .header {
        margin-top: 130px;
    }
}
@media (max-width: 800px) {
    .header {
        margin-top: 90px;
    }
}
.header__bg {
    padding-bottom: 120px;
    background-image: url("/img/cover-bg.svg");
    background-repeat: no-repeat;
    background-position: 95% top;
}
.header__top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    /*margin-bottom: 147px;*/
    z-index: 10;
}
.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 30px;
}
.header__separator {
    width: 1px;
    height: 57px;
    background-color: #34B2E7;
    margin: 0 16px;
}
.header__logo {
    display: flex;
    align-items: center;
}
.header__logo a {
    margin-top: auto;
}
.header__logo img:not(:last-child) {
    margin-bottom: 32px;
}
.header__menu ul {
    display: flex;
}
.header__menu li:not(:last-child) {
    margin-right: 38px;
}
.header__menu a {
    padding: 26px 12px;
}
.header__menu a:hover {
    background-image: url("/img/hover-outline.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.header__bottom-text {
    max-width: 930px;
    font-size: 35px;
    position: relative;
}
.header__bottom-text:not(._big)::after {
    content: "";
    width: 300px;
    height: 30px;
    background-image: url("/img/icon-underline.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: -35px;
    right: 290px;
}
.header__bottom-text._big {
    font-size: 70px;
}
.header__bottom-text:not(._big) {
    margin-bottom: 100px;
}
.promo__imgs {
    margin-top: -35px;
    margin-bottom: 52px;
}
.promo__img._img2 {
    margin-bottom: -70px;
    margin-left: 20px;
}
.promo__img._img3 {
    margin-bottom: 10px;
    margin-left: 25px;
}
.appointment-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 37px;
    padding: 44px 55px;
    background-color: white;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
}
.burger {
    display: none;
}
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, .1);
    transition: right 0.3s ease;
    padding: 60px 20px;
    z-index: 10;
}
.mobile-menu.open {
    display: block;
    right: 0;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mobile-menu a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

@media screen and (max-width: 1600px) {
    .header__menu li:not(:last-child) {
        margin-right: 40px;
    }
}

@media screen and (max-width: 1500px) {
    .header__menu li:not(:last-child) {
        margin-right: 16px;
    }
    .header__menu {
        font-size: 24px;
    }
}
@media screen and (max-width: 1400px) {
    .header__menu li:not(:last-child) {
        margin-right: 0;
    }
    .header__menu a {
        padding: 26px 8px;
    }
}
@media screen and (max-width: 1200px) {
    .header__menu li:not(:last-child) {
        margin-right: 16px;
    }
    .header__menu a {
        padding: 26px 12px;
    }
}
@media screen and (max-width: 900px) {
    .header__menu li:not(:last-child) {
        margin-right: 8px;
    }
    .header__menu a {
        padding: 26px 8px;
    }
}
@media screen and (max-width: 850px) {
    .header__menu li:not(:last-child) {
        margin-right: 0;
    }
    .header__menu a {
        padding: 26px 4px;
    }
}

@media screen and (max-width: 1200px) {
    .header__top {
        padding: 12px 0;
    }
    .header__logo img:first-child {
        display: none;
    }
    .header__logo img:last-child {
        width: 125px;
        height: 50px;
    }
    .header__menu {
        font-size: 24px;
    }
    .header__bottom-text {
        font-size: 27px;
        max-width: 100%;
    }
    .header__bottom-text._big {
        font-size: 41px;
    }
    .header__bottom-text:not(._big)::after {
        content: none;
    }
    .promo__img._img1 {
        width: 129px;
        height: 32px;
    }
    .promo__img._img2 {
        width: 232px;
        height: 98px;
        margin-bottom: -50px;
        margin-left: 8px;
    }
    .promo__img._img3 {
        width: 179px;
        height: 75px;
        margin-left: 8px;
    }
}

@media screen and (max-width: 800px) {
    .header {
        margin-bottom: 45px;
    }
    .header__bg {
        padding-bottom: 20px;
        background-position: center bottom;
        background-image: url("/img/cover-bg-mobile.png");
    }
    .header__menu {
        display: none;
    }
    .header__bottom-text {
        font-size: 14px;
    }
    .header__bottom-text._big {
        font-size: 25px;
    }
    .header__bottom-text:not(._big) {
        margin-bottom: 265px;
    }
    .burger {
        width: 30px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        z-index: 10;
    }
    .burger span {
        display: block;
        height: 3px;
        background: black;
        border-radius: 2px;
    }
    .appointment-btn {
        font-size: 20px;
        padding: 27px 53px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .header__top {
        /*margin-bottom: 38px;*/
    }
    .promo__imgs {
        margin-top: -12px;
        margin-bottom: 20px;
    }
    .promo__img._img1 {
        width: 65px;
        height: 16px;
    }
    .promo__img._img2 {
        width: 116px;
        height: 49px;
        margin-bottom: -22px;
        margin-left: 8px;
    }
    .promo__img._img3 {
        width: 90px;
        height: 38px;
        margin-left: 8px;
    }
}

/* about */
.about h2 {
    position: relative;
    width: fit-content;
    margin-bottom: 66px;
}
.about h2::after {
    content: "";
    width: 405px;
    height: 35px;
    background-image: url("/img/about-underline.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: -40px;
    right: -40px;
}
.about__inner {
    display: flex;
}
.about__text {
    max-width: 750px;
    font-size: 40px;
    line-height: 100%;
    margin-right: 40px;
}
.about ul {
    font-size: 24px;
    line-height: 100%;
}
.about li {
    margin-bottom: 74px;
    padding-left: 80px;
    position: relative;
}
.about li::before {
    content: "";
    width: 63px;
    height: 82px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("/img/icon-star.svg");
    background-repeat: no-repeat;
    background-size: cover;
}
.about__footer {
    margin-top: 40px;
    padding: 33px 68px;
    font-size: 32px;
    position: relative;
}
.about__footer svg {
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1200px) {
    .about__text {
        margin-right: 32px;
    }
    .about__inner {
        flex-direction: column;
    }
    .about__text {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 18px;
    }
    .about li {
        margin-bottom: 12px;
    }
    .about li::before {
        width: 31px;
        height: 41px;
    }
    .about__footer {
        font-size: 18px;
    }
}

@media screen and (max-width: 800px) {
    .about h2 {
        margin-bottom: 20px;
    }
    .about h2::after {
        width: 115px;
        height: 9px;
        bottom: -12px;
        right: -14px;
    }
    .about {
        margin-bottom: 45px;
    }
    .about__text {
        font-size: 14px;
    }
    .about ul {
        font-size: 14px;
    }
    .about__footer {
        font-size: 12px;
        padding: 12px 8px;
    }
}

/* For Who */
.for-who h2 {
    margin-bottom: 16px;
}
.for-who__words-cloud {
    width: 50%;
    margin-left: -80px;
    margin-bottom: 106px;
}
.for-who__text {
    background-color: #DBF5FF;
    padding: 65px 124px;
    border-radius: 36px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, .25);
    font-size: 32px;
    position: relative;
}
.for-who__text img {
    position: absolute;
    top: 0;
    right: -32px;
    transform: translateY(calc(-100% + 26px));
    width: 50%;
    height: auto;
    z-index: -1;
}

@media screen and (max-width: 1200px) {
    .header__separator {
        display: none;
    }
    .for-who__text {
        padding: 40px 64px;
    }
    .for-who__words-cloud {
        margin-left: -40px;
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 800px) {
    .for-who__text {
        border-radius: 10px;
        padding: 16px 12px;
        font-size: 12px;
        margin-top: 120px;
    }
    .for-who__words-cloud {
        display: none;
    }
    .for-who__text img {
        width: 187px;
        height: 110px;
        transform: translate(50%, calc(-100% + 8px));
        z-index: 0;
        right: 50%;
    }
}

/* Router */
.router h2 {
    margin-bottom: 12px;
}
.router__subtitle {
    font-size: 46px;
    margin-bottom: 88px;
}
.router__grid {
    display: grid;
    grid-gap: 40px 28px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.router__i:not(._img) {
    border-radius: 20px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, .25);
    position: relative;
    padding: 125px 44px 44px 44px;
    background-color: #DBF5FF;
}
.router__n {
    position: absolute;
    top: 32px;
    left: 17px;
    font-size: 43px;
    background-image: url("/img/outline-blue.svg");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 4px 24px;
    font-family: "Montserrat-Italic", sans-serif;
}
.router__i-title {
    font-size: 26px;
    margin-bottom: 18px;
}
.router__i-text {
    font-size: 18px;
}
.router__i._img {
    position: relative;
}
.router__i._img::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -58px;
    right: -32px;
    background-image: url("/img/man.svg?v=2");
    background-repeat: no-repeat;
    background-size: contain;
}
.router__i .marker {
    display: block;
    position: relative;
}
.router__i .marker::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("/img/marker.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    position: absolute;
    top: 0;
    left: -36px;
}

@media screen and (max-width: 1600px) {
    .router__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 1200px) {
    .router__grid {
        grid-template-columns: 1fr 1fr;
    }
    .router__i._img {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .router h2 {
        margin-bottom: 5px;
    }
    .router__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .router__grid {
        grid-gap: 20px;
        grid-template-columns: 1fr;
    }
    .router__i:not(._img) {
        box-shadow: none;
        padding: 0 0 0 52px;
        background-color: white;
    }
    .router__n {
        font-size: 15px;
        padding: 4px 12px;
        top: 0;
        left: 0;
    }
    .router__i-title {
        font-size: 17px;
        margin-bottom: 5px;
    }
    .router__i-text {
        font-size: 12px;
    }
}

.medical-warning {
    font-size: 35px;
    color: #201B4F;
    background-color: #DBF5FF;
    padding: 35px 0;
    text-align: center;
}

@media screen and (max-width: 800px) {
    .medical-warning {
        font-size: 12px;
    }
}

.footer {
    background-color: #201B4F;
    font-size: 48px;
    color: white;
    padding-top: 90px;
    padding-bottom: 60px;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
}
.footer__left {
    margin-right: 180px;
}
.footer__ao {
    margin-bottom: 65px;
}
.footer__address {
    margin-bottom: 35px;
}
.footer__link {
    font-size: 32px;
    margin-bottom: 90px;
}
.footer__link a {
    color: #34A3DC;
}
.footer__phones {
    display: flex;
    flex-direction: column;
}
.footer__phones a {
    position: relative;
    padding-left: 40px;
}
.footer__phones > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/img/icon-footer-phone.svg");
    width: 24px;
    height: 24px;
}
.footer__right {
    display: flex;
    flex-direction: column;
}
.footer__right > img {
    margin-top: auto;
}
.footer__socials {
    display: flex;
    align-items: center;
    margin-top: 40px;
}
.footer__social {
    width: 83px;
    height: 83px;
    background-repeat: no-repeat;
    background-size: contain;
}
.footer__social._tg {
    background-image: url("/img/icon-footer-tg.svg");
}
.footer__phones-mobile-social {
    display: none;
}

@media screen and (max-width: 1600px) {
    .footer__left {
        margin-right: 80px;
    }
    .footer__social {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 1200px) {
    .footer {
        font-size: 27px;
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .footer__social {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 800px) {
    .footer {
        font-size: 16px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer__social {
        width: 34px;
        height: 34px;
    }
    .footer__right {
        display: none;
    }
    .footer__ao {
        margin-bottom: 20px;
    }
    .footer__address {
        margin-bottom: 12px;
    }
    .footer__link {
        font-size: 12px;
        margin-bottom: 28px;
    }
    .footer__left {
        margin-right: 0;
    }
    .footer__phones {
        position: relative;
    }
    .footer__phones a:not(:last-of-type) {
        margin-bottom: 20px;
    }
    .footer__inner {
        flex-direction: column;
    }
    .footer__phones-mobile-social {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
    }
}

.expert-advice h2 {
    margin-bottom: 50px;
}
.expert-advice__inner {
    display: flex;
}
.expert-advice__img {
    margin-right: 70px;
}
.expert-advice__img img {
    border-radius: 20px;
}
.expert-advice h3 {
    font-size: 36px;
    margin-bottom: 28px;
    color: #3CBBEA;
}
.expert-advice__txt {
    font-size: 32px;
}

@media screen and (max-width: 1200px) {
    .expert-advice__img {
        margin-right: 40px;
    }
    .expert-advice h3 {
        font-size: 21px;
    }
    .expert-advice__txt {
        font-size: 18px;
    }
}

@media screen and (max-width: 800px) {
    .expert-advice h2 {
        margin-bottom: 20px;
    }
    .expert-advice__inner {
        flex-direction: column;
        align-items: center;
    }
    .expert-advice h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .expert-advice__txt {
        font-size: 12px;
    }
    .expert-advice__img {
        margin-bottom: 20px;
        margin-right: 0;
    }
    .expert-advice__img img {
        max-width: 100%;
    }
}
