.site-footer {
  position: relative;
  overflow: visible;
  padding: 82px 0 30px;
  color: rgba(255,255,255,.72);
  background: #102d2c;
  border-radius: 0;
}

.site-footer::before { content: none; }
.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: .95fr .52fr 1.38fr .88fr;
  gap: clamp(30px, 4vw, 52px);
  padding: 0 0 58px;
}

.footer-brand .brand {
  position: relative;
  isolation: isolate;
  margin-bottom: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand .brand__logo {
  width: 170px;
  opacity: .94;
  filter: brightness(0) invert(1);
}

.footer-brand .brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo.png") center / 100% 100% no-repeat;
  clip-path: polygon(76% 0, 100% 0, 100% 100%, 76% 100%, 76% 55%, 42% 55%, 42% 23%, 76% 23%);
  opacity: 1;
  pointer-events: none;
}

.footer-brand p {
  max-width: 270px;
  margin: 0 0 1.2em;
  font-size: .88rem;
}

.site-footer h3 {
  min-height: 0;
  margin: 0 0 20px;
  color: var(--white, #fff);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links { display: grid; gap: 10px; }
.footer-links a {
  width: auto;
  font-size: .88rem;
  transform: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--lime, #d5df28); transform: none; }

.footer-meta {
  display: grid;
  grid-template-columns: minmax(245px,1.42fr) minmax(90px,.58fr);
  gap: 24px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: auto;
}

.footer-contact a span:last-child {
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}

.footer-link__icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  color: var(--ink, #173432);
  background: var(--lime, #d5df28);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
}

.footer-map-wrap { min-width: 0; }
.footer-map {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 176px;
  align-items: flex-end;
  overflow: visible;
  padding: 20px;
  color: inherit;
  background:
    linear-gradient(rgba(213,223,40,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,223,40,.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(213,223,40,.16), transparent 31%),
    #214441;
  background-size: 28px 28px, 28px 28px, auto, auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius, 24px);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.footer-map:hover {
  border-color: rgba(213,223,40,.34);
  box-shadow: 0 18px 38px rgba(0,0,0,.15);
  transform: translateY(-3px);
}

.footer-map:focus-visible {
  border-color: var(--lime, #d5df28);
  outline: 3px solid var(--lime, #d5df28);
  outline-offset: 5px;
}

.footer-map__pin {
  position: absolute;
  top: -22px;
  right: 22px;
  z-index: 2;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--ink, #173432);
  background: var(--lime, #d5df28);
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 13px 26px rgba(0,0,0,.22);
  font-weight: 900;
  transform: rotate(-45deg);
  animation: shared-map-pin 2.7s ease-in-out infinite;
}

.footer-map__pin span { transform: rotate(45deg); font-size: .78rem; font-weight: 900; }
.footer-map__content { position: relative; z-index: 1; display: block; }
.footer-map__content strong { display: block; margin-bottom: 6px; color: var(--white, #fff); font-size: .95rem; }
.footer-map__address { display: grid; gap: 1px; margin-bottom: 12px; font-size: .78rem; line-height: inherit; }
.footer-map__address span { display: block; }
.footer-map__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 0; color: var(--lime, #d5df28); font-size: .79rem; font-weight: 850; }

@keyframes shared-map-pin {
  0%, 100% { translate: 0 -3px; }
  50% { translate: 0 3px; }
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 12px 0;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .76rem;
}

.footer-bottom > p,
.footer-bottom p {
  max-width: 820px;
  margin: 0;
  color: rgba(255,255,255,.5);
  text-align: center;
}

.footer-bottom span { color: rgba(255,255,255,.72); }
.footer-bottom__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  color: rgba(255,255,255,.68);
}

.footer-bottom__meta a {
  color: rgba(255,255,255,.72);
  font-weight: 750;
  transition: color .25s ease;
}
.footer-bottom__meta a:hover { color: var(--lime, #d5df28); }
.footer-bottom__meta a:focus-visible {
  color: var(--lime, #d5df28);
  outline: 2px solid var(--lime, #d5df28);
  outline-offset: 4px;
  border-radius: 3px;
}

@media (min-width: 1041px) {
  .footer-grid { align-items: start; }
  .site-footer h3 { height: 18px; margin-bottom: 18px; line-height: 18px; }
  .footer-links { grid-auto-rows: 32px; row-gap: 10px; }
  .footer-links a { display: flex; min-height: 32px; align-items: center; line-height: 1.35; }
}

@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1.05fr .55fr 1.4fr; }
  .footer-map-wrap { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: minmax(82px,.68fr) minmax(185px,1.32fr);
    gap: 34px 18px;
    padding-top: 0;
    padding-bottom: 44px;
  }
  .footer-brand { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; }
  .footer-brand .brand { margin-bottom: 18px; }
  .footer-brand .brand__logo { width: 190px; }
  .footer-brand p { max-width: 390px; margin-inline: auto; }
  .footer-brand__desktop-break { display: none; }
  .footer-navigation {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .footer-meta { display: contents; }
  .footer-meta > div:first-child {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }
  .footer-meta > div:last-child { grid-column: 1 / -1; grid-row: 4; }
  .footer-meta > div:last-child h3 { display: none; }
  .footer-meta > div:last-child .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-footer h3 { min-height: 0; margin-bottom: 15px; font-size: .7rem; letter-spacing: .1em; }
  .footer-links { gap: 8px; }
  .footer-links a { font-size: .76rem; line-height: 1.4; }
  .footer-contact a { align-items: flex-start; gap: 7px; }
  .footer-link__icon { width: 23px; height: 23px; flex-basis: 23px; }
  .footer-map-wrap { grid-column: 1 / -1; grid-row: 3; }
  .footer-map-wrap > h3 { text-align: center; }
  .footer-contact a span:last-child { white-space: nowrap; overflow-wrap: normal; }
  .footer-bottom__meta { flex-direction: row; align-items: center; gap: 8px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-map__pin { animation: none; }
}
