/* ===============================
   FOOTER — SUDOLAB neon style
=============================== */

.site-footer {
  --footer-accent: var(--accent-2);      /* cyan */
  --footer-accent-alt: var(--accent);    /* pink */
  --footer-text: var(--text-main);
  --footer-muted: var(--text-muted);

  margin-top: 60px;
  padding: 28px 0 22px;
 background: linear-gradient(to bottom, rgba(3, 6, 24, 0.356), rgba(3, 6, 24, 0.418), rgba(3, 6, 24, 0.384));
  border-top: 1px solid rgba(124, 144, 255, 0.32);
  color: var(--footer-muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  backdrop-filter: blur(18px);
}

/* Layout */

.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}


/* Brand */

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--footer-text);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-main .logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 6px;
}

/* Links & Address */

.site-footer a,
.site-footer address {
  position: relative;
  color: var(--footer-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 2px 0;
  text-transform: uppercase;
  transition:
    color 0.22s ease,
    transform 0.22s ease,
    text-shadow 0.22s ease,
    opacity 0.22s ease;
}

.site-footer address {
  font-style: normal;
}

/* ≡ ХОВЕР БЕЗ ЛИНИИ — МЯГКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */

.site-footer a:hover {
  color: var(--text-main);
  transform: translateY(-2px);

  text-shadow:
    0 0 6px rgba(77, 243, 255, 0.45),
    0 0 10px rgba(255, 79, 216, 0.35);
}

/* Social */

.footer-social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.06), transparent 70%);
  color: #e5e7eb;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.footer-social a:hover {
  background: radial-gradient(circle at 30% 0, rgba(77, 243, 255, 0.55), transparent 70%);
  color: #ffffff;
  border-color: var(--footer-accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.95);
}

/* Contacts */

.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  align-items: flex-start;
}

.footer-contacts address {
  font-style: normal;
}

/* Links */

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  align-items: flex-start;
}

/* Bottom */

.footer-bottom {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 41, 77, 0.85);
  font-size: 11.5px;
  color: var(--footer-muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p span {
  color: var(--footer-accent);
  font-weight: 700;
}

@media (max-width: 640px) {
  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .footer-main {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contacts,
  .footer-links {
    align-items: center;
  }

  .site-footer {
    margin-top: 40px;
    padding: 22px 0 18px;
  }
}