/* purged for index.php from sfb-6e6cc21c32cfd546.css - generated by tools/css-purge; do not edit */
/*
 * Sport-Fit Physio Care - Font Awesome 6.5.1 subset
 * ----------------------------------------------------------------------
 * Every page used to load the FULL Font Awesome bundle from cdnjs:
 * a ~103 KB render-blocking stylesheet on a third-party origin, plus up to
 * 273 KB of webfonts (fa-solid-900 153 KB, fa-brands-400 115 KB) - to draw
 * at most a few dozen icons.
 *
 * This file carries only the icons the site actually uses. The list was
 * built by scanning the RENDERED HTML of every page for the (style, icon)
 * pairs really present in the markup, not by guessing from source. The fonts
 * are the official Font Awesome Free webfonts subset to exactly those
 * glyphs, so icons render identically - same font, same metrics.
 *
 * IF YOU ADD A NEW ICON to any page it will NOT render until this subset is
 * regenerated - the glyph simply is not in these files. Re-run the generator
 * (scratchpad/mkicons.py), or temporarily restore the full Font Awesome
 * <link> on that page.
 *
 * Alias names are preserved: .fa-phone-alt and .fa-phone-flip both work.
 */

@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-subset-brands-400.woff2) format("woff2")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-subset-regular-400.woff2) format("woff2")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-subset-solid-900.woff2) format("woff2")}

.fa-solid,.fab,.far,.fas{
  -moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;
  display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;
  line-height:1;text-rendering:auto}
.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}
.fab{font-family:"Font Awesome 6 Brands";font-weight:400}
.fa-solid,.fas{font-weight:900}
.far{font-weight:400}

/* utility classes still in use on the site */
@keyframes fa-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
.fa-whatsapp:before{content:"\f232"}
.fa-magnifying-glass:before{content:"\f002"}
.fa-house:before{content:"\f015"}
.fa-arrow-right:before{content:"\f061"}
.fa-triangle-exclamation:before{content:"\f071"}
.fa-certificate:before{content:"\f0a3"}
.fa-envelope:before{content:"\f0e0"}
.fa-calendar-check:before{content:"\f274"}
.fa-user-check:before{content:"\f4fc"}
.fa-phone-alt:before{content:"\f879"}

/*
 * Sport-Fit Physio Care - typography refinements
 * ----------------------------------------------------------------------
 * Loaded LAST on every page so it wins over the page-specific stylesheet.
 * Two jobs only: hold the line breaks after the Nunito -> Inter swap, and
 * cap the reading measure. It deliberately sets no colours, no sizes and no
 * spacing, so it cannot drift into a redesign.
 */

/* ── 1. Metric compensation for Inter ─────────────────────────────────
   Inter sets about 6% wider than Nunito at the same size and has a larger
   x-height. Inter is also designed to be tracked slightly tight - Rasmus
   Andersson's own guidance is negative tracking as size increases - so a
   small negative value both looks correct and buys back the width.

   The navigation is the tight spot: after the swap the eight desktop links
   filled their container with about 3px to spare (it had roughly 60px with
   Nunito). This restores usable headroom so a slightly narrower viewport,
   or a longer menu label, does not push the menu onto a second row. */
body {
  letter-spacing: -0.006em;
}

.nav-menu > li > a,
.nav-link {
  letter-spacing: -0.011em;
}

/* Large display text needs proportionally tighter tracking, not looser. */
h1, h2, .editorial-title {
  letter-spacing: -0.014em;
}

/* Numerals stay untouched: Bebas Neue is a condensed display face and any
   negative tracking makes it crowd. */
.hero-stat-value, .error-num,
[style*="--ff-display"] {
  letter-spacing: normal;
}

/* ── 2. Reading measure ───────────────────────────────────────────────
   Body copy was running to 125 characters per line in the full-width
   sections; the comfortable range is 45-75.

   A max-width in `ch` only bites on elements that are ACTUALLY wider than
   the limit. Paragraphs inside cards, columns and grids already sit around
   40ch and are completely unaffected by this rule - which is why it can be
   applied broadly without hunting for individual selectors. 
main p,
section p,
.section p,
.shell > p,
.container > p {
  max-width: 68ch;
}*/

