/* Шрифты */
@font-face {
  font-family: "MagistralC";
  src: url("../fonts/MagistralC Regular.otf") format("otf");
  src: local('☺'), url('../fonts/MagistralC Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("ttf");
  src: local('☺'), url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat_bold";
  src: url("../fonts/Montserrat-Bold.ttf") format("ttf");
  src: local('☺'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Lobster-Regular";
  src: url("../fonts/Lobster-Regular.ttf") format("ttf");
  src: local('☺'), url('../fonts/Lobster-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a:hover{
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transform: scale(1.03);
}

.logo-link:hover{
    /* box-shadow: 0 10px 10px rgba(0,0,0,0.25); */
    /* transform: scale(1.03); */
}

/* Галвная */
.page {
  color: #fff;
  min-height: 100vh;
  background-image: url("../img/jpg/zweb_bg_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
/* Шапка */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  padding: 18px 0;
}
.header-inner {
  margin: 0 15%;
  display: flex;
  align-items: flex-end; /* якоря внизу хедера */
  justify-content: space-between;
  gap: 20px;
}
/* Логотип */
.logo {
  height: 55px;
  width: auto;
  display: block;
  margin-bottom: 5px;
  transform: translateX(0%);
  margin-left: -65%;
}

.logo:hover{
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.25); */
    transform: scale(1.03);
}

/* навигация */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  font-family: "MagistralC";
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 80%;
}
.header-nav a {
  color: #eaf0f6;
  text-decoration: none;
  padding: 3px 5px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.header-nav a:hover {
  /* background: rgba(255, 255, 255, 0.06); */
}

/* Контакты */
.main-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.phone {
  color: #cfe6ff;
  text-decoration: none;
  font-weight: 400;
  font-size: 18px;
  font-family: "MagistralC";
  opacity: 80%;
}
.main-icons {
  display: flex;
  /* gap: 6px; */
}
.main-icon {
  width: 37px;
  height: 37px;
  object-fit: contain;
  display: block;
  padding: 5px;
  border-radius: 12px;
}

/* Главная секция, hero секция - занимает весь видимый экран минус место для хедера */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 10;
}

/* внутренний контейнер контейнера */
.hero-inner {
  position: relative;
  z-index: 10;
  margin: 0 10%;
  width: calc(100% - 20%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
/* Главный заголовок */
.hero-title {
  display: flex;
font-family: "MagistralC";
  font-size: clamp(72px, 6vh, 84px); /* Адаптивный размер */
  line-height: 0.95;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  width: 56%;
  margin-left: 55%;
  margin-bottom: 10%;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero-controls {
   
  position: absolute;
  z-index: 12;
  right: 7%;
  top: 10%;
  transform: translateY(-50%);
  /* display: flex; */
   display: none;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  /* margin-left: 30px; */
}
.slide-counter {
  font-family: "MagistralC";
  font-weight: 400;
  font-size: 30px;
  opacity: 0.8;
  margin-top: 20px;
  letter-spacing: 3px;
}
.slide-arrows {
  display: flex;
  gap: 10px;
  align-items: center;
}
.slide-botton {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  display: inline-block;
}

.slide-botton:hover{
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Скролл внизу */
.scroll-hint {
  position: absolute;
  height: 54px;
  width: auto;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.9);
  animation: scrollBounce 1s ease-in-out infinite;
}
/* Анимация мышки */
@keyframes scrollBounce {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

 /* Блок Цифры */ 
/* Секция */
.stats {
    background: #0d0d0d;
    padding: 40px 0;
    position: relative;
    color: #fff;
    border-top: 1px solid white;
    font-family: "MagistralC";
}

.stats-container {
    max-width: 1700px;
    text-align:center;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    padding: 0 80px;

    position: relative;
}

.stat-item {
    flex: 1;
    padding-right: 60px;
}

.stat-item-left {
    flex: 1;
    transform:translateX(20%);
}

.stat-item-right {
    flex: 1;
    transform:translateX(-15%);
}


.stat-item:last-child {
    padding-right: 0;
}

/* Тонкие вертикальные линии */
.stats::before,
.stats::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    border-right: 1px solid rgba(255,255,255,0.15);
}

/* Первая линия — между 1 и 2 */
.stats::before {
    /* left: calc(50% - 33.333%/2 - 1px); */
    left: calc(50% - 3.333%/2 - 1px);
}

/* Вторая — между 2 и 3 */
/* .stats::after {
    left: calc(50% + 33.333%/2);
} */

/* ЦИФРА + название */
.stats .title {
    display: block;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Описание */
.stats .text {
    font-size: 14px;
    opacity: 0.6;
    line-height: 1.4;
    display: block;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0px;
}

.stat-desc {
    font-size: 18px;
    margin-top: 40px;
    opacity: 0.6;
}



/* Документации */
/* Загаловок документации */
.bg-documents {
  background-color: rgb(20, 20, 20);
  color: #fff;
  padding: 20px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.documents-title {
  font-family: "MagistralC";
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 15%;
}

/* Контейнер диаграммы */
/* Контейнер секции */
.documents-page {
  width: 100%;
  padding: 40px 0;
  background-image: url("../img/jpg/zweb_bg_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 75vh;
  overflow: hidden;
}

/* Контейнер диаграммы */
/* .diagram-wrapper {
  transform-origin: center top;
} */

/* Список для документации */
.diagram-list{
    display:none;
}


.diagram {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 0 auto;
}

/* Центр */
.diagram .center {
  position: absolute;
  width: 360px;
  height: 360px;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0%;
  overflow: visible !important;
  z-index: 15;
}

.diagram .center img {
    transform: scale(1.8);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  width: 60%;
  height: 60%;
  margin: 21px 0px 0px 35px;
  object-fit: contain;
  z-index: 5;
}

/* Маркеры */
.marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 50%;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Круг */
.marker .circle {
  width: 86px;
  height: 86px;
  background-size: cover;
  z-index: 2;
  background-position: center;
  transform:scale(0.4);
}

/* Подписи */
.marker .label {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
  padding: 13px 44px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  color: #fff;
  font-family: "MagistralC";
  font-size: 24px;
  white-space: nowrap;
  box-sizing: border-box;
  z-index: 1;
}
.l1 {
  padding: 3px 21px !important;
  padding-bottom: 50px !important;
  /* padding-right: 30px; */
  /* background-size: contain;  */
  text-align: left !important;
}
.l2 {
  margin-top: 360px;
  text-align: left !important;
  transform: translateX(-115px) rotate(57.2727deg) !important;
}
.l3 {
  margin-top: 170px;
  padding: 13px 64px !important;
  text-align: left !important;
}
.l4 {
  margin-bottom: 50px;
  padding: 13px 64px !important;
  text-align: left !important;
}
.l5 {
  margin-bottom: 250px;
  padding: 3px 44px !important;
  text-align: left !important;
  transform: translateX(-68px) rotate(-40.9091deg) !important;
}
.l6 {
  margin-bottom: 380px;
  padding: 13px 90px !important;
  transform: translateX(-150px) rotate(-73.6364deg) !important;
}
.l7 {
  margin-top: 375px;
  padding: 10px 64px !important;
  text-align: right !important;
  transform: translateX(-160px) rotate(-106.364deg) !important;
}
.l8 {
  margin-top: 310px;
  text-align: right !important;
  padding: 3px 64px !important;
}
.l9 {
  margin-top: 55px;
  text-align: right !important;
  padding: 3px 84px !important;
}
.l10 {
  margin-bottom: 168px;
  text-align: right !important;
  padding: 3px 74px !important;
}
.l11 {
  margin-bottom: 373px;
  text-align: right !important;
  padding: 3px 34px !important;
  transform: translateX(-125px) rotate(-237.273deg) !important;
}

/* Анимация мышки */
@keyframes scrollBounce {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  30% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(0);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* Объъекты */
.objects-page {
      color: rgba(255, 255, 255, 0.9);
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #cccccc 20%,
    #888888 60%,
    #000000 100%,
    #000000 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding-bottom: 30px;
}
/* Навигация */
.objects-nav {
  display: flex;
  width: 85%;
  justify-content: space-around;
  padding-top: 5px;
  margin-bottom: 5px;
}
.objects-link {
  position: relative;
  display: inline-flex;
  gap: 20px;
}
.object-link-wave {
  display: block;
}

.objects-link-text {
  color: black;
  text-decoration: none;
  font-family: "MagistralC";
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  transition: color 0.25s ease;
}

 .objects-link-text:hover{
    box-shadow: none;
    transform: scale(1.03);
  }

/* Активная ссылка */
.objects-link-text.active {
  color: #00aeef; /* голубой */
  font-weight: 600;
}
.objects-wave {
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 6px;
  transition: transform 0.3s ease, width 0.3s ease;
  pointer-events: none;
}
/* Волна под "Жилые" — укажи свой размер */
.wave-residential {
  top: 20px;
  width: 70px;
  height: 18px;
}

/* Волна под "Общественные" — укажи свой размер */
.wave-public {
  width: 130px;
  height: 18px;
  top: 20px;
}

.objects-controls {
  transform: translateX(160%);
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(119, 110, 110, 0.85);
  font-weight: 800;
}

.objects-controls .slide-counter {
  margin-top: 0px;
}

/* Блоки объектов */
.objects {
  display: flex;
  gap: 20px;
  margin: 0 15%;
  /* margin-bottom: 50px; */
}
.object {
  display: block;
  /* gap: 10px; */
  font-family: "MagistralC";
  font-weight: 400;
}
.object-img {
  display: block;
  width: 615px;
  height: 350px;
  margin-bottom: 8px;
}

.object-img:hover{
    transform: scale(1.03);
}

.object-title {
  font-size: 30px;
  letter-spacing: 2px;
  font-weight: 400;
  margin: 0 0 2px 0;
  width: 615px;
}
.object-text {
  font-size: 16px;
  letter-spacing: 1px;
  max-width: 620px;
 /* letter-spacing: 2px; */
    margin-top: 5px;
    margin-bottom: 10px;
    width: 615px;
}

.object-button {
  display: block;
  margin: 40px auto;
  padding: 15px 35px;
  background-color: transparent;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1px;
  border: 3px solid #4dbfff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.object-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* О компании */
.zweb-photo-section .white-line {
  width: 100%;
  height: 2px;
  background: #fff;
  /* margin-bottom: 50px; */
}

.zweb-photo-section {
  width: 100%;
  padding: 0px 0;
  background-image: url("../img/jpg/zweb_bg_3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: auto;
  overflow: hidden;
  font-family: "MagistralC";
  color: #e6eef7;
}

.zweb-container {
  max-width: 1200px;
  margin-right: 0%;
  margin-left: 10%;
  display: flex;
  align-items: center;
  padding-right: 60px;
}

.zweb-left-col {
  flex: 0 0 0px; /* fixed-ish column for photo */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateY(23%);
}

.zweb-main-photo {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  width: auto;
  border-radius: 2px;
}

.zweb-right-col {
  transform: translateX(10%);
  max-width: 700px;
}
.zweb-title {
  margin: 0 0 20px 0;
  color: #ffffff;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 2px;
  margin-left: -94%;
}

.zweb-lead {
  font-size: 18px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  /* margin: 0 0 45px 0; */
  max-width: 620px;
  letter-spacing: 1px;
}

.zweb-signature {
  display: block;
  transform: translateX(170%);
  /* margin: 0px 0 90px 0; */
  width: 220px;
  height: auto;
  opacity: 0.95;
}

 .zweb-signature-text {
     font-family:"Lobster-Regular";
    transform: translateX(170%);
    margin: 0 0 90px 0;
    width: 220px;
    font-size: 28px;
    font-style: italic;
  }

.subtitle {
  transform: translateX(0%);
  font-size: 24px;
  margin: 8px 0 14px 0;
  color: #6bcef1;
  font-weight: 400;
  letter-spacing: 2px;
}

.zweb-benefits {
  transform: translateX(2%);
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.zweb-benefits li {
  position: relative;
  padding-left: 12px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

/* check mark (галочка) */
.zweb-benefits li:before {
  content: "✓"; /* check */
  position: absolute;
  left: -2%;
  top: 25%;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #7bdcff;
}

/* Отзывы */
.bg-comment {
  background-color: rgb(0, 0, 0);
  color: #fff;
  padding: 20px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.bg-comment .documents-title {
  font-size: 32px;
}

.zweb-reviews-section {
  width: 100%;
  padding: 60px 0 80px;
  background: linear-gradient(
    to bottom,
    #000 0%,
    #666 45%,
    #ddd 100%
  ); /* чёрный -> белый */
  font-family: "MagistralC";
  color: #222;
}

.zweb-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.zweb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px 30px;
  align-items: start;
}

.review-item {
  padding: 14px;
  border-radius: 2px;
}

.review-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
}

.review-name {
  font-size: 18px;
  color: #000000;
  margin: 0 0 8px;
  font-weight: 500;
}

.review-text {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.85);
  margin: 0;
  text-align: justify;
}

.reviews-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.reviews-button {
  background: #6fc6ff;
  color: #fff;
  border: 0;
  padding: 14px 54px;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
}

.reviews-button:hover{
    transform: scale(1.03);
     box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Слайдер отзывы */

.gallery-section {
padding: 50px 0;
    position: relative;
        font-family: "MagistralC";
}

.gallery-section.work-section {
    padding-bottom: 140px;
    background: linear-gradient(
    to bottom,
    #000 0%,
    #666 45%,
    #ddd 100%
  );
}

.home-caption {
    text-align: center;
    font-size: 40px;
    padding-bottom: 40px;
    text-transform: uppercase;
    color: #fff;
}

/* Таб-контейнеры */

.tabBlock { display: none; }
.tabBlock.active { display: block; }
.galleryTabBlocks {
    min-height: 520px;
    position: relative;
}

.galleryTabBlock {
    display: none;
    width: 100%;
}

.galleryTabBlock.active {
    display: block;
}


/* Слайдер */

.gallery-wrapper {
    position: relative;
    z-index: 5;
   /*  overflow: visible !important */;
}

.gallery-wrapper .slick-prev,
.gallery-wrapper .slick-next {
    position: absolute !important;
    top: 130px; /* фиксированное значение — НЕ зависит от высоты слайда */
    transform: translateY(700%);
    z-index: 50;
    width: 45px;
    height: 45px;
   /*  border: 1px solid #fff !important; */
    opacity: 1 !important;
}


.gallerySlider {
   overflow: visible !important;
    z-index: 10;
}

.slick-slider {
    overflow: visible !important;
}

.slick-list {
    overflow: visible !important;
}

.gallerySlide {
    position: relative;
     overflow: visible !important;
    padding: 0 !important;  /* никаких паддингов, чтобы слайды были слитными */
    z-index: 1;
    transition: .35s;
}

.gallerySlide .slide-description {
   display: none;
    margin-top: 15px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    transform:translateY(20%);
}

.gallerySlide.active-red .slide-description {
    display: block;
}

.gallerySlide.active-red{
    z-index: 10 !important;
}

.gallerySlider .slick-track {
    display: flex !important;
    align-items: center;

}

/* .gallerySlider .slick-slide {
    height: auto !important;
} */

.gallerySlider .slick-slide.active-red .work-image:after {
    background: red !important;
    opacity: 0.4 !important;
}

/* При наведении у активного слайда убираем красный фон */
.gallerySlider .slick-slide.active-red:hover .work-image:after {
    opacity: 0 !important;
}

/* При наведении — фон исчезает */
.gallerySlider .slick-slide:first-child .work-image:hover:after {
    opacity: 0 !important;
}

.work-image {
   aspect-ratio: 16/10 !important; /* Одинаковые пропорции у всех */
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
    transition: .35s ease;
}
.work-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    transition: .3s;
    border-radius: 12px;
}
.work-image:hover:after {
    opacity: 0;
}

.gallerySlide.active-red .work-image {
    transform: scale(1.08);
    filter: brightness(1.25);
    z-index: 10;
    transform-origin: center center;
    aspect-ratio: 3 / 2 !important;
}

.gallerySlide.active-red .work-image:after {
    background: rgba(255, 0, 0, .4) !important;
}

.animated-caption {
position: absolute;
    bottom: 20px;
    right: 20px;
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    z-index: 10;
}

/* Кнопки */
.slideText {
    text-align: right;
    margin-top: 20px;
}
.button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border: 2px solid;
    cursor: pointer;
    text-transform: uppercase;
}
.button.red-border {
    border-color: #ffc119;
    color: #ffc119;
}
.button.red-border:hover {
    background: #fff;
    color: #000;
}

/* Табы */
.gallery-menu {
    position: absolute;
    bottom: 80px;
    right: 25%;
    text-align: right;
    padding: 0;
    list-style: none;
    color: white;
}

.gallery-menu li {
    margin-bottom: 8px;
    cursor: pointer;
}

.gallery-menu li.active span {
    border-bottom: 1px solid #ffc119;
}

/* Стрелки slick */
.slick-prev, .slick-next {
    display: block !important;
    opacity: 1 !important;
    width: 45px;
    height: 45px;
   /*  border: 1px solid #fff !important; */
    z-index: 50;
    position: absolute;
    top: 50%;
    transform: translateY(450%);
}

.slick-prev {
    left: 79%;
}

.slick-next {
    right: 15%;
}

.slick-prev:before {
    content: "‹" !important;
    color: #fff;
    font-size: 30px;
}

.slick-next:before {
    content: "›" !important;
    color: #fff;
    font-size: 30px;
}





/* Партнеры */
.bg-partners {
  display: flex;
  justify-content: space-between;
  background-color: rgb(20, 20, 20);
  color: #fff;
  padding: 20px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.bg-partners .documents-title{
  /* margin: 0 16%; */
}

/* Навигация */
.partners-pagination-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-right: 16%;
  transform: translateX(-0%); /* убрать старый translate */
}

.partners-arrow {
  width: 38px;   /* меньше чем 54px как в hero */
  height: 38px;
  cursor: pointer;
  transition: 0.2s;
}

.partners-arrow:hover {
  transform: scale(1.07);
}


.partners-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;

  transform: translateX(-285%);
}

.partners-page {
  all: unset; 
  cursor: pointer;
  font-size: 30px;
  font-weight: 600;
  color: #666565;
  padding: 4px 10px;
  border-radius: 4px;
  transition: 0.2s;
  font-family: "MagistralC";
}

.partners-page.active {
  color: #0077ff;
}

.partners-page:hover {
  color: #0077ff;
}

.partners-section {
  width: 100%;
  background: linear-gradient(to bottom, #ddd 0%, #666 45%, #000 100%);
  padding: 15px 0;
  text-align: left;
  font-family: "MagistralC";
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
  margin-bottom: 10px;
  padding: 0 20px;
  overflow: hidden;
  max-width: 100%;
}

.partners-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(140px, 20vw);
}

.partners-logo-1 {
  width: 70px;
  height: 100px;
  object-fit: contain;
  transform:scale(1.5);
}
.partners-logo-2 {
  width: 160px;
  height: 100px;
  object-fit: contain;
  transform:scale(0.7);
}
.partners-logo-3 {
  width: 140px;
  height: 100px;
  object-fit: contain;
  transform:scale(1.5);
}
.partners-logo-4 {
  width: 80px;
  height: 100px;
  object-fit: contain;
  transform:scale(0.7);
}

.partners-logo-5 {
  width: 80px;
  height: 100px;
  object-fit: contain;
  transform:scale(1.2);
}

.partners-logo-6 {
  width: 170px;
  height: 100px;
  object-fit: contain;
  transform:scale(0.7);
}

.partners-logo-sys{
      width: 180px;
    height: 100px;
    object-fit: contain;
  }
  
  .partners-logo-clim{
      width: 120px;
    height: 100px;
    object-fit: contain;
  }
  
  .partners-logo-smart{
    width: 115px;
    height: 100px;
    object-fit: contain;
  }

.partners-line {
  width: 100%;
  height: 1px;
  background: #000;
  margin: 10px 0;
}

.partners-logo-text {
  font-size: 10px;
  text-align: center;
  color: #fff;
  margin-top: 10px;
}
/* Линия перед картой */
.partners-black-line {
  display: block;
  width: 100vw;
  height: 2px;
  background-color: #000;
}

.partners-logo-title {
    font-size: 32px;
  font-weight: 400;
  font-family: "MagistralC";
  color: #000;
  margin-top: 20px;
  margin-bottom: 20px;
  /* margin-bottom: 40px; */
  text-align: left;
  padding-left: 310px;
}

.partners-title {
  font-size: 32px;
  font-weight: 400;
  font-family: "MagistralC";
  color: #000;
  margin-top: 10px;
  /* margin-bottom: 40px; */
  text-align: left;
  padding-left: 290px;
}

.partners-map-wrapper {
  width: 100%;
  margin-left: 270px;
  position: relative;
  max-width: 1100px;
}
/* Подсвечивание карты */
/* Невидимые зоны наведения */
.city-hitbox {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.crimea {
  top: 55%;
  left: 7.5%;
}
.moscow {
  top: 43%;
  left: 20%;
}
.spb {
  top: 31.5%;
  left: 22%;
}

.ufa {
  top: 65%;
  left: 28%;
}
/* Иконки городов */
.city-icon {
  position: absolute;
  width: 120px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Появление */
.city-icon.show {
  opacity: 1;
  height: auto;
  transform: translate(-50%, -50%) scale(1);
}
#city-crimea {
  width: 40px;
}
#city-moscow {
  width: 35px;
}
#city-spb {
  width: 55px;
}
#city-ufa {
  width: 60px;
}

.partners-map-wrapper img {
  width: 1100px;
  width: 896px;
  height: auto;
  display: block;
  margin-left: 20%;
}

.partners-arrow-up {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-right: 20px;
  transform: translateX(18%);
}

.partners-arrow-up img {
margin-right: 400px;
margin-bottom: 30px;
transform: translateX(-200%);
width: 75px;
cursor: pointer;
}

/* Подвал */
.footer {
}
.footer-top {
  background-color: rgb(20, 20, 20);
  color: #fff;
  padding: 20px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 30px 0px;
}
.footer-top-contet {
  display: flex;
  margin-left: 8%;
  font-family: "MagistralC";
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-logo:hover{
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.footer-left {
  margin-left: 7%;
  margin-right: 30%;
}

.footer-left-text {
  color: #aaa;
  font-size: 14px;
  line-height: 1.4;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: 14%;
  text-align: right;
}

.footer-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover {
  color: #fff;
}

.footer-contacts {
  color: #7e7878;
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.footer-contacts .main-icons {
  transform: translateX(30%);
}

.footer-phone {
  /* margin-top: 10px; */
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-family: "MagistralC";
}

.footer-phone:hover{
    transform: scale(1.03) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


.footer-bottom {
  background: #3a3a3a;
  padding: 20px 0;
}

.footer-bottom-text {
  width: 85%;
  margin: 0 auto;
  text-align: center;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom-lists {
  width: 85%;
  margin: 0 auto;
  font-family: "MagistralC";
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 20px 235px; /* вертикальный и горизонтальный отступы */
  padding-left: 50px;
}

.footer-bottom-lists ul {
  list-style: none;
  padding: 0;
  margin: 0;

  text-align: left;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom-lists li {
  margin-bottom: 4px;
}

/* Модальное окно для диаграмм */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}

.modal.active {
  opacity: 0.95;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  margin: 40px;
  padding: 40px;
  height: calc(100% - 80px);
  overflow-y: auto;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  transform: scale(0.96);
  transition: transform 0.4s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-content p{
    font-family: "MagistralC";
}

.close {
  position: absolute;
  top: 0px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
}

/* Для Ноутбуков */

@media (max-width: 1500px) {
  /* Галвная */
  .page {
    color: #fff;
    min-height: 100vh;
    background-image: url("../img/jpg/zweb_bg_1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  /* Шапка */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    padding: 18px 0;
  }
  .header-inner {
    margin: 0 15%;
    display: flex;
    align-items: flex-end; /* якоря внизу хедера */
    justify-content: space-between;
    gap: 20px;
  }
  /* Логотип */
  .logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 5px;
    transform: translateX(0%);
  }
  /* навигация */
  .burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
  }

  .header-nav {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    font-family: "MagistralC";
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 95%;
    margin-bottom: 2%;
    margin-left: 15%;
  }
  .header-nav a {
    color: #eaf0f6;
    text-decoration: none;
    padding: 3px 5px;
    margin-bottom: 20px;
    border-radius: 4px;
  }
  .header-nav a:hover {
    /* background: rgba(255, 255, 255, 0.06); */
  }

  /* Контакты */
  .main-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .phone {
    color: #cfe6ff;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    font-family: "MagistralC";
    opacity: 80%;
  }
  .main-icons {
    display: flex;
    /* gap: 6px; */
  }
  .main-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: block;
    padding: 5px;
    border-radius: 12px;
  }

  /* Главная секция, hero секция - занимает весь видимый экран минус место для хедера */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 10;
  }

  /* внутренний контейнер контейнера */
  .hero-inner {
    position: relative;
    z-index: 10;
    margin: 0 10%;
    width: calc(100% - 20%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }
  /* Главный заголовок */
  .hero-title {
    display: flex;
    font-size: 48px;
    line-height: 0.95;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    width: 56%;
    margin-left: 55%;
    margin-bottom: 10%;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  }

  .hero-controls {
    position: absolute;
    z-index: 12;
    right: 7%;
    top: 10%;
    transform: translateY(-50%);
    /* display: flex; */
     display: none;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    /* margin-left: 30px; */
  }
  .slide-counter {
    font-weight: 400;
    font-size: 26px;
    opacity: 0.8;
    margin-top: 20px;
    letter-spacing: 3px;
  }
  .slide-arrows {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .slide-botton {
    width: 38px;
    height: 38px;
    object-fit: contain;
    /* padding: 8px; */
    border-radius: 8px;
    display: inline-block;
  }

  /* Скролл внизу */
  .scroll-hint {
    position: absolute;
    height: 54px;
    width: auto;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: rgba(255, 255, 255, 0.9);
    animation: scrollBounce 1s ease-in-out infinite;
  }
  /* Анимация мышки */
  @keyframes scrollBounce {
    0% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(-12px);
    }
    100% {
      transform: translateX(-50%) translateY(0);
    }
  }
  
  /* Блок цифры */
  .stats {
        padding: 40px 0;
    }

    .stats-container {
        max-width: 1400px;
        padding: 0 40px;
        gap: 60px;
    }

    .stat-item {
        padding-right: 40px;
    }

    .stat-item:last-child {
        padding-right: 0;
    }

    /* Вертикальные линии */
    .stats::before,
    .stats::after {
        border-right: 1px solid rgba(255,255,255,0.15);
    }

    /* Между 1 и 2 */
    .stats::before {
        /* left: calc(50% - 33.333%/2 - 1px); */
        left: calc(50% - 3.333%/2 - 1px);
    }

    /* Между 2 и 3 */
  /*   .stats::after {
      left: calc(50% + 33.333%/2);
  } */

    .stat-number { font-size: 32px; }
    .stat-label  { font-size: 32px; }
  

  /* Документации */
  /* Загаловок документации */
  .bg-documents {
    background-color: rgb(20, 20, 20);
    color: #fff;
    padding: 20px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
  .documents-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 12%;
  }

  /* Контейнер диаграммы */
  /* Контейнер секции */
  .documents-page {
    width: 100%;
    padding: 40px 0;
    background-image: url("../img/jpg/zweb_bg_2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 70vh;
    overflow: hidden;
  }

  /* Контейнер диаграммы */
  /* .diagram-wrapper {
  transform-origin: center top;
} */

  .diagram {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
  }

  /* Центр */
  .diagram .center {
    position: absolute;
    width: 360px;
    height: 360px;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0%;
    overflow: visible !important;
    z-index: 15;
  }

  .diagram .center img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px;
    width: 80%;
    height: 80%;
    margin: -20px 0px 0px -30px;
    object-fit: contain;
    z-index: 5;
    transform: scale(1.45);
  }

  /* Маркеры */
  .marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 50% 50%;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Круг */
  .marker .circle {
    width: 72px;
    height: 72px;
    background-size: cover;
    z-index: 2;
    background-position: center;
  }

  /* Подписи */
  .marker .label {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    padding: 13px 44px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    color: #fff;
    font-size: 18px;
    white-space: nowrap;
    box-sizing: border-box;
    z-index: 1;
    transform: scale(1.25);
  }
  .l1 {
    padding: 3px 53px !important;
    padding-bottom: 50px !important;
    /* padding-right: 30px; */
    /* background-size: contain;  */
    /* text-align: center; */
  }
  .l2 {
    margin-top: 265px;
    transform: translateX(-100px) rotate(57.2727deg) !important;
  }
  .l3 {
    margin-top: 150px;
    padding: 13px 64px !important;
  }
  .l4 {
    margin-bottom: 40px;
    padding: 13px 64px !important;
  }
  .l5 {
    margin-bottom: 205px;
    padding: 3px 44px !important;
  }
  .l6 {
    margin-bottom: 300px;
    padding: 13px 84px !important;
    transform: translateX(-132px) rotate(-73.6364deg) !important;
  }
  .l7 {
    margin-top: 300px;
    padding: 10px 64px !important;
    transform: translateX(-130px) rotate(-106.364deg) !important
  }
  .l8 {
    margin-top: 230px;
    padding: 3px 64px !important;
  }
  .l9 {
    margin-top: 40px;
    padding: 3px 84px !important;
  }
  .l10 {
    margin-bottom: 145px;
    padding: 3px 74px !important;
     transform: translateX(-40px) rotate(-204.545deg) !important
  }
  .l11 {
    margin-bottom: 300px;
    padding: 3px 34px !important;
    transform: translateX(-100px) rotate(-237.273deg) !important
  }

  /* Анимация мышки */
  @keyframes scrollBounce {
    0% {
      transform: translateX(-50%) translateY(0);
    }
    30% {
      transform: translateX(-50%) translateY(-15px);
    }
    60% {
      transform: translateX(-50%) translateY(0);
    }
    100% {
      transform: translateX(-50%) translateY(0);
    }
  }

  /* Объъекты */
  .objects-page {
    color: #e7dfdf;
    min-height: 100vh;
    background: linear-gradient(
      to bottom,
      #ffffff 0%,
      #cccccc 20%,
      #888888 60%,
      #000000 100%,
      #000000 100%
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 30px;
  }
  /* Навигация */
  .objects-nav {
    display: flex;
    width: 85%;
    justify-content: space-around;
    padding-top: 50px;
    margin-bottom: 25px;
  }
  .objects-link {
    position: relative;
    display: inline-flex;
    gap: 20px;
  }
  .object-link-wave {
    display: block;
  }

  .objects-link-text {
    color: black;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2px;
    transition: color 0.25s ease;
  }
  
  /* Активная ссылка */
  .objects-link-text.active {
    color: #00aeef; /* голубой */
    font-weight: 600;
  }
  .objects-wave {
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 6px;
    transition: transform 0.3s ease, width 0.3s ease;
    pointer-events: none;
  }
  /* Волна под "Жилые" — укажи свой размер */
  .wave-residential {
    top: 20px;
    width: 55px;
    height: 15px;
  }

  /* Волна под "Общественные" — укажи свой размер */
  .wave-public {
    width: 115px;
    height: 15px;
    top: 20px;
  }

  .objects-controls {
    transform: translateX(160%);
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(119, 110, 110, 0.85);
    font-weight: 800;
  }

  .objects-controls .slide-counter {
    margin-top: 0px;
  }

  /* Блоки объектов */
  .objects {
    display: flex;
    gap: 20px;
    margin: 0 15%;
    /* margin-bottom: 50px; */
  }
  .object {
    display: block;
    /* gap: 10px; */
    font-weight: 400;
  }
  .object-img {
    display: block;
    width: 475px;
    height: 350px;
    margin-bottom: 8px;
  }
  .object-title {
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 400;
    margin: 0 0 6px 0;
    width: 475px;
  }
  .object-text {
    font-size: 12px;
    /* letter-spacing: 2px; */
  margin-bottom: 10px;
  width: 475px;
  }

  .object-button {
    display: block;
    margin: 40px auto;
    padding: 15px 35px;
    background-color: transparent;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 1px;
    border: 3px solid #4dbfff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
  }

  .object-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* О компании */
  .zweb-photo-section .white-line {
    width: 100%;
    height: 2px;
    background: #fff;
    /* margin-bottom: 50px; */
  }

  .zweb-photo-section {
    width: 100%;
    padding: 0px 0;
    background-image: url("../img/jpg/zweb_bg_3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: auto;
    overflow: hidden;
    color: #e6eef7;
  }

  .zweb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-right: 60px;
  }

  .zweb-left-col {
    flex: 0 0 0px; /* fixed-ish column for photo */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateY(6%);
  }

  .zweb-main-photo {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    width: auto;
    border-radius: 2px;
  }

  .zweb-right-col {
    /* flex: 1 1 1px; */
    max-width: 700px;
  }
  .zweb-title {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 2px;
    margin-left: -92%;
    margin-bottom: 15%;
  }

  .zweb-lead {
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    /* margin: 0 0 45px 0; */
    max-width: 620px;
    letter-spacing: 1px;
  }

  .zweb-signature {
    display: block;
    transform: translateX(100%);
    /* margin: 0px 0 90px 0; */
    width: 220px;
    height: auto;
    opacity: 0.95;
  }
  
  .zweb-signature-text {
    transform: translateX(100%);
    margin: 0 0 90px 0;
    width: 220px;
    font-size: 26px;
  }

  .subtitle {
    transform: translateX(0%);
    font-size: 18px;
    margin: 8px 0 14px 0;
    color: #6bcef1;
    font-weight: 400;
    letter-spacing: 2px;
  }

  .zweb-benefits {
    transform: translateX(2%);
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
  }

  .zweb-benefits li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
  }

  /* check mark (галочка) */
  .zweb-benefits li:before {
    content: "✓"; /* check */
    position: absolute;
    left: -2%;
  top: 25%;
  font-size: 20px;
  font-weight: bold;
    line-height: 1;
    color: #7bdcff;
  }

  /* Отзывы */
  .bg-comment {
    background-color: rgb(0, 0, 0);
    color: #fff;
    padding: 20px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  .zweb-reviews-section {
    width: 100%;
    padding: 60px 0 80px;
    background: linear-gradient(
      to bottom,
      #000 0%,
      #666 45%,
      #ddd 100%
    ); /* чёрный -> белый */
    font-family: "MagistralC";
    color: #222;
  }

  .zweb-reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .zweb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    align-items: start;
  }

  .review-item {
    padding: 14px;
    border-radius: 2px;
  }

  .review-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
  }

  .review-name {
    font-size: 16px;
    color: #000000;
    margin: 0 0 8px;
    font-weight: 500;
  }

  .review-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
    text-align: justify;
  }

  .reviews-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }

  .reviews-button {
    background: #6fc6ff;
    color: #fff;
    border: 0;
    padding: 14px 54px;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
  }
  
  .slick-prev {
    left: 79%;
}

.slick-next {
    right: 13%;
}

  /* Партнеры */
  .bg-partners {
    display: flex;
    justify-content: space-between;
    background-color: rgb(20, 20, 20);
    color: #fff;
    padding: 10px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  .bg-partners .documents-title{
  margin: 0 14%;
}

  /* Навигация */
  .partners-pagination-arrows {
      margin-right: 14%
  }
  
 .partners-arrow {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0px;
    padding-right: 0px;
    margin: 0 0;
  }

  .partners-arrow img {
    margin-right: 100px;
    margin-bottom: 30px;
    width: 65px;
    cursor: pointer;
  }
  
  .partners-arrow img:hover{
    transform: scale(1.03) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }

  .partners-section {
    width: 100%;
    background: linear-gradient(to bottom, #ddd 0%, #666 45%, #000 100%);
    padding: 10px 0;
    text-align: left;
  }

  .partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 20px;
    overflow: hidden;
    max-width: 100%;
  }

  .partners-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(140px, 20vw);
  }

  .partners-logo-1 {
    width: 70px;
    height: 100px;
    object-fit: contain;
  }
  .partners-logo-2 {
    width: 160px;
    height: 100px;
    object-fit: contain;
  }
  .partners-logo-3 {
    width: 140px;
    height: 100px;
    object-fit: contain;
  }
  .partners-logo-4 {
    width: 80px;
    height: 100px;
    object-fit: contain;
  }

  .partners-logo-5 {
    width: 80px;
    height: 100px;
    object-fit: contain;
  }

  .partners-logo-6 {
    width: 170px;
    height: 100px;
    object-fit: contain;
  }
  
  .partners-logo-sys{
      width: 180px;
    height: 100px;
    object-fit: contain;
  }
  
  .partners-logo-clim{
      width: 120px;
    height: 100px;
    object-fit: contain;
  }
  
  .partners-logo-smart{
    width: 115px;
    height: 100px;
    object-fit: contain;
  }

  .partners-line {
    width: 100%;
    height: 1px;
    background: #000;
    margin: 10px 0;
  }

  .partners-logo-text {
    font-size: 12px;
    text-align: center;
    color: #fff;
    margin-top: 10px;
  }
  /* Линия перед картой */
  .partners-black-line {
    display: block;
    width: 100vw;
    height: 2px;
    background-color: #000;
  }
  
  .partners-logo-title {
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
    /* margin-bottom: 40px; */
    text-align: left;
    padding-left: 190px;
  }

  .partners-title {
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-top: 10px;
    /* margin-bottom: 40px; */
    text-align: left;
    padding-left: 180px;
  }

  .partners-map-wrapper {
    width: 100%;
    margin-left: 160px;
    position: relative;
    max-width: 1100px;
  }
  /* Подсвечивание карты */
  /* Невидимые зоны наведения */
  .city-hitbox {
    position: absolute;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transform: translate(-50%, -50%);
  }

  .crimea {
  top: 55%;
  left: 8%;
}
.moscow {
  top: 43%;
  left: 20%;
}
.spb {
  top: 31.5%;
  left: 22%;
}

.ufa {
  top: 64%;
  left: 28%;
}

  /* Иконки городов */
  .city-icon {
    position: absolute;
    width: 120px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Появление */
  .city-icon.show {
    opacity: 1;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  #city-crimea {
    width: 40px;
  }
  #city-moscow {
    width: 35px;
  }
  #city-spb {
    width: 55px;
  }
  #city-ufa {
    width: 60px;
  }

  .partners-map-wrapper img {
    width: 100%;
    max-width: 585px;
    height: auto;
    display: block;
    margin-left: 17%;
  }

  .partners-arrow-up {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding-right: 20px;
    transform: translateX(0%)
  }

  .partners-arrow-up img {
    margin-right: 100px;
    margin-bottom: 30px;
    width: 65px;
    cursor: pointer;
    transform: translateX(0%);
  }
  
  .partners-arrow-up img:hover{
    transform: scale(1.03) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }

  /* Подвал */
  .footer {
  }
  .footer-top {
    background-color: rgb(20, 20, 20);
    color: #fff;
    padding: 20px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 30px 0px;
  }
  .footer-top-contet {
    display: flex;
    margin-left: 8%;
  }

  .footer-logo {
    width: 180px;
    margin-bottom: 15px;
  }

  .footer-left {
    margin-left: 5%;
    margin-right: 28%;
  }

  .footer-left-text {
    color: #aaa;
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 10%;
  }

  .footer-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
  }
  .footer-nav a:hover {
    color: #fff;
  }

  .footer-contacts {
    color: #7e7878;
    font-size: 14px;
    line-height: 1.4;
  }

  .footer-contacts .main-icons {
    transform: translateX(45%);
  }

  .footer-phone {
    /* margin-top: 10px; */
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-family: "MagistralC";
  }

  .footer-bottom {
    background: #3a3a3a;
    padding: 20px 0;
  }

  .footer-bottom-text {
    width: 85%;
    margin: 0 auto;
    text-align: center;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-bottom-lists {
    width: 85%;
    margin: 0 auto;
    font-family: "MagistralC", Helvetica, sans-serif;
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    gap: 20px 125px; /* вертикальный и горизонтальный отступы */
    padding-left: 100px;
  }

  .footer-bottom-lists ul {
    list-style: none;
    padding: 0;
    margin: 0;

    text-align: left;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-bottom-lists li {
    margin-bottom: 4px;
  }
  
      /* Модальное окно для диаграмм */
    .modal-content { font-size: 18px; padding: 30px; }
    .close { font-size: 36px; }
}

@media (max-width: 1400px) {
    .documents-page {
    min-height: 100vh;
        
    }
}

/* Планшеты */
@media (max-width: 1024px) {
  /* Отзывы адаптив */
  .zweb-reviews-grid {
    display: grid;
    grid-template-columns: none;
    gap: 40px 30px;
    align-items: start;
  }

  /* Адаптив для главного */
  .header-inner {
    margin: 0 8%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  /* Появление бургер меню */
  .burger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 20px;
  }

  /* Прячем обычное меню */
  .header-nav {
    position: fixed;
    top: 0;
   left: -100%;
    width: 65%;
    height: 100vh;
    background: rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    padding-left: 40px;
    gap: 30px;
    transition: 0.4s;
    z-index: 998;
    margin-bottom: 0%;
    margin-left:0%;
  }

  .header-nav a {
    display: block;
    font-size: 20px;
    opacity: 1;
    margin-bottom: 0;
     position: relative;
     left: 20%;
      width: 100%;          /* занимает весь контейнер */
  text-align: left; 
  }

  /* Меню открыто */
  .header-nav.active {
    left: 0;
    margin-right: 0px;
  
  }

  /* Анимация крестика */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header-nav {
    flex-wrap: wrap;
    justify-content: start;
    font-size: 11px;
  }

   .main-contacts {
    align-items: center;
    gap: 6px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    margin: 0 5%;
    width: 90%;
    text-align: center;
  }

  .hero-title {
    width: 100%;
    font-size: clamp(36px, 5vw, 64px);
    margin: 20px 0 60px 0;
    text-align: center;
  }

  .hero-controls {
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: 20px;
  }
  
  /* Блок цифры */
  .stats-container {
        gap: 25px;
    }
    .stat-number {
        font-size: 48px; 
    }
    .stat-label  { 
        font-size: 30px; 
    }

  .documents-title {
    margin: 0 5%;
    font-size: 20px;
  }

  /* .diagram-wrapper {
    transform: scale(0.75);
   
  }  */
  /* Документы адаптив */
  
  .diagram{
    display:none;
}
  
  /* .diagram {
    transform: scale(0.7);
  }
  
  .diagram .center {
    width: 260px;
    height: 260px;
  }
  
  .marker .circle {
    width: 50px;
    height: 50px;
  }
  
  .marker .label {
    font-size: 12px;
    padding: 8px 24px;
  }
  .l1 {
    padding: 3px 34px !important;
    padding-bottom: 40px !important;
  }
  .l2 {
    margin-top: 180px !important;
  }
  .l3 {
    margin-top: 90px !important;
    padding: 10px 48px !important;
  }
  .l4 {
    margin-bottom: 30px !important;
    padding: 10px 48px !important;
  }
  .l5 {
    margin-bottom: 165px !important;
    padding: 3px 34px !important;
  }
  .l6 {
    margin-bottom: 150px !important;
    padding: 10px 64px !important;
  }
  .l7 {
    margin-top: 175px !important;
    padding: 8px 48px !important;
  }
  .l8 {
    margin-top: 160px !important;
    padding: 3px 48px !important;
  }
  .l9 {
    margin-top: 22px !important;
    padding: 3px 60px !important;
  }
  .l10 {
    margin-bottom: 80px !important;
    padding: 3px 56px !important;
  }
  .l11 {
    margin-bottom: 210px !important;
    padding: 3px 28px !important;
  } */

  /* Объекты */
  /* Сузим отступы страницы */
  .objects-nav {
    width: 90%;
    padding-top: 30px;
    margin-bottom: 20px;
  }

  /* Сделать по 2 колонки объектов (каждый .objects содержит 2 .object) */
  .objects {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 6%;
    margin-bottom: 36px;
  }

  .object {
    width: calc(50% - 8px); /* две колонки */
    box-sizing: border-box;
  }

  .object-img {
    width: 100%;
    height: 220px; /* чуть ниже по высоте */
    object-fit: cover;
    margin-bottom: 8px;
  }

  .object-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .object-text {
    font-size: 13px;
    line-height: 1.35;
  }

  /* Навигация — подвинем контролы в нормальное место (убираем translateX) */
  .objects-controls {
    transform: none;
    gap: 10px;
    align-items: center;
  }

  /* Кнопка — чуть меньшая, остаётся по центру */
  .object-button {
    padding: 12px 28px;
    margin: 36px auto;
    font-size: 16px;
  }

  /* О КОМПАНИИ */
  .zweb-container {
    padding-right: 30px;
    gap: 40px;
  }
  .zweb-right-col{
    transform: none;
  }

  .zweb-main-photo {
    max-width: 500px;
  }

  .zweb-title {
    font-size: 26px;
  }

  .zweb-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  .zweb-signature {
    transform: translateX(60%);
    width: 180px;
    margin-bottom: 60px;
  }
  
  .zweb-signature-text {
    transform: translateX(60%);
    width: 180px;
    margin-bottom: 60px;
    font-size: 22px;
  }

  .zweb-subtitle {
    font-size: 18px;
    transform: translateX(0);
  }

  .zweb-benefits {
    transform: translateX(0);
  }

  .zweb-benefits li {
    font-size: 14px;
    padding-left: 12px;
  }

  .zweb-benefits li::before {
    font-size: 11px;
  }

  /* Адаптив подвала */

  .footer-top-contet {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 40px;
  }

  .footer-left {
    margin-left: 0;
    margin-right: 0;
    width: 40%;
  }

  .footer-nav {
    width: 25%;
    margin-right: 0;
  }

  .footer-contacts {
    width: 30%;
  }

  .footer-bottom-lists {
    gap: 20px 40px;
    width: 92%;
  }

  /* Адаптив для Партнеров */
  /* хитбоксы – чуть меньше */
  .city-hitbox {
    width: 30px;
    height: 30px;
  }

  /* уменьшение иконок */
  #city-crimea {
    width: 30px;
  }
  #city-moscow {
    width: 26px;
  }
  #city-spb {
    width: 40px;
  }
  #city-ufa {
    width: 45px;
  }
  /* Адаптив для пагинации */
  .partners-pagination {
    transform: translateX(-50%);
  }
  .partners-page {
    font-size: 19px;
  }

  /* карта меньше — центруем */
  .partners-map-wrapper {
    margin-left: 20px;
  }

  .partners-section {
    padding: 40px 0;
  }

  .partners-logo-item {
    width: 160px;
  }

  .partners-logo-text {
    font-size: 12px;
    padding: 0 5px;
  }
  
  .partners-logo-title {
    font-size: 28px;
    padding-left: 80px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .partners-title {
    font-size: 28px;
    padding-left: 80px;
  }

  .partners-map-wrapper {
    margin-left: 40px;
  }

  .partners-arrow img {
    margin-right: 100px;
    width: 55px;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    /* Главная адаптив */
    .hero{
        font-weight:bold !important;
    }
    
    .header-nav a{
        font-weight:bold !important;  
    }
    
    .phone {
        font-weight:bold !important; 
    }
    
    .hero-title {
         font-weight:bold !important; 
        }
    
    .logo {
        margin-left:0;
    }
    
  /* Отзывы адаптив */
  .zweb-reviews-grid {
    display: grid;
    grid-template-columns: none;
    gap: 40px 30px;
    align-items: start;
  }
  .header-inner {
    margin: 0 5%;
  }

  .header-nav {
    flex-direction: column;
        gap: 8px;
  }
  

  .hero-title {
    font-size: clamp(28px, 6vw, 38px);
    margin: 60px 0 90px 0;
    text-align: center;
    margin: 60px 0 90px 260px;
    margin-left: 50%;
    margin-bottom: 15%;
  }

  .hero-controls {
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: 20px;
  }
  
 /*  .slick-prev{
     left:78%;
 } */
  
    .home-caption {
        font-size: 28px;
        padding-bottom: 25px;
    }

    .gallery-section.work-section {
        padding-bottom: 100px;
    }

    /* Активный слайд — чуть меньше увеличения */
    .gallerySlide.active-red .work-image {
        transform: scale(1.05);
        aspect-ratio: 4/3 !important;
    }
    .gallerySlider .slick-slide {
    opacity: 0.4;
    transform: scale(0.9);
    transition: .3s;
}

.gallerySlider .slick-slide.slick-active {
    opacity: 1;
    transform: scale(1);
}

    /* Обычные слайды — компактнее */
    .work-image {
        aspect-ratio: 16/12 !important;
    }

    /* Стрелки ближе */
    .gallery-wrapper .slick-prev, .gallery-wrapper .slick-next
 {
     transform: translateY(1235%);
 }
    .slick-prev,
    .slick-next {
        top: 60%;
        transform: translateY(200%);
        width: 38px;
        height: 38px;
    }

    .slick-prev {
        left: 74%;
    }

    .slick-next {
        right: 12%;
    }

    /* Текст под активным слайдом */
    .gallerySlide .slide-description {
        display: none;
        font-size: 14px;
        margin-top: 10px;
        text-align: left;
        padding: 0 5px;
    }
    
  /* .gallerySlide.slick-active .slide-description {
  display: block !important;
  } */
  
  /* Блок цифры */
  
     .stats {
        padding: 70px 0;
    }
  
   .stats-container {
        gap: 40px;
        padding: 0 20px;
    }

    .stat-item {
        padding-right: 20px;
    }
    
    .stat-item-left, .stat-item-right{
        padding-right: 20px;
        transform:none;
    }
  
    .documents-title {
    margin: 0 5%;
    font-size: 20px;
  }

  .documents-page {
    padding: 20px 0;
  }
  /* .diagram-wrapper {
     transform: scale(0.6);
  }  */
  /* Адаптив документы */
  .diagram-lists{
      display:block;
  }
  
  .diagram-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.diagram-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Кружки */
.circle{
    transform:scale(0.7);
}
.diagram-item .circle {
    width: 86px;
    height: 86px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Подписи */
.diagram-item .label {
    display: flex;
    align-items: center;
    justify-content: start;
   padding: 15px 10px !important;
    font-family: "MagistralC";
    font-size: 28px;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: left;
    line-height: 1.3;
}

.l1{
     
   /*  padding-bottom: 40px ; */
    background-image:url('../img/png/zweb_fr_d.png') !important;
}

.l2{
    background-image:url('../img/png/zweb_fr_d.png') !important;
    margin-top:0 !important;
    transform:none !important;
}

.l3{
    background-image:url('../img/png/zweb_fr_d.png') !important;
    margin-top:0 !important;
    transform:none !important;
}

.l4{
    background-image:url('../img/png/zweb_fr_d.png') !important;
    margin-top:0 !important;
    transform:none !important;
     margin-bottom:0 ;
}

.l5{
    background-image:url('../img/png/zweb_fr_d.png') !important;
    margin-top:0 !important;
    margin-bottom: 0 !important;
    transform:none !important;
}

.l6{
    background-image:url('../img/png/zweb_fr_d.png') !important;
    margin-top:0 !important;
     margin-bottom: 0 !important;
    transform:none !important;
}

  
  
/*   .diagram {
  transform: scale(0.5);
  transform-origin: center center;
  transform: translateX(-30%);
}

.diagram .center {
  width: 120px;
  height: 120px;

  padding-bottom: 500px;
}

.diagram .center img {
  transform: translateX(-120%);
  padding: 30px !important;
  margin-top: 30%;
}
.marker {
  padding-right: 200px;
}

.marker .circle {
  width: 24px;
  height: 24px;
}

.marker .label {
  font-size: 12px;
  padding: 6px 16px;
}
.l1 {
  padding: 3px 24px !important;
  padding-bottom: 28px !important;
}
.l2 {
  margin-top: 120px !important;
}
.l3 {
  margin-top: 60px !important;
  padding: 8px 36px !important;
}
.l4 {
  margin-bottom: 20px !important;
  padding: 8px 36px !important;
}
.l5 {
  margin-bottom: 120px !important;
  padding: 3px 24px !important;
}
.l6 {
  margin-bottom: 110px !important;
  padding: 8px 48px !important;
}
.l7 {
  margin-top: 120px !important;
  padding: 6px 40px !important;
}
.l8 {
  margin-top: 110px !important;
  padding: 3px 40px !important;
}
.l9 {
  margin-top: 18px !important;
  padding: 3px 48px !important;
}
.l10 {
  margin-bottom: 60px !important;
  padding: 3px 40px !important;
}
.l11 {
  margin-bottom: 150px !important;
  padding: 3px 22px !important;
} */

  /* Объекты */
  /* Навигация — делаем столбцом и центрируем */
  .objects-nav {
    width: 92%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
  }

  .objects-link {
    gap: 12px;
    justify-content: center;
  }

  .object-link-wave .objects-wave {
    width: 36px;
    height: auto;
  }

  /* Сами объекты — одна колонка */
  .objects {
    display: block;
    gap: 0;
    margin: 0 4%;
    margin-bottom: 28px;
  }

  .object {
    width: 100%;
    margin-bottom: 18px;
  }

  .object-img {
    width: 100%;
    height: auto; /* естественная высота */
    max-height: 260px; /* предотвращаем слишком большую картинку */
    object-fit: cover;
    margin-bottom: 8px;
  }

  .object-title {
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
  }

  .object-text {
    font-size: 13px; /* чуть крупнее для читаемости на телефоне */
  }

  /* Контролы слайдера — компактнее и по центру */
  .objects-controls {
    transform: none;
    width: 100%;
    justify-content: center;
    color: rgba(119, 110, 110, 0.9);
    gap: 8px;
    margin-top: 6px;
  }

  .slide-arrows img.slide-botton {
    width: 34px;
    height: auto;
  }

  /* Кнопка — делаем растягивающейся или почти широкой */
  .object-button {
    display: block;
    width: calc(100% - 48px); /* отступы по бокам */
    max-width: 420px;
    padding: 12px 20px;
    margin: 28px auto;
    font-size: 16px;
    border-width: 3px;
  }

  /* Если у вас тёмный градиент фона — добавим лёгкую тень текста для читаемости */
  .objects-page,
  .objects-link-text,
  .object-title,
  .object-text {
    /* ничего не обязательного — опция, если текст теряется на фоне */
  }

  /* О компании */
  .zweb-container {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 20px;
    text-align: center;
  }
  .zweb-left-col {
    justify-content: center;
    transform: none;
  }

  .zweb-main-photo {
    max-width: 340px;
    width: 100%;
  }

  .zweb-title {
    font-size: 24px;
    margin-top: 20px;
    margin-left: -0%;
    margin-bottom: 0%;
  }

  .zweb-lead {
    max-width: 100%;
    font-size: 13px;
    margin-bottom: 30px;
  }

  .zweb-signature {
    /* transform: translateX(0); */
    margin: 20px auto 50px auto;
    width: 160px;
  }
  
  .zweb-signature-text {
    transform: translateX(0);
    margin: 20px auto 50px auto;
    width: 160px;
    font-size: 20px;
  }

  .subtitle {
    margin-top: 20px;
    font-size: 18px;
    transform: translateX(0%);
  }

  .zweb-benefits {
    transform: translateX(35%);
    gap: 8px;
  }

  .zweb-benefits li {
    padding-left: 12px;
    font-size: 14px;
    text-align: left;
  }

  .zweb-benefits li::before {
    font-size: 11px;
    top: 1px;
  }

  /* Адаптив подвала */

  .footer-top-contet {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    padding: 0 20px;
  }

  .footer-left {
    width: 100%;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-left-text {
    font-size: 11px;
  }

  .footer-nav {
    width: 100%;
    align-items: center;
    gap: 5px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-contacts {
    width: 100%;
    font-size: 14px;
    text-align: center;
  }

  .footer-contacts .main-icons {
    transform: translateX(0%);
  }

  .footer-phone {
    font-size: 16px;
  }

  .main-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .footer-bottom-lists {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
    padding-left: 35px;
  }

  .footer-bottom-lists ul {
    text-align: center;
  }

  /* Адаптив для партнеров */

  .partners-arrow {
    justify-content: end;
    transform: translateX(12%);
    top: 100px;
  }

  /* Адаптив для пагинации */
  .partners-page {
    font-size: 16px;
  }
  .partners-section {
    padding: 30px 0;
    text-align: center;
  }

  .partners-logos {
    gap: 30px;
    justify-content: center;
  }

  .partners-logo-item {
    width: 45%; /* два в ряд */
  }

  .partners-logo-text {
    font-size: 11px;
  }

  /* Уменьшаем размеры всех логотипов */
      .partners-logo-1{
       transform: scale(1.1);
    }
  .partners-logo-1,
  .partners-logo-2,
  .partners-logo-3,
  .partners-logo-4,
  .partners-logo-5,
  .partners-logo-6{
    width: auto;
    height: 70px;
  }
  .logo-bash{
     transform:scale(1);
  }
  .partners-logo-sys{
    width: 155px;
    height: 70px;
  }
  
  .logo-prspkt{
    width: 105px;
    height: 70px;
  }
  
  .partners-logo-clim{
      width: 120px;
    height: 70px;
    object-fit: contain;
  }
  
  .partners-logo-smart{
    width: 115px;
    height: 70px;
    object-fit: contain;
  }
  
  .partners-logo-3 {
 
  transform:scale(1);
}

    .partners-logo-title {
    padding-right: 150px;
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    }
    
    
  .partners-title {
    padding-left: 0;
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
  }

  /* уменьшаем зону наведения */
  .city-hitbox {
    width: 22px;
    height: 22px;
  }

    .crimea {
  top: 53%;
  left: 6.5%;
}
.moscow {
  top: 43%;
  left: 18.5%;
}
.spb {
  top: 30%;
  left: 20%;
}

.ufa {
  top: 64%;
  left: 27%;
}

  /* маленькие иконки — чтобы не закрывали карту */
  #city-crimea {
    width: 28px;
  }
  #city-moscow {
    width: 18px;
  }
  #city-spb {
    width: 36px;
  }
  #city-ufa {
    width: 38px;
  }

  /* чтобы карта точно центрировалась */
  .partners-map-wrapper {
    margin-left: 0 !important;
  }

  .partners-map-wrapper img {
    max-width: 100%;
    margin-left:0;
  } 
  
    .partners-arrow-up img{
        transform: translateX(115%);
    }

  /* чтобы иконки появлялись ближе к пальцу — мягкое смещение */
  .city-icon {
    transform: translate(-50%, -60%) scale(0.9);
  }
  .city-icon.show {
    transform: translate(-50%, -60%) scale(1);
  }
}

    /* Модальное окно для диаграмм */
    .modal-content {
    margin: 20px;
    padding: 20px;
    font-size: 16px;
  }
  .close {
      font-size: 32px;
      }



@media (max-width: 480px) {
    /* Адаптив главная */
    .burger {
       margin-top: -3%;
     }
    
    /* Адаптив отзывы */
   /* .slick-prev{
       left:55%;
   } */
    
     .home-caption {
        font-size: 22px;
        padding-bottom: 20px;
    }

    /* Активный слайд — меньше масштаб */
    .gallerySlide.active-red .work-image {
        transform: scale(1.03);
        aspect-ratio: 1/1 !important;
        filter: brightness(1.15);
    }

    /* Все слайды один размер */
    .work-image {
        aspect-ratio: 1/1 !important;
        border-radius: 10px;
    }

    /* Уменьшаем подпись */
    .animated-caption {
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }

    /* Текст — меньше */
    .gallerySlide .slide-description {
        font-size: 13px;
        line-height: 1.35;
        margin-top: 8px;
    }

    /* Стрелки — маленькие и ближе к центру */
      .gallery-wrapper .slick-prev, .gallery-wrapper .slick-next
 {
     transform: translateY(940%);
 }
    
    .slick-prev,
    .slick-next {
        width: 32px;
        height: 32px;
        top: 55%;
        transform: translateY(150%);
    }

    .slick-prev {
        left: 64%;
    }

    .slick-next {
        right: 8%;
    }
    /* Блок цифры */
  /* Контейнер — колонка */
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 10px;
    }

    /* Центровка текста */
    .stat-item {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
     .stat-item-left, .stat-item-right{
         width: 100%;
        text-align: center;
        padding-right: 0;
        transform:none;
    }

    /* Линии выключены */
    .stats::before,
    .stats::after {
        display: none;
    }

    /* Размеры текста */
    .stat-number { font-size: 38px; }
    .stat-label  { font-size: 22px; }
    .stat-desc   { font-size: 14px; }


    
    
  /* Адаптив документы */
  
  .diagram-item {
        gap: 14px;
    }

    .diagram-item .circle {
        width: 52px;
        height: 52px;
    }

    .diagram-item .label {
        font-size: 16px;
        padding: 10px 18px;
    }
    
    .l1{
     padding: 10px 30px;
    padding-bottom: 40px;
}
  
 /*  .diagram {
   transform: scale(0.5);
   transform-origin: center center;
   transform: translateX(-30%);
 }
 
 .diagram .center {
   width: 110px;
   height: 110px;
 
   padding-bottom: 500px;
 }
 
 .diagram .center img {
   transform: translateX(-220%);
   padding: 30px !important;
   margin-top: 30%;
 }
 .marker {
   padding-right: 200px;
   margin-left: -140px;
   padding-left: 70px;
 }
 
 .marker .circle {
   width: 24px;
   height: 24px;
 }
 
 .marker .label {
   font-size: 12px;
   padding: 6px 16px;
 } */

  /* Подвал адаптив */
  .main-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  .footer-contacts .main-icons {
    transform: translateX(0%);
  }

  .partners-arrow {
    justify-content: end;
    transform: translateX(25%);
    top: 100px;
  }

  /* Адаптив главной */
  .hero-title {
    font-size: clamp(28px, 6vw, 38px);
    text-align: center;
    margin: 60px 0 90px 50px;
    margin-left: 20%;
    margin-bottom: 25%;
  }

  /* Адаптив о компании */
  .zweb-lead {
    margin-right: 0px;
  }

    .subtitle {
     transform: translateX(0%);
  }
  
      .zweb-benefits {
        transform: translateX(15%);
        gap: 8px;
    }

  /* Адаптив для партнеров */
.partners-logo-title {
    margin-left: -55px;
    padding-right: 0px;
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    }

  /* Адаптив для карты, икноки */
  .partners-arrow-up img{
      transform: translateX(140%);
  }
  
    .city-hitbox {
    width: 22px;
    height: 22px;
  }
   .crimea {
    width: 16px;
  }
  .moscow {
    width: 15px;
  }
  .spb {
    width: 28px;
  }
  .ufa {
    width: 28px !important;
  }
  
      /* Модальное окно для диаграмм */
        .modal-content {
    margin: 10px;
    padding: 15px;
    font-size: 14px;
  }
  .close { font-size: 28px; }

}