/* ==== 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; }
}

/* ==== a11y-focus-css ==== */

/* Accessibility: visible keyboard focus indicators (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid #00A9CE;
  outline-offset: 2px;
  border-radius: 8px;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #00A9CE;
  outline-offset: 3px;
}
/* Skip link visible on focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #003087;
  color: #fff;
  padding: 12px 20px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus-visible {
  left: 0;
}
/* Reduce motion for users who prefer it (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==== fab-compact-css ==== */

/* === Compact bottom-right FAB pair (Book + WhatsApp only) === */
/* Hide Call FAB everywhere — kept off the page */
.call-fab { display: none !important; }

/* Hide labels — these are icon-first compact buttons now */
.book-fab .fab-label,
.whatsapp-fab .fab-label { display: none !important; }

/* WhatsApp — small circular icon button, bottom-right corner */
.whatsapp-fab {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.25) !important;
  z-index: 9999 !important;
}
.whatsapp-fab svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
}

/* Book Now — small pill button immediately to the LEFT of WhatsApp */
.book-fab {
  position: fixed !important;
  right: 72px !important;       /* 16 (edge) + 44 (whatsapp) + 12 (gap) */
  bottom: 16px !important;
  left: auto !important;
  height: 44px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 18px !important;
  border-radius: 8px!important;
  background: linear-gradient(135deg, #003087 0%, #005EB5 100%) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: 'Manrope', system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px -2px rgba(0, 48, 135, 0.35) !important;
  z-index: 9999 !important;
}
.book-fab svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2 !important;
  flex-shrink: 0 !important;
}
.book-fab .book-fab-pulse { display: none !important; }

/* Show/hide on scroll: keep prior is-visible logic intact */
.book-fab,
.whatsapp-fab {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.book-fab:not(.is-visible),
.whatsapp-fab:not(.is-visible) {
  opacity: 0 !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
}
.book-fab.is-visible,
.whatsapp-fab.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.book-fab:hover { transform: translateY(-1px) !important; }
.whatsapp-fab:hover { transform: translateY(-1px) !important; background: #20BD5C !important; }
.book-fab:active,
.whatsapp-fab:active { transform: translateY(0) scale(0.97) !important; }

/* Near-footer adjustments inherited from prior — neutralise so the pair stays put */
.book-fab.is-near-footer { bottom: 16px !important; }
.whatsapp-fab.is-near-footer { bottom: 16px !important; }

/* Mobile: even slightly smaller */
@media (max-width: 480px) {
  .whatsapp-fab {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    right: 12px !important;
    bottom: 12px !important;
  }
  .whatsapp-fab svg { width: 20px !important; height: 20px !important; }
  .book-fab {
    right: 64px !important;       /* 12 + 42 + 10 */
    bottom: 12px !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
  .book-fab svg { width: 14px !important; height: 14px !important; }
}

/* Tooltip wasn't visible anyway — keep hidden */
.whatsapp-fab-tooltip { display: none !important; }

/* ==== status-fab-removed-css ==== */
.status-fab,#statusFab{display:none!important;}
/* ==== nav-fit-css ==== */

/* R20: make the tier-2 desktop service bar fit laptop widths without horizontal scroll */
@media (min-width: 980px){
  .nav-tier2 .wrap{ overflow: visible; }
  ul.nav-primary{ flex-wrap: wrap; row-gap: 0; }
}
/* Laptop range: progressively tighten the buttons so all items fit on one row */
@media (min-width: 980px) and (max-width: 1320px){
  ul.nav-primary{ gap: 2px; }
  .nav-primary-btn{ padding: 14px 11px; font-size: 0.82rem; letter-spacing: 0.03em; gap: 5px; }
  .nav-primary-btn .dd-chev{ width: 13px; height: 13px; }
}
@media (min-width: 980px) and (max-width: 1120px){
  .nav-primary-btn{ padding: 13px 8px; font-size: 0.76rem; letter-spacing: 0.02em; }
}
