/* =====================================================================================================================
   Rise Up public website (Components/Site, pages at /, /services, /health-tips, /visit).
   Everything is scoped under .site so the back office is untouched. One colour: the theme's primary (--admin-brand,
   Site settings → Appearance), and the accent (--admin-accent) for the main calls to action and small highlights.
   Always flat - no gradients anywhere. Tints (color-mix with transparent) for soft fills, and --sx-brand-ink /
   --sx-accent-ink, lighter in dark mode, for coloured text and icons.
   Movement (heartbeat line, rings, Ken Burns, reveal on scroll, floating shapes) stops for visitors who ask for
   reduced motion - the browser setting or Profile → Display - see the end of this file.
   ===================================================================================================================== */

.site {
    --sx-brand: var(--admin-brand, #0d76ba);
    --sx-brand-ink: var(--sx-brand);
    --sx-accent: var(--admin-accent, #f26522);
    --sx-accent-ink: var(--sx-accent);
    --sx-tint: color-mix(in srgb, var(--sx-brand) 10%, transparent);
    --sx-deep: color-mix(in srgb, var(--sx-brand) 30%, #04080d);
    --sx-ink: #0f1d2e;
    --sx-text: #3b4a5c;
    --sx-muted: #6a7889;
    --sx-bg: #ffffff;
    --sx-alt: #f3f8fc;
    --sx-card: #ffffff;
    --sx-line: rgba(15, 29, 46, .08);
    --sx-shadow: 0 1px 2px rgba(15, 29, 46, .05), 0 12px 32px -12px rgba(15, 29, 46, .18);
    --sx-shadow-lg: 0 30px 60px -20px rgba(13, 60, 110, .35);
    --sx-radius: 22px;
    --sx-ease: cubic-bezier(.22, 1, .36, 1);
    --sx-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--sx-text);
    background: var(--sx-bg);
    overflow-x: clip;
}

[data-bs-theme="dark"] .site {
    --sx-ink: #eef4fa;
    --sx-text: #c4d0dd;
    --sx-muted: #8fa0b3;
    --sx-bg: #0b1420;
    --sx-alt: #0f1b2a;
    --sx-card: #132235;
    --sx-line: rgba(255, 255, 255, .08);
    --sx-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --sx-brand-ink: color-mix(in srgb, var(--sx-brand) 55%, #ffffff);
    --sx-accent-ink: color-mix(in srgb, var(--sx-accent) 75%, #ffffff);
    --sx-tint: color-mix(in srgb, var(--sx-brand) 22%, transparent);
}

.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--sx-head);
    color: var(--sx-ink);
    letter-spacing: -.02em;
}

.site a { color: inherit; }
.site img { max-width: 100%; }

.sx-shell { min-height: 100vh; display: flex; flex-direction: column; }
.sx-shell > .sx-main { flex: 1 0 auto; }

.sx-container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); position: relative; }

.sx-page { animation: sx-page-in .6s var(--sx-ease) both; }

@keyframes sx-page-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- buttons */

.sx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: 999px; border: 0; font-weight: 600; font-size: 1rem;
    text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
    transition: transform .3s var(--sx-ease), box-shadow .3s var(--sx-ease), background-color .3s;
}

.sx-btn:hover { transform: translateY(-2px); }
.sx-btn:focus-visible { outline: 3px solid var(--sx-accent); outline-offset: 3px; }
.sx-btn i { transition: transform .3s var(--sx-ease); }
.sx-btn:hover i.fa-arrow-right { transform: translateX(4px); }

