

/* Start:/bitrix/templates/phlebocentr/styles.css?1794315589168754*/
.snowflakes {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  inset: 0;
}
.snowflake {
  position: absolute;
  top: -20px;
  color: #a8d4f0;
  user-select: none;
  will-change: transform;
  animation: fall linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7), 0 2px 4px rgba(100, 150, 200, 0.3);
  filter: drop-shadow(0 0 2px rgba(150, 200, 255, 0.5));
  z-index: 5;
}
a,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
article,
button,
input,
label,
li,
.ny-schedule-banner__schedule .ny-schedule-banner__row div,
.ny-schedule-banner__badge {
  position: relative;
  z-index: 101;
}
/* Якорная прокрутка: при скролле появляется липкая шапка (~70-76px),
   поэтому докручиваем цель с запасом на её высоту + воздух */
[id] {
  scroll-margin-top: 95px;
}
/* Разные типы снежинок */
.snowflake.type-1::before {
  content: "❄";
}
.snowflake.type-2::before {
  content: "❅";
}
.snowflake.type-3::before {
  content: "❆";
}
.snowflake.type-4::before {
  content: "✦";
}
.snowflake.type-5::before {
  content: "•";
}
/* Основная анимация падения */
@keyframes fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0.3;
  }
}
/* Горизонтальное покачивание */
@keyframes sway {
  0%,
  100% {
    margin-left: 0;
  }
  25% {
    margin-left: 15px;
  }
  75% {
    margin-left: -15px;
  }
}
/* Применяем покачивание */
.snowflake.sway-1 {
  animation: fall linear infinite, sway 3s ease-in-out infinite;
}
.snowflake.sway-2 {
  animation: fall linear infinite, sway 4s ease-in-out infinite;
}
.snowflake.sway-3 {
  animation: fall linear infinite, sway 5s ease-in-out infinite;
}
/* Демо-контент */
.demo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #4a7c9b;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.demo-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
}
.demo-content p {
  font-size: 1.2rem;
  opacity: 0.7;
}
.b-cst-main__content {
  grid-template-columns: repeat(2, 1fr) !important;
}
body {
  --bs-body-font-size: 16px;
  color: #000000;
}
body a {
  color: #1345A4;
}
body {
  overflow-x: hidden;
}
@media (max-width: 500px) {
  .container {
    overflow: visible;
  }
}
.codename {
  color: #6f6f6f;
  font-weight: 300;
  font-size: 0.7em !important;
  font-family: 'Montserrat', sans-serif;
  display: block;
}
#blind-panel {
  display: none;
  position: relative;
  background: #cbcbcb;
  padding: 14px 0 25px 0;
  border-bottom: 1px solid #999;
  font-weight: 700;
  z-index: 11;
}
#blind-panel .eyed-panel__item-title {
  color: #000;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 21px;
}
#blind-panel .eyed-panel__item-line .btn-light {
  font-weight: bold;
  border: 3px solid transparent;
  border-radius: 5px;
  margin-right: 8px;
  line-height: 1;
}
#blind-panel .eyed-panel__item-line .btn-light .blind-colors-yellowblack {
  background: #000;
  color: #FFFF00;
  display: block;
  padding: 0.155rem 0.75rem 0.575rem;
}
#blind-panel .eyed-panel__item-line .btn-light .blind-colors-blackblue {
  background-color: #9fd7ff;
  color: #133c58;
  display: block;
  padding: 0.155rem 0.75rem 0.575rem;
}
#blind-panel .eyed-panel__item-line .btn-light .blind-colors-blackwhite {
  display: block;
  padding: 0.155rem 0.75rem 0.575rem;
}
#blind-panel .eyed-panel__item-line .btn-check:checked + .btn-light {
  border: 3px solid #000;
  border-radius: 5px;
  background: #f8f9fa;
}
/* Кнопка «Версия для слабовидящих» в мобильном бургер-меню */
.ph-blind {
  background: #fff;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.ph-blind .menu-item-icon {
  color: var(--c-blue-700, #0B5DBB);
}
body.blinded .ph-blind {
  display: none;
}
/* Панель настроек слабовидящих на мобильных: группы в столбик,
   крупные зоны нажатия, кнопка возврата на всю ширину */
@media (max-width: 1400px) {
  #blind-panel {
    padding: 10px 0 14px;
  }
  #blind-panel .eyed-panel__item-title {
    margin: 10px 0 6px;
    font-size: 12px;
    line-height: 1.3;
  }
  #blind-panel .eyed-panel__item-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  #blind-panel .eyed-panel__item-line .btn-light {
    margin-right: 0;
    min-width: 46px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #blind-panel #hide-blind {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}
