/* ============ Industry: медцентры — заголовок + схема ============ */
.med { padding: 105px 0 0; }

.med__title {
  text-align: center;
  font-size: 64px; /* 64/28 */
  font-weight: 500;
  line-height: 1.1;
}

.med__title-accent {
  display: block;
  color: var(--color-accent);
}

/* --- Схема --- */
.med-scheme { margin-top: 48px; }

/* скроллящийся viewport */
.med-scheme__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;  /* край схемы не дергает pull-to-refresh */
  touch-action: pan-x pan-y;       /* явно разрешаем жесты: гориз. скролл + верт. страницы */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  user-select: none;               /* drag мышью не выделяет подписи */
}
.med-scheme__viewport::-webkit-scrollbar { display: none; }

.med-scheme__stage {
  position: relative;
  width: 1400px;
  margin-inline: auto;
  padding: 12px 0 116px;
}

.med-scheme__img {
  display: block;
  /* width: 840px; */
  margin-inline: auto;
}

/* --- Подписи: 18/15 --- */
.med-label {
  position: absolute;
  max-width: 240px;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.med-label--left {
  text-align: left;
}

.med-label--right {
  text-align: left;
}

.med-label--bottom {
  bottom: 70px;
  text-align: center;
}

.med-label--gpon    { 
     top: 16%;
    left: -7%;
}
.med-label--sip     { 
    top: 36%;
    left: -10%;
}
.med-label--reserve {
  bottom: 33%;
  left: -9%;
}
.med-label--bottom.bottom1{
  left: 13%;
}
.med-label--bottom.bottom2{
    left: 39%;
    bottom: 95px;
}
.med-label--bottom.bottom3{
  left: 66%;
  bottom: 95px;
}
.med-label--cctv    {
    top: 18%;
    right: -14%;
}

/* курсор-подсказка, когда есть что скроллить */
.med-scheme.is-scrollable .med-scheme__viewport { cursor: grab; }
.med-scheme.is-dragging .med-scheme__viewport { cursor: grabbing; }

/* --- Индикатор прокрутки (мобильный) --- */
.med-scheme__scrollbar {
  display: none;
  position: relative;
  width: 200px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.med-scheme__scrollbar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  border-radius: 2px;
  background-color: var(--color-accent);
}

/* --- Мобильные --- */
@media (max-width: 1700px) {
  .med { padding-top: 32px; }

  .med__title { font-size: 28px; }

  .med-scheme { margin-top: 24px; }

  .med-label {
    max-width: 200px;
    font-size: 15px;
  }

  .med-scheme__scrollbar { display: block; }
  .med-scheme__img{
    padding:0 170px;
  }
  .med-label--gpon{
    left:5%;
  }
  .med-label--sip {
      top: 39%;
      left: 3%;
  }
  .med-label--reserve {
      bottom: 32%;
      left: 3%;
  }
  .med-label--bottom.bottom1 {
      left: 20%;
      bottom:35px;
  }
  .med-label--bottom.bottom2 {
      left: 41%;
  }
  .med-label--bottom.bottom3 {
      left: 62%;
  }
  .med-label--cctv {
      right: 0%;
  }
}