.sx-btn-accent { background: var(--sx-accent); color: #fff !important; box-shadow: 0 12px 28px -10px var(--sx-accent); }
.sx-btn-accent:hover { background: color-mix(in srgb, var(--sx-accent) 85%, #000); }

.sx-btn-brand { background: var(--sx-brand); color: #fff !important; box-shadow: 0 12px 28px -12px var(--sx-brand); }
.sx-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.sx-btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.sx-btn-outline { background: transparent; color: var(--sx-brand-ink) !important; border: 1.5px solid currentColor; }
.sx-btn-outline:hover { background: color-mix(in srgb, var(--sx-brand) 8%, transparent); }
.sx-btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.sx-btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------------------------------------------------------------- announcement + header */

.sx-announce {
    background: var(--sx-brand);
    color: #fff; font-size: .875rem; text-align: center; padding: .45rem 1rem; position: relative; z-index: 31;
}
.sx-announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sx-header {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--sx-bg) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid var(--sx-line);
    transition: background-color .4s, box-shadow .4s, border-color .4s;
}

.sx-header-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }

/* Over the home page's hero: see-through until the visitor scrolls. */
body.site-has-hero .sx-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
body.site-has-hero .sx-header .sx-brand,
body.site-has-hero .sx-header .sx-nav-link,
body.site-has-hero .sx-header .sx-signin,
body.site-has-hero .sx-header .sx-menu-toggle { color: #fff; }
body.site-has-hero.site-scrolled .sx-header {
    background: color-mix(in srgb, var(--sx-bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(16px);
    border-color: var(--sx-line); box-shadow: 0 10px 30px -18px rgba(15, 29, 46, .4);
}
body.site-has-hero.site-scrolled .sx-header .sx-brand,
body.site-has-hero.site-scrolled .sx-header .sx-nav-link,
body.site-has-hero.site-scrolled .sx-header .sx-signin,
body.site-has-hero.site-scrolled .sx-header .sx-menu-toggle { color: var(--sx-ink); }
body.site-has-hero .sx-announce + .sx-header { top: 0; }

.sx-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--sx-ink); min-width: 0; }
.sx-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; box-shadow: var(--sx-shadow); }
.sx-brand strong { font-family: var(--sx-head); font-size: 1.1rem; display: block; line-height: 1.1; white-space: nowrap; }
.sx-brand small { font-size: .75rem; opacity: .75; display: block; }

.sx-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.sx-nav-link {
    position: relative; padding: .5rem .85rem; font-weight: 500; color: var(--sx-text); text-decoration: none; border-radius: 999px;
}
.sx-nav-link::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px;
    background: var(--sx-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sx-ease);
}
.sx-nav-link:hover::after, .sx-nav-link.active::after { transform: scaleX(1); }

.sx-header-actions { display: flex; align-items: center; gap: .6rem; }
.sx-signin { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--sx-ink); padding: .5rem .75rem; border-radius: 999px; }
.sx-signin:hover { background: color-mix(in srgb, var(--sx-brand) 10%, transparent); }
.sx-menu-toggle { display: none; background: none; border: 0; font-size: 1.35rem; color: var(--sx-ink); width: 44px; height: 44px; border-radius: 12px; }
.sx-nav-book { display: none; }

@media (max-width: 991.98px) {
    .sx-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .sx-nav {
        position: fixed; inset: 0 0 auto 0; top: 0; padding: 96px 24px 32px; flex-direction: column; align-items: stretch; gap: .25rem;
        background: var(--sx-bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); border-radius: 0 0 28px 28px;
        transform: translateY(-105%); transition: transform .5s var(--sx-ease); z-index: -1;
    }
    body.sx-nav-open .sx-nav { transform: none; }
    .sx-nav .sx-nav-link { color: var(--sx-ink) !important; font-size: 1.15rem; padding: .85rem 1rem; }
    .sx-nav .sx-nav-link::after { display: none; }
    .sx-nav .sx-nav-link.active { background: color-mix(in srgb, var(--sx-brand) 10%, transparent); }
    .sx-nav-book { display: inline-flex; margin-top: .75rem; }
    .sx-header-actions .sx-book-top { display: none; }
}

@media (max-width: 575.98px) {
    .sx-signin span { display: none; }
    .sx-brand small { display: none; }
}

/* ---------------------------------------------------------------- background artistry (shared) */

/* Rings pulsing out from the top corner of a hero or band. */
.sx-rings { position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; z-index: 0; pointer-events: none; }
.sx-rings i { position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, .16); border-radius: 50%; animation: sx-ring-out 7s ease-out infinite; }
.sx-rings i:nth-child(2) { animation-delay: 2.3s; }
.sx-rings i:nth-child(3) { animation-delay: 4.6s; }
@keyframes sx-ring-out { from { transform: scale(.3); opacity: 1; } to { transform: scale(1); opacity: 0; } }

/* A fine grain over flat colour bands, for texture. */
.sx-grain::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The heartbeat: an ECG line that draws itself across the hero, again and again. */
.sx-pulse { position: absolute; left: 0; right: 0; bottom: 22%; height: 120px; z-index: 2; pointer-events: none; opacity: .5; }
.sx-pulse path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: sx-beat 6s var(--sx-ease) infinite; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.sx-pulse path + path { stroke: var(--sx-accent); stroke-width: 2.6; animation-delay: .15s; opacity: .7; }

@keyframes sx-beat {
    0% { stroke-dashoffset: 1600; opacity: 0; }
    10% { opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -1600; opacity: 0; }
}