/* Where the text is centred, keep the narrowed block centred too, otherwise
   it would hug the left edge of a centred section. */
.text-center > p,
.text-md-center > p,
.text-m-center > p,
[class$="-head"] > p,
[class*="-head "] > p,
[class$="-header"] > p,
[class*="-header "] > p,
[class$="-heading"] > p,
[class*="-heading "] > p,
[class$="-copy"] > p,
[class*="section-header"] > p {
  margin-inline: auto;
}

/* ── 3. Exclusions ────────────────────────────────────────────────────
   The Pain & Movement Check maps every hotspot and drawn path onto a fixed
   image geometry. Nothing in this file may change its layout. */
#pain-check p,
#pain-check li,
#pain-check .hero p,
.app p {
  max-width: none;
  margin-inline: 0;
}

/* Form controls, buttons and table cells are sized by their container, not
   by a reading measure. */
button, .button, .btn, input, select, textarea,
td p, th p, label p {
  max-width: none;
}

/* ── 4. Hero trademark line ───────────────────────────────────────────
   `.trade-h1` carries "INTEGRATED MANUAL THERAPY(tm)" as one line of the
   hero headline. Fraunces sets about 6% wider than Playfair Display, which
   pushed that line to wrap and made the hero a line taller.

   These sizes are scaled by the same ~7.5% so the line holds on ONE line at
   every breakpoint, restoring the original hero composition. They are not a
   redesign - they exist purely to absorb the width difference between the
   old and new typeface. Measured, not guessed: at 1280px the line needs
   656px inside a 685px column, leaving 29px of margin. */
.trade-h1 { font-size: 37px; }

@media (max-width: 1199px) { .trade-h1 { font-size: 30px; } }
@media (max-width:  767px) { .trade-h1 { font-size: 19px; } }

/* ============================================================
   NAV.CSS
   Single authoritative mobile-nav / header / burger stylesheet.
   Loaded once from includes/header.php so every page that
   includes the shared header gets the same working mobile nav
   as the homepage, regardless of that page's own legacy CSS.
   Every rule below wins over older per-page nav rules because:
   1) every property is !important, and
   2) this file is linked after all per-page <head> stylesheets.
   Do not add unrelated rules here - nav/header only.
   ============================================================ */

.container-header {
    width: min(var(--container-head),100% - 2rem) !important;
    margin-inline: auto !important;
  }

.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: var(--z-nav) !important;
    height: var(--header-h) !important;
    background: rgba(255,255,255,.9) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid transparent !important;
    transition: box-shadow var(--transition),border-color var(--transition),background var(--transition) !important;
  }

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(26,77,143,.1) !important;
    border-bottom-color: var(--clr-border) !important;
    background: rgba(255,255,255,.98) !important;
  }

.nav-inner {
    display: flex !important;
    align-items: center !important;
    height: var(--header-h) !important;
    gap: 1.5rem !important;
  }

.nav-logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: .6rem !important;
  }

.nav-logo img {
    height: 52px !important;
    width: auto !important;
  }

.nav-menu {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
  }

.nav-link {
    font-size: .89rem !important;
    font-weight: 600 !important;
    color: var(--clr-text) !important;
    padding: .5rem .85rem !important;
    border-radius: var(--radius-sm) !important;
    transition: color var(--transition-fast),background var(--transition-fast) !important;
    position: relative !important;
    white-space: nowrap !important;
  }

.nav-link.active,.nav-link:hover {
    color: var(--clr-accent-dk) !important;
    background: rgba(0,180,216,.08) !important;
  }

.nav-item-dropdown {
    position: relative !important;
    padding-bottom: 0 !important;
  }

