/* ============================================================
   БЛОК: БАЗОВЫЕ СТИЛИ WORDPRESS
   ============================================================ */

/* Блок «WordPress Core»: Выравнивание изображения без обтекания */
.alignnone {
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Центрирование изображения */
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

/* Блок «WordPress Core»: Изображение справа с обтеканием */
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

/* Блок «WordPress Core»: Изображение слева с обтеканием */
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Изображение-ссылка справа */
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

/* Блок «WordPress Core»: Изображение-ссылка без обтекания */
a img.alignnone {
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Изображение-ссылка слева */
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Изображение-ссылка по центру */
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Блок «WordPress Core»: Контейнер подписи к изображению */
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

/* Блок «WordPress Core»: Подпись без обтекания */
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Подпись слева */
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

/* Блок «WordPress Core»: Подпись справа */
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

/* Блок «WordPress Core»: Картинка внутри подписи */
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

/* Блок «WordPress Core»: Текст подписи */
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Блок «WordPress Core»: Скрытый для скринридеров текст */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Блок «WordPress Core»: Скрытый текст при фокусе */
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Блок «WordPress Core»: Картинка в галерее */
.gallery img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

/* Блок «WordPress Core»: Элемент галереи */
.gallery .gallery-item {
  padding: 3px;
}

/* Блок «Базовые стили»: Универсальный сброс отступов, рамок и размеров */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none !important;
}

/* Блок «Базовые стили»: Основные настройки шрифта, цвета и фона страницы */
body {
  font-family: 'Verdana', geneva;
  font-weight: 400;
  font-size: 15px;
  color: #282828;
  position: relative;
  -webkit-appearance: none;
  overflow: unset !important;
  overflow-x: hidden !important;
  background: #fff9fc;
}

/* Блок «Базовые стили»: Изображения (убираем рамки и делаем блочными) */
img {
  display: block;
  text-decoration: none;
  border: 0;
}

/* Блок «Базовые стили»: Смайлики-эмодзи (делаем строчными) */
img.emoji {
  display: inline;
}

/* Блок «Базовые стили»: Поля ввода (убираем рамки) */
input {
  border: none;
  outline: none !important;
}

/* Блок «Базовые стили»: Скрываем крестик очистки в старом Internet Explorer */
input::-ms-clear {
  display: none;
}

/* Блок «Базовые стили»: Текстовое поле (убираем ресайз) */
textarea {
  resize: none;
  overflow: auto;
}

/* Блок «Базовые стили»: Курсор-указатель для кнопок отправки */
input[type="submit"] {
  cursor: pointer;
}

/* ============================================================
   БЛОК: ШРИФТЫ (@font-face)
   ============================================================ */

/* Блок «Шрифты»: Подключение шрифта Impact */
@font-face {
  font-family: 'Impact';
  src: local('Impact'),
  url('../fonts/Impact.ttf') format('truetype');
}

/* Блок «Шрифты»: Подключение шрифта Nickainley (рукописный) */
@font-face {
  font-family: 'Nickainley';
  src: url('../fonts/Nickainley-Normal.eot');
  src: url('../fonts/Nickainley-Normal.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Nickainley-Normal.woff2') format('woff2'),
       url('../fonts/Nickainley-Normal.ttf') format('truetype'),
       url('../fonts/Nickainley-Normal.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

/* Блок «Шрифты»: Подключение шрифта DINRoundPro-Bold */
@font-face {
  font-family: "DINRoundPro-Bold";
  src: url("../fonts/DINRoundPro-Bold.eot");
  src: url("../fonts/DINRoundPro-Bold.eot?#iefix") format("embedded-opentype"),
       url("../fonts/DINRoundPro-Bold.woff") format("woff"),
       url("../fonts/DINRoundPro-Bold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
  font-weight: normal;
}

/* Блок «Шрифты»: Подключение шрифта MinionPro */
@font-face {
  font-family: 'MinionPro';
  src: url('../fonts/MinionPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* Блок «Шрифты»: Подключение шрифта ProstoOne */
@font-face {
  font-family: 'ProstoOne';
  src: url('../fonts/ProstoOne-Regular.ttf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ============================================================
   ГЛОБАЛЬНЫЕ АНИМАЦИИ (для всего сайта)
   ============================================================ */

/* Базовые анимации для пунктира */
@keyframes move-dashes {
  0% { -webkit-mask-position: 0 0; mask-position: 0 0; }
  100% { -webkit-mask-position: 30px 0; mask-position: 30px 0; }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Анимация переливания тени */
@keyframes shadow-flow {
  0% {
    box-shadow: 0 10px 30px rgba(160, 21, 254, 0.3), 0 0 20px rgba(53, 165, 213, 0.2);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 45, 111, 0.4), 0 0 25px rgba(160, 21, 254, 0.3);
  }
  100% {
    box-shadow: 0 10px 30px rgba(160, 21, 254, 0.3), 0 0 20px rgba(53, 165, 213, 0.2);
  }
}

/* Анимация движения стрелок (для блока "Как работаем") */
@keyframes move-arrows {
  0% { background-position: 0 center; }
  100% { background-position: 28px center; } 
}

/* ============================================================
   БЛОК: УТИЛИТЫ (ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ)
   ============================================================ */

/* Блок «Утилиты»: Флекс-контейнер (базовый) */
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

/* Блок «Утилиты»: Флекс с переносом строк */
.flex-wrap {
  -khtml-box-lines: multiple;
  -webkit-box-lines: multiple;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* Блок «Утилиты»: Флекс без переноса строк (жестко) */
.flex-nowrap {
  -khtml-box-lines: single !important;
  -webkit-box-lines: single !important;
  -ms-flex-wrap: nowrap !important;
  -webkit-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

/* Блок «Утилиты»: Направление флекса — колонка */
.flex-dir-col {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  flex-direction: column;
}

/* Блок «Утилиты»: Выравнивание по главной оси (пробел между) */
.flex-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

/* Блок «Утилиты»: Выравнивание по главной оси (пробел вокруг) */
.flex-around {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

/* Блок «Утилиты»: Выравнивание по главной оси (по центру) */
.flex-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

/* Блок «Утилиты»: Выравнивание по главной оси (в конец) */
.flex-end {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

/* Блок «Утилиты»: Выравнивание по главной оси (в начало) */
.flex-start {
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

/* Блок «Утилиты»: Выравнивание по поперечной оси (в начало) */
.flex-align-start {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

/* Блок «Утилиты»: Выравнивание по поперечной оси (по центру) */
.flex-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

/* Блок «Утилиты»: Выравнивание по поперечной оси (по базовой линии) */
.flex-align-baseline {
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
  align-items: baseline;
}

/* Блок «Утилиты»: Выравнивание по поперечной оси (в конец) */
.flex-align-end {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

/* Блок «Утилиты»: display: block */
.d-block {
  display: block;
}

/* Блок «Утилиты»: display: inline-block */
.d-inline-block {
  display: inline-block;
}

/* Блок «Утилиты»: Очистка плавающих элементов (clearfix) */
.clear::before,
.clear::after {
  content: " ";
  display: table;
}

.clear::after {
  clear: both;
}

/* Блок «Утилиты»: margin-left: auto и margin-right: auto */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Блок «Утилиты»: text-align: center */
.text-center {
  text-align: center;
}

/* Блок «Утилиты»: text-transform: uppercase */
.text-uppercase {
  text-transform: uppercase;
}

/* Блок «Утилиты»: Изображение на всю ширину */
.img-fluid {
  max-width: 100%;
}

/* Блок «Утилиты»: Глобальное отключение подчеркивания у всех ссылок */
a {
  text-decoration: none !important;
}

/* Блок «Утилиты»: Контейнер страницы */
.page-container {
  width: 100%;
}

/* Блок «Утилиты»: Основной контейнер (ограничение ширины 1180px) */
.wrapper {
  width: 1180px;
  max-width: calc(100% - 28px);
  margin: 0 auto;
}

/* Блок «Утилиты»: Адаптация до 1199px (планшеты и попапы) */
@media screen and (max-width: 1199px) {
  .col-lg-3-mod {
    height: auto !important;
  }
  .section-pn {
    margin-bottom: 20px;
  }
  .pum-theme-89693 .pum-container, .pum-theme-11 .pum-container {
    padding: 5px !important;
  }
}

/* Блок «Утилиты»: Скрытие на десктопе (от 560px) */
@media screen and (min-width: 560px) {
  .d-hide {
    display: none;
  }
}

/* Блок «Утилиты»: Скрытие на мобилке (до 560px) и скрытие навигации */
@media screen and (max-width: 560px) {
  .m-hide {
    display: none;
  }
  .section-pn {
    display: none;
  }
}

/* Блок «Утилиты»: Уменьшение отступов контейнера на мобилках до 340px */
@media screen and (max-width: 340px) {
  .wrapper {
    max-width: calc(100% - 14px);
  }
}

/* Утилита — десктопный перенос */
.desktop-break {
  display: none;
}

/* Утилита — мобильный перенос */
.mobile-break {
  display: block;
}

/* --- Адаптация: от 560px (скрываем мобильное) --- */
@media screen and (min-width: 560px) {

  /* Скрываем элементы с классом .mm-hide */
  .mm-hide {
    display: none !important
  }
}

/* --- Адаптация: до 560px (скрываем десктопное) --- */
@media screen and (max-width: 560px) {

  /* Скрываем элементы с классом .dd-hide */
  .dd-hide {
    display: none !important
  }
}

/* --- Адаптация: до 790px (переключение переносов) --- */
@media screen and (max-width: 790px) {

  /* Показываем десктопный перенос */
  .desktop-break {
    display: block;
  }

  /* Скрываем мобильный перенос */
  .mobile-break {
    display: none;
  }
}

/* Блок «Утилиты»: Жирный шрифт (кастомный) */
.fwbold-black {
  font-family: "DINRoundPro-Bold-Black";
}

/* ============================================================
   БЛОК: ГЛОБАЛЬНЫЕ СТИЛИ ЗАГОЛОВКОВ (H2, H3) И ЭМОДЗИ
   ============================================================ */

/* H2 Aurora — фиолетово-синий градиент */
h2 {
  margin: 0 0 15px 0;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 950;
  line-height: 1.3;
  background: linear-gradient(90deg, #a015fe, #4D91DD, #35a5d5, #a015fe);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: h2-aurora-move 9s linear infinite;
}

@keyframes h2-aurora-move { 
  to { background-position: 200% 0; } 
}

/* H3 — полоса под текстом */
h3 {
  display: inline-block;
  margin: 25px 0 15px 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #a015fe;
  -webkit-text-fill-color: #a015fe;
  padding-bottom: 6px;
  background-image: linear-gradient(90deg, #a015fe, #4D91DD, #35a5d5);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 33% 3px;
}

/* Защита эмодзи внутри H2/H3 от перекрашивания */
h2 .h2-emoji,
h3 .h2-emoji {
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  background: none !important;
  color: initial !important;
}

/* Отключение Aurora для H2 со своим фоном или ссылками */
h2[style*="background"],
h2:has(a),
h3:has(a) {
  background: none !important;
  color: #a015fe !important;
  -webkit-text-fill-color: #a015fe !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  animation: none !important;
}

/* Защита текста внутри цветных плашек в H2/H3 */
h2 [style*="background"],
h3 [style*="background"],
h2 [style*="color:"],
h3 [style*="color:"],
[style*="background-color"][style*="color"] {
  -webkit-text-fill-color: currentColor !important;
}

/* H2 внутри блока .yznat-ceny-i-srok */
.yznat-ceny-i-srok__title,
.yznat-ceny-i-srok h2 {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
  animation: none !important;
}

/* Доступность (отключение анимаций) */
@keyframes cta-flow { 
  to { background-position: 300% 0; } 
}
@keyframes peace-float {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  h2, a[style*="cta-flow"], span[style*="peace-float"] {
    animation: none !important;
    background-position: 0 0 !important;
  }
}
/* ============================================================
   БЛОК: СОЦПАНЕЛЬ В ПОДВАЛЕ
   ============================================================ */

/* Блок «Соцпанель в подвале»: Скрываем на десктопе */
.wrap-footer-soc {
  display: none;
}

/* Блок «Соцпанель в подвале»: Скрываем мобильное меню подвала */
.m-footer-menu {
  display: none;
}

/* Блок «Соцпанель в подвале»: Адаптация до 700px */
@media screen and (max-width: 700px) {
  .wrap-footer-soc {
    display: block;
    position: fixed;
    right: 10px;
    bottom: 80px;
    z-index: 1;
  }
  .wrap-footer-soc__bth {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background-image: url(img/per.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 60% auto;
    background-color: #00b8ec;
    z-index: 1;
    position: relative;
  }
  .open .wrap-footer-soc__bth {
    background-image: url(img/close.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50% auto;
  }
  .wrap-footer-soc__panel {
    visibility: hidden;
    transition: 0.4s;
    position: absolute;
    top: -50px;
    left: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .open .wrap-footer-soc__panel {
    top: -120px;
    visibility: visible;
    opacity: 1;
    transition: 0.4s;
  }
  .wrap-footer-soc__panel a {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    font-size: 0;
  }
  .wrap-footer-soc__panel a.Telegram {
    background-color: #2ca4d7;
    background-image: url(img/te3.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 70% auto;
  }
  .wrap-footer-soc__panel a.Max {
    background-color: #6539b2;
    background-image: url(/wp-content/uploads/2026/01/zakazat-mah-mini.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 60% auto;
  }
}

/* ============================================================
   БЛОК: КАК РАБОТАЕМ (kak-rabotaem) — ФИНАЛЬНАЯ ВЕРСИЯ
   ============================================================ */

/* 1. ОБЁРТКА И ЗАГОЛОВОК */
.kak-rabotaem {
  position: relative;
}

.kak-rabotaem__inner__title {
  text-align: center;
  margin-bottom: 140px; 
  position: relative;
  z-index: 10;
  text-transform: uppercase;
}

/* 2. СЕТКА КАРТОЧЕК */
.kak-rabotaem__inner__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); 
  align-items: stretch; 
  gap: 30px; 
  max-width: 1250px; 
  margin: 0 auto; 
  position: relative;
  z-index: 1; 
  counter-reset: step-counter; 
}

/* 3. КАРТОЧКА ШАГА */
.kak-rabotaem__inner__row__item {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start;
  text-align: center;  
  
  /* Убираем жесткий нижний отступ, будем использовать flex */
  padding: 40px 20px; 
  
  border-radius: 24px; 
  
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6); 
  
  margin: 0;
  position: relative; 
  z-index: 1; 
  width: 100%; 
  min-height: 320px; 
  height: 100%;      
  
  box-shadow: 0 10px 30px rgba(160, 21, 254, 0.15), 
              0 5px 15px rgba(0, 0, 0, 0.1);
  
  overflow: visible; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 4. ЦВЕТНЫЕ ФОНЫ КАРТОЧЕК */
.kak-rabotaem__inner__row__item:nth-child(1) { background: linear-gradient(135deg, rgba(160, 21, 254, 0.95) 0%, rgba(106, 0, 184, 0.95) 100%) !important; } 
.kak-rabotaem__inner__row__item:nth-child(2) { background: linear-gradient(135deg, rgba(30, 90, 168, 1) 0%, rgba(20, 60, 120, 1) 100%) !important; } 
.kak-rabotaem__inner__row__item:nth-child(3) { background: linear-gradient(135deg, rgba(53, 165, 213, 0.95) 0%, rgba(13, 114, 156, 0.95) 100%) !important; } 
.kak-rabotaem__inner__row__item:nth-child(4) { background: linear-gradient(135deg, rgba(255, 45, 111, 0.95) 0%, rgba(160, 21, 254, 0.95) 100%) !important; } 

.kak-rabotaem__inner__row__item:hover { 
  box-shadow: 0 20px 40px rgba(160, 21, 254, 0.3), 
              0 10px 20px rgba(0, 0, 0, 0.15); 
  z-index: 2; 
}

/* 5. ШАХМАТНЫЙ ПОРЯДОК */
.kak-rabotaem__inner__row__item:nth-child(1),
.kak-rabotaem__inner__row__item:nth-child(3) { transform: translateY(-30px) }
.kak-rabotaem__inner__row__item:nth-child(1):hover,
.kak-rabotaem__inner__row__item:nth-child(3):hover { transform: translateY(-40px) }
.kak-rabotaem__inner__row__item:nth-child(2),
.kak-rabotaem__inner__row__item:nth-child(4) { transform: translateY(30px) }
.kak-rabotaem__inner__row__item:nth-child(2):hover,
.kak-rabotaem__inner__row__item:nth-child(4):hover { transform: translateY(20px) }


/* ============================================================
   6. ЦИФРА В ЦЕНТРЕ КРУГА
   ============================================================ */

/* Сама цифра */
.kak-rabotaem__inner__row__item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  
  position: absolute;
  top: 30px; 
  left: 50%;
  transform: translateX(-50%);
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 80px;
  height: 80px;
  
  font-size: 38px; 
  font-weight: 900;
  line-height: 1;
  
  /* Градиентный текст (анимация) */
  background: linear-gradient(135deg, #ffb800, #ff007a, #ffb800);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; 
  animation: gradient-flow 3s linear infinite;
  
  z-index: 3; 
}

/* Кольцо вокруг цифры */
.kak-rabotaem__inner__row__item::after {
  content: ""; 
  position: absolute;
  top: 30px; 
  left: 50%;
  transform: translateX(-50%);
  
  width: 80px;
  height: 80px;
  border: 5px solid transparent; 
  border-radius: 50%; 
  
  background: linear-gradient(135deg, #ffb800, #ff007a, #ffb800);
  background-size: 200% 200%;
  
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  animation: gradient-flow 3s linear infinite;
  z-index: 2;
}

/* 7. ОТСТУП ДЛЯ ТЕКСТА (растягиваем на всё свободное место) */
.kak-rabotaem__inner__row__item .kak-rabotaem__inner__row__item__info {
  padding: 0; 
  margin: 0; 
  width: 100%;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: flex-start; /* Прижимаем текст к верху */
  height: 100%; 
  position: relative;
  padding-top: 110px; /* Отступ под круг с цифрой */
  padding-bottom: 60px; /* Отступ снизу, чтобы текст не прилипал к стрелкам */
}

/* 8. ТЕКСТ ВНУТРИ КАРТОЧЕК */
.kak-rabotaem__inner__row__item .kak-rabotaem__inner__row__item__info__title {
  width: 100%; 
  text-align: center; 
  justify-content: center;
  margin: 0 auto 15px auto; 
  padding: 0; 
  display: block; 
  font-size: 20px; 
  font-weight: 800; 
  color: #ffffff;   
  line-height: 1.3; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.2); 
}

.kak-rabotaem__inner__row__item__info__text {
  font-size: 16px; 
  line-height: 1.5; 
  color: rgba(255, 255, 255, 1); 
  text-align: center; 
}

/* 9. БЕГУЩИЕ СТРЕЛКИ (всегда в самом низу) */
.kak-rabotaem__inner__row__item:nth-child(-n+3) .kak-rabotaem__inner__row__item__info::after {
  content: ""; 
  position: absolute; 
  
  /* --- ГЛАВНОЕ ИСПРАВЛЕНИЕ --- */
  bottom: 20px; /* Прижимаем к низу карточки с отступом 20px */
  
  left: 50%; 
  transform: translateX(-50%);
  width: 140px; 
  height: 20px; 
  z-index: 9999; 
  display: block;
  
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23ffb800'/%3E%3Cstop offset='100%25' stop-color='%23ff007a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M 5 10 L 25 10' stroke='url(%23grad)' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M 20 5 L 30 10 L 20 15' stroke='url(%23grad)' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; 
  background-position: 0 center; 
  background-size: 28px 16px; 
  pointer-events: none; 
  animation: move-arrows 1.2s linear infinite; 
}

/* 10. АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
  .kak-rabotaem__inner__title { font-size: 30px; margin-bottom: 60px; }
}

@media (max-width: 991px) {
  .kak-rabotaem__inner__title { margin-bottom: 50px; }
  .kak-rabotaem__inner__row { 
    display: flex; 
    flex-direction: column; 
    align-items: stretch; 
    gap: 30px; 
    padding-bottom: 40px; 
  }
  .kak-rabotaem__inner__row__item:nth-child(1),
  .kak-rabotaem__inner__row__item:nth-child(2),
  .kak-rabotaem__inner__row__item:nth-child(3),
  .kak-rabotaem__inner__row__item:nth-child(4) { 
    transform: none !important; 
    padding: 30px 20px 80px 20px; /* На мобильных тоже увеличили нижний отступ */
    height: 100%; 
    min-height: 200px; 
  }
  
  /* Скрываем стрелки на мобильных */
  .kak-rabotaem__inner__row__item:nth-child(-n+3) .kak-rabotaem__inner__row__item__info::after { display: none; }
  
  /* Сдвигаем кольцо и отступ текста для мобильных */
  .kak-rabotaem__inner__row__item::before,
  .kak-rabotaem__inner__row__item::after {
    top: 20px; 
  }
  .kak-rabotaem__inner__row__item .kak-rabotaem__inner__row__item__info {
    padding-top: 90px;
  }
}

/* ============================================================
   БЛОК: УНИВЕРСАЛЬНЫЙ 3D-ЭФФЕКТ ДЛЯ ЭМОДЗИ (.emoji-3d)
   ============================================================ */

.emoji-3d {
  display: inline-block !important;
  font-size: 1.8em !important; 
  line-height: 1 !important;
  vertical-align: middle !important;
  margin-right: 12px !important; 
  margin-left: -5px !important;  
  -webkit-text-fill-color: initial !important; 
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15)) drop-shadow(0px 12px 15px rgba(0, 0, 0, 0.15)) drop-shadow(0px 25px 30px rgba(0, 0, 0, 0.1)) saturate(1.3) contrast(1.1) !important;                         
  animation: float-emoji-universal 3s ease-in-out infinite !important;
}

@keyframes float-emoji-universal {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@media (max-width: 767px) {
  .emoji-3d { font-size: 1.5em !important; }
}

/* ============================================================
   БЛОК: ТЕКСТОВЫЙ БЛОК (block-text)
   ============================================================ */

/* Блок «Текстовый блок»: Обёртка блока */
.block-text {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: left;
}

/* Блок «Текстовый блок»: Заголовок блока */
.block-text__title {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #4a65fe;
  text-align: center;
  background-color: #C1EFFE;
  padding: 5px 10px;
  transform: rotate(-1deg);
  display: table;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* Блок «Текстовый блок»: Текст блока */
.block-text__text {
  font-size: 22px;
}

/* Блок «Текстовый блок»: Адаптация до 1200px */
@media screen and (max-width: 1200px) {
  .block-text__title {
    font-size: 30px;
  }
  .block-text__text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ============================================================
   БЛОК: КАРУСЕЛЬ OWL
   ============================================================ */

/* Блок «Карусель Owl»: Стрелка «назад» — сдвиг влево */
div.owl-carousel>div.owl-nav>div.owl-prev {
  left: -35px;
}

/* Блок «Карусель Owl»: Стрелка «вперёд» — сдвиг вправо */
div.owl-carousel>div.owl-nav>div.owl-next {
  right: -50px;
}

/* Блок «Карусель Owl»: Картинка для стрелки «назад» */
div.owl-carousel>div.owl-nav>div.owl-prev:hover,
div.owl-carousel>div.owl-nav>div.owl-prev {
  background-image: URL(img/ar-left.png);
}

/* Блок «Карусель Owl»: Картинка для стрелки «вперёд» */
div.owl-carousel>div.owl-nav>div.owl-next:hover,
div.owl-carousel>div.owl-nav>div.owl-next {
  background-image: URL(img/ar-right.png);
}

/* Блок «Карусель Owl»: Общие стили стрелок */
div.owl-carousel>div.owl-nav>div.owl-prev:hover,
div.owl-carousel>div.owl-nav>div.owl-next:hover,
div.owl-carousel>div.owl-nav>div.owl-prev,
div.owl-carousel>div.owl-nav>div.owl-next {
  position: absolute;
  background-color: transparent;
  width: 40px;
  height: 40px;
  top: 40%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  z-index: 10000;
}

/* ============================================================
   БЛОК: ПАГИНАЦИЯ
   ============================================================ */

/* Блок «Пагинация»: Обёртка пагинации */
.pag-wrap {
  margin-bottom: 30px;
}

/* Блок «Пагинация»: Навигация внутри обёртки */
.pag-wrap nav {
  display: block;
  max-width: 610px;
  margin: 0 auto;
  text-align: center;
}

/* Блок «Пагинация»: Обёртка пагинации на странице */
.page-pag-wrap {
  display: block;
  max-width: 525px;
  margin: 0 auto;
}

/* Блок «Пагинация»: Базовые классы пагинации */
.page-numbers,
.pagination {
  display: inline-block;
  padding-left: 0;
}

/* Блок «Пагинация»: Элементы списка пагинации */
.page-numbers>li,
.pagination>li {
  display: inline
}

/* Блок «Пагинация»: Активная страница */
.page-numbers li .current,
.pagination li.active span {
  border-bottom: 3px solid #337ab7;
}

/* Блок «Пагинация»: Ссылки и спаны пагинации */
.page-numbers>li>a,
.page-numbers>li>span,
.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 7px 14px;
  line-height: 1.428571429;
  text-decoration: none;
  color: #337ab7;
  margin-left: -1px;
  font-weight: bold;
  font-size: 20px;
}

/* Блок «Пагинация»: Первый элемент без отступа */
.page-numbers>li:first-child>a,
.page-numbers>li:first-child>span,
.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
}

/* Блок «Пагинация»: Наведение / фокус на пагинации */
.page-numbers>li>a:focus,
.page-numbers>li>a:hover,
.page-numbers>li>span:focus,
.page-numbers>li>span:hover,
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
  z-index: 2;
  color: #23527c;
}

/* ============================================================
   БЛОК: ПОПАПЫ — ЗАГОЛОВКИ
   ============================================================ */

/* Блок «Попапы»: H3 в попапах 2 и 3 */
.popup-cont-2 h3,
.popup-cont-3 h3 {
  color: #0FA6E4;
  margin-top: 0px;
}

/* ============================================================
   БЛОК: ЗАГОЛОВКИ СТРАНИЦ
   ============================================================ */

/* Блок «Заголовки страниц»: Общий H1 на внутренних страницах */
.h1-all-pages {
  text-align: center;
  color: #a015fe;
  margin-top: 20px;
  margin-bottom: 40px;
  font-weight: 700;
}

/* ============================================================
   БЛОК: КОНТЕНТ СТАТЬИ
   ============================================================ */

/* Блок «Контент статьи»: Базовый стиль текста */
.text-container {
  line-height: 1.7;
}

/* Блок «Контент статьи»: Картинка в контенте */
.text-container img {
  max-width: 100%;
  height: auto;
}

/* Блок «Контент статьи»: Список в контенте */
.text-container ul {
  display: block;
  list-style: inside disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}

/* ============================================================
   БЛОК: МЕТАДАННЫЕ СТАТЬИ
   ============================================================ */

/* Блок «Метаданные статьи»: Бейдж с датой */
.stati-date {
  background: #fff;
  display: table;
  border-radius: 55px;
  margin: 0 auto;
  border: 3px solid #71a8ee;
  line-height: 20px;
}

/* Блок «Метаданные статьи»: Просмотры */
.post-views {
  margin-left: 10px;
  background: url(img/view-icon.jpg) no-repeat 0px 5px;
  font-size: 13px;
  padding-left: 20px;
  background-size: 18px;
  float: left;
  color: #0060B1;
  text-transform: uppercase;
  margin-right: 5px;
}

/* Блок «Метаданные статьи»: Дата (объединены два дубля) */
.post-date {
  background: url(img/date-monthly.jpg) no-repeat 0px 3px;
  float: left;
  color: #0060B1;
  text-transform: uppercase;
  font-size: 13px;
  padding-left: 18px;
  background-size: 15px;
  margin-top: 0px;
  margin-left: 7px;
}

/* Блок «Метаданные статьи»: Категория */
.post-category a {
  float: right;
  background: url(img/catalog-icon.jpg) no-repeat 0px 3px;
  font-size: 11px;
  padding-left: 16px;
  background-size: 13px;
  margin-right: 8px;
  line-height: 20px;
  color: #0060B1;
  font-weight: bold;
  margin-left: 5px;
}

/* Блок «Метаданные статьи»: Бейдж-плашка */
.metablock-blog {
  background: #fff;
  display: table;
  border-radius: 55px;
  margin: 0 auto;
  border: 3px solid #71a8ee;
  line-height: 20px;
}

/* Блок «Метаданные статьи»: Ячейка бейджа */
.metablock-blog span {
  border-right: 1px solid #5578cc;
  padding-right: 10px;
  text-align: center;
  float: left;
}

/* Блок «Метаданные статьи»: Последняя ячейка без границы */
.metablock-blog span:last-of-type {
  border: none;
  padding-right: 10px;
}

/* ============================================================
   БЛОК: КАРТОЧКА СТАТЬИ (АРХИВ)
   ============================================================ */

/* Блок «Карточка статьи»: Обложка-миниатюра */
.blog-category-thumbnail {
  position: relative;
  height: 328px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  border-radius: 8px;
}

/* Блок «Карточка статьи»: Ссылка-обёртка в обложке */
.blog-category-thumbnail>a {
  width: 100%;
}

/* Блок «Карточка статьи»: Верхняя часть карточки */
.blog-category-art-top {
  min-height: 200px;
}

/* Блок «Карточка статьи»: Фиолетовая плашка с заголовком */
.images-to-content-blog-a {
  background-color: #a015fe;
  color: #fff;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  font-size: 18px;
  width: 100%;
  text-align: center;
  padding: 2px 0px 20px 0px;
}

/* Блок «Карточка статьи»: Заголовок в плашке */
.images-to-content-blog-a a h3 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Блок «Карточка статьи»: Сама карточка */
.grid-raticles {
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px dotted #ddd;
  padding: 0px 0px 10px 0px;
  background-color: #fff;
  border-radius: 10px;
  border: 4px solid #a015fe;
}

/* Блок «Карточка статьи»: Картинка в карточке */
.grid-raticles img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 6px 6px 0 0;
}

/* Блок «Карточка статьи»: Обёртка заголовка */
.h3-wrap {
  min-height: 69px;
}

/* Блок «Карточка статьи»: Заголовок в карточке */
.grid-raticles .h3-wrap h3 {
  font-size: 17px;
  margin-top: 10px;
  margin-bottom: 11px;
  line-height: 20px;
  padding: 0px 20px;
  font-weight: bold;
  height: 59px;
  overflow: hidden;
  color: #FFF;
  text-align: center;
}

/* Блок «Карточка статьи»: Клик по всей карточке */
a.art-link:hover,
a.art-link:active,
a.art-link:focus {
  text-decoration: none;
}

/* ============================================================
   БЛОК: БЛОГ — КАРТОЧКИ В АРХИВЕ (.grid-raticles)
   ============================================================ */

/* Карточка (фиолетовый градиент, тень) */
.grid-raticles {
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(135deg, #a015fe 0%, #6a00b8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(160, 21, 254, 0.25) !important;
  margin-bottom: 30px !important;
  height: 100% !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative !important;
  cursor: pointer !important;
}

.grid-raticles:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 45px rgba(160, 21, 254, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Ссылка на всю карточку (кликабельность) */
.grid-raticles .art-link::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 10 !important;
}

/* Блок с картинкой */
.grid-raticles .blog-category-thumbnail {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  overflow: hidden !important;
  position: relative !important;
}

.grid-raticles .blog-category-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.grid-raticles:hover .blog-category-thumbnail img {
  transform: scale(1.02) !important;
}

/* Блок с заголовком */
.grid-raticles .images-to-content-blog-a {
  display: block !important;
  padding: 15px 20px 10px 20px !important;
  background: transparent !important;
  position: static !important;
  min-height: auto !important;
  width: 100% !important;
  text-align: left !important;
}

/* Сам заголовок (белый, без обрезки) */
.grid-raticles .h3-wrap h3,
.grid-raticles .images-to-content-blog-a h3,
.grid-raticles .h3-wrap h3 a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  white-space: normal !important;
  overflow: visible !important;
  -webkit-line-clamp: initial !important;
}

/* Текст описания (белый) */
.grid-raticles .post-ext {
  padding: 0 20px 25px 20px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  flex-grow: 1 !important;
  margin-top: 0 !important;
  height: 135px;
  overflow: hidden;
}

/* ============================================================
   БЛОК: ОДИНОЧНАЯ СТАТЬЯ
   ============================================================ */

/* Блок «Одиночная статья»: Обёртка текста */
.text-container-blog {
  padding: 10px;
}

/* Блок «Одиночная статья»: Блок с картинкой сверху */
.imgblock-blog {
  margin-left: -20px;
  margin-top: -20px;
  margin-right: -20px;
  position: relative;
  margin-bottom: 20px;
}

/* Блок «Одиночная статья»: Картинка сверху (при наличии) */
.imgblock-blog:has(img) {
  margin-bottom: 30px;
  min-height: 200px;
}

/* Блок «Одиночная статья»: Картинка в блоке */
.imgblock-blog img {
  margin: 0 auto;
  display: block;
  max-width: 60%;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Блок «Одиночная статья»: Плашка с заголовком поверх картинки */
.images-to-content-blog {
  background: linear-gradient(135deg, #a015fe 0%, #4D91DD 50%, #35a5d5 100%);
  color: #fff;
  border-radius: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 18px;
  width: 100%;
  text-align: center;
}

/* Блок «Одиночная статья»: Заголовок в плашке */
.images-to-content-blog h1 {
  margin: 0;
  padding: 0;
}

/* Блок «Одиночная статья»: Отступ-разделитель */
.clearfix-blog {
  height: 20px;
}

/* Блок «Одиночная статья»: Категории */
ul.blog-categiries-single li {
  display: flex;
  width: 100%;
  border-bottom: 1px dashed #acc9ee;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

/* Блок «Одиночная статья»: Картинка категории */
ul.blog-categiries-single img {
  height: 60px;
  margin-right: 10px;
  float: left;
}

/* Блок «Одиночная статья»: Ссылка категории */
ul.blog-categiries-single li a {
  width: 100%;
}

/* Блок «Одиночная статья»: Текст категории */
ul.blog-categiries-single span {
  height: 60px;
  vertical-align: middle;
  display: table-cell;
  line-height: 17px;
}

/* Блок «Одиночная статья»: Последняя категория без рамки */
ul.blog-categiries-single li:last-of-type {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Блок «Одиночная статья»: Плашка сверху */
.plashka-top {
  background-color: rgba(15, 166, 228, 0.17);
  border-radius: 2px;
  font-size: 18px;
  padding: 10px;
  width: 100%;
  box-shadow: 3px 3px 8px #0fa6e4;
  color: #0060b1;
}

/* Блок «Одиночная статья»: Плашка снизу */
.plashka-bottom {
  background-color: rgba(86, 159, 224, 0.28);
  border-radius: 2px;
  font-size: 18px;
  padding: 10px;
  width: 100%;
  box-shadow: 5px 5px 10px #4f81b7;
  color: #0060b1;
}

/* ============================================================
   БЛОК: ПОДЕЛИТЬСЯ
   ============================================================ */

/* Блок «Поделиться»: Обёртка блока */
.blog-share {
  display: table;
  width: 100%;
  border: 1px solid #cbd1d5;
  padding: 0 10px;
  border-radius: 5px;
  margin-top: 30px;
}

/* Блок «Поделиться»: Кнопки Яндекс.Поделиться */
.blog-ya-share {
  float: left;
  margin: 13px 0;
  margin-bottom: 1px;
}

/* Блок «Поделиться»: Размер кнопки */
.blog-ya-share .ya-share2__badge {
  width: 34px;
  text-align: center;
}

/*   
style.css часть 2 
*/

/* ============================================================
   БЛОК: САЙДБАР СТАТЬИ
   ============================================================ */

/* Блок «Сайдбар статьи»: Элемент списка */
.blog-stati-sd-single li {
  position: relative;
  padding: 10px 0;
}

/* Блок «Сайдбар статьи»: Картинка */
.blog-stati-sd-single li img {
  max-width: 100%;
  height: auto;
}

/* Блок «Сайдбар статьи»: Плашка с заголовком */
.images-sd-blog {
  background-color: rgba(44, 136, 217, 0.8);
  color: #fff;
  border-radius: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 16px;
  padding: 5px;
  line-height: 17px;
  width: 100%;
  text-align: center;
}

/* Основная секция статьи */
.main-section {
  background: #fff;
  padding: 20px;
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.3);
  margin-bottom: 5px;
  border-radius: 10px;
  overflow: hidden;
}

/* Карточка правого сайдбара */
.right-column {
  background: #fff;
  margin-bottom: 30px;
  padding: 20px;
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.3);
  border-radius: 10px;
}

/* Заголовок правого сайдбара */
.right-column-title {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #a015fe 0%, #4D91DD 50%, #35a5d5 100%);
  color: #fff;
  padding: 15px 10px;
  border-radius: 12px;
  font-size: 18px;
}

/* ============================================================
   АНИМИРОВАННЫЙ ПУНКТИРНЫЙ РАЗДЕЛИТЕЛЬ В САЙДБАРЕ (.right-column)
   ============================================================
   Что делает: Создает движущуюся градиентную линию между пунктами списка.
   Где применяется: Ко всем элементам li внутри .right-column, 
   КРОМЕ последнего (:not(:last-child)), чтобы линия не висела в самом низу.
   ВАЖНО: Для работы этого кода у самого тега li должно быть
   свойство position: relative; (см. блок .right-column li).
*/

/* 1. Подготовка родительского элемента (обязательно для работы absolute) */
.right-column li {
  list-style: none;
  margin-bottom: 15px;
  padding-bottom: 15px; /* Отступ от текста до линии */
  position: relative;   /* <--- Без этого линия улетит в самый верх страницы */
}

/* 2. Создание самой линии через псевдоэлемент */
.right-column li:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px; /* Толщина линии */
  
  /* Градиент из трех цветов */
  background: linear-gradient(90deg, #a015fe, #f1b2f2, #78ABE5, #a015fe);
  background-size: 200% 100%;
  
  /* Маска, которая превращает сплошную линию в пунктир (штрих 20px, пробел 20px) */
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 50%);
  mask-image: linear-gradient(90deg, #000 50%, transparent 50%);
  -webkit-mask-size: 20px 100%;
  mask-size: 20px 100%;
  
  /* Подключаем глобальные анимации (движение штрихов и переливание градиента) */
  animation: move-dashes 1s linear infinite, gradient-flow 3s linear infinite;
  border-radius: 2px;
}

/* Контейнер текста статьи */
.text-container {
  line-height: 1.7;
}

/* Ссылки-карточки в сайдбаре */
a.art-link, 
a.art-link:hover, 
a.art-link:focus {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Сюда мы кладем стили для пунктира в сайдбаре, 
   которые ССЫЛАЮТСЯ на глобальные анимации выше */
.right-column li:not(:last-child)::after {
  /* ... стили линии ... */
  animation: move-dashes 1s linear infinite, gradient-flow 3s linear infinite;
}

/* ============================================================
   БЛОК: НАВИГАЦИЯ ПО СТАТЬЯМ (POST-NAVIGATION)
   ============================================================ */

/* Блок «Навигация по статьям»: Список */
.post-navigation {
  list-style: none;
  padding-left: 0px;
}

/* Блок «Навигация по статьям»: Элемент */
.post-navigation li {
  display: inline-block;
}

/* Блок «Навигация по статьям»: Иконка «назад» */
.post-navigation li:nth-child(1) i {
  padding-right: 5px;
  display: block;
  width: 20px;
  float: right;
  position: absolute;
  top: 9px;
  left: 0px;
}

/* Блок «Навигация по статьям»: Иконка «вперёд» */
.post-navigation li:nth-child(2) i {
  padding-left: 5px;
  display: block;
  width: 20px;
  float: right;
  position: absolute;
  top: 9px;
  right: 0px;
}

/* Блок «Навигация по статьям»: Ссылки */
.post-navigation li a,
.post-navigation li a:active,
.post-navigation li a:focus,
.post-navigation li a:hover {
  color: #000;
  font-size: 14px;
}

/* Блок «Навигация по статьям»: Иконки внутри ссылок */
.post-navigation li a i {
  color: rgba(44, 136, 217, 0.8);
}

/* ============================================================
   БЛОК: КАРУСЕЛЬ (БЛОГ)
   ============================================================ */

/* Блок «Карусель блога»: Контейнер карусели категорий */
#js-carousel-6 {
  margin-bottom: 35px;
  overflow: hidden;
  margin-left: 5px;
  margin-right: 5px;
}

/* Блок «Карусель блога»: Стрелка «назад» */
#js-carousel-6 .js-prev {
  width: 5%;
  background: url(img/categori-prev.png?v=1) no-repeat 0 38px;
  background-size: 30px;
  float: left;
  display: block;
  height: 80px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Блок «Карусель блога»: Стрелка «вперёд» */
#js-carousel-6 .js-next {
  width: 5%;
  background: url(img/categori-next.png?v=1) no-repeat 100% 38px;
  background-size: 30px;
  float: left;
  display: block;
  height: 80px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Блок «Карусель блога»: Точка */
#js-carousel-6 .owl-carousel button.owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4678f0;
  margin: 0 3px;
  border: none;
}

/* Блок «Карусель блога»: Активная точка */
#js-carousel-6 .owl-carousel button.owl-dot.active {
  background: orange;
}

/* Блок «Карусель блога»: Контейнер точек */
#js-carousel-6 .owl-dots {
  text-align: center;
  margin-top: 10px;
}

/* Блок «Карусель блога»: Ячейки метаданных */
#js-carousel-6 .metablock-blog span {
  padding-right: 19px;
}

/* Блок «Карусель блога»: Бейдж метаданных */
#js-carousel-6 .metablock-blog {
  margin-top: 13px;
}

/* Блок «Карусель блога»: Картинка в карточке */
.blog-related img {
  max-width: 100%;
}

/* Блок «Карусель блога»: Контейнер карусели «Статьи по теме» */
ul.blog-related {
  margin: 0;
  padding: 0;
}

/* Блок «Карусель блога»: Карточка в карусели */
ul.blog-related li {
  text-decoration: none;
  box-shadow: 0 0px 3px 2px rgba(66, 64, 66, 0.4);
  padding: 10px;
  margin: 3px;
  background: #fff;
  border-radius: 10px;
  font-size: 16px;
  list-style: none;
  position: relative;
  height: 299px;
}

/* Блок «Карусель блога»: Подпись внизу карточки */
ul.blog-related .carousel-item-content {
  color: #fff;
  border-radius: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 17px;
  padding: 15px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #a015fe 0%, #4D91DD 50%, #35a5d5 100%);
}

/* Блок «Карусель блога»: Заголовок над каруселью */
.blog-related-title {
  font-size: 30px;
  display: block;
  margin-bottom: 20px;
  text-align: center;
  color: #a015fe;
  margin-top: 60px;
}

/* ============================================================
   БЛОК: ПЛИТКИ КАТЕГОРИЙ БЛОГА
   ============================================================ */

/* Блок «Плитки категорий»: Контейнер */
ul.blog-categiries {
  margin: 0;
  padding: 0;
  float: left;
  width: 90%;
}

/* Блок «Плитки категорий»: Текст в плитке */
ul.blog-categiries span {
  line-height: 17px;
  color: #FFF;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100%;
  font-family: 'Verdana', geneva;
}

/* Блок «Плитки категорий»: Наведение на плитку */
ul.blog-categiries li:hover {
  box-shadow: 0 0px 3px 4px rgba(66, 64, 66, 0.4);
}

/* Блок «Плитки категорий»: Наведение на ссылку */
ul.blog-categiries li a:hover {
  text-decoration: none;
  color: #fff;
}

/* Блок «Плитки категорий»: Ссылка внутри плитки */
ul.blog-categiries li a {
  text-decoration: none;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Блок «Плитки категорий»: Сама плитка */
ul.blog-categiries li {
  text-decoration: none;
  box-shadow: 0 0px 3px 2px rgba(66, 64, 66, 0.4);
  padding: 10px;
  height: 105px;
  margin: 3px;
  border-radius: 10px;
  font-family: "DINRoundPro";
  font-size: 16px;
  border: 3px solid #0FA6E4;
  background: #0FA6E4;
  list-style: none;
}

/* Блок «Плитки категорий»: Картинка в плитке */
ul.blog-categiries li img {
  height: 80px;
  width: auto !important;
  margin-left: 7px;
}

/* ============================================================
   БЛОК: ГОРОДА (SITY)
   ============================================================ */

/* Блок «Города»: Колонки со ссылками */
.sity-term-column {
  overflow: hidden;
  margin-bottom: 50px;
  width: 100%;
}

/* Блок «Города»: Ссылка города */
.sity-term-column a {
  float: left;
  width: 24%;
  margin: 0.3%;
  color: #0060B1;
}

/* Блок «Города»: Блок со списком */
.sity-terms {
  background: #fff;
  padding: 20px;
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.3);
}

/* Блок «Города»: Заголовок блока */
.sity-terms .tag-title {
  font-weight: bold;
  font-size: 22px;
  padding-left: 4px;
  color: #0060B1;
}

/* Блок «Города»: Наведение на ссылку «Похожие города» */
ul.similar-city li a:hover {
  text-decoration: none;
  color: #1267c1;
}

/* Блок «Города»: Ссылка «Похожие города» */
ul.similar-city li a {
  text-decoration: none;
  color: #0FA6E4;
  width: 100%;
  font-size: 16px;
  text-align: left;
}

/* Блок «Города»: Плитка «Похожие города» */
ul.similar-city li {
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  padding: 4px;
  list-style: none;
  width: 22.5%;
  overflow: hidden;
  margin: 1%;
  display: inline-table;
  text-align: left;
}

/* Блок «Города»: Общий контейнер «Похожие города» */
ul.similar-city {
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
}

/* ============================================================
   БЛОК: КОНТАКТНАЯ ИНФОРМАЦИЯ
   ============================================================ */

/* Блок «Контакты»: Жирный текст в адресе */
.adress-container strong {
  font-size: 18px;
}

/* Блок «Контакты»: Блок с иконкой адреса */
.adress-container {
  background: url(img/map22.png) no-repeat 0px 0px;
  background-size: 53px;
  padding-left: 70px;
  color: #0060B1;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}

/* Блок «Контакты»: Общая обёртка контактного блока */
.kontact-block {
  margin: 15px 0;
}

/* Блок «Контакты»: Блок с иконкой города */
.city-container {
  background: url(img/map33.png) no-repeat 0px 0px;
  background-size: 50px;
  padding-left: 60px;
  color: #a015fe;
  font-weight: 500;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}

/* Блок «Контакты»: Фиолетовая информационная плашка */
.info-container {
  background: linear-gradient(135deg, #a015fe 0%, #4D91DD 50%, #35a5d5 100%);
  color: #FFF;
  vertical-align: middle;
  width: 100%;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

/* Блок «Контакты»: Блок с иконкой почты */
.mail-container {
  background: url(img/mail22.png) no-repeat 0px 0px;
  background-size: 50px;
  padding-left: 60px;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
  font-weight: 500;
  color: #a015fe;
}

/* Блок «Контакты»: Блок с иконкой времени */
.times-container {
  background: url(img/time22.png?v2) no-repeat 0px 0px;
  background-size: 50px;
  padding-left: 60px;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
  color: #0060B1;
}

/* Блок «Контакты»: Блок с иконкой телефона */
.phone-container {
  background: url(img/phone-header2.png) no-repeat 0px 0px;
  background-size: 50px;
  padding-left: 60px;
  color: #a015fe;
  font-weight: 500;
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}

/* Блок «Контакты»: Блок с иконкой Max */
.max-container {
  background: url(img/zakazat-v-mah-mini.png) no-repeat 0px 4px;
  background-size: 47px;
  padding-left: 60px;
  display: table-cell;
  vertical-align: middle;
  height: 55px;
  color: #6539b2;
  font-weight: bold;
  padding-right: 15px;
}

/* Блок «Контакты»: Блок с иконкой ВКонтакте */
.vk-container {
  background: url(img/vk22.png) no-repeat 0px 4px;
  background-size: 49px;
  padding-left: 60px;
  height: 50px;
  font-weight: bold;
  color: #0060B1;
  display: table-cell;
  vertical-align: middle;
  padding-right: 15px;
}

/* Блок «Контакты»: Блок с иконкой Telegram */
.telegram-container {
  background: url(/wp-content/uploads/2025/04/t.png) no-repeat 0px 0px;
  background-size: 49px;
  padding-left: 60px;
  display: table-cell;
  vertical-align: middle;
  height: 55px;
  color: #00a2e8;
  font-weight: bold;
  padding-right: 15px;
}

/* Блок «Контакты»: Контейнер для выравнивания в линию */
.kontact-block-line {
  display: table;
  margin-bottom: 40px;
  margin-left: 2px;
}

/* Блок «Контакты»: Ссылки телефона и время работы */
.phone-container a,
.times-container {
  color: #a015fe;
  font-weight: 500;
}

/* ============================================================
   БЛОК: ПОХОЖИЕ УСЛУГИ
   ============================================================ */

/* Блок «Похожие услуги»: Заголовок */
.similar-services-name {
  font-size: 18px;
  font-family: "DINRoundPro-Bold";
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #2397f9;
  text-align: center;
}

/* Блок «Похожие услуги»: Тень при наведении */
ul.similar-services li:hover {
  box-shadow: 0 0px 3px 4px rgba(66, 64, 66, 0.4);
}

/* Блок «Похожие услуги»: Наведение на ссылку */
ul.similar-services li a:hover {
  text-decoration: none;
  color: #fff;
}

/* Блок «Похожие услуги»: Ссылка внутри плитки */
ul.similar-services li a {
  text-decoration: none;
  color: #fff;
  width: 100%;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
  height: 40px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

/* Блок «Похожие услуги»: Плитка */
ul.similar-services li {
  text-decoration: none;
  box-shadow: 0 0px 3px 2px rgba(66, 64, 66, 0.4);
  border-radius: 10px;
  font-size: 16px;
  padding: 4px;
  border: 3px solid #0FA6E4;
  background: #0FA6E4;
  list-style: none;
  width: 22.5%;
  height: 52px;
  overflow: hidden;
  margin: 1%;
  display: inline-block;
}

/* Блок «Похожие услуги»: Общий контейнер */
ul.similar-services {
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 0px;
  text-align: center;
}

/* ============================================================
   БЛОК: СПИСОК УСЛУГ
   ============================================================ */

/* Блок «Список услуг»: Элемент списка */
.services-items li {
  margin: 0 1%;
  list-style: none;
  margin-bottom: 7px;
  float: left;
  width: 23%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Блок «Список услуг»: Отмена обрезки текста */
.no-trim {
  white-space: normal !important;
}

/* Блок «Список услуг»: Ссылка */
.services-items li a {
  text-decoration: none;
  max-width: 180px;
  line-height: 19px;
}

/* Блок «Список услуг»: Ссылка при наведении */
.services-items li a:hover {
  text-decoration: underline;
}

/* Блок «Список услуг»: Общий контейнер */
ul.services-items {
  padding: 0;
  margin-left: -11px;
  margin-right: -11px;
  overflow: hidden;
}

/* Блок «Список услуг»: Отступ снизу */
.services-items-bottom {
  margin-bottom: 40px;
}

/* Блок «Список услуг»: Синий заголовок */
.services-blue-title {
  font-size: 25px;
  margin: 10px 0 0;
  text-transform: uppercase;
  color: #0FA6E4;
  text-align: center;
}

/* ============================================================
   БЛОК: КНОПКА «НАВЕРХ»
   ============================================================ */

/* Блок «Кнопка наверх»: Стили кнопки */
#toTop {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  text-align: center;
  opacity: 0.5;
  padding: 10px 15px;
  position: fixed;
  bottom: 3%;
  left: calc(50% - 21px) !important;
  cursor: pointer;
  display: none;
  color: #fff;
  line-height: 24px;
  font-size: 24px;
}

/* Блок «Кнопка наверх»: Наведение */
#toTop:hover {
  background-color: #000;
  opacity: 1;
}

/* ============================================================
   БЛОК: ПОИСК НА САЙТЕ
   ============================================================ */

/* Блок «Поиск на сайте»: Элемент результата поиска */
.search-item {
  border-bottom: 1px solid #cac3c3;
  padding: 10px;
  display: block;
  font-size: 17px;
}

/* Блок «Поиск на сайте»: Тип результата */
.search-item-type {
  font-size: 14px;
  font-weight: normal;
  color: #777474;
}

/* Блок «Поиск на сайте»: Контейнер-флекс для поиска */
.container-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-top: 15px;
}

/* Блок «Поиск на сайте»: Обёртка поля поиска */
.search-box-input {
  width: 322px;
  min-width: 322px;
  margin-right: 6px;
}

/* Блок «Поиск на сайте»: Поле поиска */
#search-box-input {
  border: 2px solid #0FA6E4;
  background: #fff;
  display: flex;
  border-radius: 5px;
  width: 100%;
}

/* Блок «Поиск на сайте»: Кнопка «найти» */
.search-box-submit {
  background: #fff url(img/search-submit.png?v2) no-repeat scroll 19px 6px;
  height: 30px;
  width: 70px;
  cursor: pointer;
  transition: all .5s ease 0;
  border: none;
  border-left: 2px solid #0FA6E4;
  background-size: 20px;
  border-radius: 0px 5px 5px 0px;
}

/* Блок «Поиск на сайте»: Наведение на кнопку «найти» */
.search-box-submit:hover {
  background: #f7f7f7 url(img/search-submit.png?v2) no-repeat scroll 19px 6px;
  background-size: 20px;
}

/* Блок «Поиск на сайте»: Текст в поле поиска */
.search-box-text {
  border: none;
  padding: 1px 3px 3px 3px;
  width: 100%;
  border-radius: 7px;
  font-size: 15px;
}

/* Блок «Поиск на сайте»: Блок поиска на главной */
.search-box-home {
  display: block;
  float: right;
  margin-top: 10px;
  width: 322px;
}

/* Блок «Поиск на сайте»: Мобильный поиск (основной) */
.m-search-container-main {
  display: none;
  width: 100%;
  position: fixed;
  top: 74px;
  right: 0;
  z-index: 6777777;
  background: #0FA6E4;
  padding: 22px;
  border: 2px solid #FFF;
}

/* Блок «Поиск на сайте»: Мобильный поиск (внутри меню) */
.m-search-container {
  display: none;
  width: 100%;
  position: fixed;
  top: 74px;
  right: 0;
  z-index: 6777777;
  background: #0FA6E4;
  padding: 22px;
  border: 2px solid #FFF;
}

/* Блок «Поиск на сайте»: Поле поиска в меню */
.menu-item #search-box-input {
  margin: 10px 40px;
  width: auto;
}

/* ============================================================
   БЛОК: УТИЛИТЫ
   ============================================================ */

/* Блок «Утилиты»: Колонка без внутренних отступов */
.col-md-8-mod {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Блок «Утилиты»: Картинка в тексте — без выхода за границы */
.zxc img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   БЛОК: НУМЕРОВАННЫЕ СПИСКИ В ТЕКСТЕ
   ============================================================ */

/* Блок «Нумерованные списки в тексте»: Общий контейнер нумерованного списка */
.text ol,
.text-container ol {
  list-style-type: none;
  counter-reset: num;
  margin: 0 0 0 25px;
  padding: 5px 0 5px 0;
  margin-bottom: 15px;
}

/* Блок «Нумерованные списки в тексте»: Элемент списка */
.text ol li,
.text-container ol li {
  position: relative;
  margin: 0 0 0 0;
  padding: 0 0 5px 0;
}

/* Блок «Нумерованные списки в тексте»: Кастомный номер (синий) */
.text ol li:before,
.text-container ol li:before {
  content: counter(num)'. ';
  counter-increment: num;
  display: inline-table;
  position: absolute;
  top: 0px;
  left: -26px;
  width: 20px;
  color: #0060b1;
  text-align: right;
}

/* ============================================================
   БЛОК: МАРКИРОВАННЫЕ СПИСКИ В ТЕКСТЕ
   ============================================================ */

/* Блок «Маркированные списки в тексте»: Отступ для списка после span */
.text p span+.list-13 {
  margin-top: -10px;
}

/* Блок «Маркированные списки в тексте»: Базовый отступ списков */
.text ul,
.text-container ul {
  margin-bottom: 15px;
}

/* Блок «Маркированные списки в тексте»: Элемент списка (без стандартных маркеров) */
.text ul li,
.text-container ul li {
  list-style-type: none;
  margin: 0 0 0 0;
  padding: 0 0 5px 0;
}

/* Блок «Маркированные списки в тексте»: Кастомный синий маркер (точка) */
.text ul li:before,
.text-container ul li:before {
  color: #0060b1;
  content: "• ";
  padding-right: 4px;
}

/* ============================================================
   БЛОК: ПОДЕЛИТЬСЯ
   ============================================================ */

/* Блок «Поделиться»: Убираем маркер в кнопках «Поделиться» */
.blog-share li::before {
  content: none !important;
}

/* ============================================================
   БЛОК: НАВИГАЦИЯ ПРЕДЫДУЩАЯ/СЛЕДУЮЩАЯ
   ============================================================ */

/* Блок «Навигация предыдущая/следующая»: Контейнер карточек навигации */
.section-pn {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 25px;
}

/* Блок «Навигация предыдущая/следующая»: Карточка «Предыдущая статья» */
.section-prev-page {
  flex: 1;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.3);
  margin-bottom: 5px;
  border-radius: 10px;
  padding-left: 35px;
  background: #fff url(img/s-arrow.png) no-repeat 5px 50%;
  background-size: 25px;
}

/* Блок «Навигация предыдущая/следующая»: Карточка «Следующая статья» */
.section-next-page {
  flex: 1;
  text-align: right;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.3);
  margin-bottom: 5px;
  border-radius: 10px;
  padding-right: 35px;
  background: #fff url(img/s-arrow-r.png) no-repeat calc(100% - 3px) 50%;
  background-size: 26px;
}

/* Блок «Навигация предыдущая/следующая»: Тень при наведении на карточки */
.section-prev-page:hover,
.section-next-page:hover {
  box-shadow: 0 0px 9px 0 rgba(66, 12, 65, 0.6);
}

/* Блок «Навигация предыдущая/следующая»: Название статьи внутри карточки */
.section-pn-name {
  font-size: 19px;
  color: #000;
  display: table;
  margin-bottom: 10px;
  width: 100%;
}

/* ============================================================
   БЛОК: ЛИПКИЙ САЙДБАР
   ============================================================ */

/* Блок «Липкий сайдбар»: Прилипающий сайдбар */
.right-column-sticky {
  position: sticky;
  top: 30px;
  margin-bottom: 5px;
}

/* ============================================================
   БЛОК: ФИКСЫ АНИМАЦИЙ
   ============================================================ */

/* Блок «Фиксы анимаций»: Сглаживание анимации в блоке «прилипания» */
.pinned-wrap {
  transform: translateZ(0);
}

/* ============================================================
   БЛОК: РЕКОМЕНДУЕМЫЕ УСЛУГИ
   ============================================================ */

/* Блок «Рекомендуемые услуги»: Отступ блока */
.recommended-uslugi {
  margin-bottom: 20px;
}

/* ============================================================
   БЛОК: БЛОК-ЦИТАТА В РАМКЕ (text-block-1)
   ============================================================ */

/* Блок «Блок-цитата в рамке»: Обёртка цитаты */
.text-block-1 {
  border: 1px solid #067cd6;
  border-radius: 10px;
  padding: 12px;
  margin: 20px 0;
  position: relative;
}

/* Блок «Блок-цитата в рамке»: Левая верхняя кавычка */
.text-block-1::before {
  position: absolute;
  background: #fff url(/wp-content/themes/student-servis/img/quote.svg) no-repeat 0px 0;
  background-size: 25px;
  background-position: 50% 50%;
  content: "";
  display: table;
  height: 33px;
  width: 43px;
  left: -18px;
  top: -17px;
}

/* Блок «Блок-цитата в рамке»: Правая нижняя кавычка */
.text-block-1::after {
  position: absolute;
  background: #fff url(/wp-content/themes/student-servis/img/quote.svg) no-repeat 0px 0;
  background-size: 25px;
  background-position: 50% 50%;
  content: "";
  display: table;
  height: 33px;
  width: 43px;
  right: -18px;
  bottom: -17px;
}

/* ============================================================
   БЛОК: БЛОК С ГАЛОЧКОЙ (data-block="1")
   ============================================================ */

/* Блок «Блок с галочкой»: Обёртка блока */
div[data-block="1"] {
  display: block;
  align-items: center;
  background-color: #eaf6f4;
  border-radius: 8px;
  padding: 10px;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 60px;
}

/* Блок «Блок с галочкой»: Иконка галочки */
div[data-block="1"]::before {
  content: "";
  position: absolute;
  left: 20px;
  display: inline-flex;
  min-width: 24px;
  width: 24px;
  height: 24px;
  top: calc(50% - 12px);
  align-items: center;
  justify-content: space-between;
  background: #3DA2E0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23fff" d="M9 16.2l-3.5-3.5L4 14l5 5 10-10-1.5-1.5z"/></svg>') no-repeat center;
  margin-right: 15px;
  background-size: 22px;
  border-radius: 3px;
}

/* ============================================================
   БЛОК: БЛОК С ЛАМПОЧКОЙ (data-block="2")
   ============================================================ */

/* Блок «Блок с лампочкой»: Обёртка блока */
div[data-block="2"] {
  margin: 20px 0;
  padding: 25px 25px 25px 70px;
  position: relative;
  font-style: normal;
  overflow: hidden;
  background: #e3f2fd;
  color: #0d47a1;
}

/* Блок «Блок с лампочкой»: Иконка лампочки */
div[data-block="2"]::before {
  content: "\f130";
  font-family: "dashicons", monospace;
  font-size: 40px;
  display: inline-block;
  opacity: .4;
  vertical-align: top;
  float: left;
  font-style: normal;
  line-height: 40px;
  margin-right: 7px;
  position: absolute;
  left: 15px;
  top: calc(50% - 20px);
}

/* ============================================================
   БЛОК: БЛОК С ЛИНИЕЙ СЛЕВА (data-block="3")
   ============================================================ */

/* Блок «Блок с линией слева»: Обёртка блока */
div[data-block="3"] {
  border-left: 3px solid #067cd6;
  padding: 10px;
  padding-left: 10px;
  margin: 20px 0;
  padding-left: 20px;
  font-style: italic;
}

/* ============================================================
   БЛОК: СПИСОК СО СТРЕЛКАМИ (data-list="2")
   ============================================================ */

/* Блок «Список со стрелками»: Общий контейнер списка */
ul[data-list="2"] {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

/* Блок «Список со стрелками»: Элемент списка */
ul[data-list="2"] li {
  position: relative;
  border: 1px solid #067cd6;
  background: #FAFAFA;
  padding: 16px 20px 16px 28px;
  margin: 12px 0 12px 40px;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

/* Блок «Список со стрелками»: Наведение на элемент */
ul[data-list="2"] li:hover {
  background: #F0F5FB;
  border: 1px solid #067cd6;
}

/* Блок «Список со стрелками»: Маркер-плашка */
ul[data-list="2"] li:before {
  line-height: 32px;
  position: absolute;
  top: 8px;
  left: -40px;
  width: 40px;
  font-size: 0;
  background: #77AEDB;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  content: "-";
}

/* Блок «Список со стрелками»: Маркер при наведении */
ul[data-list="2"] li:hover:before {
  width: 46px;
  background: #337AB7;
}

/* Блок «Список со стрелками»: Треугольник-стрелка */
ul[data-list="2"] li:after {
  position: absolute;
  left: 0;
  top: 8px;
  content: "";
  height: 0;
  width: 0;
  border: 16px solid transparent;
  border-left-color: #77AEDB;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

/* Блок «Список со стрелками»: Треугольник при наведении */
ul[data-list="2"] li:hover:after {
  margin-left: 6px;
  border-left-color: #337AB7;
}

/* ============================================================
   БЛОК: СПИСОК С УГОЛКОМ (data-list="1")
   ============================================================ */

/* Блок «Список с уголком»: Общий контейнер списка */
ul[data-list="1"] {
  padding: 0;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Список с уголком»: Элемент списка */
ul[data-list="1"] li {
  padding: 5px 5px 5px 20px;
  position: relative;
}

/* Блок «Список с уголком»: Маркер «›» */
ul[data-list="1"] li:before {
  padding-right: 10px;
  font-weight: normal;
  font-size: 27px;
  line-height: 0;
  content: "\203A";
  color: #337AB7;
  position: absolute;
  left: 0;
  top: 14px;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

/* Блок «Список с уголком»: Маркер при наведении */
ul[data-list="1"] li:hover:before {
  margin-left: 6px;
}

/* ============================================================
   БЛОК: СПИСОК С ТИРЕ (data-list="3")
   ============================================================ */

/* Блок «Список с тире»: Общий контейнер списка */
ul[data-list="3"] {
  padding: 0;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Список с тире»: Элемент списка */
ul[data-list="3"] li {
  padding: 5px 5px 5px 25px;
  position: relative;
}

/* Блок «Список с тире»: Маркер «–» */
ul[data-list="3"] li:before {
  padding-right: 10px;
  font-weight: normal;
  font-size: 27px;
  line-height: 0;
  content: "–";
  color: #067cd6;
  position: absolute;
  left: 0;
  top: 18px;
}

/* ============================================================
   БЛОК: СПИСОК С ГАЛОЧКАМИ (data-list="4")
   ============================================================ */

/* Блок «Список с галочками»: Общий контейнер списка */
ul[data-list="4"] {
  padding: 0;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Список с галочками»: Элемент списка */
ul[data-list="4"] li {
  padding: 5px 5px 5px 25px;
  position: relative;
}

/* Блок «Список с галочками»: Маркер «✓» */
ul[data-list="4"] li:before {
  padding-right: 10px;
  font-weight: normal;
  font-size: 16px;
  line-height: 0;
  content: "\2713";
  color: #067cd6;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 17px;
}

/* ============================================================
   БЛОК: НУМЕРОВАННЫЙ СПИСОК С КРУЖКАМИ (data-list="ol1")
   ============================================================ */

/* Блок «Нумерованный список с кружками»: Общий контейнер списка */
ol[data-list="ol1"] {
  padding: 0;
  list-style: none;
  counter-reset: li;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Нумерованный список с кружками»: Элемент списка */
ol[data-list="ol1"] li {
  position: relative;
  padding: 12px 20px 12px 28px;
  margin-left: 0;
  transition-duration: 0.3s;
}

/* Блок «Нумерованный список с кружками»: Номер в кружке */
ol[data-list="ol1"] li:before {
  border: 6px solid transparent;
  line-height: 30px;
  position: absolute;
  top: 3px;
  left: -30px;
  width: 42px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #ADCEE9;
  counter-increment: li;
  content: counter(li);
  transition-duration: 0.3s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Блок «Нумерованный список с кружками»: Номер при наведении */
ol[data-list="ol1"] li:hover:before {
  color: #337AB7;
}

/* Блок «Нумерованный список с кружками»: Круг вокруг номера */
ol[data-list="ol1"] li:after {
  position: absolute;
  top: 2px;
  left: -30px;
  width: 42px;
  height: 42px;
  border: 6px solid #DDDDDD;
  border-radius: 50%;
  content: '';
  opacity: 0.5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Блок «Нумерованный список с кружками»: Круг при наведении */
ol[data-list="ol1"] li:hover:after {
  opacity: 1;
  border: 6px solid #ADCEE9;
}

/* ============================================================
   БЛОК: ЦИТАТА С ЛИНИЯМИ СВЕРХУ И СНИЗУ (data-quote="2")
   ============================================================ */

/* Блок «Цитата с линиями сверху и снизу»: Обёртка цитаты */
blockquote[data-quote="2"] {
  position: relative;
  padding: 10px 10px;
  margin: 20px auto;
  border-top: 1px solid #067cd6;
  border-bottom: 1px solid #067cd6;
}

/* Блок «Цитата с линиями сверху и снизу»: Закрывающая кавычка */
blockquote[data-quote="2---"]::after {
  font-family: Times, sans-serif;
  font-weight: bold;
  position: absolute;
  content: "”";
  color: #BFE2FF;
  font-size: 80px;
  line-height: 0;
  bottom: -8px;
  right: 20px;
  text-shadow: 2px 0 0 #337AB7, -2px 0 0 #337AB7, 0 2px 0 #337AB7, 0 -2px 0 #337AB7, 1px 1px #337AB7, -1px -1px 0 #337AB7, 1px -1px 0 #337AB7, -1px 1px 0 #337AB7;
}

/* ============================================================
   БЛОК: ЦИТАТА В РАМКЕ (data-quote="1")
   ============================================================ */

/* Блок «Цитата в рамке»: Обёртка цитаты */
blockquote[data-quote="1"] {
  position: relative;
  padding: 10px 55px;
  margin: 20px auto;
  border: 1px solid #067cd6;
}

/* Блок «Цитата в рамке»: Кавычки по бокам (общее) */
blockquote[data-quote="1"]:before,
blockquote[data-quote="1"]:after {
  position: absolute;
  color: #BFE2FF;
  font-size: 70px;
  font-family: Times, sans-serif;
  line-height: 80px;
}

/* Блок «Цитата в рамке»: Левая кавычка */
blockquote[data-quote="1"]:before {
  content: '“';
  left: 12px;
  top: calc(50% - 22px);
  height: 44px;
  line-height: 70px;
}

/* Блок «Цитата в рамке»: Правая кавычка */
blockquote[data-quote="1"]:after {
  content: '”';
  right: 10px;
  top: calc(50% - 22px);
  height: 44px;
  line-height: 70px;
}

/* ============================================================
   БЛОК: ЦИТАТА С ТОЛСТОЙ ЛИНИЕЙ СЛЕВА (data-quote="3")
   ============================================================ */

/* Блок «Цитата с толстой линией слева»: Обёртка цитаты */
blockquote[data-quote="3"] {
  border-left: 6px solid #BFE2FF;
  margin: 20px auto;
  padding: 10px 24px;
  position: relative;
}

/* Блок «Цитата с толстой линией слева»: Кавычка */
blockquote[data-quote="3"]:after {
  content: "”";
  position: absolute;
  top: calc(50% - 15px);
  left: -15px;
  color: #337AB7;
  font-size: 50px;
  font-family: Times, sans-serif;
  font-weight: bold;
  line-height: 50px;
  background: #fff;
  height: 30px;
}

/* ============================================================
   БЛОК: ЦИТАТА ПО ЦЕНТРУ (data-quote="4")
   ============================================================ */

/* Блок «Цитата по центру»: Обёртка цитаты */
blockquote[data-quote="4"] {
  width: 80%;
  margin: 20px auto;
  text-align: center;
  font-style: italic;
  font-weight: bold;
  position: relative;
}

/* Блок «Цитата по центру»: Декоративная кавычка */
blockquote[data-quote="4"]:before {
  content: "\f122";
  font-family: "dashicons";
  font-size: 100px;
  display: inline-block;
  opacity: .02;
  vertical-align: top;
  float: left;
  font-style: normal;
  line-height: 40px;
  margin-right: 7px;
  position: absolute;
  left: 0;
  top: 25%;
}

/* Блок «Цитата по центру»: Подчёркивание синим снизу */
span[data-border_bottom="blue"] {
  text-decoration: none;
  border-bottom: 1px solid #2787d6;
}

/* Блок «Цитата по центру»: Убираем нижний отступ у последнего параграфа в цитате */
blockquote p:last-of-type {
  margin-bottom: 0;
}

/*   
style.css часть 3 
*/

/* ============================================================
   БЛОК: СПИСОК С ТИРЕ (data-list="3")
   ============================================================ */

/* Блок «Список с тире»: Общий контейнер списка */
ul[data-list="3"] {
  padding: 0;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Список с тире»: Элемент списка */
ul[data-list="3"] li {
  padding: 5px 5px 5px 25px;
  position: relative;
}

/* Блок «Список с тире»: Маркер «–» */
ul[data-list="3"] li:before {
  padding-right: 10px;
  font-weight: normal;
  font-size: 27px;
  line-height: 0;
  content: "–";
  color: #067cd6;
  position: absolute;
  left: 0;
  top: 18px;
}

/* ============================================================
   БЛОК: СПИСОК С ГАЛОЧКАМИ (data-list="4")
   ============================================================ */

/* Блок «Список с галочками»: Общий контейнер списка */
ul[data-list="4"] {
  padding: 0;
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Список с галочками»: Элемент списка */
ul[data-list="4"] li {
  padding: 5px 5px 5px 25px;
  position: relative;
}

/* Блок «Список с галочками»: Маркер «✓» */
ul[data-list="4"] li:before {
  padding-right: 10px;
  font-size: 16px;
  line-height: 0;
  content: "\2713";
  color: #067cd6;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 17px;
}

/* ============================================================
   БЛОК: НУМЕРОВАННЫЙ СПИСОК С КРУЖКАМИ (data-list="ol1")
   ============================================================ */

/* Блок «Нумерованный список с кружками»: Общий контейнер списка */
ol[data-list="ol1"] {
  padding: 0;
  list-style: none;
  counter-reset: li;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Блок «Нумерованный список с кружками»: Элемент списка */
ol[data-list="ol1"] li {
  position: relative;
  padding: 12px 20px 12px 28px;
  margin-left: 0;
  transition-duration: 0.3s;
}

/* Блок «Нумерованный список с кружками»: Номер в кружке */
ol[data-list="ol1"] li:before {
  border: 6px solid transparent;
  line-height: 30px;
  position: absolute;
  top: 3px;
  left: -30px;
  width: 42px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #ADCEE9;
  counter-increment: li;
  content: counter(li);
  transition-duration: 0.3s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Блок «Нумерованный список с кружками»: Номер при наведении */
ol[data-list="ol1"] li:hover:before {
  color: #337AB7;
}

/* Блок «Нумерованный список с кружками»: Круг вокруг номера */
ol[data-list="ol1"] li:after {
  position: absolute;
  top: 2px;
  left: -30px;
  width: 42px;
  height: 42px;
  border: 6px solid #DDDDDD;
  border-radius: 50%;
  content: '';
  opacity: 0.5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Блок «Нумерованный список с кружками»: Круг при наведении */
ol[data-list="ol1"] li:hover:after {
  opacity: 1;
  border: 6px solid #ADCEE9;
}

/* ============================================================
   БЛОК: ЦИТАТА С ЛИНИЯМИ СВЕРХУ И СНИЗУ (data-quote="2")
   ============================================================ */

/* Блок «Цитата с линиями сверху и снизу»: Обёртка цитаты */
blockquote[data-quote="2"] {
  position: relative;
  padding: 10px 10px;
  margin: 20px auto;
  border-top: 1px solid #067cd6;
  border-bottom: 1px solid #067cd6;
}

/* Блок «Цитата с линиями сверху и снизу»: Закрывающая кавычка.
   ВНИМАНИЕ: в исходнике селектор `blockquote[data-quote="2---"]::after` — похоже на опечатку.
   Возможно, декоративная кавычка была отключена намеренно. Не трогаем.
   Если нужно включить — заменить `2---` на `2`. */
blockquote[data-quote="2---"]::after {
  font-family: Times, sans-serif;
  font-weight: bold;
  position: absolute;
  content: "”";
  color: #BFE2FF;
  font-size: 80px;
  line-height: 0;
  bottom: -8px;
  right: 20px;
  text-shadow: 2px 0 0 #337AB7, -2px 0 0 #337AB7, 0 2px 0 #337AB7, 0 -2px 0 #337AB7, 1px 1px #337AB7, -1px -1px 0 #337AB7, 1px -1px 0 #337AB7, -1px 1px 0 #337AB7;
}

/* ============================================================
   БЛОК: ЦИТАТА В РАМКЕ (data-quote="1")
   ============================================================ */

/* Блок «Цитата в рамке»: Обёртка цитаты */
blockquote[data-quote="1"] {
  position: relative;
  padding: 10px 55px;
  margin: 20px auto;
  border: 1px solid #067cd6;
}

/* Блок «Цитата в рамке»: Кавычки по бокам (общее) */
blockquote[data-quote="1"]:before,
blockquote[data-quote="1"]:after {
  position: absolute;
  color: #BFE2FF;
  font-size: 70px;
  font-family: Times, sans-serif;
  line-height: 80px;
}

/* Блок «Цитата в рамке»: Левая кавычка */
blockquote[data-quote="1"]:before {
  content: '“';
  left: 12px;
  top: calc(50% - 22px);
  height: 44px;
  line-height: 70px;
}

/* Блок «Цитата в рамке»: Правая кавычка */
blockquote[data-quote="1"]:after {
  content: '”';
  right: 10px;
  top: calc(50% - 22px);
  height: 44px;
  line-height: 70px;
}

/* ============================================================
   БЛОК: ЦИТАТА С ТОЛСТОЙ ЛИНИЕЙ СЛЕВА (data-quote="3")
   ============================================================ */

/* Блок «Цитата с толстой линией слева»: Обёртка цитаты */
blockquote[data-quote="3"] {
  border-left: 6px solid #BFE2FF;
  margin: 20px auto;
  padding: 10px 24px;
  position: relative;
}

/* Блок «Цитата с толстой линией слева»: Кавычка */
blockquote[data-quote="3"]:after {
  content: "”";
  position: absolute;
  top: calc(50% - 15px);
  left: -15px;
  color: #337AB7;
  font-size: 50px;
  font-family: Times, sans-serif;
  font-weight: bold;
  line-height: 50px;
  background: #fff;
  height: 30px;
}

/* ============================================================
   БЛОК: ЦИТАТА ПО ЦЕНТРУ (data-quote="4")
   ============================================================ */

/* Блок «Цитата по центру»: Обёртка цитаты */
blockquote[data-quote="4"] {
  width: 80%;
  margin: 20px auto;
  text-align: center;
  font-style: italic;
  font-weight: bold;
  position: relative;
}

/* Блок «Цитата по центру»: Декоративная кавычка */
blockquote[data-quote="4"]:before {
  content: "\f122";
  font-family: "dashicons";
  font-size: 100px;
  display: inline-block;
  opacity: .02;
  vertical-align: top;
  float: left;
  font-style: normal;
  line-height: 40px;
  margin-right: 7px;
  position: absolute;
  left: 0;
  top: 25%;
}

/* «Цитата по центру» Подчёркивание синим снизу */
span[data-border_bottom="blue"] {
  text-decoration: none;
  border-bottom: 1px solid #2787d6;
}

/* «Цитата по центру» Убираем нижний отступ у последнего параграфа в цитате */
blockquote p:last-of-type {
  margin-bottom: 0;
}





/* ============================================================
   БЛОК: ШАПКА (HEADER)
   ============================================================ */

/* Блок «Шапка»: Скрытые элементы старой шапки */
#main-menu-icons-search,
.main-menu-btn-modal,
#main-menu-city,
#main-menu-form-search {
  display: none !important;
}

/* Блок «Шапка»: Контейнер шапки */
#main-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 30px;
}

/* Блок «Шапка»: Иконки соцсетей в шапке */
#main-menu-right img {
  height: 65px;
  transition: transform 0.2s ease;
}

/* Блок «Шапка»: Наведение на иконку */
#main-menu-right img:hover {
  transform: rotate(5deg);
}

/* Блок «Шапка»: Логотип */
#logo {
  height: 68px;
  display: flex;
  align-items: center;
  line-height: 0;
  aspect-ratio: 1000 / 200;
}

/* Блок «Шапка»: Ссылка внутри логотипа */
#logo a {
  display: flex;
  align-items: center;
}

/* Блок «Шапка»: Картинка логотипа */
#logo img {
  width: auto;
  height: auto;
  max-height: 100%;
  min-width: 100%;
  margin-left: -4px;
  margin-top: -1px;
}

/* Блок «Шапка»: Контейнер выбора города */
#main-menu-city {
  max-width: 175px;
  margin-left: 10px;
  min-width: 100px;
}

/* Блок «Шапка»: Кнопка «Ваш регион» */
#main-menu-city .modal-open-city {
  color: #0061b0;
  font-size: 17px;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Блок «Шапка»: Иконка рядом с городом */
#main-menu-city .fa {
  margin-right: 10px;
  font-size: 28px;
  color: #6caadd;
}

/* Блок «Шапка»: Контейнер соцкнопок справа */
#main-menu-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Блок «Шапка»: Иконка поиска в шапке */
#main-menu-icons-search {
  cursor: pointer;
  color: #2b5b8f;
  border: 2px solid #2b5b8f;
  margin-left: 10px;
}

/* Блок «Шапка»: Форма поиска в шапке */
#main-menu-form-search {
  display: none;
  min-width: 400px;
}

/* Блок «Шапка»: Скрываем иконки Font Awesome */
.fas {
  display: none;
}

/* Блок «Шапка»: Пункт меню «Консультации» */
.menu-cons {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Блок «Шапка»: Ссылка в пункте «Консультации» */
.menu-cons a {
  opacity: .7;
  font-size: 14px;
  font-weight: 400;
}

/* ============================================================
   БЛОК: ШАПКА (HEADER)
   ============================================================ */

/* Блок «Шапка»: Отступ снизу для всей шапки */
.header {
  margin-bottom: 11px;
}

/* Блок «Шапка»: Верхняя часть (отступы и шрифт) */
.header-top {
  padding: 41px 0 27px;
  font-family: 'Roboto Condensed', sans-serif;
}

/* Блок «Шапка»: Логотип (ширина) */
.logo {
  width: 197px;
}

/* Блок «Шапка»: Ссылка-обертка логотипа (блочная) */
.logo a {
  display: block;
}

/* Блок «Шапка»: Блок логотипа (отступ справа) */
.header__logo {
  margin-right: 29px;
}

/* Блок «Шапка»: Информационная часть (занимает оставшееся место) */
.header__info {
  width: calc(100% - 226px);
}

/* Блок «Шапка»: Блок социальных сетей (отступ сверху) */
.header__social {
  margin-top: 10px;
}

/* Блок «Шапка»: Кнопки соцсетей (высота и размер шрифта) */
.header__social__btn {
  height: 61px;
  font-size: 23px;
  line-height: 60px;
}

/* Блок «Шапка»: Кнопка Max (фон, цвет, отступ) */
.header__social__btn-max {
  padding-left: 66px;
  background: url(../img/zakazat-v-mah-mini.png) 0 0 no-repeat;
  color: #30bf39 !important;
  margin-right: 18px;
}

/* Блок «Шапка»: Кнопка Viber (фон, цвет, отступ) */
.header__social__btn-viber {
  padding-left: 68px;
  background: url(../img/viber.png) 0 0 no-repeat;
  color: #7b519d !important;
  margin-right: 22px;
}

/* Блок «Шапка»: Кнопка VK (фон, цвет, отступ) */
.header__social__btn-vk {
  padding-left: 70px;
  background: url(../img/vk.png) 0 0 no-repeat;
  color: #2b5b8f !important;
  margin-right: 23px;
}

/* Блок «Шапка»: Блок телефона (иконка, отступ) */
.header__phone {
  padding-left: 36px;
  margin: 20px auto 0 0;
  background: url(../img/phone-blue.png) 0 5px no-repeat;
}

/* Блок «Шапка»: Ссылка телефона (шрифт, цвет) */
.header__phone a {
  display: block;
  font-size: 23px;
  line-height: 1.6;
  color: #0061b0 !important;
}

/* Блок «Шапка»: Блок города (иконка, шрифт, цвет) */
.header__city {
  padding-left: 26px;
  background: url(../img/pin-blue.png) 0 0 no-repeat;
  margin-top: 25px;
  font-size: 23px;
  line-height: 1.15;
  color: #0061b0 !important;
}

/* Блок «Шапка»: Название города (подчеркивание, курсор) */
.header__city span {
  text-decoration: underline;
  cursor: pointer;
}

/* Блок «Шапка»: Контейнер мобильного поиска (по умолчанию скрыт) */
.search-box-mbl {
  display: none;
}

/* Блок «Шапка»: Скрытые элементы для мобилок и ссылок (по умолчанию) */
.header__link-mbl,
.mbl-menu-btn,
.get-price-link,
.full-version-link,
.header__mbl-contacts,
.jumbo-mbl,
.text-unfold-btn-wrap {
  display: none;
}

/* Блок «Шапка»: Контейнер мобильного меню (скрыт по умолчанию) */
.m-header__menu-container {
  position: relative;
  width: 100%;
  margin-top: -17px;
  display: none;
}

/* Блок «Шапка»: Само мобильное меню (скрыто, фиксированное) */
.m-header__menu {
  position: fixed;
  top: 55px;
  width: calc(100% - 28px);
  left: 14px;
  right: 14px;
  background: #fff;
  padding: 20px 20px 7px 20px;
  display: none;
  z-index: 4444;
  border: 1px solid #0061b0;
}

/* Блок «Шапка»: Кнопка «Узнать цену» в мобильном меню (по центру) */
.m-header__menu .jumbo-mbl__get-price-btn {
  margin: 0 auto;
}

/* Блок «Шапка»: Убираем границу у пункта после кнопки закрытия */
.m-header__menu .m-header__menu-closed + .m-header__menu-item {
  border: none;
}

/* Блок «Шапка»: Блок контактов внутри мобильного меню (отступ сверху) */
.m-header__menu .header__info {
  margin-top: 8px;
}

/* Блок «Шапка»: Пункт мобильного меню (границы, шрифт, отступы) */
.m-header__menu-item {
  border-top: 1px solid #ddd;
  font-size: 18px;
  text-align: center;
  padding: 8px;
  display: block;
}

/* Блок «Шапка»: Ссылка внутри пункта мобильного меню (цвет, шрифт) */
.m-header__menu-item a {
  color: #0061b0;
  font-size: 18px;
}

/* Блок «Шапка»: Нижняя часть шапки (градиент, скругление) */
.header-bottom {
  background-color: #0d0c07;
  background-image: linear-gradient(0.0deg, #b0b0b0 0%, #ffffff 81%, #efefef 100%);
  border-radius: 5px;
  overflow: hidden;
}

/* Блок «Шапка»: Обертка навигации (внутренние отступы) */
.header__nav {
  padding: 7px 27px 5px 8px;
}

/* Блок «Шапка»: Список меню (убираем маркеры) */
.top-menu {
  list-style: none;
}

/* Блок «Шапка»: Ссылка меню (размер, капс, цвет) */
.top-menu li a {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #0061b0 !important;
  padding: 8px 0 9px 0;
  padding-right: 0px;
  padding-left: 0px;
  white-space: nowrap;
}

/* Блок «Шапка»: Первая ссылка (отступы по бокам) */
.top-menu li:first-child a {
  padding-left: 24px;
  padding-right: 25px;
}

/* Блок «Шапка»: Ссылка «Прайс» (красная кнопка, тень) */
.top-menu li a.price-link {
  padding: 11px 61px 10px 58px;
  color: #fff !important;
  line-height: 1;
  border-radius: 4px;
  background: #e10408;
  box-shadow: 2px 1px 4px 0px rgba(0, 0, 2, 0.4);
}

/* Блок «Шапка»: Ссылка «Прайс» при наведении (усиление тени) */
.top-menu li a.price-link:hover {
  box-shadow: 0px 2px 4px 4px rgba(0, 0, 2, 0.4);
}

/* Блок «Шапка»: Третья ссылка (отступы) */
.top-menu li:nth-child(3) a {
  padding-left: 27px;
  padding-right: 16px;
}

/* Блок «Шапка»: Четвертая ссылка (отступы) */
.top-menu li:nth-child(4) a {
  padding-left: 14px;
  padding-right: 12px;
}

/* Блок «Шапка»: Пятая ссылка (отступы) */
.top-menu li:nth-child(5) a {
  padding-left: 23px;
  padding-right: 12px;
}

/* Блок «Шапка»: Обертка поиска (ширина, фон, рамка) */
.header__search {
  width: 380px;
  height: 49px;
  background-color: #92d0ff;
  background-image: linear-gradient(0.0deg, #b0b0b0 0%, #ffffff 81%, #efefef 100%);
  border: 1px solid #0061b0;
  border-radius: 5px;
  overflow: hidden;
  margin-left: auto;
}

/* Блок «Шапка»: Поле ввода поиска (размеры, отступы) */
.top-search-form__input {
  width: 329px;
  max-width: calc(100% - 51px);
  height: 47px;
  line-height: 47px;
  padding: 0 22px;
}

/* Блок «Шапка»: Плейсхолдер поиска (основной) */
.top-search-form__input::placeholder {
  font: 300 italic 12px/47px 'Roboto', sans-serif;
  color: #999;
}

/* Блок «Шапка»: Плейсхолдер поиска (Webkit) */
.top-search-form__input::-webkit-input-placeholder {
  font: 300 italic 12px/47px 'Roboto', sans-serif;
  color: #999;
}

/* Блок «Шапка»: Плейсхолдер поиска (IE/Edge) */
.top-search-form__input:-ms-input-placeholder {
  font: 300 italic 12px/47px 'Roboto', sans-serif;
  color: #999;
}

/* Блок «Шапка»: Плейсхолдер поиска (Firefox) */
.top-search-form__input::-moz-placeholder {
  font: 300 italic 12px/47px 'Roboto', sans-serif;
  color: #999;
}

/* Блок «Шапка»: Плейсхолдер поиска (старый Firefox) */
.top-search-form__input:-moz-placeholder {
  font: 300 italic 12px/47px 'Roboto', sans-serif;
  color: #999;
}

/* Блок «Шапка»: Кнопка поиска (размер, фон, иконка) */
.top-search-form__submit {
  display: block;
  width: 51px;
  background: url(../img/search.png) 19px 18px no-repeat, #0061b0;
}

/* Блок «Шапка»: Кнопка поиска при наведении (смена цвета) */
.top-search-form__submit:hover {
  background: url(../img/search.png) 19px 18px no-repeat, #92d0ff;
}

/* Блок «Шапка»: Плейсхолдер поиска (основной) */
.top-search-form__input::placeholder {
  font: 300 italic 10px/25px 'Roboto', sans-serif;
}

/* Блок «Шапка»: Плейсхолдер поиска (Webkit) */
.top-search-form__input::-webkit-input-placeholder {
  font: 300 italic 10px/25px 'Roboto', sans-serif;
}

/* Блок «Шапка»: Плейсхолдер поиска (IE/Edge) */
.top-search-form__input:-ms-input-placeholder {
  font: 300 italic 10px/25px 'Roboto', sans-serif;
}

/* Блок «Шапка»: Плейсхолдер поиска (Firefox) */
.top-search-form__input::-moz-placeholder {
  font: 300 italic 10px/25px 'Roboto', sans-serif;
}

/* Блок «Шапка»: Плейсхолдер поиска (старый Firefox) */
.top-search-form__input:-moz-placeholder {
  font: 300 italic 10px/25px 'Roboto', sans-serif;
}

/* Блок «Шапка»: Кнопка поиска (маленькая) */
.top-search-form__submit {
  width: 26px;
  height: 25px;
  background-size: 7px;
  background-position: 10px 9px;
}

/* Блок «Шапка»: Мобильное меню (отображение блока) */
.top-menu {
  display: block;
}

/* Блок «Шапка»: Ссылки меню (уменьшенный шрифт на мобилке) */
.top-menu li a {
  font-size: 12px;
  line-height: 24px;
  padding: 0 !important;
}

/* Блок «Шапка»: Скрываем 2 и 3 пункт меню на мобилке */
.top-menu li:nth-child(2),
.top-menu li:nth-child(3) {
  display: none;
}

/* Блок «Шапка»: Кнопка «Узнать цену» (абсолютное позиционирование) */
.get-price-link {
  display: block;
  position: absolute;
  width: 102px;
  height: 61px;
  right: 7px;
  bottom: 38px;
  background: url(../img/folded-bg.png) 0 0 no-repeat;
  text-align: center;
}

/* Блок «Шапка»: Ссылка внутри кнопки «Узнать цену» */
.top-menu li.get-price-link a {
  width: 32px;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  margin: 16px 0 0 40px;
}

/* Блок «Шапка»: Ссылка «Полная версия» (мобильная) */
.full-version-link {
  display: inline-block;
  margin-top: 6px;
}

/* Блок «Шапка»: Ссылка «Полная версия» в меню */
.top-menu li.full-version-link a {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  text-decoration: underline;
  color: #282828 !important;
}

/* Блок «Шапка»: Адаптация до 560px (отступ снизу и скрытие TG) */
@media screen and (max-width: 560px) {
  .header {
    margin-bottom: 15px;
  }
  #main-menu-right .main-menu-btn-tg {
    display: none;
  }
}

/* Блок «Шапка»: Адаптация от 1200px (показываем нижнюю часть) */
@media screen and (min-width: 1200px) {
  .header-bottom {
    display: block !important;
  }
}

/* Блок «Шапка»: Адаптация до 1199px (скрываем текст соцкнопок) */
@media screen and (max-width: 1199px) {
  .full-version-link {
    display: inline-block;
    margin-top: 6px;
  }
  .header__social__btn span {
    display: none;
  }
}

/* Блок «Шапка»: Адаптация до 1024px (уменьшение элементов) */
@media screen and (max-width: 1024px) {
  .header__logo {
    width: 157px;
    margin-right: 19px;
  }
  .header__info {
    width: calc(100% - 176px);
  }
  .header__social {
    margin-top: 12px;
  }
  .header__phone a {
    line-height: 1.2;
  }
  .header__social__btn {
    width: 44px !important;
    height: 44px !important;
    background-size: 100% !important;
    padding: 0;
  }
  .header__social__btn-whatsapp {
    margin-right: 9px;
  }
  .header__social__btn-viber {
    margin-right: 8px;
  }
  .header__social__btn-vk {
    margin-right: 17px;
  }
  .header__phone a,
  .header__city {
    font-size: 24px;
  }
  .header__phone {
    margin-top: 19px;
    padding-left: 32px;
    background-size: 23px;
    background-position: 0 2px;
  }
  .header__city {
    margin-top: 20px;
    padding-left: 26px;
    background-size: 17px;
  }
  .header__nav {
    padding: 0;
  }
  .top-menu li a {
    font-size: 12.8px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .top-menu li:first-child a {
    padding-left: 25px;
    padding-right: 19px;
  }
  .top-menu li a.price-link {
    padding: 0 46px 0 47px;
    font-size: 11.2px;
    line-height: 40px;
  }
  .top-menu li:nth-child(3) a {
    padding-left: 23px;
    padding-right: 15px;
  }
  .top-menu li:nth-child(4) a {
    padding-left: 10px;
    padding-right: 15px;
  }
  .top-menu li:nth-child(5) a {
    padding-left: 13px;
    padding-right: 42px;
  }
  .header__search,
  .top-search-form__input {
    height: 40px;
  }
  .top-search-form__input {
    line-height: 40px;
    max-width: calc(100% - 40px);
  }
  .top-search-form__submit {
    width: 40px;
    background-position: 50% 50%;
  }
}

/* Блок «Шапка»: Адаптация до 900px (мобильный поиск) */
@media screen and (max-width: 900px) {
  .header__search {
    display: none;
  }
  .header-bottom {
    position: relative;
  }
  .search-box-mbl {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 900;
  }
  .search-box-mbl input[type=search] {
    width: 41px;
    height: 40px;
    padding-left: 10px;
    color: transparent;
    background: url(../img/search-m.png) 16px 50% no-repeat, #0061b0;
    background-size: 10px, 100%;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font: 400 italic 10px/40px 'Roboto', sans-serif;
  }
  .search-box-mbl input[type=search]:focus {
    width: 180px;
    padding-left: 41px;
    padding-right: 10px;
    color: #fff;
    cursor: auto;
  }
  .search-box-mbl input[type="search"]::-webkit-search-decoration,
  .search-box-mbl input[type="search"]::-webkit-search-cancel-button,
  .search-box-mbl input[type="search"]::-webkit-search-results-button,
  .search-box-mbl input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
  }
  .search-box-mbl input::placeholder {
    color: transparent;
  }
  .search-box-mbl input::-webkit-input-placeholder {
    color: transparent;
  }
  .search-box-mbl input:-ms-input-placeholder {
    color: transparent;
  }
  .search-box-mbl input::-moz-placeholder {
    color: transparent;
  }
  .search-box-mbl input:-moz-placeholder {
    color: transparent;
  }
}

/* Блок «Шапка»: Адаптация до 768px (телефон и город) */
@media screen and (max-width: 768px) {
  .header__city span {
    font-size: 20px;
  }
  .header__phone a, .header__city {
    font-size: 20px;
    line-height: 26px;
  }
  .header-top {
    padding: 20px 0 21px;
  }
}

/* Блок «Шапка»: Адаптация до 719px (перестройка мобильной шапки) */
@media screen and (max-width: 719px) {
  .m-header__menu-container {
    display: block;
  }
  .m-header__menu-closed {
    font-size: 30px;
    margin-top: -62px;
    height: 30px;
    cursor: pointer;
    float: right;
    margin-right: -15px;
    color: #0061b0;
  }
  .header__city,
  .header-bottom,
  .header__social__btn span,
  .search-box-mbl,
  .header__phone span {
    display: none;
  }
  .header {
    margin-bottom: 15px;
  }
  .header-top {
    padding: 13px 0 0;
    position: relative;
  }
  .header-top-row {
    -khtml-box-lines: multiple;
    -webkit-box-lines: multiple;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .header__info {
    width: 100%;
    background-color: #ececec;
    box-shadow: 1px 2px 4px 0px rgba(0,0,2,0.4);
    padding: 6px 16px 6px 17px;
    border-radius: 5px;
    margin-bottom: 15px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
  .header__logo {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    background-color: #ececec;
    margin: 0 0 15px;
    padding: 14px 0 13px 10px;
  }
  .header__logo a {
    width: 105px;
  }
  .mbl-menu-btn {
    top: 28px;
  }
  .header-bottom {
    top: 69px;
  }
  .header__social,
  .header__phone {
    margin: 0;
  }
  .header__phone {
    padding-left: 0;
    background-image: none;
  }
  .header__social__btn,
  .header__phone a {
    width: 48px;
    height: 48px;
  }
  .header__social__btn {
    margin-right: 27px;
    padding: 0 !important;
  }
  .header__social__btn-whatsapp {
    background: url(../img/whatsapp-mbl.png) 0 0 no-repeat;
    -webkit-order: 1;
    order: 1;
  }
  .header__social__btn-viber {
    background: url(../img/viber-mbl.png) 0 0 no-repeat;
    -webkit-order: 3;
    order: 3;
    margin-right: 26px;
  }
  .header__social__btn-vk {
    background: url(../img/vk-mbl.png) 0 0 no-repeat;
    -webkit-order: 2;
    order: 2;
  }
  .header__phone a {
    background: url(../img/phone-mbl.png) 0 0 no-repeat;
    -webkit-order: 4;
    order: 4;
  }
  .header__link-mbl {
    display: block;
    width: 100%;
    height: 38px;
    line-height: 38px;
    background: #fff;
    border: 2px solid #0066b8;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #0066b8;
    text-align: center;
  }
  .logo.header__logo {
    position: fixed;
    top: 0;
    width: calc(100% - 28px);
    left: 14px;
    right: 14px;
    z-index: 100;
  }
  .m-header__menu-container {
    margin-top: 70px;
  }
  .mbl-menu-btn {
    display: block;
    width: 120px;
    height: 41px;
    background-color: #ececec;
    border: 1px solid #0061b0;
    box-shadow: 1px 2px 4px 0px rgba(0,0,2,0.4);
    padding-left: 12px;
    border-radius: 5px;
    position: fixed;
    z-index: 300;
    right: 30px;
    top: 13px;
  }
  .mbl-menu-btn__text {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0061b0;
    line-height: 41px;
    padding-right: 36px;
    background: url(../img/hm-btn.png) 100% 12px no-repeat;
    margin-right: 4px;
    vertical-align: middle;
  }
  .hm-btn {
    display: inline-block;
    width: 6px;
    height: 4px;
    background: url(../img/hm-btn-arr.png) 0 0 no-repeat;
    cursor: pointer;
    line-height: 41px;
    vertical-align: middle;
  }
  .header-bottom-mbl {
    display: block;
    position: absolute;
    top: 90px;
    right: 14px;
    width: 260px;
    height: 195px;
    background-color: transparent;
    background-image: linear-gradient(0.0deg, #b0b0b0 0%, #ffffff 80%, #efefef 100%);
    padding: 21px 8px 17px 24px;
    z-index: 9000;
  }
  .header-bottom-row {
    -khtml-box-lines: multiple;
    -webkit-box-lines: multiple;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .header-bottom-row > div {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
  }
  .header__nav {
    padding: 0;
    -webkit-order: 3;
    order: 3;
  }
  .header__mbl-contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-order: 2;
    order: 2;
    margin-bottom: 12px;
  }
  .header__mbl-phone a,
  .header__mbl-city span {
    font-size: 14px;
    color: #0061b0 !important;
  }
  .header__mbl-phone {
    font-size: 14px;
    padding-left: 15px;
    background: url(../img/phone-blue.png) 0 2px no-repeat;
    background-size: 12px;
    margin-right: 13px;
  }
  .header__mbl-city {
    padding-left: 13px;
    background: url(../img/pin-blue.png) 0 0 no-repeat;
    background-size: 9px;
  }
  .header__mbl-city span {
    text-decoration: underline;
  }
  .header__search {
    display: block;
    -webkit-order: 1;
    order: 1;
    width: 226px;
    height: 25px;
    margin: 0 0 13px;
  }
  .top-search-form__input {
    width: 201px;
    max-width: unset;
    height: 25px;
    padding-left: 14px;
    line-height: 25px;
    font-size: 10px;
  }
}

/* ============================================================
   БЛОК: ПОИСК В МЕГА-МЕНЮ
   ============================================================ */

/* Блок «Поиск в мега-меню»: Форма поиска */
#m-main-menu-form-search {
  display: flex !important;
  width: 100% !important;
  border: 2px solid #f1b2f2;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
}

/* Блок «Поиск в мега-меню»: Кнопка «найти» */
#m-main-menu-form-search .main-menu-form-submit {
  width: 50px;
  height: 50px;
  background: url(img/11h.png) no-repeat;
  background-position: 50%;
  background-size: 42px;
  border: none;
}

/* Блок «Поиск в мега-меню»: Наведение на кнопку «найти» */
#m-main-menu-form-search .main-menu-form-submit:hover {
  opacity: .7;
}

/* Блок «Поиск в мега-меню»: Поле ввода */
#m-main-menu-form-search .main-menu-form-input {
  width: calc(100% - 50px);
  height: 50px;
  min-width: auto;
  background: none;
  border: none;
  padding: 13px;
  font-size: 16px;
}

/* ============================================================
   БЛОК: МОБИЛЬНОЕ ЛОГО
   ============================================================ */

/* Блок «Мобильное лого»: Контейнер мобильного лого */
#m-logo {
  height: 40px;
  overflow: hidden;
}

/* Блок «Мобильное лого»: Картинка мобильного лого */
#m-logo img {
  height: 45px;
}

/* ============================================================
   БЛОК «ХЕДЕР» (.block-header-*)
   ============================================================ */

/* Обёртка хедера */
.block-header-inner {
  min-height: 400px;
  display: flex;
  position: relative;
}

/* Контентная часть хедера */
.block-header-content {
  /*! flex: 1; */
  display: flex;
  flex-direction: column;
  z-index: 1;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 0;
  width: 50%;
  min-width: 50%;
}

/* Текст хедера */
.block-header-text {
  font-size: 23px;
  /*! flex: 1; */
  width: 100%;
  color: #CDE0F6;
  text-align: left;
}

/* Акцент в тексте хедера */
.block-header-text-desc span {
  color: #8f50f5;
}

/* Верхняя часть хедера */
.block-header-top {
  display: block;
  /* //flex: 1; (артефакт из исходника) */
}

/* Кнопки-соцсети в хедере */
.block-header-bts-social {
  display: flex;
  gap: 40px;
  justify-content: center;
  width: 100%
}

/* Обёртка соцкнопки */
.block-header-bts-social div {
  width: auto
}

/* Ссылка-соцкнопка — круглая */
.block-header-bts-social>div a {
  border-radius: 50% !important;
  border: none;
  height: 60px;
  width: 60px;
  min-width: 60px;
}

/* Главный заголовок хедера */
.block-header-title {
  font-weight: 900;
  color: #000;
  display: inline;
}

/* Блок с фоном внутри заголовка */
.block-header-title div {
  padding: 0px 4px;
  display: inline;
  margin: -3px;
  color: #59f61d;
  background: #a015fe;
}

/* Акцент в заголовке */
.block-header-title span {
  color: #8f50f5;
}

/* Подзаголовок хедера */
.block-header-sub-title {
  background: #C5FCB0;
  color: #a015fe;
  padding: 4px 10px;
  display: table;
  margin: 10px 0px 0 40px;
  line-height: 1.1;
}

/* Блок кнопок хедера */
.block-header-bts {
  display: flex;
  gap: 20px;
  flex: 1;
  width: 100%;
  align-items: start;
  margin-top: 30px;
}

/* Фон хедера (картинка) */
.block-header-bg {
  background-size: contain !important;
  background-position-x: 50% !important;
  background-position-y: 50% !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  min-width: 0;
  margin-left: -60px;
  width: calc(50% + 60px);
}

/* Декор-шестерёнка */
.block-header-gear {
  position: absolute;
  left: -15px;
  bottom: -5px;
  width: 11%;
}

/* Декор-помощь */
.block-header-help {
  position: absolute;
  left: -45px;
  top: -10px;
  width: 20%;
}

/* Кнопка хедера */
.block-header-btn {
  font-size: 19px;
  transition: all 0.1s ease;
  padding: 20px 60px;
  border-radius: 99px;
  text-align: center;
}

/* Вторая кнопка (зелёная) */
.block-header-btn-show2 {
  background: #C5FCB0;
  color: #a015fe !important;
  align-items: start;
}

/* Основная кнопка (обводка) */
.block-header-btn.block-header-btn-show {
  border: 2px solid #000;
  background: #fff9fc;
  color: #000;
}

/* Наведение на кнопку */
.block-header-btn:hover {
  transform: translateY(-3px);
  cursor: pointer
}

/* Картинка шестерёнки */
.block-header-gear img {
  width: 100%;
  height: auto
}

/* Картинка помощи */
.block-header-help img {
  height: auto;
  width: 100%;
}

/* Мобильный фон хедера (по умолчанию скрыт) */
.m-block-header-bg {
  display: none
}

/* --- Адаптация: до 1200px --- */
@media screen and (max-width: 1200px) {

  /* Фон хедера — без сдвига */
  .block-header-bg {
    margin-left: -10px;
    width: calc(50% + 10px);
  }

  /* Кнопка — меньше */
  .block-header-btn {
    font-size: 16px;
    padding: 15px 5px;
    height: auto;
  }
}

/* --- Адаптация: до 790px --- */
@media screen and (max-width: 790px) {

  /* Кнопка — меньше */
  .block-header-btn {
    font-size: 16px;
    padding: 15px 20px;
    height: auto;
  }

  /* Шестерёнка — больше */
  .block-header-gear {
    width: 21%;
  }

  /* Картинка шестерёнки */
  .block-header-gear img {
    width: 100%;
    height: auto;
  }

  /* Заголовок — на всю ширину, с тенью */
  .block-header-title {
    transform: none;
    width: 100%;
    box-shadow: 1px -1px 11px 5px #C1EFFE;
    border-radius: 5px;
    margin-top: 0;
    overflow: hidden
  }

  /* Блок с фоном — по центру */
  .block-header-title div {
    text-align: center;
    width: 1;
    margin: 0 auto;
  }

  /* Блок с фоном — на всю ширину */
  .block-header-title div {
    width: 100%;
  }

  /* Контент — по центру */
  .block-header-content {
    gap: 20px;
    width: 100%;
    text-align: center;
  }

  /* Верхняя часть — по центру */
  .block-header-top {
    margin: 0 auto;
    text-align: center;
    margin-top: -30px;
    width: 100%;
  }

  /* Текст — с отступами (в исходнике артефакт с текстом документации, padding-left: 40px задан дважды) */
  .block-header-text-desc {
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 40px;
    padding-left: 40px;
  }

  /* Хедер — колонкой */
  .block-header-inner {
    flex-direction: column
  }

  /* Скрываем десктопный фон */
  .block-header-bg {
    display: none;
  }

  /* Текст хедера — флекс */
  .block-header-text {
    display: flex;
    gap: 5px;
    font-size: 20px;
  }

  /* Текст хедера — меньше */
  .block-header-text {
    font-size: 16px;
  }

  /* Кнопки — столбиком */
  .block-header-bts {
    flex-direction: column;
    flex: 0;
    gap: 10px;
    align-items: normal;
    padding-top: 5px;
    margin-top: 0;
  }

  /* Кнопка — с отступами */
  .block-header-btn {
    margin-left: 20px;
    margin-right: 20px;
  }

  /* Показываем мобильный фон */
  .m-block-header-bg {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    width: 80%;
    height: auto;
    /*! margin-bottom: 20px; */
  }
}

/* --- Адаптация: до 560px --- */
@media screen and (max-width: 560px) {

  /* Текст — с отступами */
  .block-header-text-desc {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  /* Контент — меньше отступ */
  .block-header-content {
    gap: 10px;
  }

  /* Шестерёнка — слева, ниже */
  .block-header-gear {
    left: 0px;
    bottom: 30px;
    width: 29%;
  }

  /* Помощь — слева, выше */
  .block-header-help {
    left: 0;
    top: -20px;
    width: 45%;
  }

  /* Соцкнопки — меньше отступ */
  .block-header-bts-social {
    gap: 10px;
  }
}

/* ============================================================
   БЛОК: КНОПКА МОБИЛЬНОГО МЕНЮ
   ============================================================ */

/* Блок «Кнопка мобильного меню»: Бургер-кнопка */
.m-menu-icon {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  background: #78ABE5;
  width: 65px;
  border-radius: 50%;
  align-items: center;
  height: 65px;
  min-width: 65px;
  gap: 6px;
}

/* Блок «Кнопка мобильного меню»: Полоски бургера */
.t_1,
.t_2,
.t_3 {
  width: 28px;
  height: 3px;
  background-color: #a015fe;
  transition: 0.4s;
  border-radius: 4px;
  box-shadow: 1px 1px 0px 1px #fff;
}

/* Блок «Кнопка мобильного меню»: Открытое меню — верхняя полоска */
.m-menu-closed .t_1 {
  transform: rotate(-45deg) translate(-7px, 7px);
  width: 30px;
}

/* Блок «Кнопка мобильного меню»: Открытое меню — средняя полоска */
.m-menu-closed .t_2 {
  opacity: 0;
}

/* Блок «Кнопка мобильного меню»: Открытое меню — нижняя полоска */
.m-menu-closed .t_3 {
  transform: rotate(45deg) translate(-6px, -7px);
  width: 30px;
}

/* Блок «Кнопка мобильного меню»: Контейнер шапки (флекс) */
#header-inner {
  justify-content: space-between;
}

/* Блок «Кнопка мобильного меню»: Пользовательский блок */
#user {
  margin-left: 0px;
}

/* ============================================================
   БЛОК: МЕГА-МЕНЮ
   ============================================================ */

/* Блок «Мега-меню»: Контейнер мега-меню */
.menu-wrapper {
  display: none;
  position: absolute;
  top: 108px;
  left: 0;
  right: 0;
  z-index: 11;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: 0px 5px 5px 0px rgba(34, 60, 80, 0.2);
}

/* Блок «Мега-меню»: Скрытый контейнер контактов */
.main-menu-icons-contact {
  display: none;
}

/* Блок «Мега-меню»: Сетка плиток */
.menu-wrapper-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
}

/* Блок «Мега-меню»: Плитка мега-меню */
.menu-wrapper-block {
  max-height: 190px;
  width: calc(100% / 3 - 20px);
  border-radius: 15px;
  background-position-x: right !important;
  background-size: 160px !important;
  position: relative;
  aspect-ratio: 1 / 1;
}

/* Блок «Мега-меню»: Наведение на плитку */
.menu-wrapper-block:hover {
  opacity: .8;
}

/* Блок «Мега-меню»: Подпись под плиткой */
.menu-wrapper-block span {
  position: absolute;
  background: #a015fe;
  padding: 5px 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 0px 5px 4px #a015fe;
  min-width: 140px;
  text-align: center;
}

/* ============================================================
   БЛОК: МЕГА-МЕНЮ (6-я плитка с эмодзи)
   ============================================================ */

/* Находим 6-ю плитку в меню и добавляем эмодзи */
.menu-wrapper-block:nth-child(6)::before {
  content: "✍️"; /* Можешь поменять на 🚀, ⚡, 🎯, 📝, 🛒 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Центрируем */
  font-size: 100px; /* Размер эмодзи (регулируй по вкусу) */
  line-height: 1;
  z-index: 2;
  pointer-events: none; /* Чтобы клик проходил сквозь эмодзи в ссылку */
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.2)); /* Объемная тень */
  transition: transform 0.3s ease; /* Плавная анимация */
}

/* Эффект при наведении: эмодзи становится чуть больше */
.menu-wrapper-block:nth-child(6):hover::before {
  transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}
/* ============================================================
   БЛОК: МОБИЛЬНОЕ МЕНЮ
   ============================================================ */

/* Блок «Мобильное меню»: Контейнер мобильного меню */
#menu {
  margin: 30px 0;
  padding: 0 5px;
  overflow-y: auto;
}

/* Блок «Мобильное меню»: Кнопка «Открыть форму» в меню */
#menu .modal-open-form a {
  padding: 12px;
  text-align: center;
  display: block;
  justify-content: center;
  color: #fff;
  border-radius: 5px;
  background: #e10408;
  text-align: center;
  font-size: 16px;
}

/* Блок «Мобильное меню»: Пункт мобильного меню */
#menu>li {
  padding: 12px 0px;
  font-size: 16px;
  display: block;
  border-bottom: 1px dashed #ddd;
  list-style: none;
}

/* Блок «Мобильное меню»: Последний пункт — без разделителя */
#menu>li:last-of-type {
  border-bottom: none;
}

/* Блок «Мобильное меню»: Ссылка в пункте */
#menu>li>a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

/* Блок «Мобильное меню»: Все ссылки в меню */
#menu a {
  color: #fff;
}

/* Блок «Мобильное меню»: Стрелка «вниз» у пункта с подменю */
#menu>li>a .fa-angle-down {
  font-weight: 600;
  transition: .3s;
  font-size: 22px;
}

/* Блок «Мобильное меню»: Поворот стрелки при открытии */
.m-menu-active .fa {
  transform: rotate(-180deg);
}

/* Блок «Мобильное меню»: Подменю */
.sub-menu {
  width: 100%;
  padding-top: 4px;
  display: none;
}

/* Блок «Мобильное меню»: Пункт подменю */
.sub-menu li {
  margin: 5px 0;
  padding: 4px 0px;
  list-style: none;
}

/* Блок «Мобильное меню»: Вложенный список подменю */
.sub-menu ul {
  width: 100%;
  padding: 0 20px;
}

/* Блок «Мобильное меню»: Убираем псевдоэлементы в подменю */
.sub-menu ul:after {
  display: none;
}

.sub-menu ul:before {
  display: none;
}

/* Блок «Мобильное меню»: Скрытый блок контактов в меню */
#menu #main-menu-icons-contact {
  display: none;
}

/* ============================================================
   БЛОК: ВЫБОР ГОРОДА В МОБИЛЬНОМ МЕНЮ
   ============================================================ */

/* Блок «Выбор города в мобильном меню»: Кнопка выбора города */
.main-menu-city .modal-open-city {
  background: url(img/13h.png) no-repeat 0px 10px;
  font-size: 16px;
  background-size: 55px;
  padding-left: 65px;
  margin-top: 20px;
  padding-top: 30px;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

/* Блок «Выбор города в мобильном меню»: Наведение на кнопку */
.main-menu-city .modal-open-city:hover {
  cursor: pointer;
  opacity: .8;
}

/* Блок «Выбор города в мобильном меню»: Кнопка поиска в мобильном меню */
.m-serch {
  border: none !important;
}

/* ============================================================
   БЛОК: СПИСОК С КРАСНЫМИ МАРКЕРАМИ
   ============================================================ */

/* Блок «Список с красными маркерами»: Общий контейнер списка */
ul.list-red-mark {
  list-style: none;
  padding-left: 0;
}

/* Блок «Список с красными маркерами»: Элемент списка */
ul.list-red-mark li {
  display: flex;
  align-items: flex-start;
}

/* Блок «Список с красными маркерами»: Маркер-точка */
ul.list-red-mark li::before {
  content: "•";
  color: #0061b0;
  margin-right: 10px;
  flex-shrink: 0;
}

/* ============================================================
   БЛОК: СТРАНИЦА ПРАЙСА (page-id-323)
   ============================================================ */

/* Плитка */
.page-id-323 .ptl-tile {
  background: linear-gradient(150deg, #a015fe 0%, #3a005c 70%, #0a0012 100%); 
  border-radius: 12px;
  border: 1px solid rgba(160, 21, 254, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative; 
  overflow: hidden; 
  padding: 25px; 
  min-height: 200px; 
  display: flex; 
  flex-direction: column;
}

.page-id-323 .ptl-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(160, 21, 254, 0.3);
  border-color: #a015fe;
}

/* Заголовок плитки */
.page-id-323 .ptl-tile__title,
.page-id-323 .ptl-tile:hover .ptl-tile__title,
.page-id-323 .ptl-tile a:hover .ptl-tile__title {
  color: #ffffff; 
  -webkit-text-fill-color: #ffffff;
  opacity: 1; 
  filter: none; 
  transition: none; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 800;
  font-size: 1.3rem; 
  text-transform: uppercase; 
  margin-bottom: 15px;
}

/* Описание плитки */
.page-id-323 .ptl-tile__description, 
.page-id-323 .ptl-tile__description p,
.page-id-323 .ptl-tile:hover .ptl-tile__description {
  color: #d1c4e9; 
  opacity: 1;
  filter: none;
  transition: none;
  font-size: 1rem; 
  line-height: 1.5;
  margin-bottom: 20px; 
  flex-grow: 1; 
}

.page-id-323 .ptl-tile a { 
  text-decoration: none; 
  outline: none; 
}

/* Кнопка плитки */
.page-id-323 .ptl-btn,
.page-id-323 .ptl-btn:hover,
.page-id-323 .ptl-btn:focus,
.page-id-323 .ptl-btn:active {
  background: #a015fe; 
  color: #ffffff; 
  -webkit-text-fill-color: #ffffff;
  padding: 10px 24px; 
  border-radius: 50px;
  text-transform: uppercase; 
  font-weight: 800; 
  font-size: 0.9rem;
  text-align: center; 
  text-decoration: none; 
  border: none;
  outline: none; 
  box-shadow: 0 4px 15px rgba(160, 21, 254, 0.4);
  transition: all 0.4s ease;
  width: 100%; 
  margin-top: auto;
}

.page-id-323 .ptl-btn:hover {
  background: #ffffff !important; 
  color: #a015fe !important;
  -webkit-text-fill-color: #a015fe !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6) !important; 
  transform: scale(1.02);
}

/* Адаптив прайса */
@media screen and (max-width: 768px) {
  .page-id-323 .ptl-tile { padding: 15px !important; min-height: 150px !important; }
  .page-id-323 .ptl-tile__title { font-size: clamp(0.9rem, 3.5vw, 1.05rem) !important; line-height: 1.3 !important; margin-bottom: 10px !important; }
  .page-id-323 .ptl-tile__description { font-size: clamp(0.8rem, 3vw, 0.9rem) !important; margin-bottom: 15px !important; line-height: 1.4 !important; }
  .page-id-323 .ptl-btn { font-size: clamp(0.75rem, 2.5vw, 0.85rem) !important; padding: 10px 15px !important; }
}

/* ============================================================
   БЛОК: МОДАЛЬНОЕ ОКНО (#newLeadModal)
   ============================================================ */

/* Оверлей (темный фон) */
.custom-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 18, 0.75); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-modal-overlay.active { 
  opacity: 1; 
  visibility: visible; 
}

/* Само окно */
.custom-modal-box {
  background: linear-gradient(135deg, #a015fe 0%, #6a00b8 100%);
  border-radius: 30px; 
  width: 95%;
  max-width: 1200px; 
  min-height: 520px; 
  padding: 80px 60px; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transform: translateY(30px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden; 
}

.custom-modal-overlay.active .custom-modal-box { 
  transform: translateY(0) scale(1); 
}

/* Лучи на фоне */
.custom-modal-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.08) 0deg 15deg, transparent 15deg 30deg);
  z-index: 0; 
  pointer-events: none; 
  animation: rotate-rays 60s linear infinite; 
}

@keyframes rotate-rays {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Кнопка закрытия */
.custom-modal-close {
  position: absolute; 
  top: 25px; 
  right: 30px;
  background: transparent; 
  border: none;
  color: #fff; 
  font-size: 45px; 
  line-height: 1;
  cursor: pointer; 
  opacity: 0.7; 
  transition: opacity 0.2s; 
  z-index: 3; 
}

.custom-modal-close:hover { opacity: 1; }

/* Звезды */
.modal-stars { 
  position: relative; 
  z-index: 2; 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  margin-bottom: 30px; 
}

.modal-stars span {
  font-size: 55px; 
  line-height: 1; 
  display: inline-block;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4)) drop-shadow(0 10px 15px rgba(0,0,0,0.2)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); 
  animation: star-pulse 2s ease-in-out infinite alternate;
}

.modal-stars span:nth-child(1) { animation-delay: 0.0s; }
.modal-stars span:nth-child(2) { animation-delay: 0.1s; }
.modal-stars span:nth-child(3) { animation-delay: 0.2s; }
.modal-stars span:nth-child(4) { animation-delay: 0.3s; }
.modal-stars span:nth-child(5) { animation-delay: 0.4s; }

@keyframes star-pulse {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.1); }
}

