.site-footer {
  --yellow: #f8c20f;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .9fr) minmax(0, 1.25fr);
  flex: none;
  min-height: 112px;
  padding-block: 14px;
  padding-inline: clamp(24px, 5.5vw, 88px);
  gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid rgba(248, 194, 15, .15);
  background: #070f19;
  font-size: 13px;
}

.footer-address {
  line-height: 1.65;
}

.footer-address p + p {
  color: #95a4b7;
}

.footer-map {
  display: block;
  width: 100%;
  height: 140px;
  border: 1px solid rgba(220, 228, 238, .2);
  border-radius: 5px;
  background: var(--teal-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}

.site-footer .directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 5px;
  color: var(--yellow);
  font-size: 14px;
}

.directions-link:hover {
  text-decoration: underline;
}

.footer-contacts {
  display: grid;
  justify-self: end;
  max-width: 100%;
  gap: 8px;
  color: #dce4ee;
  font-weight: 500;
}

.footer-contacts a {
  display: inline;
  font-weight: 600;
}

.footer-contacts span {
  display: inline-block;
}

.footer-contacts p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-self: flex-start;
  margin-top: .2em;
  color: var(--yellow);
}

.footer-contacts a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .site-footer { font-size: 13px; gap: 20px; min-height: 110px; padding-block: 20px; }
}
@media (max-width: 920px) {
  .site-footer { grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr); gap: 12px 20px; }
  .footer-map { grid-column: 2; grid-row: 1 / span 2; height: 160px; }
  .footer-contacts { grid-column: 1; justify-self: start; }
}
@media (max-width: 620px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; font-size: 12px; line-height: 1.5; }
  .footer-map { grid-column: 1; grid-row: 3; }
}
@media (min-width: 621px) {
  .footer-map { height: clamp(80px, 13dvh, 116px); }
}
@media (min-width: 621px) and (max-height: 740px) {
  .site-footer { min-height: 94px; padding-block: 16px; }
}
@media (min-width: 621px) and (max-height: 600px) {
  .site-footer { padding-block: 10px; }
}
