/* ===============================
   FOOTER — Neon Fuchsia Edition
   Использует базовые переменные
=============================== */

.site-footer {
  margin-top: 60px;
  padding: 50px 0 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--pink-0));
  border-top: 1px dashed rgba(0, 0, 0, .12);
  box-shadow: inset 0 4px 12px rgba(255, 0, 168, .08);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Розовая дымка на фоне (появляется при ховере футера) */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 50% 50%, rgba(255, 0, 168, .1), transparent 70%);
  opacity: 0.35;
  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: 36px;
}

@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.2rem;
  transition: transform .3s ease, filter .3s ease;
}

.footer-main .logo img {
  max-width: 140px;
  height: auto;
  transition: filter .3s ease, transform .3s ease;
}

.footer-main .logo:hover img {
  filter: drop-shadow(0 0 14px rgba(255, 0, 168, .45));
  transform: scale(1.03);
}

/* ===== Social Links ===== */
.footer-social {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: all .3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--pink-1), var(--white));
  border-color: rgba(255, 0, 168, .25);
  box-shadow: var(--neon);
  color: var(--fuchsia);
}

/* ===== Contacts ===== */
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  align-items: start;
}

.footer-contacts a,
.footer-contacts address {
  color: var(--ink);
  text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease, transform .25s ease;
}

.footer-contacts a:hover {
  color: var(--ink);
  text-shadow: 0 0 14px rgba(255, 0, 170, 0.527), 0 0 28px rgba(255, 0, 170, 0.788);
}

.footer-contacts address {
  font-style: normal;
  color: var(--gray);
}

/* ===== Links ===== */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  align-items: start;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color .3s ease, text-shadow .3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fuchsia-3), var(--fuchsia));
  border-radius: 2px;
  transition: width .3s ease;
}

/* при наведении текст остаётся чёрным, но добавляется розовая дымка */
.footer-links a:hover {
  color: var(--ink);
    text-shadow: 0 0 14px rgba(255, 0, 170, 0.527), 0 0 28px rgba(255, 0, 170, 0.788);
}

.footer-links a:hover::after {
  width: 100%;
}


/* ===== Bottom ===== */
.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px dashed rgba(0, 0, 0, .12);
  font-size: 14px;
  color: var(--gray);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p span {
  background: linear-gradient(90deg, var(--fuchsia-3), var(--fuchsia));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--neon);
  font-weight: 800;
}

@media (max-width:720px){
.footer-contacts {
 
  align-items: center;
}

.footer-links {
  align-items: center;
}

.site-footer{
  margin-top: 30px;
    padding: 20px 0 26px;
}

}