/* Глобальный сброс всех ul на сайте */
ul, ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

*, *:before, *:after {
    box-sizing: border-box;
}

 /*{    outline: 1px solid red !important;  }*/ /*КРАСНАЯ ЛИНИЯ ДЛЯ ОТЛАДКИ БЛОКОВ*/

/*body, html {    margin: 0;    padding: 0;    overflow-x: hidden;} /* временно, чтобы точно убедиться в контейнерах */

:root {

    --primary: #041c36;

    --accent: #CA3936;
    --accent-dark: #8f2826;
    --accent-light: #E66B69;

    --header-bg-top:#eeeeee;
    --header-bg-mid: #f7f7f7;
    --header-bg-bot:#f7f7f7;

    --breadcrumbs-txt:#868686;

    --partners-bg:#f7f7f7;

  --footer-bg: #131313;

  --footer-txt-h4: #eeeeee;
  --footer-txt-p: #989898;
  --footer-txt-a: #b2b2b2;

  --footer-txt-copyright: #5a5a5a;

  /* === Фон меню === */
  --mobile-menu-bg: #f7f7f7;
  --mobile-menu-txt: #041c36;
  --mobile-menu-txt-hover: #962D2C;

  /* === Уровень 1 — главные кнопки === */
  --mobile-level1-bg: linear-gradient(180deg, #f7f7f7 0%, #ededed 100%);
  --mobile-level1-hover-bg: linear-gradient(180deg, #f2f2f2 0%, #e5e5e5 100%);
  --mobile-level1-active-bg: linear-gradient(180deg, #d0d0d0 0%, #c0c0c0 100%);
  --mobile-level1-txt: var(--primary);
  --mobile-level1-txt-hover: #CA3936;
  --mobile-level1-txt-active: #962D2C;

  /* === Уровень 2 — подменю === */
  --mobile-level2-bg: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  --mobile-level2-hover-bg: linear-gradient(180deg, #ebebeb 0%, #dcdcdc 100%);
  --mobile-level2-active-bg: linear-gradient(180deg, #e1e1e1 0%, #d1d1d1 100%);
  --mobile-level2-txt: var(--primary);
  --mobile-level2-txt-hover: #CA3936;
  --mobile-level2-txt-active: #962D2C;

  /* === Уровень 3 — под-подменю === */
  --mobile-level3-bg: linear-gradient(180deg, #ebebeb 0%, #e0e0e0 100%);
  --mobile-level3-hover-bg: linear-gradient(180deg, #e0e0e0 0%, #d4d4d4 100%);
  --mobile-level3-active-bg: linear-gradient(180deg, #d5d5d5 0%, #c0c0c0 100%);
  --mobile-level3-txt: var(--primary);
  --mobile-level3-txt-hover: #CA3936;
  --mobile-level3-txt-active: #962D2C;
    
    --txt-1:'Montserrat';
    --txt-2:'Roboto';
}

/* =========================
   ХЛЕБНЫЕ КРОШКИ  ДЛЯ ВСЕХ ЭКРАНОВ
========================= */
/* =========================
   ХЛЕБНЫЕ КРОШКИ (НОВАЯ СТРУКТУРА)
========================= */

/* Внешняя оболочка  */
#breadcrumbs {
    width: 100%;
    background: #fff !important;
    display: flex;
    justify-content: center;            /* центрируем внутренний блок */
    padding:10px 10px;
}

/* Основной список  (замена старого #breadcrumbs-inner) */
#breadcrumbs > ol {
    max-width: 1440px;
    width: 100%;
    background: #fff !important;
    border-radius: 12px;                /* скруглённые углы */
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    padding: 10px 15px !important;                 /* внутренние отступы */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0!important;
    line-height: normal;
}

/* Каждая крошка  */
#breadcrumbs li {
    display: flex;
    align-items: center;
}

/* Ссылки */
#breadcrumbs a {
    font-size:13px;
    font-family:var(--txt-1);
    color: var(--breadcrumbs-txt) !important;
    font-weight: 500;
    position: relative;
    white-space: normal;
}

#breadcrumbs a::after {
    content: '';
    display: block;
    height: 1px;
    width: 0%;
    background: var(--breadcrumbs-txt) !important;
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: width 0.2s ease;
}

#breadcrumbs a:hover::after {
    width: 100%;
}


#breadcrumbs .breadcrumb-arrow {
  width: 10px;          /* уменьшаем размер */
  height: 10px;
  fill: var(--breadcrumbs-txt);   /* цвет берёт от текста */
  margin: 0 8px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

#breadcrumbs li:hover svg,
#breadcrumbs li:hover ~ li svg,
#breadcrumbs li:hover ~ li ~ li svg {
  transform: rotate(180deg);
  fill: var(--accent);   /* цвет берёт от текста */
}


/* Последний сегмент (текущая страница) */
#breadcrumbs .current {
    font-size:14px;
    font-family: var(--txt-2), sans-serif;
    color: #7a7a7a !important;
    font-weight: 400;
}