/* Floating shapes: rings, plus signs and dots that bob gently. */
.sx-floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sx-floaters i { position: absolute; display: block; animation: sx-bob 9s ease-in-out infinite alternate; }
.sx-floaters .is-ring { border: 2px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.sx-floaters .is-plus { width: 26px; height: 26px; }
.sx-floaters .is-plus::before, .sx-floaters .is-plus::after { content: ""; position: absolute; background: rgba(255, 255, 255, .45); border-radius: 3px; }
.sx-floaters .is-plus::before { left: 10px; top: 0; width: 6px; height: 26px; }
.sx-floaters .is-plus::after { top: 10px; left: 0; height: 6px; width: 26px; }
.sx-floaters .is-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.sx-floaters i:nth-child(1) { width: 140px; height: 140px; top: 18%; right: 8%; animation-duration: 11s; }
.sx-floaters i:nth-child(2) { top: 30%; left: 6%; animation-duration: 8s; }
.sx-floaters i:nth-child(3) { top: 64%; right: 22%; animation-duration: 10s; }
.sx-floaters i:nth-child(4) { width: 70px; height: 70px; bottom: 18%; left: 14%; animation-duration: 13s; }
.sx-floaters i:nth-child(5) { top: 14%; left: 44%; animation-duration: 7s; }
.sx-floaters i:nth-child(6) { bottom: 30%; right: 6%; animation-duration: 12s; }

@keyframes sx-bob {
    from { transform: translateY(0) rotate(0); }
    to { transform: translateY(-26px) rotate(25deg); }
}

/* Morphing blob, used in section corners. */
.sx-blob {
    position: absolute; pointer-events: none; z-index: 0; width: 420px; height: 420px; opacity: .5;
    background: var(--sx-tint);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; animation: sx-morph 18s ease-in-out infinite alternate; filter: blur(2px);
}
.sx-blob.is-warm { background: color-mix(in srgb, var(--sx-brand) 7%, transparent); }
.sx-blob.is-tl { top: -160px; left: -160px; }
.sx-blob.is-tr { top: -140px; right: -180px; }
.sx-blob.is-bl { bottom: -180px; left: -140px; }
.sx-blob.is-br { bottom: -160px; right: -160px; }

@keyframes sx-morph {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(0) scale(1); }
    50% { border-radius: 70% 30% 46% 54% / 30% 39% 61% 70%; }
    100% { border-radius: 30% 70% 38% 62% / 61% 54% 46% 39%; transform: rotate(40deg) scale(1.08); }
}

/* Dotted texture behind a section. */
.sx-dots-bg { position: relative; }
.sx-dots-bg::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .16; background-color: var(--sx-brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.3'/%3E%3C/svg%3E") repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.3'/%3E%3C/svg%3E") repeat;
}

/* A wave across the bottom of a hero or band, in the next section's colour. */
.sx-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none; }
.sx-wave svg { width: 200%; height: 90px; animation: sx-wave 16s linear infinite; }
.sx-wave path { fill: var(--sx-bg); }
.sx-wave.is-alt path { fill: var(--sx-alt); }
.sx-wave.is-top { top: -1px; bottom: auto; transform: rotate(180deg); }

@keyframes sx-wave { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- hero slider */

.sx-hero { position: relative; min-height: min(100vh, 900px); min-height: min(100svh, 900px); color: #fff; overflow: hidden; isolation: isolate; background: var(--sx-brand); }

.sx-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--sx-ease), visibility 1.2s; }
/* No z-index on the active slide: it would make the slide its own layer, and the hero's art (grain, heartbeat,
   floating shapes) would then sit over the slide's words. Without it the words (z-index 4) rise above the art. */
.sx-slide.is-active { opacity: 1; visibility: visible; }

.sx-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 9s linear; }
.sx-slide.is-active .sx-slide-bg { transform: scale(1); }
video.sx-slide-bg { width: 100%; height: 100%; object-fit: cover; transform: none; }

.sx-slide-plain { background: var(--sx-brand); transform: none !important; }

/* A wash of the primary over the photo behind the words only: full on the left, fading out across the middle, the
   right of the photo left clear. One flat colour - only its strength fades (a mask), so no second colour appears.
   On phones the words span the width, so the wash does too. */
.sx-slide-shade {
    position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--sx-deep) 82%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 66%);
    mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 66%);
}
@media (max-width: 767.98px) {
    .sx-slide-shade { -webkit-mask-image: none; mask-image: none; background: color-mix(in srgb, var(--sx-deep) 70%, transparent); }
}

.sx-slide-copy { z-index: 4; padding-top: 110px; padding-bottom: 170px; }
.sx-slide-copy > * { max-width: 720px; }
.sx-slide .sx-slide-copy > * { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--sx-ease), transform .9s var(--sx-ease); }
.sx-slide.is-active .sx-slide-copy > * { opacity: 1; transform: none; }
.sx-slide.is-active .sx-slide-copy > :nth-child(1) { transition-delay: .25s; }
.sx-slide.is-active .sx-slide-copy > :nth-child(2) { transition-delay: .4s; }
.sx-slide.is-active .sx-slide-copy > :nth-child(3) { transition-delay: .55s; }
.sx-slide.is-active .sx-slide-copy > :nth-child(4) { transition-delay: .7s; }

.sx-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem .4rem .5rem; border-radius: 999px; font-weight: 600; font-size: .85rem;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); margin-bottom: 1.25rem; letter-spacing: .01em;
}
.sx-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 #fff; animation: sx-ping 2.2s infinite; margin-left: .35rem; }

