/* Footer: a mint rounded card closing the page, like the hero and the booking card open it. Brand and booking action, the services, the clinic's contacts, then a quiet line of legal facts. */
.brxe-section.st-footer {
  display: block; width: auto; margin: var(--space-sm); padding: var(--space-3xl) 0 var(--space-xl);
  border-radius: var(--radius-lg); background: var(--color-mint); color: var(--color-ink);
  font-family: var(--font-body); font-weight: 400;
}
.brxe-container.st-footer__inner { display: block; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: calc(var(--gutter) + var(--space-sm)); }
.brxe-block.st-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: start; }
.brxe-block.st-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); min-width: 0; }
.brxe-block.st-footer__col { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }

.brxe-logo.st-footer__logo {
  max-width: none; font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--display-weight); font-synthesis: none;
  letter-spacing: var(--tracking-display); line-height: 1.15; text-wrap: balance; text-decoration: none; color: var(--color-ink);
}
.brxe-text-basic.st-footer__about { max-width: 38ch; margin: 0 0 var(--space-xs); font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }
.brxe-heading.st-footer__title { margin: 0; font-family: var(--font-body); font-size: var(--text-lg); font-weight: var(--weight-strong); line-height: 1.25; letter-spacing: 0; color: var(--color-ink); }

.brxe-nav-menu.st-footer__menu .bricks-nav-menu { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.brxe-nav-menu.st-footer__menu .bricks-nav-menu > li { margin: 0; }
.brxe-nav-menu.st-footer__menu .bricks-nav-menu a { display: inline-block; padding: var(--space-3xs) 0; font-size: var(--text-md); line-height: 1.4; color: var(--color-ink-2); text-decoration: none; }
.brxe-nav-menu.st-footer__menu .bricks-nav-menu a:focus-visible,
.st-footer__link:focus-visible,
.st-footer__line a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--space-3xs); }

/* The contacts list is shared with the booking card; here it sits on mint, so its light-on-deep colours turn dark. */
.st-footer .st-contacts { margin: 0; }
.st-footer .st-contacts__icon { color: var(--color-accent); }
.st-footer .st-contacts__link { color: var(--color-ink); text-decoration-color: color-mix(in oklab, var(--color-ink) 40%, transparent); }
.st-footer .st-contacts__route { display: inline-block; margin-left: 0; margin-top: var(--space-3xs); }

.brxe-block.st-footer__bottom {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-xl);
  margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule);
}
.st-footer__line { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.brxe-text-link.st-footer__link { font-size: var(--text-sm); line-height: 1.5; }
.st-footer__link { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--color-ink-2) 40%, transparent); text-underline-offset: 0.2em; }
.st-footer__line a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.brxe-block.st-footer__bottom .st-footer__line:last-child { margin-left: auto; }

@media (hover: hover) and (pointer: fine) {
  .brxe-nav-menu.st-footer__menu .bricks-nav-menu a:hover,
  .st-footer__link:hover,
  .st-footer__line a:hover { color: var(--color-ink); }
}

@media (max-width: 60rem) {
  .brxe-section.st-footer { margin: var(--space-xs); border-radius: var(--radius-card); padding: var(--space-2xl) 0 var(--space-lg); }
  .brxe-container.st-footer__inner { padding-inline: var(--gutter); }
  .brxe-block.st-footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .brxe-block.st-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: var(--space-xl); }
  .brxe-block.st-footer__bottom .st-footer__line:last-child { margin-left: 0; }
}

/* The footer wordmark (inc/brand.php) a size up from the header's. */
.brxe-logo.st-footer__logo .st-brand__mark { width: 52px; height: 52px; border-radius: 16px; }
.brxe-logo.st-footer__logo .st-brand__icon { width: 30px; height: 30px; }
.brxe-logo.st-footer__logo .st-brand__name { font-size: var(--text-xl); }
.brxe-logo.st-footer__logo .st-brand__tag { font-size: var(--text-sm); }
