/* ===============================
   FOOTER — Green Neon Electric
   Hover-эффект как в хедере
=============================== */

.site-footer {
  margin-top: 60px;
  padding: 40px 0 30px;
  background:
    radial-gradient(circle at 0 0, rgba(186, 255, 79, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(3, 7, 15, 0.96);
  border-top: 1px solid rgba(186, 255, 79, 0.45);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* мягкое неоновое свечение на фоне */
.site-footer::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(80% 80% at 20% 0%, rgba(186, 255, 79, 0.2), transparent 70%),
    radial-gradient(70% 70% at 80% 100%, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0.45;
  transition: opacity .45s ease;
  pointer-events: none;
}
.site-footer:hover::before { opacity: 0.7; }

/* ===== Layout ===== */
.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .footer-row { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .footer-row { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-main { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-contacts, .footer-links { align-items: center; }
}

/* ===== Logo ===== */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}

.footer-main .logo img {
  max-width: 140px;
  height: auto;
}

/* ===== Ссылки и address ===== */
.site-footer a,
address {
  position: relative;
  color: rgba(229, 231, 235, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 4px 2px;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    transform 0.18s ease;
}

/* неоновый электрический hover как в хедере */
.site-footer a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(186, 255, 79, 0.6) 20%,
    rgba(186, 255, 79, 0.9) 50%,
    rgba(186, 255, 79, 0.6) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  transform: scale(0.9);
  filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.site-footer a:hover::before {
  opacity: 1;
  transform: scale(1);
  animation: neonPulse 1.6s linear infinite;
}

/* если вдруг нет анимации в файле — продублируем */
@keyframes neonPulse {
  0% {
    background-position: 200% 0;
    opacity: 0.7;
  }
  50% {
    background-position: 100% 0;
    opacity: 1;
  }
  100% {
    background-position: -200% 0;
    opacity: 0.7;
  }
}

/* ===== Social Links ===== */
.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(186, 255, 79, 0.5);
  background: rgba(5, 10, 20, 0.96);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.footer-social a:hover {
  border-color: rgba(186, 255, 79, 0.9);
  background: rgba(10, 16, 30, 1);
}

/* ===== Contacts ===== */
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  align-items: start;
}

.footer-contacts address {
  font-style: normal;
  color: var(--muted);
}

/* ===== Links ===== */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  align-items: start;
}

/* ===== Bottom ===== */
.footer-bottom {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(186, 255, 79, 0.35);
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p span {
  background: linear-gradient(90deg, #ffffff, #baff4f, #8aff8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

@media (max-width:720px){
  .footer-contacts { align-items: center; }
  .footer-links { align-items: center; }
  .site-footer{ margin-top: 30px; padding: 24px 0 22px; }
}