@keyframes sx-ping {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
    100% { box-shadow: 0 0 0 14px transparent; }
}

.site .sx-title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04; margin-bottom: 1.25rem; text-wrap: balance; }
.sx-title em { font-style: normal; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.sx-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .88); margin-bottom: 2rem; max-width: 600px !important; line-height: 1.6; }
.sx-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.sx-arrow {
    position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(10px); transform: translateY(-50%); transition: background .3s, transform .3s var(--sx-ease);
}
.sx-arrow:hover { background: rgba(255, 255, 255, .25); transform: translateY(-50%) scale(1.06); }
.sx-arrow.is-prev { left: 24px; }
.sx-arrow.is-next { right: 24px; }

.sx-dots { position: absolute; z-index: 5; left: 50%; bottom: 140px; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; }
.sx-dots [data-slide-dot] { width: 34px; height: 6px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; padding: 0; }
.sx-dots [data-slide-dot][aria-current="true"] { width: 60px; }
.sx-dots [data-slide-dot][aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: sx-progress var(--sx-interval, 7s) linear forwards; }
.sx-hero[data-paused] .sx-dots [data-slide-dot][aria-current="true"]::after { animation: none; transform: none; }
.sx-pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; margin-left: .5rem; font-size: .75rem; }
.sx-pause .fa-play { display: none; }
.sx-pause[aria-pressed="true"] .fa-play { display: inline; }
.sx-pause[aria-pressed="true"] .fa-pause { display: none; }

@keyframes sx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 767.98px) {
    .sx-arrow { display: none; }
    .sx-slide-copy { padding-bottom: 200px; }
    .sx-dots { bottom: 160px; }
}

/* ---------------------------------------------------------------- quick links dock (over the hero's edge) */

.sx-dock-wrap { position: relative; z-index: 6; margin-top: -96px; }
.sx-dock {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--sx-card); border-radius: var(--sx-radius);
    box-shadow: var(--sx-shadow-lg); overflow: hidden; border: 1px solid var(--sx-line);
}
.sx-tile { display: flex; flex-direction: column; align-items: center; gap: .65rem; padding: 1.5rem 1rem; text-decoration: none; color: var(--sx-ink); font-weight: 600; text-align: center; position: relative; transition: background .3s; }
.sx-tile + .sx-tile { border-left: 1px solid var(--sx-line); }
.sx-tile:hover { background: color-mix(in srgb, var(--sx-brand) 6%, transparent); }
.sx-tile-icon {
    width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; color: #fff;
    background: var(--sx-brand); box-shadow: 0 12px 24px -10px var(--sx-brand); transition: transform .4s var(--sx-ease);
}
.sx-tile:hover .sx-tile-icon { transform: translateY(-4px) rotate(-6deg); }

@media (max-width: 767.98px) {
    .sx-dock { grid-template-columns: repeat(3, 1fr); }
    .sx-tile:nth-child(4) { border-left: 0; }
    .sx-tile:nth-child(n+4) { border-top: 1px solid var(--sx-line); }
}

/* ---------------------------------------------------------------- sections */

.sx-section { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; }
.sx-section > .sx-container { z-index: 1; }
.sx-section.is-alt { background: var(--sx-alt); }
.sx-section.is-tight { padding: 80px 0; }

.sx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.sx-section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.sx-section-head.is-center .sx-section-lead { margin-left: auto; margin-right: auto; }

.sx-kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--sx-accent-ink); margin-bottom: .8rem; }
.sx-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.site .sx-heading { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.12; margin-bottom: .75rem; text-wrap: balance; }
.sx-heading .sx-hl { position: relative; white-space: nowrap; color: var(--sx-brand-ink); }
.sx-heading .sx-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .32em; background: var(--sx-tint); z-index: -1; border-radius: 6px; }
.sx-section-lead { font-size: 1.1rem; color: var(--sx-muted); max-width: 620px; margin: 0; line-height: 1.65; }

/* ---------------------------------------------------------------- welcome + at a glance */

.sx-welcome { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4.5rem; align-items: center; }
.sx-welcome-copy p { font-size: 1.1rem; line-height: 1.75; }
.sx-checks { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .85rem; }
.sx-checks li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 500; color: var(--sx-ink); }
.sx-checks i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: #fff; background: var(--sx-brand); margin-top: 1px; }

.sx-welcome-side { position: relative; }
.sx-welcome-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: var(--sx-shadow-lg); }
.sx-welcome-frame { position: relative; }
.sx-welcome-frame::before {
    content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 36px; z-index: -1;
    background: var(--sx-brand); opacity: .18; transform: rotate(-3deg);
}

