/* ==========================================================================
   Site footer. Unconditionally dark regardless of site theme (matches the
   live site: footer text stays near-white in both light and dark mode, with
   only a slight opacity bump on dark — see --footer-text/--footer-link).
   Requires tokens.css + base.css.
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  padding: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
  align-items: start;
  padding: 56px 0 30px;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
}

/* Whole-pixel width+height (source PNG 1182x348; 180px width previously
   computed to a fractional 52.98px height via height:auto). */
.footer-brand-block .brand-logo {
  width: 180px;
  height: 53px;
}

.footer-summary,
.footer-service-area {
  max-width: 340px;
  margin: 0;
  color: var(--footer-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: var(--fs-label-sm);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-nav-list,
.footer-contact-list {
  display: grid;
  gap: 9px;
}

.footer-nav-list a,
.footer-contact-list a {
  color: var(--footer-link);
  font-size: 0.95rem;
  line-height: 1.35;
}

.footer-nav-list a:hover,
.footer-contact-list a:hover {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--footer-text);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--accent-color);
}

.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
