/* ===============================
   FOOTER — LEGO HERO glass style
   (под зелёно-жёлтый сайт)
=============================== */

.site-footer {
  --footer-accent: var(--accent-green);
  --footer-accent-alt: var(--accent-yellow);
  --footer-text: var(--text-main);
  --footer-muted: var(--text-muted);

  margin-top: 60px;
  padding: 28px 0 22px;

  /* тёмное стекло поверх синего фона */
  background: linear-gradient(
    180deg,
    rgba(5, 10, 32, 0.92),
    rgba(5, 10, 32, 0.96)
  );
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--footer-muted);

  font-family: "Nunito", 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;
}



/* ===== Brand / logo ===== */

.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);
}

.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,
    text-shadow 0.22s ease,
    opacity 0.22s ease;
}

.site-footer address {
  font-style: normal;
}

/* мягкий hover без движения и жёстких неонов */
.site-footer a:hover {
  color: var(--footer-text);
  text-shadow:
    0 0 6px rgba(255, 214, 50, 0.4),
    0 0 10px rgba(47, 180, 61, 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.45);
  background: radial-gradient(
    circle at 30% 0,
    rgba(255, 255, 255, 0.06),
    rgba(7, 11, 30, 0.9)
  );
  color: #e5e7eb;
  backdrop-filter: blur(10px);
  /* без теней и подскока */
  box-shadow: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.footer-social a:hover {
  background: radial-gradient(
    circle at 30% 0,
    rgba(255, 214, 50, 0.35),
    rgba(7, 11, 30, 0.95)
  );
  color: #ffffff;
  border-color: var(--footer-accent-alt);
}

/* ===== Contacts / Links columns ===== */

.footer-contacts,
.footer-links {
  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;
}

/* ===== Bottom ===== */

.footer-bottom {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 32, 70, 0.9);
  font-size: 11.5px;
  color: var(--footer-muted);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p span {
  color: var(--footer-accent-alt);
  font-weight: 700;
}



@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@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;
  }
   .footer-contacts, .footer-links{
    align-items: center;
  }
}