.nav-dropdown {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
    background: var(--clr-white) !important;
    border: 1px solid var(--clr-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    min-width: 240px !important;
    padding: .6rem !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity var(--transition-fast),transform var(--transition-fast) !important;
    z-index: 10 !important;
  }

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

.nav-dropdown-link {
    display: flex !important;
    align-items: center !important;
    gap: .6rem !important;
    padding: .6rem .85rem !important;
    font-size: .84rem !important;
    font-weight: 500 !important;
    color: var(--clr-text) !important;
    border-radius: var(--radius-sm) !important;
    transition: background var(--transition-fast),color var(--transition-fast) !important;
  }

.nav-dropdown-link::before {
    content: '→' !important;
    color: var(--clr-accent) !important;
    font-size: .8rem !important;
    opacity: 0 !important;
    transform: translateX(-6px) !important;
    transition: opacity var(--transition-fast),transform var(--transition-fast) !important;
  }

.nav-dropdown-link:hover {
    background: rgba(0,180,216,.08) !important;
    color: var(--clr-accent-dk) !important;
  }

.nav-dropdown-link:hover::before {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

.nav-cta {
    margin-left: .8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .5rem !important;
    padding: .65rem 1rem !important;
    background: var(--clr-primary) !important;
    color: var(--clr-white)!important;
    font-weight: 700 !important;
    font-size: .82rem !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 4px 16px rgba(26,77,143,.3) !important;
    transition: background var(--transition-fast),transform var(--transition-fast),box-shadow var(--transition-fast) !important;
  }

.nav-cta:hover {
    background: var(--clr-accent-dk) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,150,199,.4) !important;
    color: var(--clr-white)!important;
  }

body .nav-burger {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(0,180,216,.08) !important;
    padding: 8px !important;
    transition: background var(--transition-fast) !important;
    margin-left: auto !important;
  }

.nav-burger:hover {
    background: rgba(0,180,216,.16) !important;
  }

.nav-burger span {
    display: block !important;
    height: 2px !important;
    background: var(--clr-primary) !important;
    border-radius: 2px !important;
    transition: transform var(--transition-fast),opacity var(--transition-fast),width var(--transition-fast) !important;
    transform-origin: left center !important;
  }

.nav-burger.open span:first-child {
    transform: rotate(45deg) translate(2px,-1px) !important;
  }

.nav-burger.open span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

.nav-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px,1px) !important;
  }

@media (max-width:991px){
  
  .nav-menu {
    display: none !important;
  }
  body .nav-burger {
    display: flex !important;
  }

}

@media print{
  
  .chatbot-launcher,.page-loader,.scroll-top,.site-header {
    display: none!important;
  }

}

@media (min-width:991px) and (max-width:1200px){
  
  .d-none-m-1221 {
    display: none!important;
  }

}

.btn-call-ring-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
  }

.btn-call-ring-1 i {
    z-index: 2 !important;
    position: relative !important;
    animation: 2s infinite phonePulse !important;
  }

.btn-call-text-1 {
    display: flex !important;
    flex-direction: column !important;
  }

.btn-call-text-1 small {
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    font-size: .65rem !important;
    opacity: .8 !important;
    font-weight: 500 !important;
  }

.topbar-right-1 {
    display: inline-flex !important;
  }

.topbar-right-1:hover {
    transition: transform .25s !important;
    transform: translateY(-3px) !important;
  }

.btn-call-ring-1::after,.btn-call-ring-1::before {
    content: "" !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,.6) !important;
    top: 0 !important;
    left: 0 !important;
    animation: 2s infinite ringWave !important;
  }

.btn-call-ring-1::after {
    animation-delay: 1s !important;
  }

.header-actions-1 {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 12px !important;
  }

.btn-call-1 {
    background: linear-gradient(135deg,#00b4d8,#1a4d8f) !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #fff!important;
    gap: 10px !important;
    padding: 9px 16px 9px 10px !important;
    border-radius: 50px !important;
    transition: var(--trans) !important;
    text-decoration: none !important;
  }

.btn-call-ring-1 {
    position: relative !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .8rem !important;
    flex-shrink: 0 !important;
    background: rgba(255,255,255,.2) !important;
    border-radius: 50% !important;
  }

.btn-call-text-1 {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
  }

.btn-call-text-1 strong {
    font-size: .82rem !important;
  }

@media(max-width:1180px){
  
  body .nav-burger {
    display: flex !important;
  }
  .nav-menu {
    display: none !important;
  }

}

@media(max-width:1510px){
  
  .btn-call-1 {
    display: none !important;
  }

}

@media(max-width:1370px){
  
  .nav-cta {
    display: none !important;
  }

}

@media(max-width:1180px){
  
  .btn-call-1 {
    display: block !important;
  }
  .nav-item-dropdown {
    border-bottom: 1px solid var(--clr-border) !important;
  }

}

body .mobile-nav-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.45) !important;
    z-index: 1099 !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
  }

