/* ============================================================
   Family & Lifestyle Medicine — Site footer
   Part 06 of 11. The cascade depends on load order:
   these files must stay linked in numeric sequence (see any page <head>).
   ============================================================ */

/* ---------- Footer ---------- */
.footer {
  background: var(--grad-slate);
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .92rem;
  position: relative;
  overflow: hidden;   /* also clips the watermark so it can bleed off the edge */
  isolation: isolate;
}

/* Oversized mark bleeding off the right edge, behind the columns. Decorative
   only — it is aria-hidden and must never sit above the text. */
.footer__watermark {
  position: absolute;
  z-index: -1;
  right: -17%;
  top: 50%;
  translate: 0 -50%;
  width: min(62%, 800px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand img {
  height: 66px; width: auto; margin-bottom: 1.2rem;
  /* No plate behind the mark; the logo's dark artwork would otherwise vanish
     into the slate footer, so render it as a white knockout instead.
     Delete this filter to show the logo in its original crimson/slate. */
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer__brand p { max-width: 34ch; }
.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-top: 1.2rem;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .8);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__social:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }

.footer__col h3 {
  color: #fff; font-family: var(--font-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer__col ul { display: grid; gap: .65rem; }
.footer__col a {
  color: rgba(255, 255, 255, .72);
  overflow-wrap: anywhere;
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__hours { margin-top: 1.1rem; font-size: .87rem; color: rgba(255, 255, 255, .6); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.footer__top {
  display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(255, 255, 255, .7);
  transition: color .22s var(--ease);
}
.footer__top svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.footer__top:hover { color: #fff; }
.footer__top:hover svg { transform: translateY(-3px); }

