/* home-2025.css: main page sections only — redesign 2025. Auto-split from style.css. */

/* ===== Интеграционные оверрайды главной (в макете-монолите жили в body/глобальном .container,
   при интеграции их перебивал боевой style.css). Скоуп .main-page25. ===== */

/* 1) Hero в самый верх: глобальный style.css задаёт main{margin-top:91px} под фикс-шапку.
   На главной hero full-bleed, шапка (position:fixed) плывёт поверх — отступ не нужен. */
main.main-page25 {
  margin-top: 0;
}

/* 2) Серый фон страницы (#F6F6F6): в макете был body{background:#F6F6F6}, боевой body белый.
   Возвращаем серый на контент главной → снова виден фрейм-контейнер 1297 с серыми полями. */
.main-page25 {
  background: #F6F6F6;
}

/* 3) Старый style.css красит .about25/.news25 в свой #F4F3F3 (классы совпали со старой вёрсткой).
   В редизайне секции прозрачные (серый от страницы). Снимаем отдельный островок. */
.main-page25 .about25,
.main-page25 .news25 {
  background: transparent;
}

/* 4) Контент секций ровно 1297 (как шапка/футер): базовый .container = max-width 1297 + padding
   0 15 даёт контент 1267. Бампаем box до 1327 → 1327−30 = 1297 контента. Паддинг оставляем для
   мобилки. Hero (.top-banner25 .container{max-width:initial}) идёт ниже в файле и перебивает. */
.main-page25 .container {
  max-width: 1327px;
}

/* 5) Глобальный style.css красит .title{text-align:center; color:#696969} — течёт на заголовки
   главной, которым редизайн не задал выравнивание/цвет явно (напр. about25 «О компании» был серый).
   inherit снимает утечку: заголовки наследуют от родителя (секции = left + тёмный #272F3D, hero =
   center + white от .swiper-slide). Явные правила секций идут ниже в файле и перебивают inherit. */
.main-page25 .title {
  text-align: inherit;
  color: inherit;
}

/* 6) Глобальный style.css вешает на .btn серую «шторку» ::before (#595959, translateX(-100%),
   выезжает на hover). Класс .btn у редизайна (play-кнопка сторис, about-кнопка) совпал с ним —
   вылезали серые квадраты, едущие в центр. Редизайн ::before у .btn не использует — гасим. */
.main-page25 .btn::before {
  content: none;
}

.top-banner25 {
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  position: relative;
}

.top-banner25 img, .top-banner25 video {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0 0 32px 32px;
}

.top-banner25 .slider-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 82px;
  gap: 8px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 3;
}

.top-banner25 .pagination-item {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(0.5px);
  backdrop-filter: blur(0.5px);
  width: 48px;
  height: 4px;
  position: relative;
  overflow: hidden;
}

.top-banner25 .pagination-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #fff;
}

.top-banner25 .pagination-item.active::after {
  -webkit-transition: 3s;
  transition: 3s;
  width: 48px;
}

/* Пройденные слайды — плашка залита полностью и мгновенно (без анимации-длительности). */
.top-banner25 .pagination-item.done::after {
  -webkit-transition: none;
  transition: none;
  width: 48px;
}

.top-banner25 .swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.top-banner25 .container {
  max-width: initial;
  padding: 0;
}

.top-banner25 .slider {
  overflow: hidden;
}

.top-banner25 .slider-prev, .top-banner25 .slider-next {
  position: absolute;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  top: 50%;
}

.top-banner25 .slider-prev {
  left: 120px;
}

.top-banner25 .slider-next {
  right: 120px;
}

.top-banner25 .title {
  font-size: 64px;
  font-weight: 500;
  line-height: 72px;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 4;
}

.top-banner25 .text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 4;
}

.top-banner25 .swiper-slide {
  text-align: center;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  padding-top: 194px;
  padding-bottom: 126px;
  border-radius: 0 0 32px 32px;
  background-position: center;
  background-size: cover;
  height: auto;
}

/* Все слайды hero — равной высоты по самому высокому (высота слайда зависит от длины текста
   баннера; без этого видео-слайд с коротким текстом ниже картиночных). Флекс-stretch. */