.sx-glance {
    position: absolute; right: -24px; bottom: -36px; width: min(340px, 85%); padding: 1.5rem; border-radius: 24px; color: #fff;
    background: var(--sx-brand);
    box-shadow: var(--sx-shadow-lg); overflow: hidden;
}
.sx-glance::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08); }
.sx-glance.is-alone { position: relative; right: auto; bottom: auto; width: 100%; padding: 2.25rem; }
.site .sx-glance h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; margin-bottom: 1rem; }
.sx-glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin: 0; position: relative; z-index: 1; }
.sx-glance dl > div { display: flex; flex-direction: column-reverse; }
.sx-glance dd { font-family: var(--sx-head); font-size: 2.1rem; font-weight: 800; line-height: 1; margin: 0 0 .3rem; font-variant-numeric: tabular-nums; }
.sx-glance dt { font-size: .82rem; font-weight: 500; opacity: .85; }

@media (max-width: 991.98px) {
    .sx-welcome { grid-template-columns: 1fr; gap: 4rem; }
    .sx-glance { right: 12px; }
}

/* ---------------------------------------------------------------- service cards */

.sx-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.sx-chip { border: 1px solid var(--sx-line); background: var(--sx-card); color: var(--sx-ink); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .9rem; transition: all .3s var(--sx-ease); }
.sx-chip:hover { border-color: var(--sx-brand); color: var(--sx-brand-ink); }
.sx-chip[aria-pressed="true"] { background: var(--sx-brand); border-color: var(--sx-brand); color: #fff; box-shadow: 0 10px 20px -10px var(--sx-brand); }

.sx-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sx-grid.is-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.sx-card {
    position: relative; background: var(--sx-card); border-radius: var(--sx-radius); border: 1px solid var(--sx-line); box-shadow: var(--sx-shadow);
    padding: 1.75rem; height: 100%; display: flex; flex-direction: column; transition: transform .5s var(--sx-ease), box-shadow .5s var(--sx-ease); isolation: isolate;
}
.sx-card:hover { transform: translateY(-8px); box-shadow: var(--sx-shadow-lg); }
.sx-card:hover { border-color: color-mix(in srgb, var(--sx-brand) 45%, transparent); }

.sx-service-icon {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.25rem;
    color: var(--sx-brand-ink); background: var(--sx-tint); transition: all .5s var(--sx-ease);
}
.sx-card:hover .sx-service-icon { background: var(--sx-brand); color: #fff; transform: rotate(-8deg) scale(1.05); }
.sx-card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--sx-accent-ink); margin-bottom: .35rem; }
.site .sx-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.sx-card p { color: var(--sx-muted); font-size: .95rem; line-height: 1.6; flex: 1; }
.sx-card-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.sx-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--sx-alt); color: var(--sx-ink); }
.sx-pill.is-price { background: var(--sx-tint); color: var(--sx-brand-ink); }
.sx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; }
.sx-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--sx-brand-ink) !important; text-decoration: none; }
.sx-link i { transition: transform .3s var(--sx-ease); }
.sx-link:hover i { transform: translateX(4px); }

/* ---------------------------------------------------------------- how it works */

.sx-illustration { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .08; }
[data-bs-theme="dark"] .sx-illustration { opacity: .05; filter: invert(1); }
.sx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.sx-steps::before {
    content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 0; z-index: 0;
    border-top: 2px dashed color-mix(in srgb, var(--sx-brand) 40%, transparent);
}
.sx-steps li { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.sx-step-number {
    width: 78px; height: 78px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; position: relative;
    font-family: var(--sx-head); font-weight: 800; font-size: 1.6rem; color: #fff; background: var(--sx-brand);
    box-shadow: 0 0 0 10px var(--sx-bg), 0 18px 30px -12px var(--sx-brand);
}
.sx-section.is-alt .sx-step-number { box-shadow: 0 0 0 10px var(--sx-alt), 0 18px 30px -12px var(--sx-brand); }
.sx-step-number::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--sx-brand) 45%, transparent); animation: sx-spin 18s linear infinite; }
.site .sx-steps h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.sx-steps p { color: var(--sx-muted); font-size: .95rem; margin: 0; }

@keyframes sx-spin { to { transform: rotate(360deg); } }

@media (max-width: 991.98px) {
    .sx-steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .sx-steps::before { display: none; }
}
@media (max-width: 575.98px) { .sx-steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- why choose us + spotlight */

.sx-why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4.5rem; align-items: center; }
.sx-why.is-plain { grid-template-columns: 1fr; }
.sx-spotlight { position: relative; margin: 0; }
.sx-spotlight img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 32px 32px / 40% 40% 32px 32px; box-shadow: var(--sx-shadow-lg); }
.sx-spotlight::after {
    content: ""; position: absolute; width: 130px; height: 130px; left: -30px; bottom: 40px; border-radius: 50%; z-index: 2;
    border: 8px dashed var(--sx-brand); animation: sx-spin 24s linear infinite;
}
.sx-features { display: grid; gap: 1rem; margin: 2rem 0; }
.sx-why.is-plain .sx-features { grid-template-columns: repeat(3, 1fr); }
.sx-feature { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem; border-radius: 20px; background: var(--sx-card); border: 1px solid var(--sx-line); transition: transform .4s var(--sx-ease), box-shadow .4s; }
.sx-feature:hover { transform: translateX(6px); box-shadow: var(--sx-shadow); }
.sx-feature-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; background: var(--sx-brand); }
.site .sx-feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.sx-feature p { margin: 0; color: var(--sx-muted); font-size: .95rem; }

