.mt-page {
  --mt-blue: #5b8def;
  --mt-blue-dark: #3167ce;
  --mt-ink: #2f333b;
  --mt-text: #5f6d82;
  --mt-muted: #9aa8bc;
  --mt-line: #dbe4f2;
  --mt-soft: #f4f7fb;
  --mt-card: #ffffff;
  --mt-radius: 8px;
  --mt-shadow: 0 18px 45px rgba(55, 83, 132, 0.11);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: var(--mt-text);
  font-family: inherit;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
}

body .page-top-info {
  display: none;
}

body.mt-modal-open {
  overflow: hidden;
}

.mt-page *,
.mt-page *::before,
.mt-page *::after {
  box-sizing: border-box;
}

.mt-page a {
  text-decoration: none;
}

.mt-page h1,
.mt-page h2,
.mt-page h3,
.mt-page h4,
.mt-page h5,
.mt-page p {
  margin-top: 0;
}

.mt-page h1,
.mt-page h2,
.mt-page h3,
.mt-page h4,
.mt-page h5 {
  color: var(--mt-ink);
  letter-spacing: 0;
}

.mt-page h1 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: 34px;
  line-height: 1.17;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.mt-page h2 {
  margin-bottom: 32px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
}

.mt-page h3 {
  font-size: 22px;
  line-height: 1.24;
  font-weight: 700;
}

.mt-shell {
  max-width: 1564px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.mt-topline {
  min-height: 143px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 37px;
  position: relative;
  z-index: 0;
}

.mt-topline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f7f7f7;
  z-index: -1;
}

.mt-topline > * {
  position: relative;
  z-index: 1;
}

.mt-topline__main {
  flex: 1 1 auto;
  min-width: 0;
}

.mt-breadcrumb {
  margin-bottom: 4px;
  color: #a8b1c0;
  font-size: 11px;
  line-height: 1.35;
}

.mt-breadcrumb span {
  margin: 0 12px;
}

.mt-topic,
.mt-topic .topic__inner,
.mt-topic .topic__heading {
  margin: 0;
  padding: 0;
}

.mt-topic #pagetitle {
  max-width: none;
  margin: 0;
  color: #333;
  font-size: 42px;
  line-height: calc(1em + 15px);
  font-weight: 500;
  letter-spacing: normal;
}

.mt-language {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid #e9edf5;
  border-radius: 5px;
  background: #fff;
}

.mt-language__item {
  min-width: 46px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: var(--mt-ink);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  background: #fff;
}

.mt-language__item.is-active,
.mt-language__item:hover {
  color: var(--mt-blue);
  background: #e8efff;
}

.mt-hero {
  height: 800px;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
}

.mt-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #b3dddf;
}

.mt-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 744px);
}

.mt-hero__content h1,
.mt-hero__content h2 {
  max-width: 610px;
  margin: 0 0 18px;
  color: #333;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.mt-hero__content p {
  max-width: 610px;
  margin-bottom: 36px;
  color: #4d5a70;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.mt-hero-list {
  max-width: 610px;
  margin: 0;
  padding-left: 20px;
  color: #333;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.mt-hero-list li {
  list-style-type: disc;
  margin-bottom: 8px;
  padding-left: 4px;
  line-height: 1.65;
}

.mt-hero-list li::before {
  content: none !important;
}

.mt-hero-list li::marker {
  color: var(--mt-blue);
  font-size: 1.1em;
}

.mt-page[dir="rtl"] .mt-hero-list {
  padding-right: 18px;
  padding-left: 0;
}

.mt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.mt-primary-btn,
.mt-outline-btn,
.mt-more {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mt-primary-btn {
  width: 100%;
  padding: 0 22px;
  border: 1px solid var(--mt-blue);
  background: var(--mt-blue);
  color: #fff;
}

.mt-primary-btn:hover {
  background: var(--mt-blue-dark);
  color: #fff;
  border-color: var(--mt-blue-dark);
  box-shadow: 0 12px 24px rgba(91, 141, 239, 0.25);
}

.mt-primary-btn--short {
  width: auto;
  min-width: 136px;
}

.mt-outline-btn {
  min-width: 150px;
  padding: 0 22px;
  border: 1px solid var(--mt-blue);
  color: var(--mt-blue-dark);
  background: #fff;
}

.mt-outline-btn:hover {
  background: #eef4ff;
  color: var(--mt-blue-dark);
}

.mt-contract-btn {
  width: max-content;
  min-width: 400px;
  max-width: 100%;
  min-height: 66px;
  padding: 0 34px 0 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid #8fb0ff;
  border-radius: 4px;
  background: transparent;
  color: #608ee6;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mt-contract-btn span {
  white-space: nowrap;
}

.mt-contract-btn i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  background: url("assets/contract-download.svg") center / contain no-repeat;
}

.mt-contract-btn:hover {
  background: #eef4ff;
  color: var(--mt-blue-dark);
}

