/*
 * Variables
 */

:root {
  --black: #000;
  --grey: #808080;
  --bg_grey: #F9FAFC;
  --white: #fff;
  --red: #e42228;
}

/*
  * Custom normalize + site's styles
  */

html,
body {
  overflow-x: hidden;
}

body {
  font-family: TTNorms;
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  position: relative;
  overflow: hidden;
  margin: 0 0 -1px;
  padding: 0;
  color: var( --black );
}

body *,
body *::before,
body *::after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

*:focus {
  outline: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

p {
  margin: 0;
}

a:not([class]),
.link {
  color: var( --red );
}

.link {
  font-weight: 400;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

a:not([class]):focus,
a:not([class]):hover,
a:not([class]):active {
  text-decoration: underline;
}

.link:focus,
.link:hover,
.link:active {
  text-decoration: none;
}

.link_arrow {
  font-size: 14px;
  position: relative;
  padding-right: 20px;

  &.arrow_white {
    &::after {
      background-image: url( '../images/icons/arrow_right_white_7x12.png' );
    }
  }

  &::after {
    position: absolute;
    top: calc(50% - 6px);
    right: 0;
    display: block;
    content: '';
    width: 7px;
    height: 12px;
    background: transparent url('../images/icons/arrow_right_red_7x12.png') center no-repeat;
    background-size: contain;
  }
}

button,
[type='submit'] {
  font-family: TTNorms;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  border: none;
  background: none;
}

button {
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  vertical-align: top;
}

blockquote {
  margin: 0;
}

form {
  margin: 0;
}

.container {
  max-width: 1500px;
  margin-right: auto;
  margin-left: auto;
}

/*
  * Buttons
  */

.btn {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  position: relative;
  display: block;
  width: 100%;
  padding: 17px 10px;
  text-align: center;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var( --red );
  border: 1px solid #e42228;
  border-radius: 25px;
  transition: .2s;
  background: var( --white );

  &.small_btn {
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 15px;
    width: auto;
  }
}


.btn:hover {
  box-shadow: 0 0 9px rgba( 33, 33, 33, .2 );
}

.btn_white {
  color: var( --red );
  border-color: var( --white );
  background-color: var( --white );
}

.btn_red {
  color: var( --white );
  border-color: var( --red );
  background-color: var( --red );
}

.btn_border-red {
  border-color: var( --red );
}

/*
  * Headers
  */

h1,
h2 {
  font-size: 66px;
  font-weight: 500;
  line-height: 1;
}

h3 {
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
}

h4 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
}

.has-divider::after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 55px;
  height: 2px;
  content: '';
  background-color: var( --red );
}

h1.has-divider,
h2.has-divider,
h3.has-divider,
h4.has-divider {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.underline {
  text-decoration: underline;
}

/*
  * Slick
  */

.slick-track {
  margin-left: 0;
}

/*
  * Forms
  */

::placeholder {
  color: #b4b8bf;
}

.form__row {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 24px;

  &.form__row-treatment {
    display: grid;
    grid-template-columns: 1fr 1fr 164px;
    column-gap: 24px;

    .footer__order-form-field {
      width: auto;
    }
  }
}

.form__row:last-child {
  margin-bottom: 0;
}

.form__field {
  width: 100%;

  &:has( .form__checkbox ) {
    display: flex;
  }
}

.form__field_half {
  width: calc((100% - 34px) / 2);
}

.form__text-input,
.form__textarea {
  font-family: TTNorms;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
          appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 50px;
  padding: 0 25px;
  transition: .15s;
  letter-spacing: 1.7px;
  color: #000;
  border: 1px solid #b4b8bf;
  border-radius: 25px;
  background: none;

  &::placeholder {
    transition: .15s;
    color: #b4b8bf;
  }

  &.checked_false {
    border-color: var( --red );

    &::placeholder {
      color: var( --red );
    }
  }
}

.alternate {
  &::before {
    background-color: rgba( 228, 34, 40, .7 );
  }

  .form__text-input,
  .form__textarea {
    &.checked_false {
      border-color: #252525;

      &::placeholder {
        color: #252525;
      }
    }
  }
}

.form__text-input_white {
  color: var( --white );
  border-color: var( --white );
}

.form__text-input_white::placeholder {
  color: var( --white );
}

.form__textarea {
  height: 173px;
  padding-top: 15px;
  resize: none;
}

.form__checkbox {
  font-size: 13px;
  line-height: 1;
  position: relative;
  display: flex;
  column-gap: 12px;
  cursor: pointer;
  color: #b4b8bf;
}

.form__checkbox::before {
  position: relative;
  display: block;
  flex-shrink: 0;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '';
  border: 1px solid #b4b8bf;
  border-radius: 50%;
}

.form__checkbox::after {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 0;
  height: 0;
  content: '';
  transition: left .15s, top .15s, width .15s, height .15s;
  border-radius: 50%;
  background-color: #b4b8bf;
}

.form__checkbox.checked::after {
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
}

.form__checkbox-input {
  display: none;
}

.form__checkbox_white {
  color: var( --white );
}

.form__checkbox_white::before {
  border-color: var( --white );
}

.form__checkbox_white::after {
  background-color: var( --white );
}

/*
  * Modal
  */

.fancybox-slide--html .fancybox-close-small {
  width: 14px;
  height: 14px;
  background: transparent url('../images/icons/close_gray_14x14.png') center no-repeat;
  background-size: contain;
  top: 68px;
  right: 113px;
  padding: 0;
}

.fancybox-close-small svg {
  display: none;
}

.modal {
  display: none;
  width: 1330px;
  padding: 42px 85px;
  background: none;
}

.modal__wrapper {
  position: relative;
  padding: 40px 45px 35px;
  border-radius: 10px;
  background-color: var( --white );
}

.modal__wrapper::before {
  position: absolute;
  z-index: 2;
  top: -42px;
  left: 540px;
  display: block;
  width: 438px;
  height: 234px;
  content: '';
  background: transparent url('../images/modal_image.png') center no-repeat;
  background-size: contain;
}

.modal__form {
  position: relative;
  z-index: 3;
  width: auto;
  margin: 40px -130px 0 0;
  padding: 60px;
  border-radius: 10px;
  background-color: var( --red );
}

.order-modal__form-field {
  width: auto;
}

.order-modal__form-text-input {
  width: 240px;
}

.order-modal__form-actions {
  width: 164px;
}

/*
  * Loader
  */

@keyframes spin {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

.loading {
  position: relative;
  color: transparent;
}

.loading::after {
  position: absolute;
  z-index: 15;
  top: calc(50% - 12px);
  left: calc(50% - 12px);
  display: block;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  content: '';
  animation-name: spin;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  border-width: 2px;
  border-style: solid;
  border-color: var( --red ) var( --white ) var( --white );
  border-radius: 50%;
  background-color: transparent;
}

/*
 * Showall
 */

.page__showall {
  margin-top: 90px;
  text-align: center;

  &.page-questions__list-loadmore {
    margin-top: 0;
  }
}

/*
 * Blog
 */

.page__blog-items {
  display: none;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;

  &.active,
  &.page-head__blog-items {
    display: flex;
  }
}

.page__blog-item {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
  width: calc((100% - 30px) / 2);
  padding: 50px 0;
  border-bottom: 1px solid #d8d8d8;
}

.page__blog-item-title {
  width: 100%;
  height: 76px;
  margin-bottom: 25px;
}

.page__blog-item-tags {
  margin-right: 40px;
}

.page__blog-item-tag {
  line-height: 30px;
  overflow: hidden;
  width: 125px;
  height: 32px;
  padding: 0 20px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(31, 31, 31, .4);
  border-radius: 16px;
  background-color: var( --bg_grey );
}

/*
 * Socials
 */

.page__socials {
  position: fixed;
  z-index: 1002;
  top: 50%;
  right: 50px;
  display: flex;
  align-items: center;
  flex-flow: column nowrap;
  justify-content: center;
  width: 28px;
  padding: 8px 0;
  transform: translateY(-50%);
  border-radius: 15px;
  background-color: var( --white );
}

.page__socials-item {
  line-height: 1;
  position: relative;
  display: block;
  margin-bottom: 35px;
  transition: .15s;

  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 45px;
    height: 45px;
    content: '';
    transform: translate( -50%, -50% );
  }

  &:hover {
            filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(.8);

    -webkit-filter: invert(40%) grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(400%) contrast(2);
  }
}

.page__socials-item:last-child {
  margin-bottom: 0;
}

/*
 * Page list
 */



.page__list-item {
  font-size: 16px;
  position: relative;
  padding: 20px 10px 20px 165px;
}

.page-programme__info-list-item {
  &:not( .last_item ) {
    &::after {
      position: absolute;
      top: 100%;
      right: 0;
      left: 165px;
      display: block;
      height: 1px;
      content: '';
      background-color: #dde0e7;
    }
  }
}

.full_width .page__list-item::before {
  position: absolute;
  top: calc(50% - 11px);
  left: 72px;
  display: block;
  width: 21px;
  height: 21px;
  content: '';
  border-radius: 50%;
  background-color: var( --red );
}

.page__list-item_num::before,
.page__list-item.treatment_item::before {
  display: none;
}

.page__list-item-num {
  font-size: 35px;
  font-weight: 400;
  position: absolute;
  top: 50%;
  left: 82px;
  transform: translateX(-50%) translateY(-50%);
  color: var( --red );
}

/*
 * Blog bottom
 */

.page__blog {
  margin-top: 140px;
  margin-bottom: -507px;
  padding: 217px 0 530px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/*
 * Page Vote
 */

.page__vote {
  margin-top: 30px;
  padding: 50px;
  border-radius: 12px;
}

.page__vote:nth-child(1) {
  margin-top: 170px;
}

.page__vote_tall {
  padding-top: 90px;
  padding-bottom: 160px;
}

.page__vote-title {
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
  max-width: 50%;
}

/*
 * Page Gallery
 */

.page__gallery {
  margin-top: 160px;
}

.page__gallery-items {
  width: calc(100% - 320px);
  margin: 40px auto 0;
}

.page__gallery-item {
  position: relative;
}

.page__gallery-item-bg {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  opacity: .3;
  border-radius: 10px;
  background: transparent url('') center no-repeat;
  background-size: cover;
}

.page__gallery-item-image {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  border-radius: 10px;
}

.page__gallery .slick-arrow {
  font-size: 12px;
  font-weight: 300;
  position: absolute;
  top: 50%;
  width: 80px;
  transition: .15s;
  transform: translateY(-50%);
  color: #b8b9ba;

  &:hover {
            filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(.8);

    -webkit-filter: invert(40%) grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(400%) contrast(2);
  }
}

.page__gallery .slick-arrow::before {
  display: block;
  width: 31px;
  height: 21px;
  background: transparent center no-repeat;
  background-image: none;
  background-size: contain;
  margin-bottom: 15px;
  content: '';
}

.page__gallery .slick-prev {
  left: -160px;
}

.page__gallery .slick-prev::before {
  background-image: url('../images/icons/arrow_left_gray_31x21.png');
}

.page__gallery .slick-next {
  right: -160px;
  text-align: right;
}

.page__gallery .slick-next::before {
  margin-left: auto;
  background-image: url('../images/icons/arrow_right_gray_31x21.png');
}

/*
 * Page Media
 */

.page__media {
  margin-top: 110px;
}

.page__media-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-top: 40px;
}

.page__media-item {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: space-between;
  width: calc((100% - 210px) / 3);
  margin-right: 105px;
  margin-bottom: 30px;
}

.page__media-item:nth-child(3n) {
  margin-right: 0;
}

.page__media-item-photo {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page__media-item .page__media-item-photo::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  transition: opacity .15s;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, .4);
}

.page__media-item .page__media-item-photo::after {
  position: absolute;
  top: calc(50% - 37px);
  left: calc(50% - 37px);
  width: 74px;
  height: 74px;
  content: '';
  transition: opacity .15s;
  background: transparent url('../images/icons/play_white_74x74.png') center no-repeat;
}

.page__media-item:hover .page__media-item-photo::before {
  opacity: 0;
}

.page__media-item-image {
  width: 430px;
  height: 290px;
  object-fit: cover;
  border-radius: 10px;
}

.page__media-item-title {
  font-size: 24px;
  line-height: 1.25;
  width: 50%;
  text-decoration: underline;
  color: var( --red );
}

.page__media-item-duration {
  font-size: 14px;
  position: relative;
  top: -10px;
  padding-left: 25px;
  color: rgba(31, 31, 31, .4);
}

.page__media-item-duration::before {
  width: 14px;
  height: 14px;
  background: transparent url('../images/icons/clock_gray_14x14.png') center no-repeat;
  background-size: contain;
  position: absolute;
  top: calc(50% - 7px);
  left: 0;
  display: block;
  content: '';
}

/*
 * Header
 */

.header {
  position: fixed;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  padding: 35px 0;
  transition: .3s;
  background-color: var( --white );
}

.header__container {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  justify-content: flex-start;
  width: calc(100% - 110px);
  max-width: 1920px;
  margin: 0 auto;
}

.header_logo {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  justify-content: flex-start;
  color: #000;
}

.header_logo-image {
  max-width: 43px;
  max-height: 43px;
}

.header_logo-text {
  font-size: 22px;
  line-height: 1;
  margin-left: 18px;
  text-transform: uppercase;
}

.header__title {
  font-size: 17px;
  line-height: 1.35;
  margin-left: 32px;
  padding-left: 26px;
  color: rgba(25, 25, 25, .4);
  border-left: 1px solid #e1e1e1;
}

.header__menu {
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.header__menu-item {
  position: relative;
  margin: 0 30px;
  transition: .15s;
  color: var( --black );

  .header__menu-item_link {
    color: var( --black );
  }

  &:hover {
    text-decoration: underline;
    color: var( --red );

    .header__menu-item_link {
      color: var( --red );
    }
  }
}

.header__menu-item::before {
  position: absolute;
  top: -49px;
  left: 50%;
  display: block;
  width: 0;
  height: 4px;
  content: '';
  transition: left .15s, width .15s;
  background-color: var( --red );
}

.header__menu-item.active {
  .header__menu-item_link {
    color: #e52f32;
  }
}

.header__menu-item.active::before {
  left: calc(50% - 35px);
  width: 70px;
}

.header__submenu {
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 50%;
  visibility: hidden;
  padding-top: 40px;
  transition: opacity .15s, visibility .15s, transform .15s;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
}

.header__submenu-container {
  display: flex;
  align-items: stretch;
  flex-flow: row nowrap;
  justify-content: flex-start;
  background-color: var( --white );
  box-shadow: 0 3px 10px rgb( 0 0 0 / .1 );
}

.header__menu-item_submenu:hover .header__submenu {
  visibility: visible;
  transform: translateX(-50%);
  opacity: 1;
}

.header__submenu-col {
  position: relative;
  width: 240px;

  &:not( :last-child ) {
    &::after {
      position: absolute;
      right: 0;
      top: 110px;
      bottom: 40px;
      display: block;
      width: 1px;
      content: '';
      background-color: #f0f0f0;
    }
  }
}

.header__submenu-col_two-cols {
  width: 410px;
}

.header__submenu-col-title {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  padding: 30px 35px;
  color: #252525;
  background-color: var( --bg_grey );
}

.header__submenu-col-items {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 18px;
  padding: 30px 35px 40px;
}

.header__submenu-col-items_two-cols {
  grid-template-columns: repeat( 2, 1fr );
  column-gap: 60px;
}

.header__submenu-col-items::after {
  position: absolute;
  top: 40px;
  width: 1px;
  height: calc(100% - 80px);
  background-color: #dbdbdc;
}

.contact_link {
  transition: .15s;
  color: var( --white );

  &.black {
    color: #000;
  }

  &:hover {
    text-decoration: underline;
    color: var( --red );
  }
}

.license_link {
  transition: .15s;
  text-decoration: underline;
  color: rgba( 255, 255, 255, .4 );

  &.black {
    color: rgba( 90, 90, 90, .4 );
  }

  &:hover {
    color: var( --red );
  }
}

.header__submenu-col-item-link-container {
  line-height: 1;
}

.header__submenu-col-item {
  font-size: 15px;
  line-height: 1.4;
  width: 100%;
  transition: .15s;
  color: #252525;

  &:hover {
    text-decoration: underline;
    color: var( --red );
  }

  &.active {
    color: var( --red );
  }
}

.header__contacts {
  margin-right: 30px;
  margin-left: auto;
  text-align: right;
}

.header__contacts-phone {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var( --black );
}

.header__contacts-phone-link {
  color: var( --black );
}

.header__contacts-email {
  font-size: 15px;
  line-height: 1;
  margin-top: 2px;
}

.header__contacts-email-link {
  color: rgba(25, 25, 25, .4);
}

.header__order-btn {
  width: 164px;
}

/*
 * Footer
 */

.footer__order {
  display: flex;
  align-items: flex-start;
  flex-flow: row nowrap;
  justify-content: flex-start;
  margin-top: 120px;
  padding: 60px 110px 40px 80px;
  color: var( --white );
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: #e52e31;
}

.footer__order-title {
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  width: 280px;
}

.footer__order-title-smaller {
  display: block;
  line-height: 1.22;
  font-size: 28px;
}

.footer__order-form {
  width: calc(100% - 280px);
}

form.success {
  &::before {
    visibility: visible;
    content: 'Спасибо! Наш менеджер в ближайшее рабочее время перезвонит вам.';
    opacity: 1;
    background-color: rgb( 255, 255, 255 );
  }

  &[data-form='head-questions'] {
    &::before {
      content: 'Спасибо за вопрос! Мы ответим на него в ближайшее время.';
    }
  }

  &.red {
    &::before {
      background-color: rgb( 228, 34, 40 );
    }
  }

  &.lighter_red {
    &::before {
      background-color: rgb( 229, 46, 49 );
    }
  }
}

.footer__order-form-field {
  width: auto;
}

.footer__order-form-text-input {
  width: 240px;
}

.footer__order-form-actions {
  width: 164px;
}

.footer-bottom {
  color: var( --white );
  background: linear-gradient(to right, var( --black ) 0%, var( --black ) 55%, transparent 55%, transparent 100%);
}

.footer-bottom__container {
  position: relative;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  justify-content: flex-start;
  padding: 100px 0;
  background: linear-gradient(to right, transparent 0%, transparent 50%, var( --black ) 50%, var( --black ) 100%);
}

.footer__info-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
}

.footer__info-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 15px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, .4);
}

html body .footer__info .bvi-link-shortcode {
  display: inline-flex;
  align-items: center;

  .bvi-svg-eye {
    margin-right: 5px;
  }
}

.footer__contacts {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-left: 80px;
}

.footer__contacts-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 40px;
}

.footer__contacts-item:last-child {
  margin-bottom: 0;
}

.footer__contacts-item-icon {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  transform: translateY(-50%);
  text-align: center;
}

.footer__map {
  position: absolute;
  right: -84px;
  bottom: -7px;
  width: 765px;
  height: 455px;
  background: transparent url('../images/macbook.png') center no-repeat;
  background-size: contain;
}

iframe[src*='widgets.2gis.com'] {
  position: absolute;
  top: 30px;
  left: 100px;
  width: 565px;
  height: 354px;
}


/* footer-middle */
.footer-middle {
  background: var( --black );
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-middle__nav {
  display: grid;
  grid-template-columns: repeat( 6, 1fr );
  gap: 40px 20px;
}

.footer-middle__nav-section {
  &:nth-child( 1 ) {
    grid-column: 1 / 3;

    .footer-middle__nav-sub-section {
      grid-template-columns: repeat( 2, 1fr );
    }
  }
}

.footer-middle__nav-sub-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 8px 10px;
}

.footer-middle__nav-link,
.footer-middle__nav-link-header {
  color: var( --white );
  line-height: 1.22;

  &:hover {
    text-decoration: underline;
    color: #e42228;
  }
}

.footer-middle__nav-link-header {
  display: inline-block;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 500;
}

.footer-middle__nav-section.footer-middle__extra-section {
  line-height: 1.22;
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  row-gap: 10px;
  color: var( --grey );
}

@media ( max-width: 1199px ) {
  .footer-middle__container.container {
    width: 100%;
    padding-left: 70px;
    padding-right: 70px;
  }

  .footer-middle__nav {
    grid-template-columns: repeat( 4, 1fr );
  }

  .footer-middle__nav-section {
    &:nth-child( 1 ) {
      grid-column: 1 / 5;

      .footer-middle__nav-sub-section {
        grid-template-columns: repeat( 3, 1fr );
      }
    }
  }

  .footer-middle__nav-section.footer-middle__extra-section {
    grid-column: 1 / 5;
  }
}

