/* ==========================================================================
   Custom Project Styles & Consolidated Global Rules
   ========================================================================== */

/* Font smoothing and typography rendering optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Visibility management for Webflow interactive components */
html.w-mod-js:not(.w-mod-ix3):is([marquee-left]) {
    visibility: hidden !important;
}

html.w-mod-js:not(.w-mod-ix3):is([marquee-left]) * {
    visibility: hidden !important;
}

html.w-mod-js:not(.w-mod-ix3):is([marquee-right]) {
    visibility: hidden !important;
}

html.w-mod-js:not(.w-mod-ix3):is([marquee-right]) * {
    visibility: hidden !important;
}

/* Homepage hero intro animation lifecycle and initial load visibility */
html.home-intro-pending .master_navigation {
    opacity: 0 !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
    visibility: visible !important;
}

html.home-intro-pending .hero-title { opacity: 1 !important; visibility: visible !important; }
.hero-title { perspective: 1000px; }
.hero-title__word { display: inline-block; will-change: transform, opacity; transform-origin: 50% 100%; }

html.home-intro-pending [loader-text],
html.home-intro-pending .p_hero-home-a {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Navbar smooth downward drop entrance with subtle luxury easing */
.master_navigation {
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

html.home-intro-navbar-in .master_navigation,
html.home-intro-complete .master_navigation {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

html.home-intro-complete [loader-text],
html.home-intro-complete .p_hero-home-a {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html.home-intro-complete .hero-title { opacity: 1 !important; transform: none !important; }

.p_hero-home-a {
    transition: opacity 0.5s ease;
}

/* Hide Webflow badge watermark */
.w-webflow-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide cookie settings banner initially */
.master_cookies,
.cookies {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.w-mod-js:not(.w-mod-ix3) :is(.marquee_footer, :is(.card_carousel, .card_carousel) [p-carousel-card], :is(.card_carousel, .card_carousel) .btn-carousel_animation-wrapper, [marquee-left], [marquee-right], .marquee-text, .cookies, .overlay_animation-text) {
    visibility: hidden !important;
}

@media not all and (max-width: 479px) and (min-width: 0px) {
    @media not all and (max-width: 767px) and (min-width: 480px) {
        @media not all and (max-width: 991px) and (min-width: 768px) {
            html.w-mod-js:not(.w-mod-ix3) :is(:is(.card_case, .card_case) .mask_case-description) {
                visibility: hidden !important;
            }
        }
    }
}

/* Background video fallback rules */
[data-wf-bgvideo-fallback-img] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-wf-bgvideo-fallback-img] {
        position: absolute;
        z-index: -100;
        display: inline-block;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* ==========================================================================
   Hero Section & Scroll Experience Refinements
   ========================================================================== */

/* Overlay scroll container */
.overlay_scroll {
    z-index: 2 !important;
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

/* Sticky scroll container:
   - padding: 0 ensures Flip.fit measures origin with 0px coordinate offset at rest
   - display: block prevents flexbox doubling
*/
.sticky-scroll {
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-width: 100vw !important;
    position: sticky !important;
    top: 0 !important;
    display: block !important;
    overflow: hidden !important;
    transform: none !important;
    opacity: 0 !important;
    pointer-events: none;
    transition: none;
}

.sticky-scroll.is-ready {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.sticky-scroll.is-locked,
.animation_text-wrap.is-locked {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
}

.sticky-scroll.is-locked {
    z-index: 2 !important;
}

.animation_text-wrap.is-locked {
    z-index: 5 !important;
    pointer-events: none !important;
}

/* .fill-element:
   - Natural un-flipped state has 10px margin on all sides and 16px border-radius
   - GSAP Flip fits it from origin (332x424 in center) to this 10px-padded frame
*/
.fill-element {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background-color: #0c0d0d;
}

.fill-element video {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Section stacking context: approach section slides up and overlaps hero cleanly */
.home-top_wrap {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Hero Responsive Spacing, Typography & Video Optimization
   ========================================================================== */

/* 1. Responsive vertical spacing between fixed navbar and Google Reviews */
.master_hero-home-a {
    padding-top: calc(72px + clamp(1.5rem, 3.5vh, 2.75rem)) !important;
}

@media screen and (max-width: 991px) {
    .master_hero-home-a {
        padding-top: calc(64px + clamp(1.5rem, 3.5vh, 2.5rem)) !important;
    }
}

@media screen and (max-width: 767px) {
    .master_hero-home-a {
        padding-top: calc(64px + clamp(1.75rem, 4vh, 2.75rem)) !important;
    }
}

.headline_hero-home-a .google-review-badge {
    margin-top: 0;
    margin-bottom: clamp(1rem, 2.5vh, 1.4rem);
}

/* 2. Hero Title: Preserved two-line layout and responsive typography */
.hero-title {
    margin-top: 0;
    margin-bottom: 0;
    text-wrap: balance;
}

.hero-title__line {
    display: block;
}

@media screen and (min-width: 480px) {
    .hero-title__line {
        white-space: nowrap;
    }
}

@media screen and (max-width: 991px) {
    .headline_hero-home-a {
        max-width: 100% !important;
        width: 100% !important;
    }
    .headline_hero-home-a h1,
    .hero-title {
        font-size: clamp(2.35rem, 6vw, 3.25rem) !important;
        line-height: 1.14 !important;
        letter-spacing: -0.03em !important;
    }
}

@media screen and (max-width: 479px) {
    .headline_hero-home-a h1,
    .hero-title {
        font-size: clamp(2.15rem, 8vw, 2.65rem) !important;
        line-height: 1.12 !important;
    }
}

/* 3. Video Anti-Blinking: Prevent frame drops, flickering, and background poster leaks */
.fill-element video,
.image-wrap_hero-home-a video {
    background: transparent !important;
    background-image: none !important;
    object-fit: cover;
}

/* 4. Mobile View: Layout, hierarchy, and content visibility */
@media screen and (max-width: 767px) {
    .master_hero-home-a {
        height: auto !important;
        min-height: 100svh !important;
        justify-content: flex-start !important;
        padding-bottom: 1.5rem !important;
    }
    .wrap_hero-animation {
        margin-top: clamp(0.6rem, 1.8vh, 0.9rem) !important;
        margin-bottom: clamp(0.75rem, 2vh, 1.25rem) !important;
    }
    .image-wrap_hero-home-a {
        height: clamp(18.5rem, 42vh, 23.5rem) !important;
        width: clamp(13.8rem, 62vw, 17.5rem) !important;
    }
    .origin-element {
        height: clamp(18.5rem, 42vh, 23.5rem) !important;
        width: clamp(13.8rem, 62vw, 17.5rem) !important;
    }
    .p_hero-home-a {
        max-width: 100% !important;
        margin: clamp(0.75rem, 2vh, 1.25rem) auto clamp(1.5rem, 3.5vh, 2.5rem) auto !important;
        padding-top: 0 !important;
        padding-inline: 1.25rem !important;
    }
    .p_hero-home-a p {
        font-size: clamp(0.85rem, 3.2vw, 0.95rem) !important;
        line-height: 1.48 !important;
    }
    .section_hero-home-a {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
}

/* 5. Mobile Burger Menu: Opening & closing animation & drawer styling */
@media screen and (max-width: 991px) {
    .menu-button {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box !important;
    }
    .menu-button_inner {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: auto !important;
        will-change: transform, opacity;
    }
    .menu-button_inner.close {
        display: none;
    }
    .menu-button_inner .icon_menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 14px !important;
        height: 14px !important;
        margin: auto !important;
    }
    .menu-button_inner svg {
        display: block !important;
        margin: auto !important;
        width: 12px !important;
        height: 12px !important;
    }
    .w-nav-overlay {
        padding-left: var(--layout-grid--margin, 1rem) !important;
        padding-right: var(--layout-grid--margin, 1rem) !important;
        box-sizing: border-box !important;
    }
    .w-nav-overlay [data-nav-menu-open],
    .nav-menu.w-nav-menu {
        max-width: var(--container--large, 100%) !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        box-shadow: 0 16px 36px -8px rgba(10, 19, 41, 0.12) !important;
        background: #ffffff !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        box-sizing: border-box !important;
    }
    .nav-container:has(.menu-button.w--open),
    .nav-container.is-menu-open {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

/* ==========================================================================
   Doctor Medical Dark Blue Theme Overrides
   ========================================================================== */
:root {
    --_🎨-color--base---base--dark-100: #0a1329;
    --_🎨-color--base---base--dark-88: #0a1329e0;
    --_🎨-color--base---base--dark-64: #0a1329a3;
    --_🎨-color--base---base--dark-48: #0a13297a;
    --_🎨-color--base---base--dark-32: #0a132952;
    --_🎨-color--base---base--dark-16: #0a132929;
    --_🎨-color--base---base--dark-8: #0a132914;
    --_🎨-color--base---base--dark-4: #0a13290a;
    --_🎨-color--base---base--dark-0: #0a132900;
    --_🎨-color--base---lift--dark: #121e3e;
    --_🎨-color--base---accent--primary: #38bdf8;
}

.section_approach {
    position: relative;
    z-index: 20 !important;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none !important;
    background-color: #0a1329 !important;
    background: #0a1329 !important;
    padding-bottom: 4.5rem !important;
    margin-bottom: 0 !important;
}

.card_number {
    background-color: #121e3e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Card number typography restoration */
.card_number .wrap_number,
.card_number h2.wrap_number {
    font-family: var(--_🔠-typography---font-family--h2, serif) !important;
    font-size: var(--_🔠-typography---size--h2, 3.25rem) !important;
    line-height: var(--_🔠-typography---line-height--h2, 1.1) !important;
    font-weight: var(--_🔠-typography---font-weight--h2, 700) !important;
    letter-spacing: var(--_🔠-typography---letter-spacing--h2, -0.02em) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: baseline !important;
}

.card_number .wrap_number .heading-alternative,
.card_number h2.wrap_number .heading-alternative {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
}

/* ==========================================================================
   Approach Section: Hospital Moving Logo Marquee
   (Equal shape and size cards, matching theme colors, high-impact big logos)
   ========================================================================== */
.approach_hospital_marquee_wrap {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none !important;
    position: relative;
    width: 100%;
}

.approach_marquee_label_wrap {
    margin-bottom: 2.25rem;
    max-width: 48rem;
}

.approach_marquee_eyebrow {
    color: #38bdf8 !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.5rem !important;
}

.approach_marquee_heading {
    color: #ffffff !important;
    font-size: 1.85rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    margin: 0 !important;
}

/* Master marquee container inside approach */
.approach_marquee_container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0.75rem 0;
}

/* Gradient edge masks to fade into section background #0a1329 */
.approach_marquee_shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    z-index: 3;
    pointer-events: none;
}

.approach_marquee_shadow.left {
    left: 0;
    background: linear-gradient(90deg, #0a1329 15%, rgba(10, 19, 41, 0) 100%);
}

.approach_marquee_shadow.right {
    right: 0;
    background: linear-gradient(270deg, #0a1329 15%, rgba(10, 19, 41, 0) 100%);
}

/* 60fps infinite marquee scroll */
@keyframes approachMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-33.333333%, 0, 0);
    }
}

.approach_marquee_track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: approachMarqueeScroll 28s linear infinite;
    will-change: transform;
}

.approach_marquee_track:hover {
    animation-play-state: paused;
}

.approach_marquee_group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ==========================================================================
   PURE HOSPITAL LOGOS (NO CARDS, NO BACKGROUND, NO BORDERS)
   ========================================================================== */
.approach_hospital_card {
    width: auto !important;
    min-width: 130px;
    height: 85px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 2rem !important;
    margin-right: 1.5rem !important;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.approach_hospital_card:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    transform: scale(1.08);
}

/* ==========================================================================
   LARGE, CRISP, HIGH-CONTRAST LOGOS
   ========================================================================== */
.approach_hosp_logo {
    display: block;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    opacity: 0.88;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.approach_hospital_card:hover .approach_hosp_logo {
    opacity: 1 !important;
}

/* Enlarged optical scaling for each logo */
.approach_hosp_logo.logo_saifee {
    max-height: 72px;
    max-width: 220px;
    transform: scale(1.1);
}

.approach_hosp_logo.logo_masina {
    max-height: 54px;
    max-width: 250px;
}

.approach_hosp_logo.logo_apollo {
    max-height: 66px;
    max-width: 240px;
}

.approach_hosp_logo.logo_noor {
    max-height: 66px;
    max-width: 210px;
}

.approach_hosp_logo.logo_saboo {
    max-height: 62px;
    max-width: 230px;
}

.approach_hosp_logo.logo_st_elizabeth {
    max-height: 76px;
    max-width: 110px;
}

.approach_hosp_logo.logo_wockhardt {
    max-height: 64px;
    max-width: 250px;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) and (min-width: 768px) {
    .approach_hospital_card {
        height: 72px !important;
        padding: 0 1.5rem !important;
        margin-right: 1.25rem !important;
    }

    .approach_marquee_heading {
        font-size: 1.6rem !important;
    }

    .approach_hosp_logo.logo_saifee {
        max-height: 58px;
        max-width: 180px;
    }
    .approach_hosp_logo.logo_masina {
        max-height: 44px;
        max-width: 200px;
    }
    .approach_hosp_logo.logo_apollo {
        max-height: 54px;
        max-width: 190px;
    }
    .approach_hosp_logo.logo_noor {
        max-height: 54px;
        max-width: 170px;
    }
    .approach_hosp_logo.logo_saboo {
        max-height: 50px;
        max-width: 185px;
    }
    .approach_hosp_logo.logo_st_elizabeth {
        max-height: 62px;
        max-width: 90px;
    }
    .approach_hosp_logo.logo_wockhardt {
        max-height: 52px;
        max-width: 200px;
    }
}

@media screen and (max-width: 767px) {
    .card_number .wrap_number,
    .card_number h2.wrap_number {
        font-size: 2.25rem !important;
    }

    .approach_hospital_marquee_wrap {
        margin-top: 3.5rem;
        padding-top: 2.5rem;
    }

    .approach_marquee_heading {
        font-size: 1.35rem !important;
    }

    .approach_hospital_card {
        height: 60px !important;
        padding: 0 1rem !important;
        margin-right: 1rem !important;
    }

    .approach_marquee_shadow {
        width: 2.5rem;
    }

    .approach_hosp_logo.logo_saifee {
        max-height: 48px;
        max-width: 150px;
    }
    .approach_hosp_logo.logo_masina {
        max-height: 38px;
        max-width: 170px;
    }
    .approach_hosp_logo.logo_apollo {
        max-height: 44px;
        max-width: 160px;
    }
    .approach_hosp_logo.logo_noor {
        max-height: 44px;
        max-width: 145px;
    }
    .approach_hosp_logo.logo_saboo {
        max-height: 40px;
        max-width: 155px;
    }
    .approach_hosp_logo.logo_st_elizabeth {
        max-height: 52px;
        max-width: 75px;
    }
    .approach_hosp_logo.logo_wockhardt {
        max-height: 42px;
        max-width: 170px;
    }
}

/* Smooth performant rendering for animated elements */
.wrap_home-a-animation {
    will-change: transform;
}

/* Clean Section Divider matching the subtle hospital affiliations border */
.section-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 30;
}

/* ==========================================================================
   3D ANATOMICAL SURGICAL RECONSTRUCTION SECTION (#journey)
   Pristine Clinical Studio Environment (#ffffff)
   Seamless Flow from Approach Section into White Surgical Studio
   ========================================================================== */
#journey {
    height: 480vh;
    position: relative;
    background-color: var(--stage-bg, #0a1329);
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 25;
}

.stage {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    background-color: var(--stage-bg, #0a1329);
    color: var(--stage-title, #ffffff);
    user-select: none;
    -webkit-user-select: none;
    border: none !important;
}

/* Subtle, clean clinical studio lighting vignette for white background */
.stage .light-field {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 65% 48%, rgba(241, 245, 249, 0.85) 0%, rgba(255, 255, 255, 1) 70%),
                #ffffff;
    z-index: 1;
    pointer-events: none;
    opacity: var(--stage-light-opacity, 0);
}

/* Interactive 3D WebGL Canvas - Clean, focused on the bone */
#bone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 4;
    pointer-events: none;
    cursor: default;
}

/* ==========================================================================
   CLEAN MINIMALIST RADIOGRAPHIC SCAN LINE (100% PURE MONOCHROME B&W)
   ========================================================================== */
.xray-frame {
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 51%;
    right: 10%;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
}

.xray-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(15, 23, 42, 0.45);
    border-style: solid;
}

.xray-corner.top-left { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.xray-corner.top-right { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.xray-corner.bottom-left { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.xray-corner.bottom-right { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(15, 23, 42, 0.35);
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.xray-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: 1.5px;
    color: #334155;
    font-weight: 600;
}

.xray-caption {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 8px;
    letter-spacing: 2px;
    color: #334155;
    font-weight: 600;
}

/* ==========================================================================
   CINEMATIC SINGLE-LINE CAPTION SYSTEM (CLEAN HIGH-CONTRAST TYPOGRAPHY)
   ========================================================================== */
.cinema-caption-wrap {
    position: absolute;
    left: 6%;
    top: 32%;
    width: 42%;
    max-width: 580px;
    z-index: 7;
    pointer-events: none;
    will-change: transform, opacity;
}

.cinema-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--stage-eyebrow, #38bdf8);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cinema-title {
    font-family: var(--_🔠-typography---font-family--h1, 'Cormorant', Georgia, serif);
    font-size: clamp(38px, 4.4vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--stage-title, #ffffff);
    font-weight: 400;
    margin: 0 0 16px 0;
    white-space: nowrap;
}

.cinema-title em {
    font-style: italic;
    color: var(--stage-eyebrow, #38bdf8);
    font-weight: 400;
}

.cinema-subtitle {
    font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
    line-height: 1.6;
    color: var(--stage-sub, #94a3b8);
    max-width: 460px;
    margin: 0;
}

/* ==========================================================================
   MINIMALIST CINEMATIC BOTTOM STEPPER (WHITE STUDIO THEME)
   ========================================================================== */
.cinema-bottom-bar {
    position: absolute;
    bottom: 48px;
    left: 6%;
    right: 6%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: auto;
}

.cinema-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    padding-bottom: 12px;
}

.cinema-nav-btn {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--stage-nav, #94a3b8);
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease, transform 0.2s ease;
}

.cinema-nav-btn:hover {
    color: var(--stage-eyebrow, #38bdf8);
    transform: translateY(-1px);
}

.cinema-nav-btn.active {
    color: var(--stage-nav-active, #ffffff);
    font-weight: 700;
}

.cinema-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--stage-eyebrow, #38bdf8);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.45);
}

.cinema-progress-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--stage-progress-track, rgba(255, 255, 255, 0.12));
    border-radius: 1px;
    overflow: hidden;
}

.cinema-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--stage-eyebrow, #38bdf8);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.4);
    transition: width 0.1s linear;
}

#scene-error {
    position: absolute;
    z-index: 20;
    bottom: 120px;
    left: 6%;
    font-size: 0.875rem;
    color: #f87171;
}

/* ==========================================================================
   SECTION CAROUSEL NATURAL INTEGRATION (#ffffff)
   Seamless flow after #journey, leaving "Designed for companies beyond the startup phase"
   and everything below completely unchanged.
   ========================================================================== */
.section_carousel {
    position: relative;
    background-color: #ffffff !important;
    color: #0a1329 !important;
    border-top: none !important;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
    .cinema-caption-wrap {
        left: 6%;
        width: 44%;
        top: 24%;
    }
    .cinema-title {
        font-size: clamp(30px, 4.2vw, 48px);
    }
    .xray-frame {
        top: 14%;
        bottom: 16%;
        left: 50%;
        right: 6%;
    }
}

@media screen and (max-width: 767px) {
    #journey {
        height: 720vh;
    }
    .stage {
        min-height: 540px;
    }
    /* Utilize top space on mobile */
    .cinema-caption-wrap {
        top: 8%;
        left: 6%;
        right: 6%;
        width: auto;
        max-width: none;
    }
    .cinema-eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 8px;
    }
    .cinema-title {
        font-size: clamp(26px, 7vw, 38px);
        white-space: normal;
        margin-bottom: 8px;
        line-height: 1.1;
    }
    .cinema-subtitle {
        font-size: 0.8125rem;
        line-height: 1.45;
        max-width: 320px;
    }
    .xray-frame {
        top: 36%;
        bottom: 18%;
        left: 8%;
        right: 8%;
    }
    .scan-line {
        left: 0 !important;
        right: 0 !important;
    }
    .cinema-bottom-bar {
        bottom: 24px;
    }
    .cinema-nav {
        gap: 6px;
    }
    .cinema-nav-btn {
        font-size: 0.6875rem;
        padding: 4px 6px;
    }
}




/* Additional chapter context belongs only to the spacious desktop layout. */
#journey .cinema-desktop-detail { display: none; }
@media screen and (min-width: 992px) {
    #journey .cinema-desktop-detail {
        display: block;
        max-width: 400px;
        margin: 26px 0 0;
        padding-top: 23px;
        border-top: 1px solid currentColor;
        color: var(--stage-sub, #94a3b8);
        font-size: clamp(14px, 1vw, 16px);
        line-height: 1.85;
        opacity: 0.85;
    }
}

/* Scroll-linked consultation cards; the original surgical stages stay intact. */
.bone-results { position: relative; z-index: 26; padding: 0 !important; }
.bone-results .results-shell { height: 100svh; min-height: 560px; padding: 80px 0 24px; display: flex; flex-direction: column; justify-content: center; gap: 22px; overflow: hidden; box-sizing: border-box; }
.results-heading { padding: 0 6%; }
.results-eyebrow { color: #0284a8; font-size: 11px; letter-spacing: .2em; }
.results-heading h2 { font-family: Georgia, serif; font-size: clamp(28px, 3.3vw, 52px); font-weight: 400; line-height: 1.15; margin: 10px 0; }
.results-heading p { font-size: 12px; color: #64748b; margin: 0; }
.results-viewport { width: 100%; overflow: hidden; touch-action: pan-y; }
.results-track { display: flex; gap: 24px; padding: 0 6%; width: max-content; will-change: transform; }
.bone-results .results-card { flex: 0 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; width: min(82vw, 1080px); height: clamp(300px, 48svh, 510px); overflow: hidden; border: 1px solid #e3e6e8; border-radius: 18px; background: #f7f8f8; }
.bone-results .image_carousel-card { width: 100%; height: 100%; min-height: 0; position: relative; overflow: hidden; background: #f4f2ed; }
.bone-results .image_cover { width: 100%; height: 100%; object-fit: cover; }
.bone-results .content_carousel { width: auto; padding: clamp(20px, 3vw, 46px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.bone-results .content_carousel h3 { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.15; }
.bone-results .masked-content_carousel, .bone-results .inner_carousel-content { height: auto !important; opacity: 1 !important; transform: none !important; overflow: visible; }
.bone-results .inner_carousel-content p { font-size: 15px; line-height: 1.7; }
.bone-results .btn-wrap_card-carousel { margin-top: 20px; }
.results-controls { display: flex; align-items: center; gap: 22px; padding: 0 6%; }
.results-controls button { width: 40px; height: 40px; border: 1px solid #cbd5e1; border-radius: 50%; color: #0a1329; background: white; cursor: pointer; }
.results-controls button:disabled { opacity: .3; cursor: default; }
.results-count { font-size: 12px; letter-spacing: .12em; color: #475569; }
@media(max-width: 767px) {
    .bone-results .results-shell { padding-top: 65px; gap: 14px; min-height: 600px; }
    .results-heading h2 { font-size: 27px; margin: 6px 0; }
    .results-heading p { font-size: 11px; }
    .results-track { gap: 16px; }
    .bone-results .results-card { width: 88vw; height: auto; grid-template-columns: 1fr; }
    .bone-results .image_carousel-card { height: clamp(170px, 29svh, 300px); }
    .bone-results .content_carousel { padding: 18px 20px; gap: 10px; }
    .bone-results .content_carousel h3 { font-size: 24px; }
    .bone-results .inner_carousel-content p { font-size: 12px; line-height: 1.55; }
    .bone-results .btn-wrap_card-carousel { margin-top: 12px; }
    .results-controls button { width: 32px; height: 32px; }
}
@media(prefers-reduced-motion: reduce) {
    .results-track { will-change: auto; }
}

.bone-results .results-card:first-child .image_cover { object-fit: cover; object-position: 50% 50%; }

/* Keep the consultation action visible, independent of template hover reveals. */
.bone-results .inner_carousel-content { padding-top: 0 !important; gap: 0 !important; justify-content: flex-start; }
.bone-results .btn-wrap_card-carousel,
.bone-results .btn-carousel_animation-wrapper { overflow: visible !important; height: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; flex-shrink: 0; }
.bone-results .cta_tertiary { display: inline-flex !important; opacity: 1 !important; visibility: visible !important; transform: none !important; min-height: 44px; }
.bone-results .content_carousel { min-height: 0; }
@media (max-width: 767px) {
    .bone-results .results-shell { min-height: 0; height: 100svh; padding: 62px 0 12px; gap: 10px; }
    .bone-results .results-heading { flex: 0 0 auto; }
    .bone-results .results-heading h2 { font-size: 24px; margin: 4px 0; }
    .bone-results .results-viewport { flex: 1; min-height: 0; }
    .bone-results .results-track { height: 100%; }
    .bone-results .results-card { height: 100%; grid-template-rows: minmax(0, 1fr) auto; }
    .bone-results .image_carousel-card { height: 100%; min-height: 0; }
    .bone-results .content_carousel { padding: 12px 16px; gap: 7px; }
    .bone-results .content_carousel h3 { font-size: 21px; }
    .bone-results .inner_carousel-content p { font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
    .bone-results .btn-wrap_card-carousel { margin-top: 8px; }
    .bone-results .cta_tertiary { font-size: 12px; min-height: 38px; }
    .bone-results .results-controls { flex-shrink: 0; }
}
@media (min-width: 768px) and (max-height: 720px) {
    .bone-results .results-shell { min-height: 0; padding: 60px 0 12px; gap: 12px; }
    .bone-results .results-heading h2 { font-size: 30px; margin: 5px 0; }
    .bone-results .results-card { height: clamp(220px, 52svh, 375px); }
    .bone-results .content_carousel { padding: 18px 22px; gap: 12px; }
    .bone-results .inner_carousel-content p { font-size: 13px; line-height: 1.5; }
    .bone-results .btn-wrap_card-carousel { margin-top: 10px; }
}

/* Image-led mobile card, with breathing room around the shared primary button. */
.bone-results .results-appointment { display: inline-flex; width: fit-content; max-width: 100%; min-height: 44px; }
.bone-results .results-appointment .btn-bg { z-index: 0; }
.bone-results .results-appointment .button_text-mask,
.bone-results .results-appointment .icon-wrap_button { z-index: 1; position: relative; }
@media (max-width: 767px) {
    .bone-results .results-viewport { flex: 0 1 auto; height: min(70svh, 620px); min-height: 0; }
    .bone-results .content_carousel { padding: 18px 18px 20px; gap: 12px; }
    .bone-results .inner_carousel-content p { line-height: 1.55; }
    .bone-results .btn-wrap_card-carousel { margin-top: 16px; }
    .bone-results .results-appointment { font-size: 13px; }
}
@media (max-width: 767px) and (max-height: 650px) {
    .bone-results .results-shell { gap: 8px; }
    .bone-results .content_carousel { padding: 12px 16px; gap: 8px; }
    .bone-results .btn-wrap_card-carousel { margin-top: 10px; }
}

/* Shared form and listing components */
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; }
[data-form-status] { margin-top: 14px; }
[data-form-status]:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
button.cta_primary { border: 0; cursor: pointer; font: inherit; }
button.cta_primary:disabled { opacity: .65; cursor: wait; }
.case-list-entry { margin-bottom: 40px; }

/* ==========================================================================
   REUSABLE GET IN TOUCH CONTACT FORM COMPONENT STYLES
   - Fully pill-shaped text/email/tel input fields
   - Message textarea strictly contained within form layout (no breakout/overflow)
   - Expanded full-width submit button with pill geometry
   - Zero excess dead space at the bottom of the form
   ========================================================================== */
.form-block_contact {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 28px !important;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem) !important;
    margin-bottom: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(10, 19, 41, 0.08) !important;
    box-shadow: 0 10px 40px -10px rgba(10, 19, 41, 0.08), 0 0 1px 1px rgba(10, 19, 41, 0.04) !important;
    overflow: hidden !important;
    position: relative !important;
}

.form-block_contact .form_block {
    margin-bottom: 0 !important;
    gap: 1.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.form-block_contact .contact-form_top-tile {
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
}

.form-block_contact .contact-form_top-tile h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.15rem) !important;
    color: #0a1329 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
}

.form-block_contact .contact-form_subtitle,
.form-block_contact .contact-form_top-tile p {
    color: #64748b !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.form-block_contact .contact-form_bottom-tile {
    gap: 1.25rem !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.form-block_contact .contact-form_inner {
    gap: 1.25rem !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Form row halves for desktop (Email & Phone side-by-side) */
.form-row--halves {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.15rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
    .form-row--halves {
        grid-template-columns: 1fr !important;
        gap: 1.15rem !important;
    }
}

.form-block_contact .input_wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* 1. Floating On-The-Line Labels */
.float-label-wrap {
    position: relative !important;
    margin-top: 0.25rem !important;
}

.float-label-wrap .float-label {
    position: absolute !important;
    left: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    color: #64748b !important;
    pointer-events: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    padding: 0 4px !important;
    line-height: 1 !important;
    z-index: 3 !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
}

.float-label-wrap .float-label--textarea {
    top: 1.15rem !important;
    transform: none !important;
    left: 1.4rem !important;
}

/* Floated position: sits directly on top border line */
.float-label-wrap input.text-field:focus ~ .float-label,
.float-label-wrap input.text-field:not(:placeholder-shown) ~ .float-label,
.float-label-wrap.has-value input.text-field ~ .float-label,
.float-label-wrap textarea.text-field:focus ~ .float-label,
.float-label-wrap textarea.text-field:not(:placeholder-shown) ~ .float-label,
.float-label-wrap.has-value textarea.text-field ~ .float-label {
    top: 0 !important;
    transform: translateY(-50%) !important;
    left: 1.25rem !important;
    font-size: 0.725rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    padding: 0 6px !important;
}

.float-label-wrap input.text-field:focus ~ .float-label,
.float-label-wrap textarea.text-field:focus ~ .float-label {
    color: #0284c7 !important;
}

/* 2. Pill-shaped Input Fields */
.form-block_contact input.text-field {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 1.5rem !important;
    border-radius: 9999px !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0a1329 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    line-height: normal !important;
    margin-bottom: 0 !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-block_contact input.text-field:focus,
.form-block_contact input.text-field:focus-visible {
    background-color: #ffffff !important;
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16) !important;
}

/* 3. Contained Textarea */
.form-block_contact .input_wrap--textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.form-block_contact textarea.text-field,
.form-block_contact .text-field.text-area {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 125px !important;
    border-radius: 20px !important;
    padding: 1rem 1.4rem !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0a1329 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    line-height: 1.55 !important;
    resize: vertical !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin-bottom: 0 !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-block_contact textarea.text-field:focus,
.form-block_contact textarea.text-field:focus-visible {
    background-color: #ffffff !important;
    border-color: #0284c7 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16) !important;
}

/* 4. Consent Checkbox Row */
.form-block_contact .contact-consent {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0.25rem 0 0 0 !important;
    padding: 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    color: #475569 !important;
    cursor: pointer !important;
}

.form-block_contact .contact-consent input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    margin-top: 2px !important;
    accent-color: #0284c7 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

/* 5. Full-Width Send Enquiry Submit Button - Reuses native button styles, no custom shadows or glows */
.form-block_contact .contact-form_submit-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.form-block_contact .btn-full-width,
.btn-full-width {
    width: 100% !important;
    box-shadow: none !important;
    transform: none !important;
}

.form-block_contact .btn-full-width:hover,
.form-block_contact .btn-full-width:focus,
.form-block_contact .btn-full-width:active {
    box-shadow: none !important;
    transform: none !important;
}

/* 6. In-Form Success Message View */
.contact-form_success {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 380px !important;
}

.contact-form_success[hidden] { display: none !important; }
[data-submission-form][hidden] { display: none !important; }
.contact-form_success.is-visible .contact-form_success-card { animation: contact-success-in .45s cubic-bezier(.2,.75,.25,1) both; }
.contact-form_success[hidden] .success-icon_circle { animation: none !important; }
.contact-form_success.is-visible .success-icon_circle { animation: success-pop .45s cubic-bezier(.175,.885,.32,1.275) both !important; }
@keyframes contact-success-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form_success-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 440px !important;
    margin: 0 auto !important;
}

.success-icon_circle {
    width: 68px !important;
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    animation: success-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.success-tick_svg {
    width: 100% !important;
    height: 100% !important;
}

@keyframes success-pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.contact-form_success .success-title {
    font-size: clamp(1.65rem, 2.5vw, 2.15rem) !important;
    color: #0a1329 !important;
    font-weight: 600 !important;
    margin: 0 0 0.5rem 0 !important;
}

.contact-form_success .success-desc {
    font-size: 1.05rem !important;
    color: #475569 !important;
    margin: 0 0 1.75rem 0 !important;
    line-height: 1.5 !important;
}

.contact-form_success .btn-fill-another {
    background: transparent !important;
    border: none !important;
    color: #0284c7 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    padding: 0.35rem 0.75rem !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

.contact-form_success .btn-fill-another:hover {
    color: #0369a1 !important;
}

/* 7. Bottom Status Message */
.form-block_contact [data-form-status] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.4 !important;
}

.form-block_contact [data-form-status]:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

.form-block_contact [data-form-status]:not(:empty) {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 0.875rem !important;
    color: #0284c7 !important;
    text-align: center !important;
}

/* 8. Contact Info Tiles - Keep original height, width, and styles; no shadows or glows; underline on hover only */
.contact_tile {
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: none !important;
}

.contact_tile:hover,
.contact_tile:focus,
.contact_tile:active {
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.contact_tile:hover .contact_tile-value {
    text-decoration: underline !important;
}

/* 9. Eliminate massive spacing between contact section and footer */
.section_body-contact-c {
    padding-bottom: clamp(2.5rem, 4vw, 3.75rem) !important;
}

/* Shared social SVGs sit directly on the footer or mobile menu surface. */
.social-links { display:flex; align-items:center; justify-content:center; gap:12px; }
.social-link { --social-color:#0a66c2; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:var(--social-color); background:transparent; border:1px solid color-mix(in srgb, var(--social-color) 25%, transparent); border-radius:50%; box-shadow:none; text-decoration:none; transition:transform .22s ease, color .22s ease, background-color .22s ease, border-color .22s ease; }
.social-link--instagram { --social-color:#c13584; }
.social-link--facebook { --social-color:#1877f2; }
.social-link--linkedin { --social-color:#0a66c2; }
.social-link--youtube { --social-color:#e62117; }
.social-link__icon { display:flex; transition:transform .22s ease; }
.social-link__icon svg { width:23px; height:23px; }
.social-link:is(:hover,:focus-visible) { transform:translateY(-2px); color:var(--social-color); background:transparent; border-color:color-mix(in srgb, var(--social-color) 45%, transparent); box-shadow:none; filter:none; }
.social-link:is(:hover,:focus-visible) .social-link__icon { transform:scale(1.08); }
.social-link:active { transform:translateY(0); }
.social-link[aria-disabled="true"] { opacity:1; filter:none; }
.social-link:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.nav-mobile-socials { display:none; }
.nav-cta-label--mobile { display:none; }
.footer-summary { max-width:34rem; margin:0; line-height:1.55; }
.footer_bottom-halves { display:grid; grid-template-columns:1fr auto 1fr; width:100%; }
.footer-socials { grid-column:2; justify-self:center; }
.footer_bottom-left { grid-column:1; }
.footer_bottom-left p { margin:0; }
.footer .master-footer { gap:clamp(1.25rem, 3vw, 2.5rem); padding-bottom:clamp(1rem, 2vw, 2rem); }
.footer .footer_top-tile { padding-bottom:0; }
.footer .footer_bottom { padding-block:1rem; border-top:1px solid color-mix(in srgb, currentColor 12%, transparent); }
.footer .link_footer { font-weight:500; }
.treatment-view-all { display:inline-flex; width:max-content; color:#315fc7; font-size:inherit; font-weight:600; text-decoration:underline; text-underline-offset:4px; transition:color .2s ease, transform .2s ease; }
.treatment-view-all:hover { color:#173b8a; transform:translateX(3px); }
@media(min-width:992px) {
  [data-treatment-menu] .dropdown-list.treatment-panel-ready { display:block !important; min-width:0 !important; max-width:calc(100vw - 32px); max-height:calc(100vh - var(--treatment-panel-top, 80px) - 16px); padding:0 !important; right:auto; visibility:hidden; opacity:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
  [data-treatment-menu] .dropdown-large_inner { transform-origin:50% 0; overflow:hidden; border-radius:0 0 var(--_🔘-radius---general--large) var(--_🔘-radius---general--large); }
  [data-treatment-menu] .dropdown-bg { height:auto !important; bottom:0; }
  [data-treatment-menu] .dropdown_inner { padding-top:clamp(1rem, 2.2vw, 2rem); padding-bottom:clamp(1rem, 2.2vw, 2rem); }
  [data-treatment-menu] .nav-cta_desktop { min-height:clamp(12.5rem, 20vw, 16rem); }
  .nav-container:has([data-treatment-menu] .w--open) { border-bottom-left-radius:0; border-bottom-right-radius:0; }
}
@media(max-width:991px) {
  .nav-mobile-socials { display:block; width:100%; padding:24px 0; margin-top:auto; }
  .nav-cta-label--desktop { display:none; }
  .nav-cta-label--mobile { display:inline; }
}
@media(max-width:767px) {
  .footer_bottom-halves { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; }
  .footer-socials { order:-1; }
  .footer .master-footer { gap:1.25rem; }
  .footer-summary { line-height:1.45; }
  .footer .footer_bottom { padding-block:1rem; border-top:0; }
}
@media(prefers-reduced-motion:reduce) { .social-link,.social-link__icon,.treatment-view-all { transition:none; } .social-link:is(:hover,:focus-visible),.social-link:is(:hover,:focus-visible) .social-link__icon,.treatment-view-all:hover { transform:none; } }
@media(min-width:992px) {
  [data-treatment-menu] .nav-menu_halves { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  [data-treatment-menu] .nav_column { min-width:0; }
}

/* Reveal in normal document flow: no pin spacer or hidden vertical gutters. */
.footer { padding-top: 0; }
.footer-map { display: flex; align-items: center; width: 100%; height: clamp(340px, 64svh, 640px); padding: 0; margin: 0; }
.footer-map + .master-footer { padding-top: 24px; }
.footer-map__viewport { position: relative; width: 100%; height: 100%; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; background: #e8edf0; isolation: isolate; transform-origin: center center; }
.footer-map__embed { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(.5) contrast(1.04); }
/* Light navy wash adds depth while keeping Google's labels and attribution legible. */
.footer-map__viewport::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, rgba(10, 19, 41, .15), rgba(42, 77, 115, .04) 48%, rgba(10, 19, 41, .12)); }
.footer-map__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.google-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.25rem auto;
    padding: 5px 14px;
    border: 1px solid rgba(10, 19, 41, 0.14);
    border-radius: 9999px;
    background: transparent !important;
    background-color: transparent !important;
    color: #344054;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12.5px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    pointer-events: auto;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.google-review-badge * {
    font-family: inherit !important;
}
.headline_hero-home-a .google-review-badge {
    margin-top: 0;
    margin-bottom: 1.15rem;
}
.google-review-badge:hover {
    border-color: rgba(10, 19, 41, 0.28);
    text-decoration: none;
}
.google-review-badge:hover .google-review-badge__count {
    text-decoration: underline;
}
.google-review-badge__logo {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.google-review-badge__score {
    font-weight: 600;
    color: #101828;
    font-variant-numeric: tabular-nums;
}
.google-review-badge__sep {
    color: rgba(10, 19, 41, 0.22);
    font-weight: 300;
    margin: 0 1px;
}
.google-review-badge__stars {
    color: #e5a500;
    letter-spacing: 1px;
    font-size: 12px;
}
.google-review-badge__count {
    color: #475467;
    font-weight: 400;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.google-review-badge:focus-visible {
    outline: 2px solid #165db1;
    outline-offset: 3px;
}

.footer-contact-pills { display: inline-flex; align-items: stretch; margin-top: .9rem; overflow: hidden; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: 999px; }
.footer-contact-pills a { display: inline-flex; align-items: center; gap: .55rem; min-height: 42px; padding: .6rem .95rem; color: inherit; font-size: .875rem; line-height: 1.2; text-decoration: none; transition: background-color .2s ease; }
.footer-contact-pills a + a { border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.footer-contact-pills a:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.footer-contact-pills svg { width: 17px; height: 17px; flex: 0 0 auto; }
.footer-contact-pills a:focus-visible { position: relative; z-index: 1; outline: 2px solid #165db1; outline-offset: -3px; }
.footer .master-footer { padding-bottom: 0; gap: clamp(1rem, 2vw, 1.5rem); }
.footer .footer_bottom { padding-block: .65rem; }
@media (max-width: 479px) {
  .footer-contact-pills a { gap: .4rem; padding-inline: .7rem; font-size: .76rem; }
}

/* Give the map a clear finish before footer content begins. */
.footer-map { margin-bottom: clamp(32px, 4vw, 56px); }
.footer-contact-pills { width: max-content; max-width: 100%; align-self: flex-start; }
.footer-contact-pills a { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 992px) {
  .footer .footer_top-tile { align-items: start; }
  .footer .left-footer { align-self: start; }
  .footer .right-footer { align-self: start; }
}

/* Pin the map frame at the viewport center while its clipped surface grows. */
.footer-map__viewport { overflow: visible; background: transparent; }
.footer-map__surface { position: absolute; inset: 0; overflow: hidden; border-radius: 44px; background: #e8edf0; isolation: isolate; transform-origin: center center; will-change: transform; }
.footer-map__surface::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(135deg, rgba(10, 19, 41, .15), rgba(42, 77, 115, .04) 48%, rgba(10, 19, 41, .12)); }
.footer-map__surface .footer-map__embed { position: absolute; inset: 0; }
.footer-map__surface .footer-map__pin { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: clamp(56px, 7vw, 88px); height: clamp(56px, 7vw, 88px); border: 6px solid #fff; border-radius: 50%; background: #165db1; color: white; box-shadow: 0 8px 28px rgba(10, 19, 41, .32); transform: translate(-50%, -50%); pointer-events: none; }
.footer-map__surface .footer-map__pin svg { display: block; width: 52%; height: 52%; }
.footer-map__link { z-index: 3; }
.footer-contact-pills { width: max-content; max-width: 100%; overflow: hidden; }
.footer-contact-pills a { min-width: 140px; justify-content: center; padding-inline: 1.15rem; }
@media (max-width: 479px) {
  .footer-contact-pills { width: 100%; }
  .footer-contact-pills a { flex: 1 1 50%; min-width: 0; padding-inline: .6rem; }
}
.footer-contact-pills a { min-width: 160px; }

/* Keep map colors untouched; the location link belongs with the contact pills. */
.footer-map__surface, .footer-map__viewport { background: transparent; }
.footer-map__surface::after, .footer-map__viewport::after { content: none; }
.footer-map__embed { filter: none; }
.footer-map__surface .footer-map__pin { display: none; }
.footer-contact-pills a { min-width: 128px; }
@media (max-width: 479px) {
  .footer-contact-pills a { flex: 1 1 33.333%; min-width: 0; padding-inline: .4rem; font-size: .72rem; }
}

@media (max-width: 767px) {
  .footer .left-footer { align-items: center; }
  .footer-contact-pills {
    display: flex;
    flex-flow: row nowrap;
    align-self: center;
    width: min(100%, 420px);
    max-width: 100%;
    margin-inline: auto;
  }
  .footer-contact-pills a {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: .35rem;
    padding-inline: .45rem;
    font-size: clamp(.68rem, 3vw, .82rem);
  }
  .footer-contact-pills svg { width: 16px; height: 16px; }
}

@media (min-width: 768px) {
  .footer-contact-pills { width: max-content; max-width: none; overflow: visible; }
  .footer-contact-pills a { flex: 0 0 128px; min-width: 0; padding-inline: .65rem; }
}

/* Hover color stays inside each contact segment; icons use Google map colors. */
.footer-contact-pills a { position: relative; border-radius: 999px; transition: background-color .18s ease, color .18s ease; }
.footer-contact-pills a:hover { background-color: rgba(66, 133, 244, .09); }
.footer-contact-pills a:nth-child(1):hover svg { color: #4285f4; }
.footer-contact-pills a:nth-child(2):hover svg { color: #ea4335; }
.footer-contact-pills a:nth-child(3):hover svg { color: #34a853; }
.footer-contact-pills svg { transition: color .18s ease, transform .18s ease; }
.footer-contact-pills a:hover svg { transform: scale(1.1); }

.footer-contact-pills a { border-radius: 0; }
.footer-contact-pills a:hover { border-radius: 0; }

.footer-contact-pills { overflow: hidden; }
@media (min-width: 768px) {
  .footer-contact-pills { overflow: hidden; }
}

/* Keep focused contact fields blended with the form instead of adding a glow. */
.form-block_contact input.text-field:focus,
.form-block_contact input.text-field:focus-visible,
.form-block_contact textarea.text-field:focus,
.form-block_contact textarea.text-field:focus-visible {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    outline: none !important;
    box-shadow: none !important;
}

.site-breadcrumb { width: 100%; padding: 0; margin: 0 auto .75rem; color: inherit; font-size: .8125rem; text-align: center; }
.site-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; max-width: 100%; margin: 0 auto; padding: 0; list-style: none; }
.site-breadcrumb__item { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.site-breadcrumb__link { color: inherit; opacity: .72; text-decoration: none; transition: opacity .18s ease; }
.site-breadcrumb__link:hover { opacity: 1; }
.site-breadcrumb__current { color: inherit; font-weight: 500; }
.site-breadcrumb__separator { color: inherit; opacity: .56; font-size: 1.15em; line-height: 1; }
.section_hero-home-b .master_home-b-hero { position: relative; }
.section_hero-home-b .site-breadcrumb { position: absolute; top: clamp(5.5rem, 10vh, 7.5rem); left: 0; z-index: 6; margin: 0; color: #fff; }
.section_hero-contact-c { padding-top: clamp(6.5rem, 9vw, 8rem); }

/* Desktop FAQ: keep the heading in view while the questions pass beside it. */
@media (min-width: 992px) {
  .section_faq .faq-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; column-gap: clamp(1.5rem, 3vw, 3.5rem); }
  .section_faq .headline_faq { max-width: none; margin: 0; padding-left: clamp(.75rem, 1.5vw, 1.5rem); text-align: left; }
  .section_faq .headline_faq h2 { max-width: 10ch; }
  .section_faq .faq-block { max-width: none; margin: 0; }
}
.section_faq .expandable-top > .text-size-large { font-weight: 700; }
@media (max-width: 479px) {
  .site-breadcrumb { margin-bottom: .625rem; font-size: .8125rem; }
  .site-breadcrumb__list { gap: .4rem; }
  .site-breadcrumb__item { gap: .4rem; }
  .section_hero-home-b .site-breadcrumb { top: 5.5rem; }
  .section_hero-contact-c { padding-top: 6.5rem; }
}

html.home-intro-pending { overflow: hidden; overscroll-behavior: none; }
html.home-intro-pending, html.home-intro-complete { scrollbar-gutter: stable; }


/* One drawer surface and one icon state, independent of Webflow's overlay. */
.navbar[data-managed-navigation] { position: relative; }
.cms-site-wordmark { font-size: 1.65rem; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.cms-site-logo { display: block; width: 100%; max-height: 44px; object-fit: contain; }
.cms-detail-content { padding-block: clamp(2rem, 5vw, 5rem); }
.cms-detail-content .body_article { max-width: 54rem; margin-inline: auto; }
.cms-locations { padding-block: 8rem 4rem; }
.cms-location-image { max-width: 100%; max-height: 30rem; border-radius: 1.5rem; object-fit: cover; }
.cms-location-map { width: 100%; min-height: 420px; border: 0; margin-top: 2rem; }
.cms-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding-block: 2rem; }
.cms-pagination [aria-current] { font-weight: 700; }
.navbar[data-managed-navigation] [data-treatment-menu] .dropdown_inner { height: auto !important; opacity: 1 !important; }
.navbar[data-managed-navigation] .menu-button { display: none; }
@media (max-width: 991px) {
  .nav-container { position: relative; }
  .nav-container .nav-menu.managed-mobile-menu {
    display: block !important; position: absolute !important;
    top: calc(100% - 1px) !important; left: 0 !important; right: 0 !important;
    width: 100% !important; max-width: none !important; margin: 0 !important;
    max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain;
    transform-origin: top center;
  }
  .managed-mobile-menu .nav_wrap-menu { width: 100%; max-width: none; padding-inline: 0; }
  .managed-mobile-menu .nav_wrap-menu { height: auto; padding-bottom: 0; }
  .managed-mobile-menu .nav-menu_inner { min-height: 0; width: 100%; overflow: visible; padding-bottom: .75rem; }
  .managed-mobile-menu .nav-mobile-socials { margin-top: 1rem; padding: .5rem 0 0; }
  .nav-container .nav-menu.managed-mobile-menu { padding-bottom: .75rem !important; }
  .menu-button .menu-button_inner { transition: opacity .2s ease, transform .2s ease; }
  .menu-button[aria-expanded="false"] .menu-button_inner.close,
  .menu-button:not([aria-expanded]) .menu-button_inner.close,
  .menu-button[aria-expanded="true"] .menu-button_inner.open {
    opacity: 0 !important; visibility: hidden !important; transform: rotate(-90deg) scale(.7) !important;
  }
  .menu-button[aria-expanded="false"] .menu-button_inner.open,
  .menu-button[aria-expanded="true"] .menu-button_inner.close {
    display: flex !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
  }
  .managed-mobile-menu [data-treatment-menu] { width: 100%; }
  .managed-mobile-menu [data-treatment-menu] .dropdown-toggle {
    width: 100%;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .managed-mobile-menu [data-treatment-menu] .dropdown-list {
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 0.5rem 0.5rem !important;
    margin: 0 !important;
    transform: none !important;
  }
  .managed-mobile-menu [data-treatment-menu] .dropdown-large_inner,
  .managed-mobile-menu [data-treatment-menu] .dropdown_inner {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
  }
  .managed-mobile-menu [data-treatment-menu] .nav-menu_halves {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .managed-mobile-menu [data-treatment-menu] .left_nav-menu {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .managed-mobile-menu [data-treatment-menu] .dropdown-bg { display: none !important; }
  .managed-mobile-menu [data-treatment-menu] .nav_column {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .managed-mobile-menu [data-treatment-menu] .nav_list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 0.2rem 0 !important;
    width: 100% !important;
  }
  .managed-mobile-menu [data-treatment-menu] .link_dropdown {
    display: block !important;
    width: 100% !important;
    padding: 0.45rem 0.25rem !important;
    color: #475467 !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }
  .managed-mobile-menu [data-treatment-menu] .link_dropdown:hover { color: #0a1329 !important; }
  .managed-mobile-menu [data-treatment-menu] .treatment-view-all {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    padding: 0.35rem 0.25rem !important;
    font-size: 0.95rem !important;
  }
}
/* Keep the review visible; reveal the title with the images and description afterward. */
html.home-intro-pending .headline_hero-home-a { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.hero-title { opacity: 1 !important; }
.hero-title__line { opacity: 1 !important; visibility: visible !important; }
.origin-element { margin-top: 0; }
@media (min-width: 992px) {
  .headline_hero-home-a { max-width: 100%; width: 100%; }
  .headline_hero-home-a h1.hero-title { font-size: clamp(3rem, 5.2vw, 5.5rem) !important; line-height: 1.1 !important; }
}
@media (max-width: 991px) {
  .headline_hero-home-a { top: 0; }
  .hero-title__line { white-space: nowrap; }
  .headline_hero-home-a h1.hero-title { font-size: clamp(1.35rem, 6.8vw, 4rem) !important; line-height: 1.12 !important; }
  .master_hero-home-a { justify-content: flex-start; }
  .master_hero-home-a > .padding-global { width: 100%; }
  .master_hero-animation { margin-top: 1rem; margin-bottom: 1.5rem; }
  .p_hero-home-a { padding-top: 0 !important; }
  .section_approach .grid_numbers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1rem; padding-inline: clamp(.75rem, 2.5vw, 1.25rem); box-sizing: border-box; }
  .grid_numbers .card_number { min-width: 0; padding: clamp(.65rem, 2vw, 1.25rem); }
  .grid_numbers .label-large { font-size: clamp(.7rem, 2.8vw, 1rem); }
  .grid_numbers .wrap_number { font-size: clamp(1.6rem, 6vw, 3rem); flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .menu-button .menu-button_inner { transition: none; } }

/* Shared CMS treatment and article details. */
.detail-hero { padding: clamp(8.5rem, 13vw, 12rem) 0 clamp(2rem, 4vw, 4rem); text-align: center; }
.detail-hero .breadcrumb { margin-bottom: 1.25rem; }
.detail-hero h1 { max-width: 58rem; margin: .75rem auto 1.5rem; font-size: clamp(2.2rem, 4.8vw, 4.8rem); line-height: 1.08; }
.detail-eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.detail-date { color: #657184; font-size: .9rem; margin: 0 0 1.5rem; }
.detail-review-badge { display: flex; justify-content: center; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(20rem, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 6rem); }
.detail-main, .detail-sidebar { min-width: 0; }
.detail-cover { margin: 0 0 2.5rem; border-radius: 1.5rem; overflow: hidden; }
.detail-cover img { display: block; width: 100%; max-height: 34rem; object-fit: cover; }
.detail-prose { max-width: none !important; overflow-wrap: anywhere; }
.detail-prose img { max-width: 100%; height: auto; border-radius: 1rem; }
.detail-prose h2, .detail-prose h3, .detail-prose h4 { line-height: 1.2; margin-top: 2rem; }
.detail-prose h2 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
.detail-prose h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.detail-prose h4, .detail-prose h5 { font-size: 1.3rem; }
.detail-prose p, .detail-prose li { font-size: 1.05rem; line-height: 1.8; }
.detail-prose table { display: block; overflow-x: auto; }
.detail-panel { border: 1px solid #dce3ec; border-radius: 1.5rem; overflow: hidden; background: #fff; }
.detail-sidebar { display: grid; gap: 1.5rem; }
.detail-desktop-form .form-block_contact { margin: 0; padding: clamp(1.25rem, 2vw, 2rem); border: 0; border-radius: 0; }
.detail-desktop-form .contact-form_inner { gap: 1rem; }
.detail-desktop-form .form-row--halves { display: grid; grid-template-columns: 1fr; }
.detail-desktop-form .form_block, .consultation-dialog .form_block { gap: 1.5rem; }
.detail-desktop-form .text-field, .consultation-dialog .text-field { min-height: 3.3rem; font-size: .95rem; }
.detail-desktop-form .contact-consent { font-size: .8rem; }
.detail-treatments h2 { padding: 1.5rem; margin: 0; font-family: inherit; font-size: 1.25rem; font-weight: 650; }
.detail-treatment-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.5rem; border-top: 1px solid #e5e9ef; color: #0b1429; text-decoration: none; transition: background .2s; }
.detail-treatment-links a:hover, .detail-treatment-links a[aria-current] { background: #f0f6fc; color: #1269ac; }
.detail-see-more { display: block; padding: 1.25rem 1.5rem; border-top: 1px solid #e5e9ef; color: #1269ac; font-weight: 600; }
.detail-patient-reviews { padding: 2rem; background: #f0f6fb; border-radius: 1.5rem; margin: 3rem 0; }
.detail-patient-reviews h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); margin: .75rem 0 1.5rem; }
.detail-patient-reviews > p:last-child { margin: 1rem 0 0; font-size: .95rem; }
.detail-faq .section_faq { padding: 1rem 0 2rem; }
.detail-faq .padding-global { padding: 0; }
.detail-faq .faq-layout { display: block; }
.detail-faq .headline_faq { position: static; padding: 0; margin: 0 0 1.5rem; width: auto; }
.detail-faq .headline_faq h2 { font-size: clamp(1.7rem, 2.7vw, 2.7rem); }
.detail-faq .faq-block { width: 100%; }
.detail-faq .expandable-top { gap: 1rem; }
.detail-faq .text-size-large { font-size: 1.15rem; }
.detail-author { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 0; border-top: 1px solid #dce3ec; }
.detail-author h2 { font-size: 1.4rem; font-family: inherit; font-weight: 650; margin: .5rem 0; }
.detail-author a, .detail-share { color: #1269ac; font-size: .95rem; }
.detail-share { background: transparent; border: 1px solid #dce3ec; border-radius: 2rem; padding: .8rem 1rem; cursor: pointer; }
.detail-share-status:empty { display: none; }
.detail-mobile-consult { display: none; }
.consult-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; background: #1269ac; color: white; border: 0; border-radius: 3rem; padding: .55rem 1.4rem .55rem .55rem; font-weight: 650; cursor: pointer; }
.consult-button-icon { display: flex; padding: .65rem; border-radius: 50%; background: #ffffff24; }
.consult-button-icon svg { width: 1.5rem; height: 1.5rem; }
.consultation-open { overflow: hidden; }
.consultation-dialog { border: 0; border-radius: 1.5rem; padding: 0; width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); background: #fff; color: #0b1429; }
.consultation-dialog::backdrop { background: #0b1429b3; }
.consultation-dialog[open] { animation: consultation-enter .24s ease-out; }
.consultation-dialog-inner { padding: 2rem 1.5rem; position: relative; }
.consultation-dialog h2 { font-size: 1.7rem; margin: 0 2.5rem 1rem 0; }
.consultation-dialog .form-block_contact { padding: 0; border: 0; border-radius: 0; margin: 0; }
.consultation-close { position: absolute; right: 1rem; top: 1rem; border: 0; border-radius: 50%; width: 2.5rem; height: 2.5rem; background: #edf1f6; font-size: 1.6rem; cursor: pointer; }
.consultation-preferences { display: grid; gap: .5rem; }
.consultation-preferences label { font-size: .85rem; color: #52627b; }
.consultation-preferences select { padding: .75rem 1rem; background: #f7f9fb; border: 1px solid #cbd6e3; border-radius: 1rem; color: #0b1429; width: 100%; }
@keyframes consultation-enter { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 991px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .detail-desktop-form { display: none; }
  .detail-mobile-consult { display: flex; justify-content: center; position: fixed; inset: auto 0 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid #e3e8ef; z-index: 95; }
  body:has(.detail-mobile-consult) { padding-bottom: 6rem; }
  .detail-mobile-consult .consult-button { width: min(100%, 28rem); }
  .detail-patient-reviews { padding: 1.5rem; }
  .detail-hero { padding-top: 8rem; }
}
@media (prefers-reduced-motion: reduce) { .consultation-dialog[open] { animation: none; } }

/* Treatment-only refinements reuse the original hero, signals and enquiry form. */
.detail-hero.treatment-hero { padding-bottom: 22rem; background: #0b1429; color: #fff; }
.treatment-hero .detail-review-badge { margin-top: 1.5rem; }
.treatment-hero .google-review-badge { background: #fff; color: #0b1429; }
.treatment-hero + .section_service-thumbnail .image_service-thumbnail { position: relative; height: clamp(18rem, 42vw, 38.75rem); margin-top: -19rem; }
.treatment-layout { padding-top: 2rem; }
@media (min-width: 992px) {
  .treatment-layout .detail-sidebar { position: sticky; top: 6rem; max-height: calc(100dvh - 7rem); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; padding-right: .3rem; }
}
.treatment-layout .detail-treatments h2 { padding: 1.75rem 1.5rem; }
.treatment-layout .detail-treatment-links a { padding: 1.35rem 1.5rem; font-size: 1rem; line-height: 1.6; min-height: 4.5rem; }
.treatment-link-icon { width: 1.4rem; height: 1.4rem; flex: 0 0 1.4rem; }
.treatment-layout .detail-treatment-links a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.treatment-select-wrap { position: relative; }
.treatment-select-icon { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); display: flex; color: #1269ac; pointer-events: none; }
.treatment-select-icon img, .treatment-select-icon svg { width: 1.4rem; height: 1.4rem; object-fit: contain; }
.treatment-select-icon [hidden] { display: none !important; }
.consultation-preferences .treatment-select-wrap select { padding-left: 3.2rem; border-radius: 3rem; }
.treatment-signals { overflow: clip; margin-block: 3rem; min-width: 0; }
.treatment-signals .section_signals { padding-block: .5rem; }
.treatment-signals .master_marquee { opacity: 1 !important; }
.treatment-signals .card_testimonial-small { flex: 0 0 clamp(16rem, 25vw, 22rem); width: clamp(16rem, 25vw, 22rem); height: 22rem; padding: 1.5rem; }
.treatment-signals .card_testimonial-small > p { font-size: 1.15rem; line-height: 1.6; }
.treatment-signals .card_marquee-image { flex: 0 0 18rem; width: 18rem; height: 22rem; }
.treatment-signals .testimonial_author { flex-direction: row; align-items: center; gap: .7rem; }
.treatment-signals .testimonial_author .google-review-badge__logo { flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; }
.treatment-layout .contact-consent, .treatment-dialog .contact-consent { gap: .35rem; font-size: clamp(.5rem, 2.15vw, .68rem); line-height: 1.3; white-space: nowrap; }
.treatment-layout .contact-consent input, .treatment-dialog .contact-consent input { width: .8rem; height: .8rem; min-width: .8rem; flex: 0 0 .8rem; }
@media (max-width: 991px) {
  .detail-mobile-consult.treatment-consult { background: transparent; border: 0; pointer-events: none; bottom: .5rem; }
  .treatment-consult .consult-button { pointer-events: auto; width: auto; gap: 1rem; padding: .5rem 1.5rem .5rem .5rem; background: #2471d8; box-shadow: 0 6px 0 #1a1a1a; }
  .treatment-consult .consult-button:active { transform: translateY(6px); box-shadow: none; }
  .consultation-dialog.treatment-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; overflow-y: auto; }
  .treatment-dialog .consultation-dialog-inner { min-height: 100%; padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .treatment-dialog .form_block { border: 0; box-shadow: none; padding: 0; }
  .treatment-dialog .contact-form_top-tile { margin: 0; }
  .treatment-dialog .contact-form_bottom-tile { gap: 1rem; }
  .treatment-dialog .contact-form_inner { gap: .9rem; }
  .treatment-dialog .text-field { min-height: 3rem; }
  .treatment-dialog .text-area { min-height: 6rem; }
}
/* Override the shared form's required base rules only in treatment contexts. */
.treatment-layout .form-block_contact .contact-consent,
.treatment-dialog .form-block_contact .contact-consent { gap: .4rem !important; font-size: clamp(.55rem, 2.5vw, .7rem) !important; line-height: 1.3 !important; white-space: nowrap; max-width: 100%; }
.treatment-layout .form-block_contact .contact-consent span,
.treatment-dialog .form-block_contact .contact-consent span { font-size: inherit !important; }
.treatment-layout .form-block_contact .contact-consent input[type="checkbox"],
.treatment-dialog .form-block_contact .contact-consent input[type="checkbox"] { width: .8rem !important; height: .8rem !important; min-width: .8rem; margin-top: 0 !important; }
@media (max-width: 991px) {
  .treatment-dialog .form-block_contact { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .treatment-dialog .form-block_contact .form_block { gap: 1rem !important; }
  .treatment-dialog .form-block_contact .contact-form_inner { gap: .8rem !important; }
  .treatment-dialog .form-block_contact .contact-form_bottom-tile { gap: .8rem !important; }
  .treatment-dialog .form-block_contact .text-field { height: 3rem !important; min-height: 3rem !important; }
  .treatment-dialog .form-block_contact textarea.text-field { height: 6rem !important; min-height: 6rem !important; }
}
/* Shared treatment picker and signals: one component, all placements. */
.treatment-select-wrap [hidden] { display: none !important; }
.treatment-select-wrap .treatment-select-icon { z-index: 2; }
.treatment-picker-trigger { width: 100%; min-height: 3.3rem; padding: .8rem 1rem .8rem 3.2rem; border: 1px solid #cbd6e3; border-radius: 3rem; background: #fafcfe; color: #142039; display: flex; align-items: center; justify-content: space-between; gap: .75rem; text-align: left; font-size: .95rem; cursor: pointer; }
.treatment-picker-trigger svg { width: 1.2rem; flex: 0 0 1.2rem; }
.treatment-picker-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.treatment-picker-menu { position: absolute; top: calc(100% + .4rem); left: 0; right: 0; z-index: 20; background: white; border: 1px solid #dce3ec; border-radius: 1.5rem; padding: .75rem; box-shadow: 0 8px 24px #0b142910; }
.treatment-picker-search { box-sizing: border-box; width: 100%; padding: .8rem 1rem; border: 1px solid #dce3ec; border-radius: 2rem; background: #f7f9fb; font: inherit; font-size: .9rem; }
.treatment-picker-options { max-height: min(16rem, 35dvh); overflow-y: auto; margin-top: .75rem; border-top: 1px solid #e6ebf1; padding-top: .4rem; }
.treatment-picker-options button { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem .65rem; border: 0; border-radius: .6rem; background: transparent; color: #34435c; text-align: left; line-height: 1.5; cursor: pointer; }
.treatment-picker-options button:hover, .treatment-picker-options button:focus-visible { background: #f0f6fc; }
.treatment-picker-options img { width: 1.75rem; height: 1.75rem; object-fit: contain; flex: 0 0 1.75rem; }
.treatment-picker-empty { font-size: .85rem; padding: .75rem; }
.treatment-layout .detail-desktop-form { overflow: visible; }
.treatment-layout .detail-desktop-form .form-block_contact { overflow: visible !important; }
.treatment-layout .detail-treatments h2 { letter-spacing: normal !important; word-spacing: normal; font-size: 1.25rem; line-height: 1.5; }
.treatment-layout .detail-treatments { margin-top: .5rem; }
@media (min-width: 992px) { .treatment-layout .detail-sidebar { max-height: none; overflow: visible; padding-right: 0; } }
.treatment-hero .google-review-badge, .treatment-signals .google-review-badge { background: #fff !important; border: 1px solid #dce3ec !important; color: #0b1429 !important; }
.treatment-hero + .section_service-thumbnail .image_service-thumbnail { margin-top: -19rem; }
.signals-overall-review { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.treatment-signals .padding-global { padding: 0; }
.treatment-signals .testimonial_author { display: grid; grid-template-columns: 1.25rem minmax(0,1fr); column-gap: .7rem; row-gap: .4rem; }
.treatment-signals .testimonial_author > svg { grid-column: 1; grid-row: 1; }
.treatment-signals .testimonial_author > .text_body-bold { grid-column: 2; grid-row: 1; }
.signals-rating { display: inline-block; position: relative; font-size: 1rem; line-height: 1.2; letter-spacing: .1em; color: #c28d14; width: max-content; }
.treatment-signals .signals-rating { grid-column: 2; grid-row: 2; }
.signals-rating-fill { position: absolute; left: 0; top: 0; white-space: nowrap; overflow: hidden; }
[data-signals-direction] { width: max-content; will-change: transform; }
[data-signals-direction] > .single-marquee-testimonials { flex: 0 0 auto; }
.site-breadcrumb__list { flex-wrap: nowrap; }
.site-breadcrumb__item:last-child { overflow: hidden; }
.site-breadcrumb__current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; max-width: min(40vw, 30rem); }
.site-breadcrumb__item:not(:last-child) { flex-shrink: 0; }
@media (max-width: 991px) {
  .treatment-consult .consult-button { background: #0b1429; box-shadow: none; }
  .treatment-consult .consult-button:active { transform: none; }
  .treatment-dialog .consultation-dialog-inner { display: flex; flex-direction: column; justify-content: center; }
  .treatment-dialog .form-block_contact { overflow: visible !important; }
  .treatment-dialog .contact-form_subtitle { text-align: center; }
}
.treatment-picker-options svg { width: 1.75rem; height: 1.75rem; color: #1269ac; flex: 0 0 1.75rem; }
@media (max-width: 991px) {
  .treatment-dialog .form-block_contact .contact-form_top-tile { align-items: center !important; }
  .treatment-dialog .form-block_contact .contact-form_subtitle { width: 100%; text-align: center !important; }
}
/* Keep the hero photograph exactly across the dark/light boundary at every size. */
.detail-hero.treatment-hero { padding-bottom: clamp(2rem, 5vw, 3rem); }
.treatment-hero + .section_service-thumbnail { display: flow-root; padding-bottom: 0; background: linear-gradient(to bottom, #0b1429 0 50%, transparent 50% 100%); }
.treatment-hero + .section_service-thumbnail .image_service-thumbnail { margin-top: 0; margin-bottom: 0; }
.treatment-select-icon svg[hidden], .treatment-select-icon img[hidden] { display: none !important; }
.signals-treatment-heading { margin-bottom: 1.5rem; text-align: left; }
.signals-treatment-heading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; margin: 0 0 .75rem; }
.signals-treatment-heading p { color: #657184; font-size: 1rem; margin: 0; }
.signals-rating-fill { transform: scaleX(1); transform-origin: left center; }
.signals-rating-source { font-size: .65rem; color: #657184; letter-spacing: normal; }
.treatment-signals .signals-rating-source { grid-column: 2; grid-row: 3; }
.treatment-signals { width: 100%; max-width: 100%; overflow: hidden; }
.treatment-signals .section_signals { width: 100%; max-width: 100%; overflow: hidden; }
.treatment-signals .marquee_testimonials { margin-inline: 0 !important; }
.detail-why-choose, .detail-diagnostics { margin: 3rem 0; }
.detail-why-choose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr); gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; background: #0b1429; color: #fff; }
.detail-why-choose { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #0b1429 0%, #122b50 100%); box-shadow: 0 1.25rem 3rem rgba(11,20,41,.16); }
.detail-why-choose::after { content: ''; position: absolute; width: 18rem; height: 18rem; right: -7rem; top: -8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(255,255,255,.04), 0 0 0 4rem rgba(255,255,255,.025); pointer-events: none; z-index: -1; }
.detail-why-choose__intro .detail-eyebrow, .detail-diagnostics__intro .detail-eyebrow { display: inline-flex; margin: 0 0 .8rem; padding: .35rem .7rem; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.detail-why-choose__intro h2, .detail-diagnostics__intro h2 { margin: .35rem 0 .75rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.detail-why-choose__intro p:last-child, .detail-diagnostics__intro p:last-child { margin: 0; color: #657184; line-height: 1.65; }
.detail-why-choose__intro p:last-child { color: #c8d2e2; }
.detail-why-choose__proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #ffffff33; border: 1px solid #ffffff33; }
.detail-why-choose__proof div { display: grid; gap: .35rem; padding: 1.25rem; background: #0b1429; }
.detail-why-choose__proof strong { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.detail-why-choose__proof span { color: #c8d2e2; font-size: .9rem; }
.detail-diagnostics { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #dce3ec; border-radius: 1.5rem; background: #f7f9fb; }
.detail-diagnostics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.detail-diagnostics__grid article { padding: 1.25rem; border: 1px solid #dce3ec; border-radius: 1rem; background: #fff; }
.detail-diagnostics__grid b { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #1269ac; color: #fff; }
.detail-diagnostics__grid h3 { margin: 1rem 0 .4rem; font-size: 1.1rem; }
.detail-diagnostics__grid p { margin: 0; color: #657184; line-height: 1.55; }
.nav-treatment-icon { width: 1.35rem; height: 1.35rem; flex: 0 0 1.35rem; object-fit: contain; margin-right: .65rem; }
.nav-treatment-icon--fallback { display: inline-grid; place-items: center; color: #1269ac; font-size: 1rem; }
.nav-treatment-icon { border-radius: 50%; }
[data-treatment-menu] .link_dropdown > div { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
[data-treatment-menu] .nav-cta_desktop { position: relative; isolation: isolate; overflow: hidden; padding: 1.5rem; }
.nav-treatment-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
[data-treatment-menu] .nav-cta_desktop::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1429eb, #0b14295c); z-index: -1; }
[data-treatment-menu] .nav-cta_desktop .heading-style-h5 { max-width: 18rem; }
.link_dropdown { display: flex; align-items: center; gap: 0; }
@media (max-width: 991px) {
  .managed-mobile-menu [data-treatment-menu] .link_dropdown { display: flex !important; align-items: center !important; gap: .85rem !important; min-height: 3.25rem !important; padding: .65rem .5rem !important; }
  .managed-mobile-menu [data-treatment-menu] .nav-treatment-icon { width: 4rem; height: 4rem; flex-basis: 4rem; margin: 0; }
  .managed-mobile-menu [data-treatment-menu] .nav-treatment-icon--fallback { font-size: 1.35rem; }
  .managed-mobile-menu [data-treatment-menu] .link_dropdown > div { min-width: 0; overflow-wrap: anywhere; }
}
@media (min-width: 992px) {
  [data-treatment-menu] .link_dropdown { min-height: 3rem; gap: .8rem; }
  [data-treatment-menu] .nav-treatment-icon { width: 4.5rem; height: 4.5rem; flex-basis: 4.5rem; margin: 0; }
  [data-treatment-menu] .nav-treatment-icon--fallback { font-size: 1.2rem; }
}
@media (max-width: 700px) {
  .detail-why-choose { grid-template-columns: 1fr; }
  .detail-diagnostics__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .detail-diagnostics__grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .treatment-dialog .consultation-dialog-inner { justify-content: flex-start; padding-top: clamp(4rem, 8dvh, 5rem); padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  .treatment-dialog h2 { font-size: 1.7rem; text-align: center; margin-right: 0; }
  .treatment-dialog .form-block_contact .contact-form_inner { gap: clamp(.9rem, 2.4dvh, 1.35rem) !important; }
  .treatment-dialog .form-block_contact textarea.text-field { height: clamp(6rem, 15dvh, 9rem) !important; }
}
.treatment-hero + .section_service-thumbnail .image_service-thumbnail { transform: none !important; opacity: 1 !important; }

@media (max-width: 991px) {
  .treatment-signals { width: 100%; margin-inline: 0; overflow: hidden; }
  .treatment-signals .padding-global,
  .treatment-signals .container-large,
  .treatment-signals .w-container { width: 100%; max-width: none; padding-inline: 0 !important; }
  .treatment-signals .signals-treatment-heading,
  .treatment-signals .signals-overall-review { margin-inline: 1rem; }
}

@media (min-width: 361px) and (max-width: 991px) {
  .consultation-dialog.treatment-dialog { width: min(34rem, calc(100vw - 2rem)); height: auto; max-height: calc(100dvh - 2rem); margin: auto; border-radius: 1.5rem; }
  .treatment-dialog .consultation-dialog-inner { min-height: 0 !important; height: auto !important; padding: 2rem 1.25rem 1.25rem; }
  .treatment-dialog .form-block_contact, .treatment-dialog .form_block { min-height: 0 !important; height: auto !important; }
}
@media (max-width: 360px) {
  .consultation-dialog.treatment-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
}
.about-hospital-grid .logo_case-card {
    width: 100%;
    max-width: 210px;
    height: 104px;
    object-fit: contain;
    opacity: 1;
    filter: brightness(0) invert(1);
}

.about-hospital-grid .about-hospital-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px 12px;
}

@media (max-width: 767px) {
    .about-hospital-grid .grid_cases-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .about-hospital-grid .about-hospital-logo {
        padding: 16px 4px;
    }

    .about-hospital-grid .logo_case-card {
        height: 80px;
    }
}
.care-comparison-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.care-comparison-copy.left_client-card { height: auto; min-height: 440px; }
.care-comparison-copy p { margin: 0; font-size: 14px; }
.care-comparison { position: relative; min-width: 0; overflow: hidden; border-radius: 24px; background: #e9edf2; color: #0b132b; }
.comparison-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.comparison-images { position: relative; min-height: 440px; height: 100%; }
.comparison-frame { position: absolute; inset: 0; margin: 0; transition: opacity .35s ease; }
.comparison-frame img { width: 100%; height: 100%; object-fit: contain; background: #080e1c; }
.comparison-placeholder { display: grid; place-items: center; height: 100%; padding-bottom: 60px; color: #64748b; }
.comparison-frame figcaption { position: absolute; top: 24px; left: 24px; padding: 8px 16px; border-radius: 30px; background: white; font-size: 14px; }
.comparison-after { opacity: 0; }
.comparison-radio:nth-of-type(2):checked ~ .comparison-images .comparison-after { opacity: 1; }
.comparison-radio:nth-of-type(2):checked ~ .comparison-images .comparison-before { opacity: 0; }
.comparison-switch { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; padding: 5px; border-radius: 40px; background: white; }
.comparison-switch label { cursor: pointer; margin: 0; padding: 10px 24px; border-radius: 30px; font-weight: 600; }
.comparison-radio:first-of-type:checked ~ .comparison-switch label:first-child,
.comparison-radio:nth-of-type(2):checked ~ .comparison-switch label:last-child { background: #0b132b; color: white; }
.comparison-radio:focus-visible ~ .comparison-switch { outline: 2px solid #4674dd; outline-offset: 4px; }
@media (max-width: 767px) {
    .care-comparison-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .care-comparison-copy.left_client-card { min-height: 0; gap: 24px; }
    .comparison-images { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .comparison-frame { transition: none; } }

.knee-replacement { background: radial-gradient(ellipse at 72% 48%, #283747 0%, #111e30 35%, #0b132b 72%); color: #fff; }
.knee-stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.knee-heading { position: absolute; z-index: 1; top: 24%; left: 6%; width: 36%; }
.knee-heading h2 { font-size: clamp(32px,4vw,64px); margin: 18px 0; }
.knee-heading p { color: #c1cadb; max-width: 32ch; }
.knee-canvas { display: block; position: absolute; right: 0; top: 12%; width: 62%; height: 80%; }
.knee-note { position: absolute; bottom: 30px; left: 6%; right: 6%; font-size: 12px; color: #aab6cd; }
.knee-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #28344e; }
.knee-progress span { display: block; height: 100%; background: #98b4ff; transform: scaleX(0); transform-origin: left; }
.knee-fallback { position: absolute; top: 55%; padding: 24px; text-align: center; }
@media(max-width:767px) {
 .knee-stage { min-height: 640px; }
 .knee-heading { top: 12%; left: 6%; width: 88%; text-align: center; }
 .knee-heading h2 { font-size: clamp(28px,7vw,40px); margin: 12px 0; }
 .knee-heading p { margin: auto; font-size: 14px; }
 .knee-canvas { width: 100%; height: 65%; top: 29%; }
 .knee-note { bottom: 15px; font-size: 10px; text-align: center; }
}

/* Shared hospital logos, About care accordion, and footer alignment. */
.footer .left-footer { align-items: flex-start; text-align: left; }
.footer .footer-brand { align-self: flex-start; margin-inline: 0; }
.hospital-logos-home { padding-block: clamp(3rem, 6vw, 6rem); }
.hospital-logos-home h2 { margin-bottom: 2rem; }
.about-care-step { display: block; cursor: pointer; }
.about-care-step summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.about-care-step summary::-webkit-details-marker { display: none; }
.about-care-step summary span { font-size: 1.5em; font-weight: 400; transition: transform .2s ease; }
.about-care-step[open] summary span { transform: rotate(45deg); }
.about-care-step p { margin: .75rem 0 1.25rem; max-width: 45ch; }
@media (max-width: 767px) {
  .section_hero-home-b .master_home-b-hero { justify-content: flex-end; padding-bottom: clamp(2rem, 7vw, 4rem); }
  .section_hero-home-b .headline_home-b { position: relative; z-index: 2; }
  .section_hero-home-b .case_testimonial-small { position: relative; z-index: 2; margin-top: 1.25rem; }
  .footer .left-footer { align-items: flex-start; }
}
@media (max-width: 767px) {
  .section_hero-home-b .master_home-b-hero {
    height: auto;
    min-height: 100svh;
    padding-top: clamp(10rem, 22vh, 14rem);
    gap: 1.25rem;
  }
  .section_hero-home-b .headline_home-b,
  .section_hero-home-b .subtext_home-b-hero,
  .section_hero-home-b .case_testimonial-small { width: 100%; max-width: 100%; }
}
/* Keep the shared About reviews inset like the rest of the page. */
.shared-signals { margin-inline: auto; }
@media (min-width: 768px) { .shared-signals { width: calc(100% - 2 * clamp(24px, 4vw, 72px)); } }
@media (max-width: 767px) { .shared-signals { width: calc(100% - 32px); } }
/* Match the compact navy appointment action used in the navigation. */
.results-appointment { background: #0b1429; color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.5rem; min-height: 2.75rem; cursor: pointer; }
.results-appointment:hover, .results-appointment:focus-visible { color: #fff; background: #165db1; }
/* The picker menu must draw above the form and remain fully scrollable. */
.consultation-dialog .treatment-picker-menu { z-index: 100; }
.consultation-dialog .treatment-picker-options { max-height: none; }
.consultation-dialog .treatment-picker-options button { min-height: 2.75rem; padding: .55rem .65rem; }
.consultation-dialog .treatment-picker-menu { scrollbar-width: thin; }
.case_testimonial-small .cta-small.secondary-11 { background: #0b1429 !important; color: #fff !important; border-radius: 999px !important; }
.case_testimonial-small .cta-small.secondary-11 .text-button { color: #fff !important; }
.case_testimonial-small .cta-small.secondary-11 .btn-bg { display: none; }
