/* Final shared footer layer. Load this after page-specific styles. */
.site-footer {
  display: grid;
  gap: 30px;
  padding: 54px 8vw 30px;
  color: #303743;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(213, 173, 45, 0.34), rgba(222, 223, 220, 0.78) 22%, rgba(222, 223, 220, 0.78) 78%, rgba(213, 173, 45, 0.22)),
    #f5f5f2;
  background-size: 100% 1px, auto;
  background-repeat: no-repeat;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.site-footer .footer-brand { display: grid; gap: 18px; }
.site-footer .footer-brand > a { display: inline-flex; width: 108px; }
.site-footer .footer-brand img { display: block; width: 100%; height: auto; }

.site-footer .footer-brand > p {
  max-width: 365px;
  margin: 0;
  color: #6a7079;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.site-footer .footer-social { display: flex; align-items: center; gap: 10px; }
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #505864;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid #dde0e5;
  border-radius: 50%;
}
.site-footer .footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer .footer-social a:nth-child(2) svg { fill: currentColor; stroke: none; }

.site-footer .footer-nav {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(190px, 0.95fr);
  gap: 48px;
}
.site-footer .footer-nav div { display: grid; align-content: start; gap: 10px; }
.site-footer .footer-nav h2 {
  margin: 0 0 4px;
  color: #8b7428;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.site-footer .footer-nav a,
.site-footer .footer-legal a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  color: #4d5560;
  font-family: inherit;
  font-weight: 400;
  text-decoration: none;
}
.site-footer .footer-nav a { font-size: 14.5px; line-height: 1.45; }
.site-footer .footer-legal a { font-size: 12.5px; line-height: 1.4; }
.site-footer .footer-nav a:hover,
.site-footer .footer-legal a:hover { color: #8b7428; }

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  justify-content: space-between;
  padding-top: 22px;
  color: #747983;
  border-top: 1px solid #dedfdc;
  font-size: 13px;
  font-weight: 400;
}
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: flex-end; }

@media (max-width: 960px) {
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 780px) {
  .site-footer { gap: 26px; padding: 42px 24px 24px; }
  .site-footer .footer-main,
  .site-footer .footer-nav { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-bottom,
  .site-footer .footer-legal { justify-content: flex-start; }
}