.text-end {
  text-align: right;
}
:root {
  --bs-font-sans-serif: "Inter", serif;
}
#page {
  background: #fff;
  font-optical-sizing: auto;
  font-style: normal;
}
#page .btn-primary {
  --bs-btn-bg: #1345A4;
  --bs-btn-border-color: #1345A4;
}
#page .btn-max {
  background: linear-gradient(135deg, #4f6fd4 0%, #4b67cf 100%);
  border-color: #4f6fd4;
  color: #fff;
}
#page .btn-max:hover,
#page .btn-max:focus {
  background: linear-gradient(135deg, #4665c9 0%, #425dc0 100%);
  border-color: #4665c9;
  color: #fff;
}
#page .p-4 {
  padding: 1.5rem 0.5rem 1.5rem 2rem !important;
}
.header-top {
  color: #666;
}
.header-top .header-address {
  display: flex;
  align-items: center;
  gap: 1em;
  text-decoration: none;
  color: #000;
}
.header-top .activate-blind {
  text-decoration: none;
  display: flex;
  gap: 10px;
  margin-left: auto;
  text-align: end;
  align-items: baseline;
  justify-content: end;
}
.header-top .block-record-button .record-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #FFF;
  color: #3060BC;
  border: solid #3060BC 1px;
  border-radius: 6px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.2s ease;
}
.header-top .block-record-button .record-button .stethoscope {
  width: 15px;
  height: 15px;
  color: #E7212A;
}
.header-top .block-record-button .record-button:hover {
  background-color: #264e98;
  color: #fff;
}
.header-top .block-record-button .record-button:hover .stethoscope {
  color: #E7212A;
}
.header-top .block-record-button .record-button:active {
  background-color: #1f4183;
  transform: scale(0.97);
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.4);
}
.headed {
  background: #FFFFFF;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1em 0;
}
.headed .menu-logo {
  position: absolute;
  left: -260px;
}
.menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2em 0 2em 0;
}
.menu * {
  margin: 0 !important;
  padding: 0 !important;
}
.menu-search {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-search .button-search {
  border-radius: 0.5em;
  padding: 1em;
  z-index: 1;
  transform: translateX(0em);
  transition: 0.5s all;
  cursor: pointer;
}
.menu-search .active-button {
  transform: translateX(11.6em);
}
.menu-search .search-zone {
  position: absolute;
  width: 15em;
  height: 3.5em;
  transform: translateX(5.8em);
  overflow: hidden;
  pointer-events: none;
}
.menu-search .search-zone .ghost-search {
  opacity: 0;
  width: 0;
  height: 100%;
  transition: 0.5s all;
  border-radius: 0.5em;
  border: none;
  background: #f6f6f6;
  user-select: none;
  padding: 1em 3em 1em 1em;
}
.menu-search .search-zone .ghost-search:focus {
  outline: none;
}
.menu-search .search-zone .active-search {
  pointer-events: all;
  opacity: 1;
  width: 100%;
}
.menu-pages {
  display: flex;
  align-items: center;
  width: auto;
  flex-direction: column;
}
.menu-pages ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  gap: 1.4em;
  margin: 0;
  padding: 0;
}
.menu-pages ul li {
  list-style-type: none;
}
.menu-pages ul li a {
  text-decoration: none;
  color: #000;
  font-size: 1.1em;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.menu-pages ul li.selected {
  background: #F6F9FF;
  border: 1px solid #1345A4;
  border-radius: 30px;
  padding: 9px 21px;
}
.menu-pages ul li.selected a {
  color: #1345A4;
}
.logo-tula {
  width: 237px;
  height: 79px;
}
@media (max-width: 1850px) {
  .logo-tula {
    width: 155px;
    height: 60px;
  }
}
@media (max-width: 1400px) {
  .logo-tula {
    width: 140px;
    height: 79px;
  }
}
.menu-city {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.menu-city a {
  width: fit-content;
  text-decoration: none;
}
.menu-city a span {
  font-size: 1.2em;
  color: #7F92BD;
  padding: 3px 17px 6px 10px;
  line-height: 1;
}
.menu-city a .active {
  color: #f8f9fa;
  background: #3060BC;
  text-decoration: underline;
}
.docs .swiper {
  display: none;
}
.docs .swiper.swiper-initialized {
  display: block;
}
.docs .swiper.swiper-initialized .swiper-button-disabled {
  display: none;
}
@media (max-width: 640px) {
  .docs .swiper-custom-button span {
    top: 45%;
  }
}
.swiper.beforeaft {
  display: none;
}
.swiper.beforeaft.swiper-initialized {
  display: block;
}
.swiper.beforeaft.swiper-initialized .swiper-button-disabled {
  display: none;
}
.swiper.beforeaft .swiper-custom-button {
  background: none !important;
}
.menu-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}
.menu-contact .number {
  font-size: 2em;
  white-space: nowrap;
  font-weight: bold;
  color: #000000;
  text-decoration: none;
}
.menu-contact .telegram-link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  gap: 1em;
  white-space: nowrap;
  color: #000;
  text-decoration: none;
}
.menu-contact .telegram-link:hover {
  text-decoration: underline;
}
.mobile-logo svg {
  max-width: 100%;
  height: auto;
}
@media (max-width: 576px) {
  .mobile-logo svg {
    max-width: calc(100% + 24px);
    margin-left: -12px;
  }
}
.mobile-header-phoneadress {
  display: flex;
  gap: 2vw;
  flex-direction: column;
  align-items: end;
  text-align: end;
}
@media (max-width: 502px) {
  .mobile-header-phoneadress {
    font-size: 0.8em;
  }
}
@media (max-width: 370px) {
  .mobile-header-phoneadress {
    font-size: 0.65em;
  }
}
.mobile-header-phoneadress .phone-item {
  color: #000;
  text-decoration: none;
  font-size: 1.3em;
  line-height: 1;
  padding-top: 12px;
}
.medflex-round-widget .medflex-round-widget__button {
  z-index: 999;
}
@media (max-width: 1199px) {
  .medflex-round-widget .medflex-round-widget__button {
    width: 65px;
    height: 65px;
    font-size: 16px;
  }
}
.main-block-wp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  flex-direction: column;
}
.main-block-wp .icon-logo {
  position: relative;
  display: flex;
  width: 24px;
  height: 24px;
  padding: 24px;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
  border-radius: 100%;
}
.main-block-wp .icon-logo i {
  width: 1em;
  height: 1em;
}
@media (max-width: 576px) {
  .main-block-wp .icon-logo {
    width: 1em;
    height: 1em;
    padding: 1em;
  }
}
.main-block-wp .icon-logo .main-logo-class {
  color: #ffffff;
}
.main-block-wp .icon-logo .uni-fa-telegram {
  font-size: 1.8em;
}
.main-block-wp .icon-logo::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.main-block-wp .phone-number-logo {
  background: #3060BC;
  animation: ring 2s infinite ease-in-out;
}
.main-block-wp .phone-number-logo::after {
  box-shadow: 0 0 0 0 rgba(2, 94, 253, 0.4);
  animation: pulse 2s infinite ease-out;
}
@keyframes ring {
  0% {
    transform: rotate(0deg);
  }
  1% {
    transform: rotate(15deg);
  }
  3% {
    transform: rotate(-15deg);
  }
  5% {
    transform: rotate(10deg);
  }
  7% {
    transform: rotate(-10deg);
  }
  9% {
    transform: rotate(5deg);
  }
  11% {
    transform: rotate(-5deg);
  }
  13% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 94, 253, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(2, 94, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 94, 253, 0);
  }
}
.main-block-wp .phone-whatsapp-logo {
  background: #26DD6B;
}
.main-block-wp .phone-whatsapp-logo::after {
  box-shadow: 0 0 0 0 #26dc6b;
  animation: pulsew 2s infinite ease-out;
}
@keyframes pulsew {
  0% {
    box-shadow: 0 0 0 0 #26dc6b;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(2, 94, 253, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 94, 253, 0);
  }
}
/* Мобильное меню */
@media (max-width: 1400px) {
  header {
    position: relative;
    /* весь хедер — один контекст наложения; контенту легаси-правило
       раздаёт z-index: 101 (h1, p, span…), поэтому хедер должен быть
       выше 101, иначе выпадашки (mh-city-list) уходят под заголовки.
       Остаёмся ниже medflex (999), липкой плашки (1000) и панелей (1001+) */
    z-index: 150;
  }
  .header-top {
    display: none;
  }
  .headed {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
  }
  /* Добавляем отступ для контента под фиксированным хедером */
  .headed + * {
    margin-top: 70px;
  }
  .headed .container {
    position: relative;
  }
  .menu-logo {
    position: static !important;
    width: 150px;
  }
  .menu-logo a svg {
    width: 90%;
    height: auto;
  }
  /* Кнопка бургер-меню */
  .mobile-menu-button {
    width: 30px;
    height: 44px;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
  }
  .mobile-menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1345A4;
    transition: all 0.3s ease;
    position: relative;
  }
  .mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  .mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .mobile-menu-button .menu-mobile-text {
    font-size: 0.7em;
    font-style: normal;
  }
  .mobile-menu-buttondop {
    height: 25px;
  }
  /* Мобильное меню */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mobile-menu.active {
    transform: translateX(0);
  }
  .mobile-menu .menu-pages {
    display: block !important;
    width: 100%;
  }
  .mobile-menu .menu-pages ul {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  .mobile-menu .menu-pages ul li {
    width: 100%;
    text-align: center;
  }
  .mobile-menu .menu-pages ul li a {
    display: block;
    padding: 10px;
    font-size: 18px;
  }
  .mobile-menu .menu-contact {
    display: flex !important;
    align-items: center;
    width: 100%;
  }
  .mobile-menu .menu-contact .number {
    font-size: 24px;
  }
  .mobile-menu .menu-search {
    display: none !important;
    margin: 20px 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
  }
  .mobile-menu .menu-search .search-zone-mobile {
    position: relative;
    width: fit-content;
    min-width: 115px;
    max-width: 100%;
    height: 50px;
    margin: 0 auto;
  }
  .mobile-menu .menu-search .search-zone-mobile input {
    display: block;
    width: 100%;
    min-width: inherit;
    height: 100%;
    padding: 15px 15px 15px 45px;
    background: #EFEFEF;
    border: none;
    border-radius: 100px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 20px;
  }
  .mobile-menu .menu-search .search-zone-mobile input:not(:placeholder-shown) {
    padding-right: 50px;
  }
  .mobile-menu .menu-search .search-zone-mobile input:focus {
    outline: none;
  }
  .mobile-menu .menu-search .search-zone-mobile .button-search-block {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
  }
  .mobile-menu .menu-search .search-zone-mobile .button-search-block img {
    width: 20px;
    height: 20px;
  }
  .mobile-menu .menu-search .search-zone-mobile .mobile-search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #3060BC;
    border: none;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
  }
  .mobile-menu .menu-search .search-zone-mobile .mobile-search-submit:hover {
    background: #2753a3;
  }
  .mobile-menu .menu-search .search-zone-mobile .mobile-search-submit svg {
    display: block;
  }
  .mobile-menu .menu-city {
    display: flex !important;
    justify-content: center;
    margin: 20px 0;
    text-align: center;
  }
  .mobile-menu .menu-city .select-text {
    font-size: 1.5em;
  }
  .mobile-menu .header-address,
  .mobile-menu .workhours {
    text-align: center;
    margin: 15px 0;
    display: block !important;
    width: 100%;
  }
  /* Запрет прокрутки при открытом меню */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 1401px) {
  .mobile-menu,
  .mobile-menu-button {
    display: none !important;
  }
  .phone-number-logo {
    display: none;
  }
  .phone-whatsapp-logo {
    display: none;
  }
}
.content-aside-right {
  background-color: #3060BC;
  border-radius: 24px;
  height: fit-content;
}
.content-aside-right h2,
.content-aside-right a {
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.content-aside-right a {
  text-decoration: none;
}
.content-aside-right a:hover {
  text-decoration: underline;
}
.metro {
  width: 17px;
  display: inline-block;
  height: 10px;
  background: #ffd000;
  border-radius: 50%;
}
.header-address .metro {
  margin-right: -1em;
}
.header-address .metro-svg {
  margin-right: -0.7em;
}
.metro-svg {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='500' height='392' viewBox='0 40 500 392' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%230017C8' fill-rule='evenodd' d='M 45,410 a 237,237 0 1,1 410,0 M 63,381 a 207,207 0 1,1 374,0'/%3e%3cpath fill='%23EB1E00' d='M 403,341 314,118 251,241 186,117 97,341 74,341 74,359 200,359 200,341 175,341 200,271 251,359 300,271 325,341 300,341 300,359 425,359 425,341 z'/%3e%3c/svg%3e");
  width: 48px;
  height: 18px;
  background-size: 100% 100%;
}
.rating-container .n-rating {
  display: flex;
  flex-direction: column;
}
.rating-container .n-rating__wrp {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.rating-container .n-rating__lbl {
  display: block;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 0;
}
.rating-container .n-rating__star {
  display: block;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 24px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='%23D1DDF4'%3E%3Cpath d='M10.202 5.68l2.915.281c1.015.098 1.326 1.095.542 1.75l-2.282 1.91.847 3.11c.279 1.02-.585 1.639-1.45 1.024l-2.773-1.971-2.773 1.971c-.861.613-1.728-.003-1.45-1.025l.847-3.11-2.282-1.909c-.787-.658-.477-1.652.542-1.75L5.8 5.679 7.084 2.7c.402-.932 1.432-.932 1.834 0l1.284 2.98z'/%3E%3C/svg%3E");
}
.rating-container .n-rating__star--active {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='%23ffcc00'%3E%3Cpath d='M10.202 5.68l2.915.281c1.015.098 1.326 1.095.542 1.75l-2.282 1.91.847 3.11c.279 1.02-.585 1.639-1.45 1.024l-2.773-1.971-2.773 1.971c-.861.613-1.728-.003-1.45-1.025l.847-3.11-2.282-1.909c-.787-.658-.477-1.652.542-1.75L5.8 5.679 7.084 2.7c.402-.932 1.432-.932 1.834 0l1.284 2.98z'/%3E%3C/svg%3E");
}
.rating-container .n-rating__star--custom {
  background: var(--n-rating-color, #d1ddf4);
  --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.202 5.68l2.915.281c1.015.098 1.326 1.095.542 1.75l-2.282 1.91.847 3.11c.279 1.02-.585 1.639-1.45 1.024l-2.773-1.971-2.773 1.971c-.861.613-1.728-.003-1.45-1.025l.847-3.11-2.282-1.909c-.787-.658-.477-1.652.542-1.75L5.8 5.679 7.084 2.7c.402-.932 1.432-.932 1.834 0l1.284 2.98z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.rating-container .n-rating__star--custom.n-rating__star--active {
  background: var(--n-rating-color-active, #ffd466);
}
.rating-container .n-rating__star--disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.rating-container .n-rating__star--clicked:not(.n-rating__star--readonly) {
  animation: n-scale 0.5s;
}
.rating-container .n-rating__star:last-child {
  margin-right: 0 !important;
}
.rating-container .n-rating__star--readonly {
  cursor: auto;
}
.rating-container .n-visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
}
.eye {
  width: 1.5em;
  height: 0.9em;
}
.logo {
  display: flex;
  align-items: center !important;
  gap: 0.2em;
  text-decoration: none;
  color: #000000;
}
.logo img {
  width: 1.2em;
  height: 1.2em;
}
.main-section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #2F2F2F;
  font-size: 2.45rem;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 640px) {
  .main-section-title {
    font-size: 1.6rem;
  }
}
.main-section-title__icon {
  width: 32px;
  margin-left: 5px;
  fill: #E7212A;
}
.zagolovok-with-link {
  align-items: center;
  margin: 35px 0 40px;
}
@media (max-width: 640px) {
  .zagolovok-with-link {
    margin: 20px 0;
    font-size: 0.65em;
  }
}
.zagolovok-with-link h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #2F2F2F;
  font-size: 2.45rem;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 640px) {
  .zagolovok-with-link h2 {
    font-size: 1.6rem;
  }
}
.zagolovok-with-link .more-aktsii-button {
  border-radius: 100px;
  border: 1px solid #d8d8d8;
  color: #4C75C2;
  padding: 10px 30px;
}
.zagolovok-with-link .more-aktsii-button:hover {
  background: #4C75C2;
  color: #ffffff;
  border: 1px solid #4C75C2;
}
.zagolovok-with-link .zagolovok-link {
  text-align: right;
}
.zagolovok-with-link .zagolovok-link a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2em;
  text-decoration: none;
  color: #000;
}
.zagolovok-with-link .zagolovok-link a span {
  margin-left: auto;
}
.zagolovok-with-link.row {
  margin-left: 0;
  margin-right: 0;
}
.zagolovok-with-link.row > [class*="col-"] {
  padding-left: 0;
}
.zagolovok-with-link.zagolovok-with-link--compact {
  margin: 0;
}
.swiper-custom-button {
  position: absolute;
  width: 50px;
  height: 100%;
  right: 0;
  top: 0;
  background: #FFFFFFE5;
  z-index: 9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1500px) {
  .swiper-custom-button {
    background: rgba(255, 255, 255, 0.3);
  }
}
.swiper-custom-button span {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3060BC;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.swiper-custom-button.swiper-custom-button-prev {
  right: unset;
  left: 0;
}
.swiper-custom-button.swiper-button-disabled span {
  background: #E9E9E9;
}
.swiper-custom-button.swiper-button-disabled span path {
  fill-opacity: 0.45;
  fill: #1345A4;
}
.button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
.button-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.button-all {
  padding: 5em 0 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.button-all span {
  font-size: 1.1em;
}
.button-all span a {
  text-decoration: none;
  color: #000000;
}
.list-1 {
  display: flex;
  flex-direction: column;
  padding: 30px 50px 40px 40px;
  gap: 10px;
}
.list-1 li {
  font-weight: 500;
  font-size: 1.1rem;
}
.dl-1 {
  margin: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dl-1 .dt {
  color: #000000;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  align-items: center;
  gap: 14px;
}
.dl-1 .dt:before {
  line-height: 0;
}
.dl-1 .dd {
  color: #000000;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  transform: translateX(53px);
}
.image-center {
  display: block;
  margin: 0 auto;
}
.prices {
  padding-bottom: 5em;
}
.prices .name-price {
  display: flex;
  justify-content: flex-start;
  gap: 1em;
  padding: 4em 0 3em 0;
  font-weight: bold;
}
.prices .name-price:before {
  content: url('/bitrix/templates/phlebocentr/img/back_design.svg');
  display: flex;
  justify-content: center;
  align-items: center;
}
.prices .name-price .foot {
  font-size: 2.45em;
  line-height: 0.8em;
  font-family: "Montserrat", sans-serif;
  color: #3060BC;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prices .name-price .price_foot {
  background: #E7212A;
  padding-inline: 1em;
  border-radius: 0.6em;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.prices .cards_price {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.prices .cards_price .sub-prices {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.prices .cards_price .card_price {
  background: #F4F7FF;
  border-radius: 1em;
  padding: 2em 2em 2em 1em;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 8em 8em;
  justify-content: space-between;
  align-items: center;
  color: #2F2F2F;
  gap: 6px;
}
@media (max-width: 700px) {
  .prices .cards_price .card_price {
    display: flex;
  }
}
.prices .cards_price .card_price .info,
.prices .cards_price .card_price .sale {
  font-size: 1.2em;
  font-weight: 350;
  color: #000000;
}
.prices .cards_price .card_price .info {
  display: flex;
  flex-direction: column;
}
.prices .cards_price .card_price .info span {
  font-size: 0.9em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prices .cards_price .card_price .button_sign {
  width: 8em;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.1em;
  background: #1345A4;
  border-radius: 0.6em;
  cursor: pointer;
  transition: 0.5s all;
}
@media (max-width: 700px) {
  .prices .cards_price .card_price .button_sign {
    order: 3;
    margin: 0 !important;
    width: 100%;
  }
}
.prices .cards_price .card_price .button_sign:hover {
  background: #2b3557;
}
.branches {
  display: flex;
  flex-direction: column;
}
.branches .branches-list {
  margin-top: 1em;
}
.branches .branches-list li {
  margin-top: 5px!important;
}
.branches .branches-list a {
  font-size: 1.1em !important;
  font-weight: 500;
  color: #3A3A3A !important;
  letter-spacing: -0.0085em;
}
.branches .branches-all {
  color: #1345A4 !important;
  text-decoration: underline!important;
  font-size: 1em !important;
}
.branches .cards {
  gap: 30px 0;
}
.branches .cards .cards-item-block {
  display: grid;
}
.branches .cards .cards-item-block .usluga-heading {
  font-size: 1.7em;
  font-weight: 800;
  line-height: 1.2;
}
.branches .cards .cards-item-block .usluga-heading .usluga-price {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 32px;
  color: #3060BC;
}
.branches .cards .cards-item-block .item-card {
  display: grid;
  grid-template-columns: 77% 33%;
  background: #F6F9FF;
  border-radius: 1.9em;
  overflow: hidden;
}
@media (max-width: 640px) {
  .branches .cards .cards-item-block .item-card {
    grid-template-columns: 100% 33%;
  }
}
.branches .cards .cards-item-block .item-card .block-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  padding: 33px;
}
.branches .cards .cards-item-block .item-card .block-info a {
  text-decoration: none;
  color: #000;
  font-size: 0.9em;
}
.branches .cards .cards-item-block .item-card .block-img {
  display: flex;
  justify-content: flex-end;
}
.branches .cards .cards-item-block .item-card .block-img img {
  width: 198px;
  height: 255px;
  object-fit: cover;
  clip-path: ellipse(68.26% 56.16% at 69.8% 51.43%);
  border-radius: 140% 0 0 140%;
}
.branches .cards .cards-item-block .about-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.2em;
  height: 10em;
  margin-top: 3em;
}
.branches .cards .cards-item-block .about-card ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-weight: 400;
  list-style: circle;
}
.branches .cards .cards-item-block .button-con {
  padding-left: 2rem;
  font-size: 1.25em;
  font-weight: 600;
}
img {
  max-width: 100%;
}
.zagolovok-h1 h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.45em;
  line-height: 1.2em;
  letter-spacing: 1px;
  color: #2F2F2F;
}
.doctors-image {
  width: 200px;
  max-width: 100%;
  margin: 22px 0 40px;
  border: 3px solid #DFDFDF;
  border-radius: 100px;
}
.doctor-card {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  border: 1px solid #dfdfdf80;
  box-shadow: 0 2px 19px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  text-align: center;
  padding: 0 10px 1.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}
@media (max-width: 600px) {
  .doctor-card {
    margin-left: 0 !important;
  }
}
.doctor-card .bottoms {
  margin-top: auto;
}
.doctor-card .doctors-uslugi {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  margin-bottom: 12px;
}
.doctor-card .doctors-uslugi a,
.doctor-card .doctors-uslugi span {
  text-decoration: none;
  color: #646E76;
}
.doctor-card .doctors-uslugi .detail-link {
  color: #3060bc;
  margin-top: 10px;
}
.doctor-card .stars {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1em;
}
.doctor-card .stars img {
  width: 1.3em;
}
.doctor-card .doctors-reviews {
  margin-top: 5px;
  color: #646E76;
}
.doctor-card .doctors-image {
  width: 200px;
  height: 200px;
  max-width: 100%;
  margin: 22px 0 40px;
  border: 3px solid #DFDFDF;
  border-radius: 100px;
  object-fit: cover;
}
.doctor-card h6 {
  font-style: normal;
  font-weight: 500;
  font-size: 1.25em;
}
.doctor-card h6 a {
  color: #2F2F2F;
  text-decoration: none;
}
h2.zagolovok {
  margin-bottom: 1em;
}
.about-medic-main {
  color: #2f2f2f;
  margin-top: 20px;
}
.about-medic-main .about-img-swiper {
  width: 100%;
  border-radius: 10px;
  height: 540px;
}
.about-medic-main .about-img-swiper .swiper-button {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
}
.about-medic-main .about-img-swiper .swiper-button:after {
  color: #1345A4;
  font-size: 16px;
}
.about-medic-main .about-img-swiper .swiper-slide {
  height: 100% !important;
}
.about-medic-main .about-img-swiper .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.about-medic-main .about-medic-block .about-img img {
  width: auto;
  height: 400px;
  border-radius: 1em;
}
.about-medic-main .about-medic-block .about-text .count-about {
  font-weight: 700;
}
.about-medic-main .about-medic-block .about-text .count-about .element-count {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-medic-main .about-medic-block .about-text .count-about .element-count .red-count,
.about-medic-main .about-medic-block .about-text .count-about .element-count .blue-count {
  font-size: 2.25em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.about-medic-main .about-medic-block .about-text .red-count {
  color: #E7212A;
}
.about-medic-main .about-medic-block .about-text .blue-count {
  color: #3060BC;
}
.about-medic-main .about-medic-block .about-text .about-strong {
  font-size: 1.125em;
  line-height: 1.55em;
  font-weight: 700;
}
.about-medic-main .about-medic-block .about-text .about-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-align: justify;
}
.about-medic-main .about-medic-block .about-text .text-param {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
  margin-top: 3em;
}
.about-medic-main .about-medic-block .about-text .text-param .links-about {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5em;
}
.about-medic-main .about-medic-block .about-text .text-param .links-about a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  gap: 1em;
  transition: 0.3s all;
}
.about-medic-main .about-medic-block .about-text .text-param .links-about a:hover {
  color: #1C274C;
}
.about-medic-main a {
  color: #3060BC;
  text-decoration: none;
}
.recomended {
  display: flex;
  flex-direction: column;
}
.recomended h1 {
  padding: 2em 0 2em 0;
}
.recomended .rec-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recomended .rec-card .rec {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 11em;
}
.recomended .rec-card .rec .company {
  height: 5em;
  display: flex;
  align-items: center;
}
.recomended .rec-card .rec span {
  font-size: 1.2em;
  font-weight: bolder;
}
.recomended .rec-card .rec .stars {
  display: flex;
  justify-content: center;
  align-items: center;
}
.online-form {
  background-color: #3060BC;
  border-radius: 1.2em;
  padding: 2em 3em;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.online-form .form-title {
  margin: 0 0 1em;
  font-size: 2.45em;
  font-weight: bold;
}
.online-form .form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 768px) {
  .online-form .form {
    margin-left: 1em;
  }
}
.online-form .form .form-flex {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2em;
}
@media (max-width: 1200px) {
  .online-form .form .form-flex {
    flex-direction: column;
  }
}
.online-form .form .form-flex .form-input {
  padding: 0.8em 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  flex: 1;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1200px) {
  .online-form .form .form-flex .form-input {
    width: 100%;
  }
}
.online-form .form .form-flex .form-input.form-date {
  background-size: 1.5em;
}
.online-form .form .form-flex .form-input[type="tel"] {
  font-family: monospace;
}
.online-form .form .form-flex .form-btn {
  background-color: #E7212A;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.8em 2.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.online-form .form .form-flex .form-btn:hover {
  background-color: #c23616;
}
.online-form .form .form-checkbox {
  display: flex;
  align-items: center;
  margin-top: 1.5em;
}
.online-form .form .form-checkbox .labeling {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 0.5em;
  position: relative;
}
.online-form .form .form-checkbox .labeling a {
  font-size: 14px;
  color: #fff;
}
.online-form .form .form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  background: transparent;
}
.online-form .form .form-checkbox input[type="checkbox"]:checked {
  background: #5b9bd5;
  border-color: #5b9bd5;
}
.online-form .form .form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.online-form .form .form-checkbox input[type="checkbox"]:hover {
  border-color: #5b9bd5;
}
.form-page {
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-page .form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
.form-page .form .form-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}
@media (max-width: 912px) {
  .form-page .form .form-img {
    display: none;
  }
}
.form-page .form .form-img img {
  width: 100%;
}
.form-page .form .form-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1em;
}
@media (max-width: 700px) {
  .form-page .form .form-info {
    display: flex;
    align-items: center;
  }
}
.form-page .form .form-info .zag {
  font-size: 2.2em;
  display: flex;
  font-weight: bolder;
  gap: 0.2em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .form-page .form .form-info .zag {
    white-space: wrap;
    flex-direction: column;
  }
}
.form-page .form .form-info p {
  font-size: 1.1em;
  font-weight: 400;
}
.form-page .form .form-info form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1em;
}
.form-page .form .form-info form input {
  border-radius: 0.6em;
  border: solid #3060BC 0.1em;
  width: 30em;
  padding: 0.6em 1em 0.6em 1em;
  -webkit-appearance: none;
  background: #F6F9FF;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .form-page .form .form-info form input {
    width: auto;
    max-width: 40em;
  }
}
.form-page .form .form-info form .file-input {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
@media (max-width: 912px) {
  .form-page .form .form-info form .file-input {
    align-items: flex-start;
  }
}
.form-page .form .form-info form .file-input label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  cursor: pointer;
  margin-left: 1em;
}
.form-page .form .form-info form .file-input label span {
  font-size: 1.1em;
  transform: scaleY(0.9);
  color: #1345A4;
  line-height: 1em;
  font-weight: 300;
}
.form-page .form .form-info form .file-input label span .line {
  width: 100%;
  height: 1.1px;
  background: #1345A4;
}
.form-page .form .form-info form .file-input input {
  display: none;
}
.form-page .form .form-info form button {
  padding: 0.6em 1.6em;
  background: #1345A4;
  color: #F6F9FF;
  border: none;
  border-radius: 0.5em;
}
.form-page .form .form-info form p {
  transform: translateX(11em);
  color: #535659;
}
@media (max-width: 912px) {
  .form-page .form .form-info form p {
    transform: translateX(0);
  }
}
.socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}
.socials a {
  width: 44px;
  height: 44px;
}
/* Custom Checkbox Styles */
.custom-checkbox {
  margin: 15px 0;
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}
.custom-checkbox label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  display: inline-block;
  line-height: 24px;
}
.custom-checkbox label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #1345A4;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
}
.custom-checkbox input[type="checkbox"]:checked + label:before {
  background: #1345A4;
}
.custom-checkbox input[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox .agreement-link {
  color: #1345A4;
  text-decoration: none;
  border-bottom: 1px solid #1345A4;
}
.custom-checkbox .agreement-link:hover {
  opacity: 0.8;
}
.see-all {
  text-decoration: underline !important;
}
.yamap {
  width: 100%;
}
.yamap__wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.yamap__frame {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 767px) {
  .map-widget-content-view__container {
    max-height: 100% !important;
  }
}
.bg {
  background: #F6F9FF;
  padding: 4em 0 0;
}
.bg .pre-footer {
  background: #F6F9FF;
}
.bg .pre-footer hr {
  color: #8C8C8C;
  margin-top: 35px;
}
@media (max-width: 768px) {
  .bg .pre-footer .map {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: auto auto;
  }
}
.bg .pre-footer .map .item-stroke {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
@media (max-width: 912px) {
  .bg .pre-footer .map .item-stroke {
    display: none;
  }
}
.bg .pre-footer .map .item-stroke:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}
.bg .pre-footer .map .item-stroke:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}
.bg .pre-footer .map .item-stroke .web-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.bg .pre-footer .map .item-stroke .web-list span {
  font-size: 1.4em;
  font-weight: 400;
}
@media (max-width: 768px) {
  .bg .pre-footer .map .item-stroke .web-list span {
    font-size: 1em;
  }
}
.bg .pre-footer .map .item-stroke .web-list a {
  text-decoration: none;
  color: #000000;
  font-size: 1.2em;
  font-weight: 300;
}
@media (max-width: 768px) {
  .bg .pre-footer .map .item-stroke .web-list a {
    font-size: 0.8em;
  }
}
@media (max-width: 912px) {
  .bg .pre-footer .map .clinika,
  .bg .pre-footer .map .clientam {
    display: flex;
    width: 100%;
    font-size: 1.3em;
  }
}
.bg .pre-footer .map .item-data {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
@media (max-width: 912px) {
  .bg .pre-footer .map .item-data {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .bg .pre-footer .map .item-data {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
}
.bg .pre-footer .map .item-data .foot-logo {
  width: 10em;
}
.bg .pre-footer .map .item-data .foot-number {
  font-size: 2.3em;
  text-decoration: none;
  font-weight: 200;
  white-space: nowrap;
}
.bg .pre-footer .map .item-data .calls a {
  text-decoration: none;
  display: flex;
  gap: 0.7em;
}
.bg .pre-footer .map .item-data .buttons_submit {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.bg .pre-footer .map .item-data .buttons_submit button {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  gap: 0.5em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 0.2em;
  background: none;
  color: #3060BC;
  border: solid #3060BC 1px;
  transition: 0.3s all;
}
.bg .pre-footer .map .item-data .buttons_submit button:hover {
  background: #e8f1ff;
}
.bg .pre-footer .map .item-data .buttons_submit button img {
  color: #3060BC;
}
.bg .pre-footer .map .item-data .buttons_submit .white_but {
  background: white;
}
.bg .pre-footer .map .item-data .buttons_submit .white_but:hover {
  background: #F3F3F3;
}
.bg .pre-footer .map .item-data .learn_a {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.bg .pre-footer .map .item-data .learn_a a {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}
.act-block {
  margin: 35px 0;
}
.act-block-end {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin: 35px 0;
}
.footer-ocenka {
  display: flex;
  align-items: flex-start;
  color: #333;
  gap: 1em;
}
.footer-anketa {
  color: #92A4C8;
  text-decoration: none;
  display: flex;
  margin-top: 10px;
}
.footer-bg {
  background: #8591A7;
}
.footer-bg footer {
  height: 9em;
  display: flex;
  padding: 1.5em 1em;
  justify-content: space-between;
  align-items: flex-start;
  color: #ffffff;
}
@media (max-width: 912px) {
  .footer-bg footer {
    flex-direction: column;
    height: auto;
  }
}
.footer-bg footer .links-main .links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.2em;
  margin-bottom: 1em;
  font-weight: 200;
}
.footer-bg footer .links-main .links a {
  text-decoration: none;
  color: #ffffff;
}
.footer-bg footer .links-main span {
  font-weight: 200;
}
.footer-bg footer .pay span {
  font-weight: 200;
}
.footer-bg footer .pay .bank {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 1em;
}
.footer-bg footer .pay .bank img {
  display: block;
  height: 15px;
}
#fileList {
  display: none;
  flex-wrap: wrap;
  /* Чтобы файлы переносились на новую строку при переполнении */
  gap: 10px;
  padding: 0;
  list-style: none;
}
#fileList li {
  display: flex;
  align-items: center;
  /* Выравнивание по вертикали */
  padding: 5px 10px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 5px;
  position: relative;
  max-width: 300px;
  /* Максимальная ширина элемента */
}
#fileList li img {
  width: 50px;
  /* Маленькая превьюшка */
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 10px;
  /* Отступ от названия */
}
#fileList li .file-extension {
  margin-left: auto;
  /* Смещаем в крайний правый угол */
  font-size: 12px;
  color: #aaa;
}
#fileList li button {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  margin-left: 10px;
  font-size: 14px;
}
#fileList li button i {
  font-size: 18px;
}
/* Медиазапросы для мобильных устройств */
.header-show-small,
.header-show-small-flex {
  display: none!important;
}
@media (max-width: 1850px) and (min-width: 1401px) {
  .header-hide-small {
    display: none!important;
  }
  .header-show-small {
    display: block!important;
  }
  .header-show-small-flex {
    display: flex!important;
  }
}
@media (max-width: 912px) {
  /* Уменьшение размеров шрифтов */
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 1.5em;
  }
  /* Перемещение блоков в колонку */
  .header-top,
  .menu-city,
  .menu-contact,
  .branches .cards,
  .beforaft .cards-block,
  .about-medic-main .about-medic-block,
  .recomended .rec-card,
  .form-page .form {
    flex-direction: column;
    align-items: center;
  }
  /* Уменьшение размеров изображений */
  .branches .item-card .block-img img,
  .beforaft .cards-block .rav img,
  .form-page .form-img img {
    width: 100%;
    height: auto;
  }
  .about-img img {
    width: 10em;
  }
  /* Уменьшение размеров кнопок */
  .form-page .form form button,
  .bg .pre-footer .map .item-data .buttons_submit button {
    width: auto;
    padding: 10px;
    font-size: 14px;
  }
  /* Специфические изменения для блоков */
  .menu-city a span {
    font-size: 1em;
  }
  .menu-contact .number {
    font-size: 1.2em;
  }
  .branches .cards-item-block .item-card .block-info h1 {
    font-size: 1.5em;
  }
  .branches .cards-item-block .about-card ul li {
    font-size: 1em;
  }
  .beforaft .cards-block .rav span {
    font-size: 1.2em;
  }
  .about-medic-main .about-text .count-about .element-count h1 {
    font-size: 1.5em;
  }
  .about-medic-main .about-text .text-param h5 {
    font-size: 1.2em;
  }
  .reviews .reviews-cards .review-card-main .brand h1 {
    font-size: 2.5em;
  }
  .recomended .rec-card .rec span {
    font-size: 1em;
  }
  .form-page .form-info h1 {
    font-size: 1.2em;
    width: 80%;
    text-align: center;
  }
  .form-page .form-info p {
    font-size: 1em;
  }
  .bg .pre-footer .map .item-stroke .web-list span {
    font-size: 1.2em;
  }
  .bg .pre-footer .map .item-data .foot-number {
    font-size: 1.5em;
  }
  .bg .pre-footer .map .item-data .learn_a a {
    font-size: 1em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* Адаптация блока "Нас рекомендуют" */
  .recomended .rec-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }
  .recomended .rec-card .rec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  .recomended .rec-card .rec .company {
    height: auto;
    display: flex;
    align-items: center;
    margin-top: auto;
  }
  .recomended .rec-card .rec .stars img {
    width: 16px;
  }
  .recomended .rec-card .rec span {
    font-size: 1em;
    font-weight: bolder;
    margin-top: auto;
  }
  .recomended .rec-card .rec .stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
  }
  /* Адаптация формы отправки заявки */
  .form-page .form form input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
  .form-page .form form .file-input {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .form-page .form form .file-input input {
    width: 100%;
  }
  .form-page .form form button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
  .form-page .form form p {
    text-align: center;
    width: 100%;
  }
  .form-page .form .form-img img {
    width: 80%;
    height: auto;
  }
  /* Адаптация блока с отделениями и услугами */
  .branches {
    flex-direction: column;
    align-items: center;
  }
  .branches span {
    font-size: 1.5em;
  }
  .branches .cards {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .branches .cards-item-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
  }
  .branches .cards-item-block .item-card {
    width: 100%;
    height: auto;
  }
  .branches .cards-item-block .item-card .block-info {
    height: auto;
  }
  .branches .cards-item-block .item-card .block-info span {
    font-size: 1.2em;
    font-weight: bolder;
    color: #000000;
  }
  .branches .cards-item-block .about-card ul li {
    font-size: 0.9em;
  }
  .branches .cards-item-block .button-con {
    font-size: 1em;
  }
  /* Адаптация блока "О клинике" */
  .about-medic-main .about-medic-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-medic-main .about-medic-block .about-img {
    width: 100%;
  }
  .about-medic-main .about-medic-block .about-img img {
    width: 100%;
  }
  .about-medic-main .about-medic-block .about-text {
    width: 100%;
  }
  .about-medic-main .about-medic-block .about-text .count-about {
    width: 100%;
  }
  .about-medic-main .about-medic-block .about-text .text-param {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
    margin-top: 2em;
  }
  .about-medic-main .about-medic-block .about-text .links-about {
    display: flex;
    gap: 1em;
  }
  .about-medic-main .about-medic-block .about-text .links-about a {
    font-size: 1em;
  }
}
@media (max-width: 912px) and (max-width: 768px) {
  .ads-cards {
    display: none;
  }
}
video.object-fit-fill:hover {
  cursor: pointer;
}
body.blinded .snowflakes {
  display: none;
}
body.blinded #page .activate-blind {
  display: none;
}
body.blinded.blinded-fs-big {
  font-size: 18px;
}
body.blinded.blinded-fs-biggest {
  font-size: 20px;
}
body.blinded.blinded-images-n img {
  visibility: hidden;
}
body.blinded.blinded-colors-blackwhite #page {
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.blinded.blinded-colors-blackwhite #page * {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
  border-radius: 0 !important;
}
body.blinded.blinded-colors-blackwhite #page a,
body.blinded.blinded-colors-blackwhite #page button,
body.blinded.blinded-colors-blackwhite #page .btn {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
}
body.blinded.blinded-colors-blackwhite #page a:hover,
body.blinded.blinded-colors-blackwhite #page button:hover,
body.blinded.blinded-colors-blackwhite #page .btn:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}
body.blinded.blinded-colors-blackwhite #page img,
body.blinded.blinded-colors-blackwhite #page video {
  filter: grayscale(100%) !important;
}
body.blinded.blinded-colors-blackwhite #page .online-form {
  background-color: #ffffff !important;
  border: 2px solid #000000 !important;
}
body.blinded.blinded-colors-blackwhite #page .bg {
  background-color: #ffffff !important;
}
body.blinded.blinded-colors-blackwhite #page input,
body.blinded.blinded-colors-blackwhite #page textarea,
body.blinded.blinded-colors-blackwhite #page select {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
}
body.blinded.blinded-colors-blackwhite #page .menu-logo svg path:nth-child(1),
body.blinded.blinded-colors-blackwhite #page .menu-logo svg path:nth-child(2) {
  fill: #000000 !important;
}
body.blinded.blinded-colors-yellowblack #page {
  background-color: #000000 !important;
  color: #ffff00 !important;
}
body.blinded.blinded-colors-yellowblack #page * {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
  border-radius: 0 !important;
}
body.blinded.blinded-colors-yellowblack #page a,
body.blinded.blinded-colors-yellowblack #page button,
body.blinded.blinded-colors-yellowblack #page .btn {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}
body.blinded.blinded-colors-yellowblack #page a:hover,
body.blinded.blinded-colors-yellowblack #page button:hover,
body.blinded.blinded-colors-yellowblack #page .btn:hover {
  background-color: #ffff00 !important;
  color: #000000 !important;
}
body.blinded.blinded-colors-yellowblack #page img {
  filter: brightness(0.9) contrast(150%) !important;
  opacity: 0.9 !important;
}
body.blinded.blinded-colors-yellowblack #page svg path,
body.blinded.blinded-colors-yellowblack #page .icon path,
body.blinded.blinded-colors-yellowblack #page [class^="icon-"] path,
body.blinded.blinded-colors-yellowblack #page [class*=" icon-"] path,
body.blinded.blinded-colors-yellowblack #page svg circle,
body.blinded.blinded-colors-yellowblack #page .icon circle,
body.blinded.blinded-colors-yellowblack #page [class^="icon-"] circle,
body.blinded.blinded-colors-yellowblack #page [class*=" icon-"] circle,
body.blinded.blinded-colors-yellowblack #page svg rect,
body.blinded.blinded-colors-yellowblack #page .icon rect,
body.blinded.blinded-colors-yellowblack #page [class^="icon-"] rect,
body.blinded.blinded-colors-yellowblack #page [class*=" icon-"] rect {
  fill: #ffff00 !important;
}
body.blinded.blinded-colors-yellowblack #page .online-form {
  background-color: #000000 !important;
  border: 2px solid #ffff00 !important;
}
body.blinded.blinded-colors-yellowblack #page .bg {
  background-color: #000000 !important;
}
body.blinded.blinded-colors-yellowblack #page input,
body.blinded.blinded-colors-yellowblack #page textarea,
body.blinded.blinded-colors-yellowblack #page select {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border: 1px solid #ffff00 !important;
}
body.blinded.blinded-colors-yellowblack #page .menu-logo svg path:nth-child(1),
body.blinded.blinded-colors-yellowblack #page .menu-logo svg path:nth-child(2) {
  fill: #ffff00 !important;
}
body.blinded.blinded-colors-blackblue #page {
  background-color: #add8e6 !important;
  color: #00008b !important;
}
body.blinded.blinded-colors-blackblue #page * {
  background-color: #add8e6 !important;
  color: #00008b !important;
  border-color: #00008b !important;
  border-radius: 0 !important;
}
body.blinded.blinded-colors-blackblue #page a,
body.blinded.blinded-colors-blackblue #page button,
body.blinded.blinded-colors-blackblue #page .btn {
  background-color: #add8e6 !important;
  color: #00008b !important;
  border: 1px solid #00008b !important;
}
body.blinded.blinded-colors-blackblue #page a:hover,
body.blinded.blinded-colors-blackblue #page button:hover,
body.blinded.blinded-colors-blackblue #page .btn:hover {
  background-color: #00008b !important;
  color: #add8e6 !important;
}
body.blinded.blinded-colors-blackblue #page img {
  filter: brightness(0.9) contrast(150%) !important;
  opacity: 0.9 !important;
}
body.blinded.blinded-colors-blackblue #page svg path,
body.blinded.blinded-colors-blackblue #page .icon path,
body.blinded.blinded-colors-blackblue #page [class^="icon-"] path,
body.blinded.blinded-colors-blackblue #page [class*=" icon-"] path,
body.blinded.blinded-colors-blackblue #page svg circle,
body.blinded.blinded-colors-blackblue #page .icon circle,
body.blinded.blinded-colors-blackblue #page [class^="icon-"] circle,
body.blinded.blinded-colors-blackblue #page [class*=" icon-"] circle,
body.blinded.blinded-colors-blackblue #page svg rect,
body.blinded.blinded-colors-blackblue #page .icon rect,
body.blinded.blinded-colors-blackblue #page [class^="icon-"] rect,
body.blinded.blinded-colors-blackblue #page [class*=" icon-"] rect {
  fill: #00008b !important;
}
body.blinded.blinded-colors-blackblue #page .online-form {
  background-color: #add8e6 !important;
  border: 2px solid #00008b !important;
}
body.blinded.blinded-colors-blackblue #page .bg {
  background-color: #add8e6 !important;
}
body.blinded.blinded-colors-blackblue #page input,
body.blinded.blinded-colors-blackblue #page textarea,
body.blinded.blinded-colors-blackblue #page select {
  background-color: #add8e6 !important;
  color: #00008b !important;
  border: 1px solid #00008b !important;
}
body.blinded.blinded-colors-blackblue #page .menu-logo svg path:nth-child(1),
body.blinded.blinded-colors-blackblue #page .menu-logo svg path:nth-child(2) {
  fill: #00008b !important;
}
body.blinded #blind-panel {
  display: block;
}
.ph-menu-trigger {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 18px;
  background: var(--c-blue-700, #0B5DBB);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
}
.ph-menu-trigger:focus {
  outline: 2px solid #bfdbfe;
  outline-offset: 2px;
}
.ph-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 1002;
  will-change: opacity;
}
.ph-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.ph-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  border-left: 1px solid #E6F0FF;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
  z-index: 1002;
  padding: 0;
  will-change: transform;
  backface-visibility: hidden;
}
.ph-panel.active {
  transform: translate3d(0, 0, 0);
}
.ph-head {
  padding: 20px;
  border-bottom: 1px solid #E6F0FF;
}
.ph-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.ph-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ph-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--c-blue-700, #0B5DBB);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.ph-muted {
  color: #475569;
  font-size: 13px;
}
.ph-close {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}
.ph-close:hover {
  background: #F4F8FF;
}
.ph-cities {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ph-city-btn {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #E6F0FF;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ph-city-btn[aria-pressed="true"] {
  background: var(--c-blue-700, #0B5DBB);
  border-color: var(--c-blue-700, #0B5DBB);
  color: #fff;
}
.ph-body {
  padding: 16px 20px;
  overflow: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ph-card {
  border: 1px solid #E6F0FF;
  border-radius: 16px;
  padding: 16px;
}
.ph-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
}
.ph-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-blue {
  background: var(--c-blue-700, #0B5DBB);
  color: #fff;
}
.btn-red {
  background: #E31E24;
  color: #fff;
}
.btn-wa {
  background: #3769c7;
  color: #fff;
}
.btn-ghost {
  border-color: #E6F0FF;
  color: var(--c-blue-700, #0B5DBB);
  background: #fff;
}
.ph-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #E6F0FF;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}
.ph-item .menu-item-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-700, #0B5DBB);
}
.ph-item .menu-item-text {
  flex: 1;
}
.ph-item .menu-item-left {
  display: flex;
  align-items: center;
}
/* Версия шапки при скролле */
.mobile-scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 10px 15px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-scroll-header .navbar-brand {
  position: static;
}
.mobile-scroll-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1400px) {
  /* На мобильных липкая шапка остаётся, но показывает компактный ряд:
     логотип + звонок + мессенджер + бургер (см. .msh-mobile ниже) */
  .mobile-scroll-header {
    display: block !important;
    /* перебиваем старое правило display:none для мобильных */
    padding: 6px 0;
    /* десктопные части внутри липкой шапки прячем */
  }
  .mobile-scroll-header > .container {
    display: block;
  }
  .mobile-scroll-header .menu-pages,
  .mobile-scroll-header .menu-contact,
  .mobile-scroll-header .navbar-brand {
    display: none !important;
  }
}
.ph-item:hover {
  background: #F4F8FF;
}
.ph-usp {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--c-blue-700, #0B5DBB), #E31E24);
  color: #fff;
}
.ph-foot {
  padding: 14px 16px;
  border-top: 1px solid #E6F0FF;
  display: flex;
  gap: 15px;
}
/* пункты идут плотным списком сверху: без height:100% и space-between,
   которые на высоких экранах (планшеты) растягивали меню с дырами */
.ph-nav {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 640px) {
  .ph-cities {
    grid-template-columns: repeat(3, 1fr);
  }
  .ph-panel {
    width: 90%;
  }
  .ph-logo {
    width: 36px;
    height: 36px;
  }
}
/* end admin menu styles */
.max-form.modal .modal-dialog .modal-content {
  padding: 15px 50px;
  border-radius: 30px;
}
.max-form.modal .modal-dialog .modal-content::after {
  content: "";
  position: absolute;
  left: -55px;
  top: -55px;
  width: 130px;
  height: 130px;
  background-image: url("/upload/medialibrary/1cc/men1247t3n5h62gdxyo8tufs13f2tzoa.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.max-form.modal .modal-dialog .modal-content .modal-header {
  border: 0;
}
.max-form.modal .modal-dialog .modal-content .modal-header .modal-title {
  font-size: 1.55rem !important;
}
.max-form.modal .modal-dialog .modal-content .modal-header .btn-close {
  z-index: 2;
}
.max-form.modal .modal-dialog .modal-content .modal-body .form-floating {
  z-index: 2;
}
.max-form.modal .modal-dialog .modal-content .modal-body .form-check {
  z-index: 2;
}
.max-form.modal .modal-dialog .modal-content .modal-footer {
  border-top: 0;
}
.max-form.modal .modal-dialog .modal-content .modal-footer .btn {
  z-index: 1;
}
.max-form.modal .modal-dialog .modal-content .doctor-img-custom {
  position: absolute;
  right: -185px;
  bottom: 0;
  width: 330px;
  z-index: 0;
}
@media (max-width: 768px) {
  .max-form.modal .modal-dialog .modal-content .doctor-img-custom {
    display: none;
  }
}
@media (max-width: 768px) {
  .reviews-cards {
    padding: 13px 0;
  }
  .reviews-cards .review-card-main {
    height: 100%;
  }
  .reviews-cards .review-card {
    height: 100%;
  }
}
/* ==========================================================================
   МОБИЛЬНАЯ ШАПКА-КАРТОЧКА + НИЖНЯЯ ПАНЕЛЬ ДЕЙСТВИЙ (до 1400px)

   .mh    — «парящая» белая карточка: логотип, телефон, бургер,
            живая строка приёма и лента отделений;
   .mnav  — закреплённая снизу панель с приподнятой кнопкой записи.
   ========================================================================== */
.mh,
.mnav {
  display: none;
}
@media (max-width: 1400px) {
  /* Отступ контейнера 1rem вместо бутстраповских 1.5rem. Часть блоков
     свёрстана под старые 12px и вылезает на 4px — подрезаем на уровне
     страницы. Именно clip, а не hidden: не создаёт контейнер прокрутки
     и не ломает выпадающие списки поиска и филиалов. */
  #page {
    overflow-x: clip;
  }
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
  }
  .headed {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  /* шапка идёт сплошной полосой, как на десктопе: без внешних
     отступов и скруглений */
  .mh {
    display: block;
    background: #fff;
    border-radius: 0;
    margin: 0;
    padding: 8px 0 10px;
  }
  /* пустой бутстраповский .row (все его колонки — десктопные) даёт
     отрицательные поля и горизонтальный вылет на 4px */
  .headed > .container > .row {
    display: none;
  }
  /* ---------- строка 1: логотип, телефон, бургер ---------- */
  .mh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 70px;
  }
  .mh-bar .mh-logo {
    flex: 0 0 auto;
    line-height: 0;
  }
  .mh-bar .mh-logo a {
    display: inline-block;
    line-height: 0;
  }
  .mh-bar .mh-logo svg {
    display: block;
    width: auto;
    height: 40px;
  }
  /* группа кнопок (используется в липкой шапке при прокрутке) */
  .mh-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
  }
  /* круглые кнопки шапки: мессенджеры, звонок, бургер */
  .mh-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    padding: 0;
    background: #F1F5FD;
    color: #3060BC;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, transform 0.1s ease;
  }
  .mh-btn:active {
    transform: scale(0.94);
  }
  .mh-btn svg {
    width: 19px;
    height: 19px;
    display: block;
  }
  /* мессенджеры: MAX и Telegram */
  .mh-btn--msg img {
    width: 26px;
    height: 26px;
    display: block;
  }
  .mh-btn--call {
    background: #3060BC;
    color: #fff;
  }
  .mh-btn--burger {
    flex-direction: column;
    gap: 5px;
  }
  .mh-btn--burger span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #3060BC;
  }
  /* ---------- выбор клиники рядом с логотипом ---------- */
  .mh-city {
    position: relative;
    /* выше глобального z-index: 101, иначе список перекроется ссылками */
    z-index: 210;
    flex: 0 0 auto;
  }
  .mh-city-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-height: 34px;
    padding: 0 4px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
  }
  .mh-city-pin {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    color: #E7212A;
  }
  .mh-city-txt {
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    color: #0C1526;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mh-city-caret {
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    color: #7186A3;
    transition: transform 0.2s ease;
  }
  .mh-city.is-open .mh-city-caret {
    transform: rotate(180deg);
  }
  .mh-city-list {
    position: absolute;
    right: -15px;
    top: calc(100% + 8px);
    z-index: 50;
    min-width: 236px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E7EDF7;
    border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(12, 21, 38, 0.35);
  }
  .mh-city-head {
    padding: 11px 14px 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #7186A3;
  }
  .mh-city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 9px 14px;
    border-top: 1px solid #E7EDF7;
    color: #0C1526;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
  }
  .mh-city-item:active {
    background: #F1F5FD;
  }
  .mh-city-item i {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: #7186A3;
  }
  .mh-city-item svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    color: #3060BC;
  }
  .mh-city-item.is-current {
    color: #3060BC;
    font-weight: 800;
  }
  .mh-city-item--map {
    background: #F1F5FD;
    font-size: 12px;
    font-weight: 600;
    color: #0C1526;
  }
  .mh-city-item--map i {
    color: #3060BC;
    font-weight: 700;
  }
  /* ---------- строка 2: поиск по услугам и филиал ---------- */
  .mh-live {
    position: relative;
    /* в шаблоне всем a/span/button задан z-index: 101 (наследие снежинок),
       поэтому подсказкам поиска нужен слой выше — иначе их перекрывают чипы */
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    margin-top: 8px;
    padding: 4px 6px 4px 5px;
    border-radius: 14px;
    background: #F1F5FD;
  }
  /* поле поиска: белая пилюля с лупой — сразу читается как поиск */
  .mh-search {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 34px;
    padding: 0 6px 0 9px;
    border: 1px solid #DCE5F5;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .mh-search:focus-within {
    border-color: #3060BC;
    box-shadow: 0 0 0 3px rgba(48, 96, 188, 0.12);
  }
  .mh-search-ic {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    color: #7186A3;
  }
  .mh-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    color: #0C1526;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    /* убираем системный крестик у type=search в вебките */
  }
  .mh-search-input::placeholder {
    color: #7186A3;
    font-weight: 500;
  }
  .mh-search-input::-webkit-search-decoration,
  .mh-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
  }
  .mh-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #F1F5FD;
    color: #7186A3;
    cursor: pointer;
  }
  .mh-search-clear svg {
    width: 13px;
    height: 13px;
  }
  /* во время поиска поле занимает всю строку */
  .mh-live.is-searching .mh-city,
  .mh-live.is-searching .mh-msgs {
    display: none;
  }
  /* мессенджеры рядом с поиском */
  .mh-msgs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
  }
  .mh-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #DCE5F5;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, border-color 0.2s ease;
  }
  .mh-msg:active {
    transform: scale(0.94);
    border-color: #3060BC;
  }
  .mh-msg img {
    width: 22px;
    height: 22px;
    display: block;
  }
  /* ---------- выпадающие подсказки ---------- */
  .mh-sresults {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #E7EDF7;
    border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(12, 21, 38, 0.35);
  }
  .mh-sitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border-bottom: 1px solid #E7EDF7;
    color: #0C1526;
    font-size: 13.5px;
    line-height: 1.3;
    text-decoration: none;
  }
  .mh-sitem:last-child {
    border-bottom: none;
  }
  .mh-sitem:active {
    background: #F1F5FD;
  }
  .mh-sitem mark {
    padding: 0 1px;
    border-radius: 3px;
    background: rgba(48, 96, 188, 0.16);
    color: #1E3F80;
    font-weight: 700;
  }
  .mh-sitem-type {
    flex: 0 0 auto;
    font-size: 11px;
    color: #7186A3;
  }
  .mh-sempty {
    padding: 18px 14px;
    text-align: center;
    font-size: 13px;
    color: #7186A3;
  }
  .mh-sempty a {
    display: inline-block;
    margin-top: 6px;
    color: #3060BC;
    font-weight: 700;
  }
  .mh-live-dot {
    position: relative;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #21B573;
  }
  .mh-live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(33, 181, 115, 0.55);
    animation: mhPulse 2.2s ease-out infinite;
  }
  .mh-live-txt {
    font-size: 12.5px;
    font-weight: 600;
    color: #0C1526;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mh-live-txt b {
    font-weight: 800;
  }
  .mh-live.is-closed .mh-live-dot {
    background: #7186A3;
  }
  .mh-live.is-closed .mh-live-dot::after {
    display: none;
  }
  /* телефон — главный элемент первой строки */
  .mh-call {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .mh-call:active .mh-call-ic {
    transform: scale(0.93);
  }
  .mh-call b {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0C1526;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mh-call-ic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3060BC;
    color: #fff;
    transition: transform 0.12s ease;
    /* точка «сейчас открыто» в углу иконки */
  }
  .mh-call-ic svg {
    width: 15px;
    height: 15px;
    display: block;
  }
  .mh-call-ic .mh-live-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    flex: none;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    background: #21B573;
  }
  .mh-call-ic .mh-live-dot::after {
    inset: -3px;
  }
  /* адрес первым чипом в ленте */
  .mh-chip--place .mh-chip-ic {
    color: #E7212A;
  }
  /* ---------- строка 3: лента отделений ---------- */
  /* лента: слева прокручиваются все отделения, справа закреплены «Все услуги» */
  .mh-rail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 2px 0;
  }
  .mh-rail-scroll {
    position: relative;
    display: flex;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    padding-right: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    /* подсказка, что лента прокручивается: правый край растворяется */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  }
  .mh-rail-scroll::-webkit-scrollbar {
    display: none;
  }
  .mh-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 11px 0 9px;
    border: 1px solid #E7EDF7;
    border-radius: 12px;
    background: #fff;
    color: #0C1526;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
  }
  .mh-chip:active {
    transform: scale(0.97);
    background: #F1F5FD;
    border-color: #3060BC;
  }
  .mh-chip .mh-chip-ic {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: #3060BC;
  }
  .mh-chip .mh-chip-ic svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  .mh-chip--all {
    flex: 0 0 auto;
    background: #0C1526;
    border-color: #0C1526;
    color: #fff;
    padding: 0 11px 0 13px;
  }
  .mh-chip--all .mh-chip-arrow {
    width: 14px;
    height: 14px;
  }
  /* ---------- верхняя серая полоса ---------- */
  .header-top .header-address,
  .header-top .workhours {
    display: none !important;
  }
  .header-top .row {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .header-top .activate-blind {
    justify-content: flex-start;
    margin-left: 0;
    font-size: 12.5px;
  }
  /* ---------- липкая карточка при прокрутке ---------- */
  .mobile-scroll-header {
    display: block !important;
    background: transparent;
    box-shadow: none;
    padding: 0;
    /* контакты в липкой плашке: номер крупно, под ним выбор клиники.
       Кнопки звонка здесь нет — она есть в нижней панели */
    /* адрес под номером — компактнее, чем в основной шапке */
    /* список открывается вниз, прижат к левому краю блока контактов */
  }
  .mobile-scroll-header > .container {
    display: block;
  }
  .mobile-scroll-header .menu-pages,
  .mobile-scroll-header .menu-contact,
  .mobile-scroll-header .navbar-brand {
    display: none !important;
  }
  .mobile-scroll-header .mh {
    padding: 3px 15px;
    border-radius: 15px;
    margin: 0;
  }
  .mobile-scroll-header .msh-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    padding-left: 10px;
  }
  .mobile-scroll-header .msh-phone {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0C1526;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-scroll-header .msh-contact .mh-city-btn {
    min-height: 20px;
    padding: 0;
  }
  .mobile-scroll-header .msh-contact .mh-city-txt {
    font-size: 11px;
    color: #7186A3;
  }
  .mobile-scroll-header .msh-contact .mh-city-pin,
  .mobile-scroll-header .msh-contact .mh-city-caret {
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
  }
  .mobile-scroll-header .msh-contact .mh-city-list {
    right: auto;
    left: -10px;
    top: calc(100% + 10px);
  }
  .mobile-scroll-header .msh-progress {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 12px;
    height: 3px;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #3060BC, #E7212A);
    transition: width 0.1s linear;
  }
  /* пока открыто выездное меню — липкая шапка и нижняя панель не мешают:
     у самого меню есть свои кнопки звонка и записи */
  body.ph-menu-open .mobile-scroll-header,
  body.ph-menu-open .mnav {
    display: none !important;
  }
  /* ======================================================================
     НИЖНЯЯ ПАНЕЛЬ ДЕЙСТВИЙ
     ====================================================================== */
  .mnav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(180deg, #3060BC, #1E3F80);
    box-shadow: 0 -8px 24px -10px rgba(12, 21, 38, 0.35);
  }
  /* пункт-кнопка «Меню» наследует старые стили бургера — сбрасываем их */
  .mnav .mobile-menu-button {
    width: 100%;
    height: 62px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
  }
  .mnav .mobile-menu-button span {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
  }
  .mnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 62px;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease, transform 0.1s ease;
  }
  .mnav-item:active {
    transform: scale(0.93);
    opacity: 0.8;
  }
  .mnav-item svg {
    width: 21px;
    height: 21px;
    display: block;
  }
  .mnav-fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* подпись выравниваем по подписям соседних пунктов */
    justify-content: flex-end;
    gap: 3px;
    height: 62px;
    padding: 0 0 13px;
    border: none;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mnav-fab:active .mnav-fab-circle {
    transform: scale(0.93);
  }
  .mnav-fab-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-top: -22px;
    border-radius: 50%;
    background: linear-gradient(150deg, #FF4A52, #E7212A);
    border: 4px solid #fff;
    box-shadow: 0 8px 20px -6px rgba(231, 33, 42, 0.75);
    transition: transform 0.12s ease;
  }
  .mnav-fab-circle svg {
    width: 23px;
    height: 23px;
    display: block;
  }
  /* контент не должен прятаться под панелью */
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  /* круглый виджет записи больше не нужен — его роль взяла нижняя панель */
  .medflex-round-widget {
    display: none !important;
  }
  /* заголовки страниц: 34px на телефоне занимали три строки */
  .zagolovok-h1 h1 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.2px;
  }
  .zagolovok-h1 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }
}
@keyframes mhPulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
/* узкие экраны */
@media (max-width: 380px) {
  .mh-bar {
    /* больше 32px здесь не влезает: номер телефона начинает обрезаться */
  }
  .mh-bar .mh-logo svg {
    height: 32px;
  }
  .mh-bar .mh-call {
    gap: 6px;
  }
  .mh-bar .mh-call b {
    font-size: 13px;
  }
  .mh-bar .mh-call-ic {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
  }
  .mh-bar .mh-call-ic svg {
    width: 13px;
    height: 13px;
  }
  .mh-bar .mh-phone {
    font-size: 14px;
  }
  .mh-city-txt {
    font-size: 11.5px;
  }
  .mnav-item {
    font-size: 10px;
  }
}
/* ==========================================================================
   ФОРМА ЗАПИСИ НА МОБИЛЬНЫХ
   Внутренние отступы окна были рассчитаны на десктоп (50px по бокам) —
   на телефоне поля сжимались до 240px из 374px доступных.
   ========================================================================== */
