/* ==== block-3c356d5f2d ==== */

/* ============================================================
   NAV CALL PILL — MOBILE-ONLY (replaces Register in top nav <=640px)
   ============================================================ */

/* Default (desktop & tablet): hide the call pill */
.nav-cta-call {
  display: none;
}

/* Mobile (≤640px): show Call, hide Register */
@media (max-width: 640px) {
  .nav-right > .nav-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--ink, #003087);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.74rem;
    line-height: 1;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.08s ease-out, background 0.08s ease-out;
  }
  .nav-right > .nav-cta-call:active {
    transform: scale(0.94);
    background: #00214E;
    transition: transform 0.04s ease-out, background 0.04s ease-out;
  }
  .nav-right > .nav-cta-call svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  
  /* HIDE the Register pill on mobile — Call takes its place */
  .nav-right > .nav-cta-register {
    display: none !important;
  }
}

/* Below 360px: icon only */
@media (max-width: 360px) {
  .nav-right > .nav-cta-call {
    width: 40px;
    padding: 0;
    gap: 0;
    justify-content: center;
  }
  .nav-right > .nav-cta-call span { display: none; }
}

/* ==== block-a3977c8dcb ==== */

/* ============================================================
   SKIP-TO-CONTENT LINK — WCAG 2.4.1 (Bypass Blocks)
   Invisible until focused, jumps keyboard/screen-reader users
   past the navigation to the main content.
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink, #003087);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 99999;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px -4px rgba(0, 48, 135, 0.4);
  transition: top 0.2s ease-out;
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  top: 16px;
  outline: 3px solid var(--cyan, #00A9CE);
  outline-offset: 2px;
}

/* ==== block-b1e8942148 ==== */

/* ============================================================
   HIGH CONTRAST MODE — a11y toggle
   ============================================================ */
.a11y-btn-contrast {
  padding: 0 !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.a11y-btn-contrast svg {
  width: 18px;
  height: 18px;
}
.a11y-btn-contrast.active {
  background: var(--ink, #003087) !important;
  color: #ffffff !important;
}

/* High contrast mode — applied via .hc-mode on <html> */
html.hc-mode {
  filter: contrast(1.25);
}
html.hc-mode body {
  background:#BCDFF4 !important;
}
html.hc-mode * {
  text-shadow: none !important;
}
html.hc-mode a {
  text-decoration: underline !important;
}
html.hc-mode :focus-visible {
  outline: 3px solid #FFB800 !important;
  outline-offset: 2px !important;
}

/* ==== fab-unified-mobile ==== */

/* ============================================================
   UNIFIED MOBILE FAB STACK
   All 4 floating buttons → same-width pills, different colours
   Build: 20260527-3
============================================================ */
@media (max-width: 768px) {

  /* Hide labels on call/whatsapp by default (desktop keeps them icon-only) */
  .call-fab .fab-label,
  .whatsapp-fab .fab-label {
    display: inline-block !important;
    line-height: 1 !important;
    font-family: 'Manrope', system-ui, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
  }

  /* Common pill geometry — all 3 buttons identical shape */
  .book-fab,
  .call-fab,
  .whatsapp-fab {
    position: fixed !important;
    right: 16px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 44px !important;
    border-radius: 8px!important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 16px !important;
    font-family: 'Manrope', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.005em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 14px -2px rgba(0, 48, 135, 0.30), 0 2px 6px rgba(0, 0, 0, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    overflow: hidden !important;
  }
  
  /* Transition timing — separate from base transform/opacity for hide-show */
  .book-fab, .call-fab, .whatsapp-fab {
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.18s ease !important;
  }
  
  /* Hidden by default until user scrolls past threshold */
  .book-fab:not(.is-visible),
  .call-fab:not(.is-visible),
  .whatsapp-fab:not(.is-visible) {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
  }
  
  /* Visible state */
  .book-fab.is-visible,
  .call-fab.is-visible,
  .whatsapp-fab.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  /* Icon sizing — same for all 3 */
  .book-fab svg,
  .call-fab svg,
  .whatsapp-fab svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  /* Stacking order — bottom to top, 56px rhythm */
  .book-fab     { bottom: 16px !important; }
  .call-fab     { bottom: 72px !important; }
  .whatsapp-fab { bottom: 128px !important; }
  

  /* Distinct colours per button */
  .book-fab {
    background: linear-gradient(135deg, #003087 0%, #005EB5 100%) !important;
    color: #ffffff !important;
  }
  .call-fab {
    background: #007D8A !important;
    color: #ffffff !important;
  }
  .whatsapp-fab {
    background: #25D366 !important;
    color: #ffffff !important;
  }
  

  /* Near-footer adjustments — keep stack visible */
  .book-fab.is-near-footer  { bottom: 76px !important; }

  /* Active/tap state */
  .book-fab:active,
  .call-fab:active,
  .whatsapp-fab:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 0 2px 8px -2px rgba(0, 48, 135, 0.28), 0 1px 4px rgba(0, 0, 0, 0.10) !important;
  }

  /* Pulse on book — match new shape */
  .book-fab .book-fab-pulse {
    inset: -2px !important;
    border-radius: 8px!important;
  }

  /* Hide WhatsApp tooltip on mobile */
  .whatsapp-fab-tooltip { display: none !important; }
}

/* Very small phones */
@media (max-width: 380px) {
  .book-fab,
  .call-fab,
  .whatsapp-fab {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: 42px !important;
    font-size: 12px !important;
    padding: 0 14px !important;
  }
  .book-fab     { bottom: 14px !important; }
  .call-fab     { bottom: 64px !important; }
  .whatsapp-fab { bottom: 114px !important; }
  
}

/* ==== frontage-banner-css ==== */

/* ============================================================
   FRONTAGE BANNER  —  top-of-page clinic photo
============================================================ */
.frontage-banner {
  position: relative;
  width: 100%;
  background: var(--ink, #003087);
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.frontage-banner picture,
.frontage-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  max-height: 420px;
}
.frontage-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 0 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 15, 68, 0.55) 50%, rgba(31, 15, 68, 0.88) 100%);
  color: #fff;
}
.frontage-banner-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan, #00A9CE);
  margin-bottom: 6px;
}
.frontage-banner-sub {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  margin: 8px 0 0;
  max-width: 62ch;
}
.frontage-banner-sub strong { color: #fff; font-weight: 700; }
@media (max-width: 640px){
  .frontage-banner-sub { font-size: 0.78rem; line-height: 1.4; }
}
.frontage-banner-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0;
}
@media (max-width: 768px) {
  .frontage-banner picture, .frontage-banner img { max-height: 280px; }
  .frontage-banner-overlay { padding: 20px 0 16px; }
  .frontage-banner-eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; }
}
@media (max-width: 480px) {
  .frontage-banner picture, .frontage-banner img { max-height: 220px; }
}
