/* ===== ROOT ===== */
:root {
  --footer-bg: linear-gradient(135deg, #0b1626 0%, #13233a 100%);
  --footer-glow: rgba(0, 115, 198, 0.2);

  --footer-text: #cfd8e3;
  --footer-muted: #8fa3b8;

  --footer-link: #4da3ff;
  --footer-link-hover: #ffffff;

  --footer-heading: #ffffff;
  --footer-border: rgba(255,255,255,0.08);

  --footer-icon-size: 20px; /* стандартный размер иконок */
}

/* ===== ВЕРХНЯЯ ЛИНИЯ (ВАУ-ЭФФЕКТ) ===== */
.site-footer::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #0073c6, transparent);
  margin-bottom: 30px;
}

/* ===== ФУТЕР ===== */
.site-footer {
  position: relative;
  padding: 70px 0 30px;
  font-family: 'Inter', sans-serif;
  color: var(--footer-text);
  overflow: hidden;
}

/* glow */
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(circle, var(--footer-glow), transparent 70%);
}

/* ===== КОНТЕЙНЕР ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 40px;
  padding: 45px;

  background: var(--footer-bg);
  border-radius: 18px;
  border: 1px solid var(--footer-border);

  backdrop-filter: blur(14px);
  box-shadow: 
    0 30px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ===== КОЛОНКИ ===== */
.footer-column {
  transition: all 0.3s ease;
}

.footer-column:hover {
  transform: translateY(-4px);
}

/* ===== ЗАГОЛОВКИ ===== */
.footer-column h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;

  color: var(--footer-heading);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ===== ТЕКСТ ===== */
.footer-column p {
  font-size: 14px;
  color: var(--footer-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ===== СПИСКИ ===== */
.footer-column ul {
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

/* ===== ССЫЛКИ ===== */
.footer-column a {
  position: relative;
  color: var(--footer-link);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* анимация */
.footer-column a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--footer-link-hover);
  transition: 0.3s;
}

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

.footer-column a:hover::after {
  width: 100%;
}

/* ===== Иконки футера ===== */
.footer-icon {
  width: var(--footer-icon-size);
  height: var(--footer-icon-size);
  flex-shrink: 0;
  fill: var(--footer-link);
  transition: all 0.3s ease;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--footer-muted);
}

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

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

/* ===== Hover эффект на иконках ===== */
.footer-contact:hover .footer-icon {
  transform: scale(1.1);
  fill: var(--footer-link-hover);
}

/* ===== Логотип ===== */
.footer-logo-column img {
  max-width: 140px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* ===== НИЗ ===== */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--footer-muted);
  border-top: 1px solid var(--footer-border);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }

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

  .footer-contact {
    justify-content: center;
  }
}