/* ── Canonical Site Footer — alexdryclean.net ─────────────────
   Loaded last on every page; values are explicit (no var()
   dependencies) so the footer renders identically sitewide.
   Geo columns are curated per page region in the HTML. */

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  padding: 0;
  margin-top: 0;
}

.site-footer a { text-decoration: none; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.4rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 52px 32px 36px;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin: 0 0 1rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
  display: block;
}

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1rem; }

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color 0.18s;
  text-decoration: none;
}

.footer-social-link:hover { color: #c9a96e; }
.footer-social-link svg { width: 20px; height: 20px; fill: currentColor; display: block; }

.footer-contact {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 0.4rem;
}

.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #c9a96e;
  margin: 0 0 0.85rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.35rem; }

.footer-col ul li a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  transition: color 0.15s;
  text-decoration: none;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

/* Current page's own area — geo-curated highlight on FAQ pages */
.footer-area-current a {
  color: #dfc28d;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.75rem;
}

.footer-bottom p { margin: 0; }

.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

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

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; padding: 36px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── iOS notch / landscape safe-area (viewport-fit=cover pages) ── */
@supports (padding: max(0px)) {
  .footer-inner {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  .footer-bottom {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  @media (max-width: 640px) {
    .footer-inner {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }
    .footer-bottom {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }
  }
}
