/* ===== FOOTER MATLINE v7.0 ===== */

.footer-wrap {
  background: #1e1e1e;
  color: #c8c8c8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  border-top: 3px solid #f5a623;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 18px;
  display: table;
  width: 100%;
  box-sizing: border-box;
}

.footer-col {
  display: table-cell;
  vertical-align: middle;
  padding-right: 20px;
}
.footer-col:last-child { padding-right: 0; }

/* Колонка логотипа */
.footer-col-0 {
  width: 90px;
  vertical-align: middle;
  text-align: center;
  border-right: 1px solid #2a2a2a;
  padding-right: 20px;
}
.footer-logo-img {
  width: 72px;
  opacity: 0.85;
  display: block;
  margin: 0 auto;
}
.footer-logo-img:hover { opacity: 1; }

/* Остальные колонки — выравнивание сверху */
.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 { vertical-align: top; }

.footer-col-1 { width: 20%; padding-left: 20px; }
.footer-col-2 { width: 18%; }
.footer-col-3 { width: 18%; }
.footer-col-4 { width: 34%; }

/* Описание */
.footer-desc {
  font-size: 12px;
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-desc strong { color: #e0e0e0; }

/* Копирайт */
.footer-copy {
  font-size: 11px;
  color: #606060;
  line-height: 1.6;
}

/* Заголовки колонок */
.footer-title {
  color: #f5a623;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

/* Ссылки */
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.footer-links a:before { content: '\25B8  '; color: #f5a623; font-size: 10px; }
.footer-links a:hover { color: #f5a623; }

/* Контакты */
.footer-org { margin-bottom: 7px; }
.footer-org a {
  color: #e0e0e0;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  line-height: 1.5;
}
.footer-org a:hover { color: #f5a623; }

.footer-addr {
  font-size: 11px;
  color: #a0a0a0;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-phones { margin-bottom: 8px; }
.footer-phones a {
  display: block;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
  transition: color 0.2s;
}
.footer-phones a:hover { color: #f5a623; }
.footer-phones em {
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  color: #5cb85c;
}

.footer-web { font-size: 12px; }
.footer-web a {
  color: #a0a0a0;
  text-decoration: none;
  display: block;
  line-height: 1.8;
  transition: color 0.2s;
}
.footer-web a:hover { color: #f5a623; }

/* ===== ПОЛОСА КАТАЛОГОВ ===== */
.footer-catalogs {
  border-top: 1px solid #2a2a2a;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-catalogs-label {
  font-size: 11px;
  color: #f5a623;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
  white-space: nowrap;
}

.footer-catalogs a {
  opacity: 0.75;
  transition: opacity 0.2s;
  display: inline-block;
  vertical-align: middle;
}
.footer-catalogs a:hover { opacity: 1; }

/* FIS badge */
.fis-badge {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
  background: #2a2a2a;
  height: 31px;
  font-size: 11px;
  color: #bbb;
  overflow: hidden;
  vertical-align: middle;
}
.fis-icon {
  background: #333;
  border-right: 1px solid #3a3a3a;
  width: 17px;
  height: 31px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.fis-badge span { padding: 0 8px; line-height: 1.3; white-space: nowrap; }

/* Соцсети — справа в полосе */
.footer-catalogs-social {
  margin-left: auto;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.soc-btn {
  display: inline-block;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.soc-btn:hover { opacity: 1; }
.soc-btn img { width: 30px; height: 30px; border-radius: 50%; display: block; }

/* ===== КНОПКА НАВЕРХ ===== */
#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(245, 166, 35, 0.75);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 44px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  z-index: 9999;
  display: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
  transition: background 0.2s, transform 0.15s;
}
#scrollTopBtn:hover {
  background: rgba(245, 166, 35, 0.97);
  transform: translateY(-2px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .footer-inner { display: block; }
  .footer-col { display: block; width: 100% !important; padding-right: 0; padding-left: 0; margin-bottom: 20px; border: none; }
  .footer-col-0 { text-align: left; }
  .footer-logo-img { margin: 0; }
  .footer-catalogs { -ms-flex-pack: start; justify-content: flex-start; }
  .footer-catalogs-social { margin-left: 0; }
}