@media (max-width: 768px) {
  .max-form.modal .modal-dialog {
    margin: 10px 8px;
  }
  .max-form.modal .modal-dialog .modal-content {
    padding: 10px 10px 6px;
    border-radius: 22px;
    /* декоративный кружок был рассчитан на широкое окно и уезжал за экран */
    /* поля и подписи под наш стиль: те же скругления, что у шапки и фильтров */
  }
  .max-form.modal .modal-dialog .modal-content::after {
    width: 84px;
    height: 84px;
    left: -22px;
    top: -26px;
  }
  .max-form.modal .modal-dialog .modal-content .modal-header {
    padding: 10px 10px 6px;
  }
  .max-form.modal .modal-dialog .modal-content .modal-header .modal-title {
    font-size: 1.25rem !important;
    line-height: 1.25;
  }
  .max-form.modal .modal-dialog .modal-content .modal-body {
    padding: 6px 10px 10px;
  }
  .max-form.modal .modal-dialog .modal-content .modal-footer {
    padding: 6px 10px 10px;
  }
  .max-form.modal .modal-dialog .modal-content .modal-footer .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
  }
  .max-form.modal .modal-dialog .modal-content .form-control,
  .max-form.modal .modal-dialog .modal-content .form-select {
    border-radius: 12px;
  }
  .max-form.modal .modal-dialog .modal-content .form-check-label {
    font-size: 12px;
    line-height: 1.4;
  }
}
/* ==========================================================================
   КАРТА «КАК К НАМ ПОПАСТЬ»
   Ниже по высоте и не перехватывает прокрутку страницы: карта оживает
   только после клика по ней.
   ========================================================================== */