.top-banner25 .swiper-wrapper {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.top-banner25 .bg {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.3)));
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.top-banner25 .swiper-slide-active {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.top-banner25 .link {
  padding: 12px 16px;
  font-weight: 500;
  background-color: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 16px;
  line-height: 24px;
  color: #312D2B;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 4;
}

.services-home25 {
  padding: 48px 0;
}

.services-home25 .swiper-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.services-home25 .card {
  padding: 32px 0 0 32px;
  border-radius: 24px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  max-width: 409px;
}

.services-home25 .card img {
  width: 100%;
  display: block;
}

.services-home25 .title {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #312D2B;
}

.services-home25 .card-links25 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px 16px;
  margin-bottom: auto;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.services-home25 .card-links25 a {
  font-size: 16px;
  line-height: 24px;
  color: rgba(49, 45, 43, 0.5);
  text-decoration: none;
}

.services-home25 .card-links25 a:hover {
  color: var(--accent);
}

.coming-events {
  padding: 48px 0;
}

.coming-events .title {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: #312D2B;
}

.coming-events .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.coming-events .card {
  max-width: 320px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  background-color: #fff;
  border-radius: 16px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 32px;
  padding: 24px;
  border: 1px solid transparent;
}

@media screen and (max-width: 768px) {
  .coming-events .card {
    padding: 24px 0;
  }
}

.coming-events .card:hover {
  border: 1px solid var(--Orange-100, #FE5D26);
  -webkit-box-shadow: 0 0 0 2px rgba(254, 93, 38, 0.16);
  box-shadow: 0 0 0 2px rgba(254, 93, 38, 0.16);
}

.coming-events .card span {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.coming-events .card img {
  width: auto;
  height: 104px;
  display: block;
}

.sales25 {
  padding: 48px 0;
  overflow: hidden;
}

.sales25 .slider {
  margin-bottom: 32px;
}

/* Слайды акций равной высоты (по самому высокому) — иначе на мобилке при разной длине текста
   разъезжаются. Флекс-stretch на враппере + height:auto на слайде. */
.sales25 .swiper-wrapper {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.sales25 .swiper-slide {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
}

.sales25 .img-box {
  border-radius: 16px;
  overflow: hidden;
  max-width: 568px;
  height: 320px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

/* Иллюстрация 568x320 (десктоп): заполняет бокс с обрезкой, скругление от бокса (overflow:hidden) */
.sales25 .img-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.sales25 .content {
  max-width: 552px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.sales25 .title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: #312D2B;
  margin-bottom: 16px;
}

.sales25 p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(49, 45, 43, 0.5);
}

.sales25 a {
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid rgba(49, 45, 43, 0.1);
  background: #FFF;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-top: 48px;
  color: #312D2B;
  text-decoration: none;
}

.sales25 .controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.sales25 .pagination {
  padding: 20px 24px;
  border-radius: 999px;
  background-color: rgba(49, 45, 43, 0.05);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.sales25 .pagination span {
  background-color: rgba(49, 45, 43, 0.2);
  opacity: 1;
  margin: 0 !important;
}

.sales25 .swiper-pagination-bullet-active {
  background-color: #000 !important;
}

.sales25 .slider-prev, .sales25 .slider-next {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(49, 45, 43, 0.05);
  cursor: pointer;
}

.news-items25 {
  padding: 48px 0;
}

.news-items25 .link-mobile {
  display: none !important;
}

.news-items25 .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 36px;
}

.news-items25 .swiper-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.news-items25 .card {
  border-radius: 16px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.news-items25 .card:hover .hover-icon {
  top: 12px;
  right: 12px;
  opacity: 1;
}

.news-items25 .hover-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0;
}

.news-items25 .img-box {
  padding: 4px;
}

.news-items25 .img-box img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.news-items25 .content {
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  text-align: center;
  color: #312D2B;
}

/* Название — максимум 2 строки, дальше многоточие (полное имя в title → тултип на десктопе).
   min-height резервирует 2 строки, чтобы карточки были одной высоты без «прыжков». */
.news-items25 .content span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 48px;
}

.news-items25 .link {
  padding: 12px 16px;
  font-weight: 500;
  background-color: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 16px;
  line-height: 24px;
  color: #312D2B;
  text-decoration: none;
  display: inline-block;
}

.news-items25 .title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: #312D2B;
}

.about25 {
  padding: 48px 0;
}

.about25.animate .video-box {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.about25 .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.about25 .content {
  max-width: 490px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.about25 .title {
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  margin-bottom: 16px;
}

.about25 .textbox p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 8px;
}

.about25 .btn {
  font-size: 16px;
  color: var(--accent);
}

.about25 .btn:hover {
  color: #D95427;
}

.about25 .numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 32px;
}

.about25 .numbers .num-item .num {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: #312D2B;
  margin-bottom: 8px;
}

.about25 .numbers .num-item span {
  font-size: 14px;
  line-height: 20px;
  color: rgba(49, 45, 43, 0.5);
  white-space: nowrap;
}

.about25 .video-box {
  max-width: 584px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  opacity: 0;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  cursor: pointer;
}

.about25 .video-box:hover .btn-play {
  background-color: #fff;
}

.about25 .video-box:hover .btn-play svg path {
  fill: var(--accent);
  stroke: var(--accent);
}

.about25 .btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--accent);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  padding-left: 3px;
}

.about25 .btn-play svg path {
  fill: #fff;
  stroke: #fff;
}

.about25 img {
  width: 100%;
  display: block;
}

.cases25 {
  padding: 48px 0;
  overflow: hidden;
}

.cases25 .link-mobile {
  display: none !important;
}

.cases25 .cases25-link-more {
  display: block;
  margin: 32px auto 0;
  text-align: center;
  max-width: 169px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  line-height: 28px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.cases25 .cases25-link-more:hover {
  background-color: var(--accent);
  color: #fff;
}

.cases25 .top {
  margin-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.cases25 .title {
  font-size: 32px;
  font-weight: 500;
  color: #312D2B;
}

.cases25 .link-more {
  padding: 12px 16px;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  background-color: #fff;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.cases25 .link-more:hover {
  background-color: var(--accent);
  color: #fff;
}

.cases25 .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}

.cases25 .inner-mobile {
  display: none;
}

.cases25 img {
  width: 100%;
  display: block;
}

.cases25 .big-item {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  border-radius: 16px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  background-color: #fff;
  position: relative;
}

.cases25 .big-item .img-box {
  padding: 8px;
  border-radius: 16px;
  overflow: hidden;
}

.cases25 .big-item .content {
  padding: 8px 24px 24px;
}

.cases25 .big-item:hover .hover-icon {
  top: 24px;
  right: 24px;
  opacity: 1;
}

.cases25 .big-item .hover-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0;
}

.cases25 .item-title, .cases25 .small-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #312D2B;
}

.cases25 .item-title {
  margin-bottom: 16px;
}

.cases25 .tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4px;
}

.cases25 .tag {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  background-color: rgba(49, 45, 43, 0.05);
  border-radius: 999px;
  padding: 4px 10px;
}

.cases25 .items {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 16px;
}

.cases25 .item {
  border-radius: 16px;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  padding: 8px;
  position: relative;
}

