/**
 * Hero Mascot System - Система анимированных маскотов для hero-блоков
 * Использование:
 * <div class="hero-mascot hero-mascot-right">
 *     <img src="path/to/mascot.svg" alt="Маскот">
 * </div>
 *
 * Классы позиционирования:
 * - hero-mascot-left - слева от контента
 * - hero-mascot-right - справа от контента
 * - hero-mascot-center - по центру снизу
 * - hero-mascot-bottom-left - в левом нижнем углу
 * - hero-mascot-bottom-right - в правом нижнем углу
 *
 * Классы анимаций:
 * - mascot-float - плавное парение вверх-вниз
 * - mascot-bounce - прыгающая анимация
 * - mascot-wave - покачивание
 * - mascot-pulse - пульсация
 * - mascot-swing - раскачивание маятником
 *
 * Классы размеров:
 * - mascot-sm - маленький (60-80px)
 * - mascot-md - средний (100-120px) [по умолчанию]
 * - mascot-lg - большой (140-180px)
 * - mascot-xl - очень большой (200-250px)
 */

/* ========================================
   БАЗОВЫЕ СТИЛИ HERO МАСКОТА
   ======================================== */

/* Добавляем overflow-x: hidden для предотвращения горизонтального скролла */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
}

.hero-animated,
.page-header,
.hero-section {
  overflow-x: clip;
  max-width: 100%;
}
/* Конец CHANGE */