@media ( max-width: 767px ) {
  .footer-middle {
    padding-top: 60px;
  }

  .footer-middle__container.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-middle__nav {
    grid-template-columns: repeat( 3, 1fr );
  }

  .footer-middle__nav-section {
    &:nth-child( 1 ) {
      grid-column: 1 / 3;

      .footer-middle__nav-sub-section {
        grid-template-columns: repeat( 2, 1fr );
      }
    }
  }

  .footer-middle__nav-section.footer-middle__extra-section {
    grid-column: 1 / 4;
  }
}

@media ( max-width: 649px ) {
  .footer-middle__nav {
    grid-template-columns: repeat( 2, 1fr );
  }

  .footer-middle__nav-section.footer-middle__extra-section {
    grid-column: 1 / 3;
  }
}

@media ( max-width: 424px ) {
  .footer-middle__nav {
    grid-template-columns: 1fr;
  }

  .footer-middle__nav-section {
    &:nth-child( 1 ) {
      grid-column: auto;

      .footer-middle__nav-sub-section {
        grid-template-columns: 1fr;
      }
    }
  }

  .footer-middle__nav-section.footer-middle__extra-section {
    grid-column: auto;
  }
}
/* footer-middle END */


/*
 * Home - Main
 */

.page-home {
  margin-top: 150px;
}

.page-home__main {
  margin-top: 70px;

  .page-home__main-container {
    position: relative;

    .page-home__main-title {
      font-size: 88px;
    }

    &::after {
      position: absolute;
      z-index: -1;
      top: -50px;
      right: 0;
      display: block;
      width: 800px;
      height: 716px;
      content: '';
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: contain;
    }
  }
}

.page-home__main-text {
  max-width: 350px;
}

.page-home__main-action {
  max-width: 280px;
  margin-top: 50px;
}

/*
 * Home - Diag
 */

.page-home__diag {
  padding-top: 110px;
  padding-bottom: 100px;
}

.page-home__diag-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page-home__diag-item {
  display: flex;
  align-items: stretch;
  flex-flow: row nowrap;
  justify-content: flex-start;
  width: calc((100% - 90px) / 3);
  height: 230px;
  margin-top: 50px;
  margin-right: 45px;
  transition: .15s;
  border: solid 1px rgba(173, 173, 173, .4);
  border-radius: 8px;

  &:nth-of-type( 1n + 7 ) {
    display: none;
    transition: 0s;
  }

  &:hover {
    box-shadow: 0 0 7px rgba( 33, 33, 33, .2 );
  }
}

.page-home__diag-item:nth-child(3n) {
  margin-right: 0;
}

.page-home__diag-item-left {
  width: 180px;
  padding-top: 60px;
}

.page-home__diag-item-icon {
  width: 100px;
  height: 100px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-home__diag-item-icon-image {
  max-width: 100%;
  max-height: 100%;
}

.page-home__diag-item-right {
  width: calc(100% - 200px);
  padding-top: 50px;
}

.page-home__diag-item-title {
  font-size: 35px;
  line-height: 1;
  display: block;
  overflow: hidden;
  padding-left: 33px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var( --black );
  border-left: 1px solid #c7cedb;
}

.page-home__diag-item-subtitle {
  font-size: 16px;
  line-height: 1.3;
  margin-top: 11px;
  color: rgba( 31, 31, 31, .4 );
  overflow: hidden;
  white-space: initial;
  height: 42px;
}

.page-home__diag-item-order {
  margin-top: 33px;
  padding-left: 33px;
}

.page-home__spec {
  background-color: var( --bg_grey );
}

/*
 * Home - Services
 */

.page-home__services {
  margin-top: 190px;
}

.page-home__services-items::after {
  display: block;
  clear: both;
  content: '';
}

.page-home__services-item {
  position: relative;
  float: left;
  width: calc((100% - 50px) / 3);
  height: 345px;
  padding: 65px 60px 50px;
  border-radius: 8px;
  background-color: var( --bg_grey );
}

.page-home__services-item_vertical {
  height: 775px;
  margin-right: 25px;
}

.page-home__services-item_horizontal {
  width: calc((100% - 50px) / 3 * 2 + 25px);
  height: 405px;
  margin-bottom: 25px;
}

.page-home__services-item_image-left {
  margin-right: 25px;
  padding-top: 45px;
  padding-left: 230px;

  &.services-item_no_thumbnail {
    padding-left: 60px;
  }
}

.page-home__services-item_image-right {
  padding-top: 45px;
}

.page-home__services-item_horizontal .page-home__services-item-text {
  max-width: 350px;
}

.page-home__services-item_image-right .page-home__services-item-text {
  max-width: 170px;
}

.page-home__services-item-readmore {
  position: relative;
  z-index: 3;
  margin-top: 50px;
}

.page-home__services-item-thumbnail {
  position: absolute;
  z-index: 2;
}

.page-home__services-item_vertical .page-home__services-item-thumbnail {
  position: relative;
  left: -100px;
  width: 350px;
}

.page-home__services-item_horizontal .page-home__services-item-thumbnail {
  top: -55px;
  right: -46px;
}

.page-home__services-item_image-left .page-home__services-item-thumbnail {
  bottom: -52px;
  left: 0;
  width: 170px;
}

.page-home__services-item_image-right .page-home__services-item-thumbnail {
  right: -58px;
  bottom: -65px;
}

/*
 * Home - About
 */

.page-home__about {
  position: relative;
  margin-top: 360px;
  background: linear-gradient(to right, var( --bg_grey ) 0%, var( --bg_grey ) 55%, transparent 55%, transparent 100%);
}

.page-home__about-container {
  padding: 150px 0 120px;
  background: linear-gradient(to right, transparent 0%, transparent 50%, var( --bg_grey ) 50%, var( --bg_grey ) 100%);
}

.page-home__about-image {
  position: absolute;
  z-index: 2;
  top: -232px;
  left: 0;
}

.page-home__about-note {
  line-height: 1.2;
  position: absolute;
  bottom: calc(100% + 40px);
  left: 570px;
  padding-left: 20px;
  border-left: 2px solid var( --red );
}

.page-home__about-content {
  position: relative;
  z-index: 3;
  width: 50%;
  margin-left: auto;
}

.page-home__about-text {
  max-width: 480px;
}

.page-home__about-readmore {
  margin-top: 80px;
}

/*
 * Page - Home Blog
 */

.page-home__blog {
  margin-top: 120px;
}

/*
 * Page
 */

.page {
  margin-top: 100px;

  &.page-blog-archive {
    margin-top: 60px;
  }

  &.page-blog {
    margin-top: 60px;

    &.error_404 {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 850px;
      margin: 0;

      .img_404 {
        position: absolute;
        margin: 0;

        &.first_img {
          top: 230px;
          left: 5%;
        }

        &.second_img {
          top: 130px;
          left: 45%;
        }

        &.third_img {
          top: 210px;
          right: 10%;
        }

        &.fourth_img {
          bottom: 0;
          left: 16%;
        }

        &.fifth_img {
          right: 21%;
          bottom: 0;
        }
      }
    }
  }

  &.page-treatment {
    margin-top: 150px;
  }
}

.page__main-container::after {
  display: block;
  clear: both;
  content: '';
}

.page__main-container_two-cols {
  display: flex;
  align-items: stretch;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page__main-left {
  width: 50%;
  padding-right: 120px;
}

.page__main-right {
  width: 50%;
  padding-left: 175px;

  &:not( .no_border_left ) {
    border-left: 1px solid #e7ebf3;
  }
}

.page__main-tag {
  font-size: 22px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 35px;
  text-transform: uppercase;
  color: #afafaf;
}

.page__main-text {
  font-size: 16px;
  max-width: 470px;
}

.page__main-order-form {
  margin-top: 40px;
  padding-bottom: 60px;
}

.page__main-scroll {
  font-size: 12px;
  position: relative;
  margin-top: 80px;
  padding-left: 38px;
  color: #a6a6a6;
}

.page__main-scroll::before {
  position: absolute;
  top: calc(50% - 11px);
  left: 0;
  display: block;
  content: '';
  width: 16px;
  height: 21px;
  background: transparent url('../images/icons/mouse_gray_16x21.png') center no-repeat;
  background-size: contain;
}

.page__main-preview {
  position: relative;
  float: right;
  width: 884px;
  height: 685px;
  cursor: pointer;
  background: transparent url('../images/page_main_preview.png') center no-repeat;
}

.page__main-preview-video {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 700px;
  height: 530px;
  transform: rotateZ(-4deg) translateY(80px) translateX(96px);
  background-color: var( --black );
}

.page__main-preview-video.active {
  display: block;
}

/*
 * Page - Programme
 */

.page-programme__services {
  margin-top: 120px;
}

.page-programme__services-container {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: flex-start;

  .price_block {
    display: flex;
    align-items: flex-end;
    margin-top: 52px;
    margin-left: auto;

    .full_price {
      font-size: 22px;
      font-weight: normal;
      line-height: 1;
      display: flex;
      align-items: flex-end;
      color: rgba(38, 38, 38, .4);

      .total_full_price {
        margin-left: 45px;
        white-space: nowrap;
      }

      .price_ending {
        font-size: 16px;
        white-space: nowrap;
      }
    }

    .discount_price {
      font-size: 30px;
      font-weight: 500;
      line-height: 1;
      display: flex;
      align-items: flex-end;
      margin-right: 50px;
      margin-left: 163px;
      color: #252525;

      .discount_price_header {
        white-space: nowrap;
      }

      .total_discount_price {
        margin-left: 65px;
        white-space: nowrap;
        color: var( --red );
      }

      .price_ending {
        font-size: 16px;
        white-space: nowrap;
        color: var( --red );
      }
    }
  }
}

.page-programme__services-title {
  width: 100%;
}

.page-programme__services-items {
  width: 100%;
}

.page-programme__services-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-radius: 10px;
}

.page-programme__services-item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background-color: #d3d7df;
}

.page-programme__services-item-title {
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  max-width: 80%;
  padding: 0 50px;
  hyphens: auto;
  background-color: var( --white );
}

.page-programme__services-item-appointment-btn {
  margin-left: auto;

  &::before {
    content: '';
    display: block;
    position: absolute;
    right: calc( 100% + 1px );
    top: 0;
    bottom: 0;
    width: 50px;
    background: var( --white );
    pointer-events: none;
  }
}

.page-programme__services-item-price {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  z-index: 3;
  padding: 0 50px;
  white-space: nowrap;
  background-color: var( --white );
  width: 240px;
  flex-shrink: 0;
  text-align: right;
}

.page-programme__services-item:nth-child(2n) {
  background-color: var( --bg_grey );

  .page-programme__services-item-appointment-btn {
    &::before {
      background: var( --bg_grey );
    }
  }
}

.page-programme__services-item:nth-child(2n) .page-programme__services-item-title {
  background-color: var( --bg_grey );
}

.page-programme__services-item:nth-child(2n) .page-programme__services-item-price {
  background-color: var( --bg_grey );
}

.page-programme__services-item-price-small {
  font-size: 16px;
}

.page-programme__services-price-full {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: flex-start;
  width: 50%;
  padding: 30px 0;
}

.page-programme__services-price-full-title {
  font-size: 22px;
  font-weight: 400;
  margin-right: 45px;
  color: rgba(37, 37, 37, .4);
}

.page-programme__services-price-full-value {
  font-size: 22px;
  font-weight: 400;
  color: rgba(37, 37, 37, .4);
}

.page-programme__services-price-discount-title {
  font-size: 30px;
  font-weight: 500;
  margin-right: 65px;
}

.page-programme__services-price-discount-value {
  font-size: 30px;
  font-weight: 500;
  color: var( --red );
}

.page-programme__doctors {
  margin-top: 40px;

  .swiper_controls {
    position: absolute;
    top: 100%;
    left: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 160px;
    height: 57px;
    margin-top: 60px;

    .swiper_btns {
      position: static;
      width: auto;
      height: auto;
      margin: 0 0 10px;

      &::after {
        display: none;
      }

      &.swiper-button-disabled {
        opacity: 1;

        svg {
          path {
            fill: #a1a2a3;
          }
        }
      }

      svg {
        width: 23px;
        height: 16px;

        path {
          transition: .3s;
        }
      }
    }

    .swiper-pagination {
      font-family: ttnorms-mono;
      font-size: 48px;
      font-weight: 400;
      line-height: 1;
      display: flex;
      justify-content: center;
      column-gap: 2px;
      z-index: 9;
      color: var( --red );
    }
  }
}

.page-programme__doctors-container {
  max-width: 1820px;
  padding: 61px 95px 74px;
  border-radius: 10px;
  background-color: var( --bg_grey );
  background-image: url( '../images/doctor_block_bg.png' );
  background-repeat: no-repeat;
  background-position: 877px bottom;
  background-size: auto 80%;
}

.page-programme__doctors-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page-programme__doctors-item {
  .doctor_photo {
    position: absolute;
    top: 0;
    right: 92px;
    bottom: 0;

    img {
      object-fit: contain;
      object-position: bottom center;
    }
  }

  .doctor_post {
    font-weight: 400;
    line-height: 1;
    margin-bottom: 29px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba( 31, 31, 31, .4 );
  }

  .doctor_name {
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
  }

  .doctor_appointment {
    margin-bottom: 15px;
  }

  .doctor_achievements {
    font-size: 16px;
    line-height: 1.5;
    color: #4f4f4f;
  }

  .doctor_years {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #4f4f4f;
  }

  .doctor_video {
    height: 17px;
    margin-bottom: 15px;

    .doctor_video_link {
      line-height: 1;
      font-weight: 400;
      display: inline-flex;
      align-items: center;
      text-decoration: underline;
      color: var( --red );

      svg {
        width: 25px;
        height: 17px;
        margin-right: 10px;
      }

      &:hover {
        text-decoration: none;
      }
    }
  }
}

.doctor-thumbs {
  width: 1002px;
  margin-top: -18px;
  margin-right: 87px;
  margin-left: auto;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;

  .doctor_thumb_item {
    padding: 37px 32px;
    pointer-events: auto;
    border-radius: 10px;
    background-color: var( --white );
    box-shadow: 0 4px 15px 0 #e9ebee;

    &.swiper-slide-thumb-active {
      .doctor_thumb_name {
        color: var( --red );
      }
    }

    &:not( .swiper-slide-thumb-active ) {
      cursor: pointer;
    }

    .doctor_thumb_name {
      font-size: 18px;
      font-weight: 500;
      line-height: 1.2;
      transition: .3s;
    }

    .doctor_thumb_photo {
      position: absolute;
      top: 0;
      right: 17px;
      bottom: 0;
      width: auto;

      img {
        object-fit: contain;
      }
    }
  }
}

.page-programme__doctors-item:nth-child( 3n ) {
  margin-right: 0;
}

.page-programme__doctors-item-photo {
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  width: 185px;
  max-height: 300px;
  border-bottom-left-radius: 7px;
}

.page-programme__doctors-item-photo-image {
  width: 100%;
  height: 100%;
}

.page-programme__doctors-item-name {
  font-weight: 700;
  line-height: 1.4;
  padding-left: 19px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  border-left: 1px solid var( --red );
}

.page-programme__doctors-item-speciality {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 25px;
  color: rgba(31, 31, 31, .4);
}

.page-programme__doctors-item-readmore {
  margin-top: 35px;
}

.page-programme__info {
  margin-top: 90px;
}

.page-programme__info-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
}

.page-programme__info-item {
  position: relative;
  width: calc( ( 100% - 100px ) / 2 );
  margin-top: 60px;
  margin-right: 100px;
  padding: 40px 60px 20px;
  border-radius: 10px;
  background-color: var( --bg_grey );

  &:first-child {
    margin-top: 0;
  }

  &.wide_block {
    width: 100%;
    margin-right: 0;

    &:first-child {
      margin-top: 0;
    }
  }

  .page-programme__info-item-title {
    margin-bottom: 60px;
    padding-bottom: 25px;
  }

  .page-programme__info-list {
    position: relative;
  }

  &.video_item {
    padding-bottom: 60px;

    .page-programme__info-list {
      width: 100%;
      height: 0;
      padding-bottom: 56.25%;

      .youtube_iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
    }
  }

  .list_image {
    position: absolute;
    top: 150px;
    right: calc( 100% - 165px );
    max-width: 300px;
    max-height: 60%;

    &.fill_bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      max-width: none;
      height: 100%;
      max-height: none;
      object-fit: cover;
      transform: none;
      opacity: .2;
    }
  }
}

.page-programme__info-item_right {
  margin-top: 150px;
  margin-right: 0;
}

.page-programme__info-item_fullwidth {
  width: 100%;
  margin-top: 50px;
  margin-right: 0;
}

.page-programme__programmes {
  margin-top: 100px;
  margin-bottom: 50px;

  &.no_title {
    margin-top: 0;
  }
}

.page-programme__programmes-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page-programme__programmes-item {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: flex-start;
  width: calc((100% - 220px) / 3);
  margin-right: 110px;
  margin-bottom: 90px;
  padding: 45px;
  border-radius: 8px;
  background-color: var( --bg_grey );
}

.page-programme__programmes-item:nth-child(3n) {
  margin-right: 0;
}

.page-programme__programmes-item-tag {
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: rgba(31, 31, 31, .4);
}

.page-programme__programmes-item-title {
  font-size: 30px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  min-height: 94px;
  margin-top: 10px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.page-programme__programmes-item-percents {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  width: calc(100% + 90px);
  margin-right: -45px;
  margin-bottom: 60px;
  margin-left: -45px;
  padding: 20px 45px;
  text-align: right;
  color: rgba(31, 31, 31, .4);
  border-bottom: 1px solid rgba(31, 31, 31, .4);
}

.page-programme__programmes-item-percents-small {
  font-size: 16px;
}

.page-programme__programmes-item-percents::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: '';
  background-color: var( --red );
}

.page-programme__programmes-item-price {
  font-weight: 400;
}

.page-programme__programmes-item-price-discount {
  font-size: 29px;
  line-height: 1.1;
  color: var( --red );
}

.page-programme__programmes-item-price-discount-small {
  font-size: 16px;
}

.page-programme__programmes-item-price-total {
  font-size: 22px;
  line-height: 1.1;
  text-decoration: line-through;
  color: #9d9d9d;
}

.page-programme__programmes-item-readmore {
  display: flex;
  flex-direction: column;
  row-gap: 7px;
  margin-left: auto;
}

.page-programme__programmes-item-order-btn {
  font-size: 16px;
  font-weight: 500;
}

/*
 * Page - Doctors
 */

/*
 * Home - Diag
 */

.page-doctors__list-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: center;
}

.page-doctors__list-item {
  display: flex;
  align-items: stretch;
  flex-flow: row nowrap;
  justify-content: flex-start;
  width: calc((100% - 90px) / 3);
  height: 195px;
  margin-top: 50px;
  margin-right: 45px;
  border: solid 1px rgba(173, 173, 173, .4);
  border-radius: 8px;

  &:last-child {
    margin-right: 0;
  }
}

.page-doctors__list-item:nth-child(3n) {
  margin-right: 0;
}

.page-doctors__list-item-left {
  width: 190px;
  padding-top: 50px;
}

.page-doctors__list-item-icon {
  width: 100px;
  height: 100px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-doctors__list-item-icon-image {
  max-width: 100%;
  max-height: 100%;
}

.page-doctors__list-item-right {
  width: calc(100% - 200px);
  padding-top: 40px;
}

.page-doctors__list-item-title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.4;
  display: block;
  overflow: hidden;
  padding-right: 1px;
  padding-left: 26px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var( --black );
  border-left: 1px solid #e73d3c;
}

.page-doctors__list-item-order {
  margin-top: 35px;
  padding-left: 33px;
}

/*
 * Page - Blog Archive
 */

.page-blog-archive__categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 35px;
  border-bottom: 1px solid #e7e7e7;
}

.page-blog-archive__category-btn {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  transition: .15s;

  &:hover {
    color: var( --red );
  }
}

.page-blog-archive__category-btn::after {
  position: absolute;
  bottom: -41px;
  left: 50%;
  width: 0;
  height: 2px;
  content: '';
  transition: left .15s, width .15s;
  background-color: var( --red );
}

.page-blog-archive__category-btn.active {
  color: var( --red );
}

.page-blog-archive__category-btn.active::after {
  left: 0;
  width: 100%;
}

/*
 * Page - Blog Single
 */

.page-blog__tags {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-bottom: 40px;
  padding-top: 5px;
}

.page-blog__tag {
  line-height: 30px;
  min-width: 125px;
  height: 32px;
  margin-right: 20px;
  padding: 0 16px;
  text-align: center;
  color: rgba(31, 31, 31, .4);
  border-radius: 16px;
  background-color: var( --bg_grey );
}

/*
 * Page - About
 */

.page-about__history {
  margin-top: 100px;
}

.page-about__history-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
  min-height: 615px;
  padding: 90px 370px 0 90px;
  border-radius: 10px;
  background-color: var( --bg_grey );
}

.page-about__history-left {
  width: 470px;
}