.cases25 .item:hover .hover-icon {
  top: 12px;
  right: 12px;
  opacity: 1;
}

.cases25 .item .hover-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0;
}

.cases25 .item .img-box {
  max-width: 227px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.cases25 .item .content {
  max-width: 332px;
  padding: 8px 0;
}

.cases25 .small-title {
  margin-bottom: 28px;
}

.storis-25 {
  padding: 48px 0;
}

.storis-25 .link-mobile {
  display: none !important;
}

.storis-25 .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 32px;
}

.storis-25 .title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.storis-25 .link {
  padding: 12px 20px;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  .storis-25 .link {
    display: none !important;
  }
}

.storis-25 .link-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .storis-25 .link-mobile {
    display: block !important;
    max-width: 160px;
    margin: 24px auto 0;
    text-align: center;
  }
}

.storis-25 .swiper-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
}

.storis-25 .item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 16;
}

/* Превью-постер подгоняется по высоте карточки (аспект 9/16), ширина пропорц. + обрезка боков.
   Так же, как видео (.storis-video object-fit:cover) и мобильный постер. */
.storis-25 .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 3;
}

.storis-25 .item .storis-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 3;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.storis-25 .item:hover .storis-video {
  opacity: 1;
}

.storis-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 17, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.storis-popup[hidden] {
  display: none;
}

.storis-popup-dialog {
  position: relative;
  width: 420px;
  max-width: 92vw;
  max-height: 88vh;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  -webkit-box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.storis-popup-video {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  background: #000;
  display: block;
}

.storis-popup-close {
  /* Внутри диалога (на видео) — снаружи (-14px) обрезался overflow:hidden контейнера. */
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #312D2B;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.storis-popup-close:hover {
  background: var(--accent);
  color: #fff;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

@media screen and (max-width: 480px) {
  .storis-popup-close {
    top: 10px;
    right: 10px;
  }
}

.storis-25 .item .btn {
  /* display:block перебивает старый style.css @media(768){.btn{display:none}} — он прятал
     generic-класс .btn, и play-кнопка сторис пропадала на мобилке. */
  display: block;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.storis-25 .item svg rect {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.storis-25 .item svg path {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.storis-25 .item:hover svg rect {
  fill: #fff;
}

.storis-25 .item:hover svg path {
  stroke: var(--accent);
  fill: var(--accent);
}

.clients25 {
  padding: 48px 0;
  overflow: hidden;
}

.clients25 .title {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.clients25 .items {
  overflow: hidden;
}

.clients25 .sub-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-animation: move infinite 30s linear;
  animation: move infinite 30s linear;
}

.clients25 .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 16px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  max-width: 288px;
  min-width: 288px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  height: 144px;
}

.reviews25 {
  padding: 48px 0;
  overflow: hidden;
}

.reviews25 .user {
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgb(255, 239, 234);
}

.reviews25 .controls-mobile {
  display: none !important;
}

.reviews25 .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 32px;
}

.reviews25 .title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: #312D2B;
}

.reviews25 .controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
}

.reviews25 .link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
}

.reviews25 .link:first-child:hover svg path {
  fill: #fff;
}

.reviews25 .link:last-child:hover svg path {
  stroke: #fff;
}

/* «Все отзывы»: десктоп — кнопка в .top справа (как storis/новинки); мобилка — прячем верхнюю,
   показываем нижнюю .link-mobile. */
.reviews25 .link-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .reviews25 .link {
    display: none !important;
  }
  .reviews25 .link-mobile {
    display: block !important;
    max-width: 160px;
    margin: 24px auto 0;
    text-align: center;
  }
}

.reviews25 .swiper-slide {
  background-color: #fff;
  padding: 32px;
  border-radius: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 24px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  max-width: 600px;
}

.reviews25 .text {
  font-size: 16px;
  line-height: 24px;
}

.reviews25 .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.reviews25 .info img {
  display: block;
}

.reviews25 .info span {
  font-size: 16px;
  font-weight: 500;
}

.reviews25 .slider {
  margin-bottom: 32px;
}

.reviews25 .slider-controls {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.reviews25 .slider-next, .reviews25 .slider-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(49, 45, 43, 0.05);
  cursor: pointer;
}

.reviews25 .pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 999px;
  background-color: rgba(49, 45, 43, 0.05);
}

@media (max-width: 768px) {
  .reviews25 .slider-pagination .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px) !important;
  }
}

.reviews25 .pagination span {
  margin: 0 !important;
  opacity: 1;
  background-color: rgba(49, 45, 43, 0.2);
}

.reviews25 .pagination .swiper-pagination-bullet-active {
  background-color: #000;
}

.order-info25 {
  padding: 48px 0;
}

.order-info25 .column-mobile {
  display: none;
}

.order-info25 .title {
  margin-bottom: 32px;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.order-info25 .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 32px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.order-info25 .column {
  max-width: 384px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.order-info25 .column-left {
  gap: 116px;
  -webkit-transition: 0.7s ease-in;
  transition: 0.7s ease-in;
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  transform: translateX(50%);
  opacity: 0;
}

.order-info25 .column-right {
  padding-top: 115px;
  gap: 116px;
  -webkit-transition: 0.7s ease-in;
  transition: 0.7s ease-in;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  opacity: 0;
}

.order-info25 .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  padding-top: 16px;
}

.order-info25 .item .number {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 12px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--accent);
}

.order-info25 .item .content {
  padding-top: 8px;
  max-width: 320px;
}

.order-info25 .item-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 12px;
}

.order-info25 .text {
  font-size: 16px;
  line-height: 24px;
  color: rgba(49, 45, 43, 0.5);
}