.yamap__wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.yamap__frame {
  display: block;
  width: 100%;
  border: 0;
}
/* прозрачная накладка перехватывает колесо и касания, пока карта «спит» */
.yamap__lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  background: transparent;
  cursor: pointer;
}
.yamap__lock span {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(12, 21, 38, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 26px -12px rgba(12, 21, 38, 0.8);
  pointer-events: none;
}
.yamap__wrap.is-live .yamap__lock {
  display: none;
}
@media (max-width: 991px) {
  .yamap__frame {
    height: 260px;
  }
  .yamap__wrap {
    border-radius: 14px;
  }
  .yamap__lock span {
    padding: 7px 14px;
    font-size: 12px;
  }
}
/* ==========================================================================
   «НАС РЕКОМЕНДУЮТ» — бесконечная лента площадок с оценками
   Разметку не трогаем: скрипт оборачивает список и дублирует его,
   чтобы прокрутка шла бесшовно.
   ========================================================================== */
.rec-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.recomended .rec-card.is-marquee {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: max-content;
  gap: 14px;
  animation: rec-marquee 38s linear infinite;
  will-change: transform;
}
.rec-marquee:hover .rec-card.is-marquee {
  animation-play-state: paused;
}
@keyframes rec-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.recomended .rec-card.is-marquee .rec {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto !important;
  min-width: 190px;
  padding: 16px 20px;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 31, 58, 0.06);
}
.recomended .rec-card.is-marquee .rec .company {
  height: 34px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recomended .rec-card.is-marquee .rec .company img {
  max-height: 30px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
.recomended .rec-card.is-marquee .rec span {
  font-size: 14px !important;
  font-weight: 700;
  color: #0C1526;
}
.recomended .rec-card.is-marquee .rec .stars svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 767px) {
  .recomended .rec-card.is-marquee {
    gap: 10px;
    animation-duration: 26s;
  }
  .recomended .rec-card.is-marquee .rec {
    min-width: 152px;
    padding: 13px 14px;
    border-radius: 14px;
  }
  .recomended .rec-card.is-marquee .rec .company img {
    max-height: 24px;
    max-width: 112px;
  }
  .recomended .rec-card.is-marquee .rec span {
    font-size: 13px !important;
  }
  .recomended .rec-card.is-marquee .rec .stars svg {
    width: 15px;
    height: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recomended .rec-card.is-marquee {
    animation: none;
  }
}
/* ==========================================================================
   «ОНЛАЙН ОСМОТР ПО ФОТО И ВИДЕО» — карточка формы в общем стиле сайта
   Разметка: components/w3strict/formi/templates/po_foto/template.php (.ofv)
   ========================================================================== */
.form-page {
  display: block;
  padding: 8px 0 34px;
}
.ofv {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #E7EDF7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 48px -34px rgba(15, 31, 58, 0.45);
  overflow: hidden;
}
/* фото врача: вырезанная фигура целиком, прижата к низу подложки —
   не обрезается ни при каких пропорциях картинки */
.ofv-media {
  position: relative;
  flex: 0 0 40%;
  max-width: 40%;
  min-height: 460px;
  background: linear-gradient(180deg, #F3F7FE 0%, #DCE7FA 100%);
  overflow: hidden;
}
.ofv-media img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
  width: auto;
  height: 94%;
  max-width: 96%;
  object-fit: contain;
  object-position: center bottom;
}
.ofv-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px 40px;
}
.ofv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F1F5FD;
  color: #3060BC;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ofv-badge svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
/* заголовок и описание приходят из настроек веб-формы */
.ofv-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* внутри заголовка бывают вложенные элементы — наследуют его вид */
}
.ofv-head h1,
.ofv-head h2,
.ofv-head h3,
.ofv-head .zag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin: 0;
  color: #0C1526;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: normal;
}
.ofv-head p {
  margin: 0;
  color: #61708C;
  font-size: 15px;
  line-height: 1.55;
}
.ofv-head .zag * {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.ofv-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  /* «Прикрепить фото или видео» — зона загрузки с перетаскиванием */
}
.ofv-form .ofv-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ofv-form input[type="text"],
.ofv-form input[type="tel"] {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #E7EDF7;
  border-radius: 14px;
  background: #F1F5FD;
  color: #0C1526;
  font-size: 15px;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ofv-form input[type="text"]::placeholder,
.ofv-form input[type="tel"]::placeholder {
  color: #8494AF;
}
.ofv-form input[type="text"]:focus,
.ofv-form input[type="tel"]:focus {
  outline: none;
  border-color: #3060BC;
  background: #fff;
}
.ofv-form .file-input {
  width: 100%;
}
.ofv-form .file-input label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 13px 16px;
  border: 1px dashed #BFD0EE;
  border-radius: 14px;
  background: #F1F5FD;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ofv-form .file-input label > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: #3060BC;
}
.ofv-form .file-input label .ofv-file-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.ofv-form .file-input label .ofv-file-txt b {
  color: #3060BC;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}
.ofv-form .file-input label .ofv-file-txt small {
  color: #61708C;
  font-size: 12.5px;
  line-height: 1.25;
}
.ofv-form .file-input label:hover {
  border-color: #3060BC;
  background: #EAF0FC;
}
.ofv-form .file-input input {
  display: none;
}
.ofv-form .file-input.is-dragover label {
  border-color: #3060BC;
  border-style: solid;
  background: #EAF0FC;
  box-shadow: 0 0 0 3px rgba(48, 96, 188, 0.15);
}
.ofv-form button[type="submit"] {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: #3060BC;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.ofv-form button[type="submit"]:hover {
  background: #1E3F80;
}
.ofv-form button[type="submit"]:active {
  transform: translateY(1px);
}
.ofv-form .ofv-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #61708C;
  font-size: 13px;
  line-height: 1.3;
}
.ofv-form .ofv-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #3060BC;
}
.ofv-form .results:empty {
  display: none;
}
.ofv-form .results .ui-alert {
  margin: 0;
}
/* прикреплённые файлы: превью, имя, расширение и крестик в один ряд */
.ofv #fileList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ofv #fileList:empty {
  display: none;
}
.ofv #fileList li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 8px 6px 6px;
  border: 1px solid #E7EDF7;
  border-radius: 12px;
  background: #fff;
  color: #35507F;
  font-size: 12.5px;
  line-height: 1.2;
}
.ofv #fileList li img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 30px;
}
.ofv #fileList li span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ofv #fileList li .file-extension {
  color: #61708C;
  max-width: none;
}
.ofv #fileList li button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #F1F5FD;
  color: #61708C;
  cursor: pointer;
  flex: 0 0 24px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ofv #fileList li button i {
  font-size: 11px;
}
.ofv #fileList li button:hover {
  background: #FCE7E8;
  color: #E7212A;
}
.ofv .custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ofv .custom-checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #3060BC;
}
.ofv .custom-checkbox label {
  margin: 0;
  color: #61708C;
  font-size: 12.5px;
  line-height: 1.4;
}
.ofv .custom-checkbox .agreement-link {
  color: #61708C;
  text-decoration: none;
  border-bottom: 1px solid rgba(97, 112, 140, 0.45);
}
.ofv .custom-checkbox .agreement-link:hover {
  color: #3060BC;
  border-bottom-color: #3060BC;
}
/* планшет и телефон: фото сверху лентой, форма в столбик */
@media (max-width: 991px) {
  .form-page {
    padding: 4px 0 24px;
  }
  .ofv {
    flex-direction: column;
    border-radius: 18px;
  }
  .ofv-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding-top: 14px;
    /* картинка в потоке: блок ровно по её высоте, врач никуда не уезжает */
  }
  .ofv-media img {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    max-height: 235px;
    object-fit: contain;
    object-position: center bottom;
  }
  .ofv-body {
    padding: 20px 16px 22px;
    gap: 12px;
  }
  .ofv-head h1,
  .ofv-head h2,
  .ofv-head h3,
  .ofv-head .zag {
    font-size: 22px;
  }
  .ofv-head p {
    font-size: 14px;
  }
  .ofv-form .ofv-fields {
    grid-template-columns: 1fr;
  }
  .ofv-form input[type="text"],
  .ofv-form input[type="tel"] {
    min-height: 48px;
    border-radius: 12px;
  }
  .ofv-form button[type="submit"] {
    min-height: 50px;
    border-radius: 12px;
  }
  .ofv-form .file-input label {
    padding: 11px 14px;
    border-radius: 12px;
  }
}
/* ==========================================================================
   ДЕСКТОПНАЯ ШАПКА (от 1401px)
   Верхняя утилитарная строка + основная панель: логотип, выбор клиники,
   меню, поиск, телефон с мессенджерами и кнопка записи.
   Все прежние элементы и иконки сохранены, включая версию для слабовидящих.
   ========================================================================== */