/* СТРАНИЦА 404 */

.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 70vh;
  background: #fff;
  color: var(--primary) !important;
}

.page-404__svg {
  margin-bottom: 30px;
}

.page-404 h1 {
  font-family: var(--txt-1), sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
}

.page-404 p {
  font-family: var(--txt-2), sans-serif;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Живая ссылка */
.page-404-btn {
  position: relative;
  font-family: var(--txt-1), sans-serif;
  font-size: 20px;
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-404-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--accent-light) !important;
}

/*Страницы с информацией*/
.info-section {
  padding: 0px 15px;
  max-width: 960px;
  margin: 0 auto 60px auto;
  color:var(--primary);
  line-height: 1.45; 
}

/* Отдельные блоки */
.info-section-sector {
  margin-bottom: 30px;
}

.info-section-sector-in {
  margin:0 0 15px 15px;
  display: flex;
  flex-direction: column; /* элементы внутри блока идут сверху вниз */
    
}

.info-section-sector-in > *:not(h3) {
    padding-left: 15px;
}

.info-section h1 {
  text-align: center;
  margin-bottom: 30px;
  font-family: var(--txt-1),sans-serif;
  font-weight: 700;
  font-size: 30px;
}

.info-section h2 {
  margin-bottom: 10px;
  font-family: var(--txt-1),sans-serif;
  font-weight: 600;
  font-size: 26px;
}

.info-section h3 {
  margin-bottom: 5px;
  font-family: var(--txt-1),sans-serif;
  font-weight: 500;
  font-size: 22px;
}

.info-section p, .info-section ol, .info-section ul{
  font-family: var(--txt-2),sans-serif;
  font-weight: 400;
  font-size: 15px;
}
.info-section-sector ol {
  list-style: decimal !important;
    padding-left: 20px !important;
}
.info-section-sector ul {
  list-style: disc !important;
    padding-left: 20px !important;
}

.info-section a{
  color:var(--accent-dark) !important;
  transition: color 0.3s ease;
}

.info-section a:hover{
  text-decoration: underline !important;
  color:var(--accent-light) !important;
}


/* =====МОБИЛЬНОЕ МОБИЛЬНОЕ===== */

@media (max-width: 1200px) {
 
  .header-middle,
  .header-top,
  .footer-partners-title p,
  .footer-column:nth-child(2),
  .footer-column:nth-child(1) p,
  .footer-column-adres,
  .footer-column-divider {
    display: none;
  }


.page-404__svg {
    max-width:200px;
}

.page-404 h1 {
  font-size: 28px;
}

.page-404 p {
  font-size: 16px;
}

/* Живая ссылка */
.page-404-btn {
  font-size: 25px;
}

.info-section {
  margin: 0 auto 40px auto;
}

.info-section h1 {
  font-size: 22px;
}

.info-section h2 {
  font-size: 20px;
}

.info-section h3 {
  font-size: 18px;
}

.info-section p, .info-section ol, .info-section ul{
  font-size: 16px;
}
.info-section-sector ol {
    padding-left: 10px !important;
}
.info-section-sector ul {
    padding-left: 10px !important;
}
  /* =====
              НИЖНЕЕ МОБИЛЬНОЕ МЕНЮ
              НИЖНЕЕ МОБИЛЬНОЕ МЕНЮ
            ===== */

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1900;
  }

    .mobile-bottom-nav {
    transition: transform 0.3s ease;
  }

  .mobile-bottom-item {
    flex: 1;
    text-align: center;
    font-family: var(--txt-2), sans-serif;
    font-size: 14px;
    color: var(--primary) !important;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    transition: color 0.2s ease;
  }

  .mobile-bottom-item svg {
    width: 25px;
    height: 25px;
    margin-bottom: 2px;
    transition: transform 0.2s ease, fill 0.2s ease;
    fill: var(--primary);
    /* базовый цвет */
  }

  .mobile-bottom-item span {
    font-size: 12px;
    line-height: 1;
  }

  .mobile-bottom-item:hover svg,
  .mobile-bottom-item.active svg {
    transform: scale(1.1);
    fill: var(--accent-dark);
  }

  /* =====
              БОКОВОЕ МОБИЛЬНОЕ МЕНЮ
              БОКОВОЕ МОБИЛЬНОЕ МЕНЮ
            ===== */

  #megaMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: max(280px, 60vw);
    /* минимум 320px, но обычно 60% ширины экрана */
    height: 100vh;
    background: var(--mobile-menu-bg);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    z-index: 2000;
    overflow-y: auto;
    padding-bottom: 80px;
  }

  #megaMenu.active{
    left: 0;
  }
  