@media screen and (max-width: 768px) {
  .order-info25 .text {
    height: 72px;
  }
}

.order-info25 .lines-item {
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.order-info25 .lines-item.show.circle {
  background-color: var(--accent) !important;
}

.order-info25 .lines-item.show span {
  height: 84px !important;
}

.order-info25 .lines {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 16px;
  min-width: 16px;
  gap: 8px;
  padding-top: 30px;
  opacity: 0;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
}

.order-info25 .lines.show {
  opacity: 1;
}

.order-info25 .lines .circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(49, 45, 43, 0.1);
}

.order-info25 .lines .line {
  width: 2px;
  height: 84px;
  background-color: rgba(49, 45, 43, 0.1);
}

.order-info25 .lines .line span {
  display: block;
  background-color: var(--accent);
  height: 0;
  width: 100%;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
}

.order-info25.animate .column-left {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;
}

.order-info25.animate .column-right {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;
}

.sertifs25 {
  padding: 48px 0;
}

.sertifs25 .title {
  margin-bottom: 40px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
}

.sertifs25 .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  cursor: pointer;
}

.sertifs25 .swiper-slide img {
  width: 100%;
  display: block;
}

.sertifs25 .slider {
  margin-bottom: 32px;
  overflow: hidden;
}

.sertifs25 .controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.sertifs25 .slider-next, .sertifs25 .slider-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(49, 45, 43, 0.05);
  cursor: pointer;
}

.sertifs25 .pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 999px;
  background-color: rgba(49, 45, 43, 0.05);
}

@media screen and (max-width: 768px) {
  .sertifs25 .pagination {
    padding: 0;
  }
}

.sertifs25 .pagination span {
  margin: 0 !important;
  opacity: 1;
  background-color: rgba(49, 45, 43, 0.2);
}

.sertifs25 .pagination .swiper-pagination-bullet-active {
  background-color: #000;
}

.questions25 {
  padding: 48px 0;
}

.questions25 .title {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.questions25 .items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.questions25 .item {
  padding: 24px;
  border-radius: 16px;
  background: #FFF;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
}

.questions25 .item:hover svg path {
  stroke-opacity: 1 !important;
}

.questions25 .item svg path {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.questions25 .drop-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.questions25 .drop-head span {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.questions25 .drop-head svg {
  display: block;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.questions25 .drop-content {
  -webkit-transition: 0.2s;
  transition: 0.2s;
  line-height: 24px;
  height: 0;
  overflow: hidden;
}

.questions25 .text--open svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.questions25 .text--open .drop-head {
  margin-bottom: 16px;
}

.news25 {
  padding: 48px 0;
  overflow: hidden;
}

.news25 .link-mobile {
  display: none !important;
}

.news25 .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 32px;
}

.news25 .title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.news25 .link {
  padding: 12px 20px;
  border-radius: 12px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}

.news25 .swiper-wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.news25 .card {
  max-width: 412px;
  border-radius: 24px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
}

.news25 .card:hover .hover-icon {
  top: 12px;
  right: 12px;
  opacity: 1;
}

.news25 .hover-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0;
}

.news25 .img-box {
  padding: 8px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.news25 .img-box img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.news25 .tag {
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 999px;
  background: #FFF;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.news25 .content {
  padding: 8px 24px 24px;
}

.news25 .card-title {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 24px;
  color: #312D2B;
}

.news25 .text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(49, 45, 43, 0.5);
}

.seo-block25 {
  padding: 48px 0;
}

.seo-block25 .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 48px;
  position: relative;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.seo-block25 .content {
  max-width: 643px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.seo-block25 .img-box {
  max-width: 576px;
  overflow: hidden;
  border-radius: 16px;
  position: sticky;
  top: 95px;
}

@media screen and (max-width: 768px) {
  .seo-block25 .img-box {
    position: static;
  }
}

.seo-block25 .img-box img {
  width: 100%;
  display: block;
}

.seo-block25 p:last-child {
  margin-bottom: 0;
}

.seo-block25 .title {
  font-size: 24px;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  margin-bottom: 24px;
}

.seo-block25 .text {
  margin-bottom: 24px;
}

.seo-block25 ul {
  margin-left: 20px;
  margin-bottom: 24px;
}

.seo-block25 ul li {
  list-style-type: disc;
}

.seo-block25 .btn-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 24px;
}

.seo-block25 .btn-more.active svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.seo-block25 .btn-more span {
  color: rgba(49, 45, 43, 0.5);
  font-size: 16px;
}

.seo-block25 .textbox {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  height: 277px;
  overflow: hidden;
}

/* {{my_MainPageText}} — админский сырой HTML (голые h2/p/ul). Ресет .main-page25 p{margin:0}
   и отсутствие классов .title/.text убивают оформление — возвращаем его голым тегам. */
.seo-block25 .textbox h1,
.seo-block25 .textbox h2,
.seo-block25 .textbox h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  margin-bottom: 24px;
  color: #312D2B;
  text-transform: none;
}

.seo-block25 .textbox p {
  margin-bottom: 24px;
}

.bot-banner25 {
  padding: 48px 0;
}

.bot-banner25 .inner {
  height: 480px;
  border-radius: 24px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(49, 45, 43, 0.6)), to(rgba(49, 45, 43, 0.6))), url("../images/bot-banner.jpg");
  background-image: linear-gradient(rgba(49, 45, 43, 0.6), rgba(49, 45, 43, 0.6)), url("../images/bot-banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.bot-banner25 .title {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  font-weight: 40px;
  margin-bottom: 16px;
  max-width: 500px;
}

.bot-banner25 .text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 24px;
}

.bot-banner25 .link {
  padding: 12px 20px;
  border-radius: 12px;
  background: #FFF;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.new-block {
  padding: 48px 0;
}

