/* ===============================
   FOOTER — Light Yellow / Grey (your palette)
   (same structure, only colors + shadows updated)
=============================== */

.site-footer {
  margin-top: 60px;
  padding: 40px 0 30px;

  /* светлый единый фон + мягкие желтые акценты */
  background:
    radial-gradient(circle at 12% 0, rgba(253, 219, 58, 0.24), transparent 52%),
    radial-gradient(circle at 88% 100%, rgba(65, 68, 75, 0.08), transparent 55%),
    #f6f4e6;

  border-top: 1px solid rgba(65, 68, 75, 0.16);
  color: #41444b;

  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;

  /* убираем "неоновый" blur — в светлой теме выглядит грязно */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  box-shadow: 0 -16px 40px rgba(65, 68, 75, 0.08);
}

/* мягкое свечение на фоне (желтое) */
.site-footer::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(70% 70% at 18% 0%, rgba(253, 219, 58, 0.22), transparent 65%),
    radial-gradient(70% 70% at 85% 110%, rgba(253, 219, 58, 0.12), transparent 70%);
  opacity: 0.55;
  transition: opacity .45s ease;
  pointer-events: none;
}
.site-footer:hover::before { opacity: 0.75; }

/* ===== 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: #41444b;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  transition: color .25s ease, transform .18s ease;
  position: relative;
}

.footer-main .logo:hover {
  color: #2f3238;
  transform: translateY(-1px);
}

.footer-main .logo img {
  max-width: 140px;
  height: auto;
}

/* ===== Links (colors updated) ===== */
.site-footer a,
.site-footer address {
  position: relative;
  color: rgba(65, 68, 75, 0.86);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 4px 2px;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    transform 0.18s ease;
}

/* новый hover (не "неоновая дымка") — мягкий желтый underline + фон */
.site-footer a::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -2px;
  height: 28px;
  border-radius: 999px;

  background: rgba(253, 219, 58, 0.22);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: -1;
}

/* тонкая желтая линия под ссылкой */
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;

  background: linear-gradient(90deg, rgba(253,219,58,0), rgba(253,219,58,1), rgba(253,219,58,0));
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
}

.site-footer a:hover {
  color: #1f2227;
  transform: translateY(-1px);
}

.site-footer a:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.site-footer a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ===== 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(65, 68, 75, 0.18);
  background: rgba(255, 255, 255, 0.7);

  box-shadow: 0 10px 22px rgba(65, 68, 75, 0.10);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 219, 58, 0.95);
  background: rgba(253, 219, 58, 0.25);
  box-shadow: 0 14px 26px rgba(65, 68, 75, 0.14);
}

/* ===== 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: rgba(82, 87, 93, 0.82);
}

/* ===== Links list ===== */
.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(65, 68, 75, 0.14);
  font-size: 12px;
  color: rgba(82, 87, 93, 0.82);
}

.footer-bottom p { margin: 0; }

/* акцент внизу — желтый */
.footer-bottom p span {
  color: #1f2227;
  font-weight: 900;
  background: linear-gradient(90deg, #fdde57, #fdc93a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px){
  .footer-contacts { align-items: center; }
  .footer-links { align-items: center; }
  .site-footer{ margin-top: 30px; padding: 24px 0 22px; }
}