.mobile-nav-overlay.open {
    display: block !important;
  }

body .mobile-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: min(320px,85vw) !important;
    height: 100dvh !important;
    background: #fff !important;
    z-index: 1100 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1) !important;
    overflow: hidden !important;
    box-shadow: 4px 0 24px rgba(0,0,0,.12) !important;
  }

.mobile-nav.open {
    transform: translateX(0) !important;
  }

.mobile-nav:not(.open) {
    visibility: hidden !important;
    pointer-events: none !important;
  }

.mobile-nav.open {
    visibility: visible !important;
    pointer-events: auto !important;
  }

body .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    flex-shrink: 0 !important;
  }

.mobile-nav-logo img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
  }

body .mobile-nav-close {
    background: 0 0 !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px !important;
    color: #333 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .2s !important;
  }

.mobile-nav-close:hover {
    background: #f5f5f5 !important;
  }

body .mobile-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: .5rem 0 !important;
    overflow-y: auto !important;
    flex: 1 !important;
  }

body .mobile-nav-item {
    border-bottom: 1px solid #f3f3f3 !important;
  }

.mobile-nav-item:last-child {
    border-bottom: none !important;
  }

body .mobile-nav-row {
    display: flex !important;
    align-items: center !important;
  }

.mobile-nav-row .mobile-nav-link {
    flex: 1 !important;
  }

body .mobile-nav-link {
    display: block !important;
    padding: .875rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color .2s,background .2s !important;
  }