/* ---------- верхняя строка ---------- */
.dh-top {
  /* свой контекст наложения выше основной панели: тултипы из этой
     строки (бейдж награды) не прячутся под кнопками поиска/записи */
  position: relative;
  z-index: 300;
  background: #F1F5FD;
  border-bottom: 1px solid #E7EDF7;
  color: #61708C;
}
.dh-top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 46px;
}
.dh-top-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.dh-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-top .dh-addr,
.header-top .dh-hours {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
  color: #0C1526;
  font-size: 13.5px;
  line-height: 1.3;
  text-align: left !important;
  white-space: nowrap;
}
.header-top .dh-addr {
  white-space: inherit;
}
.header-top .dh-addr img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
/* иконки метро в адресе: старые отрицательные отступы съедали
   флексовый зазор, и значок слипался с названием станции */
.header-top .dh-addr .metro {
  margin-right: 0;
}
.header-top .dh-addr .metro-svg {
  margin-right: 0;
}
.header-top .dh-hours {
  color: #61708C;
}
.header-top .dh-hours svg {
  width: 16px;
  height: 16px;
  color: #3060BC;
  flex: 0 0 16px;
}
.header-top .dh-top-right .activate-blind {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 0 !important;
  padding: 4px 12px;
  border: 1px solid #E7EDF7;
  border-radius: 999px;
  background: #fff;
  color: #61708C;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.header-top .dh-top-right .activate-blind i {
  color: #3060BC;
  font-size: 13px;
}
.header-top .dh-top-right .activate-blind:hover {
  border-color: #3060BC;
  color: #0C1526;
}
.header-top .block-record-button .record-button {
  /* компактный вид в тонкой верхней строке шапки */
  gap: 6px;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.header-top .block-record-button .record-button .stethoscope {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
/* ---------- основная панель ---------- */
.headed {
  padding: 0;
  border-bottom: 1px solid #E7EDF7;
  box-shadow: 0 6px 24px -18px rgba(15, 31, 58, 0.5);
}
.dh-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}
.headed .dh-logo {
  position: static !important;
  left: auto !important;
  flex: 0 0 auto;
  width: 156px;
}
.headed .dh-logo a,
.headed .dh-logo svg,
.headed .dh-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* города: все клиники видны сразу, текущая подсвечена */
.dh-cities {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #E7EDF7;
  border-radius: 999px;
  background: #fff;
}
.dh-cities .dh-cities-pin {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-left: 9px;
  margin-right: 4px;
  color: #E7212A;
}
.dh-cities .dh-city-lnk {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 999px;
  color: #61708C;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.dh-cities .dh-city-lnk:hover {
  color: #0C1526;
  background: #F1F5FD;
}
.dh-cities .dh-city-lnk.is-current {
  background: #3060BC;
  color: #fff;
  cursor: default;
}
/* когда городов в строке три, адресу и графику может не хватить места —
   на неширких десктопах жертвуем графиком работы, потом адресом */
@media (max-width: 1780px) {
  .header-top .dh-hours {
    display: none !important;
  }
}
@media (max-width: 1580px) {
  .header-top .dh-addr {
    display: none !important;
  }
}
/* ---------- меню ---------- */
.dh-menu {
  flex: 1 1 auto;
  min-width: 0;
}
.dh-menu .menu-pages {
  flex-direction: row !important;
  width: 100%;
}
.dh-menu .menu-pages ul {
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dh-menu .menu-pages li a {
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  color: #0C1526;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dh-menu .menu-pages li a:hover {
  background: #F1F5FD;
  color: #3060BC;
}
.dh-menu .menu-pages li.selected {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.dh-menu .menu-pages li.selected a {
  background: #F1F5FD;
  color: #3060BC !important;
  font-weight: 700;
}
/* ---------- инструменты справа ---------- */
.dh-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}
.dh-search {
  position: relative;
  z-index: 205;
}
.dh-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E7EDF7;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.dh-search-btn img {
  width: 19px;
  height: 19px;
  padding: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}
.dh-search-btn:hover {
  border-color: #C9D9F4;
  background: #F1F5FD;
}
.dh-search-field {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 206;
  width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: width 0.28s ease, opacity 0.2s ease;
}
.dh-search.is-open {
  /* крестик встаёт в правый уголок — прямо на месте лупы */
}
.dh-search.is-open .dh-search-field {
  width: 420px;
  opacity: 1;
  pointer-events: auto;
}
.dh-search.is-open .dh-search-clear {
  display: flex;
  right: 0;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  z-index: 212;
  border-radius: 50%;
  background: #3060BC;
  color: #fff;
}
.dh-search.is-open .dh-search-clear svg {
  width: 16px;
  height: 16px;
}
.dh-search.is-open .dh-search-clear:hover {
  background: #1E3F80;
}
.dh-search.is-open .dh-search-btn {
  border-color: #3060BC;
  background: #3060BC;
}
.dh-search.is-open .dh-search-btn img {
  filter: brightness(0) invert(1);
}
.dh-search-input {
  width: 100%;
  min-height: 44px;
  padding: 11px 42px 11px 18px;
  border: 1px solid #3060BC;
  border-radius: 999px;
  background: #fff;
  color: #0C1526;
  font-size: 15px;
  box-shadow: 0 18px 36px -26px rgba(15, 31, 58, 0.6);
}
.dh-search-input::placeholder {
  color: #8494AF;
}
.dh-search-input:focus {
  outline: none;
}
.dh-search-input::-webkit-search-cancel-button {
  display: none;
}
.dh-search-clear {
  position: absolute;
  right: 52px;
  top: 50%;
  z-index: 210;
  /* крестик закрывает поиск и виден только когда поиск раскрыт */
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #F1F5FD;
  color: #61708C;
  cursor: pointer;
}
.dh-search-clear svg {
  width: 14px;
  height: 14px;
}
.dh-sresults {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 220;
  width: 420px;
  max-height: 60vh;
  overflow: auto;
  padding: 6px;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 52px -28px rgba(15, 31, 58, 0.55);
}
.dh-sresults .mh-sitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #0C1526;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}
.dh-sresults .mh-sitem:hover {
  background: #F1F5FD;
}
.dh-sresults .mh-sitem-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dh-sresults .mh-sitem-name mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(48, 96, 188, 0.16);
  color: #1E3F80;
  font-weight: 700;
}
.dh-sresults .mh-sitem-type {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F1F5FD;
  color: #61708C;
  font-size: 11.5px;
  white-space: nowrap;
}
.dh-sresults .mh-sempty {
  padding: 16px 14px;
  color: #61708C;
  font-size: 14px;
  text-align: center;
}
.dh-sresults .mh-sempty a {
  color: #3060BC;
}
.headed .dh-contact {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
}
/* ---------- страница FAQ: фирменный поиск по вопросам ---------- */
.fqf {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 20px;
}
.fqf-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 420px;
  min-width: 0;
  min-height: 46px;
  padding: 0 8px 0 14px;
  border: 1.5px solid #E7EDF7;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fqf-search:focus-within {
  border-color: #3060BC;
  box-shadow: 0 0 0 4px rgba(48, 96, 188, 0.1);
}
.fqf-ic {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #7186A3;
}
.fqf-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 15px;
  color: #0C1526;
}
.fqf-input::placeholder {
  color: #7186A3;
}
.fqf-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #F4F7FD;
  color: #7186A3;
  cursor: pointer;
}
.fqf-clear svg {
  width: 13px;
  height: 13px;
}
.fqf-count {
  flex: 0 0 auto;
  font-size: 14px;
  color: #7186A3;
}
.fqf-count b {
  font-size: 16px;
  font-weight: 800;
  color: #0C1526;
}
.fqf-empty {
  padding: 36px 20px;
  margin-bottom: 24px;
  text-align: center;
  border: 1px dashed #E7EDF7;
  border-radius: 16px;
}
.fqf-empty b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  color: #0C1526;
}
.fqf-empty span {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  color: #7186A3;
}
.fqf-reset {
  min-height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: #3060BC;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.fqf-reset:hover {
  background: #1E3F80;
}
/* скрытие при фильтрации и ленивой подгрузке */
.accordion-item.is-hidden,
.faqsrv-group.is-hidden,
.faqsrv-group.is-lazy {
  display: none !important;
}
.fqf-sentinel {
  height: 1px;
}
@media (max-width: 575px) {
  .fqf {
    flex-wrap: wrap;
    gap: 10px;
  }
  .fqf-search {
    flex: 1 1 100%;
  }
}
/* ---------- страница FAQ: вопросы из услуг с разбивкой по услугам ---------- */
.faqsrv {
  margin-top: 18px;
}
.faqsrv-group {
  margin-bottom: 28px;
}
.faqsrv-name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faqsrv-name a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0C1526;
  text-decoration: none;
  transition: color 0.2s ease;
}
.faqsrv-name a::before {
  content: '';
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3060BC;
}
.faqsrv-name a:hover {
  color: #3060BC;
}
/* ---------- /horoshee-mesto/: врачи по городам ---------- */
.hm-doctors .hm-doc-main {
  margin-bottom: 8px;
}
.hm-doctors .hm-doc-city {
  margin-top: 18px;
  /* заголовок города — меньше основного, с синей меткой */
}
.hm-doctors .hm-doc-city .main-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}
.hm-doctors .hm-doc-city .main-section-title::before {
  content: '';
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3060BC;
}
/* ---------- номер + «Заказать звонок» столбиком в шапке ---------- */
.dh-phone-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.dh-callback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3060BC !important;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dh-callback img {
  width: 14px;
  height: 14px;
}
.dh-callback:hover {
  color: #1E3F80 !important;
  text-decoration: none;
}
/* ---------- выпадающий список телефонов клиник у номера в шапке ---------- */
.dh-phones {
  position: relative;
  display: inline-flex;
}
.dh-phones:hover .dh-phones-list,
.dh-phones:focus-within .dh-phones-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dh-phones-list {
  position: absolute;
  top: 100%;
  right: -6px;
  /* выше легаси z-index: 101 у ссылок контента */
  z-index: 230;
  padding-top: 10px;
  /* мостик, чтобы ховер не рвался между номером и списком */
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.dh-phones-in {
  min-width: 232px;
  padding: 8px;
  background: #fff;
  border: 1px solid #E7EDF7;
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(12, 21, 38, 0.35);
}
.dh-phones-city {
  padding: 8px 10px;
  border-radius: 10px;
}
.dh-phones-city.is-current {
  background: #F1F5FD;
}
.dh-phones-city + .dh-phones-city {
  margin-top: 2px;
}
.dh-phones-town {
  display: block;
  margin-bottom: 3px;
  color: #61708C;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.dh-phones-city a {
  display: block;
  padding: 2px 0;
  color: #0C1526;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}
.dh-phones-city a:hover {
  color: #3060BC;
}
.headed .dh-phone {
  font-size: 18.5px !important;
  font-weight: 800;
  color: #0C1526 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.headed .dh-phone:hover {
  color: #3060BC !important;
}
.headed .dh-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.headed .dh-social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5FD;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.headed .dh-social a img {
  width: 20px !important;
  height: 20px;
  object-fit: contain;
}
.headed .dh-social a:hover {
  background: #E3EBFA;
  transform: translateY(-1px);
}
.dh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: #3060BC;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.dh-cta:hover {
  background: #1E3F80;
}
/* на средних десктопах ужимаем, чтобы строка не ломалась */
@media (max-width: 1600px) {
  .headed .dh-logo {
    width: 168px;
  }
  .dh-menu .menu-pages li a {
    padding: 9px 9px;
    font-size: 15px;
  }
  .dh-tools {
    gap: 10px;
  }
  .headed .dh-phone {
    font-size: 18px !important;
  }
}
@media (max-width: 1480px) {
  .headed .dh-social {
    display: none;
  }
}
/* десктопная шапка — только от 1401px, ниже работает мобильная .mh */
@media (max-width: 1400px) {
  .dh-top,
  .dh-bar {
    display: none !important;
  }
}
/* ==========================================================================
   ТОЧКИ ПАГИНАЦИИ В ЛЕНТАХ
   При dynamicBullets swiper рассчитывает на абсолютное позиционирование
   (left: 50% + translateX(-50%)), а наши точки стоят в потоке — из-за этого
   их уводило влево. Возвращаем центрирование обычными полями.
   ========================================================================== */
.akc-dots.swiper-pagination-bullets-dynamic,
.dsp-dots.swiper-pagination-bullets-dynamic,
.rv-dots.swiper-pagination-bullets-dynamic,
.rez-dots.swiper-pagination-bullets-dynamic,
.vid-dots.swiper-pagination-bullets-dynamic {
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* ==========================================================================
   ПЛАВАЮЩАЯ ШАПКА ПРИ ПРОКРУТКЕ (десктоп, от 1401px)
   Одна компактная строка: логотип, меню, телефон и запись.
   ========================================================================== */
@media (min-width: 1401px) {
  .mobile-scroll-header {
    padding: 5px 0 !important;
    border-bottom: 1px solid #E7EDF7;
    box-shadow: 0 8px 26px -18px rgba(15, 31, 58, 0.55) !important;
  }
  .mobile-scroll-header > .container {
    display: flex !important;
    align-items: center;
    gap: 18px;
  }
  .mobile-scroll-header .navbar-brand {
    /* старое правило .header-hide-small прячет логотип до 1850px —
         в компактной плавающей шапке он помещается всегда */
    display: block !important;
    flex: 0 0 auto;
    width: 132px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mobile-scroll-header .navbar-brand svg,
  .mobile-scroll-header .navbar-brand img {
    display: block;
    width: 100%;
    height: auto;
  }
  .mobile-scroll-header .menu-pages {
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: row !important;
  }
  .mobile-scroll-header .menu-pages ul {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
    padding: 0;
  }
  .mobile-scroll-header .menu-pages li.selected {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .mobile-scroll-header .menu-pages li a {
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 9px;
    color: #0C1526;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .mobile-scroll-header .menu-pages li a:hover {
    background: #F1F5FD;
    color: #3060BC;
  }
  .mobile-scroll-header .menu-pages li.selected a {
    background: #F1F5FD;
    color: #3060BC !important;
    font-weight: 700;
  }
  .mobile-scroll-header .menu-contact {
    flex: 0 0 auto;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    margin-left: auto;
    max-width: none !important;
  }
  .mobile-scroll-header .menu-contact .number {
    font-size: 17px !important;
    font-weight: 800;
    color: #0C1526 !important;
    white-space: nowrap;
  }
  .mobile-scroll-header .menu-contact .number:hover {
    color: #3060BC !important;
  }
  .mobile-scroll-header .menu-contact .social {
    gap: 6px !important;
  }
  .mobile-scroll-header .menu-contact .social a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5FD;
  }
  .mobile-scroll-header .menu-contact .social a img {
    width: 18px !important;
    height: 18px;
  }
}
/* на ширинах, где мессенджеры уже прячутся в основной шапке, прячем и тут */
@media (min-width: 1401px) and (max-width: 1480px) {
  .mobile-scroll-header .menu-contact .social {
    display: none !important;
  }
}
/* ==========================================================================
   ПРОСМОТРЩИК ФОТО: клик по тёмному полю должен закрывать
   По умолчанию поля по бокам — это соседний слайд и растянутые зоны стрелок,
   поэтому нажатие «мимо фото» листало галерею вместо закрытия.
   ========================================================================== */
.fancybox__slide:not(.is-selected) {
  pointer-events: none;
}
.fancybox__nav .f-button.is-prev,
.fancybox__nav .f-button.is-next {
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.2s ease;
  /* у стрелок есть невидимая зона нажатия 90×110px — из-за неё нажатие
     по тёмному полю листало галерею; оставляем небольшой запас */
}
.fancybox__nav .f-button.is-prev::before,
.fancybox__nav .f-button.is-next::before {
  inset: -6px !important;
}
.fancybox__nav .f-button.is-prev:hover,
.fancybox__nav .f-button.is-next:hover {
  background: rgba(255, 255, 255, 0.28);
}
/* ==========================================================================
   ЛОГОТИП В ШАПКЕ ВЫПАДАЮЩЕГО МЕНЮ
   Вместо буквы «Ф» — фирменная эмблема, поэтому синяя подложка не нужна.
   ========================================================================== */
.ph-logo {
  background: #F1F5FD !important;
  padding: 6px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.ph-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* ==========================================================================
   ФОТО НА СТРАНИЦЕ КОНТАКТОВ
   Стрелки — кружки по бокам от фотографии, без белых полос поверх снимка.
   ========================================================================== */
.home-page-img {
  position: relative;
}
.home-page-img .swiper {
  border-radius: 16px;
}
.home-page-img .swiper img {
  display: block;
  width: 100%;
  border-radius: 16px !important;
}
.home-page-img .cnt-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #E7EDF7;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px -14px rgba(15, 31, 58, 0.6);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.home-page-img .cnt-nav-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: none;
}
.home-page-img .cnt-nav-btn span svg path {
  fill: #3060BC;
}
.home-page-img .cnt-nav-btn:hover {
  background: #F1F5FD;
  border-color: #C9D9F4;
}
.home-page-img .cnt-nav-btn.swiper-custom-button-prev {
  left: -22px;
}
.home-page-img .cnt-nav-btn.swiper-custom-button-next {
  right: -22px;
}
.home-page-img .cnt-nav-btn.swiper-button-disabled {
  opacity: 0.45;
}
@media (max-width: 991px) {
  .home-page-img .cnt-nav-btn {
    width: 40px;
    height: 40px;
    /* на узких экранах место за фото есть не всегда — прижимаем к краям */
  }
  .home-page-img .cnt-nav-btn.swiper-custom-button-prev {
    left: 6px;
  }
  .home-page-img .cnt-nav-btn.swiper-custom-button-next {
    right: 6px;
  }
}
/* Стили отделений нужны глобально: на Реутове и Туле плитки
   свёрстаны прямо в index.php, без компонента departments */
/* ==========================================================================
   ОТДЕЛЕНИЯ НА ГЛАВНОЙ
   Квадратные плитки: на мобильных по две в ряд, на десктопе — по четыре.
   ========================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 2em;
}
.dept-card {
  /* на десктопе — строка: иконка слева, название справа */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 86px;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #fff;
  color: #0C1526;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 31, 58, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.dept-card:hover {
  border-color: #3060BC;
  box-shadow: 0 14px 30px -18px rgba(48, 96, 188, 0.55);
  color: #1E3F80;
}
.dept-card:hover .dept-card-ic {
  background: #3060BC;
  color: #fff;
}
.dept-card:active {
  transform: translateY(1px);
}
.dept-card-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #F1F5FD;
  color: #3060BC;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dept-card-ic i {
  font-size: 19px;
  line-height: 1;
}
.dept-card-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-break: normal;
  overflow-wrap: normal;
}
@media (max-width: 1199px) {
  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}