.mega-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

  .mega-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 0 5px 0 15px;
  }

  .mega-close {
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    color: grey !important;
    padding: 15px 15px;
  }

  .mega-close:hover {
    color: var(--accent) !important;
  }

  .mega-close::after {
    content: attr(data-mobile);
  }

  .mobile-menu-header-favorote a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family:var(--txt-1), sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: grey !important;
    text-decoration: none;
    padding: 15px 15px;
  }

  .mobile-menu-header-favorote svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }

  .mobile-menu-header-favorote a:hover {
    color: var(--accent) !important;
  }

  .menu li {
    border-bottom: 1px solid #333;
  }

  /* === Уровень 1 === */
  .menu>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.2s ease;
    font-family: var(--txt-1), sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--mobile-level1-bg);
    color: var(--mobile-level1-txt) !important;
  }

  .menu>li>a:hover {
    background: var(--mobile-level1-hover-bg);
    color: var(--mobile-level1-txt-hover) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .menu>li>a.open-path {
    background: var(--mobile-level1-active-bg);
    color: var(--mobile-level1-txt-active) !important;
    font-weight: 600;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.06);
  }

  /* === Вложенные уровни === */
  .sub-menu a {
    font-family: var(--txt-2), sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.2s ease;
  }

  /* === Уровень 2 === */
  .sub-menu>li>a {
    padding-left: 32px;
    background: var(--mobile-level2-bg);
    color: var(--mobile-level2-txt) !important;
  }

  .sub-menu>li>a:hover {
    background: var(--mobile-level2-hover-bg);
    color: var(--mobile-level2-txt-hover) !important;
    transform: translateX(4px);
  }

  .sub-menu>li>a.open-path {
    background: var(--mobile-level2-active-bg);
    color: var(--mobile-level2-txt-active) !important;
    font-weight: 500;
  }

  /* === Уровень 3 === */
  .sub-menu .sub-menu>li>a {
    padding-left: 48px;
    background: var(--mobile-level3-bg);
    color: var(--mobile-level3-txt) !important;
  }

  .sub-menu .sub-menu>li>a:hover {
    background: var(--mobile-level3-hover-bg);
    color: var(--mobile-level3-txt-hover) !important;
    transform: translateX(4px);
  }

  .sub-menu .sub-menu>li>a.open-path {
    background: var(--mobile-level3-active-bg);
    color: var(--mobile-level3-txt-active) !important;
    font-weight: 500;
  }

  /* === Уровень 4+ === */
  .sub-menu .sub-menu .sub-menu>li>a {
    padding-left: 64px;
  }

  /*=== Стрелочки === */
  .menu a i {
    font-size: 16px;
    transition: transform 0.4s ease;
  }

  .sub-menu>li>a i {
    margin-right: 15px;
  }

  .menu a.open i {
    transform: rotate(90deg);
  }

  /*=== Подменю (аккордеон) === */
  .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    background: var(--mobile-menu-bg);
  }

  .sub-menu.open {
    max-height: 2000px;
    opacity: 1;
  }

  /*=== Overlay === */
  .mobile-menu-side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1999;
  }

  .mobile-menu-side-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* === Общий стиль ссылок в мобильном меню === */
  .mobile-menu-link li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--txt-1), sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #041c36 !important;
    text-decoration: none;
    border-radius: 5px;
    transition: color 0.3s ease, background 0.3s ease;
  }

  .mobile-menu-link li a svg {
    height: 25px;
    width: 25px;
    fill: currentColor;
    transition: fill 0.3s ease;
  }

  .mobile-menu-link li a:hover,
  .mobile-menu-link li a.active {
    color: #b11616 !important;
    background: #f0f0f0;
  }

  .mobile-menu-links-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #7c7c7c, transparent);
    margin: 20px 0;
  }

  .mobile-menu-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d85b5b !important;
    font-family: var(--txt-2), sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding-left: 20px;
    text-align: left;
  }

  .mobile-menu-warning svg {
    width: 20px;
    height: 20px;
    fill: #c51313;
  }

    /* =====
              НАШИ ПАРТНЕРЫ МОБИЛКА
              НАШИ ПАРТНЕРЫ МОБИЛКА
            ===== */
