.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 0;
  color: #171a14;
  background:
    radial-gradient(circle at 12% 10%, rgba(142, 234, 69, 0.22), transparent 30%),
    linear-gradient(145deg, #f8f5ec 0%, #f1ede2 100%);
  border-top: 1px solid #ddd8ca;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #111111 0 72%, #8eea45 72% 100%);
}

.site-footer .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  padding-top: 62px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.10);
}

.footer-brand > p {
  max-width: 360px;
  margin: 0 0 22px;
  color: #5d6459;
  font-size: 0.96rem;
  line-height: 1.75;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact a,
.footer-column a {
  color: #41463e;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact a {
  font-size: 0.92rem;
  font-weight: 750;
}

.footer-contact a:hover,
.footer-column a:hover {
  color: #4f9f19;
  transform: translateX(3px);
}

.footer-column h2 {
  position: relative;
  margin: 4px 0 22px;
  padding-bottom: 13px;
  color: #111111;
  font-size: 0.98rem;
  font-weight: 900;
}

.footer-column h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: #8eea45;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin: 0 0 12px;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  color: #5d6459;
  font-size: 0.91rem;
  font-weight: 680;
  line-height: 1.45;
}

.footer-bottom {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid #d8d3c6;
}

.footer-bottom p {
  margin: 0;
  color: #73796f;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-bottom strong {
  color: #22261f;
}

.footer-logo:focus-visible,
.footer-contact a:focus-visible,
.footer-column a:focus-visible {
  outline: 3px solid rgba(142, 234, 69, 0.75);
  outline-offset: 5px;
  border-radius: 5px;
}

@media (max-width: 980px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 52px;
  }

  .site-footer .container {
    width: min(100% - 32px, 1180px);
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .footer-bottom {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 28px;
  }
}
