@font-face {
    font-family: 'Montserrat';
    src: url('./../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('./../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./../fonts/Montserrat-Medium.woff2') format('woff2'),
    url('./../fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./../fonts/Montserrat-SemiBold.woff2') format('woff2'),
    url('./../fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

:root {
    --color-bg: #FFF;
    --color-white: #FFF;
    --color-accent: #D71E3C;
    --color-text: #000;
    --color-main: #223C7E;
    --color-main-trans: #728EB4;
    --color-gray: #F6F6F6;
    --color-border: #CCD5E2;
    --color-hint: #777;
}

body, div, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--color-bg);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: var(--color-text);
}

a {
    text-decoration: none;
}

.btn {
    height: 56px;
    background: var(--color-accent);
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: var(--color-white);
    border-radius: 40px;
}

.accent.download-link {
    color: var(--color-accent);
    transition: ease-in-out .1s all;
}

.accent.download-link:hover {
    opacity: .7;
    border-bottom: 1px solid;
}

.accent.download-link:active {
    opacity: .9;
}


.bold {
    font-weight: 600;
}

.center {
    text-align: center;
}

.container {
    position: relative;
    max-width: 1296px;
    padding: 0 32px;
    margin: 0 auto;
}

img {
    display: block;
}

ul {
    list-style-type: none;
}

.banner {
    height: 728px;
    background: url("./../img/banner.png") right 35% top no-repeat;
    background-size: cover;
}

.header {
    padding: 32px 0;
}

.header__container {
    display: flex;
    align-items: center;
    gap: 88px;
}

.menu {
    display: flex;
    gap: 48px;
    margin-left: 2vw;
}

.menu__item {
    text-decoration: none;
    color: var(--color-main);
}

.banner__info {
    width: 616px;
    margin-top: 110px;
}

.banner__date {
    color: var(--color-main);
    font-size: 28px;
    margin-bottom: 25px;
}

.banner__title {
    font-size: 52px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 56px;
}

.banner__title span {
    color: var(--color-accent);
}

.banner__btn {
    width: 100%;
    max-width: 296px;
}

.banner__mobile-img {
    display: none;
}

.section {
    padding: 112px 0 96px;
    border-bottom: 1px solid var(--color-border);
}

.section__title {
    text-align: center;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--color-main);
    text-transform: uppercase;
}

.section__subtitle {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 25px;
}

.about {
    display: flex;
    gap: 112px;
    line-height: 28px;
}

.about__img {
    flex: auto 0 0;
    width: 504px;
}

.about__img img {
    width: 100%;
}

.about__text {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.about__contact {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.about__date {
    display: flex;
    gap: 40px;
}

.about__address-block {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    padding-top: 14px;
}

.about__address {
    padding-left: 16px;
    border-left: 2px solid var(--color-accent);
    color: var(--color-main);
}

.about__price {
    margin-bottom: 16px;
}

.about__price span {
    text-transform: uppercase;
}

.about__subtitle {
    font-weight: 600;
    padding: 4px 0 8px;
}

.about__list li {
    position: relative;
    padding: 0 0 4px 16px;
    line-height: 28px;
}

.about__list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: var(--color-accent);
}

.about__summary {
    padding: 16px 0 8px;
}

.about__summary a {
    color: var(--color-main);
}

.about__action {
    max-width: 296px;
}

.adv__list {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    line-height: 24px;
}

.adv__item {
    padding: 24px;
    background: var(--color-gray);
}

.adv__item-text {
    position: relative;
    padding-left: 96px;
}

.adv__item-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -36px;
    width: 72px;
    height: 72px;
    background: url("./../img/check.svg") left top no-repeat;
}

.doctors__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.doctors__action {
    display: flex;
    justify-content: center;
}

.doctors__action-btn {
    max-width: 328px;
}

.doctors__info {
    padding-top: 48px;
    text-align: center;
}

.doctors__accent {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-main);
    margin-bottom: 24px;
}

.doctors__accent span {
    color: var(--color-accent);
    text-transform: uppercase;
}

.doctor {
    width: 100%;
    max-width: 296px;
    background: var(--color-gray);
    flex-shrink: 1;
}

.doctor__img img {
    width: 100%;
}

.doctor__info {
    padding: 0 32px 32px 24px;
    font-size: 13px;
}

.doctor__post {
    color: var(--color-hint);
    margin-bottom: 8px;
}

.doctor__fio {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-accent);
}