@media (max-width: 767px) {
  /* по две в ряд — плитки остаются квадратными */
  .dept-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.5em;
  }
  .dept-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    min-height: 0;
    aspect-ratio: 1.35 / 1;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
  }
  .dept-card-ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .dept-card-ic i {
    font-size: 16px;
  }
  .dept-card-name {
    font-size: 14px;
    line-height: 1.3;
  }
}
@media (max-width: 360px) {
  .dept-card-name {
    font-size: 13px;
  }
}
/* ==========================================================================
   СТРАНИЦА «О КЛИНИКЕ» (.abt) — общий стиль для всех трёх городов
   ========================================================================== */
.abt {
  padding: 26px 0 12px;
}
.abt h1 {
  margin: 0 0 18px;
  color: #0C1526;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.abt .abt-sec {
  margin-bottom: 42px;
}
.abt .abt-h2 {
  display: block;
  margin: 0 0 18px;
}
.abt p {
  color: #2F3B52;
  font-size: 15.5px;
  line-height: 1.65;
}
.abt strong {
  color: #0C1526;
}
/* ---------- шапка: текст + карточка цифр ---------- */
.abt-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 30px;
  align-items: start;
}
.abt-hero-txt p {
  margin: 0 0 12px;
}
.abt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: #3060BC;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.abt-cta:hover {
  background: #1E3F80;
}
.abt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.abt-stat {
  padding: 20px 18px;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #F1F5FD;
}
.abt-stat b {
  display: block;
  color: #3060BC;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.abt-stat span {
  display: block;
  margin-top: 5px;
  color: #61708C;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
/* ---------- главный врач ---------- */
.abt-doctor-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #E7EDF7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 44px -34px rgba(15, 31, 58, 0.5);
}
.abt-doctor-card .abt-doctor-photo {
  flex: 0 0 280px;
  max-width: 280px;
}
.abt-doctor-card .abt-doctor-photo img {
  display: block;
  width: 100%;
  border-radius: 18px;
}
.abt-doctor-card .abt-doctor-info {
  flex: 1 1 auto;
  min-width: 0;
}
.abt-doctor-card .abt-doctor-info h3 {
  margin: 0 0 12px;
  color: #0C1526;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.abt-doctor-card .abt-doctor-info p {
  margin: 0 0 12px;
  font-size: 15px;
}
.abt-doctor-card .abt-doctor-info p:last-child {
  margin-bottom: 0;
}
/* ---------- принципы: карточки с галочками ---------- */
.abt-princ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.abt-princ {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #E7EDF7;
  border-radius: 16px;
  background: #fff;
}
.abt-princ svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  color: #3060BC;
}
.abt-princ span {
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.55;
}
.abt-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.abt-photos img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
}
/* ---------- фотогалерея ---------- */
.abt-gallery {
  /* статичная сетка фотографий вместо слайдера (3 в ряд) */
  /* стрелки: круглые кнопки в стиле сайта вместо белых полос во всю высоту */
}
.abt-gallery .abt-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.abt-gallery .abt-photo a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}
.abt-gallery .abt-photo a:hover img {
  transform: scale(1.03);
}
.abt-gallery .abt-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}
@media (max-width: 991px) {
  .abt-gallery .abt-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 575px) {
  .abt-gallery .abt-photos {
    grid-template-columns: 1fr;
  }
}
.abt-gallery .swiper {
  padding: 0 !important;
  border-radius: 14px;
}
.abt-gallery .swiper-slide a {
  display: block;
}
.abt-gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.abt-gallery .swiper-custom-button {
  position: absolute;
  top: 50%;
  right: 12px;
  left: auto;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid #E7EDF7;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 20px -12px rgba(15, 31, 58, 0.55);
  color: #3060BC;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.abt-gallery .swiper-custom-button svg {
  width: 18px;
  height: 18px;
}
.abt-gallery .swiper-custom-button svg path {
  fill: currentColor;
  fill-opacity: 1;
}
.abt-gallery .swiper-custom-button.swiper-custom-button-prev {
  left: 12px;
  right: auto;
}
.abt-gallery .swiper-custom-button:hover {
  background: #3060BC;
  border-color: #3060BC;
  color: #fff;
}
.abt-gallery .swiper-custom-button.swiper-button-disabled {
  opacity: 0.35;
}
.abt-gallery .swiper-custom-button.swiper-button-disabled svg path {
  fill: currentColor;
  fill-opacity: 1;
}
/* ---------- текстовые статьи внутри .abt (например, «Электронная подпись
   договора»): типографика + скриншоты-карточки с fancybox ---------- */
