.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(36, 115, 93, .24), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(212, 168, 77, .12), transparent 24%),
    #0d2b24;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.site-footer .container { position: relative; z-index: 1; }
.footer-grid { align-items: start; }
.footer-grid > * { min-width: 0; }
.footer-grid h3 { margin-bottom: 20px; font-size: 21px; }

.footer-brand-block {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.footer-grid .footer-brand-block .brand { display: flex; margin: 0 0 16px; color: #fff; }
.footer-brand-block p { max-width: 430px; margin: 0; color: #bcd0c9; }
.footer-accent { display: block; width: 52px; height: 3px; margin-top: 23px; border-radius: 99px; background: var(--gold); }

.footer-contact-block { display: grid; gap: 12px; }
.footer-grid .footer-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0;
  color: #dceae5;
}

.footer-grid a.footer-contact-item:hover { color: #fff; }
.footer-item-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #f0c86e;
  background: rgba(212, 168, 77, .1);
  border: 1px solid rgba(212, 168, 77, .18);
}

.footer-item-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-item address { font-style: normal; color: #bcd0c9; line-height: 1.55; }
.footer-contact-item > span:last-child { overflow-wrap: anywhere; padding-top: 4px; }

.footer-links { padding-left: 10px; }
.footer-grid .footer-links a { position: relative; width: fit-content; margin: 9px 0; color: #c6d8d2; transition: color .2s, transform .2s; }
.footer-grid .footer-links a::before { content: ""; position: absolute; left: -15px; top: 50%; width: 6px; height: 1px; background: var(--gold); opacity: 0; transition: opacity .2s; }
.footer-grid .footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-grid .footer-links a:hover::before { opacity: 1; }

.footer-socials {
  display: grid;
  grid-template-columns: minmax(190px, .6fr) minmax(0, 2.4fr);
  gap: 28px;
  align-items: center;
  margin-top: 38px;
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: rgba(5, 24, 19, .35);
}

.footer-social-heading { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; }
.footer-social-list { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.footer-social-link {
  min-width: 46px;
  height: 46px;
  display: inline-grid;
  grid-template-columns: 24px 0fr;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 13px;
  color: #e8f2ee;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: grid-template-columns .25s, gap .25s, color .2s, background .2s, border-color .2s, transform .2s;
}

.footer-social-link svg { width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-social-link svg path, .footer-social-link svg .fill-icon { fill: currentColor; stroke: none; }
.footer-social-link span { min-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; }
.footer-social-link:hover, .footer-social-link:focus-visible { grid-template-columns: 24px 1fr; gap: 8px; color: #10231e; background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-bottom a { color: #dceae5; font-weight: 700; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-links { padding-left: 0; }
  .footer-socials { grid-template-columns: 1fr; }
  .footer-social-list { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .site-footer { padding-top: 45px; }
  .footer-brand-block { grid-column: auto; padding: 21px; }
  .footer-grid { gap: 34px; }
  .footer-socials { margin-top: 32px; padding: 20px; gap: 16px; }
  .footer-social-list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .footer-social-link, .footer-social-link:hover, .footer-social-link:focus-visible { width: 100%; height: 48px; grid-template-columns: 24px 0fr; gap: 0; padding: 0; }
  .footer-social-link span { display: none; }
  .footer-bottom > span { display: block; margin-top: 8px; }
}