.page-about__history-text {
  margin-top: 90px;
}

.page-about__history-right {
  position: relative;
  width: 450px;
  margin-left: 120px;
}

.page-about__history-items {
  position: relative;
  overflow-y: hidden;
  height: 560px;
}

.page-about__history-items-container {
  position: absolute;
  right: 0;
  bottom: 140px;
  width: 100%;
  transition: bottom .15s;
}

.page-about__history-item {
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-flow: column nowrap;
  justify-content: center;
  height: 140px;
  transition: color .15s, font-size .15s;
  color: #b8b9ba;
}

.page-about__history-item.active {
  font-size: 70px;
  color: var( --red );
}

.page-about__history-item::before {
  position: absolute;
  top: calc(50% - 1px);
  right: 283px;
  width: 0;
  height: 2px;
  content: '';
  transition: width .15s;
  background-color: #b4b7bd;
}

.page-about__history-item.active::before {
  width: 170px;
}

.page-about__history-items-control {
  position: absolute;
  z-index: 2;
  top: 315px;
  right: -60px;
  display: block;
  width: 9px;
  height: 13px;
  background: transparent  url('') center no-repeat;

  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 300%;
    height: 300%;
    content: '';
    transform: translate( -50%, -50% );
  }
}

.page-about__history-items-control_prev {
  background-image: url('../images/icons/arrow_red_top_9x13.png');
}

.page-about__history-items-control_next {
  top: 365px;
  background-image: url('../images/icons/arrow_red_bottom_9x13.png');
}

.page-about__history-items-control_prev.disabled {
  background-image: url('../images/icons/arrow_gray_top_9x13.png');
}

.page-about__history-items-control_next.disabled {
  background-image: url('../images/icons/arrow_gray_bottom_9x13.png');
}

.page-about__history-photo {
  position: absolute;
  right: -125px;
  bottom: -27px;
}

.page-about__achievments {
  position: relative;
  margin-top: 80px;
  margin-bottom: 270px;
}

.page-about__achievments-container::after {
  display: block;
  clear: both;
  content: '';
}

.page-about__achievments-left {
  position: relative;
  float: left;
  width: calc((100% - 30px) / 2);
  padding: 60px 60px 320px;
  border-radius: 8px;
  background-color: var( --bg_grey );

  .img_descr {
    line-height: 1.21;
    position: absolute;
    right: 84px;
    bottom: 67px;
    width: 110px;
    color: #252525;

    &::before {
      position: absolute;
      top: 50%;
      left: -21px;
      display: block;
      width: 2px;
      height: 140%;
      content: '';
      transform: translateY( -50% );
      background-color: #e32026;
    }
  }
}

.page-about__achievments-photo {
  position: absolute;
  bottom: -73px;
  left: -50px;
}

.page-about__achievments-right {
  float: right;
  width: calc((100% - 30px) / 2);
}

/*
 * Page - Card
 */

.page-card__main {
  position: relative;
}

.page-card__main-text {
  font-size: 33px;
  font-style: italic;
  line-height: 1.3;
  max-width: 560px;
}

.page-card__main-order-form {
  max-width: 570px;
  margin-top: 90px;
}

.page-card__main-photo {
  position: absolute;
  top: -90px;
  right: 0;
}

.page-card__pros {
  margin-top: 140px;
}

.page-card__pros-items {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page-card__pros-item {
  position: relative;
  width: 25%;
  padding-right: 40px;
  padding-left: 110px;
}

.page-card__pros-item-num {
  font-size: 74px;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
  color: var( --red );
}

.page-card__pros-item-title {
  font-weight: 400;
}

.page-card__pros-item-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 11px;
  color: rgba(31, 31, 31, .4);
}

/*
 * Page - Head
 */



.page-head__main-container {
  position: relative;
  min-height: 665px;
  padding: 90px 120px;
  border-radius: 10px;
  background-color: var( --bg_grey );
}

.page-head__main-tag {
  margin-bottom: 10px;
}

.page-head__main-title {
  max-width: 480px;
}

.page-head__main-container::before {
  position: absolute;
  top: 80px;
  right: -36px;
  display: block;
  width: 791px;
  height: 205px;
  content: '';
  background: transparent url('../images/page_head_main_bg.png') center no-repeat;
}

.page-head__main-photo {
  position: absolute;
  z-index: 3;
  right: 133px;
  bottom: 0;
}

.page-head__ask {
  margin-top: 100px;
}

.page-head__ask-container {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
}

.page-head__ask-left {
  width: 45%;
}

.page-head__ask-right {
  position: relative;
  width: 40%;
  text-align: center;
}

.page-head__ask-right::before {
  position: absolute;
  top: calc(50% - 8px);
  left: -24px;
  display: block;
  content: '';
  width: 24px;
  height: 16px;
  background: transparent url('../images/icons/arrow_right_red_24x16.png') center no-repeat;
  background-size: contain;
}

.page-head__ask-readmore {
  margin-top: 70px;
}

.page-head__ask-readmore-btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 390px;
  height: 73px;
  border-radius: 37px;
}

.page-head__blog {
  margin-top: 110px;
}

/*
 * Page - Question
 */

.page-questions__list {
  margin-top: 110px;
}

.page-questions__list-container {
  padding: 70px 95px;
  border-radius: 10px;
  background-color: var( --bg_grey );
}

.page-questions__list-item {
  position: relative;
  padding-top: 90px;
  padding-bottom: 70px;
  border-top: 1px solid #d0daef;
}

.page-questions__list-item:first-child {
  border-top: none;
}

.page-questions__list-item-next {
  font-size: 12px;
  line-height: 1;
  position: absolute;
  top: -7px;
  left: 0;
  padding-right: 20px;
  color: #d0daef;
  background-color: var( --bg_grey );
}

.page-questions__list-item-question,
.page-questions__list-item-answer {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.page-questions__list-item-info {
  width: 97px;
  margin-right: 50px;
}

.page-questions__list-item-photo-image {
  width: 97px;
  height: 97px;
  object-fit: cover;
  border: 1px solid #d0daef;
  border-radius: 50%;
  background-color: var( --white );
}

.page-questions__list-item-name {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 10px;
  text-align: center;
  color: #d0daef;
}

.page-questions__list-item-content {
  width: 800px;
  padding: 45px 70px 30px 110px;
  border: 1px solid #d0daef;
  border-radius: 72px;
  background-color: var( --white );
}

.page-questions__list-item-date {
  font-size: 13px;
  font-weight: 400;
  position: relative;
  display: inline-block;
  margin-top: 25px;
  padding-left: 25px;
  vertical-align: top;
  color: #d0daef;
}

.page-questions__list-item-date::before {
  position: absolute;
  top: calc(50% - 7px);
  left: 0;
  content: '';
  width: 14px;
  height: 14px;
  background: transparent url('../images/icons/clock_gray_14x14.png') center no-repeat;
  background-size: contain;
}

.page-questions__list-item-answer {
  justify-content: flex-end;
  margin-top: 45px;
}

.page-questions__list-item-content_answer {
  text-align: right;
}

.page-questions__list-item-info_answer {
  margin-right: 0;
  margin-left: 50px;
}

/*
 * Page - Contacts
 */



.page-contacts__container {
  position: relative;
}

.page-contacts__left {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 50%;
}

.page-contacts__title {
  width: 100%;
}

.page-contacts__info {
  font-size: 16px;
  line-height: 1.3;
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  color: rgba(90, 90, 90, .4);

  .ya-taxi-widget {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.page-contacts__items {
  width: 60%;
}

.page-contacts__item {
  position: relative;
  margin-bottom: 17px;
  padding-left: 36px;
}

.page-contacts__item:last-child {
  margin-bottom: 0;
}

.page-contacts__item-icon {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  transform: translateY( -50% );
  text-align: center;

  .page-contacts__item-icon-image {
    &.zen {
      height: 17px;
    }
  }
}

.page-contacts__item-text {
  font-size: 16px;
  line-height: 1.3;
}

.page-contacts__schedule {
  position: relative;
  width: 40%;
  margin-top: -7px;
}

.page-contacts__schedule::before {
  position: absolute;
  top: 7px;
  left: -33px;
  content: '';
  width: 17px;
  height: 17px;
  background: transparent url('../images/icons/clock_red_17x17.png') center no-repeat;
  background-size: contain;
}

.page-contacts__right {
  position: absolute;
  z-index: 1;
  top: -115px;
  left: calc(50% - 50px);
  width: 1016px;
  height: 620px;
  background: transparent url('../images/macbook_big.png') center no-repeat;
  background-size: contain;
}

.page-contacts__map iframe[src*='widgets.2gis.com'] {
  position: absolute;
  top: 42px;
  left: 140px;
  width: 788px;
  height: 495px;
}

.page-card__main-title {
  width: 55%;
}

.page-contacts__form {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin-top: 35px;
  padding: 55px;
  color: var( --white );
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: var( --red );
}

.page-contacts__form-left {
  width: 260px;
}

.page-contacts__form-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 25px;
}

.page-contacts__form-right {
  width: calc(100% - 330px);
}

.page-contacts__form-row {
  justify-content: flex-start;
}

.page-contacts__form-field {
  width: 33%;
  margin-right: 6%;
}

.page-contacts__form-actions {
  width: 22%;
}

/*
 * Page - Price
 */

.page-price__list {
  margin-top: 100px;
}

.page-price__list-container {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
}

.page-price__list-categories {
  width: 27%;
}

.page-price__list-category {
  padding: 20px 0;
  border-bottom: 1px solid #eaeef5;
}

.page-price__list-category-btn {
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  display: block;
  width: 100%;
  color: #000;
}

.page-price__list-category-btn.active {
  color: var( --red );
}

.page-price__list-category-btn::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 0;
  content: '';
  width: 17px;
  height: 11px;
  background: transparent url('../images/icons/arrow_right_gray_17x11.png') center no-repeat;
  background-size: contain;
}

.page-price__list-category-btn.active::after {
  background-image: url('../images/icons/arrow_right_red_17x11.png');
}

.page-price__list-subcategories {
  display: none;
  padding: 40px 0 20px 40px;
}

.page-price__list-subcategories.active {
  display: block;
}

.page-price__list-subcategory {
  margin-bottom: 20px;
}

.page-price__list-subcategory:last-child {
  margin-bottom: 0;
}

.page-price__list-subcategory-btn {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  color: #000;

  &:hover {
    text-decoration: underline;
    color: var( --red );
  }
}

.page-price__list-subcategory-btn.active {
  color: var( --red );
}

.page-price__list-prices {
  width: 60%;
}

.page-price__list-prices-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-radius: 10px;
}

.page-price__list-prices-item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background-color: #d3d7df;
}

.page-price__list-prices-title {
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 3;
  max-width: 70%;
  padding: 0 50px;
  hyphens: auto;
  background-color: var( --white );
}

.page-price__list-prices-value {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  z-index: 3;
  padding: 0 50px;
  white-space: nowrap;
  background-color: var( --white );

  .price_small {
    font-size: 16px;
  }
}

.page-price__list-prices-item.odd {
  background-color: var( --bg_grey );
}

.page-price__list-prices-item.odd .page-price__list-prices-title {
  background-color: var( --bg_grey );
}

.page-price__list-prices-item.odd .page-price__list-prices-value {
  background-color: var( --bg_grey );
}

.infowindow {
  color: #000;
}

.page-blog__container,
.general_content {
  ul,
  ol,
  p,
  table,
  h5,
  h6,
  img {
    margin-bottom: 20px;
  }

  ul {
    margin-left: 40px;
    list-style-type: disc;
  }

  ol {
    margin-left: 40px;
    list-style-type: decimal;
  }

  table {
    tr {
      td {
        padding: 5px 10px;
        border: 1px solid #999;
      }
    }
  }

  h1 {
    margin-bottom: 32px;

    &:not( .page_title ) {
      margin-bottom: 60px;
    }
  }

  h2 {
    margin-bottom: 50px;
  }

  h3 {
    margin-bottom: 40px;
  }

  h4 {
    margin-bottom: 30px;
  }

  .page_img {
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 62px;
  }

  .article_content {
    width: 86%;

    &.publications_content {
      font-size: 20px;
    }
  }
}

.mobile_head_doctor {
  display: none;
}

.head_link_header {
  color: #252525;

  &:hover {
    text-decoration: underline;
    color: var( --red );
  }
}

.breadcrumbs {
  line-height: 1.4;
  margin-top: 120px;

  a {
    color: #000;

    &:hover {
      text-decoration: underline;
      color: var( --red );
    }
  }

  .aioseo-breadcrumb-separator {
    &::before,
    &::after {
      content: '\00a0\00a0\00a0';
    }
  }
}

button {
  &[disabled] {
    cursor: not-allowed;
  }
}

.list_style_disk {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #e32026;
}

.treatment_building_img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 670px;
  transform: translateY( 30% );
}

.page-about__achievments-photo-image {
  max-width: 607px;
  max-height: 359px;
}

.page-head__main-photo-image {
  max-height: 772px;
}

.page-head__ask-photo-image {
  max-height: 513px;
}

.page-doctors__main-photo {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate( -50%, -50% );

  .page-doctors__main-photo-image {
    max-height: 500px;
  }
}

.page-doctors__main-container {
  position: relative;
}

.privacy_link {
  transition: .15s;
  text-decoration: underline;
  color: #000;
  align-self: center;

  &.white {
    color: var( --white );

    &:hover {
      color: #ccc;
    }
  }

  &:hover {
    color: var( --red );
  }
}

.get_program {
  display: flex;
  align-items: center;
  margin-top: 52px;

  .btn {
    width: auto;
    margin-right: 46px;
    padding-right: 26px;
    padding-left: 26px;
  }

  .decline_program {
    font-size: 14px;
    font-weight: normal;
    text-decoration: underline;
    letter-spacing: 1.68px;
    text-transform: uppercase;
    color: var( --red );
  }
}

.scroll_down_block {
  position: fixed;
  z-index: 5;
  top: 50%;
  left: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 28px;
  padding: 38px 0 8px;
  transform: translateY( -50% );
  border-radius: 15px;
  background: var( --white );

  .scroll_down_text {
    font-size: 12px;
    line-height: 1;
    width: 69px;
    margin-right: 2px;
    margin-bottom: 43px;
    transform: rotate( -90deg );
    color: #a6a6a6;
  }
}

.error_404 {
  .container {
    width: 1100px;

    .page_title {
      display: none;
    }

    .error_img {
      display: block;
      margin: 0 auto 70px;
    }

    .error_breadcrumbs {
      font-size: 16px;
      font-weight: normal;
      line-height: 1.28;
      display: flex;
      align-items: center;
      justify-content: center;

      .descr {
        display: flex;
        align-items: center;
        margin-right: 36px;
        color: #c6c6c6;

        &::before,
        &::after {
          display: block;
          content: '';
        }

        &::before {
          width: 490px;
          height: 1px;
          margin-right: 40px;
          background-color: var( --red );
        }

        &::after {
          width: 148px;
          height: 2px;
          margin-left: 40px;
          opacity: .4;
          background-color: #7b7b7b;
        }
      }

      .go_to_main {
        text-decoration: underline;
        color: var( --red );

        &:hover {
          text-decoration: none;
        }
      }
    }
  }
}

.show_nav,
.mobile_bg,
.close_nav,
.page-home__mobile_services,
.make_appointment,
.page-types .page-home__mobile_services {
  display: none;
}

.header_tagline_programme {
  font-size: 22px;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: #afafaf;
}

.no_publications {
  margin-top: 20px;
}

button.page-home__diag-showall-link,
button.page__showall-link {
  font: inherit;
  font-weight: 400;
}

.page-home__diag-title .home_taxonomy_link {
  transition: .15s;
  color: #000;

  &:hover {
    text-decoration: underline;
    color: var( --red );
  }
}

.grecaptcha-badge {
  z-index: 10;
}

/*-----------------------------------------------------
    REFRESHING BLOCKS
-----------------------------------------------------*/

.can-be-refreshed {
  position: relative;

  &::before {
    font-size: 18px;
    font-weight: 400;
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    content: '';
    transition: .3s;
    transform: translate( -50%, -50% );
    text-align: center;
    opacity: 0;
    background-color: rgba( 255, 255, 255, .7 );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35px;
  }

  &.modal__form {
    &::before {
      border-radius: 10px;
    }
  }

  &.extra_loader_height {
    &::before {
      width: 105%;
      height: 115%;
      padding-right: 2.5%;
      padding-left: 2.5%;
    }
  }

  &.red {
    &::before {
      background-color: rgba( 228, 34, 40, .7 );
    }
  }

  &.lighter_red {
    &::before {
      background-color: rgba( 229, 46, 49, .7 );
    }
  }

  &.custom_z_index {
    &::before {
      z-index: 1;
    }
  }

  &.refreshing {
    &::before {
      visibility: visible;
      opacity: 1;
      background-image: url('data:image/svg+xml,\
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="-20 -20 40 40">\
                <style> /* ...YO DAWG... */ circle { animation: 4s a infinite linear, 3s o infinite linear; }\
                    @keyframes a {from{stroke-dasharray:100 0}50%25{stroke-dasharray:0 100}to{stroke-dasharray:100 0}}\
                    @keyframes o {from{stroke-dashoffset:75}to{stroke-dashoffset:375}}\
                <%2Fstyle><circle r="15.9154943092" stroke-width="7" fill="none" stroke="%23e52e31" />\
            </svg>');
    }

    &.red {
      &::before {
        background-image: url('data:image/svg+xml,\
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="-20 -20 40 40">\
                    <style> /* ...YO DAWG... */ circle { animation: 4s a infinite linear, 3s o infinite linear; }\
                        @keyframes a {from{stroke-dasharray:100 0}50%25{stroke-dasharray:0 100}to{stroke-dasharray:100 0}}\
                        @keyframes o {from{stroke-dashoffset:75}to{stroke-dashoffset:375}}\
                    <%2Fstyle><circle r="15.9154943092" stroke-width="7" fill="none" stroke="%23ffffff" />\
                </svg>');
      }
    }
  }
}

/*-----------------------------------------------------
    TEST
-----------------------------------------------------*/

.saiko-test,
.saiko-test *,
.saiko-test *::before,
.saiko-test *::after {
  box-sizing: border-box;
}

.saiko-test {
  max-width: 930px;
  margin: 0 auto;
}

.saiko-test__intro {
  position: relative;
  display: none;
  min-height: 600px;
  text-align: center;
  background: transparent url('/wp-content/themes/saiko/images/test/saiko_test_intro_bg.png') left 17px top 68px no-repeat;
}

.saiko-test__title {
  font-size: 63px;
  font-weight: 500;
  line-height: 74px;
}

.saiko-test__text {
  font-size: 24px;
  line-height: 28px;
  margin-top: 40px;
}

.saiko-test__subtitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  margin-top: 40px;
  color: #e42228;
}

.saiko-test__subtext {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 10px;
  color: #ddd;
}

.saiko-test__start {
  margin-top: 40px;
}

.saiko-test__start-btn {
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  width: 236px;
  height: 72px;
  padding: 0;
  cursor: pointer;
  transition: background-color .15s, color .15s;
  text-align: center;
  text-transform: uppercase;
  color: #e42228;
  border: 1px solid #e42228;
  border-radius: 36px;
  background: none;
}

.saiko-test__start-btn:hover {
  color: var( --white );
  background-color: #e42228;
}

.saiko-test__test {
  display: none;
}

.saiko-test__step {
  display: none;
  align-items: flex-start;
  flex-flow: row wrap;
  justify-content: space-between;
  min-height: 420px;
  padding: 70px 0 0;
}

.saiko-test__step.active {
  display: flex;
}

.saiko-test__step-image {
  width: 234px;
  height: 372px;
}

.saiko-test__step-image-element {
  max-width: 100%;
  max-height: 100%;
}

.saiko-test__step-content {
  width: calc(100% - 262px);
}

.saiko-test__step-question {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.saiko-test__step-question-num {
  color: #e42228;
}

.saiko-test__step-options {
  margin-top: 30px;
}

.saiko-test__step-option {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  position: relative;
  display: block;
  margin-top: 20px;
  padding-left: 43px;
  cursor: pointer;
  color: #000;
  ;
}

.saiko-test__step-option:first-child {
  margin-top: 0;
}

.saiko-test__step-option::before {
  position: absolute;
  top: calc(50% - 14px);
  left: 0;
  width: 28px;
  height: 28px;
  content: '';
  border: 1px solid #e42228;
  border-radius: 5px;
}

.saiko-test__step-option::after {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 0;
  height: 0;
  content: '';
  transition: left .15s, top .15s, width .15s, height .15s;
  border-radius: 3px;
  background-color: #e42228;
}

.saiko-test__step-option.checked::after {
  top: calc( 50% - 6px );
  left: 8px;
  width: 12px;
  height: 12px;
}

.saiko-test__step-option-input {
  display: none;
}

.saiko-test__progress {
  position: relative;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
  padding: 0 70px 70px;
}

.saiko-test__progress-bar {
  position: absolute;
  top: 7px;
  left: 190px;
  width: calc(100% - 380px);
  height: 7px;
  border-radius: 3px;
  background-color: var( --bg_grey );
}

.saiko-test__progress-bar-active {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: width .15s;
  border-radius: 3px;
  background-color: #e42228;
}

.saiko-test__progress-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #ddd;
}