@media (max-width: 991.98px) {
    .sx-why, .sx-why.is-plain .sx-features { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------------------------------------------------------------- team */

.sx-person { text-align: center; padding: 2rem 1.25rem; }
.sx-avatar { width: 120px; height: 120px; margin: 0 auto 1.1rem; border-radius: 50%; position: relative; padding: 4px; background: var(--sx-brand); transition: transform .5s var(--sx-ease); }
.sx-card:hover .sx-avatar { transform: scale(1.06) rotate(-4deg); }
.sx-avatar img, .sx-avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--sx-card); display: grid; place-items: center; background: var(--sx-alt); font-family: var(--sx-head); font-weight: 800; font-size: 2rem; color: var(--sx-brand); }
.sx-person .sx-card-cat { margin-bottom: .25rem; }
.sx-person p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- programme + article cards */

.sx-media-card { padding: 0; overflow: hidden; }
.sx-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sx-brand); }
.sx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sx-ease); }
.sx-card:hover .sx-media img { transform: scale(1.08); }
.sx-media-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 2.6rem; }
.sx-media-badge { position: absolute; top: 14px; left: 14px; padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--sx-ink); backdrop-filter: blur(6px); }
.sx-media-badge.is-open { background: var(--sx-brand); color: #fff; }
.sx-media-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sx-meta-line { display: flex; flex-wrap: wrap; gap: .9rem; color: var(--sx-muted); font-size: .85rem; margin-bottom: .6rem; }
.sx-meta-line i { color: var(--sx-brand-ink); margin-right: .25rem; }

/* ---------------------------------------------------------------- events */

.sx-events { display: grid; gap: 1rem; }
.sx-event { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 1.5rem; }
.sx-date { width: 76px; text-align: center; border-radius: 18px; overflow: hidden; box-shadow: var(--sx-shadow); background: var(--sx-card); }
.sx-date b { display: block; background: var(--sx-accent); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: .3rem 0; }
.sx-date span { display: block; font-family: var(--sx-head); font-weight: 800; font-size: 1.8rem; color: var(--sx-ink); padding: .25rem 0 .35rem; }
.site .sx-event h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.sx-event p { margin: 0; }

@media (max-width: 767.98px) {
    .sx-event { grid-template-columns: auto 1fr; }
    .sx-event .sx-btn { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- gallery + lightbox */

.sx-gallery { columns: 3 280px; column-gap: 1rem; }
.sx-gallery-item { display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; border: 0; padding: 0; border-radius: 20px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--sx-alt); }
.sx-gallery-item img { width: 100%; display: block; transition: transform 1s var(--sx-ease), filter .6s; }
.sx-gallery-item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.sx-gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem; color: #fff; font-weight: 600; text-align: left; background: color-mix(in srgb, var(--sx-deep) 80%, transparent); transform: translateY(100%); transition: transform .5s var(--sx-ease); }
.sx-gallery-item:hover .sx-gallery-caption, .sx-gallery-item:focus-visible .sx-gallery-caption { transform: none; }

.sx-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.sx-lightbox::backdrop { background: rgba(4, 12, 22, .92); backdrop-filter: blur(6px); }
.sx-lightbox[open] { display: grid; place-items: center; animation: sx-page-in .4s var(--sx-ease); }
.sx-lightbox figure { margin: 0; text-align: center; }
.sx-lightbox img { max-width: 88vw; max-height: 80vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sx-lightbox figcaption { color: #fff; margin-top: 1rem; font-weight: 500; }
.sx-lightbox-close { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; z-index: 2; }
.sx-lightbox .sx-arrow { position: fixed; }

/* ---------------------------------------------------------------- app band */

.sx-app {
    position: relative; border-radius: 36px; overflow: hidden; isolation: isolate; color: #fff; padding: 4rem;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
    background: var(--sx-brand);
}
.site .sx-app h2 { color: #fff; }
.sx-app p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.sx-store { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem; border-radius: 14px; background: #000; color: #fff !important; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); transition: transform .3s var(--sx-ease); }
.sx-store:hover { transform: translateY(-3px); }
.sx-store i { font-size: 1.7rem; }
.sx-store small { display: block; font-size: .68rem; opacity: .8; line-height: 1; }
.sx-store b { display: block; font-size: 1.05rem; line-height: 1.2; }

.sx-phone {
    position: relative; width: 250px; height: 500px; margin: 0 auto; border-radius: 42px; padding: 12px; background: #0b1a2a;
    box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .12); transform: rotate(6deg); animation: sx-float 7s ease-in-out infinite alternate;
}
.sx-phone-screen { height: 100%; border-radius: 32px; overflow: hidden; background: var(--sx-brand); display: flex; flex-direction: column; gap: 10px; padding: 46px 16px 16px; }
.sx-phone-screen > div { border-radius: 14px; background: rgba(255, 255, 255, .92); height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--sx-ink); font-size: .78rem; font-weight: 600; }
.sx-phone-screen > div i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--sx-brand); }
.sx-phone-screen > .is-hero { height: 120px; background: rgba(255, 255, 255, .18); color: #fff; flex-direction: column; align-items: flex-start; justify-content: center; font-size: 1rem; }
.sx-badge-float { position: absolute; padding: .6rem .9rem; border-radius: 14px; background: #fff; color: var(--sx-ink); font-weight: 700; font-size: .8rem; box-shadow: var(--sx-shadow-lg); display: flex; gap: .5rem; align-items: center; animation: sx-float 6s ease-in-out infinite alternate-reverse; }
.sx-badge-float i { color: var(--sx-brand-ink); }
.sx-badge-float.is-a { top: 18%; left: -10%; }
.sx-badge-float.is-b { bottom: 16%; right: -6%; animation-duration: 8s; }

@keyframes sx-float { to { transform: translateY(-16px) rotate(4deg); } }

@media (max-width: 991.98px) {
    .sx-app { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
    .sx-badge-float.is-a { left: 0; }
    .sx-badge-float.is-b { right: 0; }
}

/* ---------------------------------------------------------------- closing call to action */

.sx-cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 140px 0; text-align: center; background: var(--sx-brand); }
.sx-cta-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.sx-cta.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--sx-brand) 82%, transparent); }
.sx-cta-inner { position: relative; z-index: 3; max-width: 760px; }
.site .sx-cta h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
.sx-cta p { color: rgba(255, 255, 255, .88); font-size: 1.2rem; margin-bottom: 2rem; }
.sx-cta .sx-actions { justify-content: center; }

/* ---------------------------------------------------------------- page banner (other pages) */

.sx-banner { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 90px 0 120px; background: var(--sx-brand); }
.sx-banner-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: sx-kenburns 24s ease-in-out infinite alternate; }
@keyframes sx-kenburns { to { transform: scale(1.08) translate(-1.5%, -1.5%); } }
/* Like the home hero: the primary washes the photo behind the words, fading out across the middle. */
.sx-banner-shade {
    position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--sx-deep) 82%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 70%);
    mask-image: linear-gradient(90deg, #000 0%, #000 38%, transparent 70%);
}
@media (max-width: 767.98px) {
    .sx-banner-shade { -webkit-mask-image: none; mask-image: none; background: color-mix(in srgb, var(--sx-deep) 70%, transparent); }
}
.sx-banner .sx-container { z-index: 3; }
.site .sx-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin: .5rem 0 1rem; }
.sx-banner p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 640px; margin: 0; }
.sx-crumbs { display: flex; gap: .5rem; font-size: .88rem; color: rgba(255, 255, 255, .75); list-style: none; padding: 0; margin: 0; }
.sx-crumbs a { color: #fff; text-decoration: none; }
.sx-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

/* ---------------------------------------------------------------- article page */

.sx-article { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: var(--sx-text); }
.sx-article-cover { width: 100%; border-radius: 28px; margin: -80px 0 2.5rem; position: relative; z-index: 4; box-shadow: var(--sx-shadow-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.sx-article h2, .sx-article h3 { margin-top: 2rem; }
.sx-article img { border-radius: 16px; height: auto; }
.sx-article blockquote { border-left: 4px solid var(--sx-accent); padding: .5rem 1.25rem; margin: 1.5rem 0; background: var(--sx-alt); border-radius: 0 14px 14px 0; font-style: italic; }
.sx-article a { color: var(--sx-brand-ink); }
.sx-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.sx-video { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 20px; margin: 1.5rem 0; }

/* ---------------------------------------------------------------- visit / branches */

.sx-branch h3 { display: flex; align-items: center; gap: .6rem; }
.sx-branch .sx-tag-main { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--sx-accent); color: #fff; border-radius: 999px; padding: .2rem .6rem; font-family: "Inter", sans-serif; }
.sx-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.sx-contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.sx-contact-list i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--sx-brand-ink); background: var(--sx-tint); }
.sx-contact-list a { color: var(--sx-ink); font-weight: 600; text-decoration: none; }
.sx-hours { list-style: none; padding: 0; margin: 0; }
.sx-hours li { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px dashed var(--sx-line); font-weight: 500; color: var(--sx-ink); }
.sx-alert { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 18px; background: color-mix(in srgb, var(--sx-accent) 10%, transparent); color: var(--sx-ink); border: 1px solid color-mix(in srgb, var(--sx-accent) 30%, transparent); }
.sx-alert i { color: var(--sx-accent-ink); font-size: 1.2rem; margin-top: .15rem; }

/* ---------------------------------------------------------------- empty + loading */

.sx-empty { text-align: center; padding: 3rem 1.5rem; border-radius: var(--sx-radius); border: 2px dashed var(--sx-line); color: var(--sx-muted); }
.sx-empty i { font-size: 2rem; color: var(--sx-brand-ink); margin-bottom: .75rem; display: block; }
.sx-pager { display: flex; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
.sx-search { position: relative; max-width: 380px; width: 100%; }
.sx-search input { width: 100%; border-radius: 999px; border: 1px solid var(--sx-line); background: var(--sx-card); color: var(--sx-ink); padding: .75rem 1.1rem .75rem 2.75rem; }
.sx-search input:focus { outline: 2px solid var(--sx-brand); outline-offset: 1px; }
.sx-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--sx-muted); }