.footer-site {
    width: 100%;
    margin-top: 30px;
  }

  .footer-partners {
    padding: 20px 10px;
    background-color: var(--partners-bg);
    text-align: center;
  }

  .footer-partners-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
  }

  .partners-logos-arrows {
    position: relative;
    overflow: hidden;
  }

  /* Сам скролл логотипов */
  .partners-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 10px 20px;
  }

  /* Логотипы */
  .partners-logos img {
    height: 50px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Плавные градиенты слева и справа */
  .partners-logos-arrows::before,
  .partners-logos-arrows::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
  }

  .partners-logos-arrows::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
  }

  .partners-logos-arrows::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
  }            
  
.footer-inner {
    background-color: var(--footer-bg);
    padding: 20px 10px 20px 10px;

  }

  .footer-columns {
    display: flex;
    flex-direction: column;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--footer-txt-h4);
    margin: 25px 0 5px 0;
  }

  .footer-column p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--footer-txt-p);
    padding-bottom: 5px;
  }
.footer-columns .footer-column:not(:first-child) a{
  font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--footer-txt-a) !important;
    transition: color 0.3s ease;
}
.footer-columns .footer-column:not(:first-child) a:hover {
  color:var(--accent-light) !important;
  text-decoration: underline !important;
}

  .footer-column-sub-menu {margin: 5px 0 0;}

