@media (max-width: 1399px) {
    .advantages-items {
        gap: 20px;
    }
    .our-doctors__wrap {
        overflow: hidden;
        border-radius: 24px;
    }
    .ratings__items {
        gap: 5px;
    }
    .about-us__wrap {
        gap: 15px;
    }
    .about-us__benefits {
        gap: 10px;
    }
}

@media (min-width: 1299px) {
    .header-nav__item-service-parent:hover .header-nav__service-dropdown {
        display: block;
    }
}

@media (max-width: 1279px) {
    .header-menu {
        width: 42px;
        height: 33px;
        position: relative;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
        cursor: pointer;
        display: block;
        z-index: 5;
    }
    .header-menu span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--color-one);
        opacity: 1;
        right: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    .header-menu span:nth-child(1) {
        top: 0px;
        transform-origin: right center;
        width: 25px;
    }
    .header-menu span:nth-child(2) {
        top: 10px;
        transform-origin: right center;
        width: 25px;
    }
    .header-menu span:nth-child(3) {
        top: 20px;
        transform-origin: right center;
        width: 25px;
    }
    .header-menu.open span:nth-child(1) {
        transform: rotate(-45deg);
        top: 0;
        right: 2px;
    }
    .header-menu.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    .header-menu.open span:nth-child(3) {
        transform: rotate(45deg);
        top: 18px;
        right: 2px;
    }
    .header-logo {
        flex-direction: column;
        align-items: flex-start;
        min-width: 180px;
        max-width: 180px;
    }
    .header-logo img {
        max-width: 100%;
        width: auto;
    }
    .header-top {
        padding: 10px 0;
        border-bottom: none;
        padding-bottom: 1rem;
    }
    .header-top__wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }
    .header-logo__text {
        display: none;
    }
    .header-info {
        order: 1;
        flex-wrap: wrap;
        gap: 20px;
    }
    .header-info__address--icon,
    .header-info__contacts--icon {
        display: none;
    }
    .header-info__contacts--title,
    .header-info__address--title {
        font-size: 12px;
    }
    .header-info__address--text,
    .header-info__contacts--link {
        font-size: 13px;
        font-weight: 600;
    }
    .header-info__btn {
        margin: 0 auto;
    }
    .header-nav {
        position: fixed;
        top: 0;
        background: #fff;
        width: 80vw;
        padding-top: 3rem;
        left: -100vw;
        transition: all 0.5s ease-in-out;
        z-index: 9999;
        height: 100vh;
        overflow-y: auto;
    }
    .header-nav.show {
        left: 0;
    }
    .header-nav__wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-nav__item-icon {
        display: none;
    }
    .header-nav__item {
        width: 100%;
    }
    .header-nav__link {
        width: 100%;
    }
    .header-nav__item-service-parent {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .header-nav__item-drop svg {
        width: 20px;
        height: 20px;
        transition: transform 0.5s ease-in-out;
    }
    .header-nav__service-dropdown {
        display: none;
        position: relative;
        min-width: 100%;
        max-width: 100%;
        min-height: initial;
        padding: 3px 10px;
        background: none;
        transition: display 0.5s ease-in-out;
        border-radius: 0;
        z-index: initial;
        box-shadow: none;
        flex-direction: column;
        width: 100%;
        order: 1;
        transition: display 0.5s ease-in-out;
        padding-left: 1rem;
    }
    .header-nav__item-service-parent .header-nav__link {
        width: 80%;
    }
    .header-nav__service-dropdown.show {
        display: flex;
    }
    .header-nav__item-drop.open svg {
        transform: rotate(180deg);
    }
    .hero__wrap {
        min-height: 500px;
        padding: 30px 60px;
    }
    .welcome-block__wrap {
        flex-direction: column;
        gap: 20px;
    }
    .welcome-block__title {
        margin-bottom: 10px;
        text-align: left;
    }
    .welcome-block__subtitle {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .welcome-block__image {
        padding: 0;
        width: 100%;
    }
    .welcome-block__image img {
        max-width: 100%;
        width: 100%;
    }
    .service-item__image {
        max-width: 75%;
        order: 1;
        z-index: 0;
        right: -10px;
    }
    .service-item__head,
    .service-item__list,
    .service-item__btn {
        z-index: 1;
    }
/*     .service-item:last-child .service-item__btn {
    min-width: 250px;
} */
    .availability__wrap {
        flex-direction: column;
        gap: 20px;
    }
    .availability__info-numbers {
        justify-content: center;
    }
    .availability__body {
        align-items: center;
        order: 1;
    }
    .about-us__wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .about-us__text {
        gap: 0;
        justify-content: space-between;
    }
    .about-us__btn {
        max-width: 400px;
        text-align: center;
        justify-content: center;
    }
    .about-us__image-link:after {
        width: 60px;
        height: 60px;
        background-size: contain;
    }
    .about-us__image-background {
        max-width: 100%;
    }
    .about-us__image-text {
        font-size: 16px;
        bottom: 30px;
        left: 15px;
        right: 15px;
        max-width: 100%;
    }
    .about-us__certificates {
        grid-column: span 2;
        grid-row: 2 / 3;
    }
    .about-us__certificates-slide {
        flex-direction: row;
    }
    .certificates-slide__image {
        width: calc((100% / 2) - 10px);
        display: block;
    }
    .about-us__benefits {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
    .about-us__benefit {
        padding: 15px;
    }
    .about-us__benefit-value svg {
        height: 55px;
    }
    .about-us__benefit-value {
        font-size: 46px;
    }
    .about-us__benefit-label {
        font-size: 14px;
    }
    .articles__more {
        justify-self: self-start;
    }
    .articles__wrap {
        margin-bottom: 2rem;
    }
    .footer__top {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer__link {
        padding: 5px 0;
    }
    
    .header--fixed .header-info {display: none; transition: all 0.5s ease-in-out;}
}

@media (max-width: 991px) {
    .header-info__best-place {
        display: none;
    }
    .hero__wrap {
        padding: 15px;
        min-height: 100%;
        background-size: cover !important;
        background-position: center center !important;
        margin-bottom: 40px;
    }
    .hero__title {
        font-size: 26px;
        font-weight: 600;
        margin-bottom: 15px;
    }
    .hero__subtitle {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 30px;
        max-width: 550px;
    }
    .hero__video-text {
        display: none;
    }
    .hero__video {
        max-width: 125px;
        bottom: 15px;
        right: 15px;
    }
    .h2 {
        font-size: 26px;
        font-weight: 600;
        margin-bottom: 15px;
    }
    .title-block {
        display: block;
        margin-bottom: 15px;
    }
    .title-block:before,
    .title-block:after {
        content: none;
    }
    .title-block__subtitle {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .title-block--reverse {
        direction: unset;
    }
    .btn {
        padding: 10px 22px;
        font-size: 16px;
    }
    .our-doctors__slider-button-prev,
    .our-doctors__slider-button-next {
        width: 45px;
        height: 45px;
    }
    .block-form__wrap {
        padding: 20px;
    }
    .form {
        display: flex;
        align-items: self-start;
        flex-direction: column;
    }
    .form__field {
        width: 100%;
    }
    .form__btn {
        max-width: 320px;
        order: 1;
        margin: 0 auto;
    }
/*     .service-item:last-child {
    grid-column: span 2;
    flex-direction: column;
    padding: 15px;
    align-items: flex-start;
    gap: 10px;
    justify-content: initial;
}
.service-item:last-child .service-item__image {
    max-width: 75%;
    order: 1;
    z-index: 0;
    right: -10px;
    bottom: 0;
    position: absolute;
} */
    .availability .title-block {
        margin-bottom: 20px;
    }
    .availability__title {
        font-weight: 600;
        font-size: 20px;
        text-align: center;
    }
    .availability__body {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        order: 1;
    }
    .availability__description {
        font-weight: 500;
        font-size: 16px;
        color: #4f4f4f;
        text-align: center;
    }
    .info-numbers-item__image {
        margin-bottom: 10px;
        max-width: 50%;
    }
    .availability__info {
        padding: 0;
    }
    .info-numbers-item__caption {
        font-size: 18px;
    }
    .availability__info-text {
        font-size: 14px;
    }
    .availability__info-numbers {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        justify-content: center
    }
    .availability__info-numbers-item {
        max-width: 45%;
    }
    .availability__info-numbers-item:first-child .info-numbers-item__image {
        min-width: 120px;
    }
    .availability__info-numbers-item:last-child .info-numbers-item__image {
        max-height: initial;
    }
    .availability {
        padding: 30px 0;
        margin: 15px 0;
    }
    .btn-slider-prev,
    .btn-slider-next {
        width: 45px;
        height: 45px;
    }
    .about-us__btn {
        max-width: 100%;
    }
    .gallery__items {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .gallery__more {
        grid-column: span 2;
        justify-content: flex-start;
    }
    .faq {
        padding: 25px 0;
    }
    .footer__top {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__col-menu {
        display: none;
    }
    .doctor-card__image img {min-width: 100%;}
    .fancybox-content {
    overflow: visible !important;
}

.form-select__option {
    pointer-events: auto;
}

}

@media (max-width: 767px) {
    .header-info {
        gap: 10px;
    }
    .header-nav {
        padding-top: 1rem;
    }
    .section {
        padding: 20px 0;
    }
    .hero__title {
        text-align: center;
    }
    .hero__subtitle {
        text-align: center;
    }
    .hero__video-text {
        display: block;
    }
    .hero__btns {
        flex-direction: column;
        gap: 15px;
    }
    .hero__btn {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
    }
    .hero__video {
        position: relative;
        bottom: initial;
        right: initial;
        max-width: 100%;
        margin-top: 2rem;
    }
    .advantages-item {
        padding: 15px;
        gap: 0;
    }
    .advantages-item__description {
        font-size: 14px;
    }
    .advantages-item__icon {
        width: 80px;
        height: 80px;
    }
    p {
        margin-bottom: 10px;
    }
    .welcome-block__description {
        font-weight: 500;
        line-height: 130%;
        color: #828282;
    }
    .welcome-block__play-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .h2 {
        text-align: center;
    }
    .title-block__subtitle {
        text-align: center;
    }
    .our-doctors__wrap {
        position: relative;
        margin-bottom: 30px;
        min-height: 600px;
        border-radius: 16px;
        padding: 30px;
    }
    .our-doctors__advantages {
        position: relative;
        left: initial;
        top: initial;
        max-width: 100%;
    }
    .our-doctors__slider-title {
        font-size: 18px;
        white-space: wrap;
        order: 0;
        text-align: center;
    }
    .our-doctors__slider-counter {
        margin-right: 10px;
        font-size: 18px;
        order: 1;
    }
    .our-doctors__slider-hr {
        order: 2;
    }
    .our-doctors__slider-arrows {
        order: 3;
    }
    .our-doctors__slider {
        padding-top: 0;
        margin-bottom: 0;
    }
    .our-doctors__slider-top {
        margin-bottom: 10px;
    }
    .doctor-card__image {
        margin-bottom: 15px;
    }
    .doctor-card__image img {
        width: 100%;
    }
    .doctor-card__name {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 5px;
    }
    .doctor-card__specialty {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .doctor-card__exp {
        font-size: 16px;
    }
    .block-form__title {
        margin-bottom: 0;
    }
    .block-form__body {
        gap: 15px;
    }
    .block-form__description {
        font-size: 16px;
        text-align: center;
    }
    .service-items {
        grid-template-columns: 1fr;
    }
    .service-item__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .service-item {
        border-radius: 16px;
        padding: 15px;
        gap: 10px;
        padding-bottom: 8rem;
        min-height: 350px !important;
    }
    .service-item__list-item-link {
        padding: 0;
    }
/*     .service-item:last-child {
    grid-column: span 1;
} */
    .availability__info-numbers-item:last-child .info-numbers-item__image {
        max-height: 58px;
    }
    .about-us__wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .about-us__image-link {
        border-radius: 16px;
    }
    .about-us__image-background {
        max-width: 100%;
    }
    .about-us__subtitle {
        font-size: 16px;
        text-align: center;
    }
    .about-us__text {
        justify-content: center;
        gap: 15px;
    }
    .about-us__image-text {
        bottom: 15px;
    }
    .about-us__benefit {
        border-radius: 16px;
        padding: 15px;
        gap: 10px;
    }
    .video-gallery__slider {
        padding: 0;
        margin-bottom: 20px;
    }
    .video-gallery__link-background {
        max-width: 100%;
    }
    .video-gallery__link-text {
        font-size: 14px;
        line-height: 130%;
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: 100%;
        font-weight: 500;
    }
    .video-gallery__link:after {
        width: 60px;
        height: 60px;
        background-size: contain;
    }
    .gallery__items {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery__item {
        border-radius: 16px;
    }
    .video-reviews__slider .swiper-wrapper {
        padding-left: 15px;
    }
    .video-reviews__slide-text {
        font-size: 15px;
        left: 15px;
        bottom: 15px;
    }
    .video-reviews__slide-background {
        max-width: 100%;
    }
    .ratings {
        padding: 40px 0;
    }
    .ratings__item-estimation {
        font-size: 18px;
    }
    .faq {
        margin: 30px 0;
    }
    .faq .title-block {
        margin-bottom: 25px;
    }
    .faq__item {
        padding: 20px;
    }
    .faq__question {
        font-size: 16px;
    }
    .faq__icon {
        top: calc(50% - 14px);
    }
    .faq__answer {
        margin-top: 10px;
    }
    .faq__btn {
        max-width: 100%;
    }
    .articles .title-block {
        margin-bottom: 25px;
    }
    .articles__item-title {
        font-size: 18px;
        margin-bottom: 10px;
        display: block;
    }
    .text-block .title-block {
        margin-bottom: 25px;
    }
    .footer__top {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 25px;
    }
    .footer__col-brand {
        max-width: 100%;
    }
    .footer__logo {
        flex-direction: row;
        max-width: 100%;
        align-items: center;
    }
    .footer__logo svg {
        min-width: 170px;
    }
    .footer__text {
        display: none;
    }
    .footer__title {
        font-size: 14px;
        padding-top: 0;
    }
    .footer__link {
        font-size: 14px;
    }
    .footer__col--contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer__title-wrapper {
        display: flex;
        align-items: center;
        gap: 25px;
    }
    .footer__arrow {
        padding: 0 1rem;
    }
    .footer__arrow svg {
        width: 15px;
        height: 15px;
        transition: all 0.5s ease-in-out;
    }
    .footer__arrow.open svg {
        transform: rotate(180deg);
    }
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .footer__bottom-col {
        max-width: 100%;
    }
    .form__btn {
        width: 100%;
        order: 1;
    }
        .footer__col-menu {
        display: block;
    }
        .about-us__certificates {
        grid-column: span 1;
        grid-row: 3 / 4;
    }
      .fancybox-slide--clip .fancybox-content {
    height: 70vh !important;
    max-height: 70vh !important;
    max-width: calc(70vh * 9 / 16);
  }
  .akcii__item img {
    width: 100%;
    max-height: 550px;
    min-height: 550px;
}
}