.saiko-test__progress-btn {
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  padding: 0;
  cursor: pointer;
  transition: color .15s;
  text-transform: uppercase;
  color: #e42228;
  border: none;
  background: none;;
}

.saiko-test__progress-btn.disabled {
  color: #ddd;
}

.saiko-test__result {
  display: none;
  text-align: center;
}

.saiko-test__result-title {
  font-size: 63px;
  font-weight: 500;
  line-height: 74px;
}

.saiko-test__result-text {
  font-size: 24px;
  line-height: 28px;
  margin-top: 40px;
}

.saiko-test__result-form {
  display: none;
  max-width: 930px;
  margin: 30px auto 0;
}

@media (max-width: 930px) {
  .saiko-test__step-image {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .saiko-test__step-content {
    width: 100%;
    margin-top: 30px;
  }

  .saiko-test__step {
    padding: 20px 0 0;
  }

  .saiko-test__progress {
    padding: 0 20px 20px;
  }

  .saiko-test__progress-bar {
    left: 120px;
    width: calc(100% - 240px);
  }
}

.page__main-order-text,
.page-home__services-item-text,
.page-home__main-text {
  font-size: 16px;
}

@media( max-width: 520px ) {
  .saiko-test__title,
  .saiko-test__result-title {
    font-size: 40px;
    line-height: 1.1;
  }
}

.page__blog-title {
  color: var( --white );
}

.page__blog-readmore {
  .link {
    color: var( --white );
  }
}

.page-home__about-title {
  font-size: 62px;
}

.copyright_marketing {
  display: flex;
  align-items: center;
  margin-top: 20px;

  .copyright_marketing-link {
    position: relative;
    display: block;
    width: 60px;
    height: 16px;
    margin-left: 4px;

    &::before,
    &::after {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      display: block;
      visibility: hidden;
      content: '';
      transition: .15s;
      opacity: 0;
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: contain;
    }

    &::before {
      visibility: visible;
      opacity: 1;
      background-image: url( '../images/astra_logo_white.png' );
    }

    &::after {
      background-image: url( '../images/astra_logo_red.png' );
    }

    &:hover {
      &::before {
        visibility: hidden;
        opacity: 0;
      }

      &::after {
        visibility: visible;
        opacity: 1;
      }
    }
  }
}

form {
  &.opposite_colors {
    input {
      &:-webkit-autofill {
        -webkit-text-fill-color: #000;
        -webkit-box-shadow: inset 0 0 0 9999px var( --white );
                box-shadow: inset 0 0 0 9999px var( --white );
      }
    }
  }

  input {
    &:-webkit-autofill {
      -webkit-text-fill-color: var( --white );
      -webkit-box-shadow: inset 0 0 0 9999px var( --red );
              box-shadow: inset 0 0 0 9999px var( --red );
    }
  }
}

.page-programme__info-list-item {
  display: flex;
  flex-direction: column;
}

.page-programme__info-list-item-link_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 15px;
  line-height: 1;
}

.page-programme__info-list-item-appointment-btn {
  font-size: 14px;
  padding-right: 20px;
}

/* doctors slider */
.page-programme__doctors-title.has-divider {
  margin-bottom: 33px;
  padding-bottom: 33px;
}

@media( min-width: 1920px ) {
  .page-programme__doctors-item {
    width: 70%;
  }
}

.page__blog-item-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  transition: .15s;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: #000;
}

.page__blog-item-link:hover {
  color: var( --red );
}

.complex_services_link {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.18;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 366px;
  height: 105px;
  padding-right: 63px;
  padding-left: 24px;
  transition: .15s;
  text-transform: uppercase;
  color: var( --red );
  border-radius: 9px;
  background-color: var( --bg_grey );

  .percentage_svg_wrapper {
    display: flex;
    align-items: center;
    flex-basis: 46px;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
    height: 46px;
    margin-right: 17px;
    border-radius: 50%;
    background-color: var( --white );

    .percentage_svg {
      path {
        transition: .15s;
      }
    }
  }

  &:hover {
    color: #000;
    box-shadow: rgba( 33, 33, 33, .15 ) 0 0 7px;

    .percentage_svg_wrapper {
      .percentage_svg {
        path {
          fill: #000;
        }
      }
    }
  }
}

.page-complex {
  .page-blog__container {
    .page_title {
      margin-bottom: 116px;
    }

    #accordionjs.accordionjs {
      margin: 0;
      list-style-type: none;

      .acc_section {
        z-index: 1;

        &.acc_active {
          .acc_head {
            .acc_head_svg {
              transform: rotate( 180deg );
            }
          }
        }

        &:last-child {
          border-bottom: 1px solid #eaeaea;
        }

        .acc_head {
          font-size: 36px;
          font-weight: 500;
          line-height: 1;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding-top: 43px;
          padding-bottom: 43px;
          cursor: pointer;
          transition: .15s;
          hyphens: auto;
          border-top: 1px solid #eaeaea;

          .acc_head_svg {
            flex-basis: 30px;
            flex-grow: 0;
            flex-shrink: 0;
          }

          &:hover {
            color: var( --red );
          }
        }
      }
    }
  }
}

.page-programme__reviews {
  margin-top: 120px;

  .page-programme__reviews-container {
    display: grid;
    grid-template-columns: 1098px 342px;
    column-gap: 60px;

    .page-programme__reviews-title {
      font-size: 58px;
      line-height: normal;
    }

    .page-programme__reviews-items {
      display: flex;
      flex-direction: column;
      row-gap: 20px;

      .review_wrapper {
        padding: 35px 22px 35px 47px;
        border-radius: 9px;
        background-color: var( --bg_grey );

        .review_data {
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          margin-bottom: 29px;

          .review_score {
            font-size: 48px;
            font-weight: 500;
            line-height: 1;
          }

          .review_icon_wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background-color: var( --white );
          }
        }

        .review_title {
          font-size: 21px;
          font-weight: 500;
          line-height: 1;
          margin-bottom: 6px;
          letter-spacing: .02em;
          color: #9d9d9d;
        }

        .review_link {
          font-size: 18px;
          font-weight: 500;
          line-height: 1;
          text-decoration: underline;
          letter-spacing: .02em;
          color: var( --red );

          &:hover {
            text-decoration: none;
          }
        }
      }
    }

    .swiper_controls {
      top: auto;
      bottom: 0;
      left: 30px;
      width: auto;
      height: auto;
      margin-top: 0;
      column-gap: 20px;

      .swiper-pagination {
        font-size: 36px;
        font-weight: 500;
        line-height: normal;
        column-gap: 4px;
        position: static;
      }

      .swiper_btns {
        margin: 0;
        position: relative;

        &.swiper-button-prev {
          left: 0;
        }

        &.swiper-button-next {
          right: 0;
        }

        &::before {
          content: '';
          display: block;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate( -50%, -50% );
          width: 200%;
          height: 300%;
        }
      }
    }
  }
}

.page-programme__reviews-carousel {
  padding-bottom: 82px;
}

.page-programme__reviews-image-container {
  border-radius: 10px;
  border: 1px solid #c7c7c7;
  overflow: hidden;
  height: 330px;
}

.page-programme__reviews-image {
  max-width: none;
  width: 100%;
  object-fit: contain;
}