.hero-mascot {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.hero-mascot img,
.hero-mascot svg {
  width: 100%;
  height: auto;
  max-width: 120px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* ========================================
   ПОЗИЦИОНИРОВАНИЕ - DESKTOP
   ======================================== */

/* Позиционирование от центра страницы (привязка к контенту) */
.hero-mascot-content-left {
  left: 50%;
  top: 50%;
  margin-left: -450px; /* Половина ширины контейнера (900px) + отступ */
  transform: translateY(-50%);
}

.hero-mascot-content-right {
  right: 50%;
  top: 50%;
  margin-right: -450px; /* Половина ширины контейнера (900px) + отступ */
  transform: translateY(-50%);
}

/* Ближе к тексту (для контейнера ~800px) */
.hero-mascot-text-left {
  left: 50%;
  top: 50%;
  margin-left: -420px; /* Половина ширины текстового контейнера + отступ */
  transform: translateY(-50%);
}

.hero-mascot-text-right {
  right: 50%;
  top: 50%;
  margin-right: -380px; /* Половина ширины текстового контейнера + отступ */
  transform: translateY(-50%);
}

/* Очень близко к тексту (прямо рядом) */
.hero-mascot-near-left {
  left: 50%;
  top: 50%;
  margin-left: -320px; /* Прямо у края текста */
  transform: translateY(-50%);
}

.hero-mascot-near-right {
  right: 50%;
  top: 50%;
  margin-right: -320px; /* Прямо у края текста */
  transform: translateY(-50%);
}

/* Справа от контента (привязка к тексту) */
.hero-mascot-right {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* Слева от контента */
.hero-mascot-left {
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* По центру снизу (привязка к нижней границе) */
.hero-mascot-center {
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
}

/* В левом нижнем углу */
.hero-mascot-bottom-left {
  left: 5%;
  bottom: -20px;
}

/* В правом нижнем углу */
.hero-mascot-bottom-right {
  right: 5%;
  bottom: -20px;
}

/* Привязка к заголовку (рядом с текстом) */
.hero-mascot-title-right {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-mascot-title-left {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   РАЗМЕРЫ
   ======================================== */

.hero-mascot.mascot-sm img,
.hero-mascot.mascot-sm svg {
  max-width: 70px;
}

.hero-mascot.mascot-md img,
.hero-mascot.mascot-md svg {
  max-width: 120px;
}

.hero-mascot.mascot-lg img,
.hero-mascot.mascot-lg svg {
  max-width: 160px;
}

.hero-mascot.mascot-xl img,
.hero-mascot.mascot-xl svg {
  max-width: 220px;
}

/* ========================================
   АНИМАЦИИ
   ======================================== */

/* Плавное парение */
.mascot-float {
  animation: mascotFloat 4s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 15px));
  }
}

/* Для позиций без translateY */
.hero-mascot-center.mascot-float,
.hero-mascot-bottom-left.mascot-float,
.hero-mascot-bottom-right.mascot-float {
  animation: mascotFloatSimple 4s ease-in-out infinite;
}

@keyframes mascotFloatSimple {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

.hero-mascot-bottom-left.mascot-float,
.hero-mascot-bottom-right.mascot-float {
  animation: mascotFloatCorner 4s ease-in-out infinite;
}

@keyframes mascotFloatCorner {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Прыгающая анимация */
.mascot-bounce {
  animation: mascotBounce 2s ease-in-out infinite;
}

@keyframes mascotBounce {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  25% {
    transform: translateY(calc(-50% - 20px)) scale(1.05);
  }
  50% {
    transform: translateY(-50%) scale(0.95);
  }
  75% {
    transform: translateY(calc(-50% - 10px)) scale(1.02);
  }
}

/* Покачивание */
.mascot-wave {
  animation: mascotWave 3s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes mascotWave {
  0%,
  100% {
    transform: translateY(-50%) rotate(-5deg);
  }
  50% {
    transform: translateY(-50%) rotate(5deg);
  }
}

/* Пульсация */
.mascot-pulse {
  animation: mascotPulse 2.5s ease-in-out infinite;
}

@keyframes mascotPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.9;
  }
}

/* Раскачивание маятником */
.mascot-swing {
  animation: mascotSwing 3s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes mascotSwing {
  0%,
  100% {
    transform: translateY(-50%) rotate(-10deg);
  }
  50% {
    transform: translateY(-50%) rotate(10deg);
  }
}

/* Комбинированная анимация - парение + покачивание */
.mascot-float-wave {
  animation: mascotFloatWave 5s ease-in-out infinite;
}

@keyframes mascotFloatWave {
  0%,
  100% {
    transform: translateY(-50%) rotate(-3deg);
  }
  25% {
    transform: translateY(calc(-50% - 10px)) rotate(0deg);
  }
  50% {
    transform: translateY(-50%) rotate(3deg);
  }
  75% {
    transform: translateY(calc(-50% - 10px)) rotate(0deg);
  }
}

/* ========================================
   АДАПТИВНОСТЬ - ПЛАНШЕТ
   ======================================== */

@media (max-width: 1300px) {
  .hero-mascot img,
  .hero-mascot svg {
    max-width: 100px;
  }

  .hero-mascot.mascot-sm img,
  .hero-mascot.mascot-sm svg {
    max-width: 55px;
  }

  .hero-mascot.mascot-md img,
  .hero-mascot.mascot-md svg {
    max-width: 90px;
  }

  .hero-mascot.mascot-lg img,
  .hero-mascot.mascot-lg svg {
    max-width: 130px;
  }

  .hero-mascot.mascot-xl img,
  .hero-mascot.mascot-xl svg {
    max-width: 170px;
  }

  /* Сдвигаем боковые маскоты ближе к краю */
  .hero-mascot-right {
    right: 2%;
  }

  .hero-mascot-left {
    left: 2%;
  }

  /* Маскоты рядом с заголовком скрываем на планшете */
  .hero-mascot-title-right,
  .hero-mascot-title-left {
    display: none;
  }

  /* На планшете уменьшаем отступы от центра */
  .hero-mascot-content-left,
  .hero-mascot-text-left,
  .hero-mascot-near-left {
    margin-left: -300px;
  }

  .hero-mascot-content-right,
  .hero-mascot-text-right,
  .hero-mascot-near-right {
    margin-right: -300px;
  }
}

/* ========================================
   АДАПТИВНОСТЬ - МОБИЛЬНЫЕ
   ======================================== */

@media (max-width: 1116px) {
  .hero-mascot img,
  .hero-mascot svg {
    max-width: 70px;
  }

  .hero-mascot.mascot-sm img,
  .hero-mascot.mascot-sm svg {
    max-width: 45px;
  }

  .hero-mascot.mascot-md img,
  .hero-mascot.mascot-md svg {
    max-width: 65px;
  }

  .hero-mascot.mascot-lg img,
  .hero-mascot.mascot-lg svg {
    max-width: 90px;
  }

  .hero-mascot.mascot-xl img,
  .hero-mascot.mascot-xl svg {
    max-width: 120px;
  }

  /* Боковые маскоты перемещаем вниз */
  .hero-mascot-right,
  .hero-mascot-left {
    top: auto;
    bottom: -15px;
    transform: none;
  }

  .hero-mascot-right {
    right: 10px;
  }

  .hero-mascot-left {
    left: 10px;
  }

  /* Центральный маскот меньше выступает */
  .hero-mascot-center {
    bottom: -20px;
  }

  /* Угловые маскоты */
  .hero-mascot-bottom-left,
  .hero-mascot-bottom-right {
    bottom: -10px;
  }

  /* Упрощаем анимации для мобильных */
  .mascot-float,
  .hero-mascot-center.mascot-float,
  .hero-mascot-bottom-left.mascot-float,
  .hero-mascot-bottom-right.mascot-float {
    animation: mascotFloatMobile 3s ease-in-out infinite;
  }

  @keyframes mascotFloatMobile {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }

  .mascot-bounce {
    animation: mascotBounceMobile 2s ease-in-out infinite;
  }

  @keyframes mascotBounceMobile {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }

  /* Позиции от центра переключаются на угловое расположение */
  .hero-mascot-content-left,
  .hero-mascot-text-left,
  .hero-mascot-near-left {
    left: 10px;
    top: auto;
    bottom: -15px;
    margin-left: 0;
    transform: none;
  }

  .hero-mascot-content-right,
  .hero-mascot-text-right,
  .hero-mascot-near-right {
    right: 10px;
    top: auto;
    bottom: -15px;
    margin-right: 0;
    transform: none;
  }
  
  /* ВАЖНО: Для маскотов в потоке контента (как на services-menu.php) */
  /* Перемещаем маскот в поток контента на маленьких экранах */
  .hero-mascot.mascot-inline-mobile {
    position: static !important;
    transform: none !important;
    margin: 20px auto;
    display: block;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
  
  /* Автоматически применяем это для всех текстовых позиций */
  .hero-mascot-text-left,
  .hero-mascot-text-right {
    position: static !important;
    transform: none !important;
    margin: 20px auto !important;
    display: block;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
}

/* ========================================
   МАЛЕНЬКИЕ МОБИЛЬНЫЕ
   ======================================== */

@media (max-width: 480px) {
  .hero-mascot img,
  .hero-mascot svg {
    max-width: 55px;
  }

  .hero-mascot.mascot-sm img,
  .hero-mascot.mascot-sm svg {
    max-width: 35px;
  }

  .hero-mascot.mascot-md img,
  .hero-mascot.mascot-md svg {
    max-width: 50px;
  }

  .hero-mascot.mascot-lg img,
  .hero-mascot.mascot-lg svg {
    max-width: 70px;
  }

  .hero-mascot.mascot-xl img,
  .hero-mascot.mascot-xl svg {
    max-width: 90px;
  }

  /* Скрываем маскоты на очень маленьких экранах если нужно */
  .hero-mascot.hide-xs {
    display: none;
  }
}

/* ========================================
   СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ HERO СЕКЦИЙ
   ======================================== */

/* Hero секция должна иметь position: relative для правильного позиционирования маскота */
.hero-section,
.hero-gradient,
.hero-animated,
.page-header,
.categories-hero {
  position: relative;
  /*overflow: visible; /* Чтобы маскот мог выступать за границы */
}

/* Если нужно обрезать выступающие части маскота */
.hero-section.mascot-contained,
.hero-gradient.mascot-contained {
  overflow: hidden;
}

/* ========================================
   ИНТЕРАКТИВНОСТЬ (опционально)
   ======================================== */

/* Увеличиваем z-index для маскота с интерактивной подсказкой */
.hero-mascot.mascot-interactive {
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-mascot.mascot-interactive:hover {
  transform: translateY(-50%) scale(1.15) !important;
  /* Увеличиваем z-index чтобы маскот был выше всех элементов при hover */
  z-index: 10001;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

/* Добавляем систему tooltip для маскотов */

/* Контейнер tooltip */
.mascot-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 20px);
  transform: translateY(-50%);
  min-width: 280px;
  max-width: 320px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.35);
  /* Убираем debug стили, возвращаем нормальное скрытие */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  z-index: 10000;
  /* Добавляем max-width для мобильных чтобы не выходить за экран */
  max-width: min(320px, calc(100vw - 40px));
  /* Конец CHANGE */
  white-space: normal;
}

/* Стрелка tooltip */
.mascot-tooltip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 12px 0;
  border-color: transparent #667eea transparent transparent;
}

/* Убираем красную рамку debug, добавляем курсор pointer */
.mascot-interactive {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mascot-interactive:hover {
  transform: scale(1.05);
  z-index: 10001;
}

/* Показываем tooltip при наведении */
.mascot-interactive:hover .mascot-tooltip {
  opacity: 1;
  visibility: visible;
  left: calc(100% + 25px);
  pointer-events: auto;
}

/* Заголовок tooltip */
.mascot-tooltip-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mascot-tooltip-title i {
  font-size: 20px;
  opacity: 0.9;
}

/* Список подсказок */
.mascot-tooltip-hints {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Исправляем классы tooltip элементов чтобы соответствовали HTML */
.mascot-tooltip-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  animation: hintSlideIn 0.4s ease-out backwards;
}

.mascot-tooltip-hint-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.mascot-tooltip-hint-text {
  flex: 1;
  padding-top: 2px;
}

/* Анимация появления подсказок с задержкой */
.mascot-tooltip-hint:nth-child(1) {
  animation-delay: 0.1s;
}

.mascot-tooltip-hint:nth-child(2) {
  animation-delay: 0.2s;
}

.mascot-tooltip-hint:nth-child(3) {
  animation-delay: 0.3s;
}

.mascot-tooltip-hint:nth-child(4) {
  animation-delay: 0.4s;
}

/* Keyframe для анимации появления подсказок */
@keyframes hintSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Добавляем правила для левых маскотов - tooltip должен быть справа */
.hero-mascot-left .mascot-tooltip,
.hero-mascot-content-left .mascot-tooltip,
.hero-mascot-text-left .mascot-tooltip,
.hero-mascot-near-left .mascot-tooltip {
  left: calc(100% + 20px);
  right: auto;
}

.hero-mascot-left .mascot-tooltip::before,
.hero-mascot-content-left .mascot-tooltip::before,
.hero-mascot-text-left .mascot-tooltip::before,
.hero-mascot-near-left .mascot-tooltip::before {
  left: -10px;
  right: auto;
  border-width: 12px 12px 12px 0;
  border-color: transparent #667eea transparent transparent;
}

/* Добавляем видимость tooltip для левых позиций маскота при hover */
.hero-mascot-left.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-content-left.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-text-left.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-near-left.mascot-interactive:hover .mascot-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  left: calc(100% + 25px);
  /* Проверяем чтобы не выходило за правый край экрана */
  max-width: min(320px, calc(100vw - 100% - 50px));
}

/* Вариант справа (для маскотов справа от контента) */
.hero-mascot-right .mascot-tooltip,
.hero-mascot-content-right .mascot-tooltip,
.hero-mascot-text-right .mascot-tooltip,
.hero-mascot-near-right .mascot-tooltip {
  left: auto;
  right: calc(100% + 20px);
}

/* Tooltip слева от маскота для правых позиций */
/* Стрелка для tooltip справа от маскота (маскот слева) */
.hero-mascot-right .mascot-tooltip::before,
.hero-mascot-content-right .mascot-tooltip::before,
.hero-mascot-text-right .mascot-tooltip::before,
.hero-mascot-near-right .mascot-tooltip::before {
  left: auto;
  right: -10px;
  border-width: 12px 0 12px 12px;
  border-color: transparent transparent transparent #667eea;
}

/* Добавляем видимость tooltip для правых позиций маскота при hover */
.hero-mascot-right.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-content-right.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-text-right.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-near-right.mascot-interactive:hover .mascot-tooltip {
  /* Tooltip слева от маскота для правых позиций */
  opacity: 1;
  visibility: visible;
  right: calc(100% + 25px);
  left: auto;
  pointer-events: auto;
}

/* Для центральных и нижних позиций - tooltip сверху */
.hero-mascot-center .mascot-tooltip,
.hero-mascot-bottom-left .mascot-tooltip,
.hero-mascot-bottom-right .mascot-tooltip {
  top: auto;
  bottom: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
}

/* Стрелка для tooltip сверху маскота */
.hero-mascot-center .mascot-tooltip::before,
.hero-mascot-bottom-left .mascot-tooltip::before,
.hero-mascot-bottom-right .mascot-tooltip::before {
  top: auto;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 12px 12px 0 12px;
  border-color: #667eea transparent transparent transparent;
}

/* Добавляем видимость tooltip для центральных позиций маскота при hover */
.hero-mascot-center.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-bottom-left.mascot-interactive:hover .mascot-tooltip,
.hero-mascot-bottom-right.mascot-interactive:hover .mascot-tooltip {
  /* Tooltip сверху для нижних позиций */
  opacity: 1;
  visibility: visible;
  top: auto;
  bottom: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

/* ========================================
   АДАПТИВНОСТЬ TOOLTIP - ПЛАНШЕТ
   ======================================== */

@media (max-width: 992px) {
  .mascot-tooltip {
    min-width: 240px;
    max-width: 280px;
    padding: 16px 20px;
  }

  .mascot-tooltip-title {
    font-size: 15px;
  }

  .mascot-tooltip-hint {
    font-size: 13px;
    padding: 8px;
  }

  .mascot-tooltip-hint-number {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* ========================================
   АДАПТИВНОСТЬ TOOLTIP - МОБИЛЬНЫЕ
   ======================================== */

@media (max-width: 768px) {
  /* На мобильных tooltip сверху для всех позиций */
  .mascot-tooltip {
    top: auto;
    bottom: calc(100% + 15px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 260px;
    padding: 14px 18px;
  }

  .mascot-tooltip::before {
    top: auto;
    bottom: -8px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-color: #667eea transparent transparent transparent;
  }

  .hero-mascot.mascot-interactive:hover .mascot-tooltip {
    bottom: calc(100% + 18px);
    left: 50%;
    right: auto;
  }

  .mascot-tooltip-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .mascot-tooltip-hint {
    font-size: 12px;
    padding: 7px;
    gap: 8px;
  }

  .mascot-tooltip-hint-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

/* Альтернативные цветовые схемы tooltip */
.mascot-tooltip.tooltip-green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.mascot-tooltip.tooltip-green::before {
  border-color: transparent #11998e transparent transparent;
}

.hero-mascot-right .mascot-tooltip.tooltip-green::before,
.hero-mascot-content-right .mascot-tooltip.tooltip-green::before,
.hero-mascot-text-right .mascot-tooltip.tooltip-green::before,
.hero-mascot-near-right .mascot-tooltip.tooltip-green::before {
  border-color: transparent transparent transparent #11998e;
}

.hero-mascot-center .mascot-tooltip.tooltip-green::before,
.hero-mascot-bottom-left .mascot-tooltip.tooltip-green::before,
.hero-mascot-bottom-right .mascot-tooltip.tooltip-green::before {
  border-color: #11998e transparent transparent transparent;
}

.mascot-tooltip.tooltip-orange {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mascot-tooltip.tooltip-orange::before {
  border-color: transparent #f093fb transparent transparent;
}

.hero-mascot-right .mascot-tooltip.tooltip-orange::before,
.hero-mascot-content-right .mascot-tooltip.tooltip-orange::before,
.hero-mascot-text-right .mascot-tooltip.tooltip-orange::before,
.hero-mascot-near-right .mascot-tooltip.tooltip-orange::before {
  border-color: transparent transparent transparent #f093fb;
}

.hero-mascot-center .mascot-tooltip.tooltip-orange::before,
.hero-mascot-bottom-left .mascot-tooltip.tooltip-orange::before,
.hero-mascot-bottom-right .mascot-tooltip.tooltip-orange::before {
  border-color: #f093fb transparent transparent transparent;
}

/* Конец добавления tooltip системы */