.footer-column-sub-menu li a {
    display: inline-block;
    padding: 3px 0;
}

  /* Соцсети и иконки */
  .footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .footer-icons a {
    width: 40px;
    height: 40px;
  }

  .footer-icons svg {
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  .footer-icons a:hover svg {
    filter: grayscale(0%);
  }

  .footer-btn-ourworks {
    display: inline-block;
    padding: 15px 50px;
    background: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .footer-btn-ourworks:hover {
    background: var(--accent-dark);
  }

  /* Нижняя часть футера */
  .footer-bottom {
    text-align: center;
    font-size: 13px;
    background-color: #111;
  }
.footer-bottom p {
    color: var(--footer-txt-copyright);
    font-family: 'Montserrat',sans-serif;
    font-size: 12px;
    border-top: 1px solid #333;
    padding:35px 10px 35px 10px;
  }
}

@media (min-width: 1201px) {
    .mobile-menu-side-overlay,
  .mobile-menu-hide,
  .mobile-menu-links,
  .mobile-menu-header-favorote {
    display: none;
  }

  .mega-close::after {
    content: attr(data-desktop);
  }
    
.header-top {
    width: 100%;
    height: 30px;
    background: var(--header-bg-top) !important;
    color: var(--primary) !important;
}

.header-top-inner {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
}

.header-top-left,
.header-top-right {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
}

.header-top-left {
    justify-content: flex-start;
}

.header-top p {
    font-family: var(--txt-1), sans-serif;
    font-weight: 400;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-top-left i {
    font-size: 14px !important;
    color: #E66B69 !important;
}

.header-top-right {
    justify-content: flex-end;
}

.header-top a {
    position: relative;
    color: var(--primary) !important;
    font-family: var(--txt-2), sans-serif;
    font-weight: 500;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.header-top a:hover {
    color: var(--accent) !important;
}

.header-top a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%); /* всегда центр */
    transition: width 0.2s ease;
}

.header-top a:hover::after {
    width: 100%;
}
    
/* =========================
         ПОИСК МЕНЮ
========================= */
.t-name_xs {
    font-size: 14px !important;
}

.t-site-search-input {
    display: flex;
    align-items: center;           /* вертикальное выравнивание */
    gap: 10px;                     /* расстояние между инпутом и кнопкой */
    max-width: 600px;              /* максимальная ширина блока */
    margin: 0 auto;                /* центрируем блок по горизонтали */
    padding: 10px;                 /* внутренние отступы */
    box-sizing: border-box;
}

/* =========================
   САМО ПОЛЕ ВВОДА
========================= */
.t838__blockinput input.t838__input {
    background-color: #ffffff !important;
    height: 35px;
    font-size: 16px;
    padding: 0 12px;
    box-sizing: border-box;
    color: #223a54 !important;  
    transition: box-shadow 0.2s ease;
    z-index: 2100; 
}

.t838__blockinput input.t838__input:hover {
    box-shadow: 0 0 8px var(--accent-light) !important;
}

.t838__blockinput input.t838__input:focus {
    box-shadow: 0 0 3px var(--accent-light) !important;
    outline: none;
}

.uc-search-desktop .t838__blockbutton{
    display:none;
}

/* =========================
   ПЛЕЙСХОЛДЕР
========================= */
.t838 {
    position: relative; /* теперь логотип позиционируется относительно всего блока */
    background: #f8f8f8 !important;
    z-index: 2000; 
    padding: 0 5%; /* отступы слева/справа */
    width:100%;
}

.t838::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* высота тени */
    background:gray;
    opacity:0.1;
}

.header-logo-icons-wrapper {
      position: absolute;      /* поверх поиска */
      top: 0;                  /* прижимаем к верхней границе блока .t838 */
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1440px;
      width: 100%;
      z-index: 2200;           /* выше поиска */
      pointer-events: none; /* клики проходят сквозь блок */
      padding-top:10px;
}

.header-mid-logo {
  height: 40px;
  width: auto;
}

.header-mid-logo img {
  height: 40px;
  width: auto;
  padding-left: 20px;
  pointer-events: auto;
}

.header-mid-icons {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-right: 20px;
}

.header-mid-icons .header-mid-icon-link svg {
  width: 28px;
  height: 28px;
  fill: var(--primary) !important;
  transition: fill 0.3s, transform 0.3s;
  pointer-events: auto;
}

.header-mid-icons .header-mid-icon-link:hover svg {
  fill: var(--accent) !important;
  transform: translateY(-2px);
}
    .page-404__svg {
    max-width:300px;
}
          /* =====
              МЕНЮ ДЕСКТОП+КНОПКА
              МЕНЮ ДЕСКТОП+КНОПКА
            ===== */

.catalog-btn {
    display: flex;
    align-items: center;
    height: 35px;           /* подгони под input */
    border: 0;
    border-radius: 8px;
    padding: 0 15px;
    background: var(--accent);
    font-family: var(--txt-2),sans-serif;
    font-weight:600;
    color: #fff !important;
    cursor: pointer;
    margin-right: 30px;
    transition: background 0.3s ease;
}
.catalog-btn svg{
    width:25px;
    height:25px;
}

.catalog-btn.active {
    background: var(--accent-light);
}
/* по умолчанию показываем закрытую иконку */
.catalog-btn .icon-open {
  display: none;
}

/* когда меню открыто */
.catalog-btn.active .icon-closed {
  display: none;
}

.catalog-btn.active .icon-open {
  display: inline-block;
}

  .mega-menu-wrapper {
    position: relative;
    width: 100%;
  }

  .mega-menu {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    min-height: 60vh;
    background: var(--header-bg-bot) !important;
    display: none;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.15);
    padding:5px 15px 20px 15px;
    z-index:2050;
  }

  .mega-menu.active {
    display: block;
  }

  .mega-menu-header {
    display: flex;
    width:1440px;
    padding: 5px 20px;
    margin: 0 auto;     /* центрируем */
    align-items: center; /* чтобы по вертикали выровнять */
  }

  .mega-close {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color:grey;
    margin-left: auto;   /* уезжает вправо */
  }
  
  .mega-close:hover {
    color: var(--accent-dark);
  }
  
  /* ===== Колонки ===== */
  .mega-menu-columns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    gap: 10px;
  }

  .mega-column {
    flex: 1 1 150px;
    min-width: 150px;
  }

  /* ===== Списки / ссылки ===== */

  .menu a {
    color: var(--primary) !important;
    text-decoration: none;
    display: block;
    padding: 2px 0;
    margin: 6px 0;
  }

  .menu a>span {
    position: relative;
    display: inline-block;
  }

  /* ===== Подчеркивание ===== */


  /* ==== Уровень 1 ==== */
  .menu>li>a.mega-title>i {
    display: none;
  }

  .menu>li>a.mega-title {
    display: inline-block;
  }

  .menu>li>a.mega-title>span {
    font-family: var(--txt-1), sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .menu>li>a.mega-title>span:hover {
      text-decoration: underline;
  }

  /* ==== Вложенные уровни ==== */
  .menu .sub-menu a>span {
    font-family: var(--txt-2), sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
  }

  .menu .has-sub>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu .has-sub>a>i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.2s ease;
  }

  .has-sub:hover>a>i {
    transform: rotate(180deg);
  }

  .menu>li>.sub-menu {
    display: block;
    margin: 0 !important;
    padding-left: 0 !important;
  }

  .sub-menu li {
    position: relative;
  }

  .sub-menu .sub-menu {
    display: none;
    position: absolute;
    top: -10px;
    left: 100%;
    min-width: 220px;
    background: var(--header-bg-bot);
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius:8px;
    z-index: 1100;
    padding-left: 15px !important; /* пространство вокруг ссылок внутри третьего уровня */
  }

  .has-sub:hover>.sub-menu {
    display: block;
  }

  .menu .sub-menu li:hover>a>span {
    text-decoration: underline;
  }

  /* ===== Логика стрелочек уровней 2+ ===== */
  .sub-menu .has-sub>a>i {
    display: inline-block;
  }

  .sub-menu:has(li.has-sub:hover) li.has-sub:not(:hover)>a>i {
    display: none;
  }

  .mega-column.dimmed {
    opacity: 0.4;
    transition: opacity 0.3s ease;
  }
        /* =====
              ФУТЕР ДЕСКТОП
              ФУТЕР ДЕСКТОП
            ===== */