.mobile-nav-link:focus,.mobile-nav-link:hover {
    color: var(--clr-primary,#1a5fa8) !important;
    background: #f7f9ff !important;
  }

.mobile-sub-toggle {
    background: 0 0 !important;
    border: none !important;
    cursor: pointer !important;
    padding: .875rem 1rem !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    transition: color .2s,transform .3s !important;
    flex-shrink: 0 !important;
  }

.mobile-sub-toggle svg {
    transition: transform .3s !important;
  }

.mobile-sub-toggle.open svg {
    transform: rotate(180deg) !important;
  }

.mobile-sub-toggle:hover {
    color: var(--clr-primary,#1a5fa8) !important;
  }

.mobile-sub-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    display: none !important;
    overflow: hidden !important;
  }

.mobile-sub-list.open {
    display: block !important;
  }

.mobile-sub-link {
    display: block !important;
    padding: .65rem 1.25rem .65rem 2rem !important;
    font-size: .875rem !important;
    font-weight: 400 !important;
    color: #363232 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #eef0f5 !important;
    transition: color .2s,background .2s !important;
  }

.mobile-sub-link:hover {
    color: var(--clr-primary,#1a5fa8) !important;
    background: #edf2ff !important;
  }

.mobile-sub-list li:last-child .mobile-sub-link {
    border-bottom: none !important;
  }

body .mobile-nav-footer {
    padding: 1rem 1.25rem !important;
    border-top: 1px solid #f0f0f0 !important;
    flex-shrink: 0 !important;
  }

.mobile-nav-cta {
    display: block !important;
    text-align: center !important;
    padding: .875rem !important;
    background: var(--clr-primary,#1a5fa8) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: background .2s,transform .15s !important;
  }

.mobile-nav-footer .mobile-nav-cta:hover {
    background: var(--clr-accent-dk,#154e8a) !important;
    transform: translateY(-1px) !important;
  }

@media (min-width:1181px){
  
  .mobile-nav,.mobile-nav-overlay {
    display: none!important;
  }
  .nav-burger {
    display: none!important;
  }
  .nav-menu {
    display: flex!important;
  }

}


/* SPEED (Nov 2026): phone-only banner backgrounds.
   Every service-page banner is background-size:cover anchored top-left on a landscape photo, so on a
   phone (<= 480 px wide) the browser scales the photo by HEIGHT and shows only a strip from its left
   edge. Each *-m.webp below is exactly that strip, cut from the original at full height and full
   resolution, so cover scales it by the same factor and the phone shows the same pixels - while
   downloading 2-12 KB instead of 30-230 KB. Wider screens keep the original file.
   The page preloads the right file for its screen size (<link rel=preload media=...), so the banner
   paints with the first frame and is the page's Largest Contentful Paint.
   If a banner photo is replaced, delete its *-m.webp and the rule here (the original then shows). */

/* ============================================================
   FOOTER-FAB.CSS
   Floating quick-contact stack, mobile sticky bottom bar
   (Call / WhatsApp / Book Visit), and the back-to-top button -
   the exact markup/behaviour that used to be hardcoded only on
   the homepage. Linked once from includes/footer.php so every
   page that includes the shared footer gets the same bottom
   nav as the homepage. Every rule is !important so it can't be
   overridden by any page's own older/legacy CSS.
   Do not add unrelated rules here - footer quick-actions only.
   ============================================================ */

.fab-stack {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 800 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.fab-btn {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  box-shadow: var(--shadow-md) !important;
  transition: transform var(--transition, .28s cubic-bezier(.4,0,.2,1)) !important;
}

.fab-btn:hover {
  transform: scale(1.1) !important;
}

.fab-whatsapp {
  background: #25d366 !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.45) !important;
}

.fab-call {
  background: var(--clr-accent) !important;
  box-shadow: 0 8px 24px rgba(0,180,216,.4) !important;
}

.fab-stack {
  align-items: center !important;
}

/* Pain & Movement Check launcher: glossy blue disc, neon cyan ring,
   glowing anatomy figure, pulse rings and a timed "Check Your Pain" bubble. */
.fab-pain {
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  isolation: isolate !important;
  background: #0a2455 !important;
  box-shadow: 0 0 0 3px #3ff0ff, 0 0 14px 3px rgba(63,240,255,.85), 0 0 32px 6px rgba(0,170,255,.45), 0 10px 24px rgba(6,30,80,.45) !important;
  animation: fabPain3dBeat 2s ease-in-out infinite !important;
}

.fab-pain:before, .fab-pain:after {
  content: "" !important;
  position: absolute !important;
  inset: -3px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(63,240,255,.9) !important;
  animation: fabPain3dPulse 2s ease-out infinite !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.fab-pain:after {
  animation-delay: 1s !important;
}

@keyframes fabPain3dPulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.75); opacity: 0; }
}

@keyframes fabPain3dBeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px #3ff0ff, 0 0 14px 3px rgba(63,240,255,.85), 0 0 32px 6px rgba(0,170,255,.45), 0 10px 24px rgba(6,30,80,.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 3px #7ff7ff, 0 0 20px 5px rgba(63,240,255,1), 0 0 44px 10px rgba(0,170,255,.6), 0 10px 24px rgba(6,30,80,.45); }
}

.fab-pain-ring {
  position: absolute !important;
  inset: -3px !important;
  border-radius: 50% !important;
  background: conic-gradient(from 0deg,transparent 0 70%,rgba(255,255,255,.95) 82%,transparent 94%) !important;
  animation: fabPain3dSpin 2.6s linear infinite !important;
  z-index: 2 !important;
  pointer-events: none !important;
  -webkit-mask: radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 3px)) !important;
  mask: radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 3px)) !important;
}

@keyframes fabPain3dSpin {
  to { transform: rotate(360deg); }
}

.fab-pain-icon {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
}

.fab-pain:hover {
  transform: scale(1.1) !important;
}

.fab-pain-tip {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 16px) !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  gap: 8px !important;
  padding: 9px 15px 9px 12px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(127,247,255,.75) !important;
  /* Brand gradient with a light shimmer that sweeps across every few seconds. */
  background:
    linear-gradient(110deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%) 150% 0 / 250% 100% no-repeat,
    linear-gradient(135deg, #0e2f5a 0%, #1a64b8 58%, #14a9d6 100%) !important;
  color: #fff !important;
  font-family: var(--ff-body, system-ui, sans-serif) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .015em !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(6,30,80,.35) !important;
  box-shadow: 0 12px 28px rgba(8,40,96,.38), 0 0 0 3px rgba(63,240,255,.16), 0 0 20px rgba(63,240,255,.45) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(.9) !important;
  transform-origin: calc(100% - 29px) 100% !important;
  transition: opacity .35s ease, transform .4s cubic-bezier(.34,1.56,.64,1), visibility .35s !important;
  pointer-events: none !important;
}