@media (max-width: 768px) {
  .new-block {
    padding: 24px 0;
  }
}

.new-block .inner {
  border-radius: 24px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  background-image: url("../images/new-block-bg.jpg");
  padding: 48px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 369px;
}

@media (max-width: 768px) {
  .new-block .inner {
    padding: 24px;
    height: 481px;
    position: relative;
    background-position: 63%;
  }
}

.new-block .content {
  max-width: 559px;
}

@media (max-width: 768px) {
  .new-block .content {
    height: 481px;
  }
}

.new-block .content .title {
  color: var(--White-100, #FFF);
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px; /* 125% */
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .new-block .content .title {
    color: var(--White-100, #FFF);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
  }
}

.new-block .content .text {
  color: var(--White-70, rgba(255, 255, 255, 0.7));
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

@media (max-width: 991px) {
  .top-banner25 .title {
    font-size: 50px;
    line-height: 55px;
  }
  .top-banner25 .slider-pagination {
    margin-top: 40px;
  }
  .top-banner25 .text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .about25 .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .seo-block25 .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .about25 {
    padding: 24px 0;
  }
  .about25 .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
  }
  .about25 .numbers {
    margin-top: 24px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 24px 32px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }
  .about25 .inner {
    gap: 24px;
  }
  .top-banner25 .slider-prev, .top-banner25 .slider-next {
    display: none;
  }
  .top-banner25 .title {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 24px;
  }
  .top-banner25 .text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .services-home25 {
    overflow: hidden;
    padding: 24px 0;
  }
  .services-home25 .swiper-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  .services-home25 .card {
    max-width: 312px;
    padding: 24px 0 0 24px;
    height: auto;
  }
  .services-home25 .title {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 28px;
  }
  .coming-events {
    padding: 24px 0;
  }
  .coming-events .inner {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .coming-events .card {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .coming-events .card span {
    text-align: center;
  }
  /* Фикс-высота + contain: картинки-иконки одинаковой высоты, подписи под ними выравниваются
     (justify:flex-start даёт подписи от фикс-позиции независимо от 1/2 строк и аспекта иконки).
     Убран :last-child{width:104px} — макетный хак, делавший последнюю карточку мельче. */
  .coming-events .card img {
    width: 100%;
    height: 90px;
    -o-object-fit: contain;
    object-fit: contain;
  }
  .sales25 {
    padding: 24px 0;
  }
  .sales25 .slider-prev, .sales25 .slider-next {
    display: none;
  }
  .sales25 .pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    margin-top: 16px;
  }
  .sales25 .pagination span {
    margin: 0 !important;
    opacity: 1 !important;
    background-color: rgba(49, 45, 43, 0.2);
  }
  .sales25 .pagination .swiper-pagination-bullet-active {
    background-color: var(--accent) !important;
  }
  .sales25 .slider {
    margin-bottom: 0;
  }
  .sales25 .swiper-slide {
    padding: 16px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: initial;
    -ms-flex-align: initial;
    align-items: initial;
    gap: 16px;
  }
  .sales25 .img-box {
    height: auto;
  }
  .sales25 .swiper-slide img {
    width: 100%;
    height: auto;
  }
  .sales25 .title {
    font-size: 24px;
    line-height: 32px;
  }
  .sales25 .link {
    margin-top: 30px;
  }
  .news-items25 {
    overflow: hidden;
    padding: 24px 0;
  }
  .news-items25 .link {
    display: none;
  }
  .news-items25 .link-mobile {
    display: block !important;
    margin: 24px auto 0;
    max-width: 170px;
    text-align: center;
  }
  .news-items25 .swiper-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
  .news-items25 .card {
    max-width: 228px;
    min-width: 228px;
    height: auto;
  }
  .news-items25 .title {
    font-size: 24px;
  }
  .news-items25 .top {
    margin-bottom: 24px;
  }
  .cases25 {
    padding: 24px 0;
  }
  .cases25 .link-more {
    display: none;
  }
  .cases25 .link-mobile {
    display: block !important;
    max-width: 170px;
    margin: 24px auto 0;
  }
  .cases25 .inner {
    display: none;
  }
  .cases25 .inner-mobile {
    display: block;
  }
  .cases25 .top {
    margin-bottom: 24px;
  }
  .cases25 .title {
    font-size: 24px;
    line-height: 32px;
  }
  .cases25 .content {
    padding: 4px 16px 16px;
  }
  .storis-25 {
    padding: 24px 0;
    overflow: hidden;
  }
  .storis-25 .title {
    font-size: 24px;
    line-height: 32px;
  }
  .storis-25 .swiper-wrapper {
    gap: 0;
  }
  .storis-25 .swiper-slide img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .reviews25 {
    padding: 24px 0;
  }
  .reviews25 .controls {
    display: none;
  }
  .reviews25 .controls-mobile {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 24px;
  }
  .reviews25 .slider {
    margin-bottom: 16px;
  }
  .reviews25 .title {
    font-size: 24px;
    line-height: 32px;
  }
  .reviews25 .slider-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    background-color: transparent;
  }
  .reviews25 .slider-pagination span {
    margin: 0 !important;
    opacity: 1 !important;
    background-color: rgba(49, 45, 43, 0.2);
  }
  .reviews25 .slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent);
  }
  .reviews25 .slider-prev, .reviews25 .slider-next {
    display: none;
  }
  .reviews25 .swiper-slide {
    padding: 24px;
  }
  .order-info25 {
    padding: 24px 0;
  }
  .order-info25 .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  .order-info25 .inner {
    gap: 24px;
  }
  .order-info25 .title {
    text-align: start;
  }
  .order-info25 .lines {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
  .order-info25 .column {
    display: none;
  }
  .order-info25 .column-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
  }
  .order-info25 .item-title {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 12px;
  }
  .order-info25 .lines .line {
    height: 117px;
  }
  .order-info25 .lines-item.show span {
    height: 117px !important;
  }
  .clients25 {
    padding: 24px 0;
  }
  .clients25 .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  .sertifs25 {
    padding: 24px 0;
  }
  .sertifs25 .container {
    padding: 0;
  }
  .sertifs25 .title {
    text-align: start;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
    padding: 0 16px;
  }
  .sertifs25 .slider {
    margin-bottom: 0;
  }
  .sertifs25 .slider-prev, .sertifs25 .slider-next {
    display: none;
  }
  .sertifs25 .pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    padding-top: 0;
    background-color: transparent;
    margin-top: 16px;
  }
  .sertifs25 .pagination span {
    margin: 0 !important;
    opacity: 1 !important;
    background-color: rgba(49, 45, 43, 0.2);
  }
  .sertifs25 .pagination .swiper-pagination-bullet-active {
    background-color: var(--accent) !important;
  }
  .questions25 {
    padding: 24px 0;
  }
  .questions25 .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  .questions25 svg {
    min-width: 12px;
  }
  .questions25 .drop-head span {
    font-size: 16px;
    line-height: 24px;
  }
  .news25 {
    padding: 24px 0;
  }
  .news25 .link {
    display: none !important;
  }
  .news25 .link-mobile {
    display: block !important;
    max-width: 170px;
    margin: 24px auto 0;
    text-align: center;
  }
  .news25 .swiper-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0;
  }
  .news25 .card {
    max-width: initial;
  }
  .news25 .title {
    font-size: 24px;
    line-height: 32px;
  }
  .seo-block25 {
    padding: 24px 0;
  }
  .seo-block25 .inner {
    gap: 24px;
  }
  .seo-block25 .text {
    margin-bottom: 16px;
  }
  .seo-block25 .title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .seo-block25 .btn-more {
    margin-top: 16px;
  }
  .bot-banner25 {
    padding: 24px 0;
  }
  .bot-banner25 .inner {
    padding: 24px;
  }
  .bot-banner25 .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
  }
}