@media ( min-width: 1200px ) and ( max-width: 1919px ) {
  .header_logo-image {
    width: 43px;
    height: 43px;
  }

  .header__title {
    font-size: 12px;
    width: 140px;
    margin-left: 0;
    padding-left: 20px;
  }

  .header__order-btn {
    width: 140px;
  }

  .btn {
    font-size: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header__container {
    position: relative;
    width: 1128px;
  }

  .header__menu-item {
    position: static;
    margin-right: 15px;
    margin-left: 15px;
  }

  .header__submenu {
    padding-top: 30px;
    top: 33px;
    left: 0;
    transform: translateY( 10px );

    &.header__submenu-single {
      left: 50%;
      transform: translateX( -50% ) translateY( 10px );
    }
  }

  .header__menu-item_submenu:hover .header__submenu {
    transform: translateY( 0 );
  }

  .header__menu-item_submenu:hover .header__submenu.header__submenu-single {
    transform: translateX( -50% ) translateY( 0 );
  }

  .header_logo {
    flex-wrap: wrap;
    width: 155px;
  }

  .header {
    padding: 20px 0;
  }

  .header__contacts-phone {
    font-size: 20px;
  }

  .header__contacts-email {
    font-size: 14px;
  }

  .page__socials {
    right: 20px;
  }

  .scroll_down_block {
    left: 20px;
  }

  .container {
    max-width: 1126px;
  }

  .breadcrumbs {
    margin-top: 98px;
  }

  .page-home__diag-item,
  .page-doctors__list-item {
    width: 30%;
    height: 200px;
  }

  .page-home__diag-item-subtitle {
    font-size: 14px;
    height: 36px;
  }

  .page-home__diag-item-order {
    margin-top: 37px;
  }

  .page-home__diag-item-left,
  .page-doctors__list-item-left {
    width: 130px;
  }

  .page-home__diag-item-icon,
  .page-doctors__list-item-icon {
    width: 80px;
    height: 80px;
  }

  .page-home__diag-item-right,
  .page-doctors__list-item-right {
    width: calc(100% - 140px);
  }

  .page-home__diag-item-title,
  .page-doctors__list-item-title {
    font-size: 24px;
  }

  h3.has-divider {
    z-index: 3;
  }

  .page-home__services-item_horizontal .page-home__services-item-text {
    position: relative;
    z-index: 3;
  }

  .page-home__services-item_horizontal .page-home__services-item-thumbnail {
    width: 410px;
  }

  .page-home__services-item_vertical .page-home__services-item-thumbnail {
    width: 300px;
  }

  .page-home__services-item_image-left .page-home__services-item-thumbnail {
    width: 100px;
  }

  .page-home__services-item_image-left {
    padding-left: 120px;

    &.services-item_no_thumbnail {
      padding-left: 60px;
    }
  }

  .page-home__services-item_image-right .page-home__services-item-text {
    position: relative;
    z-index: 3;
  }

  .page-home__services-item_image-right .page-home__services-item-thumbnail {
    width: 260px;
  }

  h3 {
    line-height: 1;
  }

  .page-home__about-text {
    max-width: none;
  }

  .page-home__about-content {
    width: 45%;
    padding-right: 30px;
  }

  .page-home__about-image {
    top: 50%;
    width: 55%;
    transform: translateY( -50% );
  }

  .page-home__about-note {
    bottom: 80%;
    left: 30%;
  }

  .page__blog-item-title {
    font-size: 30px;
    height: 64px;
  }

  .page__blog-item-tag {
    font-size: 12px;
  }

  .page-blog-archive__category-btn::after {
    bottom: -36px;
  }

  .footer__order-title {
    font-size: 34px;
    width: 200px;
  }

  .footer__order-form {
    width: calc( 100% - 200px );
  }

  .form__text-input {
    width: 100%;
    height: 41px;
  }

  .modal {
    width: 1200px;
  }

  .footer__order {
    padding: 60px 60px 70px;
  }

  .footer__order-form-field {
    width: 25%;
  }

  .footer__map {
    height: 445px;

    iframe[src*='widgets.2gis.com'] {
      top: 28px;
      left: 107px;
      width: 552px;
      height: 348px;
    }
  }

  .footer__contacts {
    font-size: 14px;
    width: 250px;
    margin-left: 3%;
  }

  .footer__info-text {
    font-size: 14px;
  }

  .page__main-preview {
    width: 500px;
    height: 387px;
    background-size: contain;
  }

  .page__main-preview-video {
    width: 400px;
    height: 300px;
    transform: rotateZ( -4deg ) translateY( 46px ) translateX( 54px );
  }

  .page__list-item {
    padding: 20px 10px 20px 90px;
  }

  .page__list-item-num {
    left: 40px;
  }

  .page__vote-title {
    max-width: none;
  }

  .page__vote {
    background-size: cover;
  }

  .treatment_building_img {
    height: 520px;
  }

  .page-about__achievments-left .img_descr {
    right: 20%;
    bottom: 260px;
  }

  .page__gallery-item-bg {
    opacity: .2;
  }

  .slick-slide img {
    width: 92%;
  }

  .page__main-text {
    max-width: 70%;
  }

  .page-about__achievments-list {
    position: relative;
    z-index: 1;
  }

  .form__field_half {
    width: calc( ( 100% - 15px ) / 2);
  }

  .page__main-right {
    padding-left: 120px;
  }

  .page__main-left {
    padding-right: 120px;
  }

  .page-doctors__main-photo {
    top: 200px;
    left: 50%;
    width: 200px;
  }

  .page-doctors__main-text.page__main-text.general_content {
    max-width: none;
  }

  .page-programme__doctors {
    .swiper_controls {
      left: 60px;
      width: 150px;
      margin-top: 30px;

      .swiper-pagination {
        font-size: 40px;
      }

      .swiper_btns {
        margin: 0;
      }
    }
  }

  .page-programme__doctors-item-photo {
    width: 130px;
    max-height: 230px;
  }

  .page-programme__info-item .list_image {
    max-width: 180px;
  }

  .page-programme__info-item:not( .wide_block ) .list_image {
    top: 180px;
  }

  .page-programme__info-list-item::after {
    left: 150px;
  }

  .full_width {
    .page-programme__info-list-item.page__list-item {
      padding-left: 60px;
    }

    .page-programme__info-list-item::after {
      left: 60px;
    }

    .page__list-item::before {
      left: 0;
    }
  }

  .page-programme__info-list-item.page__list-item {
    padding-left: 150px;
  }

  .page-about__history {
    margin-top: 80px;
  }

  .page-about__history-item.active::before {
    width: 150px;
  }

  .page-about__history-item::before {
    right: 200px;
  }

  .page-about__history-container {
    padding-top: 50px;
    padding-bottom: 30px;
    padding-left: 20px;
  }

  .page-about__history-left {
    width: 50%;
  }

  .page-about__history-right {
    width: 50%;
    margin-left: 0;
    padding-left: 20px;
  }

  .page-about__achievments-item.page__list-item.page__list-item_num {
    padding-left: 100px;
  }

  .page-about__achievments-photo {
    left: -30px;
  }

  .page__media-item-image {
    width: 100%;
    height: 250px;
  }

  .page__media-item-title {
    font-size: 20px;
    width: 80%;
  }

  .page__media-item-photo {
    margin-bottom: 20px;
  }

  .page-about__history-photo {
    right: -30px;
  }

  .page-price__main-text.page__main-text.general_content {
    max-width: none;
  }

  .page-price__main-left.page__main-left {
    padding-right: 60px;
  }

  .page-price__main-right.page__main-right {
    padding-left: 60px;
  }

  .page-price__list-prices {
    width: 70%;
  }

  .page-price__list-prices-title {
    max-width: 65%;
  }

  .page-card__main-photo {
    width: 50%;
  }

  .page-card__main-order-form {
    width: 50%;
    max-width: none;
  }

  .page-card__main-text {
    width: 50%;
  }

  h1.page-card__main-title.page__main-title.has-divider {
    width: 60%;
  }

  .page-card__pros-item {
    width: 50%;
  }

  .page-card__pros-item:first-child {
    margin-bottom: 50px;
  }

  .page-contacts__schedule {
    width: 30%;
  }

  .page-contacts__map iframe[src*='widgets.2gis.com'] {
    top: 53px;
    left: 104px;
    width: 590px;
    height: 372px;
  }

  .page-contacts__right {
    top: 0;
    width: 760px;
    height: 510px;
  }

  .page-head__main-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-head__main-photo {
    right: 0;
    width: 50%;
    text-align: center;
  }

  .page-head__main-text {
    width: 50%;
  }

  .page-head__main-title {
    width: 50%;
    max-width: none;
  }

  .page-head__ask-readmore-btn {
    font-size: 14px;
  }

  .page-programme__programmes-item {
    width: calc( ( 100% - 100px ) / 3);
    margin-right: 50px;
    margin-bottom: 50px;
  }

  .page-programme__programmes-item-title {
    font-size: 28px;
    min-height: 115px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .page-questions__main-left {
    padding-right: 50px;
  }

  .page-questions__main-right {
    padding-left: 50px;
  }

  .page-questions__main-text {
    max-width: none;
  }

  .page-questions__list-item-content {
    width: 75%;
    padding-left: 60px;
  }

  .footer__contacts-item {
    padding-left: 30px;
  }

  .page {
    margin-top: 70px;
  }

  .page-home__main .page-home__main-container::after {
    width: 670px;
    height: 600px;
  }

  .page__media-item {
    width: calc( ( 100% - 100px ) / 3);
    margin-right: 50px;
  }

  .page-home__about {
    margin-top: 250px;
  }

  .page-price__list {
    margin-top: 70px;
  }

  .get_program {
    align-items: center;
    justify-content: space-between;

    .btn {
      margin-right: 0;
      padding-right: 16px;
      padding-left: 16px;
    }

    .decline_program {
      font-size: 13px;
    }
  }

  .page-home__main {
    margin-top: 60px;
  }

  .page-about__achievments {
    margin-bottom: 230px;
  }

  .page-programme__services-item-title {
    max-width: 75%;
  }

  .page-programme__services-container .price_block {
    width: 100%;
  }

  .page-programme__services-container .price_block .full_price {
    margin-left: 50px;
  }

  .page-programme__services-container .price_block .discount_price {
    margin-left: auto;
  }

  .doctor-thumbs {
    width: 750px;
    margin-right: 70px;

    .doctor_thumb_item {
      padding: 25px;

      .doctor_thumb_name {
        font-size: 14px;
      }

      .doctor_thumb_photo {
        right: 10px;

        img {
          object-position: right center;
        }
      }
    }
  }

  .page-programme__doctors-container {
    padding: 50px 60px 70px;
    background-position: 550px bottom;
  }

  .page-programme__doctors-item {
    width: 70%;

    .doctor_photo {
      right: 30px;
    }
  }

  .page-programme__reviews {
    .page-programme__reviews-container {
      grid-template-columns: 724px 342px;
    }
  }
}

@media ( max-width: 1330px ) {
  .scroll_down_block {
    left: 7px;
  }

  .page__socials {
    right: 7px;
  }

  .page-home__services-item_horizontal .page-home__services-item-thumbnail {
    right: 0;
    width: 380px;
  }

  .page-home__services-item_image-right .page-home__services-item-thumbnail {
    right: 0;
    width: 210px;
  }

  .page-home__about {
    margin-top: 200px;
  }

  .page-home__services-item_vertical .page-home__services-item-thumbnail {
    left: -60px;
  }
}

@media ( max-width: 1220px ) {
  .scroll_down_block {
    left: 0;
  }

  .page__socials {
    right: 0;
  }
}

@media ( max-width: 1199px ) {
  /* front page */
  .laptop_tagline,
  .header__title {
    display: none;
  }

  .header_logo-image {
    width: 32px;
    height: 32px;
  }

  .header_logo-text {
    font-size: 16px;
    margin-left: 12px;
  }

  .header {
    z-index: 1002;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  body {
    padding-top: 86px;
  }

  .header__contacts {
    margin-right: 10px;
  }

  .header__contacts-phone {
    font-size: 18px;
  }

  .header__contacts-email {
    display: none;
  }

  .show_nav {
    display: block;
  }

  .header__order-btn {
    display: none;
  }

  .header__container {
    width: 690px;
  }

  .header__menu {
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    visibility: hidden;
    overflow-y: auto;
    align-items: start;
    flex-direction: column;
    justify-content: start;
    width: 360px;
    height: 100vh;
    padding: 25px 40px;
    transition: .3s;
    transform: translateX( 100% );
    opacity: 0;
    background-color: var( --white );

    &::-webkit-scrollbar {
      display: none;
    }

    &.visible {
      visibility: visible;
      transform: translateX( 0 );
      opacity: 1;
    }

    .header__submenu-col {
      width: 280px;
    }

    .header__menu-item {
      font-size: 18px;
      font-weight: 400;
      width: 100%;
      margin: 0;

      &:not( :last-child ) {
        margin-bottom: 10px;
      }

      &.header__menu-item_submenu {
        &.arrow_rotate {
          &::after {
            transform: rotate( 180deg );
          }
        }

        &::after {
          position: absolute;
          top: 3px;
          right: 20px;
          display: inline-block;
          width: 20px;
          height: 20px;
          content: '';
          background: transparent url( '../images/icons/arrow_down.svg' ) center center no-repeat;
          background-size: contain;
        }
      }

      .header__submenu {
        position: static;
        z-index: 1;
        display: none;
        visibility: visible;
        padding-top: 0;
        transform: none;
        opacity: 1;

        .header__submenu-container {
          flex-direction: column;
          box-shadow: none;
        }
      }

      &:hover {
        text-decoration: none;
      }
    }

    .close_nav {
      position: absolute;
      z-index: 1;
      top: 30px;
      right: 30px;
      display: block;
      width: 20px;
      height: 20px;

      &::before {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 200%;
        height: 200%;
        content: '';
        transform: translate( -50%, -50% );
      }
    }

    .header__submenu-col-title {
      font-size: 16px;
      padding: 20px 0 0 20px;
      background-color: transparent;
    }

    .header__submenu-col-items {
      grid-template-columns: 1fr;
      row-gap: 8px;
      padding: 10px 0 0 40px;

      .header__submenu-col-item {
        line-height: 1.2;

        &:not( :last-child ) {
          margin-bottom: 5px;
        }
      }
    }
  }

  .mobile_bg {
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    display: block;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    content: '';
    transition: .3s;
    opacity: 0;
    background-color: rgba( 0, 0, 0, .4 );

    &.visible {
      visibility: visible;
      opacity: 1;
    }
  }

  .header__submenu-col_two-cols {
    width: 100%;
  }

  .header__submenu-col:not(:last-child)::after,
  .page__socials {
    display: none;
  }

  .scroll_down_block {
    display: none !important;
  }

  .page-home__main {
    margin-top: 50px;
    margin-bottom: 115px;
  }

  .container {
    width: 690px;
  }

  .page-home {
    margin-top: 0;
  }

  .page-home__main .page-home__main-container .page-home__main-title {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
  }

  .page-home__main-text {
    line-height: 1.7;
  }

  .page-home__main-action {
    .btn {
      width: auto;
      padding-right: 35px;
      padding-left: 35px;
    }
  }

  .page-home__main .page-home__main-container::after {
    top: 50%;
    right: -10%;
    width: 447px;
    height: 400px;
    transform: translateY( -50% );
  }

  .page-home__diag {
    display: none;
  }

  .page-home__mobile_services {
    display: block;
    padding: 48px 0 15px;
    background-color: var( --bg_grey );

    .container {
      .page-blog-archive__categories {
        position: relative;
        justify-content: space-evenly;
        margin-bottom: 34px;
        padding-bottom: 20px;
        border-bottom: none;

        &::after {
          position: absolute;
          bottom: 0;
          left: 50%;
          display: block;
          width: 100vw;
          height: 1px;
          content: '';
          transform: translateX( -50% );
          background-color: #d1d3d8;
        }

        .page-blog-archive__category {
          margin: 0;

          .page-blog-archive__category-btn {
            font-weight: 500;
            line-height: 1;
            color: #252525;

            &::after {
              bottom: -20px;
            }
          }
        }
      }

      .page-blog-archive__items {
        &.active {
          display: flex;
        }

        .sub_term_link {
          font-size: 21px;
          font-weight: normal;
          line-height: 1.68;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 32%;
          height: 98px;
          margin-bottom: 2%;
          text-align: center;
          color: var( --red );
          border: 1px solid rgba( 173, 173, 173, .4 );
          border-radius: 8px;

          &:not( :nth-child( 3n ) ) {
            margin-right: 2%;
          }

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  .page-home__services {
    margin-top: 38px;

    .page-home__services-container {
      .page-home__services-items {
        display: flex;
        flex-direction: column;

        .page-home__services-item {
          width: 100%;
          height: auto;
          margin: 0 0 38px;
          padding-bottom: 80px;

          &.page-home__services-item_vertical {
            padding-right: 190px;

            .page-home__services-item-thumbnail {
              position: absolute;
              right: -30px;
              bottom: 50%;
              left: auto;
              width: 222px;
              transform: translateY( 50% );
            }
          }

          &.page-home__services-item_horizontal {
            padding-right: 270px;

            .page-home__services-item-text {
              max-width: none;
            }

            .page-home__services-item-thumbnail {
              top: auto;
              right: -280px;
              bottom: 10px;
              width: auto;
              height: 102%;

              .page-home__services-item-image {
                height: 100%;
              }
            }
          }

          &.page-home__services-item_image-left {
            padding-left: 220px;

            &.services-item_no_thumbnail {
              padding-left: 60px;
            }

            .page-home__services-item-thumbnail {
              bottom: -15px;
              width: 170px;
            }
          }

          &.page-home__services-item_image-right {
            padding-right: 295px;

            .page-home__services-item-text {
              max-width: none;
            }

            .page-home__services-item-thumbnail {
              right: 0;
              bottom: 0;
              width: 295px;
            }
          }
        }
      }
    }
  }

  .page-home__about {
    margin-top: 38px;
    background-color: var( --bg_grey );

    .page-home__about-image {
      top: 46px;
      right: 62%;
      left: auto;
      width: 482px;
      height: 431px;
    }

    .page-home__about-note {
      top: 79px;
      right: 73%;
      bottom: auto;
      left: auto;
      padding-left: 0;
      border: none;
    }

    .page-home__about-container {
      margin-top: 68px;
      padding-top: 68px;
      padding-bottom: 49px;

      .page-home__about-content {
        width: 62%;

        .page-home__about-title {
          font-size: 46px;
          line-height: 1.1;
        }

        .page-home__about-readmore {
          margin-top: 46px;
        }
      }
    }
  }

  .page-blog-archive__container {
    .page-blog-archive__categories {
      align-items: start;
      flex-direction: column;

      .page-blog-archive__category {
        &:not( :last-child ) {
          margin-bottom: 10px;
        }

        .page-blog-archive__category-btn {
          &.active {
            transform: translateX( 10px );

            &::after {
              opacity: 1;
            }
          }

          &::after {
            top: 50%;
            left: -25px;
            width: 2px;
            height: 120%;
            transform: translateY( -50% );
            opacity: 0;
          }
        }
      }
    }
  }

  .page-blog-archive__items,
  .page__blog-items {
    .page__blog-item {
      align-items: center;
      width: 100%;
      margin: 0;

      .page__blog-item-readmore {
        .link_arrow {
          text-decoration: underline;
        }
      }
    }
  }

  .page-blog-archive__loadmore.page__showall {
    margin-top: 52px;
  }

  .footer {
    &.footer-top {
      .footer-top__container {
        width: auto;
        margin-right: 10px;
        margin-left: 10px;

        .footer__order {
          flex-direction: column;
          margin-top: 67px;
          padding: 58px 30px 30px;

          .footer__order-title {
            width: 100%;
            margin-bottom: 20px;

            br {
              display: none;
            }
          }

          .footer__order-form {
            width: 100%;

            .form__row {
              &.form__row-treatment {
                .footer__order-form-field,
                .footer__order-form-actions {
                  width: 70%;
                }
              }
              &:not( :last-child ) {
                margin-bottom: 14px;
              }
              .footer__order-form-field {
                width: 48%;
                margin-bottom: 10px;

                .footer__order-form-text-input {
                  width: 100%;
                }
              }
              .footer__order-form-actions {
                width: 48%;
                margin-bottom: 10px;
              }
            }
          }
        }
      }
    }

    &.footer-bottom {
      .footer-bottom__container {
        flex-wrap: wrap;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-top: 70px;
        padding-bottom: 30px;

        .footer__info {
          width: 50%;
          padding-left: 70px;
        }

        .footer__contacts {
          width: 50%;
          margin: 0;
        }

        .footer__map {
          position: relative;
          right: unset;
          bottom: unset;
          width: 751px;
          margin-top: 72px;
          margin-right: auto;
          margin-left: auto;

          iframe[src*='widgets.2gis.com'] {
            top: 33px;
            left: 98px;
            width: 554px;
            height: 348px;
          }
        }
      }
    }
  }

  /* front page - end */

  /* program - start */
  .breadcrumbs {
    font-size: 12px;
    margin-top: 0;
  }

  .page {
    margin-top: 30px;

    &.page-blog,
    &.page-treatment {
      margin-top: 30px;
    }
  }

  .page-doctors {
    .page-doctors__main {
      .page-doctors__main-container {
        .page-doctors__main-left {
          width: 100%;
          padding-right: 0;

          .page-doctors__main-text {
            max-width: none;
          }

          .page-doctors__main-photo {
            top: 100%;
            right: 0;
            left: auto;
            transform: translateY( -50% );
            opacity: .1;
          }
        }

        .page-doctors__main-right {
          display: none;
        }
      }
    }

    .page-programme__services {
      margin-top: 100px;

      .page-programme__services-container {
        .page-programme__services-items {
          .page-programme__services-item {
            .page-programme__services-item-title {
              max-width: 65%;
              padding-right: 30px;
              padding-left: 30px;
            }

            .page-programme__services-item-appointment-btn {
              font-size: 10px;
              letter-spacing: 0.7px;
              padding: 6px 12px;

              &::before {
                width: 30px;
              }
            }

            .page-programme__services-item-price {
              padding-right: 30px;
              padding-left: 30px;
              width: 190px;
            }
          }
        }

        .price_block {
          flex-direction: column;
          width: 100%;
          padding-right: 30px;
          padding-left: 30px;

          .full_price {
            width: 100%;
            margin-bottom: 20px;

            .total_full_price {
              margin-left: auto;
            }
          }

          .discount_price {
            width: 100%;
            margin-right: 0;
            margin-left: 0;

            .total_discount_price {
              margin-left: auto;
            }
          }
        }
      }
    }
  }

  .page-programme__doctors {
    .page-programme__doctors-container {
      padding: 0;
      background: var( --white );

      .page-programme__doctors-title {
        margin-bottom: 36px;
        padding-bottom: 28px;
      }

      .page-programme__doctors-items {
        justify-content: space-between;

        .page-programme__doctors-item {
          position: relative;
          justify-content: flex-start;
          width: 100%;
          padding: 50px 200px 55px 32px;
          border-radius: 10px;
          background: var( --bg_grey ) url( '../images/doctor_block_bg_mobile.png' ) 300px bottom no-repeat;
          background-size: auto 90%;

          .doctor_photo {
            right: 10px;
            height: 100%;

            img {
              object-position: bottom right;
            }
          }

          .doctor_post {
            line-height: 1.21;
            margin-bottom: 7px;
            letter-spacing: .13em;
          }

          .doctor_name {
            font-size: 28px;
            line-height: 1;
            display: flex;
            align-items: flex-end;
            height: 56px;
          }

          .doctor_achievements {
            font-weight: 400;
          }

          .doctor_years {
            font-weight: 700;
            margin-bottom: 43px;
          }

          .doctor_video {
            font-weight: 400;
            line-height: 1.21;
          }
        }
      }
    }

    .swiper_controls {
      left: 32px;
      width: 150px;
      margin-top: 25px;

      .swiper_btns {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin: 0;

        &::before {
          position: absolute;
          top: 50%;
          left: 50%;
          display: block;
          width: 300%;
          height: 400%;
          content: '';
          transform: translate( -50%, -50% );
        }
      }

      .swiper-pagination {
        font-size: 36px;
        line-height: 1.16;
      }
    }
  }

  .doctor-thumbs {
    width: 404px;
    margin-top: -44px;
    margin-right: 16px;

    .doctor_thumb_item {
      padding: 0;

      &.swiper-slide-thumb-active {
        box-shadow: 0 4px 15px 0 rgba( 0, 0, 0, .4 );
      }

      .doctor_thumb_name {
        display: none;
      }

      .doctor_thumb_photo {
        position: static;
        width: 110px;
        height: 110px;
      }
    }
  }

  .page__list-item {
    padding-right: 0;
    padding-left: 45%;
    border: none;

    &::before {
      left: 35%;
    }
  }

  .page-programme__info-item .list_image {
    top: 180px;
    right: calc( 100% - 265px );
    max-width: 280px;
  }

  .page-programme__info-item {
    width: 100%;
    margin: 0 0 30px;

    &.wide_block {
      margin-top: 0;
    }

    &.full_width {
      .page__list-item {
        padding-left: 100px;

        &::before {
          left: 50px;
        }
      }
    }
  }

  .page__blog {
    position: relative;
    margin: 34px 0 52px;
    padding-top: 58px;
    padding-bottom: 0;
    background-position: bottom right;
    background-size: 150% auto;

    &::after {
      display: block;
      width: 100%;
      height: 490px;
      content: '';
    }

    .page__blog-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 50px;

      .page__blog-title {
        margin-bottom: 0;
        padding-bottom: 0;
        color: #000;

        &::after {
          bottom: -30px;
        }
      }
    }
  }

  /* program - end  */

  /* about us - start  */
  .page-about {
    .page-about__main {
      .page-about__main-container {
        display: flex;
        flex-direction: column;

        .page-about__main-preview {
          position: relative;
          left: 50%;
          order: 4;
          width: 855px;
          height: 641px;
          transform: translateX( -50% );
          background-image: url( '../images/preview_mobile.png' );

          .page__main-preview-video {
            top: -30px;
            left: -2px;
            width: 704px;
            height: 535px;
            transform: rotateZ(-.4deg) translateY(80px) translateX(89px);
          }
        }
      }
    }
  }

  .page__main-text {
    max-width: none;
  }

  .page-about__history-item {
    font-size: 32px;
  }

  .page-about__history-item.active {
    font-size: 50px;
  }

  .page-about__history-items-control {
    top: 300px;
  }

  .page-about__history-items-control_next {
    top: 380px;
  }

  .page-about__history-text {
    margin-top: 0;
  }

  .page-about__history-item::before {
    display: none;
  }

  .page-about__history {
    margin-top: 50px;
    background-color: var( --bg_grey );

    .page-about__history-container {
      min-height: 500px;
      padding-top: 50px;
      padding-right: 0;
      padding-left: 0;

      .page-about__history-left {
        width: 75%;
      }

      .page-about__history-right {
        position: absolute;
        top: 50%;
        right: 0;
        margin-left: 0;
        transform: translateY( -50% );

        .page-about__history-items-controls {
          .page-about__history-items-control {
            right: 0;
          }
        }
      }
    }
  }

  .page-about__achievments {
    margin-top: 60px;
    margin-bottom: 0;

    .page-about__achievments-container {
      .page-about__achievments-left {
        float: none;
        width: 100%;
      }

      .page-about__achievments-right {
        float: none;
        width: 100%;
      }
    }
  }

  .page-about__achievments-item {
    padding-left: 160px;

    .page__list-item-num {
      left: 60px;
    }
  }

  .page__vote-title {
    max-width: 60%;
  }

  .page__gallery-items {
    width: 100%;
  }

  .page__gallery .slick-arrow {
    top: calc( 100% + 44px );
    transform: none;
  }

  .page__gallery {
    .slick-next {
      right: 0;
    }

    .slick-prev {
      left: 0;
    }
  }

  .page__media {
    margin-top: 180px;
  }

  .page__media-item-image {
    width: 100%;
    height: 250px;
  }

  .page__media-items {
    justify-content: space-between;
  }

  .page__media-item {
    width: 48%;
    margin-right: 0;
  }

  .page__media-item-photo {
    margin-bottom: 10px;
  }

  .page__media-item-title {
    font-size: 20px;
    width: 80%;
  }

  /* about us - end */

  .page-price__main-right {
    display: none;
  }

  /* I am too tired to write section comments */
  .page-types {
    .page-doctors__main {
      .page-doctors__main-container {
        .page-doctors__main-left {
          width: 66%;
          margin-bottom: 0;

          .page-doctors__main-photo {
            top: 0;
            right: -30px;
            width: calc( 34% + 30px );
            transform: none;
            opacity: 1;
          }
        }
      }
    }

    .page-doctors__list {
      display: none;
    }

    .page-home__mobile_services {
      display: block;
      padding-top: 23px;
    }

    .page-doctors__main-right {
      .page-programme__main-order-form {
        position: relative;
        z-index: 1;
        background-color: var( --white );
      }
    }
  }

  .general_content h1,
  .page-blog__container h1 {
    font-size: 60px;
  }

  .general_content .article_content,
  .page-blog__container .article_content {
    width: 85%;
    text-align: justify;
  }

  .page__main-left {
    width: 100%;
    margin-bottom: 75px;
    padding-right: 0;
  }

  .container .page__main-right {
    width: 100%;
    padding-left: 0;
    border: none;
  }

  .header__menu-item::before {
    display: none;
  }

  .page-price__list {
    margin-top: 0;

    .page-price__list-container {
      .page-price__list-categories {
        width: 100%;
        margin-bottom: 29px;
      }

      .page-price__list-prices {
        width: 100%;

        .page-price__list-prices-item {
          .page-price__list-prices-title {
            max-width: 67%;
            padding: 0 30px;
          }

          .page-price__list-prices-value {
            padding: 0 30px;
          }
        }
      }
    }
  }

  .page-card__main-photo {
    top: -20px;
    right: auto;
    left: 54%;
    width: 100%;
    transform: rotate( -16deg );
  }

  .page-card__main-order-form,
  .page-card__main-text {
    max-width: 550px;
  }

  .page-card__pros {
    margin-top: 101px;
  }

  .page-card__pros-items {
    .page-card__pros-item {
      width: 100%;

      &:not( :last-child ) {
        margin-bottom: 42px;
      }

      .page-card__pros-item-text {
        width: 220px;
      }
    }
  }

  .page-contacts__info {
    font-weight: 400;
  }

  .page-contacts__left {
    width: 100%;
    margin-bottom: 58px;
  }

  .page-contacts__right {
    position: relative;
    top: 0;
    left: 50%;
    width: 890px;
    height: 530px;
    transform: translateX( -50% );
    background-image: url( '../images/macbook_big_mobile.png' );
    background-size: cover;
  }

  .page-contacts__schedule {
    width: 25%;
  }

  .page-contacts__map iframe[src*='widgets.2gis.com'] {
    top: 34px;
    left: 115px;
    width: 659px;
    height: 415px;
  }

  .page-card__main-title {
    width: 100%;
  }

  .page-contacts__form {
    margin-right: -30px;
    margin-left: -30px;
    padding: 55px 40px;

    .page-contacts__form-left {
      width: 100%;
      margin-bottom: 46px;

      .page-contacts__form-title {
        br {
          display: none;
        }
      }
    }

    .page-contacts__form-right {
      width: 100%;

      form {
        .page-contacts__form-row {
          margin: 0;

          .page-contacts__form-field {
            width: 100%;
            margin-right: 0;
            margin-bottom: 27px;

            .form__text-input {
              &::placeholder {
                text-transform: uppercase;
              }
            }
          }

          .page-contacts__form-actions {
            width: 100%;
          }

          .form__checkbox {
            font-size: 14px;
            margin-top: 14px;
          }
        }
      }
    }
  }

  .page-head {
    .page-head__main {
      background-color: var( --bg_grey );

      .page-head__main-container {
        padding: 70px 0;

        &::before {
          top: 150px;
          right: auto;
          left: 50%;
        }

        .page-head__main-text {
          width: 50%;
        }

        .page-head__main-photo {
          right: 0;
          width: 75%;
          transform: translateX( 34% );

          .page-head__main-photo-image {
            max-height: 690px;
          }
        }
      }
    }
  }

  .page-head__ask {
    .page-head__ask-container {
      .page-head__ask-left {
        width: 100%;
      }

      .page-head__ask-right {
        display: none;
      }
    }
  }

  .page-head__blog {
    .page-head__blog-container {
      .page-head__blog-title {
        font-size: 44px;
      }
    }
  }

  .page-programme__programmes {
    margin-top: 70px;
    margin-bottom: 70px;

    .page-programme__programmes-container {
      .page-programme__programmes-items {
        .page-programme__programmes-item {
          width: 100%;
          margin: 0 0 30px;

          .page-programme__programmes-item-title {
            display: block;
            min-height: 0;
          }
        }
      }
    }
  }

  .page-questions {
    .page-questions__list {
      margin-top: 0;
      background-color: var( --bg_grey );

      .page-questions__list-container {
        padding: 65px 0;

        .page-questions__list-items {
          .page-questions__list-item {
            padding-top: 70px;

            .page-questions__list-item-content {
              width: 77%;
              padding: 45px 70px 30px;
            }
          }
        }
      }
    }

    & ~ .footer-top {
      background-color: var( --bg_grey );

      .footer-top__container {
        .footer__order {
          margin-top: 0;
        }
      }
    }
  }

  .modal {
    width: 620px;
    padding: 0;
  }

  .modal__form {
    margin-right: 0;
    padding: 40px;
  }

  .order-modal__form-text-input {
    width: 100%;
  }

  .order-modal__form-field {
    width: 49%;
    margin-bottom: 10px;
  }

  .modal__wrapper::before {
    top: 70px;
    right: 10px;
    left: auto;
    width: 158px;
    height: 106px;
  }

  .form__row {
    margin-bottom: 14px;

    &.form__row-treatment {
      display: grid;
      grid-template-columns: 1fr;
      row-gap: 10px;

      .order-modal__form-field {
        width: 100%;
        margin: 0;
      }
    }
  }

  .fancybox-slide--html .fancybox-close-small {
    top: 40px;
    right: 40px;
  }

  .page-about__history-photo {
    display: none;
  }

  .treatment_building_img,
  .page-about__achievments-left .img_descr {
    display: none;
  }

  .page-about__achievments-left.treatment_left {
    padding-bottom: 50px;
  }

  .treatment_right .page__vote:nth-child(1) {
    margin-top: 100px;
  }

  .treatment_gallery {
    margin-top: 90px;
    margin-bottom: 200px;
  }

  .page-programme__info-list-item::after {
    display: none;
  }

  .page.page-blog.error_404 .img_404 {
    display: none;
  }

  .error_404 .container {
    width: 690px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .page.page-blog.error_404 {
    min-height: calc( 100vh - 86px );
  }

  .error_404 .container .error_breadcrumbs .descr::before {
    width: 100px;
    margin-right: 10px;
  }

  .error_404 .container .error_breadcrumbs .descr::after {
    width: 100px;
    margin-left: 10px;
  }

  .error_404 .container .error_breadcrumbs .descr {
    margin-right: 0;
  }

  .error_404 .container .error_breadcrumbs {
    justify-content: space-between;
    margin-bottom: 50px;
  }

  .get_program {
    justify-content: space-between;

    .btn {
      line-height: 1.4;
      width: 290px;
      margin-right: 0;
      padding: 15px;
    }
  }

  .page-card__main-order-form {
    display: none;
  }

  .page__blog-item-title {
    height: auto;
  }

  .page__blog-item-link {
    display: block;
  }

  .page__blog-readmore {
    .link_arrow {
      color: var( --red );

      &.arrow_white {
        &::after {
          background-image: url( '../images/icons/arrow_right_red_7x12.png' );
        }
      }
    }
  }

  .page-programme__reviews {
    margin-top: 60px;

    .page-programme__reviews-container {
      grid-template-columns: 100%;
      row-gap: 50px;

      .page-programme__reviews-items {
        flex-direction: row;
        justify-content: space-between;

        .review_wrapper {
          width: 210px;
          padding: 20px 22px 35px;

          .review_data {
            .review_score {
              font-size: 42px;
            }

            .review_icon_wrapper {
              width: 50px;
              height: 50px;

              .review_icon {
                transform: scale( .9 );
              }
            }
          }

          .review_title {
            font-size: 20px;
            letter-spacing: initial;
          }
        }
      }

      .swiper_controls {
        left: 0;
      }
    }
  }

  .page-programme__reviews-carousel {
    padding-bottom: 92px;
  }
}

@media ( max-width: 767px ) {
  .header__menu {
    width: 100%;
  }

  .header__container {
    width: calc( 100% - 30px );
  }

  body {
    padding-top: 70px;
  }

  .header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .container {
    width: calc( 100% - 30px );
  }

  .page-home__main-text {
    max-width: none;
  }

  .page-home__main .page-home__main-container::after {
    position: relative;
    top: 0;
    right: auto;
    left: 53%;
    transform: translateX( -50% );
  }

  .page-home__main .page-home__main-container .page-home__main-title br {
    display: none;
  }

  .page-home__main {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .page-home__mobile_services .container .page-blog-archive__items .sub_term_link:not(:nth-child(3n)) {
    margin-right: 0;
  }

  .page-home__mobile_services .container .page-blog-archive__items .sub_term_link {
    width: 49%;
  }

  .page-home__services-container.container {
    width: 100%;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_vertical .page-home__services-item-thumbnail {
    right: 20px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_vertical {
    padding-right: 250px;
    padding-left: 40px;
  }

  .page-home__services-item {
    border-radius: 0;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_horizontal .page-home__services-item-thumbnail {
    display: none;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_horizontal {
    padding-right: 40px;
    padding-left: 40px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-left .page-home__services-item-thumbnail {
    bottom: 50%;
    left: -55px;
    transform: translateY( 50% );
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-left {
    padding-right: 40px;
    padding-left: 150px;

    &.services-item_no_thumbnail {
      padding-left: 40px;
    }
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-right .page-home__services-item-thumbnail {
    right: -120px;
    width: auto;
    height: 247px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-right {
    padding-right: 120px;
    padding-left: 40px;
  }

  .page-home__about .page-home__about-container .page-home__about-content {
    width: 100%;
  }

  .page-home__about .page-home__about-container .page-home__about-content .page-home__about-readmore {
    margin-top: 480px;
    text-align: right;
  }

  .page-home__about .page-home__about-image {
    top: auto;
    right: auto;
    bottom: 120px;
    left: 0;
  }

  .page-home__about .page-home__about-note {
    top: auto;
    right: auto;
    bottom: 50px;
    left: 38px;
  }

  .page-home__about .page-home__about-note::after {
    position: absolute;
    top: 50%;
    left: -21px;
    display: block;
    width: 2px;
    height: 120%;
    content: '';
    transform: translateY( -50% );
    background: var( --red );
  }

  .page-home__about-text {
    max-width: none;
  }

  .page-home__about .page-home__about-container .page-home__about-content .page-home__about-title br {
    display: none;
  }

  .footer.footer-top .footer-top__container .footer__order {
    padding: 40px 30px 50px;
  }

  .footer.footer-top .footer-top__container .footer__order .footer__order-title {
    margin-bottom: 35px;
  }

  .footer.footer-top .footer-top__container .footer__order .footer__order-form .form__row {
    &.form__row-treatment {
      .footer__order-form-field,
      .footer__order-form-actions {
        width: auto;
      }
    }
    .footer__order-form-field {
      width: 100%;
      margin-bottom: 13px;
    }
  }

  .footer.footer-top .footer-top__container .footer__order .footer__order-form .form__row .footer__order-form-field .footer__order-form-text-input::placeholder {
    text-transform: uppercase;
  }

  .footer.footer-top .footer-top__container .footer__order .footer__order-form .form__row .footer__order-form-actions {
    width: 100%;
  }

  .footer.footer-bottom .footer-bottom__container .footer__info {
    width: 100%;
    margin-bottom: 50px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer.footer-bottom .footer-bottom__container {
    padding-top: 45px;
    padding-bottom: 7px;
  }

  .footer.footer-bottom .footer-bottom__container .footer__contacts {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer.footer-bottom .footer-bottom__container .footer__map {
    width: 100%;
    height: 228px;
  }

  .footer.footer-bottom .footer-bottom__container .footer__map .gis_map {
    position: absolute;
    top: 14px;
    left: 50%;
    width: 283px;
    height: 177px;
    transform: translateX( -50% );
  }

  .footer.footer-bottom .footer-bottom__container .footer__map iframe[src*='widgets.2gis.com'] {
    top: 0;
    left: 0;
    transform: scale( .513 );
    transform-origin: top left;
  }

  .infowindow h4 {
    font-size: 22px;
  }

  .infowindow p,
  .infowindow hr {
    display: none;
  }

  h1,
  h2 {
    font-size: 44px;
    word-break: break-word;
  }

  .page-blog-archive__items .page__blog-item,
  .page__blog-items .page__blog-item {
    padding-bottom: 30px;
  }

  .page__blog-item-title {
    margin-bottom: 20px;
  }

  .modal {
    width: 370px;
    padding: 0;
  }

  .modal__wrapper {
    padding: 15px;
  }

  .modal__wrapper::before {
    display: none;
  }

  .modal__title {
    font-size: 28px;
    width: 80%;
  }

  .modal__form {
    margin-top: 20px;
    padding: 25px 15px;
  }

  .order-modal__form-field {
    width: 100%;
  }

  .page-about .page-about__main .page-about__main-container .page-about__main-preview {
    width: 460px;
    height: 320px;
    background-size: contain;
  }

  .page-about .page-about__main .page-about__main-container .page-about__main-preview .page__main-preview-video {
    top: -53px;
    left: -30px;
    width: 355px;
    height: 265px;
  }

  .page__main-scroll {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-about__achievments .page-about__achievments-container .page-about__achievments-left {
    padding-right: 15px;
    padding-bottom: 260px;
    padding-left: 15px;
    border-radius: 0;
  }

  .page-about__achievments .page-about__achievments-container .page-about__achievments-left.treatment_left {
    padding-bottom: 50px;
  }

  .page-about__achievments-item .page__list-item-num {
    left: 0;
    transform: translateY( -50% );
  }

  .page__list-item {
    padding-left: 60px;
  }

  div.page__list-item_num {
    display: flex;
    flex-direction: column;
    padding-left: 0;

    &::before {
      display: none;
    }

    .page__list-item-num {
      line-height: 1.44;
      position: static;
      transform: none;
    }
  }

  .page-about__achievments-item::after {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    width: 100vw;
    height: 1px;
    content: '';
    transform: translateX( -50% );
    background-color: rgba( 179, 185, 199, .4 );
  }

  .page-about__achievments-photo-image {
    max-height: 300px;
  }

  .page__vote {
    padding: 58px 15px 52px;
    border-radius: 0;
  }

  .page__vote-title {
    max-width: none;
  }

  .page-about__achievments-container {
    width: 100%;
  }

  .page__media-item-image {
    height: 220px;
  }

  .page__media-item {
    width: 80%;
  }

  .page__media-items {
    justify-content: center;
  }

  .page-doctors .page-doctors__main .page-doctors__main-container .page-doctors__main-left .page-doctors__main-photo {
    display: none;
  }

  .page-doctors__main {
    border-bottom: 1px solid #e7ebf3;
  }

  .page-doctors .page-programme__services .page-programme__services-container .page-programme__services-items .page-programme__services-item .page-programme__services-item-title {
    max-width: 70%;
    padding: 0;
  }

  .page-programme__services-item::before {
    display: none;
  }

  .page-doctors .page-programme__services .page-programme__services-container .page-programme__services-items .page-programme__services-item {
    column-gap: 15px;

    .page-programme__services-item-appointment-btn {
      &::before {
        display: none;
      }
    }

    .page-programme__services-item-price {
      padding: 0;
      width: 130px;
      text-align: left;
    }
  }

  .page-programme__services-container {
    width: 100%;

    .page-programme__services-title {
      width: calc( 100% - 30px );
      margin-right: auto;
      margin-left: auto;
    }

    .page-programme__services-items {
      .page-programme__services-item {
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 0;
      }
    }
  }

  .page-doctors .page-programme__services .page-programme__services-container .price_block {
    padding-right: 15px;
    padding-left: 15px;
  }

  .page-doctors .page-programme__services .page-programme__services-container .price_block .full_price {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .page-doctors .page-programme__services .page-programme__services-container .price_block .full_price .total_full_price {
    white-space: nowrap;
  }

  .page-programme__services-container .price_block .full_price .price_ending {
    white-space: nowrap;
  }

  .page-programme__main-order-form {
    .form__field_half {
      width: 100%;
      margin-bottom: 14px;
    }

    .form__row {
      margin-bottom: 0;
    }
  }

  .page-programme__doctors .page-programme__doctors-container .page-programme__doctors-items {
    justify-content: space-around;
  }

  .page-programme__info-container {
    width: 100%;
  }

  .page-programme__info-item {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 0;
  }

  .page-programme__info-item .list_image {
    position: static;
    width: 100%;
    max-width: none;
    max-height: 200px;
    object-fit: contain;
  }

  .page-programme__info-list-item.page__list-item::before {
    left: 0;
  }

  .page__list-item::before {
    position: absolute;
    top: calc( 50% - 11px );
    left: 0;
    display: block;
    width: 21px;
    height: 21px;
    content: '';
    border-radius: 50%;
    background-color: var( --red );
  }

  .page-programme__info-list-item.page__list-item:not( :last-child )::after {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    width: 100vw;
    height: 1px;
    content: '';
    transform: translateX( -50% );
    background-color: rgba( 179, 185, 199, .4 );
  }

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

  .page__blog .page__blog-container .page__blog-title {
    margin-bottom: 80px;
  }

  .page__blog::after {
    height: 380px;
    background-size: cover;
  }

  .page-programme__main-order-form .form__submit-btn {
    margin-bottom: 15px;
  }

  .page-types .page-doctors__main .page-doctors__main-container .page-doctors__main-left {
    position: relative;
    width: 100%;
  }

  .page-types .page-doctors__main .page-doctors__main-container .page-doctors__main-right .form__field_half,
  .page-types .page-doctors__main .page-doctors__main-container .page-doctors__main-right .page__main-order-title,
  .page-types .page-doctors__main .page-doctors__main-container .page-doctors__main-right .page__main-order-text {
    width: 100%;
  }

  .general_content h1,
  .page-blog__container h1 {
    font-size: 44px;
  }

  .general_content .page_img,
  .page-blog__container .page_img {
    margin-bottom: 42px;
  }

  .general_content .article_content,
  .page-blog__container .article_content {
    width: 100%;
  }

  .page-price__list-category-btn::after {
    display: none;
  }

  .page-price__list {
    margin-top: 20px;

    .page-price__list-container {
      width: 100%;

      .page-price__list-categories {
        padding-right: 15px;
        padding-left: 15px;
      }

      .page-price__list-prices {
        .page-price__list-prices-item {
          padding-right: 15px;
          padding-left: 15px;
          border-radius: 0;

          &::before {
            display: none;
          }

          .page-price__list-prices-title {
            max-width: 70%;
            padding: 0;
          }

          .page-price__list-prices-value {
            padding: 0;
          }
        }
      }
    }
  }

  .page-card__main-order-form {
    .form__row {
      margin: 0;

      .form__field_half {
        width: 100%;
        margin-bottom: 14px;
      }
    }
  }

  .page-card__pros-item {
    padding-right: 0;
  }

  .page-card__pros-items .page-card__pros-item .page-card__pros-item-text {
    width: 100%;
  }

  .page-head .page-head__main .page-head__main-container .page-head__main-text {
    width: 100%;
    margin-bottom: 80px;
  }

  .page-head .page-head__main .page-head__main-container .page-head__main-photo {
    position: relative;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .page-head .page-head__main .page-head__main-container {
    padding-bottom: 0;
  }

  .page-head .page-head__main .page-head__main-container::before {
    top: auto;
    bottom: 250px;
    left: 0;
    width: 100%;
    background-size: contain;
  }

  .page-head__main-title {
    max-width: none;
  }

  .page-head__ask-title br {
    display: none;
  }

  .page-card__main-title {
    position: relative;
    z-index: 1;
  }

  h1.page-head__main-title {
    word-break: normal;
  }

  .page-questions__main-order-form {
    .form__row {
      margin-bottom: 0;

      .form__field {
        width: 100%;
        margin-bottom: 14px;
      }
    }
  }

  .page-questions__list-item-photo {
    width: 56px;

    .page-questions__list-item-photo-image {
      height: 56px;
    }
  }

  .page-questions__list-item-name {
    overflow: hidden;
    height: 20px;
    text-align: left;
  }

  .page-questions__list-item-info {
    width: 20%;
    margin-top: 20px;
    margin-right: 2%;
  }

  .page-questions .page-questions__list .page-questions__list-container .page-questions__list-items .page-questions__list-item .page-questions__list-item-content {
    width: 78%;
    padding: 30px 40px;
    text-align: right;
  }

  .page-questions__list-item-date {
    margin-left: auto;
  }

  .page-questions__list-item-text {
    line-height: 1.6;
    text-align: left;
  }

  .page-questions__list-item-info_answer {
    margin-right: 0;
    margin-left: 2%;

    .page-questions__list-item-photo {
      margin-left: auto;
    }
  }

  .mobile_head_doctor {
    display: block;
    text-align: right;
  }

  .desktop_head_doctor {
    display: none;
  }

  .page-programme__programmes .page-programme__programmes-container .page-programme__programmes-items .page-programme__programmes-item .page-programme__programmes-item-title {
    width: 100%;
    margin-bottom: 0;
  }

  .page-programme__programmes-container {
    width: 100%;

    .page-programme__programmes-title {
      margin-right: 15px;
      margin-left: 15px;
    }
  }

  .page-programme__programmes .page-programme__programmes-container .page-programme__programmes-items .page-programme__programmes-item {
    padding: 30px 15px;
  }

  .page-programme__programmes-item-percents {
    margin-bottom: 30px;
  }

  .page-programme__info-item {
    display: flex;
    flex-direction: column;

    .list_image {
      order: 2;
    }

    .page-programme__info-item-title {
      order: 1;
      margin-bottom: 30px;
    }

    .page-programme__info-list {
      order: 3;
    }
  }

  .page-programme__info-item.full_width .page__list-item {
    padding-left: 60px;
  }

  .page-programme__info-item.full_width .page__list-item::before {
    left: 0;
  }

  .error_404 .container .error_breadcrumbs .descr::after,
  .error_404 .container .error_breadcrumbs .descr::before {
    display: none;
  }

  .error_404 .container .error_breadcrumbs {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .page.page-blog.error_404 {
    min-height: calc( 100vh - 72px );
  }

  .get_program {
    justify-content: flex-start;

    .btn {
      font-size: 12px;
      width: auto;
      margin-right: 30px;
    }

    .decline_program {
      font-size: 12px;
      line-height: 1.6;
      text-align: right;
    }
  }

  .error_404 .container .error_img {
    margin-bottom: 30px;
  }

  .treatment_gallery {
    margin-top: 70px;
  }

  .page-doctors__main-left {
    margin-bottom: 30px;
  }

  .page-doctors .page-programme__services {
    margin-top: 60px;
  }

  .doctor-thumbs {
    display: none;
  }

  .page-programme__doctors {
    overflow: visible;
    width: 100%;
    margin-bottom: 146px;

    .page-programme__doctors-container {
      .page-programme__doctors-title {
        margin-right: 15px;
        margin-left: 15px;
      }

      .page-programme__doctors-items {
        .page-programme__doctors-item {
          padding: 35px 15px 21px;
          border-radius: 0;
          background: var( --bg_grey );

          .doctor_photo {
            top: auto;
            right: 0;
            bottom: 0;
            width: 50%;
            height: 65%;
          }

          .doctor_post {
            margin-bottom: 20px;
            color: rgba( 31, 31, 31, .4 );
          }

          .doctor_name {
            font-size: 24px;
            font-weight: 500;
            line-height: 1.16;
            height: auto;
          }

          .doctor_achievements,
          .doctor_years {
            font-size: 14px;
            line-height: 1.42;
            width: 60%;
          }

          .doctor_achievements {
            margin-bottom: 16px;
          }

          .doctor_years {
            margin-bottom: 34px;
          }

          .doctor_video {
            height: 50px;

            .doctor_video_link {
              display: flex;
              align-items: center;
              justify-content: center;
              width: 50px;
              height: 50px;
              border-radius: 50%;
              background-color: var( --white );

              svg {
                margin: 0;
              }

              .video_link_text {
                display: none;
              }
            }
          }
        }
      }
    }

    .swiper_controls {
      left: 50%;
      width: 140px;
      height: 34px;
      margin-top: 22px;
      transform: translateX( -50% );

      .swiper-pagination {
        font-size: 29px;
        line-height: 1.17;
        bottom: 0;
        transform: none;
      }
    }
  }

  .page-programme__reviews {
    margin-top: 20px;

    .page-programme__reviews-container {
      .page-programme__reviews-title {
        font-size: 45px;
      }

      .page-programme__reviews-items {
        flex-direction: column;
        row-gap: 15px;

        .review_wrapper {
          width: 100%;
        }
      }

      .swiper_controls {
        transform: none;
      }
    }
  }

  .page-programme__reviews-carousel {
    padding-bottom: 72px;
  }

  .page-programme__info-list-item {
    row-gap: 10px;
  }
}

@media ( max-width: 569px ) {
  .page-contacts__items {
    width: 100%;
  }

  .page-contacts__schedule {
    width: 100%;
    margin: 30px 0 0 35px;
  }

  .page-contacts__right {
    width: 400px;
    height: 256px;
  }

  .page-contacts__form {
    margin-top: -30px;
  }

  .page-contacts__map.gis_map {
    position: absolute;
    top: 17px;
    left: 41px;
    width: 317px;
    height: 199px;
  }

  .page-contacts__map iframe[src*='widgets.2gis.com'] {
    top: 0;
    left: 0;
    transform: scale( .483 );
    transform-origin: top left;
  }

  .page-about__history .page-about__history-container .page-about__history-left {
    width: 70%;
  }

  .page-about__history-item.active {
    font-size: 30px;
  }

  .page-about__history-item {
    font-size: 20px;
  }

  .page-about__history-items-control {
    top: 305px;
  }

  .page-about__history-items-control_next {
    top: 380px;
  }

  .page-doctors .page-programme__services .page-programme__services-container .page-programme__services-items .page-programme__services-item {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;

    .page-programme__services-item-title {
      width: 100%;
      max-width: none;
    }

    .page-programme__services-item-appointment-btn {
      margin-left: 0;
      order: 3;
    }
  }

  .page-contacts__info {
    .ya-taxi-widget {
      position: static;
      display: block;
      margin-top: 20px;
    }
  }

  .page-home__mobile_services .container .page-blog-archive__items .sub_term_link {
    hyphens: auto;
  }

  .page-price__list .page-price__list-container .page-price__list-prices .page-price__list-prices-item {
    align-items: start;
    flex-direction: column;
  }

  .page-price__list .page-price__list-container .page-price__list-prices .page-price__list-prices-item .page-price__list-prices-title {
    width: 100%;
    max-width: none;
    margin-bottom: 10px;
  }

  .page-doctors {
    .page-programme__services {
      .page-programme__services-container {
        .price_block {
          .price_block-info {
            flex-wrap: wrap;

            .price_header {
              line-height: 1.4;
              width: 100%;
              margin-bottom: 10px;
            }

            .total_price {
              margin-left: 0;
            }
          }
        }
      }
    }
  }

  .general_content .page_img,
  .page-blog__container .page_img {
    max-height: none;
  }

  .page-programme__info-list-item-link_wrapper {
    align-items: flex-start;
  }
}

@media ( max-width: 449px ) {
  .page-programme__doctors .page-programme__doctors-container .page-programme__doctors-items .page-programme__doctors-item .page-programme__doctors-item-photo {
    width: 100px;
    max-height: 165px;
  }

  .page-programme__doctors-item-name {
    transform: translateX( -90px );
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_vertical {
    padding-right: 46%;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_vertical .page-home__services-item-thumbnail {
    right: auto;
    left: 55%;
  }

  .page-home__about .page-home__about-note {
    bottom: 85px;
  }

  .complex_services_link {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media ( max-width: 399px ) {
  .page-home__main .page-home__main-container .page-home__main-title {
    font-size: 42px;
  }

  .page-blog-archive__category-btn {
    font-size: 18px;
  }

  .page-home__mobile_services .container .page-blog-archive__items .sub_term_link {
    font-size: 14px;
    height: 80px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_vertical {
    padding-left: 15px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_horizontal {
    padding-right: 15px;
    padding-left: 15px;
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-left {
    padding-right: 15px;

    &.services-item_no_thumbnail {
      padding-left: 15px;
    }
  }

  .page-home__services .page-home__services-container .page-home__services-items .page-home__services-item.page-home__services-item_image-right {
    padding-left: 15px;
  }

  .page-home__about .page-home__about-container .page-home__about-content .page-home__about-readmore {
    padding-right: 0;
  }

  .footer.footer-top .footer-top__container .footer__order {
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer.footer-top .footer-top__container .footer__order .footer__order-title {
    font-size: 30px;
  }

  .footer.footer-bottom .footer-bottom__container .footer__map {
    height: 210px;
    background-size: auto 100%;
  }

  .footer.footer-bottom .footer-bottom__container .footer__map .gis_map {
    width: 262px;
    height: 163px;
  }

  .footer.footer-bottom .footer-bottom__container .footer__map iframe[src*='widgets.2gis.com'] {
    transform: scale( .472 );
  }

  .page__blog-item-title {
    font-size: 26px;
  }

  .modal__title {
    font-size: 21px;
  }

  .page-about .page-about__main .page-about__main-container .page-about__main-preview {
    height: 250px;
  }

  .page-about .page-about__main .page-about__main-container .page-about__main-preview .page__main-preview-video {
    top: -59px;
    left: 8px;
    width: 275px;
    height: 208px;
  }

  .page__media-item {
    width: 100%;
  }

  .page__list-item:not( .page__list-item_num ),
  .page-programme__info-item.full_width .page__list-item {
    padding-left: 40px;
  }

  .page-programme__blog-title {
    font-size: 28px;
  }

  .page__blog::after {
    height: 300px;
  }

  .page-card__pros-title {
    font-size: 40px;
  }

  .page-card__pros-item-title {
    font-size: 25px;
  }

  .page-card__pros-item-num {
    font-size: 64px;
  }

  .page-card__pros-item {
    padding-left: 100px;
  }

  .page-head .page-head__main .page-head__main-container::before {
    bottom: 150px;
  }

  .page-questions__main-title {
    word-break: normal;
  }

  .page-questions__list-item-answer,
  .page-questions__list-item-question {
    flex-direction: column;

    .page-questions__list-item-info {
      width: 100%;
      margin-right: 0;
      margin-bottom: 10px;
      margin-left: 0;

      .page-questions__list-item-photo {
        width: auto;

        .page-questions__list-item-photo-image {
          width: 97px;
          height: 97px;
        }
      }

      .page-questions__list-item-name {
        height: auto;
        margin-top: 5px;
      }
    }
  }

  .page-questions .page-questions__list .page-questions__list-container .page-questions__list-items .page-questions__list-item .page-questions__list-item-content {
    width: 100%;
  }

  .mobile_head_doctor {
    display: none;
  }

  .desktop_head_doctor {
    display: block;
  }

  .fancybox-slide--html .success-modal .fancybox-close-small {
    top: 20px;
    right: 20px;
  }

  .saiko-test__result-text,
  .saiko-test__text {
    font-size: 18px;
    line-height: 1.4;
  }

  .page-home__about .page-home__about-container .page-home__about-content .page-home__about-title {
    hyphens: auto;
  }
}

@media ( max-width: 359px ) {
  .header__contacts-phone {
    font-size: 14px;
  }

  .general_content h1,
  .page-blog__container h1 {
    hyphens: auto;
  }
}



/* podgotovka-page */
.podgotovka-page {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: var( --grey );
  margin-top: 55px;
}

.podgotovka-title {
  color: var( --black );
  line-height: normal;
}

.podgotovka-delimiter {
  width: 62px;
  height: 3px;
  background: var( --red );

  &.size_30 {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  &.size_40 {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.podgotovka-round-border {
  border: 1px solid #c7c7c7;
  border-radius: 10px;
}

.podgotovka-description {
  margin-bottom: 60px;
}

.podgotovka-bg {
  position: relative;

  &::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX( -50% );
    background: var( --bg_grey );
    width: 100vw;
    z-index: -1;
  }
}

.aioseo-breadcrumb:has( a[href$='/nashi-uslugi/podgotovka/'] ) {
  display: none;

  & + .aioseo-breadcrumb-separator {
    display: none;
  }
}


/* podgotovka-content */
.podgotovka-content {
  p, ul, ol {
    &:not( :last-child ) {
      margin-bottom: 20px;
    }
  }

  ul {
    li {
      padding-left: 22px;
      position: relative;

      &::before {
        content: '';
        display: block;
        position: absolute;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var( --grey );
        left: 0;
        top: 14px;
      }

      &:not( :last-child ) {
        margin-bottom: 5px;
      }
    }
  }

  &.podgotovka-content-dms_legal {
    p, ul, ol {
      &:not( :last-child ) {
        margin-bottom: 15px;
      }
    }

    ul {
      li {
        &::before {
          background: var( --red );
          width: 6px;
          height: 6px;
          top: 12px;
        }
      }
    }
  }
}


/* podgotovka-analysis */
.podgotovka-analysis {
  padding: 60px 500px 60px 50px;
  margin-bottom: 90px;
  background: var( --bg_grey );
  position: relative;
}

.podgotovka-analysis-title {
  color: var( --black );
  font-size: 40px;
  line-height: normal;
}

.podgotovka-analysis-image {
  position: absolute;
  right: 70px;
  bottom: 50px;
  height: 77%;
  min-height: 268px;
  max-width: 43%;
  object-fit: contain;
}


/* podgotovka-diet */
.podgotovka-diet {
  margin-bottom: 90px;
}

.podgotovka-diet-list {
  display: grid;
  grid-template-columns: repeat( 2, 1fr );
  column-gap: 45px;
}

.podgotovka-diet-list-item {
  position: relative;
  padding: 60px 40px 60px 60px;
  background: var( --bg_grey );
}

.podgotovka-diet-list-title {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 20px;
}

.podgotovka-diet-list-svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 35px;
  right: 30px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var( --white );
  z-index: 1;
}


/* podgotovka-prepare */
.podgotovka-prepare {
  padding-top: 100px;
  padding-bottom: 100px;
  margin-bottom: 100px;
}

.podgotovka-prepare-list {
  display: flex;
  flex-direction: column;
  row-gap: 23px;
  margin-bottom: 50px;
}

.podgotovka-prepare-list-item {
  background: var( --white );
  padding: 24px 110px 24px 50px;
  display: grid;
  grid-template-columns: 212px 1px auto;
  column-gap: 60px;
}

.podgotovka-prepare-list-section {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.podgotovka-prepare-list-title {
  color: var( --red );
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

.podgotovka-prepare-list-delimiter {
  background: #c7c7c7;
}

.podgotovka-prepare-list-desctiption {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
}

.podgotovka-prepare-warning {
  display: grid;
  grid-template-columns: 117px auto;
  align-items: center;
  column-gap: 30px;
  color: #000;
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

.podgotovka-prepare-warning-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* podgotovka-research */
.podgotovka-research-blocks {
  display: grid;
  grid-template-columns: repeat( 2, 1fr );
  column-gap: 40px;
}

.podgotovka-research-text-title {
  color: #000;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.31;
  margin-bottom: 30px;
}

.podgotovka-research-items {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-top: -40px;
}

.podgotovka-research-item {
  padding: 25px;
  display: grid;
  grid-template-columns: 108px auto;
  align-items: center;
  column-gap: 25px;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.27;
}

.podgotovka-research-item-icon-container {
  width: 108px;
  height: 108px;
  background: var( --bg_grey );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podgotovka-research-item-icon {
  max-width: 72px;
  max-height: 72px;
}


/* podgotovka-research-2 */
.podgotovka-research-2-blocks {
  display: grid;
  grid-template-columns: repeat( 2, 1fr );
  gap: 40px;
}

.podgotovka-research-1-item {
  background: var( --bg_grey );
  padding: 50px;
}

.podgotovka-research-1-item-title {
  color: #000;
  font-size: 40px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}

.podgotovka-research-1-item-subtitle {
  color: #1a1a1a;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.59;
  margin-bottom: 20px;
}

.podgotovka-research-2-footnote {
  grid-column: 1 / -1;
}


/* podgotovka-days */
.podgotovka-days {
  padding-top: 90px;
  padding-bottom: 90px;
  margin-bottom: 90px;
}

.podgotovka-days-list {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.podgotovka-days-list-item {
  padding: 30px 50px 30px 0;
  background: var( --white );
  display: grid;
  grid-template-columns: 114px 1px auto;
}

.podgotovka-days-list-index {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  color: var( --red );
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

.podgotovka-days-list-delimiter {
  background: #c7c7c7;
}

.podgotovka-days-list-content {
  margin-left: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.podgotovka-days-list-title {
  color: var( --black );
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
}

.podgotovka-days-list-title-index {
  display: none;
}

.podgotovka-days-list-description {
  margin-top: 10px;
}


/* podgotovka-text-title */
.podgotovka-text-title {
  padding-top: 90px;
  padding-bottom: 30px;
}

.podgotovka-text-title-subtitle {
  color: var( --black );
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}


/* main-section */
.main-section {
  margin-bottom: 90px;
}

.main-section-header {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 60px;
}

.main-section-header-title {
  font-size: 58px;
  line-height: normal;
}

.main-section-header-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 40px;
  color: var( --grey );
}

.main-section-header-image {
  grid-area: 1 / 2 / 1 / 3;
  width: 470px;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.main-section-appointment {
  background: var( --bg_grey );
  padding: 60px;
  margin-bottom: 70px;

  .page__main-order-title {
    font-size: 40px;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 25px;
    margin-bottom: 22px;

    &::after {
      width: 62px;
      height: 3px;
    }
  }

  .page__main-order-text {
    color: var( --grey );
    font-weight: 400;
    line-height: 1.43;
  }

  .page__main-order-form {
    margin-top: 30px;
    padding-bottom: 0;
  }

  form[name="order-footer"] {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 20px 30px;
    align-items: center;
  }

  .form__row {
    display: contents;
  }

  .form__field_half {
    width: 100%;
  }

  .form__text-input {
    height: 59px;
    border-radius: 128px;
    border-color: #c7c7c7;
    background: var( --white );
    padding-left: 32px;
    padding-right: 32px;
    line-height: 1.55;
    font-size: 20px;
    letter-spacing: normal;

    &::placeholder {
      color: var( --grey );
    }
  }

  .form__submit-btn {
    height: 59px;
    border-radius: 128px;
    line-height: 1.55;
    letter-spacing: normal;
    font-size: 20px;
    font-weight: 700;
    padding: 0;
  }

  .form__field-privacy_link {
    grid-area: 2 / 2 / 2 / -1;
  }

  .privacy_link {
    color: var( --grey );
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
  }
}

.main-section-extra-items {
  display: grid;
  grid-template-columns: repeat( 4, 1fr );
  column-gap: 1px;
  margin-bottom: 90px;
  border-radius: 10px;
  background: var( --bg_grey );
  padding-top: 30px;
  padding-bottom: 30px;
}

.main-section-extra-item {
  position: relative;
  padding: 10px 30px;

  &:first-child {
    padding-left: 40px;
  }

  &:not( :last-child ) {
    &::after {
      content: '';
      display: block;
      position: absolute;
      left: 100%;
      top: 0;
      bottom: 0;
      width: 1px;
      background: #c7c7c7;
    }
  }
}

.main-section-extra-item-title {
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
}

.main-section-extra-item-description {
  color: var( --grey );
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}


/* text-section */
.text-section {
  margin-bottom: 90px;
  padding: 60px 0 60px 350px;
  position: relative;
}

.text-section-no-image {
  padding: 0;
}

.text-section-image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1250px;
  background: var( --bg_grey );
  width: 50vw;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.text-section-image-src {
  height: 87%;
  object-fit: cover;
  object-position: right center;
}

.text-section-title {
  font-size: 40px;
  line-height: normal;
}

.text-section-description {
  color: var( --grey );
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 60px;
}

.text-section-icon-text {
  display: flex;
  align-items: center;
  column-gap: 30px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.31;
}


/* page-dms_legal */
.page-dms_legal-title {
  font-size: 64px;
  margin-bottom: 37px;
}

.page-dms_legal-description {
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 78px;
}

.page-dms_legal-block {
  margin-bottom: 90px;
}

.page-dms_legal-block-title {
  font-size: 36px;
  margin-bottom: 30px;
  width: 860px;
}

.page-dms_legal-block-group {
  display: flex;
  column-gap: 70px;
  align-items: flex-start;
}

.page-dms_legal-block-text {
  font-size: 22px;
  line-height: 1.22;
}

.page-dms_legal-block-text-extra {
  width: 375px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var( --bg_grey );
  padding: 25px;
  display: flex;
  align-items: center;
  column-gap: 15px;
  color: var( --red );
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.44;
}

.page-dms_legal-block-text-extra-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.page-dms_legal-block-text-extra-icon-src {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.page-dms_legal-block-logos {
  display: grid;
  grid-template-columns: repeat( 5, 1fr );
  gap: 20px 15px;
}

.page-dms_legal-block-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var( --bg_grey );
  border-radius: 10px;
  padding: 20px 25px;
}

.page-dms_legal-block-logo-src {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* page-treatment-main-section */
.page-treatment-main-section {
  .main-section-title {
    font-size: 58px;
    line-height: 1.18;
    margin-bottom: 48px;
  }
  .main-section-content-container {
    display: grid;
    grid-template-columns: auto 470px;
    column-gap: 50px;
  }
  .main-section-content {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.48;
    color: var( --grey );
    display: flex;
    flex-direction: column;
    row-gap: 12px;
  }
  .main-section-image-container {
    min-height: 448px;
  }
  .main-section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .main-section-appointment {
    margin-bottom: 90px;

    .form__field-privacy_link {
      grid-column: 1 / -1;
    }
  }
}

/* page-treatment-managing-section */
.page-treatment-managing-section {
  margin-bottom: 90px;

  .managing-section-title {
    font-size: 52px;
    line-height: 1.18;
    padding-bottom: 43px;
    margin-bottom: 49px;

    &::after {
      width: 82px;
      height: 3px;
    }
  }
  .managing-section-sub-title {
    display: inline-block;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 32px;
  }
  .managing-section-blocks {
    display: grid;
    grid-template-columns: repeat( 2, 1fr );
    gap: 30px 100px;
  }
  .managing-section-block {
    display: grid;
    grid-template-columns: 60px auto;
    column-gap: 15px;
  }
  .managing-section-block-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  .managing-section-block-caption {
    color: var( --grey );
    font-weight: 400;
    font-size: 20px;
    line-height: 1.18;
  }
}

.tippy-box {
  border-radius: 12px;

  &[data-theme~='newlight'] {
    background-color: #fff;
    box-shadow: 0px 10px 20px 0px rgba( 0, 0, 0, 0.1 );

    .tippy-content {
      color: var( --grey );
      padding: 16px;
    }
  }
}
.tippy-content {
  font-weight: 400;
  line-height: 1.18;
  padding: 9px 16px 10px;
}

/* content-half-section */
.content-half-section {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 450px auto;
  align-items: center;
  column-gap: 60px;

  .content-half-image-container {
    position: relative;
    min-height: 523px;
    height: 100%;
  }
  .content-half-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .content-half-text-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .content-half-text-title {
    font-size: 40px;
    line-height: 1.18;
    padding-bottom: 43px;
    margin-bottom: 40px;

    &::after {
      width: 62px;
      height: 3px;
    }
  }
  .content-half-text {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    color: var( --grey );
    font-weight: 400;
    font-size: 20px;
    line-height: 1.18;
  }
  &.content-half-image-right {
    grid-template-columns: auto 460px;
    margin-bottom: 124px;

    .content-half-text-container {
      order: 1;
    }
    .content-half-image-container {
      order: 2;
    }
  }
}

/* page-treatment-directions-section */
.page-treatment-directions-section {
  margin-bottom: 90px;

  .directions-section-title {
    font-size: 40px;
    line-height: 1.18;
    margin-bottom: 24px;
  }
  .directions-section-items {
    width: 861px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .directions-section-item {
    display: flex;
    align-items: center;
    height: 40px;
    border: 1px solid #c7c7c7;
    border-radius: 128px;
    padding-left: 13px;
    padding-right: 13px;
    color: #3D3C3C;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
  }
}

/* page-treatment-appointment-section */
.page-treatment-appointment-section {
  margin-bottom: 90px;

  .form__field-privacy_link {
    grid-column: 1 / -1;
  }
}

/* page-treatment-close-section */
.page-treatment-close-section {
  margin-bottom: 90px;

  .close-section-title {
    font-weight: 500;
    font-size: 58px;
    line-height: 1.18;
    margin-bottom: 40px;
  }
  .close-section-blocks {
    display: grid;
    grid-template-columns: repeat( 2, 1fr );
    gap: 50px;
    background-color: #F9FAFC;
    padding: 40px 40px 0 40px;
  }
  .close-section-block {
    position: relative;
    margin-bottom: 40px;

    &:nth-child( 2n ) {
      &::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: -31px;
        width: 1px;
        height: 100%;
        background-color: #C7C7C7;
      }
    }
    &:nth-child( 2n+1 ) {
      &::after {
        width: calc( 100% + 50px );
      }
    }
    &::after {
      content: '';
      display: block;
      position: absolute;
      bottom: -46px;
      left: 0;
      width: 100%;
      height: 1px;
      background-color: #C7C7C7;
    }
    &:last-child {
      &::after {
        display: none;
      }
    }
  }
  .close-section-blocks-even {
    .close-section-block {
      &:nth-last-child( 2 ) {
        &::after {
          display: none;
        }
      }
    }
  }
  .close-section-block-index {
    color: var( --red );
    font-weight: 500;
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 24px;
  }
  .close-section-block-header {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .close-section-block-caption {
    color: var( --grey );
    font-weight: 400;
    font-size: 16px;
    line-height: 1.18;
  }
}

/* page-treatment-stories-section */
#stories.page-treatment-stories-section {
  margin-bottom: 90px;

  .stories-section-title {
    font-size: 58px;
    line-height: 1.18;
    padding-bottom: 43px;
    margin-bottom: 40px;

    &::after {
      width: 62px;
      height: 3px;
    }
  }
  .stories-section-carousel-slide {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.18;
    color: var( --grey );
    background-color: var( --bg_grey );
    padding: 32px;
  }
  .swiper_controls {
    width: 150px;
    position: static;
    height: auto;
    margin-top: 40px;
    transform: none;
  }
  .swiper-pagination {
    position: static;
    font-size: 36px;
    font-weight: 500;
  }
}

/* page-treatment-faq-section */
.page-treatment-faq-section {
  margin-bottom: 120px;

  .faq-section-title {
    font-size: 58px;
    line-height: 1.18;
    margin-bottom: 40px;
  }
  .faq-section-items {
    display: grid;
    row-gap: 4px;
  }
  .faq-section-item {
    background-color: var( --bg_grey );
    transition: .2s;

    &.acc_active {
      .faq-section-item-icon-container {
        background-color: var( --red );
      }
      .faq-section-item-icon {
        transform: rotate( 180deg );
      }
      path {
        fill: #fff;
      }
    }
    &:hover {
      background-color: #f3f3f3;
    }
  }
  .faq-section-item-btn {
    width: 100%;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.18;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 50px;
    padding: 24px;
    transition: .2s;
  }
  .faq-section-item-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 1px solid var( --red );
    transition: .2s;
  }
  .faq-section-item-icon {
    transition: .2s;
  }
  .faq-section-item-content {
    color: var( --grey );
    font-weight: 400;
    font-size: 16px;
    line-height: 1.18;
    padding: 0 24px 24px 24px;

    & > * {
      &:not( :last-child ) {
        margin-bottom: 10px;
      }
    }
  }
}

.rusprofile_link {
  display: inline-block;
  margin-top: 20px;

  svg {
    width: 220px;
    height: auto;
  }
  &:hover {
    filter: brightness( .8 );
  }
}


@media ( max-width: 1919px ) {
  /* text-section */
  .text-section-image {
    right: 865px;
  }
  .header {
    .header__menu {
      font-size: 15px;
    }
    .header__menu-item {
      margin-right: 10px;
      margin-left: 10px;
    }
  }
}

/* responsive 1199 */
@media ( max-width: 1199px ) {
  .podgotovka-page {
    margin-top: 40px;
  }

  .podgotovka-description {
    margin-bottom: 50px;
  }


  /* podgotovka-analysis */
  .podgotovka-analysis {
    padding: 50px 222px 50px 50px;
  }

  .podgotovka-analysis-image {
    right: -66px;
    bottom: 33px;
    height: auto;
    min-height: 0;
    max-height: 242px;
    max-width: 288px;
  }


  /* podgotovka-diet */
  .podgotovka-diet-list {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .podgotovka-diet-list-item {
    padding: 50px 55px 50px 50px;
  }

  .podgotovka-diet-list-title {
    font-size: 44px;
  }

  .podgotovka-diet-list-svg-container {
    right: 35px;
  }


  /* podgotovka-prepare */
  .podgotovka-prepare {
    padding-top: 90px;
    padding-bottom: 90px;
    margin-bottom: 80px;
  }

  .podgotovka-prepare-list {
    row-gap: 25px;
    margin-bottom: 60px;
  }

  .podgotovka-prepare-list-item {
    padding: 50px 35px 50px 50px;
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .podgotovka-prepare-list-section {
    padding: 0;
    color: var( --red );
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
  }

  .podgotovka-prepare-list-title,
  .podgotovka-prepare-list-subtitle {
    display: contents;
  }

  .podgotovka-prepare-list-delimiter {
    display: none;
  }

  .podgotovka-prepare-list-desctiption {
    padding: 0;
  }


  /* podgotovka-research */
  .podgotovka-title {
    br {
      display: none;
    }
  }

  .podgotovka-research-blocks {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .podgotovka-research-text-title {
    margin-bottom: 20px;
  }

  .podgotovka-research-items {
    margin-top: 0;
  }

  .podgotovka-research-item {
    font-size: 24px;
    line-height: 1.29;
  }


  /* podgotovka-research-2 */
  .podgotovka-research-2-blocks {
    grid-template-columns: 1fr;
    row-gap: 25px;
    margin-bottom: 0;
  }

  .podgotovka-research-1-item {
    padding: 45px;
  }

  .podgotovka-research-1-item-title {
    margin-bottom: 30px;

    br {
      display: none;
    }
  }

  .podgotovka-research-1-item-subtitle {
    font-size: 22px;
  }

  .podgotovka-research-2-footnote {
    grid-area: 3 / 1 / 3 / -1;
    margin-top: 15px;
    margin-bottom: 45px;
  }


  /* podgotovka-days */
  .podgotovka-days-list-item {
    padding-right: 30px;
    grid-template-columns: 74px 1px auto;
  }

  .podgotovka-days-list-content {
    margin-left: 30px;
  }

  .podgotovka-days-list-description {
    margin-top: 20px;
  }


  /* podgotovka-text-title */
  .podgotovka-text-title {
    padding-bottom: 40px;
  }

  .podgotovka-text-title-subtitle {
    font-size: 32px;
  }


  /* main-section */
  .main-section {
    margin-bottom: 77px;
    display: flex;
    flex-direction: column;
  }

  .main-section-header {
    display: contents;
  }

  .main-section-header-title {
    font-size: 66px;
  }

  .main-section-header-description {
    margin-bottom: 56px;
  }

  .main-section-header-image {
    grid-area: initial;
    order: 3;
    width: auto;
    height: 278px;
    border-radius: 0 0 10px 10px;
    margin-bottom: 70px;
  }

  .main-section-appointment {
    padding: 50px;
    margin-bottom: 0;

    .page__main-order-title {
      padding-bottom: 33px;
      margin-bottom: 30px;
    }

    .page__main-order-text {
      font-size: 20px;
      line-height: 1.45;
    }

    form[name="order-footer"] {
      grid-template-columns: repeat( 2, 1fr );
      column-gap: 20px;
    }

    .form__field-privacy_link {
      grid-row: initial;
      grid-column: 1 / -1;
      margin-top: 10px;
    }

    .privacy_link {
      font-size: 20px;
    }
  }

  .main-section-extra-items {
    order: 4;
    grid-template-columns: repeat( 2, 1fr );
    row-gap: 41px;
    margin-bottom: 0;
  }

  .main-section-extra-item {
    padding-left: 40px;
    padding-right: 40px;

    &.main-section-extra-item-2 {
      &::after {
        display: none;
      }
    }
  }

  .main-section-extra-item-1,
  .main-section-extra-item-2 {
    &::before {
      content: '';
      display: block;
      position: absolute;
      top: calc( 100% + 20px );
      height: 1px;
      background: #c7c7c7;
    }
  }

  .main-section-extra-item-1 {
    &::before {
      left: 40px;
      right: -1px;
    }
  }

  .main-section-extra-item-2 {
    &::before {
      left: 0;
      right: 40px;
    }
  }

  .main-section-extra-item-2,
  .main-section-extra-item-4 {
    padding-left: 45px;
  }

  .main-section-extra-item-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .main-section-extra-item-description {
    font-size: 18px;
  }


  /* text-section */
  .text-section {
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .text-section-image {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    justify-content: center;
    order: 5;

    &::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100vw;
      background: var( --bg_grey );
      left: 50%;
      transform: translateX( -50% );
      z-index: -1;
    }
  }

  .text-section-image-src {
    height: 395px;
    object-position: center center;
    object-fit: contain;
  }

  .text-section-description {
    margin-bottom: 50px;
  }

  .text-section-icon-text {
    margin-bottom: 60px;
  }


  /* page-dms_legal */
  .page-dms_legal-description {
    font-size: 20px;
    margin-bottom: 50px;
  }

  .page-dms_legal-block {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .page-dms_legal-block-title {
    width: 100%;
  }

  .page-dms_legal-block-group {
    flex-direction: column;
    row-gap: 20px;
  }

  .page-dms_legal-block-text {
    font-size: 20px;
  }

  .page-dms_legal-block-logos {
    grid-template-columns: repeat( 4, 1fr );
    gap: 15px;
  }

  .page-dms_legal-block-logo {
    height: 100px;
    padding: 20px;
  }

  /* page-treatment-main-section */
  .page-treatment-main-section {
    .main-section-title {
      font-size: 48px;
      margin-bottom: 32px;
    }
    .main-section-content-container {
      grid-template-columns: 1fr;
      row-gap: 32px;
      margin-bottom: 48px;
    }
    .main-section-content {
      order: 1;
    }
    .main-section-image-container {
      min-height: 1px;
      max-height: 448px;
    }
  }

  /* page-treatment-managing-section */
  .page-treatment-managing-section {
    .managing-section-title {
      font-size: 48px;
      padding-bottom: 33px;
      margin-bottom: 30px;
    }
    .managing-section-blocks {
      grid-template-columns: 1fr;
      row-gap: 24px;
    }
    .managing-section-block {
      align-items: center;
    }
    .managing-section-block-caption {
      br {
        display: none;
      }
    }
  }

  /* content-half-section */
  .content-half-section {
    margin-bottom: 48px;
    grid-template-columns: 1fr;
    row-gap: 32px;

    .content-half-image-container {
      order: 2;
      height: 448px;
      min-height: 1px;
    }
    .content-half-text-container {
      order: 1;
      padding: 0;
    }
    .content-half-text-title {
      font-size: 32px;
      padding-bottom: 33px;
      margin-bottom: 30px;
    }
    &.content-half-image-right {
      grid-template-columns: 1fr;
      margin-bottom: 90px;
    }
  }

  /* page-treatment-directions-section */
  .page-treatment-directions-section {
    .directions-section-title {
      font-size: 32px;
    }
    .directions-section-items {
      width: 100%;
    }
  }

  /* page-treatment-appointment-section */
  .page-treatment-appointment-section {
    display: none;
  }

  /* page-treatment-close-section */
  .page-treatment-close-section {
    .close-section-title {
      font-size: 48px;
      margin-bottom: 32px;
    }
    .close-section-blocks {
      row-gap: 30px;
    }
    .close-section-block {
      &:nth-child( 2n+1 ) {
        padding-right: 10px;
      }
      &::after {
        bottom: -36px;
      }
    }
    .close-section-block-header,
    .close-section-block-caption {
      br {
        display: none;
      }
    }
  }

  /* page-treatment-stories-section */
  #stories.page-treatment-stories-section {
    .stories-section-title {
      font-size: 48px;
      padding-bottom: 33px;
      margin-bottom: 30px;

      br {
        display: none;
      }
    }
    .swiper_controls {
      margin-top: 30px;
    }
  }

  /* page-treatment-faq-section */
  .page-treatment-faq-section {
    .faq-section-title {
      font-size: 48px;
      margin-bottom: 32px;
    }
    .faq-section-item {
      &.acc_active {
        .faq-section-item-btn {
          padding-bottom: 16px;
        }
      }
    }
  }

  .header {
    .header__menu-item {
      margin-right: 0;
      margin-left: 0;
    }
  }
}


/* responsive 767 */
@media ( max-width: 767px ) {
  /* podgotovka-page */
  .podgotovka-page {
    font-size: 16px;
    line-height: 1.43;
    margin-top: 30px;
  }

  .podgotovka-title {
    font-size: 45px;
  }

  .podgotovka-delimiter {
    &.size_30 {
      margin-top: 20px;
      margin-bottom: 20px;
    }

    &.size_40 {
      margin-top: 30px;
      margin-bottom: 30px;
    }
  }


  /* podgotovka-content */
  .podgotovka-content {
    ul {
      li {
        padding-left: 16px;

        &::before {
          width: 3px;
          height: 3px;
          top: 12px;
        }

        &:not( :last-child ) {
          margin-bottom: 4px;
        }
      }
    }

    &.podgotovka-content-dms_legal {
      p, ul, ol {
        &:not( :last-child ) {
          margin-bottom: 20px;
        }
      }

      ul {
        li {
          &:not( :last-child ) {
            margin-bottom: 10px;
          }

          &::before {
            top: 10px;
          }
        }
      }
    }
  }


  /* podgotovka-analysis */
  .podgotovka-analysis {
    padding: 30px 30px 40px 30px;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .podgotovka-analysis-title {
    font-size: 32px;
    line-height: normal;
  }

  .podgotovka-analysis-description {
    margin-bottom: 45px;
  }

  .podgotovka-analysis-image {
    position: static;
    width: auto;
    height: 190px;
    object-fit: contain;
  }


  /* podgotovka-diet */
  .podgotovka-diet {
    margin-bottom: 70px;
  }

  .podgotovka-diet-list {
    row-gap: 20px;
  }

  .podgotovka-diet-list-item {
    padding: 40px;
  }

  .podgotovka-diet-list-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .podgotovka-diet-list-svg-container {
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .podgotovka-diet-list-svg {
    transform: scale( .81 );
  }


  /* podgotovka-prepare */
  .podgotovka-prepare {
    padding-top: 70px;
    padding-bottom: 70px;
    margin-bottom: 70px;
  }

  .podgotovka-prepare-list {
    row-gap: 20px;
    margin-bottom: 40px;
  }

  .podgotovka-prepare-list-item {
    padding: 40px;
  }

  .podgotovka-prepare-list-section {
    font-size: 32px;
  }

  .podgotovka-prepare-list-title {
    font-size: inherit;
  }

  .podgotovka-prepare-warning {
    grid-template-columns: 77px auto;
    column-gap: 20px;
    font-size: 20px;
  }


  /* podgotovka-research */
  .podgotovka-research-blocks {
    row-gap: 50px;
  }

  .podgotovka-research-text-title {
    font-size: 20px;
    line-height: 1.55;
  }

  .podgotovka-research-item {
    padding: 30px;
    grid-template-columns: 1fr;
    row-gap: 20px;
    font-size: 20px;
    line-height: 1.25;
  }

  .podgotovka-research-item-icon-container {
    width: 64px;
    height: 64px;
  }

  .podgotovka-research-item-icon {
    transform: scale( .5 );
  }


  /* podgotovka-research-2 */
  .podgotovka-research-2-blocks {
    row-gap: 20px;
  }

  .podgotovka-research-1-item {
    padding: 40px;
  }

  .podgotovka-research-1-item-title {
    font-size: 32px;
    margin-bottom: 20px;

    br {
      display: inline;
    }
  }

  .podgotovka-research-1-item-subtitle {
    color: #000;
    font-size: 16px;
    line-height: 1.43;
  }

  .podgotovka-research-2-footnote {
    margin-top: 30px;
    margin-bottom: 30px;
  }


  /* podgotovka-days */
  .podgotovka-days {
    padding-top: 70px;
    padding-bottom: 70px;
    margin-bottom: 70px;
  }

  .podgotovka-days-list {
    row-gap: 15px;
  }

  .podgotovka-days-list-item {
    padding: 40px;
    grid-template-columns: 1fr;
  }

  .podgotovka-days-list-index,
  .podgotovka-days-list-delimiter {
    display: none;
  }

  .podgotovka-days-list-content {
    margin: 0;
    padding: 0;
  }

  .podgotovka-days-list-title {
    font-size: 24px;
  }

  .podgotovka-days-list-title-index {
    display: inline;
  }

  .podgotovka-days-list-description {
    margin-top: 15px;
  }


  /* podgotovka-text-title */
  .podgotovka-text-title {
    padding-top: 70px;
    padding-bottom: 20px;
  }

  .podgotovka-text-title-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
  }


  /* main-section */
  .main-section {
    margin-bottom: 70px;
  }

  .main-section-header-title {
    font-size: 36px;
  }

  .main-section-header-description {
    font-size: 16px;
    line-height: 1.43;
    margin-bottom: 50px;
  }

  .main-section-header-image {
    height: 255px;
    margin-bottom: 50px;
  }

  .main-section-appointment {
    padding: 40px 30px;

    .page__main-order-title {
      font-size: 31px;
      padding-bottom: 23px;
      margin-bottom: 20px;
    }

    .page__main-order-text {
      font-size: 16px;
      line-height: 1.43;
    }

    form[name="order-footer"] {
      grid-template-columns: 1fr;
    }

    .form__field_half {
      margin-bottom: 0;
    }

    .form__text-input {
      font-size: 16px;
      line-height: 1.56;
    }

    .form__submit-btn {
      font-size: 16px;
      line-height: 1.56;
      margin-bottom: 0;
    }

    .form__field-privacy_link {
      margin-top: 5px;
    }

    .privacy_link {
      font-size: 16px;
    }
  }

  .main-section-extra-items {
    grid-template-columns: 1fr;
    row-gap: 1px;
    padding: 10px 20px;
  }

  .main-section-extra-item {
    position: relative;
    padding: 30px 20px;

    &:first-child {
      padding-left: 20px;
    }

    &:not( :last-child ) {
      &::after {
        display: block;
        left: 0;
        right: 0;
        top: 100%;
        bottom: auto;
        width: auto;
        height: 1px;
      }
    }

    &::before {
      display: none;
    }
  }


  /* text-section */
  .text-section {
    margin-bottom: 70px;
  }

  .text-section-image-src {
    height: 237px;
  }

  .text-section-title {
    font-size: 32px;
  }

  .text-section-description {
    font-size: 16px;
    line-height: 1.43;
    margin-bottom: 40px;
  }

  .text-section-icon-text {
    font-size: 16px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
    margin-bottom: 50px;
  }

  /* page-dms_legal */
  .page-dms_legal-title {
    font-size: 45px;
  }

  .page-dms_legal-description {
    font-size: 18px;
  }

  .page-dms_legal-block-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-dms_legal-block-text {
    font-size: 18px;
  }

  .page-dms_legal-block-text-extra {
    width: auto;
    max-width: 350px;
    padding: 20px 15px;
    font-size: 13px;
  }

  .page-dms_legal-block-text-extra-icon {
    width: 38px;
    height: 38px;
  }

  .page-dms_legal-block-text-extra-icon-src {
    width: 22px;
    height: 22px;
  }

  .page-dms_legal-block-logos {
    grid-template-columns: repeat( 3, 1fr );
    gap: 10px;
  }

  .page-dms_legal-block-logo {
    height: 80px;
    padding: 15px;
  }

  /* page-treatment-main-section */
  .page-treatment-main-section {
    .main-section-title {
      font-size: 36px;
    }
    .main-section-image-container {
      max-height: 240px;
    }
    .main-section-content {
      row-gap: 8px;
      font-size: 16px;
    }
    .main-section-content-container {
      margin-bottom: 70px;
    }
    .main-section-appointment {
      margin-bottom: 70px;
    }
  }

  /* page-treatment-managing-section */
  .page-treatment-managing-section {
    margin-bottom: 70px;

    .managing-section-title {
      font-size: 28px;
    }
    .managing-section-sub-title {
      font-size: 20px;
      margin-bottom: 23px;
    }
    .managing-section-blocks {
      row-gap: 16px;
    }
    .managing-section-block {
      grid-template-columns: 40px auto;
      align-items: start;
    }
    .managing-section-block-image {
      width: 40px;
      height: 40px;
    }
    .managing-section-block-caption {
      font-size: 16px;
    }
  }

  /* content-half-section */
  .content-half-section {
    margin-bottom: 32px;

    .content-half-image-container {
      height: 240px;
    }
    .content-half-text-title {
      font-size: 24px;

      &::after {
        width: 82px;
      }
    }
    .content-half-text {
      row-gap: 8px;
      font-size: 16px;
      line-height: 1.48;

      br {
        display: none;
      }
    }
  }

  /* page-treatment-directions-section */
  .page-treatment-directions-section {
    margin-bottom: 70px;

    .directions-section-title {
      font-size: 24px;
      margin-bottom: 20px;
    }
    .directions-section-items {
      gap: 4px;
    }
    .directions-section-item {
      height: 36px;
      padding-left: 12px;
      padding-right: 12px;
      font-size: 14px;
    }
  }

  /* page-treatment-close-section */
  .page-treatment-close-section {
    margin-bottom: 70px;

    .close-section-title {
      font-size: 36px;
    }
    .close-section-blocks {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 0;
    }
    .close-section-block {
      padding: 32px;
      margin: 0;

      &:nth-child( 2n ) {
        &::before {
          display: none;
        }
      }
      &:nth-child( 2n+1 ) {
        padding: 32px;

        &::after {
          width: calc( 100% - 64px );
        }
      }
      &::after {
        bottom: -1px;
        left: 32px;
        width: calc( 100% - 64px );
      }
    }
    .close-section-blocks-even {
      .close-section-block {
        &:nth-last-child( 2 ) {
          &::after {
            display: block;
          }
        }
      }
    }
  }

  /* page-treatment-stories-section */
  #stories.page-treatment-stories-section {
    margin-bottom: 70px;

    .stories-section-title {
      font-size: 36px;

      &::after {
        width: 82px;
      }
    }
    .stories-section-carousel-slide {
      row-gap: 8px;
      font-size: 16px;
      padding: 24px;
    }
  }

  /* page-treatment-faq-section */
  .page-treatment-faq-section {
    margin-bottom: 90px;

    .faq-section-title {
      font-size: 36px;
    }
    .faq-section-item-btn {
      font-size: 20px;
      column-gap: 10px;
      padding: 20px 16px 20px 20px;
    }
    .faq-section-item-content {
      padding: 0 20px 20px 20px;

      & > * {
        &:not( :last-child ) {
          margin-bottom: 8px;
        }
      }
    }
  }
}