/* Заголовок и текст */
.custom-modal-title {
  position: relative; 
  z-index: 2;
  color: #ffffff !important; 
  -webkit-text-fill-color: #ffffff !important;
  font-size: 48px; 
  font-weight: 800; 
  margin-bottom: 20px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  background: none !important; 
  display: block !important; 
  width: 100% !important; 
  padding-bottom: 0 !important; 
  margin: 0 auto 20px auto !important; 
  text-align: center !important;
}

.custom-modal-text {
  position: relative; 
  z-index: 2;
  color: #ffffff !important; 
  font-size: 24px; 
  line-height: 1.5; 
  margin-bottom: 60px; 
  opacity: 0.9;
}

/* Кнопки мессенджеров */
.custom-modal-buttons {
  position: relative; 
  z-index: 2; 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
  width: 100%;
}

.modal-btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px;
  padding: 20px 25px; 
  border-radius: 50px;
  color: #fff !important; 
  -webkit-text-fill-color: #fff !important; 
  text-decoration: none !important;
  font-weight: 600; 
  font-size: 20px; 
  transition: transform 0.2s, box-shadow 0.2s; 
  width: 100%; 
  border: none;
}

.modal-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
}

.modal-btn i { font-size: 24px; }
.modal-btn.max { background: #5c30a8; }
.modal-btn.vk { background: #4a76a8; }
.modal-btn.tg { background: #29a9eb; }
.modal-btn.em { background: #2b2d42; }

/* Адаптив модалки */
@media (max-width: 991px) {
  .custom-modal-box { padding: 40px 30px; max-width: 90%; min-height: auto; }
  .custom-modal-title { font-size: 32px; }
  .custom-modal-text { font-size: 18px; margin-bottom: 30px; }
  .custom-modal-buttons { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .modal-stars span { font-size: 40px; }
  .modal-btn { padding: 15px 20px; font-size: 16px; }
}

@media (max-width: 575px) {
  .custom-modal-box { padding: 30px 20px; border-radius: 20px; }
  .custom-modal-title { font-size: 24px; }
  .custom-modal-text { font-size: 16px; margin-bottom: 25px; }
  .custom-modal-buttons { grid-template-columns: 1fr; gap: 10px; }
  .modal-stars span { font-size: 32px; }
  .modal-btn { padding: 12px 15px; font-size: 15px; }
}