/* ============================================================
   Утилиты, перенесённые из base-2025 (были глобальными → скоуплены под .main-page25,
   чтобы не течь на другие страницы). Нужны секциям редизайн-главной.
   ============================================================ */
.main-page25 .banner { height: 100vh; width: 100vw; overflow: hidden; }
.main-page25 .banner img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.main-page25 a.link, .main-page25 a.link-more { -webkit-transition: 0.3s; transition: 0.3s; }
.main-page25 a.link:hover { background-color: var(--accent); color: #fff; }
.main-page25 a.link-more:hover { background-color: var(--accent) !important; color: #fff; }
.main-page25 .slider-next, .main-page25 .slider-prev { -webkit-transition: 0.3s; transition: 0.3s; }
.main-page25 .slider-next:hover, .main-page25 .slider-prev:hover { background-color: var(--accent) !important; }
.main-page25 .slider-next:hover svg path, .main-page25 .slider-prev:hover svg path { stroke: #fff; }
.main-page25 .slider-next svg path, .main-page25 .slider-prev svg path { -webkit-transition: 0.3s; transition: 0.3s; }
@media (max-width: 768px) {
  /* Центрирование dynamic-bullets (оба класса пагинации редизайна: .slider-pagination и .pagination):
     block + margin:auto центрирует фикс-контейнер, transform:none гасит Swiper-инлайн-сдвиг
     (иначе пагинация уезжает влево / за экран). */
  .main-page25 .slider-pagination, .main-page25 .pagination { display: block !important; margin: 0 auto; -webkit-transform: none !important; -ms-transform: none !important; transform: none !important; padding-top: 16px; }
  .main-page25 .slider-pagination .swiper-pagination-bullet, .main-page25 .slider-pagination span, .main-page25 .pagination .swiper-pagination-bullet, .main-page25 .pagination span { margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px) !important; opacity: 1 !important; background-color: rgba(49, 45, 43, 0.2); }
  .main-page25 .slider-pagination .swiper-pagination-bullet-active, .main-page25 .pagination .swiper-pagination-bullet-active { background-color: var(--accent); }

  /* Hero-пагинация = свои плашки (.pagination-item), не swiper-буллеты. Правило центрирования
     буллетов выше её ломает: display:block → столбик, transform:none → сдвиг. Возвращаем flex-ряд
     и центровку translateX(-50%). Специфичнее (.main-page25 .top-banner25) — перебивает. */
  .main-page25 .top-banner25 .slider-pagination {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
    padding-top: 0 !important;
  }

  /* Слайдер «Новинки» — во всю ширину экрана (из-под 15px-паддинга .container), чтобы
     1-я карточка была ровно в 16px от края (slidesOffsetBefore:16) и карточки листались от края. */
  .main-page25 .news-items25 .items { margin-left: -15px; margin-right: -15px; }
}


/* ===== Блоки кейсы/клиенты/отзывы — стили портированы из каталога (.main-page25 → .main-page25),
   разметка та же (из category.php). Синхрон с исправленной версией каталога. ===== */
/* === Блок «Успешные кейсы» (.cases25) — порт из redesign/css/style.css === */
.main-page25 .cases25 {
    padding: 48px 0;
    overflow: hidden;
    max-width: var(--c26-max);
    margin: 0 auto;
}

.main-page25 .cases25 .top {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-page25 .cases25 .title {
    font-size: 32px;
    font-weight: 500;
    color: var(--c26-text);
    text-align: left;
    margin: 0;
}

.main-page25 .cases25 .link-more {
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    background-color: #fff;
    color: var(--c26-text);
    text-decoration: none !important;
    transition: 0.25s;
}

.main-page25 .cases25 .link-more:hover {
    background-color: var(--c26-accent);
    color: #fff;
}

.main-page25 .cases25 .inner {
    display: flex;
    gap: 16px;
}

.main-page25 .cases25 .inner-mobile {
    display: none;
}

.main-page25 .cases25 img {
    width: 100%;
    display: block;
}

.main-page25 .cases25 .img-box img {
    border-radius: 12px;
}

.main-page25 .cases25 .big-item {
    flex-grow: 1;
    flex-basis: 0;
    border-radius: 16px;
    box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
    background-color: #fff;
    position: relative;
    text-decoration: none !important;
    color: var(--c26-text);
}

.main-page25 .cases25 .big-item .img-box {
    padding: 8px;
    border-radius: 16px;
    overflow: hidden;
}

.main-page25 .cases25 .big-item .content {
    padding: 8px 24px 24px;
}

.main-page25 .cases25 .big-item:hover .hover-icon {
    top: 24px;
    right: 24px;
    opacity: 1;
}

.main-page25 .cases25 .big-item .hover-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: absolute;
    top: -20px;
    right: -20px;
    opacity: 0;
}

.main-page25 .cases25 .item-title,
.main-page25 .cases25 .small-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--c26-text);
}