/* ---------------------------------------------------------------- footer */

.sx-footer { position: relative; background: var(--sx-deep); color: rgba(255, 255, 255, .72); padding: 120px 0 0; margin-top: 0; overflow: hidden; isolation: isolate; }
.sx-footer .sx-wave.is-top path { fill: var(--sx-bg); }
.sx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 2.5rem; position: relative; z-index: 2; }
.site .sx-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.25rem; }
.sx-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.sx-footer a:hover { color: #fff; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sx-footer .sx-brand { color: #fff; margin-bottom: 1.1rem; }
.sx-socials { display: flex; gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.sx-socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: all .3s var(--sx-ease); }
.sx-socials a:hover { background: var(--sx-accent); transform: translateY(-3px); }
.sx-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3.5rem; padding: 1.5rem 0 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; position: relative; z-index: 2; }
.sx-footer .sx-blob { opacity: .18; }

@media (max-width: 991.98px) { .sx-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .sx-footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- phone tab bar + WhatsApp */

.sx-tabbar { display: none; }
@media (max-width: 767.98px) {
    .sx-tabbar {
        position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        background: color-mix(in srgb, var(--sx-card) 92%, transparent); backdrop-filter: blur(16px); border-radius: 22px; padding: 6px 4px;
        box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35); border: 1px solid var(--sx-line);
    }
    .sx-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: .68rem; font-weight: 600; color: var(--sx-muted); text-decoration: none; border-radius: 14px; }
    .sx-tab i { font-size: 1.1rem; }
    .sx-tab.active { color: var(--sx-brand-ink); }
    .sx-tab-book .sx-tab-book-icon { width: 54px; height: 54px; margin-top: -26px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--sx-accent); box-shadow: 0 12px 24px -8px var(--sx-accent); }
    .sx-tab-book { color: var(--sx-ink); }
    .site { padding-bottom: 86px; }
    .sx-whatsapp { bottom: 100px !important; }
}