.abt .page-content {
  max-width: 860px;
  /* содержание статьи — карточка, как в блоге */
}
.abt .page-content p {
  margin: 0 0 12px;
}
.abt .page-content h3 {
  margin: 28px 0 14px;
  color: #0C1526;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  /* якорь не прячется под липкой шапкой */
  scroll-margin-top: 95px;
}
.abt .page-content ol,
.abt .page-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.abt .page-content ol li,
.abt .page-content ul li {
  margin-bottom: 8px;
  color: #2F3B52;
  font-size: 15px;
  line-height: 1.6;
}
.abt .page-content blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  border-left: 3px solid #3060BC;
  border-radius: 0 14px 14px 0;
  background: #F1F5FD;
  color: #0C1526;
  font-size: 14.5px;
  line-height: 1.6;
}
.abt .page-content blockquote b {
  color: #1E3F80;
}
.abt .page-content a {
  color: #3060BC;
}
.abt .page-content .epod-toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 22px;
  padding: 20px;
  border: 1px solid #E7EDF7;
  border-radius: 20px;
  background: #fff;
}
.abt .page-content .epod-toc .epod-toc-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0C1526;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.abt .page-content .epod-toc .epod-toc-title i {
  color: #3060BC;
}
.abt .page-content .epod-toc .epod-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.abt .page-content .epod-toc .epod-toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.abt .page-content .epod-toc .epod-toc-list a:hover {
  background: #F1F5FD;
  color: #3060BC;
}
.abt .page-content .epod-toc .epod-toc-list a:hover .epod-toc-num {
  background: #3060BC;
  color: #fff;
}
.abt .page-content .epod-toc .epod-toc-num {
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #F1F5FD;
  color: #3060BC;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.abt .page-content .epod-shot {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 18px auto;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 32px -26px rgba(15, 31, 58, 0.55);
}
.abt .page-content .epod-shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* ---------- лицензии ---------- */
.abt-lic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.abt-lic-grid a {
  display: block;
  width: 230px;
  max-width: 100%;
  border: 1px solid #E7EDF7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.abt-lic-grid a:hover {
  box-shadow: 0 16px 30px -20px rgba(15, 31, 58, 0.55);
  transform: translateY(-2px);
}
.abt-lic-grid img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 991px) {
  .abt {
    padding-top: 14px;
  }
  .abt h1 {
    font-size: 25px;
  }
  .abt .abt-sec {
    margin-bottom: 30px;
  }
  .abt-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .abt-stat b {
    font-size: 24px;
  }
  .abt-doctor-card {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
  }
  .abt-doctor-card .abt-doctor-photo {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .abt-doctor-card .abt-doctor-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: top center;
  }
  .abt-princ-grid {
    grid-template-columns: 1fr;
  }
  .abt-photos {
    grid-template-columns: 1fr;
  }
  .abt-photos img {
    height: 200px;
  }
  .abt-lic-grid a {
    width: calc(50% - 6px);
  }
}
/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ СПРАВА (.ph-panel) — приведение к общему стилю сайта
   Разметка в header.php не меняется, только внешний вид.
   ========================================================================== */
.ph-overlay {
  background: rgba(12, 21, 38, 0.45);
}
.ph-panel {
  border-left: 1px solid #E7EDF7;
  border-radius: 22px 0 0 22px;
  box-shadow: -28px 0 60px -34px rgba(15, 31, 58, 0.55);
}
/* ---------- шапка панели: фирменный синий градиент, как у героя ---------- */
.ph-panel {
  overflow: hidden;
}
.ph-head {
  padding: 18px 18px 16px;
  border-bottom: 0;
  background: linear-gradient(135deg, #3060BC 0%, #1E3F80 100%);
}
.ph-logo {
  background: #fff;
  border-radius: 14px;
}
.ph-logo svg {
  width: 26px;
  height: 26px;
}
.ph-center {
  color: #fff;
  font-size: 15px;
}
.ph-muted {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}
.ph-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.2s ease;
}
.ph-close:hover {
  background: rgba(255, 255, 255, 0.26);
}
/* города — сегмент-переключатель: общая пилюля, активный город белой «таблеткой» */
.ph-cities {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  grid-template-columns: none;
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.ph-city-btn {
  /* ширина по названию + равная доля остатка: «Тула» узкая, длинные не ужаты */
  flex: 1 1 auto;
  min-width: 0;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ph-city-btn[aria-pressed="true"],
.ph-city-btn[aria-current="true"] {
  background: #fff;
  color: #3060BC;
  font-weight: 700;
  box-shadow: 0 4px 12px -5px rgba(2, 6, 23, 0.45);
}
@media (max-width: 396px) {
  .ph-city-btn {
    min-height: 31px;
    font-size: 11px;
  }
}
@media (max-width: 344px) {
  .ph-city-btn {
    padding: 7px 6px;
    font-size: 10.5px;
  }
}
/* ---------- карточка контактов: белая, иконки на голубых плитках ---------- */
.ph-card {
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #fff;
  padding: 6px 14px 14px;
  box-shadow: 0 16px 32px -26px rgba(15, 31, 58, 0.45);
}
.ph-row {
  align-items: center;
  gap: 11px;
  margin-top: 0;
  padding: 10px 0;
}
.ph-row + .ph-row {
  border-top: 1px solid #E7EDF7;
}
.ph-row .ph-text {
  margin: 0;
  color: #0C1526;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}
.ph-row > svg {
  box-sizing: content-box;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  padding: 8px;
  border-radius: 10px;
  background: #F1F5FD;
  color: #3060BC;
}
.ph-row > svg *[stroke] {
  stroke: #3060BC;
}
.ph-row > svg *[fill]:not([fill="none"]) {
  fill: #3060BC;
}
.ph-actions .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  /* логотип Max задан инлайном 35px — ужимаем до размера иконки */
}
.ph-actions .btn img {
  width: 20px !important;
  height: 20px;
  object-fit: contain;
}
.ph-actions .btn i {
  font-size: 14px;
}
/* в Туле мессенджера нет — единственная кнопка занимает всю ширину */
.ph-actions .btn:only-child {
  grid-column: 1 / -1;
}
.ph-panel .btn-red {
  background: #E7212A;
}
.ph-panel .btn-max,
.ph-panel .btn-wa {
  background: #3060BC !important;
  border-color: #3060BC !important;
  color: #fff !important;
}
.ph-panel .btn-max:hover,
.ph-panel .btn-wa:hover {
  background: #1E3F80 !important;
  border-color: #1E3F80 !important;
  color: #fff !important;
}
/* ---------- пункты меню: иконка на голубой плитке, как в карточках ---------- */
.ph-item {
  padding: 10px 12px;
  border: 1px solid #E7EDF7;
  border-radius: 14px;
  color: #0C1526;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  /* у части иконок цвет захардкожен старым синим — перекрашиваем */
  /* стрелка справа */
}
.ph-item .menu-item-icon {
  box-sizing: content-box;
  width: 19px;
  height: 19px;
  padding: 8px;
  border-radius: 10px;
  background: #F1F5FD;
  color: #3060BC;
}
.ph-item svg.menu-item-icon[fill]:not([fill="none"]) {
  fill: #3060BC;
}
.ph-item > svg {
  flex: 0 0 20px;
  color: #A9B6CC;
}
.ph-item .menu-item-text {
  white-space: nowrap;
}
.ph-item:hover {
  background: #F1F5FD;
  border-color: #C9D9F4;
}
.ph-item:hover .menu-item-icon {
  background: #fff;
}
/* кнопка слабовидящих стоит над пунктами меню */
.ph-blind {
  margin-top: 15px;
}
.ph-blind + .ph-nav {
  margin-top: 0;
}
/* на узких экранах пункты компактнее, чтобы длинные названия не переносились */
@media (max-width: 374px) {
  .ph-item {
    padding: 9px 10px;
    font-size: 13px;
  }
  .ph-item .menu-item-icon {
    width: 17px;
    height: 17px;
    padding: 7px;
    margin-right: 10px;
  }
}
/* ---------- низ панели ---------- */
.ph-foot {
  padding: 12px 16px;
  border-top: 1px solid #E7EDF7;
  gap: 10px;
}
.ph-foot .btn-red {
  flex: 1 1 auto;
  min-height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.ph-foot .btn-ghost {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #E7EDF7;
  border-radius: 50%;
  color: #3060BC;
}
.ph-foot .btn-ghost:hover {
  background: #F1F5FD;
}
/* ==========================================================================
   ПОИСК В ЛИПКОЙ МОБИЛЬНОЙ ШАПКЕ: кнопка-лупа + раскрывающаяся строка
   ========================================================================== */
.msh-mobile .msh-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.msh-mobile .msh-search-btn svg {
  width: 21px;
  height: 21px;
  color: #0C1526;
}
.msh-mobile .msh-search-btn.is-open svg {
  color: #3060BC;
}
.msh-mobile .msh-search {
  position: relative;
  padding: 8px 0 4px;
}
.msh-mobile .msh-search .mh-search {
  background: #F1F5FD;
}
.msh-mobile .msh-search .mh-sresults {
  top: calc(100% - 2px);
}
/* ==========================================================================
   ГАЛЕРЕЯ КОЛЛЕКЦИИ МЕДИАБИБЛИОТЕКИ — шорткод {showcollection имя}
   Горизонтальная лента превью, большие фото в Fancybox, описание снизу.
   Фото с ключевым словом «blur» заблюрены до первого клика.
   ========================================================================== */
.mlg {
  margin: 22px 0 26px;
}
.mlg-track {
  display: flex;
  gap: 10px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #C9D9F4 transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* пока тянем — «сжатая рука», без прилипания и выделения */
}
.mlg-track.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.mlg-track img {
  -webkit-user-drag: none;
  user-select: none;
}
.mlg-item {
  position: relative;
  flex: 0 0 auto;
  display: block;
  height: 230px;
  border: 1px solid #E7EDF7;
  border-radius: 14px;
  background: #F1F5FD;
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  /* деликатный контент: сильный блюр до первого нажатия */
}
.mlg-item img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  transition: filter 0.35s ease, transform 0.35s ease;
}
.mlg-item:hover {
  box-shadow: 0 14px 28px -18px rgba(15, 31, 58, 0.55);
  transform: translateY(-2px);
}
.mlg-item.is-blur img {
  filter: blur(24px);
  transform: scale(1.15);
}
.mlg-item .mlg-blur-hint {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  background: rgba(12, 21, 38, 0.18);
}
.mlg-item .mlg-blur-hint svg {
  width: 26px;
  height: 26px;
}
.mlg-item.is-blur .mlg-blur-hint {
  display: flex;
}
.mlg-desc {
  margin: 10px 0 0;
  color: #61708C;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 767px) {
  .mlg-item {
    height: 180px;
  }
}
/* карточка врача перед галереей коллекции (ключевое слово vrach-ID):
   это .dsp-card из слайдера врачей, здесь — одна, шириной со слайд */
.mlg-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}
.mlg-row .mlg-track {
  flex: 1 1 auto;
  min-width: 0;
}
.mlg-doc-wrap {
  flex: 0 0 290px;
  width: 290px;
  display: flex;
}
.mlg-doc-wrap .dsp-card {
  width: 100%;
}
/* описание коллекции внутри карточки врача */
.mlg-doc-desc {
  margin-top: 2px;
  color: #2F3B52;
  font-size: 13px;
  line-height: 1.5;
}
.mlg-doc-desc b,
.mlg-doc-desc strong {
  color: #0C1526;
  font-weight: 800;
  font-size: 15px;
}
/* вариант в начале карточки, над фото врача */
.mlg-doc-desc--top {
  margin: 0;
  padding: 12px 14px 11px;
  border-bottom: 1px solid #E7EDF7;
  background: #F7FAFE;
}
/* стаж и операции вместо цены и кнопки */
.mlg-doc-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #E7EDF7;
}
.mlg-doc-stat {
  color: #61708C;
  font-size: 13px;
  line-height: 1.35;
}
.mlg-doc-stat b {
  color: #0C1526;
  font-weight: 700;
}
/* с врачом фото подстраиваются под высоту его карточки */
.mlg.has-doc .mlg-item {
  height: auto;
  align-self: stretch;
}
@media (max-width: 767px) {
  .mlg-row {
    flex-direction: column;
  }
  .mlg-doc-wrap {
    flex-basis: auto;
    width: 100%;
    max-width: 300px;
  }
  .mlg.has-doc .mlg-item {
    height: 180px;
    align-self: auto;
  }
}
/* ==========================================================================
   НАГРАДА ЯНДЕКС КАРТ «ХОРОШЕЕ МЕСТО»: бейдж в шапке + страница /horoshee-mesto/
   ========================================================================== */
