/* ===============================
   FOOTER — Dyson Forestry (Cyber-Neon Orange/Red)
   Hover-эффект как в хедере: электрический “луч” + лёгкий подъём
=============================== */

.site-footer{
  /* локальные переменные под палитру Dyson Forestry */
  --accent:        #ff8a00;                 /* orange */
  --accent-2:      #ff3b2f;                 /* red-orange */
  --accent-soft:   rgba(255, 138, 0, 0.14);
  --accent-glow:   rgba(255, 138, 0, 0.32);
  --accent-glow-2: rgba(255, 59, 47, 0.22);

  --ink:           rgba(255,255,255,0.92);
  --muted:         rgba(255,255,255,0.68);

  margin-top: 60px;
  padding: 44px 0 32px;

  background:
    radial-gradient(circle at 0 0, rgba(255,138,0,0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255,59,47,0.12), transparent 55%),
    rgba(7, 8, 11, 0.96);

  border-top: 1px solid rgba(255,138,0,0.26);
  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: -22%;
  background:
    radial-gradient(80% 80% at 18% 0%, rgba(255,138,0,0.22), transparent 70%),
    radial-gradient(70% 70% at 82% 100%, rgba(255,59,47,0.18), transparent 70%),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,.05) 0px,
      rgba(255,255,255,.05) 1px,
      rgba(0,0,0,0) 6px,
      rgba(0,0,0,0) 10px
    );
  opacity: 0.42;
  transition: opacity .45s ease;
  pointer-events: none;
}
.site-footer:hover::before{ opacity: 0.70; }

/* ===== Layout ===== */
.footer-row{
  display: grid;
  grid-template-columns: 1.25fr 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;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);

  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}

.footer-main .logo img{
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255,138,0,.18));
}

/* ===== Links and address ===== */
.site-footer a,
.site-footer address{
  position: relative;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 5px 3px;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    transform 0.18s ease;
}

/* neon electric hover like header (orange/red beam) */
.site-footer a::before{
  content: "";
  position: absolute;
  inset: -2px -8px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,138,0,0.35) 18%,
    rgba(255,138,0,0.85) 48%,
    rgba(255,59,47,0.45) 78%,
    transparent 100%
  );
  background-size: 220% 100%;
  opacity: 0;
  transform: scale(0.92);
  filter: blur(10px);
  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: neonPulseDF 1.6s linear infinite;
}

/* если вдруг нет анимации в файле — продублируем */
@keyframes neonPulseDF{
  0%{
    background-position: 220% 0;
    opacity: 0.72;
  }
  50%{
    background-position: 110% 0;
    opacity: 1;
  }
  100%{
    background-position: -220% 0;
    opacity: 0.72;
  }
}

/* ===== Social Links ===== */
.footer-social{
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a{
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;

  border: 1px solid rgba(255,138,0,0.26);
  background: rgba(0, 0, 0, 0.20);

  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.18s ease;
}

.footer-social a:hover{
  border-color: rgba(255,138,0,0.68);
  background: rgba(255,255,255,0.05);
  box-shadow:
    0 0 18px rgba(255,138,0,0.18),
    0 0 14px rgba(255,59,47,0.12);
  transform: translateY(-2px);
}

/* optional: make svg icons match */
.footer-social svg{
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.88);
}

/* ===== 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(255,138,0,0.18);
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom p{ margin: 0; }

.footer-bottom p span{
  background: linear-gradient(90deg, #ffffff, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  letter-spacing: .06em;
}

@media (max-width: 720px){
  .footer-contacts{ align-items: center; }
  .footer-links{ align-items: center; }
  .site-footer{ margin-top: 30px; padding: 26px 0 22px; }
}
