.site-footer.reference-footer {
  --footer-accent: #bc18d4;
  --footer-line: #263039;
  background: #091015;
  color: #e0e2e5;
  font-size: 16px;
}
.reference-footer-grid {
  max-width: 1200px;
  margin: auto;
  padding: 56px 28px 46px;
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) .85fr 1fr minmax(190px, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.reference-footer-logo { color: #fff; }
.reference-footer-intro p { margin: 22px 0 16px; line-height: 1.8; }
.reference-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.reference-footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e3e7;
  border-radius: 50%;
  background: #fff;
  color: #9415a9;
  font: 700 17px Arial, sans-serif;
}
.reference-footer-group h2 {
  position: relative;
  color: #fff;
  font-size: 24px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--footer-line);
}
.reference-footer-group h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 47px;
  height: 2px;
  background: var(--footer-accent);
}
.reference-footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.reference-footer-group li { display: flex; gap: 10px; align-items: baseline; }
.reference-footer-group li::before {
  content: "";
  display: inline-block;
  flex: 0 0 7px;
  height: 7px;
  background: var(--footer-accent);
  align-self: center;
}
.reference-footer-group li a { padding-block: 8px; }
.reference-footer-group address {
  display: grid;
  gap: 12px;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.reference-footer-bottom {
  max-width: 1144px;
  margin: auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--footer-line);
  display: flex;
  gap: 12px 20px;
  align-items: center;
  flex-wrap: wrap;
}
.reference-footer-bottom small { margin-right: auto; }
.reference-footer .reference-footer-top {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #940d86;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  margin-left: auto;
}
.reference-footer a:hover { text-decoration: underline; }
.reference-footer a:focus-visible { outline: 2px solid #e989fa; outline-offset: 4px; }
@media (max-width: 1199px) { .reference-footer-bottom { margin-inline: 28px; } }
@media (max-width: 870px) {
  .reference-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .reference-footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 25px 14px 32px; }
  .reference-footer-group h2 { margin-bottom: 18px; }
  .reference-footer-group li a { padding-block: 11px; }
  .reference-footer-bottom { margin-inline: 14px; }
  .reference-footer-bottom small { width: 100%; }
}