.doctor__degree {
    padding: 12px 0 5px;
}

.price__wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.price__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price__item {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--color-gray);
    padding: 24px;
}

.price__item-code {
    position: relative;
    top: 3px;
    align-self: flex-start;
    font-size: 14px;
    color: var(--color-hint);
}

.price__item-price {
    font-size: 20px;
    font-weight: 600;
    flex: 144px 0 0;
    color: black;
}

.price__item-title {
    font-weight: 500;
    color: var(--color-main);
    flex-grow: 1;
}

.price__info {
    text-align: center;
}

.contacts-block {
    bordser-bottom: none;
}

@media screen and (max-width: 1600px) {
    .menu {
        margin-left: 1vw;
    }
}

@media screen and (max-width: 1360px) {
    .banner {
        background-position: right 50% top 0;
    }

    .header__container {
        gap: 64px
    }

    .menu {
        margin-left: 4vw;
        gap: 36px;
    }

    .about {
        gap: 88px;
    }
}

.contacts__wrap {
    display: flex;
    height: 344px;
    background: var(--color-gray);
}

.contacts {
    font-size: 16px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.contacts__social-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.contacts__social-links {
    display: flex;
    gap: 16px
}

.map {
    height: 100%;
    flex-grow: 1;
}

.footer {
    font-size: 14px;
    background: var(--color-main);
    color: var(--color-white);
    padding: 32px 0;
}

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

.footer__links {
    display: flex;
    gap: 56px;
     align-items: center;
}

.footer__social {
    display: flex;
    gap: 16px;
     align-items: center;
}

.footer__age {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-main-trans);
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-main-trans);
    border-radius: 100%;
}

@media screen and (max-width: 1200px) {
    .menu {
        margin-left: 0;
        gap: 24px;
    }

    .banner__title {
        font-size: 44px;
        margin-bottom: 48px;
    }

    .banner__date {
        font-size: 24px;
    }

    .banner__btn {
        max-width: 288px;
    }

    .banner__info {
        width: 484px;
        margin-top: 70px;
    }

    .about {
        gap: 32px;
    }

    .about__img {
        width: 416px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section__title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .banner {
        height: 600px;
    }

    .banner__info {
        margin-top: 20px;
    }

    .menu {
        display: none;
    }

    .about__img {
        width: 40%;
    }

    .adv__list {
        grid-template-columns: 1fr;
    }

    .doctors__accent {
        font-size: 28px;
    }

    .contacts__wrap {
        height: auto;
    }

    .contacts__wrap {
        flex-direction: column;
    }

    .contacts {
        padding: 56px;
        padding-right: 16px;
    }

    .map {
        height: 376px;
    }

    .footer__links {
        gap: 32px;
    }
}

@media screen and (max-width: 768px) {
    .btn {
        height: 48px;
        border-radius: 30px;
    }

    .banner {
        background: var(--color-gray);
        height: auto;
    }

    .banner__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 24px;
    }

    .banner__title {
        font-size: 36px;
    }

    .banner__date {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .banner__mobile-img {
        width: 100%;
        display: block;
    }

    .section {
        padding: 56px 0 64px;
    }

    .section__subtitle {
        font-size: 28px;
    }

    .about__img {
        width: 240px;
    }

    .about__date {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }

    .doctors__accent {
        font-size: 24px;
    }

    .footer__container {
        flex-direction: column;
        gap: 40px;
    }

    .footer__copy {
        text-align: center;
        order: 2
    }

    .footer__links {
        gap: 56px
    }
}

@media screen and (max-width: 576px) {
    body {
        font-size: 16px;
    }

    .section__title {
        font-size: 28px;
        margin-bottom: 26px;
    }

    .section__subtitle {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .banner__date {
        font-size: 18px;
    }

    .banner__title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 26px;
    }

    .about__img {
        display: none;
    }

    .adv__item {
        ppadding: 16px;
    }

    .adv__item-text {
        position: relative;
        padding-left: 56px;
    }

    .adv__item-text:before {
        margin-top: -20px;
        width: 40px;
        height: 40px;
        background-size: 100%;
    }

    .doctors__accent {
        font-size: 20px;
    }

    .contacts__container {
        padding-left: 0;
        padding-right: 0;
    }

    .price__item {
        padding: 24px 16px 16px 16px;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        align-self: flex-start;
    }

    .price__item-price {
        padding-top: 10px;
        flex-basis: auto;
    }
}

@media screen and (max-width: 360px) {

}