/* Pointer tail, coloured to match the gradient's right end and outlined in
   the same cyan as the bubble. */
.fab-pain-tip:after {
  content: "" !important;
  position: absolute !important;
  right: 22px !important;
  bottom: -6px !important;
  width: 12px !important;
  height: 12px !important;
  background: #159fd4 !important;
  border-right: 1.5px solid rgba(127,247,255,.75) !important;
  border-bottom: 1.5px solid rgba(127,247,255,.75) !important;
  transform: rotate(45deg) !important;
  border-radius: 0 0 3px 0 !important;
}

/* "Live" pain dot: coral core with a ping ring. */
.fab-pain-tip:before {
  content: "" !important;
  flex: none !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #ff4d6a !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 8px rgba(255,77,106,.9) !important;
  animation: fabTipDot 1.6s ease-out infinite !important;
}

@keyframes fabTipDot {
  0% { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 2px rgba(255,77,106,.7), 0 0 8px rgba(255,77,106,.9); }
  100% { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 9px rgba(255,77,106,0), 0 0 8px rgba(255,77,106,.9); }
}

.fab-pain-tip.is-show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  animation: fabTipFloat 3s ease-in-out .4s infinite, fabTipShine 3.6s ease-in-out .6s infinite !important;
}

/* translate (not transform) so the float never fights the show/hide pop. */
@keyframes fabTipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

@keyframes fabTipShine {
  0% { background-position: 150% 0, 0 0; }
  45%, 100% { background-position: -50% 0, 0 0; }
}

.fab-pain-tip:hover, .fab-pain-tip:focus {
  color: #fff !important;
  border-color: #aefcff !important;
  box-shadow: 0 14px 30px rgba(8,40,96,.42), 0 0 0 4px rgba(63,240,255,.24), 0 0 26px rgba(63,240,255,.65) !important;
}

.fab-pain-tip:focus-visible {
  outline: 2px solid #3ff0ff !important;
  outline-offset: 3px !important;
}

.fab-pain-wave {
  display: inline-block !important;
  transform-origin: 70% 80% !important;
  animation: fabPainWave 1.8s ease-in-out infinite !important;
}

@keyframes fabPainWave {
  0%, 55%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(16deg); }
  20%, 40% { transform: rotate(-10deg); }
}

body.sf-pain-modal-open .fab-pain-tip {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .fab-pain, .fab-pain:before, .fab-pain:after, .fab-pain-ring, .fab-pain-wave,
  .fab-pain-tip.is-show, .fab-pain-tip:before {
    animation: none !important;
  }
  .fab-pain-tip {
    transform: none !important;
    transition: opacity .35s ease, visibility .35s !important;
  }
}

/* ---- Mobile sticky quick bar: Call / WhatsApp / Book Visit (hidden on tablet/desktop) ---- */
.mobile-quickbar {
  display: none !important;
}

@media (max-width: 760px) {
  .mobile-quickbar {
    display: flex !important;
    align-items: stretch !important;
    gap: .4rem !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 970 !important;
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid var(--clr-border) !important;
    box-shadow: 0 -10px 30px rgba(26,77,143,.14) !important;
    padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom,0px)) !important;
  }
  .mqb-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .2rem !important;
    padding: .3rem .2rem !important;
    border-radius: var(--radius-md) !important;
    background: var(--clr-bg) !important;
    border: 1px solid var(--clr-border) !important;
    color: var(--clr-primary-dk) !important;
    font-family: var(--ff-body) !important;
    font-size: .66rem !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    transition: background var(--transition, .28s cubic-bezier(.4,0,.2,1)), transform var(--transition, .28s cubic-bezier(.4,0,.2,1)) !important;
  }
  .mqb-item:active {
    transform: scale(.96) !important;
    background: #e8f3fa !important;
  }
  .mqb-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: var(--clr-primary) !important;
    flex-shrink: 0 !important;
  }
  .mqb-primary {
    flex: 1.3 !important;
    border: none !important;
    background: linear-gradient(135deg,var(--clr-accent),var(--clr-primary)) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0,180,216,.4) !important;
  }
  .mqb-primary .mqb-icon {
    background: rgba(255,255,255,.22) !important;
    color: #fff !important;
  }
  .mqb-primary:active {
    transform: scale(.96) !important;
  }
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom,0px)) !important;
  }
}

