/* ============================================================
   Site chrome for the redesign: top bar, header and footer.
   Standalone — needs only the design-system tokens (ds/styles.css),
   so the homepage (Design Component) and the content pages (style.css)
   share one header and footer.
   ============================================================ */

/* Content pages: headings in the redesign's display face. The design system's
   display family ships one weight, so the old 800/900 would fall back. */
/* (Scoped to .hs-page so none of it reaches the homepage's own inline styles.) */
.hs-page { background: var(--cream-00); font-family: var(--font-body); }
.hs-page .display, .hs-page h1, .hs-page h2 { font-family: var(--font-display); font-weight: 400; }
.hs-page h3, .hs-page h4, .hs-page .card-title { font-family: var(--font-display-2); }
.hs-page .kicker, .hs-page .eyebrow { font-family: var(--font-accent); }
.hs-page p, .hs-page li, .hs-page input, .hs-page button, .hs-page .btn { font-family: var(--font-body); }

/* ── Top bar ── */
.hs-top {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 24px; background: var(--charcoal-90); color: var(--cream-00);
  font-family: var(--font-accent); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.hs-top:hover { color: var(--cream-00); text-decoration: underline; }

/* ── Header ── */
.hs-nav {
  position: sticky; top: 0; z-index: 300;
  background: var(--cream-00); border-bottom: 3px solid var(--charcoal-90);
}
.hs-nav-inner {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 24px;
}
.hs-brand { display: flex; align-items: center; gap: 20px; flex-shrink: 0; text-decoration: none; }
.hs-brand img { height: 28px; width: auto; display: block; }
.hs-brand img.hs-wordmark { height: 30px; }
.hs-brand span {
  font-family: var(--font-display-2); font-weight: 700; font-size: 14px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--charcoal-90); line-height: 1.05; max-width: 112px;
}
.hs-links {
  display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap;
  font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.hs-links a { color: var(--charcoal-90); text-decoration: none; }
.hs-links a:hover, .hs-links a.active { color: var(--red-60); }
.hs-links .hs-phone { color: var(--charcoal-60); font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14px; }
.hs-cta, .hs-links .hs-cta {
  background: var(--red-60); color: #fff; border: 2px solid var(--charcoal-90);
  padding: 9px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.hs-links .hs-cta:hover { background: var(--red-70); color: #fff; }
.hs-links .hs-cta:active { transform: translateY(2px); box-shadow: none; }
.hs-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 2px solid var(--charcoal-90); border-radius: var(--radius-sm); background: var(--cream-00);
  color: var(--charcoal-90); cursor: pointer;
}
.hs-toggle .hs-x { display: none; }
.hs-toggle.open .hs-x { display: block; }
.hs-toggle.open .hs-bars { display: none; }

@media (max-width: 979px) {
  .hs-toggle { display: flex; }
  .hs-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; gap: 0;
    flex-direction: column; align-items: stretch; background: var(--cream-00);
    border-bottom: 3px solid var(--charcoal-90); box-shadow: var(--shadow-card); font-size: 14px;
  }
  .hs-links.open { display: flex; }
  .hs-links a { display: block; padding: 14px 24px; border-top: 2px solid var(--charcoal-90); }
  .hs-links .hs-phone { font-size: 16px; }
  .hs-links .hs-cta { margin: 14px 24px 18px; text-align: center; padding: 14px 18px; box-shadow: var(--shadow-card); }
}

/* ── Footer ── */
.hs-foot { background: var(--cream-00); border-top: 3px solid var(--charcoal-90); padding: clamp(36px, 4vw, 56px) 24px; }
.hs-foot-grid {
  max-width: 1240px; margin: 0 auto; display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.hs-foot-brand { display: flex; align-items: center; gap: 10px; }
.hs-foot-brand img { height: 42px; width: auto; display: block; }
.hs-foot-brand span {
  font-family: var(--font-display-2); font-weight: 700; font-size: 15px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--charcoal-90); line-height: 1.05; max-width: 120px;
}
.hs-foot p { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--charcoal-60); margin: 16px 0 0; max-width: 34ch; }
.hs-foot-phone { display: inline-block; margin-top: 14px; font-family: var(--font-display-2); font-weight: 700; font-size: 18px; color: var(--charcoal-90); text-decoration: none; }
.hs-foot-phone:hover { color: var(--red-60); }
.hs-foot h3 {
  font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--charcoal-40); margin: 0;
}
.hs-foot-col { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; font-family: var(--font-body); font-size: 14px; }
.hs-foot-col a { color: var(--charcoal-90); text-decoration: none; }
.hs-foot-col a:hover { color: var(--red-60); text-decoration: underline; }
.hs-foot-col span { color: var(--charcoal-60); line-height: 1.45; }
.hs-foot-areas { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--charcoal-60); margin: 14px 0 0; }
.hs-foot-bottom {
  max-width: 1240px; margin: 28px auto 0; padding-top: 20px; border-top: 2px solid var(--border-subtle);
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  font-family: var(--font-body); font-size: 13px; color: var(--charcoal-40);
}
/* Room for the sticky mobile booking bar on pages that have one. */
@media (max-width: 900px) {
  body:has(.mobile-cta) .hs-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ── Lockii's idle overlay ──
   widget.js keeps a transparent, full-screen <iframe class="lockii-overlay">
   mounted over every page, idling at pointer-events:none until one of its
   popups opens (it then switches the iframe to pointer-events:auto). Taps
   pass through it, but touch browsers send swipes that start over it to the
   page itself, so any scroll box underneath, like the booking flow's start and
   end time lists, can't be scrolled on a phone. Take it out of the way only
   while Lockii says it's idle; the moment Lockii opens a popup, it shows. */
iframe.lockii-overlay[style*="pointer-events: none"],
iframe.lockii-overlay[style*="pointer-events:none"] { visibility: hidden; }
