/* The website's footer on client pages (portal, order form, payment pages). Mirrors .footer in site.css. */
.site-foot { background: #fff; color: #374151; border-top: 1px solid #e3e8f0; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; margin-top: auto; }
.site-foot .sf-wrap { max-width: 1376px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); box-sizing: border-box; }
.site-foot .sf-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.site-foot .sf-logo { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1.2 "Cormorant Garamond", Georgia, serif; color: #1a2744; text-decoration: none; }
.site-foot .sf-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: #6b7280; }
.site-foot .sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.site-foot .sf-col h4 { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; }
.site-foot .sf-col a { color: #374151; text-decoration: none; }
.site-foot .sf-col a:hover { color: #1a2744; text-decoration: underline; }
.site-foot .sf-bottom { border-top: 1px solid #e3e8f0; }
.site-foot .sf-bottom .sf-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 24px; font-size: 12px; color: #6b7280; }
.site-foot .sf-bottom a { color: #6b7280; }
.site-foot { container-type: inline-size; }
.site-foot .sf-col a { overflow-wrap: anywhere; }
/* Sized by the footer's own width, so it also fits beside the portal's left rail. */
@container (max-width: 1050px) {
  .site-foot .sf-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .site-foot .sf-brand { grid-column: 1 / -1; }
}
@container (max-width: 700px) { .site-foot .sf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 400px) { .site-foot .sf-top { grid-template-columns: 1fr; } }
/* In the portal the footer sits under the content, beside the left rail. */
.lx-main { display: flex; flex-direction: column; min-height: 100vh; }
.lx-main > .lx-inner { width: 100%; box-sizing: border-box; }
.lx-main > .site-foot .sf-wrap { max-width: 1100px; }