/* ---- Back to top ---- */
.scroll-top-btn {
  position: fixed !important;
  left: 18px !important;
  bottom: 104px !important;
  z-index: 800 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 1px solid var(--clr-border) !important;
  background: #fff !important;
  color: var(--clr-primary-dk) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: var(--shadow-md) !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: opacity var(--transition, .28s cubic-bezier(.4,0,.2,1)), transform var(--transition, .28s cubic-bezier(.4,0,.2,1)), visibility var(--transition, .28s cubic-bezier(.4,0,.2,1)) !important;
}

.scroll-top-btn.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.scroll-top-btn:hover {
  background: var(--clr-accent) !important;
  color: #fff !important;
  border-color: var(--clr-accent) !important;
}

@media (max-width: 760px) {
  .fab-whatsapp, .fab-call {
    display: none !important;
  }
  .fab-stack {
    bottom: 172px !important;
    right: 16px !important;
  }
  .fab-pain {
    width: 54px !important;
    height: 54px !important;
  }
  .fab-pain-tip {
    bottom: calc(100% + 14px) !important;
    gap: 7px !important;
    padding: 8px 13px 8px 11px !important;
    font-size: 13.5px !important;
    transform-origin: calc(100% - 27px) 100% !important;
  }
  .fab-pain-tip:after {
    right: 20px !important;
    width: 11px !important;
    height: 11px !important;
  }
  .fab-pain-tip:before {
    width: 7px !important;
    height: 7px !important;
  }
  .scroll-top-btn {
    left: 16px !important;
    bottom: 88px !important;
  }
}

@media (max-width: 360px) {
  .fab-pain-tip {
    padding: 7px 11px 7px 10px !important;
    font-size: 12.5px !important;
  }
}

/* ---- Footer social icons row: keep in sync with the shared footer ----
   core.css (homepage-only) sets .footer-social{flex-wrap:wrap} with no
   width limit, which wraps the icon row even on wide screens. style.css
   (loaded on every page) only wraps it below 576px. Restating style.css's
   intended behaviour here, hardened, keeps the homepage's footer icons
   identical to every other page instead of wrapping to a second line. */
.footer-social {
  flex-wrap: nowrap !important;
}

@media (max-width: 576px) {
  .footer-social {
    flex-wrap: wrap !important;
  }
}

/* ---- AI chatbot launcher/window ----
   Desktop & tablet (above 760px): LEFT side, clear of the fab-stack,
   matching the homepage. Without this, core.css (homepage only) flips
   it to the right at tablet widths, and style.css (every page) keeps
   it on the right always - both overridden here so every page matches.

   Small/mobile (760px and below): the fab-stack shrinks down to just
   the Pain & Movement Check button (see the max-width:760px rule
   above hiding .fab-whatsapp/.fab-call/.fab-book), so the chatbot
   moves to the RIGHT here too, stacked directly under that pain-check
   button and above the mobile sticky quick bar, instead of sitting
   alone on the opposite side. ---- */
.chatbot-launcher {
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
  align-items: flex-start !important;
}

.chatbot-window {
  left: 20px !important;
  right: auto !important;
  bottom: 96px !important;
  transform-origin: bottom left !important;
}

@media (max-width: 760px) {
  .chatbot-launcher {
    left: auto !important;
    right: 16px !important;
    bottom: 96px !important;
    align-items: flex-end !important;
  }
  .chatbot-window {
    left: auto !important;
    right: 16px !important;
    bottom: 168px !important;
    transform-origin: bottom right !important;
  }
}

@media (max-width: 520px) {
  .chatbot-window {
    width: calc(100vw - 1.5rem) !important;
    left: auto !important;
    right: .75rem !important;
    bottom: 160px !important;
    max-height: 60vh !important;
  }
}

/* WhatsApp quick-bar icon in brand WhatsApp green */
.mobile-quickbar .mqb-item[href*="wa.me"] .mqb-icon svg { color: #25d366 !important; fill: #25d366 !important; }