.mt-hero .mt-primary-btn,
.mt-hero .mt-outline-btn {
  min-height: 60px;
  min-width: 142px;
  padding: 0 32px;
  border-radius: 4px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.mt-hero .mt-outline-btn {
  min-width: 156px;
  border-color: #333b4a;
  background: #333b4a;
  color: #fff;
}

.mt-hero .mt-outline-btn:hover {
  border-color: #252c38;
  background: #252c38;
  color: #fff;
}

.mt-hero__visual {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  width: min(68vw, 1086px);
  z-index: 1;
  overflow: hidden;
}

.mt-hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  background-image: var(--mt-hero-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.mt-hero__bgr {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: 2;
  width: min(72vw, 1291px);
  pointer-events: none;
  background-image: var(--mt-hero-bgr);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
}

.mt-page[dir="rtl"] .mt-hero__visual {
  right: auto;
  left: calc(50% - 50vw);
}

.mt-page[dir="rtl"] .mt-hero__photo {
  background-position: left center;
  transform: scaleX(-1);
}

.mt-page[dir="rtl"] .mt-hero__bgr {
  left: auto;
  right: calc(50% - 50vw);
  background-position: right center;
  transform: scaleX(-1);
}

@media (max-width: 1564px) {
  .mt-hero__photo {
    background-position: right center;
  }

  .mt-hero__bgr {
    left: calc(50% - 50vw - clamp(72px, 8vw, 132px));
    width: min(82vw, 1291px);
  }

  .mt-page[dir="rtl"] .mt-hero__photo {
    background-position: left center;
  }

  .mt-page[dir="rtl"] .mt-hero__bgr {
    left: auto;
    right: calc(50% - 50vw - clamp(72px, 8vw, 132px));
  }
}

@media (max-width: 1366px) {
  .mt-hero__bgr {
    left: calc(50% - 50vw - 96px);
    width: min(88vw, 1291px);
  }

  .mt-page[dir="rtl"] .mt-hero__bgr {
    left: auto;
    right: calc(50% - 50vw - 96px);
  }
}

@media (max-width: 1200px) {
  .mt-hero__bgr {
    left: calc(50% - 50vw - 56px);
    width: 116vw;
  }

  .mt-page[dir="rtl"] .mt-hero__bgr {
    left: auto;
    right: calc(50% - 50vw - 56px);
  }
}

.mt-section {
  padding: 90px 0;
}

.mt-section--muted {
  background: var(--mt-soft);
}

.mt-section--about {
  padding-top: 96px;
  padding-bottom: 106px;
}

.mt-section--doctors {
  padding-top: 88px;
  padding-bottom: 92px;
  background: #fff;
}

.mt-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.mt-section__head h2 {
  margin-bottom: 0;
}

.mt-section__head--compact {
  align-items: flex-start;
}

.mt-about {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(420px, 744px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

.mt-about__content {
  padding-top: 24px;
}

.mt-about__content p {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.55;
}

.mt-about__content strong {
  color: var(--mt-ink);
  font-size: 24px;
}

.mt-about__gallery,
.mt-about-gallery {
  position: relative;
  height: 580px;
}

.mt-about-gallery {
  border-radius: 8px;
  overflow: hidden;
  background-color: #d8e8f7;
  touch-action: pan-y;
  user-select: none;
}

.mt-about-gallery__slide {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: var(--mt-about-image);
  background-repeat: no-repeat;
  background-position: var(--mt-about-position, center);
  background-size: cover;
  transition: opacity 0.24s ease;
}

.mt-about-gallery__slide.is-active {
  opacity: 1;
}

.mt-about-gallery__arrows {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.mt-about-gallery__arrow,
.mt-arrows button,
.mt-room-modal__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e0ef;
  border-radius: 7px;
  background: #fff;
  color: #7c8ba1;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mt-about-gallery__arrow:hover,
.mt-arrows button:hover,
.mt-room-modal__arrow:hover {
  color: #fff;
  border-color: var(--mt-blue);
  background: var(--mt-blue);
}

.mt-advantages {
  display: grid;
  grid-template-columns: minmax(350px, 2.3fr) minmax(200px, 1.1fr) minmax(200px, 1.1fr) repeat(3, minmax(154px, 1fr));
  gap: 0;
  margin-top: 62px;
}

.mt-advantage {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  border-left: 1px solid var(--mt-line);
}

.mt-advantage:first-child {
  border-left: 0;
  padding-left: 0;
}

.mt-advantage:last-child {
  padding-right: 0;
}

.mt-advantage__icon {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  position: relative;
}

.mt-advantage:first-child .mt-advantage__icon {
  width: 24px;
  height: 50px;
  background: url("assets/advantage-pirogov.webp") center / contain no-repeat;
}

.mt-advantage:first-child .mt-advantage__icon::before,
.mt-advantage:first-child .mt-advantage__icon::after {
  content: none;
}

.mt-advantage__icon::before,
.mt-advantage__icon::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 15px;
  height: 52px;
  border-radius: 3px;
  background: linear-gradient(#cc2538, #f2f2f2);
  transform: rotate(-18deg);
}

.mt-advantage__icon::after {
  left: 20px;
  background: linear-gradient(#7b8798, #fff);
  transform: rotate(18deg);
}

.mt-advantage strong {
  display: block;
  color: var(--mt-blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  white-space: nowrap;
}

.mt-advantage span:not(.mt-advantage__icon) {
  display: block;
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.mt-advantage:first-child strong {
  max-width: none;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.mt-advantage:first-child span:not(.mt-advantage__icon) {
  margin-top: 2px;
  color: var(--mt-ink);
  font-size: 16px;
  line-height: 1.2;
}

.mt-reasons {
  margin-top: 64px;
}

.mt-reasons h2 {
  margin: 0 0 28px;
  color: var(--mt-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
}

.mt-reasons__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.mt-reason {
  min-height: 172px;
  padding: 22px 22px 20px;
  border-radius: 4px;
  background: #eaf2ff;
}

.mt-reason__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 3px;
  background: var(--mt-blue);
  color: #fff;
}

.mt-reason__icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.mt-reason__icon--room::before {
  background-image: url("assets/reason-bed.svg");
}

.mt-reason__icon--service::before {
  background-image: url("assets/reason-stethoscope.svg");
}

.mt-reason__icon--work::before {
  background-image: url("assets/reason-laptop.svg");
}

.mt-reason__icon--privacy::before {
  background-image: url("assets/reason-floor-lamp.svg");
}

.mt-reason__icon--care::before {
  background-image: url("assets/reason-volunteer.svg");
}

.mt-reason h5 {
  margin: 0 0 10px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.mt-reason p {
  margin: 0;
  color: #5f6d82;
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 1550px) {
  .mt-reasons h2 {
    font-size: 42px;
  }
}

@media (min-width: 1201px) and (max-width: 1549px) {
  .mt-advantages {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .mt-advantages::-webkit-scrollbar {
    display: none;
  }

  .mt-advantage {
    min-height: 110px;
    min-width: 210px;
    flex: 0 0 210px;
    padding: 0 26px;
  }

  .mt-advantage strong {
    font-size: 42px;
  }

  .mt-advantage:first-child {
    min-width: 414px;
    flex-basis: 414px;
    gap: 12px;
    border-left: 0;
  }

  .mt-advantage:first-child strong {
    font-size: 42px;
  }
}

.mt-search {
  height: 62px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 96px;
  align-items: center;
  margin-bottom: 34px;
  border: 1px solid var(--mt-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.mt-search__icon {
  width: 20px;
  height: 20px;
  margin-left: 25px;
  border: 3px solid var(--mt-blue);
  border-radius: 50%;
  position: relative;
}

.mt-search__icon::after {
  content: "";
  width: 10px;
  height: 3px;
  position: absolute;
  right: -8px;
  bottom: -4px;
  border-radius: 3px;
  background: var(--mt-blue);
  transform: rotate(45deg);
}

.mt-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--mt-ink);
  font-size: 16px;
}

.mt-search__button {
  height: 48px;
  margin-right: 8px;
  border: 0;
  border-radius: 5px;
  background: #4a5568;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mt-tabs-shell {
  position: relative;
  z-index: 3;
}

.mt-tabs-toggle {
  display: none;
}

.mt-tabs {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: -34px;
  padding-bottom: 34px;
  position: relative;
  z-index: 1;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  overscroll-behavior-block: none;
}

.mt-tabs::-webkit-scrollbar {
  display: none;
}

.mt-tab {
  flex: 1 0 180px;
  min-height: 43px;
  align-self: flex-start;
  padding: 10px 20px 8px;
  border: 1px solid var(--mt-blue);
  border-radius: 6px;
  background: #eaf2ff;
  color: var(--mt-text);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.mt-tab.is-active {
  min-height: 54px;
  background: var(--mt-blue);
  color: #fff;
  border-radius: 6px 6px 0 0;
  z-index: 1;
}

.mt-treatment {
  padding: 28px;
  border-radius: 0 0 8px 8px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.mt-treatment.is-searching {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mt-treatment__panel {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mt-treatment__panel.is-active {
  display: grid;
}

.mt-treatment__panel.is-searching {
  display: grid;
}

.mt-treatment.is-searching .mt-treatment__panel {
  display: contents;
}

.mt-treatment-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid transparent;
}

.mt-treatment-card.is-extra {
  display: none;
}

.mt-treatment-card.is-hidden {
  display: none;
}

.mt-treatment-card h3 {
  margin-bottom: 18px;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 500;
}

.mt-treatment-card p,
.mt-treatment-card__text {
  margin-bottom: 24px;
  color: var(--mt-text);
  font-size: 15px;
}

.mt-treatment-card h4 {
  margin-bottom: 8px;
  color: var(--mt-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}

.mt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 22px;
}

.mt-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: #e4efff;
  color: var(--mt-blue-dark);
  font-size: 13px;
}

.mt-price {
  margin-bottom: 18px;
  color: var(--mt-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  white-space: nowrap;
}

.mt-treatment-card .mt-primary-btn {
  min-height: 40px;
  border-radius: 4px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.mt-more {
  width: max-content;
  display: flex;
  min-width: 178px;
  margin: 28px auto 0;
  padding: 0 24px;
  border: 1px solid var(--mt-blue);
  color: var(--mt-blue-dark);
  background: #fff;
}

.mt-more.is-hidden {
  display: none;
}

.mt-arrows {
  display: flex;
  gap: 10px;
  padding-top: 6px;
}

.mt-arrows button {
  appearance: none;
}

.mt-scroller {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.mt-scroller::-webkit-scrollbar {
  display: none;
}

.mt-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 24px;
}

.mt-doctor,
.mt-room,
.mt-review {
  min-width: 0;
  scroll-snap-align: start;
}

.mt-doctor.is-extra {
  display: none;
}

.mt-doctor__photo {
  aspect-ratio: 270 / 315;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #e6ebf2;
}

.mt-doctor__photo img,
.mt-doctor__image {
  width: 100%;
  height: 100%;
  display: block;
}

.mt-doctor__photo img {
  object-fit: cover;
  object-position: center center;
  background: #d7d7d7;
}

.mt-doctor__image {
  background-color: #d7d7d7;
  background-image: var(--mt-doctor-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.mt-doctor__photo--noimage .mt-doctor__image,
.mt-doctor-modal__photo--noimage .mt-doctor__image {
  background-color: #f7f7f7;
  background-size: contain;
}

.mt-doctor__photo--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e6edf6, #f7faff);
}

.mt-doctor__photo--placeholder span {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mt-blue);
  font-size: 42px;
  font-weight: 800;
}

.mt-doctor__hover {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--mt-blue);
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mt-doctor:hover .mt-doctor__hover,
.mt-doctor:focus-within .mt-doctor__hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mt-doctor h3 {
  margin: 20px 0 6px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: 0;
}

.mt-doctor p {
  margin: 0 0 8px;
  color: var(--mt-ink);
  font-size: 13px;
  line-height: 1.35;
}

.mt-doctor p strong {
  font-weight: 500;
}

.mt-doctor__post {
  color: #91a0b5 !important;
  margin-bottom: 13px !important;
  font-size: 16px !important;
  line-height: 1.4;
}

.mt-doctors-more {
  margin-top: 38px;
}

.mt-center {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.mt-room,
.mt-review {
  min-height: 410px;
  padding: 24px;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: #fff;
}

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

.mt-room {
  position: relative;
  min-height: 548px;
  display: flex;
  flex-direction: column;
}

.mt-room__label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--label-color);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

.mt-page[dir="rtl"] .mt-room__label {
  left: auto;
  right: 24px;
}

.mt-room__image {
  height: 236px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  padding: 24px 18px 34px;
  position: relative;
  overflow: hidden;
  border: 1px solid #edf2f8;
  border-radius: 6px;
  background: transparent;
  touch-action: pan-y;
  user-select: none;
}

.mt-room__image::after {
  content: none;
}

.mt-room__image img,
.mt-room__picture {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.mt-room__image img {
  object-fit: contain;
}

.mt-room__picture {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-image: var(--mt-room-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.mt-room-gallery__ghost {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
  background-image: var(--mt-room-ghost-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 1;
  transform: translateX(0);
  pointer-events: none;
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.mt-room-gallery__ghost.is-out {
  opacity: 0;
  transform: translateX(var(--mt-room-ghost-shift, -18px));
}

.mt-room__dots {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.mt-room__dots::-webkit-scrollbar {
  display: none;
}

.mt-room__dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  flex: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dbe5f2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mt-room__dot:first-child {
  margin-left: auto;
}

.mt-room__dot:last-child {
  margin-right: auto;
}

.mt-room__dot.is-active,
.mt-room__dot:hover {
  background: var(--mt-blue);
  transform: scale(1.12);
}

.mt-room__plan {
  width: 210px;
  height: 120px;
  display: block;
  border-radius: 8px;
  background:
    linear-gradient(30deg, transparent 0 18%, #d8e1ec 19% 23%, transparent 24%),
    linear-gradient(150deg, transparent 0 22%, #d8e1ec 23% 28%, transparent 29%),
    repeating-linear-gradient(90deg, #dff2f6 0 28px, #fff 29px 48px);
  border: 12px solid #f0e8d7;
  transform: skewY(-8deg);
  box-shadow: 0 18px 22px rgba(98, 120, 144, 0.12);
}

.mt-room dl {
  margin: 0 0 18px;
}

.mt-room dl div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.mt-room dt {
  color: var(--mt-muted);
  font-size: 13px;
  font-weight: 400;
}

.mt-room dd {
  margin: 0;
  color: var(--mt-ink);
  font-size: 16px;
}

.mt-room h3 {
  margin-bottom: 18px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.mt-room .mt-primary-btn,
.mt-room__more {
  width: auto;
  margin-top: auto;
  align-self: flex-start;
}

.mt-room summary {
  color: var(--mt-blue-dark);
  cursor: pointer;
  font-weight: 700;
}

.mt-room ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.mt-room-modal[hidden] {
  display: none;
}

.mt-room-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 48px;
}

.mt-room-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(54, 63, 82, 0.28);
}

.mt-room-modal__dialog {
  width: min(100%, 1500px);
  max-height: min(880px, calc(100vh - 96px));
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 54px 54px 58px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(39, 54, 84, 0.18);
}

.mt-room-modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #8997aa;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.mt-room-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.mt-room-modal__top h3 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
}

.mt-room-modal__label {
  position: static;
  flex: 0 0 auto;
}

.mt-room-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 36px;
}

.mt-room-modal__gallery {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  touch-action: pan-y;
  user-select: none;
}

.mt-room-modal__image {
  width: 100%;
  aspect-ratio: 760 / 540;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid #edf2f8;
  border-radius: 4px;
  background-color: transparent;
  background-image: var(--mt-room-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.mt-room-modal__thumbs {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.mt-room-modal__thumb-track {
  min-width: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.mt-room-modal__thumb-track::-webkit-scrollbar {
  display: none;
}

.mt-room-modal__thumb {
  width: 44px;
  height: 42px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid #edf2f8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.mt-room-modal__thumb span {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--mt-room-image) center / contain no-repeat;
}

.mt-room-modal__thumb.is-active,
.mt-room-modal__thumb:hover {
  opacity: 1;
  border-color: #b7c9ec;
}

.mt-room-modal__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mt-room-modal__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 44px;
  margin: 0 0 26px;
}

.mt-room-modal__specs div {
  min-width: 0;
}

.mt-room-modal__specs dt {
  color: var(--mt-muted);
  font-size: 14px;
  line-height: 1.35;
}

.mt-room-modal__specs dd {
  margin: 4px 0 0;
  color: var(--mt-ink);
  font-size: 17px;
  line-height: 1.4;
}

.mt-room-modal__features {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--mt-ink);
  font-size: 16px;
  line-height: 1.35;
}

.mt-room-modal__features span {
  display: block;
}

.mt-room-modal__text {
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.55;
}

.mt-room-modal__details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.mt-room-modal__details div {
  min-width: 0;
}

.mt-room-modal__details dt {
  color: var(--mt-muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.mt-room-modal__details dd {
  margin: 3px 0 0;
  color: var(--mt-ink);
  font-size: 16px;
  line-height: 1.42;
}

.mt-room-modal__text h3,
.mt-room-modal__text h4,
.mt-room-modal__text h5,
.mt-room-modal__text h6 {
  margin: 0 0 4px;
  color: var(--mt-muted);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.mt-room-modal__text h3:not(:first-child),
.mt-room-modal__text h4:not(:first-child),
.mt-room-modal__text h5:not(:first-child),
.mt-room-modal__text h6:not(:first-child) {
  margin-top: 12px;
}

.mt-room-modal__text p {
  margin: 0;
  color: var(--mt-ink);
  font-size: 16px;
  line-height: 1.42;
}

.mt-room-modal__text p + p {
  margin-top: 8px;
}

.mt-room-modal__content .mt-primary-btn {
  width: 200px;
  margin-top: 34px;
  align-self: flex-end;
}

.mt-doctor-modal__body {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 42px;
  align-items: start;
}

.mt-doctor-modal__photo {
  width: 100%;
  aspect-ratio: 520 / 600;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #e6ebf2;
}

.mt-doctor-modal__photo .mt-doctor__image {
  width: 100%;
  height: 100%;
  display: block;
  background-position: center center;
  background-size: cover;
}

.mt-doctor-modal__content {
  min-width: 0;
}

.mt-doctor-modal__details {
  margin-bottom: 26px;
}

.mt-doctor-modal__text {
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.65;
}

.mt-doctor-modal__text p,
.mt-doctor-modal__text li {
  font-size: 16px;
  line-height: 1.65;
}

.mt-doctor-modal__text ul,
.mt-doctor-modal__text ol {
  margin: 0;
  padding: 0;
}

@media (min-width: 901px) {
  .mt-doctor-modal .mt-room-modal__dialog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .mt-doctor-modal .mt-room-modal__top {
    flex: 0 0 auto;
  }

  .mt-doctor-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .mt-doctor-modal__content {
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding-right: 12px;
  }
}

.mt-doctor-modal__text p:last-child,
.mt-doctor-modal__text ul:last-child,
.mt-doctor-modal__text ol:last-child {
  margin-bottom: 0;
}

.mt-request-modal[hidden] {
  display: none;
}

.mt-request-modal {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.mt-request-modal__dialog {
  width: min(100%, 560px);
  max-height: calc(100vh - 64px);
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 42px 42px 36px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(39, 54, 84, 0.22);
}

.mt-request-modal__dialog h2 {
  margin: 0 40px 14px 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 500;
}

.mt-request-modal__dialog > p {
  margin: 0 0 24px;
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.5;
}

.mt-request-modal__context {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #edf4ff;
  color: var(--mt-ink);
  font-size: 14px;
  line-height: 1.45;
}

.mt-request-form {
  display: grid;
  gap: 14px;
}

.mt-request-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--mt-muted);
  font-size: 13px;
  line-height: 1.3;
}

.mt-request-form input[type="text"],
.mt-request-form input[type="email"],
.mt-request-form input[type="tel"],
.mt-request-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--mt-line);
  border-radius: 6px;
  background: #fff;
  color: var(--mt-ink);
  font: 400 15px/1.35 Montserrat, Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt-request-form textarea {
  min-height: 110px;
  resize: vertical;
}

.mt-request-form input:focus,
.mt-request-form textarea:focus {
  border-color: var(--mt-blue);
  box-shadow: 0 0 0 3px rgba(92, 137, 225, 0.14);
}

.mt-request-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.mt-request-form__consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px !important;
  color: var(--mt-text) !important;
  font-size: 13px !important;
}

.mt-request-form__consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--mt-blue);
}

.mt-request-form__consent a {
  color: var(--mt-blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mt-request-form__consent a:hover {
  color: var(--mt-blue);
}

.mt-request-form__captcha {
  display: grid;
  gap: 7px;
  color: var(--mt-muted);
  font-size: 13px;
  line-height: 1.3;
}

.mt-request-form__captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.mt-request-form__captcha img {
  width: 180px;
  height: 40px;
  display: block;
  border: 1px solid var(--mt-line);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.mt-request-form__captcha-refresh {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--mt-blue);
  border-radius: 6px;
  background: #fff;
  color: var(--mt-blue);
  font: 500 13px/1.2 Montserrat, Arial, sans-serif;
  cursor: pointer;
}

.mt-request-form__captcha-refresh:hover {
  background: #edf4ff;
}

.mt-request-form__status {
  min-height: 20px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.4;
}

.mt-request-form__status.is-success {
  color: #1d7f45;
}

.mt-request-form__status.is-error {
  color: #b42318;
}

.mt-request-form .mt-primary-btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  cursor: pointer;
}

.mt-request-form.is-sending .mt-primary-btn {
  opacity: 0.72;
  pointer-events: none;
}

.mt-review {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  max-height: 330px;
}

.mt-review h3 {
  margin-bottom: 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.mt-review time {
  display: block;
  margin-bottom: 24px;
  color: #8ba0bd;
}

.mt-review__preview {
  display: -webkit-box;
  max-height: 116px;
  margin-bottom: 26px;
  overflow: hidden;
  color: var(--mt-text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.mt-review .mt-primary-btn {
  margin-top: auto;
  border: 0;
  cursor: pointer;
}

.mt-review-modal[hidden] {
  display: none;
}

.mt-review-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: grid;
  place-items: center;
  padding: 48px;
}

.mt-review-modal__dialog {
  width: min(100%, 860px);
  max-height: min(820px, calc(100vh - 96px));
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 42px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(39, 54, 84, 0.2);
}

.mt-review-modal__dialog h3 {
  margin: 0 48px 10px 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 500;
}

.mt-review-modal__dialog time {
  display: block;
  margin-bottom: 24px;
  color: #8ba0bd;
  font-size: 14px;
}

.mt-review-modal__text {
  color: var(--mt-text);
  font-size: 16px;
  line-height: 1.65;
}

.mt-review-modal__text p {
  margin: 0 0 16px;
}

.mt-review-modal__text p:last-child {
  margin-bottom: 0;
}

.mt-review-modal__text a {
  color: var(--mt-blue);
}

.mt-section--contacts {
  --mt-contacts-map-offset: 80px;
  padding: 80px 0 0;
  background: var(--mt-soft);
}

.mt-section--contacts h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.mt-section--contacts .mt-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(680px, 1.22fr);
  grid-template-rows: auto auto;
  align-items: stretch;
  column-gap: 56px;
  row-gap: 0;
}

.mt-contacts {
  display: contents;
  margin-top: 30px;
}

.mt-contacts__content {
  grid-column: 1;
  grid-row: 2;
  padding: 34px 0 0;
}

.mt-contacts__group {
  margin-bottom: 28px;
}

.mt-contacts__group h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.mt-contact-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.mt-contact-line a {
  color: inherit;
  transition: color 0.2s ease;
}

.mt-contact-line a:hover {
  color: var(--mt-blue);
}

.mt-contact-route {
  display: block;
}

.mt-contact-route strong,
.mt-contact-route span {
  display: block;
}

.mt-contact-route strong {
  color: var(--mt-ink);
  font-weight: 700;
}

.mt-contact-line i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -6px;
  border-radius: 4px;
  background: #fff;
  color: var(--mt-blue);
  box-shadow: inset 0 0 0 1px #e2ebff;
  font-style: normal;
  position: relative;
}

.mt-contact-line i::before {
  font-family: FontAwesome;
  font-size: 17px;
  line-height: 1;
}

.mt-contact-icon--address::before {
  content: "\f041";
}

.mt-contact-icon--phone::before {
  content: "\f10b";
  font-size: 22px;
}

.mt-contact-icon--time::before {
  content: "\f017";
}

.mt-contact-icon--email::before {
  content: "\f003";
  font-size: 16px;
}

.mt-contact-icon--car::before {
  content: "\f1b9";
}

.mt-contact-icon--bus::before {
  content: "\f207";
}

.mt-contacts__map {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  width: 100%;
  height: calc(100% + var(--mt-contacts-map-offset));
  min-height: 640px;
  margin-top: calc(-1 * var(--mt-contacts-map-offset));
  overflow: hidden;
  background: transparent;
}

.mt-contacts__map iframe,
.mt-contacts__map > div,
.mt-contacts__map > ymaps {
  width: 100%;
  height: 100% !important;
  min-height: 100% !important;
  display: block;
  border: 0;
}

.mt-section--faq {
  background: #fff;
}

.mt-faq {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.mt-faq h3 {
  display: none;
}

.mt-faq__item {
  overflow: hidden;
  border: 1px solid #dfe9f8;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt-faq__item.is-open {
  border-color: #d9e6f8;
  box-shadow: 0 8px 24px rgba(83, 122, 184, 0.05);
}

.mt-faq__question {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 0 24px;
  border: 0;
  background: #fff;
  color: var(--mt-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.mt-page[dir="rtl"] .mt-faq__question {
  text-align: right;
}

.mt-faq__question span {
  padding: 15px 0;
}

.mt-faq__question i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #eaf2ff;
  flex: 0 0 auto;
  font-style: normal;
}

.mt-faq__question i::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-right: 2px solid var(--mt-blue);
  border-bottom: 2px solid var(--mt-blue);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.mt-faq__answer {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  color: var(--mt-text);
  font-size: 14px;
  line-height: 1.55;
  transition: max-height 0.25s ease, border-color 0.25s ease;
}

.mt-faq__answer-inner {
  padding: 18px 24px 24px;
}

.mt-faq__answer-inner p {
  margin: 0 0 14px;
}

.mt-faq__answer-inner p:last-child,
.mt-faq__answer-inner ul:last-child {
  margin-bottom: 0;
}

.mt-faq__answer-inner ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.mt-faq__answer-inner li {
  margin: 0 0 7px;
  padding-left: 4px;
}

.mt-faq__answer-inner li::marker {
  color: var(--mt-blue);
}

.mt-faq__item.is-open .mt-faq__answer {
  max-height: 620px;
  border-top-color: #edf2f8;
}

.mt-faq__item.is-open .mt-faq__question i::before {
  transform: translateY(2px) rotate(225deg);
}

.mt-empty {
  padding: 32px;
  border: 1px dashed var(--mt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--mt-text);
  text-align: center;
}

@media (max-width: 1200px) {
  .mt-about,
  .mt-contacts {
    grid-template-columns: 1fr;
  }

  .mt-section--contacts .mt-shell {
    display: block;
  }

  .mt-contacts {
    display: grid;
    margin-top: 30px;
  }

  .mt-contacts__content,
  .mt-contacts__map {
    grid-column: auto;
    grid-row: auto;
  }

  .mt-contacts__content {
    padding: 28px 0 40px;
  }

  .mt-contacts__map,
  .mt-contacts__map iframe,
  .mt-contacts__map > div,
  .mt-contacts__map > ymaps {
    height: 420px;
    min-height: 420px;
  }

  .mt-contacts__map {
    margin-top: 0;
  }

  .mt-hero {
    height: auto;
    min-height: 0;
    display: block;
    padding: 42px 0 0;
  }

  .mt-hero__content {
    padding-bottom: 32px;
  }

  .mt-hero__visual {
    width: 100vw;
    height: 360px;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: calc(50% - 50vw);
  }

  .mt-hero__bgr {
    left: calc(50% - 50vw - 56px);
    width: 116vw;
    background-position: left top;
  }

  .mt-about__gallery,
  .mt-about-gallery {
    height: 360px;
  }

  .mt-advantages {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }

  .mt-advantages::-webkit-scrollbar {
    display: none;
  }

  .mt-advantage {
    min-height: 110px;
    min-width: 190px;
    flex: 0 0 190px;
    padding: 0 20px;
    border-top: 0;
    border-left: 1px solid var(--mt-line);
  }

  .mt-advantage:first-child {
    min-width: 318px;
    flex-basis: 318px;
    border-left: 0;
  }

  .mt-advantage strong {
    font-size: 34px;
  }

  .mt-advantage:first-child strong {
    font-size: 26px;
    line-height: 1.05;
  }

  .mt-reasons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .mt-reason {
    min-height: 156px;
    display: block;
    padding: 18px 18px 16px;
  }

  .mt-reason__icon {
    margin-bottom: 18px;
  }

  .mt-reason h5 {
    margin-bottom: 8px;
  }

  .mt-reason p {
    font-size: 13px;
  }

  .mt-treatment.is-searching,
  .mt-treatment__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mt-doctors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mt-scroller {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .mt-room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mt-room-modal__body {
    grid-template-columns: 1fr;
  }

  .mt-room-modal {
    padding: 28px;
  }

  .mt-room-modal__dialog {
    max-height: calc(100vh - 56px);
    padding: 42px 34px;
  }
}

@media (max-width: 900px) {
  .mt-tabs-toggle {
    width: 100%;
    min-height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 16px;
    border: 1px solid var(--mt-blue);
    border-radius: 4px;
    background: #fff;
    color: var(--mt-ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .mt-tabs-toggle span {
    min-width: 0;
  }

  .mt-tabs-toggle i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-right: 2px solid var(--mt-blue);
    border-bottom: 2px solid var(--mt-blue);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .mt-tabs-shell.is-open .mt-tabs-toggle {
    border-radius: 4px 4px 0 0;
  }

  .mt-tabs-shell.is-open .mt-tabs-toggle i {
    transform: translateY(2px) rotate(225deg);
  }

  .mt-tabs {
    display: none;
    gap: 0;
    flex-direction: column;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    border: 1px solid var(--mt-blue);
    border-radius: 0 0 4px 4px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(73, 103, 158, 0.12);
  }

  .mt-tabs-shell.is-open .mt-tabs {
    display: flex;
  }

  .mt-tab {
    width: 100%;
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid #9ab8f7;
    border-radius: 0;
    background: #fff;
    color: var(--mt-text);
    text-align: left;
  }

  .mt-page[dir="rtl"] .mt-tab,
  .mt-page[dir="rtl"] .mt-tabs-toggle {
    text-align: right;
  }

  .mt-tab:last-child {
    border-bottom: 0;
  }

  .mt-tab.is-active {
    display: none;
  }

  .mt-doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .mt-doctor-modal__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mt-doctor-modal__photo {
    max-width: 520px;
  }

}

@media (max-width: 720px) {
  .mt-shell {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mt-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .mt-language {
    justify-content: flex-start;
    margin-top: 0;
  }

  .mt-topic #pagetitle {
    overflow-wrap: normal;
    word-break: normal;
  }

  .mt-page h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .mt-page h2 {
    font-size: 24px;
  }

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

  .mt-doctor__hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mt-reasons h2 {
    font-size: 22px;
  }

  .mt-reasons__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mt-reason {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 4px 14px;
    padding: 14px 16px;
  }

  .mt-reason__icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .mt-reason h5 {
    margin-bottom: 0;
  }

  .mt-reason p {
    font-size: 12px;
  }

  .mt-advantage {
    min-height: 96px;
    min-width: 196px;
    flex-basis: 196px;
    padding: 0 18px;
  }

  .mt-advantage:first-child {
    min-width: 230px;
    flex-basis: 230px;
  }

  .mt-advantage strong {
    font-size: 32px;
  }

  .mt-advantage:first-child strong {
    font-size: 18px;
    line-height: 1.05;
  }

  .mt-advantage:first-child span:not(.mt-advantage__icon) {
    font-size: 16px;
    line-height: 1.25;
  }

  .mt-hero {
    padding: 34px 0 0;
  }

  .mt-hero__content {
    padding-bottom: 26px;
  }

  .mt-hero__content p {
    font-size: 14px;
  }

  .mt-hero__visual {
    display: none;
  }

  .mt-hero__bgr {
    left: calc(50% - 50vw - 34px);
    width: 122vw;
  }

  .mt-section {
    padding: 56px 0;
  }

  .mt-section__head {
    align-items: stretch;
    flex-direction: column;
  }

  .mt-contract-btn {
    min-width: 0;
    width: max-content;
    min-height: 24px;
    padding: 0;
    gap: 12px;
    border: 0;
    font-size: 14px;
  }

  .mt-advantages,
  .mt-treatment.is-searching,
  .mt-treatment__panel,
  .mt-tabs {
    grid-template-columns: 1fr;
  }

  .mt-search {
    height: 58px;
    grid-template-columns: 46px minmax(0, 1fr) 72px;
    padding: 0;
    margin-bottom: 26px;
  }

  .mt-search__icon {
    width: 18px;
    height: 18px;
    margin-left: 18px;
    border-width: 2px;
  }

  .mt-search__icon::after {
    width: 9px;
    height: 2px;
    right: -7px;
    bottom: -4px;
  }

  .mt-search input {
    min-width: 0;
    font-size: 14px;
  }

  .mt-search__button {
    grid-column: auto;
    width: auto;
    min-width: 64px;
    height: 40px;
    margin: 0 5px 0 0;
    font-size: 13px;
  }

  .mt-page[dir="rtl"] .mt-search__button {
    margin: 0 0 0 5px;
  }

  .mt-treatment {
    padding: 14px;
  }

  .mt-scroller {
    grid-auto-columns: 86%;
  }

  .mt-doctor__photo {
    aspect-ratio: 270 / 315;
  }

  .mt-room__image {
    height: 220px;
  }

  .mt-room-modal {
    padding: 16px;
  }

  .mt-room-modal__dialog {
    max-height: calc(100vh - 32px);
    padding: 34px 18px 28px;
  }

  .mt-room-modal__top {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .mt-room-modal__label {
    order: -1;
  }

  .mt-room-modal__top h3 {
    font-size: 28px;
  }

  .mt-room-modal__specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mt-room-modal__specs div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }

  .mt-room-modal__specs dd {
    margin-top: 0;
  }

  .mt-room-modal__details {
    gap: 11px;
  }

  .mt-room-modal__thumbs {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 7px;
  }

  .mt-room-modal__thumb-track {
    gap: 7px;
  }

  .mt-room-modal__content .mt-primary-btn {
    width: 100%;
    align-self: stretch;
    margin-top: 28px;
  }

  .mt-request-modal {
    align-items: flex-start;
    padding: 16px;
  }

  .mt-request-modal__dialog {
    max-height: calc(100vh - 32px);
    padding: 34px 18px 28px;
  }

  .mt-request-modal__dialog h2 {
    font-size: 26px;
  }

  .mt-review-modal {
    padding: 16px;
  }

  .mt-review-modal__dialog {
    max-height: calc(100vh - 32px);
    padding: 34px 18px 28px;
  }

  .mt-review-modal__dialog h3 {
    font-size: 24px;
  }

  .mt-section--contacts {
    padding-top: 54px;
  }

  .mt-contacts__content {
    padding: 24px 0 32px;
  }

  .mt-contacts__map,
  .mt-contacts__map iframe,
  .mt-contacts__map > div,
  .mt-contacts__map > ymaps {
    height: 400px;
    min-height: 400px;
  }

  .mt-contacts__map {
    margin-top: 0;
  }
}

@media (max-width: 720px) and (orientation: portrait) {
  .mt-room-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 86vw);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    margin-right: -15px;
    padding-right: 15px;
    padding-bottom: 8px;
  }

  .mt-room-grid::-webkit-scrollbar {
    display: none;
  }

  .mt-room-grid .mt-room {
    scroll-snap-align: start;
  }

  .mt-advantages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 30px;
    margin-top: 48px;
    overflow: visible;
  }

  .mt-advantage {
    min-width: 0;
    min-height: 0;
    flex: initial;
    display: block;
    padding: 0;
    border-left: 0;
  }

  .mt-advantage:first-child {
    min-width: 0;
    flex-basis: auto;
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .mt-advantage:first-child .mt-advantage__icon {
    width: 34px;
    height: 68px;
  }

  .mt-advantage strong {
    font-size: 30px;
    line-height: 1.15;
  }

  .mt-advantage:first-child strong {
    font-size: 28px;
    line-height: 1.1;
  }

  .mt-advantage span:not(.mt-advantage__icon),
  .mt-advantage:first-child span:not(.mt-advantage__icon) {
    font-size: 16px;
    line-height: 1.3;
  }

  .mt-advantage:nth-child(6) {
    grid-column: 1;
  }
}

@media (hover: none) {
  .mt-doctor__hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .mt-topic #pagetitle {
    font-size: 2em;
    line-height: calc(1em + 6px);
  }
}

@media (min-width: 381px) and (max-width: 680px) {
  .mt-doctor h3 {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .mt-page h2 {
    font-size: 18px;
  }

  .mt-doctor h3 {
    font-size: 15px;
  }
}