.main-page25 .cases25 .item-title {
    margin-bottom: 16px;
}

.main-page25 .cases25 .tags {
    /* перебить .main-page25 .tags (position: absolute для карточек листинга) */
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.main-page25 .cases25 .tag {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    background-color: rgba(49, 45, 43, 0.05);
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--c26-text);
}

.main-page25 .cases25 .items {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-page25 .cases25 .item {
    border-radius: 16px;
    background-color: #fff;
    display: flex;
    gap: 16px;
    padding: 8px;
    position: relative;
    text-decoration: none !important;
    color: var(--c26-text);
    box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
}

.main-page25 .cases25 .item:hover .hover-icon {
    top: 12px;
    right: 12px;
    opacity: 1;
}

.main-page25 .cases25 .item .hover-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: absolute;
    top: -20px;
    right: -20px;
    opacity: 0;
}

.main-page25 .cases25 .item .img-box {
    max-width: 227px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.main-page25 .cases25 .item .content {
    max-width: 332px;
    padding: 8px 0;
}

.main-page25 .cases25 .small-title {
    margin-bottom: 28px;
}

.main-page25 .cases25 .link-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .main-page25 .cases25 { padding: 24px 0; }
    .main-page25 .cases25 .link-more { display: none; }
    .main-page25 .cases25 .link-mobile {
        display: block !important;
        max-width: 170px;
        margin: 24px auto 0;
        text-align: center;
    }
    .main-page25 .cases25 .inner { display: none; }
    .main-page25 .cases25 .inner-mobile { display: block; }
    .main-page25 .cases25 .top { margin-bottom: 24px; }
    .main-page25 .cases25 .title { font-size: 24px; line-height: 32px; }
    .main-page25 .cases25 .content { padding: 4px 16px 16px; }

    /* Карточки одной высоты: тянем slide + .big-item до высоты самого
       высокого slide'а (порт из batut.css 6657-6668). */
    .main-page25 .cases25 .inner-mobile .swiper-wrapper {
        align-items: stretch;
    }
    .main-page25 .cases25 .inner-mobile .swiper-slide {
        height: auto;
    }
    .main-page25 .cases25 .inner-mobile .swiper-slide > .big-item,
    .main-page25 .cases25 .inner-mobile .swiper-slide > .item {
        height: 100%;
    }
    /* Мобильные слайды = .big-item.swiper-slide (один элемент). Десктопный фикс заполнения 1297
       (.big-item{flex-grow:1;flex-basis:0}) стискивал их, перебивая inline-ширину swiper. Возвращаем
       управление шириной свайперу (slidesPerView 1.1). */
    .main-page25 .cases25 .inner-mobile .big-item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    /* Ава 185 одинаковая, object-fit cover (порт из batut.css 6672-6689). */
    .main-page25 .cases25 .inner-mobile .big-item .img-box,
    .main-page25 .cases25 .inner-mobile .item .img-box {
        flex-grow: 0 !important;
        max-width: none !important;
        width: 100% !important;
        height: 185px !important;
        min-height: 185px !important;
        padding: 0 !important;
    }
    .main-page25 .cases25 .inner-mobile .big-item .img-box img,
    .main-page25 .cases25 .inner-mobile .item .img-box img {
        display: block !important;
        width: 100% !important;
        height: 185px !important;
        object-fit: cover !important;
    }

    /* Пагинация — dynamic-bullets (5 точек, scale 0.33/0.66/1).
       Один-в-один из 116 (batut.css 1304-1313 + 1336-1348).
       НЕ переопределяем width/position — Swiper сам ставит инлайн width
       по числу видимых буллетов и position:absolute для центровки. */
    .main-page25 .cases25 .slider-pagination {
        display: block !important;
        margin: 0 auto !important;
        transform: none !important;
    }
    .main-page25 .cases25 .slider-pagination .swiper-pagination-bullet,
    .main-page25 .cases25 .slider-pagination span {
        opacity: 1 !important;
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background-color: rgba(49, 45, 43, 0.2) !important;
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px) !important;
    }
    .main-page25 .cases25 .slider-pagination .swiper-pagination-bullet-active {
        background-color: #312D2B !important;
    }
}


