html, body {
  overflow-x: clip;
}

body:not(.old-pages-ready) .advantages.section-offset,
body:not(.old-pages-ready) .all-gallery__inner {
  visibility: hidden;
}

.header,
.header__container,
.header__top,
.header__center,
.header__bottom,
.header-nav,
.header-nav__link,
.header-nav__menu,
.header-nav__menu_inner,
.header-nav__menu_link,
.header-nav__submenu-body {
  overflow: visible !important;
}

.header {
  position: relative;
  z-index: 1000 !important;
}

.header__bottom {
  position: relative;
  z-index: 1002 !important;
}

.header-nav__link,
.header-nav__menu_link.header-nav__submenu {
  position: relative !important;
}

.header-nav__menu,
.header-nav__submenu-body {
  z-index: 1010 !important;
}

.old-pages-hover-open > .header-nav__menu,
.old-pages-hover-open > .header-nav__submenu-body {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.footer-form {
  margin-bottom: 0 !important;
}

.footer-form + .footer__top,
.footer__top {
  margin-top: 0 !important;
  padding-top: 24px !important;
}

.footer__bottom {
  display: none !important;
}

.footer__top-address,
.footer__top-address_btn {
  display: none !important;
}

.header__center-social,
.footer__top-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__center-social_icon,
.footer__top-social_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.header__center-social_icon img,
.footer__top-social_icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-mobile .header__center-phones-icon,
.header-mobile .header__icon-mobile picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.header-mobile .header__center-phones-icon img,
.header-mobile .header__icon-mobile picture img,
.header-mobile .header__max-link img,
.header-mobile .header__logo picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-mobile .burger__menu {
  cursor: pointer;
}

.header-mobile .burger__menu span {
  pointer-events: none;
}

.old-mobile-menu-open .header-mobile_hide {
  display: block !important;
}

.old-mobile-menu-open .header-mobile_hide__bottom {
  display: flex !important;
}

.header-mobile .header__max-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-mobile .header__max-link img {
  width: 28px;
  height: 28px;
}

.header-mobile .header__icon-mobile,
.header-mobile .header__max-link {
  display: none !important;
}

@media (min-width: 992px) {
  .header.fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    animation: none !important;
    transform: none !important;
  }

  .header.fixed .header__top {
    display: block !important;
  }

  .header.fixed .header__center {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 25px 15px !important;
    background: #fff !important;
    border-bottom: 0 !important;
  }

  .header.fixed .header__center > .header__logo,
  .header.fixed .header__center-item,
  .header.fixed .header__center-btns,
  .header.fixed .header__center-btns_compact,
  .header.fixed .header__center-social,
  .header.fixed .header__center-phones {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header.fixed .header__bottom {
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header__bottom.container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .header__bottom .header-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header__bottom-phone {
    display: none !important;
  }

  .header__bottom .header__top-info {
    display: none !important;
  }

  .header__center-btns {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }

  .header__center-phone-main {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #0D1526 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  #specialButton,
  .header__center-btn_hide,
  .green-btn {
    display: none !important;
  }
}

.old-template-page .intro__top-image img,
.old-template-page .comment__top-image img,
.old-template-page .article__author-card-info img,
.old-template-page .doctors__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.old-template-page .intro__top-image,
.old-template-page .comment__top-image {
  display: block;
  overflow: hidden;
  border-radius: 0 !important;
}

.old-template-page .comment__top-image {
  min-height: 320px;
}

.old-template-page .article__author-card-info img {
  width: 84px;
  height: 108px;
  border-radius: 0 !important;
}

.old-template-page .doctors__picture {
  aspect-ratio: 3 / 4 !important;
  border-radius: 0 !important;
}

.old-template-page .doctors__prof {
  padding-bottom: 0 !important;
}

.old-template-page .advantages__picture,
.old-template-page .advantages__picture img {
  border-radius: 0 !important;
}

.advantages__item,
.garant__item,
.stage__item,
.old-template-page .advantages__item,
.old-template-page .garant__item,
.old-template-page .stage__item {
  display: flex;
  flex-direction: column;
}

.advantages__picture,
.garant__picture,
.stage__picture,
.old-template-page .advantages__picture,
.old-template-page .garant__picture,
.old-template-page .stage__picture {
  display: block;
  width: 100%;
  overflow: hidden;
}

.advantages__picture,
.old-template-page .advantages__picture {
  aspect-ratio: 1 / 1;
}

.garant__picture,
.stage__picture,
.old-template-page .garant__picture,
.old-template-page .stage__picture {
  aspect-ratio: 16 / 10;
}

.advantages__picture img,
.garant__picture img,
.stage__picture img,
.old-template-page .advantages__picture img,
.old-template-page .garant__picture img,
.old-template-page .stage__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantages__text,
.garant__text,
.stage__text,
.old-template-page .advantages__text,
.old-template-page .garant__text,
.old-template-page .stage__text {
  margin-top: 12px !important;
}

.stage__item .stage__picture,
.garant__item .garant__picture,
.advantages__item .advantages__picture,
.old-template-page .stage__item .stage__picture,
.old-template-page .garant__item .garant__picture,
.old-template-page .advantages__item .advantages__picture {
  margin-bottom: 0 !important;
}

.stage__item,
.garant__item,
.advantages__item,
.old-template-page .stage__item,
.old-template-page .garant__item,
.old-template-page .advantages__item {
  gap: 0 !important;
}

.old-template-page .service-main__bottom-space {
  background: transparent !important;
  color: #f73859 !important;
}

.old-template-page .service-main__bottom-icon path,
.old-template-page .service-main__bottom-icon circle,
.old-template-page .service-main__bottom-icon rect {
  fill: #f73859 !important;
  stroke: #f73859 !important;
}

.old-template-page .stage__picture img {
  filter: hue-rotate(320deg) saturate(220%) brightness(0.95);
}

.old-template-page .article__author-card-reviews,
.old-template-page .article__author-card-reviews-count {
  display: none !important;
}

.old-template-page .comment__table a.certificates__img img {
  border-radius: 0 !important;
}

.old-template-page a.certificates__img img,
.old-template-page img[src*="desctop-licenziya"],
.old-template-page img[src*="mobile-licenziya"] {
  border-radius: 0 !important;
}

.about__video-feature {
  margin-top: 24px;
}

.advantages__item,
.old-template-page .advantages__item {
  padding: 0 !important;
  overflow: hidden;
}

.advantages__picture,
.old-template-page .advantages__picture {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch;
  margin: 0 !important;
  border-radius: 0 !important;
}

.advantages__picture img,
.old-template-page .advantages__picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
}

.advantages__text,
.old-template-page .advantages__text {
  width: 100%;
  padding: 16px 24px 24px !important;
  margin-top: 0 !important;
  box-sizing: border-box;
}

.about__video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about__video-item,
.about__video-feature video {
  display: block;
  width: 100%;
}

.about__video-feature video {
  border-radius: 0 !important;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-video-block {
  margin-top: 32px;
  width: 100%;
}

.gallery-video-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-video-block__title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  color: #0D1526;
}

.gallery-video-block__item {
  width: 100%;
}

.gallery-video-block__item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 !important;
  background: #000;
}

.services-link-disabled {
  cursor: default !important;
  pointer-events: none !important;
  opacity: 0.72;
}

.map__item iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.old-template-page .map__item {
  min-height: 420px;
}

.dispelling__picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dispelling__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup__body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__content,
.popup-first,
.popup-third,
.popup-fourth,
.popup-change {
  position: relative;
  text-align: center;
}

.popup__title,
.popup__subtitle,
.popup__politic {
  text-align: center !important;
}

.popup__form {
  margin-left: auto;
  margin-right: auto;
}

.close-popup,
.close-popup-third {
  position: absolute !important;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: #0D1526;
  cursor: pointer;
  z-index: 2;
}

.close-popup source,
.close-popup-third source,
.close-popup img,
.close-popup-third img {
  display: none !important;
}

.close-popup::before,
.close-popup::after,
.close-popup-third::before,
.close-popup-third::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  width: 2px;
  height: 16px;
  background: #fff;
}

.close-popup::before,
.close-popup-third::before {
  transform: rotate(45deg);
}

.close-popup::after,
.close-popup-third::after {
  transform: rotate(-45deg);
}

.askvera-callback-modal__dialog {
  text-align: center !important;
}

.askvera-callback-modal__form {
  align-items: center !important;
}

@media (max-width: 767px) {
  .about__video-feature {
    margin-top: 18px;
  }

  .about__video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-video-block {
    margin-top: 24px;
  }

  .gallery-video-block__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-video-block__title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .map__item iframe,
  .old-template-page .map__item {
    min-height: 320px;
  }
}