.footer-site {
  width: 100%;
  margin-top: 50px;
}

/* ====== Партнеры ====== */

.footer-partners {
  position: relative;
  flex-wrap: wrap;
  width: 100%;
  background: var(--partners-bg);
}

.footer-partners-inner {
  max-width: 1440px;
  padding:50px 20px 50px 20px;
  margin: 0 auto;
}

.footer-partners-title {
  flex-wrap: wrap;
  max-width: 960px;
  text-align: center;
  margin: 0 auto;
}

.footer-partners h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
  margin-bottom:8px;
}

.footer-partners p {
  font-size: 14px;
  color: var(--footer-txt-p);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin-bottom:20px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partners-logos img {
  max-width: 160px;
  padding: 5px 5px;
  transition: transform 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.07);
}

.footer-inner {
  position: relative;
  flex-wrap: wrap;
  width: 100%;
  background-color: var(--footer-bg);
  padding:40px 20px 40px 20px;
}

.footer-columns {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  gap:40px;
  margin-top:40px;
}

.footer-column-divider {
    width: 100%;
    max-width: 1440px; /* ширина как у колонок */
    height: 1px;
    margin: 0 auto; /* отступ снизу линии до футера */
    background: linear-gradient(to right, #131313 0%, #636363 50%, #131313 100%);
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-columns h4 {
  font-family: 'Roboto',sans-serif;
  color: var(--footer-txt-h4);
  font-size: 15px;
  font-weight: 700;
  margin: 12px 0 7px 0;
}

.footer-columns p {
  font-family: 'Roboto',sans-serif;
  color: var(--footer-txt-p);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
}

.footer-columns .footer-column:not(:first-child) a {
  font-family: 'Montserrat',sans-serif;
  color: var(--footer-txt-a) !important;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-column-sub-menu li a {
    display: inline-block;
    padding: 2px 0;
}

.footer-columns .footer-column:not(:first-child) a:hover {
  color:var(--accent-light) !important;
  text-decoration:underline !important;
}

.footer-btn-ourworks {
    font-family: 'Montserrat',sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-top:5px;
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent);
    color: #fff !important;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-btn-ourworks:hover {
    background-color: var(--accent-dark);
    text-decoration: none;
}

.footer-icons{
  margin: 10px 0 20px 0;
  gap:15px;
  display: flex;   /* обязательно */
}

.footer-icons a{
  width: 30px;
  height: 30px;
}
.footer-icons svg{
  width: 30px;
  height: 30px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.footer-icons a:hover svg {
    filter: grayscale(0%);
}


.footer-bottom{
  width: 100%;
  background-color: #0f0f0f;
}

.footer-bottom {
    background-color: #111;
    color: var(--footer-txt-copyright);
    font-family: 'Montserrat',sans-serif;
    font-size: 14px;
    padding: 25px 20px 25px 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-column-logo {
  display: inline-block;
  margin-bottom: 25px;
}

.footer-column-logo img {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
}
}

@media (min-width: 2200px) {
     
   
.header-top {
    height: 40px;
}

.header-top-inner {
    max-width: 1800px;
}

.header-top-left,
.header-top-right {
    padding: 0 30px;
    gap: 20px;
}

.header-top p {
    font-size: 14px;
    gap: 10px;
}

.header-top-left i {
    font-size: 16px !important;
}
.header-top a {
    font-size: 14px;
}

.header-top a::after {
    height: 2px;
}
/* =========================
         ПОИСК МЕНЮ
========================= */
.t-name_xs {
    font-size: 16px !important;
}

.t-site-search-input {
    max-width: 800px;
    padding: 20px;
}

/* =========================
   САМО ПОЛЕ ВВОДА
========================= */
.t838__blockinput input.t838__input {
    height: 45px;
    font-size: 18px;
}

.header-logo-icons-wrapper {
     max-width: 1800px;
     padding-top:20px;
}

.header-mid-logo img {
  padding-left: 30px;
}

.header-mid-icons {
  gap: 35px;
  padding-right: 30px;
}

.header-mid-icons .header-mid-icon-link svg {
  width: 40px;
  height: 40px;
}

/* Внешняя оболочка  */

.page-404__svg {
    max-width:400px;
}

.page-404 h1 {
  font-size: 36px;
}

.page-404 p {
  font-size: 22px;
}

/* Живая ссылка */
.page-404-btn {
  font-size: 30px;
}

/*Страницы с информацией*/
.info-section {
  max-width: 1440px;
  margin: 0 auto 100px auto;
  line-height: 1.5; 
}

/* Отдельные блоки */
.info-section-sector {
  margin-bottom: 40px;
}

.info-section-sector-in {
  margin:0 0 20px 20px;
}

.info-section-sector-in > *:not(h3) {
    padding-left: 20px;
}

.info-section h1 {
  margin-bottom: 40px;
  font-size: 34px;
}

.info-section h2 {
  margin-bottom: 15px;
  font-size: 30px;
}

.info-section h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.info-section p, .info-section ol, .info-section ul{
  font-size: 18px;
}
.info-section-sector ol {
    padding-left: 3px !important;
}
.info-section-sector ul {
    padding-left: 30px !important;
}
          /* =====
              МЕНЮ ДЕСКТОП+КНОПКА
              МЕНЮ ДЕСКТОП+КНОПКА
            ===== */

.catalog-btn {
    height: 45px;           /* подгони под input */
    border-radius: 8px;
    font-size:16px;
    margin-right: 45px;
    padding: 0 15px;
}
.catalog-btn svg{
    width:35px;
    height:35px;
}
 .mega-menu {
    top: -40px;
    padding:10px 20px 25px 20px;
  }
  
  .mega-menu-header {
    width:1800;
    padding: 5px 20px;
  }

  .mega-close {
    font-size: 18px;
  }

  .mega-menu {
    top: -20px;
  }
  
  /* ===== Колонки ===== */
  .mega-menu-columns {
    max-width:1800px;
    gap: 20px;
  }
  .menu a {
    padding: 3px 0;
    margin: 7px 0;
  }

  .menu>li>a.mega-title>span {
    font-size: 20px;
  }

  .menu .sub-menu a>span {
    font-size: 18px;
  }

  .menu .has-sub>a>i {
    font-size: 14px;
    margin-left: 10px;
  }

}