/* Shared footer, independent of the legacy template's footer overrides. */
.site-footer {
  padding: 64px 0 0;
  background: #202020;
  color: #c0c5cc;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.site-footer-grid > * { min-width: 0; }

.site-footer a {
  color: #c0c5cc;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.site-footer a:hover { color: #fff; }

.site-footer a:focus-visible {
  outline: 2px solid #56c2f3 !important;
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer .site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.site-footer-brand img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
}

.site-footer-description { max-width: 310px; margin: 0 0 14px; }

.site-footer .site-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #56c2f3;
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer-links, .site-footer-social {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer-links a {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 0;
  line-height: 1.5;
}

.site-footer-links a[aria-current="page"] { color: #fff; }

.site-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.site-footer-phone > span:last-child { white-space: nowrap; }

.site-footer-icon, .site-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #484848;
  border-radius: 50%;
  background: #2c2c2c;
  color: #fff;
  font-size: 17px;
}

.site-footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer-social a:hover { background: #3b3b3b; }

.site-footer-bottom {
  margin-top: 44px;
  padding: 22px 0;
  border-top: 1px solid #414141;
  color: #b1b6bd;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.site-footer-bottom p { margin: 0; }

@media (min-width: 576px) and (max-width: 991px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .site-footer-about { grid-column: 1 / -1; }
  .site-footer-description { max-width: 440px; }
}

@media (max-width: 575px) {
  .site-footer { padding-top: 44px; }
  .site-footer .container { padding-left: 22px; padding-right: 22px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
  .site-footer-bottom { margin-top: 32px; padding: 20px 0; }
}

@media (max-width: 379px) {
  .site-footer-links { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a { transition: none; }
}