.sx-whatsapp {
    position: fixed; right: 20px; bottom: 24px; z-index: 39; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--sx-brand); color: #fff !important; font-size: 1.8rem; text-decoration: none; box-shadow: 0 14px 30px -10px var(--sx-brand);
}
.sx-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sx-brand); animation: sx-ring 2.4s ease-out infinite; }
@keyframes sx-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------------------------------------------------------------- reveal on scroll (js/site.js) */

/* Hidden only once site.js runs (html.site-js), so without script everything simply shows. */
.site-js .site [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--sx-ease), transform .9s var(--sx-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.site-js .site [data-reveal="left"] { transform: translateX(-48px); }
.site-js .site [data-reveal="right"] { transform: translateX(48px); }
.site-js .site [data-reveal="zoom"] { transform: scale(.92); }
.site-js .site [data-reveal].is-visible { opacity: 1; transform: none; }
.site-js .site [data-reveal].sx-instant { transition: none; }

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    .site *, .site *::before, .site *::after { animation: none !important; transition-duration: .01ms !important; }
    .site-js .site [data-reveal] { opacity: 1; transform: none; }
    .sx-slide-bg { transform: none !important; }
    .sx-pulse path { stroke-dashoffset: 0; opacity: .6; }
}

html[data-reduce-motion] .site *, html[data-reduce-motion] .site *::before, html[data-reduce-motion] .site *::after { animation: none !important; transition-duration: .01ms !important; }
html[data-reduce-motion].site-js .site [data-reveal] { opacity: 1; transform: none; }
html[data-reduce-motion] .sx-slide-bg { transform: none !important; }
html[data-reduce-motion] .sx-pulse path { stroke-dashoffset: 0; opacity: .6; }

/* A page that ends on the dark call-to-action band runs straight into the footer, without the footer's wave. */
.sx-main:has(.sx-page > .sx-cta:last-child) + .sx-footer { padding-top: 80px; }
.sx-main:has(.sx-page > .sx-cta:last-child) + .sx-footer > .sx-wave { display: none; }