/* ===== clients25 (marquee «Наши клиенты») ============================ */
.main-page25 .clients25 { padding: 48px 0; margin-bottom: 30px; overflow: hidden; }
.main-page25 .clients25 .container {
    max-width: 1327px;
    margin: 0 auto;
    padding: 0 15px;
}
.main-page25 .clients25 .title {
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: var(--c26-text);
    text-align: left;
}
.main-page25 .clients25 .items { overflow: hidden; }
.main-page25 .clients25 .sub-items {
    display: flex;
    gap: 16px;
    animation: c26-clients-move 30s linear infinite;
    width: max-content;
}
.main-page25 .clients25 .item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
    max-width: 288px;
    min-width: 288px;
    flex-grow: 1;
    height: 144px;
    padding: 16px;
}
.main-page25 .clients25 .item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes c26-clients-move {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

@media (max-width: 768px) {
    .main-page25 .clients25 { padding: 24px 0; }
    .main-page25 .clients25 .title { font-size: 24px; line-height: 32px; margin-bottom: 24px; }
    .main-page25 .clients25 .item { max-width: 200px; min-width: 200px; height: 100px; }
}


/* ===== reviews25 ====================================================== */
.main-page25 .reviews25 { margin: 0; padding: 48px 0; overflow: hidden; }
.main-page25 .reviews25 .container {
    max-width: 1327px;
    margin: 0 auto;
    padding: 0 15px;
}
.main-page25 .reviews25 .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.main-page25 .reviews25 .title {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: var(--c26-text);
}
.main-page25 .reviews25 .user {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFEFEA;
    flex-shrink: 0;
}
.main-page25 .reviews25 .slider {
    margin-bottom: 32px;
}
.main-page25 .reviews25 .swiper-slide {
    background: #FFF;
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
    max-width: 600px;
    box-sizing: border-box;
    height: auto;
    cursor: pointer;
}
.main-page25 .reviews25 .text {
    font-size: 16px;
    line-height: 24px;
    color: var(--c26-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-page25 .reviews25 .info {
    display: flex;
    gap: 16px;
    align-items: center;
}
.main-page25 .reviews25 .info span {
    font-size: 16px;
    font-weight: 500;
    color: var(--c26-text);
}
.main-page25 .reviews25 .slider-controls {
    width: 100%;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.main-page25 .reviews25 .slider-prev,
.main-page25 .reviews25 .slider-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(49, 45, 43, 0.05);
    cursor: pointer;
    flex-shrink: 0;
}
.main-page25 .reviews25 .pagination {
    display: flex;
    width: fit-content;
    gap: 8px;
    padding: 20px 24px;
    border-radius: 999px;
    background: rgba(49, 45, 43, 0.05);
}
.main-page25 .reviews25 .pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    opacity: 1;
    background: rgba(49, 45, 43, 0.2);
    border-radius: 50%;
}
.main-page25 .reviews25 .pagination .swiper-pagination-bullet-active {
    background: var(--c26-text);
}

/* Круглые буллеты пагинации для всех слайдеров редизайна. Глобальный style.css красит
   .swiper-pagination-bullet квадратом 10x10 (border-radius 2px) — течёт на слайдеры без своего
   правила (напр. sales25 был квадратный). Форсим круг 8px, как у reviews25. */
.main-page25 .pagination .swiper-pagination-bullet,
.main-page25 .slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* попап с фуллтекстом отзыва */
.main-page25 .bf-review25-popup,
.bf-review25-popup {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.bf-review25-popup[hidden] { display: none; }
.bf-review25-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.bf-review25-popup__box {
    position: relative; background: #FFF; border-radius: 16px;
    max-width: 640px; width: 100%; max-height: 80vh; overflow: auto;
    padding: 32px 28px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.bf-review25-popup__close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: 0;
    font-size: 32px; line-height: 1; cursor: pointer; color: #888;
}
.bf-review25-popup__close:hover { color: #312D2B; }
.bf-review25-popup__name { font-weight: 600; margin-bottom: 12px; color: #FE5D26; font-size: 16px; }
.bf-review25-popup__text { font-size: 15px; line-height: 22px; color: #312D2B; white-space: pre-wrap; }

@media (max-width: 768px) {
    .main-page25 .reviews25 { padding: 24px 0; }
    .main-page25 .reviews25 .title { font-size: 24px; line-height: 32px; }
    .main-page25 .reviews25 .top { margin-bottom: 20px; }
    .main-page25 .reviews25 .swiper-slide { padding: 20px; border-radius: 16px; }

    /* Стрелок prev/next на мобиле нет (как в 116 batut.css 6764-6766). */
    .main-page25 .reviews25 .slider-prev,
    .main-page25 .reviews25 .slider-next {
        display: none !important;
    }
    /* Пагинация — dynamic-bullets (5 точек, scale 0.33/0.66/1).
       Один-в-один из 116. Pill-фона нет на мобиле. */
    .main-page25 .reviews25 .pagination {
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        transform: none !important;
    }
    .main-page25 .reviews25 .pagination .swiper-pagination-bullet,
    .main-page25 .reviews25 .pagination span {
        opacity: 1 !important;
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background-color: rgba(49, 45, 43, 0.2) !important;
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px) !important;
    }
    .main-page25 .reviews25 .pagination .swiper-pagination-bullet-active {
        background-color: #312D2B !important;
    }
}


/* Единый вертикальный ритм секций главной на мобилке. Были разнобойные margin-bottom
   (60/40/30/0 из старого style.css section{margin-bottom} + пер-секционных правил).
   Нормализуем в 30px для всех прямых детей .main-page25 (секции и div-блоки). */
@media (max-width: 768px) {
  .main-page25 > section,
  .main-page25 > div {
    margin-bottom: 30px !important;
  }
}
