/* =========================================================
   FOOTER — СПБ-ИНТРА
   ========================================================= */
:root {
  --footer-bg: #092448;
  --footer-bg-dark: #071d3b;
  --footer-text: #d9e4f2;
  --footer-muted: #aebed1;
  --footer-heading: #ffffff;
  --footer-link: #2f9cff;
  --footer-link-hover: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.20);
  --footer-divider: rgba(255, 255, 255, 0.22);
}
/* =========================================================
   ОСНОВНОЙ FOOTER
   ========================================================= */
.site-footer {
  width: 100%;
  margin-top: 20px;
  padding: 0 14px 14px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: var(--footer-text);
}
.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #071d3b 0%, #0a2a54 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(3, 18, 40, 0.18);
}
/* =========================================================
   ВЕРХНЯЯ ЧАСТЬ
   ========================================================= */
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(300px, 1.5fr) minmax(200px, 0.9fr) minmax(280px, 1.25fr);
  column-gap: 0;
  padding: 20px 0 18px;
}
/* =========================================================
   КОЛОНКИ
   ========================================================= */
.footer-column {
  position: relative;
  min-width: 0;
  padding: 0 28px;
  box-sizing: border-box;
}
.footer-column:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--footer-divider);
}
.footer-company {
  padding-left: 4px;
}
/* =========================================================
   ЛОГОТИП + КОМПАНИЯ
   ========================================================= */
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-logo-link {
  display: flex;
  flex-shrink: 0;
  text-decoration: none;
}
.footer-logo {
  width: 65px;
  height: 82px;
  object-fit: contain;
}
.footer-brand-text {
  min-width: 0;
}
.footer-company-name {
  margin: 2px 0 8px;
  color: var(--footer-heading);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-slogan {
  max-width: 225px;
  margin: 0;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.55;
}
/* =========================================================
   ССЫЛКИ КОМПАНИИ
   ========================================================= */
.footer-company-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-left: 79px;
}
.footer-company-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--footer-link);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-company-links a:hover {
  color: var(--footer-link-hover);
  transform: translateX(2px);
}
.footer-company-links img {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  object-fit: contain;
}
/* =========================================================
   ЗАГОЛОВКИ
   ========================================================= */
.footer-heading {
  margin: 0 0 14px;
  color: var(--footer-heading);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* =========================================================
   СПИСКИ
   ========================================================= */
.footer-list,
.products-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list li,
.products-list li {
  margin: 0 0 9px;
}
.footer-list a,
.products-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-list a:hover,
.products-list a:hover {
  color: var(--footer-link-hover);
  transform: translateX(2px);
}
.footer-list img,
.products-list img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 2px;
  object-fit: contain;
}
.footer-services .footer-list img {
    filter: brightness(0) saturate(100%) invert(61%) sepia(34%) saturate(4700%) hue-rotate(186deg) brightness(103%) contrast(101%);
}
/* =========================================================
   ПРОДУКЦИЯ — ДВЕ КОЛОНКИ
   ========================================================= */
.products-list {
  column-count: 2;
  column-gap: 25px;
}
.products-list li {
  break-inside: avoid;
}
/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}
.footer-contact > span,
.footer-contact > a {
  min-width: 0;
}
.footer-contact span {
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.55;
}
.footer-contact a {
  color: var(--footer-text);
  word-break: break-word;
}
.footer-contact a:hover {
  color: var(--footer-link);
}
.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  object-fit: contain;
  opacity: 0.95;
}
/* =========================================================
   НИЖНИЙ БЛОК ДОВЕРИЯ
   ========================================================= */
.footer-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--footer-divider);
  padding: 18px 0 16px;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 28px;
  box-sizing: border-box;
}
.footer-trust-item:first-child {
  padding-left: 4px;
}
.footer-trust-item:not(:last-child) {
  border-right: 1px solid var(--footer-divider);
}
.footer-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 16px;
}
.footer-trust-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(91%) sepia(8%) saturate(500%) hue-rotate(175deg) brightness(110%) contrast(95%);
  opacity: 0.95;
}
.footer-trust-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.footer-trust-text strong {
  display: block;
  margin-bottom: 3px;
  color: var(--footer-heading);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.footer-trust-text span {
  display: block;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.45;
}
/* =========================================================
   COPYRIGHT
   ========================================================= */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-top: 1px solid var(--footer-divider);
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.footer-bottom a {
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--footer-link);
}

.footer-bottom .footer-divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.30);
  user-select: none;
}
/* =========================================================
   ПЛАНШЕТ
   ========================================================= */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1.1fr 1.4fr 0.9fr 1.1fr;
  }
  .footer-column {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-company {
    padding-left: 4px;
  }
  .footer-company-links {
    padding-left: 79px;
  }
  .footer-trust-item {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-trust-item:first-child {
    padding-left: 4px;
  }
  .footer-trust-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  .footer-trust-icon img {
    width: 38px;
    height: 38px;
  }
}
/* =========================================================
   ПЛАНШЕТ / НЕБОЛЬШИЕ ЭКРАНЫ
   ========================================================= */
@media (max-width: 850px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
  .footer-column {
    padding: 0 18px;
  }
  .footer-column:nth-child(2)::after {
    display: none;
  }
  .footer-column:nth-child(3)::after {
    display: block;
  }
  .footer-company {
    padding-left: 4px;
  }
  .footer-products {
    padding-right: 4px;
  }
  .footer-trust {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .footer-trust-item:nth-child(2) {
    border-right: none;
  }
  .footer-trust-item:nth-child(3) {
    padding-left: 4px;
  }
}
/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */
@media (max-width: 600px) {
  .site-footer {
    padding: 0;
  }
  .footer-container {
    border-radius: 14px;
    padding: 0 14px;
  }
  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 0 8px;
  }
  .footer-column {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--footer-divider);
  }
  .footer-column::after {
    display: none !important;
  }
  .footer-company {
    padding-top: 4px;
  }
  .footer-brand {
    justify-content: flex-start;
  }
  .footer-company-links {
    padding-left: 79px;
  }
  .footer-heading {
    margin-bottom: 12px;
  }
  .products-list {
    column-count: 1;
  }
  .footer-trust {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
  }
  .footer-trust-item,
  .footer-trust-item:first-child,
  .footer-trust-item:nth-child(3) {
    width: 100%;
    padding: 14px 0;
    border-right: none;
    border-bottom: 1px solid var(--footer-divider);
  }
  .footer-trust-item:last-child {
    border-bottom: none;
  }
  .footer-trust-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    margin-right: 14px;
  }
  .footer-trust-icon img {
    width: 40px;
    height: 40px;
  }
  .footer-trust-text strong {
    font-size: 13px;
  }
  .footer-trust-text span {
    font-size: 12px;
  }
  .footer-bottom {
    min-height: 42px;
    font-size: 11px;
  }
  .footer-bottom {
  min-height: 42px;
  padding: 8px 4px;
  gap: 0;
  flex-wrap: wrap;
  font-size: 11px;
}

.footer-bottom a {
  font-size: 11px;
}

.footer-bottom .footer-divider {
  margin: 0 7px;
}
}
/* =========================================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ
   ========================================================= */
@media (max-width: 380px) {
  .footer-brand {
    gap: 10px;
  }
  .footer-logo {
    width: 55px;
    height: 70px;
  }
  .footer-company-links {
    padding-left: 65px;
  }
  .footer-slogan {
    font-size: 12px;
  }
  .footer-trust-item {
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 3px;
    padding: 9px 0;
  }
  .footer-bottom .footer-divider {
    display: none;
  }
}