/* ---------- бейдж в верхней строке шапки, тултип на CSS ---------- */
.dh-award {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  flex: 0 0 auto;
  color: #0C1526;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
  /* «Хорошее место» в золотых лавровых ветвях */
  /* «Особенно» строкой над «Хорошее место» */
  /* тултип показываем слева от иконки, в той же строке */
  /* стрелочка смотрит на иконку (вправо) */
}
.dh-award:hover {
  color: #3060BC;
}
.dh-award > svg {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(248, 96, 74, 0.35));
  transition: transform 0.2s ease;
}
.dh-award .dh-award-txt {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.dh-award .dh-laurel {
  flex: 0 0 auto;
  width: auto;
  height: 22px;
  display: block;
}
.dh-award .dh-award-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  text-align: center;
}
.dh-award .dh-award-words small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #61708C;
  transition: color 0.2s ease;
}
.dh-award:hover .dh-award-words small {
  color: #3060BC;
}
.dh-award:hover > svg {
  transform: translateY(-1px) scale(1.06);
}
.dh-award::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  z-index: 1200;
  margin-top: -1px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #0C1526;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 12px 28px -14px rgba(12, 21, 38, 0.6);
  opacity: 0;
  transform: translate(4px, -50%);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.dh-award::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% + 6px);
  z-index: 1201;
  border: 6px solid transparent;
  border-left-color: #0C1526;
  opacity: 0;
  transform: translate(4px, -50%);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.dh-award:hover::after,
.dh-award:hover::before,
.dh-award:focus-visible::after,
.dh-award:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}
/* ---------- страница награды ---------- */
.hm .abt-sec {
  margin-bottom: 44px;
}
.hm-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 34px;
  align-items: center;
}
.hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid #E7EDF7;
  background: #fff;
  color: #3060BC;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hm-badge img {
  height: 26px;
  width: auto;
}
.hm h1 {
  font-size: 40px;
  margin-bottom: 14px;
}
.hm-lead {
  margin: 0 0 16px;
  color: #2F3B52;
  font-size: 17px;
  line-height: 1.6;
}
.hm-lead strong {
  color: #0C1526;
}
.hm-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.hm-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.5;
}
.hm-points svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #3060BC;
}
.hm-actions,
.hm-thanks-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hm-actions .abt-cta,
.hm-thanks-actions .abt-cta {
  margin-top: 0;
}
.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3060BC;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hm-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.hm-link:hover {
  color: #1E3F80;
}
.hm-link:hover svg {
  transform: translateX(3px);
}
.hm-hero-photo a {
  display: block;
  border: 1px solid #E7EDF7;
  border-radius: 24px;
  overflow: hidden;
  background: #F1F5FD;
  box-shadow: 0 28px 56px -36px rgba(15, 31, 58, 0.55);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-hero-photo a:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 64px -36px rgba(48, 96, 188, 0.6);
}
.hm-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hm-hero-photo .hm-photo-note {
  display: block;
  margin-top: 10px;
  color: #61708C;
  font-size: 13px;
  text-align: center;
}
.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hm-card {
  padding: 22px 22px 24px;
  border: 1px solid #E7EDF7;
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.hm-card:hover {
  border-color: #C9D9F4;
  box-shadow: 0 18px 34px -26px rgba(48, 96, 188, 0.55);
  transform: translateY(-2px);
}
.hm-card .hm-card-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #F1F5FD;
  color: #3060BC;
}
.hm-card .hm-card-ic svg {
  width: 24px;
  height: 24px;
}
.hm-card b {
  display: block;
  margin-bottom: 8px;
  color: #0C1526;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.hm-card p {
  margin: 0;
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.55;
}
.hm-video {
  border: 1px solid #E7EDF7;
  border-radius: 24px;
  overflow: hidden;
  background: #0C1526;
  box-shadow: 0 28px 56px -36px rgba(15, 31, 58, 0.55);
}
.hm-video video {
  display: block;
  width: 100%;
  max-height: 640px;
  aspect-ratio: 16 / 9;
  background: #0C1526;
}
.hm-thanks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #3060BC 0%, #1E3F80 100%);
  color: #fff;
}
.hm-thanks .main-section-title {
  color: #fff;
  margin-bottom: 8px;
}
.hm-thanks p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15.5px;
  line-height: 1.6;
}
.hm-thanks .abt-cta {
  background: #fff;
  color: #3060BC;
}
.hm-thanks .abt-cta:hover {
  background: #F1F5FD;
}
.hm-thanks .hm-link {
  color: #fff;
}
.hm-thanks .hm-link:hover {
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 991px) {
  .hm .abt-sec {
    margin-bottom: 30px;
  }
  .hm-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hm h1 {
    font-size: 28px;
  }
  .hm-lead {
    font-size: 15.5px;
  }
  .hm-grid {
    grid-template-columns: 1fr;
  }
  .hm-thanks {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .hm-hero-photo a,
  .hm-video {
    border-radius: 18px;
  }
}
/* ==========================================================================
   СТРАНИЦА УСЛУГИ: баннер первой цены + карточка главного врача
   ========================================================================== */
/* видео услуги справа от описания */
.video-section--side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: center;
}
.video-section--side .video-item {
  margin: 0;
}
.video-section--side video {
  display: block;
  width: 100%;
  max-height: 340px;
  border-radius: 16px;
  background: #0C1526;
}
@media (max-width: 991px) {
  .video-section--side {
    margin-top: 14px;
  }
}
/* описание услуги: голубая карточка со скруглением, как остальные блоки */
.b-snd-main .service-main {
  margin: 18px 0;
  padding: 22px 24px;
  border: 1px solid #E7EDF7;
  border-radius: 20px;
  background: #F1F5FD;
}
.b-snd-main .service-description {
  max-width: none;
  color: #23324A;
  font-size: 15.5px;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .b-snd-main .service-main {
    padding: 16px;
    border-radius: 16px;
  }
}
/* ---------- баннер с первой ценой ---------- */
.svd-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 20px 24px;
  border: 1px solid #E7EDF7;
  border-radius: 20px;
  background: #F1F5FD;
}
.svd-banner-name {
  color: #0C1526;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.svd-banner-price {
  margin-top: 4px;
  color: #3060BC;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.svd-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 22px;
  border: 1px solid #C9D9F4;
  border-radius: 999px;
  background: #fff;
  color: #3060BC;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.svd-banner-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.svd-banner-btn:hover {
  background: #3060BC;
  border-color: #3060BC;
  color: #fff;
}
.svd-banner-btn:hover svg {
  transform: translateX(3px);
}
/* ---------- карточка главного врача ---------- */
.svd-doctor {
  display: flex;
  align-items: stretch;
  gap: 22px;
  margin: 18px 0 26px;
  padding: 20px;
  border: 1px solid #E7EDF7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 44px -34px rgba(15, 31, 58, 0.5);
}
.svd-doc-photo {
  flex: 0 0 280px;
  width: 280px;
  height: 280px;
  align-self: flex-start;
  border-radius: 18px;
  overflow: hidden;
  background: #F1F5FD;
}
.svd-doc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.svd-doc-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svd-doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.svd-doc-name {
  display: inline-block;
  color: #0C1526;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.svd-doc-name:hover {
  color: #3060BC;
}
.svd-doc-spec {
  margin-top: 5px;
  color: #61708C;
  font-size: 14px;
  line-height: 1.45;
}
.svd-doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
.svd-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F1F5FD;
  color: #0C1526;
  font-size: 12.5px;
  font-weight: 600;
}
.svd-tag svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #3060BC;
}
.svd-doc-btn {
  flex: 0 0 auto;
  /* кнопка стоит под текстом описания, прижата влево */
  align-self: flex-start;
  min-height: 46px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: #3060BC;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.svd-doc-btn:hover {
  background: #1E3F80;
}
.svd-doc-brief {
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.6;
}
/* ряд действий: «Записаться к врачу» слева, «Подробнее о враче» справа */
.svd-doc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.svd-doc-actions .svd-doc-btn,
.svd-doc-actions .svd-doc-toggle {
  align-self: auto;
}
.svd-doc-toggle {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid #E7EDF7;
  border-radius: 999px;
  background: #fff;
  color: #3060BC;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.svd-doc-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.svd-doc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.svd-doc-toggle:hover {
  border-color: #C9D9F4;
  background: #F1F5FD;
}
.svd-doc-full {
  padding-top: 4px;
  color: #2F3B52;
  font-size: 14.5px;
  line-height: 1.6;
}
.svd-doc-full b,
.svd-doc-full strong {
  color: #0C1526;
}
.svd-doc-full ul {
  padding-left: 20px;
}
.svd-doc-full li {
  margin-bottom: 7px;
}
@media (max-width: 767px) {
  .svd-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
  }
  .svd-banner-btn {
    width: 100%;
    justify-content: center;
  }
  .svd-doctor {
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
  }
  .svd-doc-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .svd-doc-top {
    flex-direction: column;
  }
  .svd-doc-btn {
    width: 100%;
  }
}
/* ==========================================================================
   ПЛАШКА СОГЛАСИЯ НА COOKIE — один раз при первом заходе
   ========================================================================== */
.cke {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 16px 18px;
  border: 1px solid #E7EDF7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(15, 31, 58, 0.55);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cke.is-show {
  opacity: 1;
  transform: none;
}
.cke .cke-txt {
  color: #61708C;
  font-size: 13px;
  line-height: 1.55;
}
.cke .cke-txt a {
  color: #3060BC;
  text-decoration: none;
  border-bottom: 1px solid rgba(48, 96, 188, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cke .cke-txt a:hover {
  color: #1E3F80;
  border-bottom-color: #1E3F80;
}
.cke .cke-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: #3060BC;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cke .cke-btn:hover {
  background: #1E3F80;
}
@media (max-width: 767px) {
  .cke {
    left: 12px;
    right: 12px;
    /* не перекрываем нижнюю панель быстрых действий */
    bottom: 78px;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .cke .cke-btn {
    width: 100%;
  }
}
/* ==========================================================================
   ФОРМА «ОНЛАЙН ЗАПИСЬ» ВНУТРИ КОНТЕНТА (.blue-form) — ровная сетка полей,
   без лишних отступов от вложенного .container
   ========================================================================== */
.blue-form {
  margin: 24px 0;
  /* вложенный section.container внутри колонки давал кривые поля слева */
}
.blue-form section.container,
.blue-form .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.blue-form .row {
  margin: 0 !important;
}
.blue-form .col-12 {
  padding: 0 !important;
}
.blue-form .online-form {
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(160deg, #3060BC 0%, #24478F 100%);
  box-shadow: 0 22px 44px -30px rgba(48, 96, 188, 0.9);
  /* поля ровной сеткой: дата, имя, телефон, кнопка */
  /* обёртка у даты не должна ломать сетку */
}
.blue-form .online-form .form-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.blue-form .online-form .form {
  margin-left: 0 !important;
}
.blue-form .online-form .form-flex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: stretch;
}
.blue-form .online-form .data-input {
  display: contents;
}
.blue-form .online-form .form-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  color: #0C1526;
}
.blue-form .online-form .form-input[type="tel"] {
  font-family: inherit;
}
.blue-form .online-form .form-btn {
  min-height: 48px;
  padding: 0 30px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.blue-form .online-form .form-checkbox {
  margin-top: 14px;
}
@media (max-width: 1200px) {
  .blue-form .online-form .form-flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blue-form .online-form .form-btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .blue-form .online-form {
    padding: 20px 18px;
  }
  .blue-form .online-form .form-flex {
    grid-template-columns: 1fr;
  }
  .blue-form .online-form .form-title {
    font-size: 21px;
  }
}
/*# sourceMappingURL=styles.css.map */
/* End */
/* /bitrix/templates/phlebocentr/styles.css?1794315589168754 */
