/* --- Scoped About Us Theme Toggle --- */
/* --- Mobile Optimization --- */
@media (max-width: 768px) {

    /* Hero Typography Refinement */
    #typewriter-text {
        font-size: 1.8rem !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        text-align: center;
        color: #fff !important;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5) !important;
    }

    .intro-text-reveal {
        bottom: 12% !important;
        width: 90% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .intro-text-reveal p {
        font-size: 1.1rem !important;
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    }

    /* Navbar Mobile Adjustment */
    #main-nav.nav-container {
        width: 100% !important;
        max-width: none !important;
        left: 0 !important;
        transform: none !important;
        padding: 0 15px !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
    }

    #main-nav.intro-mode {
        top: 60px !important;
        left: 0 !important;
        transform: none !important;
        justify-content: center !important;
    }

    .nav-links ul {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 15px !important;
    }

    .nav-links a {
        font-size: 0.75rem !important;
        letter-spacing: 0.05em !important;
    }

    /* Hide Top Socials on Mobile to save space */
    .header-socials {
        display: none !important;
    }

    .top-nav-right {
        right: 15px !important;
        top: 15px !important;
    }

    #btn-about {
        padding: 8px 15px !important;
        font-size: 0.75rem !important;
    }

    /* Brand Logo */
    .brand-logo-link {
        left: 15px !important;
        top: 15px !important;
    }

    #brand-logo {
        height: 30px !important;
    }

    /* Contact Widget */
    .contact-widget {
        bottom: 15px !important;
        right: 15px !important;
        transform: scale(0.7);
        transform-origin: bottom right;
    }

    /* Scroll Down Indicator Refinement */
    .scroll-down-indicator {
        bottom: 5% !important;
        left: 50% !important;
        transform: translateX(-50%) scale(0.8) !important;
    }

    /* Tightened Vertical Transition Masking */
    .sequence-canvas {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        /* Fading specifically where the 0.5 scaled image starts/ends */
        mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, black 45%, black 55%, transparent 75%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, black 45%, black 55%, transparent 75%, transparent 100%) !important;
        display: block !important;
        z-index: 5;
    }

    /* Keep the background layer sharp underneath */
    .background-layer {
        z-index: 1;
    }

    /* Treatments Gallery Mobile Optimization - Clean Version */
    .treatments-gallery {
        bottom: 40px !important;
        padding-bottom: 20px !important;
        background: transparent !important;
        /* Revert to transparent */
    }

    .parallax-layer.middle-layer {
        z-index: 15 !important;
        /* Above foreground doctors */
    }

    .treatments-headline {
        font-size: 3.5rem !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 20% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        text-align: center !important;
        color: #fff !important;
        /* Required for 'difference' inversion */
        mix-blend-mode: difference !important;
        pointer-events: none !important;
        z-index: 20 !important;
        /* Ensure it's above middle layer for blending */
        font-weight: 900 !important;
        letter-spacing: -0.02em !important;
    }

    .parallax-layer.foreground-layer {
        z-index: 10 !important;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
    }

    .parallax-layer.foreground-layer .static-parallax-img {
        object-position: center bottom !important;
        transform: scale(1) !important;
        /* Revert scale */
        filter: none !important;
        /* Remove darkening */
    }

    .treatments-search-container {
        padding: 0 15px !important;
        margin-bottom: 20px !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .treatment-search-input {
        padding: 14px 45px 14px 20px !important;
        font-size: 0.95rem !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border: 1px solid transparent !important;
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.25)) !important;
        background-origin: border-box !important;
        background-clip: padding-box, border-box !important;
    }

    .search-icon {
        right: 30px !important;
        width: 18px !important;
        height: 18px !important;
    }

    .gallery-header {
        padding: 0 20px 10px 20px !important;
        text-align: center !important;
    }

    .gallery-header h2 {
        font-size: 1.5rem !important;
        letter-spacing: 0.05em !important;
    }

    .gallery-track {
        padding: 0 0 40px 0 !important;
        /* Horizontal padding handled by JS offsets */
        gap: 0 !important;
        display: flex !important;
        /* Swiper handles overflow and touch-action */
    }

    .treatment-card {
        /* min-width and max-width removed to allow Swiper sizing */
        padding: 20px !important;
        min-height: 120px !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .treatment-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .treatment-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        opacity: 0.7 !important;
    }

    /* Blog Section Mobile Optimization - Fixed Overflow */
    .blog-grid-overlay {
        position: relative !important;
        height: auto !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    .grid-header {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .grid-header h2 {
        font-size: 2rem !important;
        letter-spacing: 0.05em !important;
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    }

    .blog-grid {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin: 0 auto !important;
    }

    .blog-text-card {
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        padding: 16px !important;
        background: rgba(0, 0, 0, 0.45) !important;
        backdrop-filter: blur(20px) !important;
        margin: 0 !important;
    }

    .blog-text-card h3 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .blog-text-card p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    /* Table & Face Background framing */
    #blog .static-parallax-img {
        object-position: center 30% !important;
        /* Frame face and table better */
        transform: scale(1.1) !important;
    }

    .community-headline {
        font-size: 3.5rem !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 10% !important;
        /* Move headline higher to clear the characters */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        text-align: center !important;
        color: #fff !important;
        mix-blend-mode: difference !important;
        pointer-events: none !important;
        z-index: 20 !important;
        font-weight: 900 !important;
        letter-spacing: -0.02em !important;
    }

    /* Moving characters down to the rainbow */
    #community .static-parallax-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        transform: translateY(40%) scale(0.85) !important;
        /* Pushed down and scaled to sit on rainbow */
        transform-origin: center center !important;
        object-position: center bottom !important;
        /* Fade edges for smooth blend */
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%) !important;
    }

    /* Adjust the cards container to stay lower */
    .community-gallery-overlay {
        bottom: 5% !important;
    }

    /* Sticky Footer Buttons Fix */
    .btn-excellence {
        padding: 14px 30px !important;
        font-size: 0.95rem !important;
    }

    /* Not Dr. B Mobile Optimizations - Radical Shift to fix overlap */
    .ndb-content-overlay {
        justify-content: center !important;
        padding: 0 !important;
        align-items: flex-start !important;
        /* Move to top half */
        padding-top: 20% !important;
        text-align: center !important;
    }

    .ndb-text-box {
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        max-width: 100% !important;
        transform: none !important;
    }

    .ndb-headline {
        font-size: 2.6rem !important;
        margin-bottom: 10px !important;
        letter-spacing: -1px !important;
        line-height: 1 !important;
        text-shadow: 0 0 30px rgba(255, 0, 153, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }

    .ndb-tagline {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        font-weight: 700 !important;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.5) !important;
    }

    /* NDB foreground: reset generic foreground-layer mobile overrides */
    #community-ndb .parallax-layer.foreground-layer {
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        width: 100% !important;
        height: 100% !important;
    }

    .ndb-person-image {
        left: 0% !important;
        height: 88vh !important;
        height: 75dvh !important;
        object-position: left bottom !important;
        opacity: 1 !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
    }

    /* Instagram Mobile Refinement */
    #instagram {
        height: auto !important;
        overflow: visible !important;
    }

    .instagram-content-overlay {
        padding: 40px 20px !important;
        justify-content: center !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .ig-profile-header {
        padding: 28px 24px !important;
        max-width: 100% !important;
        gap: 12px !important;
    }

    .ig-avatar-ring {
        width: 76px;
        height: 76px;
    }

    .ig-profile-username {
        font-size: 1.25rem !important;
    }

    .ig-profile-bio {
        font-size: 0.85rem !important;
    }

    .ig-follow-btn {
        padding: 10px 28px !important;
        font-size: 0.88rem !important;
    }

}

.about-theme-btn {
    position: fixed;
    /* Fixed within the overlay context if transform is used, else absolute */
    top: 40px;
    left: 40px;
    z-index: 4002;
    /* Above overlay content */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.2rem;
}

.about-theme-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Icons */
.about-theme-btn .mode-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default State (Dark) -> Sun is visible (switch to light) */
.about-theme-btn .sun {
    opacity: 1;
    transform: rotate(0deg);
}

.about-theme-btn .moon {
    opacity: 0;
    transform: rotate(90deg);
}

/* Light Mode State */
#about-overlay.light-mode .about-theme-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #111;
}

#about-overlay.light-mode .about-theme-btn .sun {
    opacity: 0;
    transform: rotate(-90deg);
}

#about-overlay.light-mode .about-theme-btn .moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* --- Scoped Light Mode Variables for About Overlay --- */
#about-overlay.light-mode {
    background-color: #f5f5f7 !important;
    /* Elegant Apple-like light gray */
}

#about-overlay.light-mode .about-content {
    color: #1a1a1a;
}

#about-overlay.light-mode .about-hero h2,
#about-overlay.light-mode .section-header h3 {
    color: #111;
}

#about-overlay.light-mode .hero-lead {
    color: #333;
}

#about-overlay.light-mode .about-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#about-overlay.light-mode .section-body p {
    color: #444;
}

#about-overlay.light-mode .clean-list li {
    color: #444;
}

#about-overlay.light-mode .clean-list li::before {
    color: rgba(0, 0, 0, 0.4);
}

#about-overlay.light-mode .highlight {
    color: #000;
}

#about-overlay.light-mode .highlight-text {
    color: #000;
    border-left: 3px solid #000;
}

/* Adjust close button for light mode */
#about-overlay.light-mode .close-btn {
    color: #111;
}

:root {
    --font-primary: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Theme Variables (Default Dark) */
    --bg-color: #0d0d0d;
    --text-color: #fff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --card-bg: rgba(255, 255, 255, 0.05);
    /* Glassy White tint */
    --border-color: rgba(255, 255, 255, 0.1);
}

body.light-mode {
    /* Light Theme Overrides */
    --bg-color: #f0f0f0;
    --text-color: #111;
    --text-muted: rgba(0, 0, 0, 0.6);
    --card-bg: rgba(255, 255, 255, 0.4);
    --border-color: rgba(0, 0, 0, 0.1);
}

html,
body {
    margin: 0;
    padding: 0;
    /* height: 100%;
 - Removed to prevent sticky conflicts */
    width: 100%;
    overscroll-behavior-y: none;
    background-color: var(--bg-color);
}

body {
    color: var(--text-color);
    overflow-x: hidden;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Global variables and base styles continue below... */
.header-socials {
    display: flex;
    gap: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    /* Separator */
    height: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

body.light-mode .social-icon {
    color: #111;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 0;
}

.nav-btn:hover {
    opacity: 1;
}

/* --- Language Switcher Styling & Dropdown (WPML Optimization) --- */
.language-nav-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.language-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
}

/* Base item (Top level) */
.language-nav>li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* Hide the sub-menu by default */
.language-nav .sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10 !important;
    display: block !important;
}

/* Show sub-menu on active of the wrapper (Click to Open) */
.language-nav-wrapper.is-active .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(4px) !important;
}

/* Sub-menu items stacking fallback */
.language-nav .sub-menu li {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Individual language link styling */
.language-nav a {
    text-decoration: none !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 0 !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
}

/* Current active language badge */
.language-nav li.current-menu-item>a,
.language-nav li.wpml-ls-current-language>a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Hover effects */
.language-nav a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

/* Light Mode Overrides */
body.light-mode .language-nav a {
    color: rgba(0, 0, 0, 0.6) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .language-nav li.current-menu-item>a,
body.light-mode .language-nav li.wpml-ls-current-language>a {
    color: #000 !important;
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .language-nav a:hover {
    color: #000 !important;
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* Visibility Utilities */
.desktop-only {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .header-mobile-pill .language-nav-wrapper {
        margin-left: auto;
        margin-right: 0;
    }
}

.header-desktop .top-nav-right {
    gap: 20px;
}

/* Theme Toggle Styling */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.theme-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    transition: transform 0.5s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default Dark State: Moon is hidden below, Sun is visible */
.sun {
    opacity: 1;
    transform: translateY(0);
}

.moon {
    opacity: 0;
    transform: translateY(30px);
}

/* Light Mode State: Sun moves up and fades out, Moon moves in from below */
body.light-mode .sun {
    opacity: 0;
    transform: translateY(-30px);
}

body.light-mode .moon {
    opacity: 1;
    transform: translateY(0);
}

body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #111 !important;
}

/* Sticky Contact Widget */
.contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 130px;
    height: 130px;
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Rotating Label */
.circular-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 12s linear infinite;
    pointer-events: none;
}

.circular-label svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

/* Button core styling (Minimalist) */
/* Button core styling (Minimalist) */
.contact-sticky-btn {
    position: relative;
    bottom: auto;
    right: auto;
    width: 76px;
    height: 76px;
    z-index: 2;
    /* Minimalist Style */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Faint ring */
    border-radius: 50%;
    /* Soft Lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    .contact-widget {
        transform: scale(0.85) !important;
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* --- Community 3D Coverflow --- */
.community-gallery-overlay {
    position: absolute;
    top: 75%;
    /* Lowered further */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    /* Constrain container */
    height: 400px;
    /* Increased slightly for comfort */
    z-index: 25;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    /* 3D Depth */
    pointer-events: none;
    /* Let clicks pass to cards */
}

/* Remove old styles */
.community-gallery-row,
.gallery-header-small,
.gallery-card,
.node-badge {
    display: none;
}

.coverflow-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

/* Coverflow Navigation Arrows */
.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    z-index: 30;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.coverflow-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.coverflow-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.coverflow-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.coverflow-prev { left: -10px; }
.coverflow-next { right: -10px; }

@media (max-width: 768px) {
    .coverflow-nav {
        width: 40px;
        height: 40px;
    }
    .coverflow-prev { left: 4px; }
    .coverflow-next { right: 4px; }
}

.coverflow-card {
    position: absolute;
    width: 200px;
    height: 280px;
    /* Removed border-radius/overflow from here so label can hang out */
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, z-index 0s;
    cursor: pointer;
    pointer-events: auto !important;
    /* Ensure cards are always clickable */
    /* Box shadow moved to visual for cleaner rotation */
    text-decoration: none;
    color: inherit;
}

/* --- Visual Images --- */
.card-visual {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 24px;
    /* Rounding happens here */
    overflow: hidden;
    /* Clip image here */
    background-size: cover;
    background-position: center;
    /* Inner shadow for text readability if needed, though title is outside */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    /* Shadow on the visual part */
}

/* --- Card Label (Below) --- */
.card-label {
    position: absolute;
    bottom: 30px;
    /* Move inside the card */
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

/* Show label only for active card */
.coverflow-card.active .card-label {
    opacity: 1;
    transform: translateY(0);
}

/* Remove old gradients and elements */
.artist-pill,
.bid-pill,
.hero-text,
.visual-1,
.visual-2,
.visual-3,
.visual-4,
.visual-5 {
    display: none;
}

/* --- State Classes (JS will toggle) --- */
.coverflow-card.active {
    transform: translateX(0) scale(1.2) translateZ(100px);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.coverflow-card.prev {
    transform: translateX(-160px) scale(0.9) rotateY(25deg);
    opacity: 0.7;
    z-index: 5;
    filter: brightness(0.7);
}

.coverflow-card.next {
    transform: translateX(160px) scale(0.9) rotateY(-25deg);
    opacity: 0.7;
    z-index: 5;
    filter: brightness(0.7);
}

.coverflow-card.far-prev {
    transform: translateX(-300px) scale(0.7) rotateY(45deg);
    opacity: 0.4;
    z-index: 1;
    filter: brightness(0.5);
}

.coverflow-card.far-next {
    transform: translateX(300px) scale(0.7) rotateY(-45deg);
    opacity: 0.4;
    z-index: 1;
    filter: brightness(0.5);
}

.contact-sticky-btn img,
.contact-sticky-btn svg {
    width: 60%;
    /* Slightly adjust to maintain balance */
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.contact-sticky-btn:hover img,
.contact-sticky-btn:hover svg {
    transform: scale(1.1);
}

/* Hover Interaction: Scale button, brightness */
.contact-widget:hover .contact-sticky-btn {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2), inset 0 5px 15px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.contact-widget:hover .contact-sticky-btn img {
    transform: scale(1.1) rotate(-10deg);
}

.contact-widget:hover .circular-label {
    animation-play-state: paused;
    /* Optional: pause on hover */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Not Dr. B Section Styling --- */
.ndb-person-image {
    position: absolute;
    bottom: 0;
    left: clamp(20px, 8vw, 12%);
    height: 100vh;
    width: auto;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.4));
}

.ndb-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;
    align-items: center;
    /* Changed to bottom alignment */
    justify-content: center;
    padding-top: 25vh;
    /* editorial feel */
    pointer-events: none;
}

.ndb-text-box {
    max-width: 600px;
    background: transparent;
    padding: 0;
    pointer-events: auto;
    text-align: center;
    /* Changed for a signature look */
    transform: none;
    /* Center align button */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes ndbFadeIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ndb-headline {
    font-size: clamp(3rem, 4.5vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: -5px;
    line-height: 0.8;
    background: linear-gradient(135deg, #fff 0%, #ff0099 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 0, 153, 0.4);
}

.ndb-tagline {
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    max-width: 480px;
    margin-left: auto;
    /* Required for right-aligned container */
}

/* Navigation Menu - Renaissance Style - Ver. 5 (Perfect Fit + Dim) */
/* Navigation Menu - Renaissance Style */
/* --- Navigation Menu: Renaissance States (Consolidated) --- */
.nav-container {
    position: fixed !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1000 !important;
    display: flex !important;
}

/* 1. Intro Mode: Centered on Screen */
.nav-container.intro-mode {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    min-width: 240px !important;
    max-width: 340px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 40px !important;
    background: rgba(10, 10, 10, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
}

/* 2. Scrolled Mode: Top Left beside Logo */
.nav-container.scrolled,
body:not(.home) .nav-container {
    top: 35px !important;
    left: 150px !important;
    /* Adjusted to be beside the logo */
    transform: none !important;
    flex-direction: row !important;
    gap: 30px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
}

/* Header Section */
/* Header Section - Hidden by default */
.nav-header {
    display: none;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    margin: 0;
}

/* Only visual in Intro Mode */
.nav-container.intro-mode .nav-header {
    display: block;
    opacity: 1;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.nav-logo {
    display: block;
    margin: 0 auto;
    max-width: 180px;
    /* Adjust based on image density */
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Links Section */
.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Tighter spacing for block feel */
    align-items: center;
    /* Center list items */
    width: 100%;
}

.nav-links li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    width: 100%;
}

/* Bullet Point Style (Removed for Center Layout) */
.nav-links li::before {
    display: none;
}

/* Default Horizontal Links (Sidebar Style) */
.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.1;
    font-family: var(--font-primary);
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

/* Centered Style Links (Intro Mode) */
.nav-container.intro-mode .nav-links a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    opacity: 1;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    /* Default Row */
    gap: 25px;
    /* Default Gap */
    width: 100%;
}

.nav-container.intro-mode .nav-links ul {
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* --- Scrolled State (Horizontal Header Mode) --- */
.nav-container.scrolled {
    top: 52px;
    /* Vertically align with the 40px logo top + half logo height */
    bottom: auto;
    left: 120px;
    /* Space for logo + gap (40px left + 60px logo width + 20px gap) */
    transform: translate(0, -50%);
    /* Center-align vertically with logo */
    /* Minimal Dimensions */
    width: auto;
    max-width: none;
    /* Allow it to expand horizontally */
    height: auto;
    min-height: 0;
    padding: 0;
    /* Clean Sidebar - Remove boxes and backgrounds */
    border-color: rgba(255, 255, 255, 0.0);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: flex-start;
}

/* Hide Header in sidebar */
.nav-container.scrolled .nav-header {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    transform: translateY(-20px);
}

/* Hide Numerals and Bullets in sidebar */
.nav-container.scrolled .roman {
    display: none;
}

.nav-container.scrolled .nav-links li::before {
    display: none;
    /* Hide nav logo in horizontal mode */
}

.nav-container.scrolled .nav-links ul {
    flex-direction: row;
    gap: 25px;
    align-items: center;
}

.nav-container.scrolled .nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.nav-container.scrolled .nav-links a:hover,
.nav-container.scrolled .nav-links a.active {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-links a.active {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    /* Stronger glow */
    font-weight: 900 !important;
    /* Maximum Boldness */
    transform: scale(1.05);
    /* Slight pop */
}

/* --- Treatments Gallery Overlay --- */
.treatments-gallery {
    position: absolute;
    bottom: 40px;
    /* Positioned lower on the screen */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    opacity: 1;
    /* Always visible */
    z-index: 20;
    /* Above canvas */
    pointer-events: auto;
    /* Always interactive */
}

/* Active state for the gallery when section is active - Removed transition */
.sticky-container.active .treatments-gallery {
    opacity: 1;
}

.gallery-header {
    padding: 0 40px 20px 40px;
    text-align: left;
}

.gallery-header h2 {
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Treatment Search Bar */
.treatments-search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
    padding: 0 40px;
}

.treatment-search-input {
    width: 100%;
    padding: 18px 60px 18px 30px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.25));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 40px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.treatment-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.treatment-search-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.4s ease;
}

.treatment-search-input:focus~.search-icon {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    /* Let Swiper handle spacing via spaceBetween if needed, or keep it 0 for flex layout */
    padding: 0;
    overflow-x: visible;
    /* Swiper needs visibility */
    scroll-behavior: auto;
    width: 100%;
    box-sizing: border-box;
}

.treatments-swiper {
    width: 100%;
    padding: 30px 0 50px 0;
    overflow: hidden;
    /* Changed from visible to prevent horizontal page shifting */
}

/* Swiper needs standard wrapper styles */
.treatments-swiper .swiper-wrapper {
    align-items: stretch;
    /* Cards can have different heights, but stretch looks better for some designs */
}

/* Performance Optimized Card Styling */
.treatment-card {
    /* min-width: 320px;
 - REMOVED to allow Swiper sizing */
    min-height: 140px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    /* Optimized Gradient Border Technique */
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.25));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, height 0.4s ease;
    /* Ensure height transitions smoothly */
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Stability Helpers */
    will-change: transform, height;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Premium Border Glow Effect */
.treatment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0.6;
}

.treatment-card:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.treatment-card:hover::before {
    opacity: 1;
}

.treatment-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    -webkit-font-smoothing: antialiased;
}

.treatment-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    font-weight: 400;
    transition: color 0.3s ease;
}

.treatment-card:hover h3 {
    color: #fff;
}

.treatment-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Treatment Parent Card Adjustments */
.treatment-card.treatment-parent {
    min-height: 180px;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Subcards Container - Smooth Animated Expansion */
.treatment-subcards {
    max-height: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    padding-top: 0;
    transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin-top 0.5s ease, padding-top 0.5s ease;
    /* Prevent jitter during expansion */
    transform: translateZ(0);
    user-select: none;
    pointer-events: none;
    overflow: hidden;
}

.treatment-card.expanded .treatment-subcards {
    max-height: 1000px;
    opacity: 1;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    user-select: auto;
    pointer-events: auto;
}

.treatment-card.expanded::after {
    opacity: 0 !important;
}

/* Individual Subcard - Modern List Style */
.treatment-subcard {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateZ(0);
}

.treatment-subcard::after {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.treatment-subcard:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px) translateZ(0);
}

.treatment-subcard:hover::after {
    opacity: 0.8;
    transform: translateX(4px);
}

.treatment-subcard .subcard-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* Expansion Indicator */
.treatment-card.treatment-parent::after {
    content: '';
    position: absolute;
    bottom: 25px;
    right: 28px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.25;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.treatment-card.expanded::after {
    transform: rotate(180deg);
    opacity: 0.6;
}

.treatment-card:hover::after {
    opacity: 0.5;
}

/* Custom Scrollbar for scrollable cards */
.treatment-card.treatment-scrollable.expanded .treatment-subcards {
    max-height: 350px !important;
    overflow-y: auto;
    padding-right: 12px;
}

.treatment-card.treatment-scrollable .treatment-subcards::-webkit-scrollbar {
    width: 4px;
}

.treatment-card.treatment-scrollable .treatment-subcards::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.treatment-card.treatment-scrollable .treatment-subcards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.treatment-card.treatment-scrollable .treatment-subcards::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Search Bar Enhancement */
.treatment-search-input {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.25));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.treatment-search-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.4));
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Ensure interactive elements response */
.treatment-search-input,
.treatment-card,
.treatment-subcard {
    pointer-events: auto !important;
}

/* --- Location Picker (Front Page Doctor Section) --- */
.location-picker-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    pointer-events: auto;
}

.btn-choose-location {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 24px 64px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 80px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    animation: locationPulse 3s ease-in-out infinite;
}

@keyframes locationPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 100px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.btn-choose-location:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 120px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.btn-choose-location svg {
    transition: transform 0.3s ease;
}

.btn-choose-location:hover svg {
    transform: scale(1.2);
}

.btn-choose-location.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    animation: none;
}

/* Location Dropdown */
.location-dropdown {
    margin-top: 16px;
    width: 100%;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.location-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.location-dropdown-inner {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.location-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.location-option:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.location-flag {
    font-size: 1.6rem;
    line-height: 1;
}

.location-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex: 1;
}

.location-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.location-option:hover .location-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Location Picker - Mobile */
@media (max-width: 768px) {
    .location-picker-overlay {
        bottom: 40px;
        padding: 0 20px;
    }

    .btn-choose-location {
        padding: 18px 40px;
        font-size: 1rem;
    }

    .location-dropdown {
        max-width: 100%;
    }

    .location-option {
        padding: 16px 20px;
    }
}

/* --- Treatment Modal (Generic Pricing List) --- */
#treatment-modal {
    z-index: 5000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.treatment-detail-card {
    width: 90%;
    max-width: 500px;
    background: rgba(30, 30, 30, 0.95);
    /* Dark theme modal match */
    color: #fff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#treatment-modal-content {
    padding: 20px 0;
    overflow-y: visible;
}

#treatment-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
    top: 15px;
    right: 15px;
    color: #fff;
    background: transparent;
}

#treatment-modal-content {
    padding: 40px;
    overflow-y: auto;
    /* Scrollable content */
    flex-grow: 1;
}

#treatment-modal-title {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 800;
    color: #111;
    margin: 40px 40px 10px 40px;
    /* Title outside scroll or inside top? Inside flow is easier */
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    color: #111;
    background: rgba(0, 0, 0, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Modal Typography */
.treatment-article h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #111;
}

.treatment-article p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.treatment-article ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.treatment-article li {
    margin-bottom: 8px;
    color: #444;
}

.highlight-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #eee;
}

.highlight-box h4 {
    margin-top: 0;
    color: #0066cc;
}

/* --- Blog Text Grid --- */
/* Overlay covers the full sticky viewport, enables scrolling */
.blog-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 20;
    /* Standard flow with scroll */
    display: block;
    overflow-y: auto;
    padding-top: 120px;
    /* Push content down from top */
    padding-bottom: 80px;
    opacity: 1;
    /* Always visible */
    pointer-events: auto;
    /* Always interactive */
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
}

.blog-grid-overlay::-webkit-scrollbar {
    display: none;
}

.sticky-container.active .blog-grid-overlay {
    opacity: 1;
}

.grid-header {
    text-align: left;
    margin-bottom: 30px;
    width: 45%;
    max-width: 700px;
    margin-left: auto;
    margin-right: 5%;
}

.grid-header h2 {
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Ensure Parent Grid has width constraints */
/* Ensure Parent Grid has width constraints */
.blog-grid {
    width: 50%;
    max-width: 700px;
    margin-left: auto;
    margin-right: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Healthy gap */
}

@media (max-width: 1024px) {
    #blog.scroll-section {
        height: auto !important;
    }

    #blog .sticky-container {
        height: auto !important;
        overflow: visible !important;
    }

    .blog-grid-overlay {
        height: auto !important;
        position: relative !important;
        padding: 40px 20px !important;
        overflow-y: visible !important;
    }

    #blog .parallax-layer.background-layer {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .grid-header {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    .blog-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
    }
}

.blog-text-card {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
    /* Glass base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* content top aligned */
    /* Auto height to fit content naturally */
    height: auto;
    min-height: 220px;
    /* Uniform minimum baseline */
    cursor: pointer;
    pointer-events: auto !important;
    /* Ensure blog cards are always clickable */
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.blog-text-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.blog-text-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.blog-text-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    /* Line Clamp for Uniformity */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    /* Push to bottom if flex stretch allows, but strictly following content flow is safer */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.blog-text-card:hover .read-more {
    opacity: 1;
}

/* --- Blog Explore Button --- */
.blog-explore-container {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: 5%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.btn-blog-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-blog-explore:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-blog-explore svg {
    transition: transform 0.4s ease;
}

.btn-blog-explore:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-explore-container {
        width: 100% !important;
        margin: 30px 0 0 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    .btn-blog-explore {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* --- Small Laptop Optimization (13"–14" screens, ~1366x768 / 1440x900) --- */
@media (min-width: 1025px) and (max-width: 1440px),
       (min-width: 1025px) and (max-height: 860px) {
    .blog-grid-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        overflow-y: hidden;
    }

    .grid-header {
        margin-bottom: 18px;
    }

    .grid-header h2 {
        font-size: clamp(1.6rem, 1.9vw, 2.2rem);
    }

    .blog-grid {
        gap: 14px;
    }

    .blog-text-card {
        padding: 18px 20px;
        min-height: 0;
        border-radius: 16px;
    }

    .blog-text-card h3 {
        font-size: 1.05rem;
        margin: 0 0 8px 0;
        -webkit-line-clamp: 2;
    }

    .blog-text-card p {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .read-more {
        font-size: 0.72rem;
    }

    .blog-explore-container {
        margin-top: 22px;
    }

    .btn-blog-explore {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* Ultra-short viewports (e.g. 1366x768 with browser chrome): tighten further so content still fits within 100vh */
@media (min-width: 1025px) and (max-height: 760px) {
    .blog-grid-overlay {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .grid-header {
        margin-bottom: 12px;
    }

    .grid-header h2 {
        font-size: 1.5rem;
    }

    .blog-grid {
        gap: 12px;
    }

    .blog-text-card {
        padding: 14px 16px;
    }

    .blog-text-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .blog-text-card p {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .blog-explore-container {
        margin-top: 16px;
    }

    .btn-blog-explore {
        padding: 10px 20px;
        font-size: 0.78rem;
    }
}

/* --- Essay Modal --- */
.essay-overlay {
    background: #000;
    /* Dark reader mode */
    overflow-y: auto;
}

.essay-content-wrapper {
    max-width: 1200px;
    margin: 100px auto 100px auto;
    padding: 0 30px;
    animation: fadeInUp 0.8s ease backwards 0.3s;
}

.essay-article h2 {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    color: #fff;
    margin-bottom: 10px;
}

.essay-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.essay-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ddd;
}

.essay-text p {
    margin-bottom: 24px;
}

.essay-text .lead {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 40px;
}

/* --- Scoped Light Mode for Treatment Modal --- */
#treatment-modal.light-mode {
    background-color: #f5f5f7 !important;
    /* Light gray background */
}

#treatment-modal.light-mode .essay-article h2,
#treatment-modal.light-mode .essay-text h3,
#treatment-modal.light-mode .essay-text .lead {
    color: #111;
}

#treatment-modal.light-mode .essay-text,
#treatment-modal.light-mode .essay-text p,
#treatment-modal.light-mode .essay-text li {
    color: #333;
}

#treatment-modal.light-mode .essay-meta {
    color: #666;
}

#treatment-modal.light-mode .about-theme-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #111;
}

#treatment-modal.light-mode .about-theme-btn .sun {
    opacity: 0;
    transform: rotate(-90deg);
}

#treatment-modal.light-mode .about-theme-btn .moon {
    opacity: 1;
    transform: rotate(0deg);
}

#treatment-modal.light-mode .close-btn {
    color: #111;
    background: rgba(0, 0, 0, 0.05);
}

.treatment-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.treatment-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.treatment-card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sticky-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: transparent;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#faq .sticky-container {
    position: relative;
    height: auto;
    min-height: auto;
}

#faq .parallax-layer.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Scene Wrapper - Sticky Component */
.scene-wrapper {
    position: sticky !important;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    transform-style: preserve-3d;
    perspective: 1000px;
}

#doctor,
#destinations,
#blog,
#community,
#community-ndb {
    position: sticky;
    /* Parent must be relative for the child sticky to move within it */
    width: 100%;
    height: calc(100vh + 500px);
    /* Increased to allow 500px "hold" effect */
    will-change: transform;
    transform: scale(1);
    margin: 0;
    padding: 0;
    top: 0;
    overflow-x: hidden;
}

#opening {
    z-index: 1;
}

#doctor {
    z-index: 2;
}

#blog {
    z-index: 3;
}

#destinations {
    z-index: 4;
}

@media (max-width: 768px) {
    #destinations .parallax-layer.foreground-layer {
        top: 0px !important;
    }
}

#community {
    z-index: 5;
}

#community-ndb {
    z-index: 6;
}

#instagram {
    z-index: 7;
    height: auto;
}

#faq {
    z-index: 8;
    height: auto;
}

.scroll-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Increased from 100vh to allow 500px "hold" at top */
}

/* Scene Wrapper - The actual sticky visual layer */
.scene-wrapper {
    position: sticky !important;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    background: #000;
    perspective: 1200px;
    /* Slight increase for better depth */
    transform-style: preserve-3d;
    transform-origin: center top;
    /* Tilt from the top */
    will-change: transform, filter, opacity, border-radius;
    transition: border-radius 0.2s ease-out;
    /* Smooth corners */
}

.scene-wrapper.active {
    pointer-events: auto;
}

/* Clean Edge (No Blur) ensures perfectly sharp "slide over" effect */
/* Reduce backdrop-filter load on scroll */
.blog-text-card,
.treatment-card {
    will-change: transform, opacity;
}

.community-content-wrapper {
    position: absolute;
    top: 20px;
    /* Absolute top edge */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.community-intro {
    max-width: 700px;
    margin-bottom: 0;
    /* No margin, tight packing */
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4;
    /* Tighter line height */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    opacity: 0.95;
}

.community-intro p {
    margin-bottom: 0.3rem;
    /* Small gap between paragraphs */
}

.community-intro .intro-lead {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.community-intro .intro-final {
    font-weight: 700;
    margin-top: 0.3rem;
    font-style: italic;
}

/* Community Headline (Middle Layer) */
.community-headline {
    /* Reset positioning to flow */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    font-size: 10vw;
    /* Reduced to 10vw to save space */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    display: block;
    width: auto;
    margin-top: -10px;
    /* Pull it up slightly closer to text */
}

.sequence-canvas {
    width: 100%;
    height: 100%;
    transition: transform 0.1s linear;
}

/* Scene Wrapper */
.scene-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Base Parallax Layer */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    pointer-events: none;
    /* Allow clicks to pass through to treatments gallery */
}

.parallax-layer img {
    display: block;
    pointer-events: none;
}

/* Background Layer */
.background-layer {
    z-index: -1;
}

/* Middle Layer */
.middle-layer {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Foreground Layer */
.foreground-layer {
    z-index: 3;
}

.background-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* Foreground Layer */
.foreground-layer {
    z-index: 2;
    pointer-events: none;
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.sequence-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Mobile hero poster (hidden on desktop) */
.mobile-hero-poster {
    display: none !important;
}

/* Mobile scroll-driven video (hidden on desktop) */
.opening-scroll-video {
    display: none;
}

@media (max-width: 767px) {
    /* Hide canvas on mobile, show video */
    #opening .sequence-canvas {
        display: none !important;
    }

    .opening-scroll-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 55%;
        z-index: 1;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-hero-poster {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 55%;
        z-index: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-layer {
        transform: none !important;
    }
}

/* --- Overlays (Global) --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.overlay.active .overlay-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

/* --- Contact Form Styles --- */
.form-panel h2 {
    font-family: var(--font-primary);
    margin: 0 0 40px 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Community Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.glass-modal-card {
    /* Clean Dark Glass */
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 60px;
    max-width: 600px;
    width: 90%;
    position: relative;
    /* Scroll Logic */
    max-height: 85vh;
    /* Limit height */
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .glass-modal-card {
    transform: scale(1);
}

#community-modal-title {
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    flex-shrink: 0;
    /* Keep header fixed */
}

#community-modal-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    /* Content Scroll */
    overflow-y: auto;
    padding-right: 15px;
    /* Spacing for scrollbar */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Webkit Scrollbar */
#community-modal-text::-webkit-scrollbar {
    width: 6px;
}

#community-modal-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

#community-modal-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group label .required {
    color: #ff3b30;
    /* Apple System Red */
}

input,
select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none;
    border-color: #007aff;
    /* Apple System Blue */
    background: rgba(255, 255, 255, 0.1);
}

.select-wrapper {
    position: relative;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

/* --- About Us Overlay (Scrollytelling) --- */
.about-overlay {
    display: block;
    /* Override default flex center from generic overlay */
    padding: 0;
    overflow: hidden;
    /* Scroll handled by inner container */
    background: #000;
    /* Solid blackout for immersion */
}

.about-scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Smooth scroll behavior */
    scroll-behavior: smooth;
    padding: clamp(50px, 5.2vw, 100px) 20px;
    box-sizing: border-box;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* About Typography */
.about-hero {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.about-hero h2 {
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #aaa);
    /* Fix lint: Add standard background-clip */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 16px;
    font-weight: 400;
}

.about-hero .hero-lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
}

.about-hero .highlight {
    color: #fff;
    font-weight: 600;
    border-left: 2px solid #fff;
    padding-left: 16px;
    margin-top: 30px;
}

/* Accordion Sections */
.about-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    cursor: pointer;
    /* Scroll Trigger Start State */
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease;
}

/* Hover/Active States */
.about-section:hover h3,
.about-section.active h3 {
    color: #fff;
    padding-left: 10px;
    /* Micro-interaction */
}

.about-section.active .icon {
    transform: rotate(45deg);
    color: #fff;
}

/* Content Expansion */
.section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
    opacity: 0;
    padding-bottom: 0;
}

.about-section.active .section-body {
    max-height: 1000px;
    /* Arbitrary large height */
    opacity: 1;
    padding-bottom: 40px;
}

.section-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 16px;
    max-width: 650px;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.clean-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 1.1rem;
}

.clean-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

.about-footer {
    padding-top: 60px;
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Sections */
.about-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    cursor: pointer;
    /* Scroll Trigger Start State */
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease;
}

/* Hover/Active States */
.about-section:hover h3,
.about-section.active h3 {
    color: #fff;
    padding-left: 10px;
    /* Micro-interaction */
}

.about-section.active .icon {
    transform: rotate(45deg);
    color: #fff;
}

/* Content Expansion */
.section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
    opacity: 0;
    padding-bottom: 0;
}

.about-section.active .section-body {
    max-height: 1000px;
    /* Arbitrary large height */
    opacity: 1;
    padding-bottom: 40px;
}

.section-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 16px;
    max-width: 650px;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.clean-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 1.1rem;
}

.clean-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

.about-footer {
    padding-top: 60px;
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* --- Sticky Scroll Down Indicator --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-down-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    color: #fff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    animation: arrow-bounce 2s infinite ease-in-out;
}

@keyframes arrow-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- Destinations Minimalist List Section --- */
.destinations-list-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
    background: transparent;
    pointer-events: auto;
    padding: 0;
}

.destination-item {
    width: 100%;
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-top: 2px solid rgba(255, 255, 255, 0.0);
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
}

.destination-item:first-child {
    border-top: 2px solid rgba(255, 255, 255, 0.6);
}

.static-title {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Hover State - White Background */
.destination-item:hover {
    background: #fff;
}

.destination-item:hover .static-title {
    opacity: 0;
}

/* Marquee Container */
.hover-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 1;
    contain: layout style;
}

.destination-item:hover .hover-marquee {
    opacity: 1;
    visibility: visible;
}

/* Marquee Track */
.marquee-track {
    display: flex;
    gap: 4rem;
    padding-left: 2rem;
    animation: marqueeScroll 20s linear infinite;
    animation-play-state: paused;
    flex-shrink: 0;
    align-items: center;
    min-width: 100%;
}

.destination-item:hover .marquee-track {
    animation-play-state: running;
    will-change: transform;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Marquee Content Styling */
.marquee-track span {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    /* Black text on white bg */
    white-space: nowrap;
}

.img-pill {
    width: 280px;
    height: 90px;
    border-radius: 100px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    /* Initial gap around pill */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Footer Styles (Centered) --- */
/* --- site-footer Styles (Centered) --- */
#main-footer {
    background-color: #050505;
    color: #aeaeae;
    padding: 0;
    position: relative;
    z-index: 999999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* For bg text */
}

/* Big Abstract Background Text */
.footer-bg-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    line-height: 0.8;
    letter-spacing: -0.05em;
    z-index: 1;
}

.footer-main-grid {
    padding: 50px 0;
    /* Reduced from 100px */
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1800px !important;
    margin: 0 auto;
    padding: 0 30px;
    /* Reduced from 80px */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1.2fr 1.2fr;
    gap: 60px;
    /* Reduced from 100px */
    margin-bottom: 40px;
    /* Reduced from 80px */
    align-items: flex-start;
}

.footer-col .col-header {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    position: relative;
    opacity: 0.9;
}

.footer-col .col-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* Brand Column */
.brand-col .footer-logo {
    height: 75px;
    margin-bottom: 25px;
    width: fit-content;
    opacity: 0.9;
    object-fit: contain;
}

.brand-col .footer-logo-light {
    display: none;
}

.footer-vision {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

/* Light Mode Footer Styles */
body.light-mode #main-footer {
    background-color: #ffffff !important;
    color: #333 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .brand-col .footer-logo-dark {
    display: none;
}

body.light-mode .brand-col .footer-logo-light {
    display: block;
}

body.light-mode .footer-bg-text {
    color: rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .footer-col .col-header {
    color: #000 !important;
    opacity: 1;
}

body.light-mode .footer-col .col-header::after {
    background: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .footer-vision {
    color: #000 !important;
}

body.light-mode .footer-tagline,
body.light-mode .support-text,
body.light-mode .footer-info-details .address {
    color: rgba(0, 0, 0, 0.6) !important;
}

body.light-mode .footer-links a,
body.light-mode .premium-btn-link {
    color: rgba(0, 0, 0, 0.7) !important;
}

body.light-mode .footer-links a:hover,
body.light-mode .premium-btn-link:hover {
    color: #000 !important;
}

body.light-mode .btn-excellence {
    color: #222 !important;
}

body.light-mode .btn-excellence::after {
    background: rgba(245, 245, 247, 0.92) !important;
}

body.light-mode .btn-excellence:hover {
    color: #111 !important;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.1), 0 0 60px rgba(167, 139, 250, 0.08) !important;
}

body.light-mode .btn-excellence:hover::after {
    background: rgba(245, 245, 247, 0.8) !important;
}

body.light-mode .footer-bottom-bar {
    background: #f5f5f7 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .copyright,
body.light-mode .developer-credit {
    color: rgba(0, 0, 0, 0.5) !important;
}

body.light-mode .dev-logo {
    filter: brightness(0) !important;
    opacity: 0.7;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Support Col */
.support-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.footer-cta {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Detailed Info Accordions (Minimalist Style) */
.footer-detailed-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.footer-section h3 {
    font-size: 1.1rem !important;
    opacity: 0.7;
}

/* Credits Bar */
.footer-bottom-bar {
    background: #000;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.credits-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.dev-logo {
    height: 25px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
    width: fit-content;
    object-fit: contain;
    /* Force white logo if needed */
}

/* Light Mode specific logo adjustments already handled above */
.dev-logo:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .credits-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Intro Text Reveal Animation */
.intro-text-reveal {
    position: absolute;
    bottom: 8%;
    /* Adjust for middle bottom corner */
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    max-width: 90%;
    text-align: center;
    color: #fff;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 1.5s ease-out, filter 1.5s ease-out;
    z-index: 100;
    pointer-events: none;
    /* Let clicks pass */
}

.intro-text-reveal p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.intro-text-reveal.active {
    opacity: 1;
    filter: blur(0);
}

.contact-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Video Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 9999999;
    /* Topmost */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out;
}

#preloader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* --- Typewriter Intro --- */
.intro-typewriter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    /* Semi-transparent */
    backdrop-filter: blur(8px);
    /* Blur background */
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
    transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.intro-typewriter.finished {
    opacity: 0;
    pointer-events: none;
}

#typewriter-text {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 2.8vw, 3.5rem);
    /* Even larger */
    font-weight: 700;
    /* Bolder */
    color: #fff;
    line-height: 1.2;
    max-width: 1200px;
    margin: 0;
    /* Reset margin for perfect centering */
    white-space: normal;
    /* Handle wrapping via word-spans in JS */
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
}

#typewriter-text .word {
    display: inline-block;
    white-space: nowrap;
    /* Prevent intra-word breaks */
    margin: 0 0.15em;
    /* Adjusted spacing */
}

#typewriter-text .char {
    display: inline-block;
    will-change: transform, filter, opacity;
}

/* Cursor Effect Removed */
/* Nav Visibility Control */
.nav-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(40px);
    /* Slightly more movement */
}

/* Base state for transition (applied when nav-visible is added) */
.nav-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Fix Centering for Main Nav Visibility Control */
#main-nav.nav-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    /* If intro-mode, we still want to be centered even while hidden */
}

#main-nav.intro-mode.nav-hidden {
    transform: translate(-50%, -50%) translateY(30px) !important;
}

#main-nav.nav-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#main-nav.intro-mode.nav-visible {
    transform: translate(-50%, -50%) translateY(0) !important;
}

#main-nav.scrolled.nav-visible {
    transform: none !important;
}

/* Subpage Nav handled by unified .nav-container.scrolled rules around line 1110 */
/* Staggered Reveal Delays */
.nav-visible.brand-logo-link {
    transition-delay: 0s;
    top: 16px !important;
}

.nav-visible#main-nav {
    transition-delay: 0.3s;
}

.nav-visible.contact-widget {
    transition-delay: 0.45s;
}

.nav-visible.top-nav-right {
    transition-delay: 0.1s;
    top: 23px !important;
}

.nav-visible#main-nav {
    transition-delay: 0.2s;
}

.nav-visible.contact-widget {
    transition-delay: 0.3s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- High Contrast Scoped Light Mode (Fix) --- */
#about-overlay.light-mode {
    background-color: #f2f2f7 !important;
}

/* Force dark text on EVERYTHING inside the light mode overlay */
#about-overlay.light-mode * {
    text-shadow: none !important;
}

#about-overlay.light-mode .about-content {
    color: #1c1c1e !important;
}

/* Headlines & Lead */
#about-overlay.light-mode .about-hero h2 {
    color: #000000 !important;
    font-weight: 800;
}

#about-overlay.light-mode .about-hero .hero-lead {
    color: #111111 !important;
    font-weight: 600;
}

#about-overlay.light-mode .about-hero p {
    color: #333333 !important;
}

#about-overlay.light-mode .highlight {
    color: #000000 !important;
}

/* Section Headers */
#about-overlay.light-mode .section-header h3 {
    color: #000000 !important;
}

#about-overlay.light-mode .section-header .icon {
    color: #666 !important;
}

/* Body Text */
#about-overlay.light-mode .section-body p {
    color: #333333 !important;
    font-weight: 450;
}

/* Lists */
#about-overlay.light-mode .clean-list li {
    color: #444444 !important;
}

#about-overlay.light-mode .clean-list li::before {
    color: #888 !important;
}

/* Borders */
#about-overlay.light-mode .about-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* Close/Theme Buttons in Light Mode */
#about-overlay.light-mode .close-btn {
    color: #000 !important;
    background: rgba(255, 255, 255, 0.5);
}

/* --- Static Image Fix --- */
.static-parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Fix Community Gallery Card Corners --- */
.coverflow-card {
    border-radius: 20px !important;
    overflow: hidden !important;
    /* Ensures the label and image are clipped */
}

/* --- Adjust Community Headline Position --- */
.community-headline {
    margin-top: 10vh !important;
    position: relative;
    top: 0;
}

@media (max-width: 768px) {
    .community-headline {
        margin-top: 15vh !important;
    }
}

/* --- Treatments Headline --- */
.treatments-headline {
    position: relative;
    font-size: 13vw;
    /* Balanced size (was 18vw) */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* --- Treatments Stats Bar --- */
.treatments-stats {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 18px 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 28px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Stats Bar - Mobile */
@media (max-width: 768px) {
    .treatments-stats {
        bottom: 60px;
        flex-wrap: wrap;
        padding: 14px 20px;
        gap: 12px;
        width: 75%;
        display: none;
    }

    .stat-item {
        padding: 0 14px;
        width: 38%;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .stat-divider {
        height: 24px;
        display: none;
    }
}

/* --- NOT DR. B Section Styles --- */
/* Seamless Blend from Community */
/* Ensure NDB background image is visible */
#not-dr-b .background-layer {
    background: #000;
    /* Fallback background */
}

#not-dr-b .background-layer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.not-dr-b-headline {
    position: relative;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    /* Subtle, behind content */
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* NDB Image Layer - Burçay positioned to the left */
.ndb-image-layer {
    z-index: 4;
    /* Above background and headline, below feed */
    display: flex;
    justify-content: flex-start;
    /* Align to left */
    align-items: flex-end;
    /* Align to bottom - no empty space */
    padding-left: 5%;
    /* Slight offset from left edge */
}

.ndb-person-image {
    display: block;
    height: 100vh;
    /* Full viewport height - no empty space at bottom */
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom left;
    /* Anchor to bottom left */
}

/* Closing .feed-item.placeholder::after */
/* --- Treatment Modal: Full Page Experience --- */
#treatment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    /* Higher than everything including nav */
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#treatment-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

.treatment-modal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(50px, 5.2vw, 100px) clamp(20px, 2vw, 40px) clamp(30px, 3.1vw, 60px);
    min-height: 100vh;
}

.treatment-modal-header {
    text-align: center;
    margin-bottom: 60px;
}

.treatment-modal-header h1 {
    font-size: clamp(2.2rem, 2.8vw, 3.5rem);
    font-weight: 900;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.treatment-modal-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

/* Info Grid - Equal Squares */
.treatment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #e8e8ed;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.info-card p,
.info-card ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.info-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #999;
}

/* Close Button for Treatment Modal */
#treatment-modal .close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111;
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#treatment-modal .close-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

/* Theme Toggle in Treatment Modal */
#treatment-modal .about-theme-btn {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, 0.1);
    color: #111;
}

/* Dark Mode Styles (when toggled) */
#treatment-modal.dark-mode {
    background: #0a0a0a;
}

#treatment-modal.dark-mode .treatment-modal-header h1 {
    color: #fff;
}

#treatment-modal.dark-mode .treatment-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

#treatment-modal.dark-mode .info-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

#treatment-modal.dark-mode .info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

#treatment-modal.dark-mode .info-card h3 {
    color: #fff;
}

#treatment-modal.dark-mode .info-card p,
#treatment-modal.dark-mode .info-card ul,
#treatment-modal.dark-mode .info-card li {
    color: rgba(255, 255, 255, 0.8);
}

#treatment-modal.dark-mode .info-card li::before {
    color: rgba(255, 255, 255, 0.5);
}

#treatment-modal.dark-mode .close-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#treatment-modal.dark-mode .about-theme-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.treatment-modal-header {
    text-align: center;
    margin-bottom: 60px;
}

.treatment-modal-header h1 {
    font-size: clamp(2.2rem, 2.8vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.treatment-modal-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Info Grid - Equal Squares */
.treatment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.info-card p,
.info-card ul {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* Light Mode Styles */
#treatment-modal.light-mode {
    background: #ffffff;
}

#treatment-modal.light-mode .treatment-modal-header h1 {
    color: #111;
}

#treatment-modal.light-mode .treatment-modal-subtitle {
    color: #666;
}

#treatment-modal.light-mode .info-card {
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, 0.1);
}

#treatment-modal.light-mode .info-card:hover {
    background: #e8e8ed;
    border-color: rgba(0, 0, 0, 0.15);
}

#treatment-modal.light-mode .info-card h3 {
    color: #111;
}

#treatment-modal.light-mode .info-card p,
#treatment-modal.light-mode .info-card ul,
#treatment-modal.light-mode .info-card li {
    color: #333;
}

#treatment-modal.light-mode .info-card li::before {
    color: #999;
}

#treatment-modal.light-mode .about-theme-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #111;
}

#treatment-modal.light-mode .about-theme-btn .sun {
    opacity: 0;
    transform: rotate(-90deg);
}

#treatment-modal.light-mode .about-theme-btn .moon {
    opacity: 1;
    transform: rotate(0deg);
}

#treatment-modal.light-mode .close-btn {
    color: #111;
    background: rgba(0, 0, 0, 0.05);
}

.package-item {
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.package-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pkg-name {
    font-weight: 600;
    color: #fff;
}

.pkg-price {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

/* ============================================   TREATMENT MODAL - COMPLETE REBUILD   Light mode by default, dark mode on toggle   ============================================ */
/* Base Modal - Hidden by default */
.treatment-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal Active State */
.treatment-modal.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

/* Overlay for click-outside */
.treatment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Content Container - Light Mode Default */
.treatment-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Header with buttons */
.treatment-modal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    z-index: 100;
    background: transparent;
}

/* Theme Toggle Button - Light Mode */
.treatment-theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s ease;
}

.treatment-theme-btn:hover {
    background: #e5e5e5 !important;
    transform: scale(1.05);
}

/* Show moon icon in light mode, sun in dark */
.treatment-modal .theme-icon-light {
    display: none;
}

.treatment-modal .theme-icon-dark {
    display: block;
}

.treatment-modal.dark-mode .theme-icon-light {
    display: block;
}

.treatment-modal.dark-mode .theme-icon-dark {
    display: none;
}

/* Close Button - Light Mode */
.treatment-close-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
    color: #111 !important;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.treatment-close-btn:hover {
    background: #e5e5e5 !important;
    transform: scale(1.05);
}

/* Modal Body */
.treatment-modal-body {
    flex: 1;
    padding: clamp(50px, 5.2vw, 100px) clamp(30px, 3.1vw, 60px) clamp(30px, 3.1vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title - Light Mode */
.treatment-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin: 0 0 15px 0 !important;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Subtitle - Light Mode */
.treatment-subtitle {
    font-size: 1.2rem !important;
    color: #666666 !important;
    margin: 0 0 50px 0 !important;
    text-align: center;
}

/* Cards Grid - 3x2 equal squares */
.treatment-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    width: 100%;
    max-width: 1000px;
}

/* Individual Card - Light Mode */
.treatment-cards-grid .treatment-info-card {
    aspect-ratio: 1 / 1 !important;
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 20px !important;
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    transition: all 0.25s ease !important;
    overflow: hidden;
}

.treatment-cards-grid .treatment-info-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: #ccc !important;
}

/* Card Title - Light Mode */
.treatment-cards-grid .treatment-info-card h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 0 15px 0 !important;
}

/* Card Content - Light Mode */
.treatment-cards-grid .treatment-info-card p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #333333 !important;
    margin: 0 !important;
}

/* ============================================   DARK MODE STYLES   ============================================ */
/* Dark Mode Background */
.treatment-modal.dark-mode .treatment-modal-content {
    background: #0a0a0a !important;
}

/* Dark Mode Theme Button */
.treatment-modal.dark-mode .treatment-theme-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.treatment-modal.dark-mode .treatment-theme-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Dark Mode Close Button */
.treatment-modal.dark-mode .treatment-close-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.treatment-modal.dark-mode .treatment-close-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Dark Mode Title */
.treatment-modal.dark-mode .treatment-title {
    color: #ffffff !important;
}

/* Dark Mode Subtitle */
.treatment-modal.dark-mode .treatment-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Dark Mode Cards */
.treatment-modal.dark-mode .treatment-cards-grid .treatment-info-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.treatment-modal.dark-mode .treatment-cards-grid .treatment-info-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Dark Mode Card Title */
.treatment-modal.dark-mode .treatment-cards-grid .treatment-info-card h3 {
    color: #ffffff !important;
}

/* Dark Mode Card Content */
.treatment-modal.dark-mode .treatment-cards-grid .treatment-info-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================   RESPONSIVE - 2 columns on tablet   ============================================ */
@media (max-width: 900px) {
    .treatment-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .treatment-modal-body {
        padding: 80px 20px 40px 20px !important;
    }

    .treatment-title {
        font-size: 2rem !important;
        margin-top: 20px !important;
    }
}

/* 1 column on mobile / small tablet - NUCLEAR FIX */
@media (max-width: 800px) {
    #treatment-modal-cards.treatment-cards-grid {
        display: block !important;
        /* Force block to avoid any grid/flex quirks */
        width: 100% !important;
    }

    #treatment-modal-cards .treatment-info-card {
        display: block !important;
        width: 100% !important;
        margin-bottom: 50px !important;
        /* HUGE GAP */
        height: auto !important;
        aspect-ratio: auto !important;
        padding: 40px 30px !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        /* Distinct border */
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }

    .treatment-modal-body {
        padding: 100px 20px 100px 20px !important;
        border: 5px solid red !important;
        /* VISUAL INDICATOR TO CHECK IF CSS IS LOADING */
    }

    .treatment-title {
        font-size: 2.2rem !important;
        margin-bottom: 30px !important;
    }
}

/* 1 column on mobile / small tablet */
@media (max-width: 768px) {
    .treatment-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        /* Fallback */
        gap: 40px !important;
        /* Strong gap */
        row-gap: 40px !important;
    }

    .treatment-cards-grid .treatment-info-card {
        width: 100% !important;
        aspect-ratio: auto !important;
        min-height: 150px !important;
        margin-bottom: 10px !important;
        /* Safety */
        padding: 30px !important;
    }

    .treatment-title {
        font-size: 1.8rem !important;
    }

    .treatment-modal-header {
        padding: 15px 20px !important;
    }

    .treatment-theme-btn,
    .treatment-close-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
}

/* ============================================   HIDE HEADER/NAV ELEMENTS WHEN MODAL IS ACTIVE   For a clean, focused modal experience   ============================================ */
/* When treatment modal is active, hide page UI elements (NOT modal elements) */
body.treatment-modal-open .brand-logo-link,
body.treatment-modal-open .top-nav-right,
body.treatment-modal-open #main-nav,
body.treatment-modal-open .nav-container,
body.treatment-modal-open .contact-widget,
body.treatment-modal-open .scroll-down-indicator,
body.treatment-modal-open .header-socials,
body.treatment-modal-open .helix-footer,
body.treatment-modal-open footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* ENSURE modal header and buttons are ALWAYS visible */
.treatment-modal .treatment-modal-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 25px 30px !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
}

.treatment-modal .treatment-theme-btn,
.treatment-modal .treatment-close-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000001 !important;
}

/* Light Mode Button Colors - matching About Us design */
.treatment-modal .treatment-theme-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(240, 240, 240, 0.9) !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
    color: #111 !important;
    font-size: 1.3rem !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.treatment-modal .treatment-theme-btn:hover {
    background: rgba(230, 230, 230, 0.95) !important;
    transform: scale(1.1) !important;
}

/* Icons positioning */
.treatment-modal .treatment-theme-btn .mode-icon {
    position: absolute !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Light Mode: Show moon (to switch to dark), hide sun */
.treatment-modal .treatment-theme-btn .sun {
    opacity: 0 !important;
    transform: rotate(-90deg) !important;
}

.treatment-modal .treatment-theme-btn .moon {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
}

.treatment-modal .treatment-close-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(240, 240, 240, 0.9) !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
    color: #111 !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.treatment-modal .treatment-close-btn:hover {
    background: rgba(230, 230, 230, 0.95) !important;
    transform: scale(1.1) !important;
}

/* Dark Mode Button Colors - matching About Us design */
.treatment-modal.dark-mode .treatment-theme-btn {
    background: rgba(50, 50, 50, 0.9) !important;
    border: 2px solid rgba(80, 80, 80, 0.8) !important;
    color: #fff !important;
}

.treatment-modal.dark-mode .treatment-theme-btn:hover {
    background: rgba(70, 70, 70, 0.95) !important;
}

/* Dark Mode: Show sun (to switch to light), hide moon */
.treatment-modal.dark-mode .treatment-theme-btn .sun {
    opacity: 1 !important;
    transform: rotate(0deg) !important;
}

.treatment-modal.dark-mode .treatment-theme-btn .moon {
    opacity: 0 !important;
    transform: rotate(90deg) !important;
}

.treatment-modal.dark-mode .treatment-close-btn {
    background: rgba(50, 50, 50, 0.9) !important;
    border: 2px solid rgba(80, 80, 80, 0.8) !important;
    color: #fff !important;
}

.treatment-modal.dark-mode .treatment-close-btn:hover {
    background: rgba(70, 70, 70, 0.95) !important;
}

/* Ensure all Light Mode text is visible (dark text on white bg) */
.treatment-modal .treatment-title {
    color: #000000 !important;
}

.treatment-modal .treatment-subtitle {
    color: #333333 !important;
}

.treatment-modal .treatment-info-card h3 {
    color: #000000 !important;
}

.treatment-modal .treatment-info-card p,
.treatment-modal .treatment-info-card li {
    color: #222222 !important;
}

/* Dark Mode text colors */
.treatment-modal.dark-mode .treatment-title {
    color: #ffffff !important;
}

.treatment-modal.dark-mode .treatment-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.treatment-modal.dark-mode .treatment-info-card h3 {
    color: #ffffff !important;
}

.treatment-modal.dark-mode .treatment-info-card p,
.treatment-modal.dark-mode .treatment-info-card li {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Info Card Link Styling */
.info-card-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfa181;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.info-card-link:hover {
    color: #000000;
    transform: translateX(5px);
}

.treatment-modal.dark-mode .info-card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.treatment-modal.dark-mode .info-card-link:hover {
    color: #ffffff;
}

/* Page Template Layout Enhancements */
.page-hero .hero-cat {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-content-layout {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.page-entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 4rem;
}

.dark-mode .page-entry-content {
    color: #ffffff;
}

/* Treatment Info Grid */
.treatment-info-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

.treatment-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.treatment-info-box {
    background: #1c1c1c;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.treatment-info-box:hover {
    background: #252525;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.5);
}

.treatment-info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.treatment-info-box .box-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Light Mode Treatment Info */
body.light-mode .treatment-info-box {
    background: #f5f5f7 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .treatment-info-box:hover {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .treatment-info-box h3 {
    color: #111 !important;
}

body.light-mode .treatment-info-box .box-content {
    color: #444 !important;
}

body.light-mode .treatment-info-box:hover .box-content {
    color: #111 !important;
}

.treatment-info-box:hover .box-content {
    color: #ffffff !important;
}

.treatment-info-box .box-content p {
    margin-bottom: 0.75rem;
}

.treatment-info-box .box-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .treatment-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .treatment-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .treatment-info-box {
        padding: 2rem;
    }
}

/* --- Missing Treatment Detail Box Styles --- */
.treatment-detail-box {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.treatment-detail-box:hover {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.treatment-detail-box .detail-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optional: if the icon is just an img, we might not need bg,        but if it's the circle plus from screenshot, we verify below.       Assuming img is the icon itself. */
}

.treatment-detail-box .detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.treatment-detail-box:hover .detail-icon img {
    transform: scale(1.1);
}

.treatment-detail-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.treatment-detail-box .detail-content {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.treatment-detail-box .detail-content p {
    margin-bottom: 0.75rem;
}

/* Light Mode Overrides for Treatment Detail Box */
body.light-mode .treatment-detail-box {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .treatment-detail-box:hover {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .treatment-detail-box h3 {
    color: #111 !important;
}

body.light-mode .treatment-detail-box .detail-content,
body.light-mode .treatment-detail-box .detail-content p {
    color: #444 !important;
}

/* Invert white icons for light mode visibility */
body.light-mode .treatment-detail-box .detail-icon img {
    filter: invert(1);
    opacity: 0.8;
}

/* --- Light Mode Treatment CTA & Info Cards --- */
body.light-mode .treatment-cta-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .treatment-cta-card:hover {
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px);
}

body.light-mode .cta-title {
    color: #111 !important;
}

body.light-mode .cta-subtitle {
    color: #444 !important;
}

body.light-mode .cta-btn {
    background: #111 !important;
    color: #fff !important;
}

body.light-mode .cta-btn:hover {
    background: #000 !important;
    transform: scale(1.05);
}

/* Ensure Treatment Modal Cards respect global light mode when not manually toggled */
body.light-mode .treatment-modal-content {
    background: #ffffff !important;
}

body.light-mode .treatment-info-card {
    background: #f5f5f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .treatment-info-card h3 {
    color: #111 !important;
}

body.light-mode .treatment-info-card .info-card-content,
body.light-mode .treatment-info-card p,
body.light-mode .treatment-info-card li {
    color: #444 !important;
}

body.light-mode .treatment-info-card .info-card-link {
    color: #111 !important;
}

body.light-mode .treatment-info-card:hover {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.treatment-cta-section {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    width: 100%;
}

.treatment-cta-card {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.treatment-cta-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.treatment-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff !important;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #000 !important;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Responsive CTA */
@media (max-width: 900px) {
    .treatment-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

.page-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

/* --- Single Post: Immersive Hero Layout --- */
/* Hero Header */
.single-hero {
    position: relative;
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 2vw, 40px) clamp(40px, 4.2vw, 80px);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-meta a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-meta a:hover {
    color: #fff;
}

.hero-divider {
    color: rgba(255, 255, 255, 0.4);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Blog post detail titles are often long — scale down and allow wrapping */
.single-hero:not(.page-hero) .hero-title {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Content Layout */
.single-content-layout {
    background: var(--bg-color);
    padding: clamp(40px, 4.2vw, 80px) 20px;
    min-height: 50vh;
}

.content-body {
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Light Mode Blog */
body.light-mode .single-content-layout {
    background: #ffffff !important;
}

body.light-mode .content-body {
    color: #222 !important;
}

body.light-mode .content-body p {
    color: #333 !important;
}

body.light-mode .content-body h2,
body.light-mode .content-body h3 {
    color: #000 !important;
}

body.light-mode .content-body blockquote {
    border-left-color: rgba(0, 0, 0, 0.1) !important;
    color: #666 !important;
}

body.light-mode .single-article-footer {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .nav-label {
    color: #999 !important;
}

body.light-mode .nav-prev-single a,
body.light-mode .nav-next-single a,
body.light-mode .back-to-blog-link {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
}

body.light-mode .nav-title {
    color: #111 !important;
}

body.light-mode .nav-prev-single a:hover,
body.light-mode .nav-next-single a:hover,
body.light-mode .back-to-blog-link:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #000 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.content-body p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: rgba(255, 255, 255, 0.85);
}

.content-body h2 {
    font-size: clamp(1.6rem, 1.8vw, 2.25rem);
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    color: #fff;
    line-height: 1.3;
}

.content-body h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.6em;
    color: rgba(255, 255, 255, 0.95);
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.content-body a {
    text-decoration: none;
    color: #c4a0ff;
    border-bottom: 1px solid rgba(196, 160, 255, 0.3);
    transition: border-image 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.content-body a:hover {
    background: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787) 1;
}

.content-body strong,
.content-body b {
    color: #fff;
    font-weight: 700;
}

body.light-mode .content-body a {
    color: #6b3fa0;
    border-bottom-color: rgba(107, 63, 160, 0.3);
}

body.light-mode .content-body a:hover {
    background: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-image: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787) 1;
}

body.light-mode .content-body strong,
body.light-mode .content-body b {
    color: #000;
}

.content-body blockquote {
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.content-body ul,
.content-body ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.content-body li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

/* Social Share Section */
.share-section {
    max-width: 1200px;
    margin: 60px auto 0;
}

.share-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
}

.share-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

.share-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    font-family: inherit;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.share-twitter:hover    { background: #000; border-color: #000; }
.share-facebook:hover   { background: #1877F2; border-color: #1877F2; }
.share-linkedin:hover   { background: #0A66C2; border-color: #0A66C2; }
.share-whatsapp:hover   { background: #25D366; border-color: #25D366; }
.share-instagram:hover  { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: #dc2743; }
.share-telegram:hover   { background: #229ED9; border-color: #229ED9; }
.share-pinterest:hover  { background: #E60023; border-color: #E60023; }
.share-email:hover      { background: #6c5ce7; border-color: #6c5ce7; }
.share-copy:hover       { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.35); }

.share-copy .icon-check { display: none; }
.share-copy.is-copied .icon-link { display: none; }
.share-copy.is-copied .icon-check { display: inline-block; }
.share-copy.is-copied {
    background: rgba(46, 204, 113, 0.25);
    border-color: rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.share-copy-feedback {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.share-copy.is-copied .share-copy-feedback,
.share-instagram.is-copied .share-copy-feedback {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.share-instagram.is-copied {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: #fff;
}

body.light-mode .share-inner {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .share-label {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .share-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}

body.light-mode .share-btn:hover {
    color: #fff;
}

body.light-mode .share-copy:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.25);
    color: #111;
}

@media (max-width: 768px) {
    .share-section {
        margin-top: 40px;
        padding: 0 16px;
    }

    .share-inner {
        gap: 14px;
        padding: 18px 20px;
        border-radius: 24px;
    }

    .share-label {
        width: 100%;
        text-align: center;
    }

    .share-links {
        justify-content: center;
        gap: 8px;
    }

    .share-btn {
        width: 38px;
        height: 38px;
    }
}

/* Blog CTA */
.blog-cta {
    max-width: 1200px;
    margin: 80px auto 0;
}

.blog-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 60px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.blog-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787);
    opacity: 0.6;
}

.blog-cta-text {
    flex: 1;
}

.blog-cta-text h2 {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.blog-cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 28px 0;
    max-width: 520px;
}

.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #0a0a0a;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.blog-cta-icon {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.blog-cta-icon svg,
.blog-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(117, 7, 135, 0.4)) drop-shadow(0 0 50px rgba(0, 77, 255, 0.2));
}

@media (max-width: 768px) {
    .blog-cta-icon {
        width: 120px;
        height: 120px;
    }
}

/* Blog CTA Light Mode */
body.light-mode .blog-cta-inner {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .blog-cta-text h2 {
    color: #111;
}

body.light-mode .blog-cta-text p {
    color: rgba(0, 0, 0, 0.55);
}

body.light-mode .blog-cta-btn {
    background: #111;
    color: #fff;
}

body.light-mode .blog-cta-btn:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Blog CTA Responsive */
@media (max-width: 768px) {
    .blog-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .blog-cta-text p {
        max-width: 100%;
    }

    .blog-cta-icon {
        width: 80px;
        height: 80px;
        order: -1;
    }
}

/* Article Footer */
.single-article-footer {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-footer-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.nav-prev-single,
.nav-next-single {
    display: flex;
    min-width: 0;
}

.nav-next-single {
    justify-content: flex-end;
}

.nav-prev-single a,
.nav-next-single a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 380px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-prev-single a {
    padding-left: 56px;
}

.nav-next-single a {
    padding-right: 56px;
    text-align: right;
    align-items: flex-end;
}

.nav-prev-single a::before,
.nav-next-single a::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-prev-single a::before {
    left: 24px;
    transform: translateY(-50%) rotate(-135deg);
}

.nav-next-single a::after {
    right: 24px;
    transform: translateY(-50%) rotate(45deg);
}

.nav-prev-single a:hover,
.nav-next-single a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.nav-prev-single a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px) rotate(-135deg);
}

.nav-next-single a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(4px) rotate(45deg);
}

.nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    display: block;
}

.nav-title {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Back to home — pill button */
.back-to-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    align-self: center;
}

.back-to-blog-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.back-to-blog-link svg {
    transition: transform 0.3s;
}

.back-to-blog-link:hover svg {
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .single-hero {
        height: 50vh;
    }

    .hero-content-wrapper {
        padding: 0 20px 60px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 1.6vw, 2rem);
    }

    .content-body p {
        font-size: 1.1rem;
    }

    .content-body h2 {
        font-size: 1.75rem;
    }

    .article-footer-nav {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: left;
    }

    .nav-prev-single,
    .nav-next-single {
        justify-content: stretch;
    }

    .nav-prev-single a,
    .nav-next-single a {
        max-width: 100%;
    }

    .nav-next-single a {
        text-align: left;
        align-items: flex-start;
    }

    .back-to-blog-link {
        justify-content: center;
        align-self: stretch;
        order: -1;
    }
}

/* --- Footer Excellence Tier --- */
.footer-info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info-details .address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.contact-links-fast {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-btn-link {
    color: #fff !important;
    /* KILL THE BLUE */
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
}

.premium-btn-link:hover {
    color: #fff !important;
    opacity: 1;
    transform: translateX(5px);
}

.support-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 200px;
}

.btn-excellence {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
    z-index: 1;
    overflow: hidden;
}

.btn-excellence::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa, #e879f9, #f97316);
    background-size: 200% 200%;
    animation: faqBtnBorder 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: all 0.4s ease;
}

.btn-excellence::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 14.5px;
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    z-index: -1;
    transition: all 0.4s ease;
}

.btn-excellence i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-excellence:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.15), 0 0 60px rgba(167, 139, 250, 0.1);
}

.btn-excellence:hover::before {
    padding: 2px;
    filter: brightness(1.3);
}

.btn-excellence:hover::after {
    background: rgba(15, 15, 20, 0.75);
}

.btn-excellence:hover i {
    transform: translateX(5px);
}

/* Ensure ALL footer links are white and never blue */
.site-footer a {
    color: inherit !important;
}

.site-footer a:hover {
    color: #fff !important;
}

/* --- FAQ Section --- */
#faq {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-bg {
    background: radial-gradient(circle at center, #1e1e1e 0%, #0d0d0d 100%);
}

.faq-bg div {
    width: 100%;
    height: 100%;
}

/* Light Mode FAQ */
body.light-mode #faq {
    background: #f5f5f7 !important;
}

body.light-mode .faq-bg {
    background: #f5f5f7 !important;
}

body.light-mode .faq-headline {
    color: #111 !important;
}

body.light-mode .faq-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .faq-item:hover {
    background: #fafafa !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .faq-item.active {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .faq-question {
    color: #111 !important;
}

body.light-mode .faq-plus {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .faq-plus::before,
body.light-mode .faq-plus::after {
    background: #111 !important;
}

body.light-mode .faq-answer-inner p {
    color: #333 !important;
}

.faq-content-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 20;
    padding: clamp(30px, 3.1vw, 60px) clamp(40px, 4.2vw, 80px);
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
}

/* Section Header */
.faq-headline {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.faq-subheadline {
    display: none;
}

/* Accordion Container */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual FAQ Item */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* FAQ Trigger Button */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    flex: 1;
    padding-right: 20px;
}

/* Plus/Minus Icon */
.faq-plus {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-plus::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-plus::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-plus {
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(180deg);
}

.faq-item.active .faq-plus::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* FAQ Answer */
.faq-answer {
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    /* Height will be handled by GSAP */
    visibility: visible;
}

.faq-answer-inner {
    padding: 0 30px 30px 30px;
}

.faq-answer-inner p {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* See All Button */
.faq-see-all {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.faq-see-all-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 44px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 16px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    overflow: hidden;
}

/* Rainbow gradient border via pseudo-element */
.faq-see-all-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, #34d399, #60a5fa, #a78bfa, #e879f9, #f97316);
    background-size: 200% 200%;
    animation: faqBtnBorder 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: all 0.4s ease;
}

/* Inner dark fill */
.faq-see-all-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 14.5px;
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    z-index: -1;
    transition: all 0.4s ease;
}

@keyframes faqBtnBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.faq-see-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.15), 0 0 60px rgba(167, 139, 250, 0.1);
}

.faq-see-all-btn:hover::before {
    padding: 2px;
    filter: brightness(1.3);
}

.faq-see-all-btn:hover::after {
    background: rgba(15, 15, 20, 0.75);
}

.faq-see-all-btn svg {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.faq-see-all-btn:hover svg {
    transform: translateX(4px);
    opacity: 1;
}

/* Light Mode */
body.light-mode .faq-see-all-btn {
    color: #222;
}

body.light-mode .faq-see-all-btn::after {
    background: rgba(245, 245, 247, 0.92);
}

body.light-mode .faq-see-all-btn:hover {
    color: #111;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.1), 0 0 60px rgba(167, 139, 250, 0.08);
}

body.light-mode .faq-see-all-btn:hover::after {
    background: rgba(245, 245, 247, 0.8);
}

/* ===================== FAQ PAGE ===================== */
.faq-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.faq-page-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1e1e1e 0%, #0d0d0d 100%);
    z-index: 0;
}

.faq-page-bg div {
    width: 100%;
    height: 100%;
}

.faq-page-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(40px, 4.2vw, 80px) clamp(20px, 2vw, 40px) clamp(60px, 6.25vw, 120px);
}

.faq-page-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: center;
}

/* FAQ page light mode */
body.light-mode .faq-page-bg {
    background: #f5f5f7;
}

body.light-mode .faq-page-desc {
    color: rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-page-content {
        padding: 48px 20px 80px;
    }

    .faq-page-desc {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .faq-see-all-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .faq-headline {
        font-size: clamp(1.5rem, 1.6vw, 2rem);
    }

    .faq-subheadline {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .faq-content-overlay {
        width: 95%;
        padding: 20px 10px;
    }

    .faq-trigger {
        padding: 20px 20px;
    }

    .faq-question {
        font-size: 1.05rem;
        padding-right: 15px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px 20px;
    }

    .faq-answer-inner p {
        font-size: 0.95rem;
    }

    .faq-plus {
        width: 26px;
        height: 26px;
    }

    .faq-plus::before {
        width: 12px;
    }

    .faq-plus::after {
        height: 12px;
    }
}

/* --- Instagram Section --- */
#instagram {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: flex;
    align-items: center;
    background: #0a0a0a;
}

#instagram .sticky-container {
    position: relative;
    height: auto;
}

#instagram .parallax-layer.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.instagram-content-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    z-index: 20;
    padding: clamp(30px, 3.1vw, 60px) clamp(40px, 4.2vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.instagram-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.instagram-feed-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#sb_instagram {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Instagram Profile Header */
@keyframes ig-border-spin {
    0% { --ig-angle: 0deg; }
    100% { --ig-angle: 360deg; }
}

@property --ig-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.ig-profile-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 1px solid transparent;
    background-clip: padding-box;
    overflow: visible;
}

/* Animated gradient border */
.ig-profile-header::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: conic-gradient(from var(--ig-angle, 0deg), #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ig-border-spin 4s linear infinite;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.ig-profile-header:hover::before {
    opacity: 1;
}

/* Avatar */
.ig-profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.ig-avatar-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 48, 108, 0.3), transparent 70%);
    filter: blur(16px);
    animation: ig-glow-pulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ig-glow-pulse {
    0% { opacity: 0.4; transform: scale(0.95); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.ig-avatar-ring {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from var(--ig-angle, 0deg), #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    animation: ig-border-spin 4s linear infinite;
}

.ig-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0a0a0a;
    display: block;
}

/* Name row */
.ig-profile-name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ig-profile-username {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.ig-verified-badge {
    flex-shrink: 0;
}

/* Bio */
.ig-profile-bio {
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
    max-width: 300px;
}

/* Follow button */
.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-size: 200% 200%;
    animation: ig-btn-shimmer 3s ease infinite;
    color: #fff !important;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}

@keyframes ig-btn-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ig-follow-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: rgba(255, 255, 255, 0.15);
}

.ig-follow-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(225, 48, 108, 0.45);
}

.ig-follow-btn:hover::after {
    opacity: 1;
}

.ig-follow-btn i {
    font-size: 1.1rem;
}

/* Instagram Feed Plugin - image styling */
#sb_instagram #sbi_images img {
    border-radius: 28px !important;
}

.instagram-bg {
    background: #0a0a0a;
}

.instagram-bg div {
    width: 100%;
    height: 100%;
}

/* Light Mode Instagram */
body.light-mode #instagram {
    background: #f5f5f7 !important;
}

body.light-mode .instagram-bg {
    background: #f5f5f7 !important;
}

body.light-mode .ig-profile-header {
    background: rgba(0, 0, 0, 0.02);
}

body.light-mode .ig-avatar-ring img {
    border-color: #f5f5f7;
}

body.light-mode .ig-avatar-glow {
    background: radial-gradient(circle, rgba(225, 48, 108, 0.15), transparent 70%);
}

body.light-mode .ig-profile-username {
    color: #111;
}

body.light-mode .ig-profile-bio {
    color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .instagram-content-overlay {
        padding: 40px 15px;
    }
}

/* --- Treatment Detail Boxes (Page Template) --- */
.treatment-info-section {
    padding: 0px 0 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.treatment-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.treatment-detail-box {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.treatment-detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.treatment-detail-box:hover {
    background: #1c1c1c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.detail-icon {
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.detail-icon img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.treatment-detail-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
}

.detail-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.detail-content p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .treatment-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .treatment-info-grid {
        grid-template-columns: 1fr;
    }

    .treatment-detail-box {
        padding: 24px;
        height: auto;
    }
}

/* Cleaned up defunct mobile overlay styles for #main-nav */
/* Standard Mobile Menu Overlay (Alternative Structure) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-nav-logo {
    width: 80px;
    /* Adjust size as needed */
    height: auto;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-logo {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.mobile-nav-links a:hover {
    opacity: 1;
}

/* Cleaned redundant main-nav li delays */
.nav-links a {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Desktop Header Elements (Legacy Restore) --- */
.header-desktop {
    display: block !important;
}

.header-mobile-pill {
    display: none !important;
}

.brand-logo-link {
    position: fixed !important;
    top: 20px !important;
    left: 40px !important;
    z-index: 9999 !important;
    display: block !important;
    height: auto !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.top-nav-right {
    position: fixed !important;
    top: 30px !important;
    right: 40px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
}

.header-socials {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
}

.social-icon {
    color: #fff !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.social-icon:hover {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
}

#brand-logo {
    width: 100%;
    height: 90px;
    display: block;
}

.mobile-logo {
    display: none;
}

.desktop-logo {
    display: block;
}

#mobile-nav {
    display: none;
}

/* Light Mode Global Supports */
body.light-mode {
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
}

body.light-mode .social-icon {
    color: #111 !important;
}

body.light-mode .nav-links a,
body.light-mode .mobile-nav-links a,
body.light-mode .mobile-social-icons a {
    color: #1a1a1a !important;
}

body.light-mode .mobile-nav-links a:active,
body.light-mode .mobile-social-icons a:active {
    color: rgba(0, 0, 0, 0.6) !important;
}

body.light-mode .mobile-social-icons {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .contact-widget .circular-label {
    filter: brightness(0.2) !important;
}

body.light-mode .nav-header .nav-logo {
    filter: brightness(0) !important;
}

body.light-mode .contact-widget:hover .contact-sticky-btn {
    background: rgb(0 0 0 / 20%);
    box-shadow: 0 20px 40px rgb(0 0 0 / 60%), inset 0 0 20px rgb(0 0 0 / 20%), inset 0 5px 15px rgb(0 0 0 / 40%);
    border-color: rgb(0 0 0 / 80%);
}

body.light-mode .header-desktop.scrolled .nav-links a,
body.light-mode .header-desktop.scrolled .social-icon {
    color: #1a1a1a !important;
}

body.light-mode .nav-container.scrolled a {
    color: #000 !important;
}

body.light-mode #brand-logo {
    content: url("https://forqueers.com/wp-content/uploads/2026/02/fq-logo-black.webp") !important;
    filter: none !important;
}

body.light-mode #mobile-logo-img {
    filter: brightness(0) !important;
}

body.light-mode .mobile-nav-logo {
    content: url("https://forqueers.com/wp-content/uploads/2026/02/fq-logo-black.webp") !important;
    filter: none !important;
}

body.light-mode #mobile-nav {
    background: #f8f9fa !important;
}

body.light-mode .mobile-menu-toggle span {
    background-color: #111 !important;
}

#mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    /* Hard Hide Desktop Nav */
    #main-nav {
        display: none !important;
    }

    .header-desktop {
        display: none !important;
    }

    .light-mode .header-mobile-pill {
        background: #ffffff1f !important;
    }

    .light-mode .mobile-logo-link img {
        filter: brightness(0) !important;
    }

    .header-mobile-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        top: 12px !important;
        left: 12px !important;
        right: 12px !important;
        height: 56px !important;
        background: transparent !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: 100px !important;
        padding: 0 10px !important;
        z-index: 10001 !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    }

    .mobile-logo-link {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding-left: 25px;
    }

    .mobile-logo-link img {
        height: 28px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .header-mobile-pill .theme-toggle {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        z-index: 10003 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-header-pill.nav-hidden {
        transform: translateY(-110px) !important;
        opacity: 0 !important;
    }

    /* Standardized Side Buttons for perfect symmetry */
    .mobile-menu-toggle,
    .theme-toggle {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        z-index: 10003 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Hamburger Staggered Lines */
    .mobile-menu-toggle {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .mobile-menu-toggle span {
        display: block !important;
        height: 2px !important;
        background-color: #ffffff !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-toggle .line-1 {
        width: 22px !important;
    }

    .mobile-menu-toggle .line-2 {
        width: 16px !important;
    }

    .mobile-menu-toggle .line-3 {
        width: 10px !important;
    }

    /* Open State */
    .mobile-menu-toggle.active .line-1 {
        transform: translateY(7px) rotate(45deg) !important;
        width: 22px !important;
    }

    .mobile-menu-toggle.active .line-2 {
        opacity: 0 !important;
        width: 0 !important;
    }

    .mobile-menu-toggle.active .line-3 {
        transform: translateY(-7px) rotate(-45deg) !important;
        width: 22px !important;
    }

    /* Centered Logo */
    .brand-logo-link {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10002 !important;
        width: auto !important;
        margin: 0 !important;
    }

    .brand-logo-link img {
        height: 28px !important;
        width: auto !important;
        object-fit: contain !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    }

    .brand-logo-link .desktop-logo {
        display: none !important;
        /* Hide desktop logo on mobile */
    }

    .brand-logo-link .mobile-logo {
        display: block !important;
        /* Show mobile logo on mobile */
    }

    /* Theme Toggle Fixes */
    .theme-toggle svg {
        width: 22px !important;
        height: 22px !important;
        color: #ffffff !important;
        stroke-width: 1.5 !important;
        display: block !important;
    }

    .theme-icon {
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    .theme-icon.sun {
        display: flex !important;
    }

    body.light-mode .theme-icon.sun {
        display: none !important;
    }

    body.light-mode .theme-icon.moon {
        display: flex !important;
    }

    /* Light Mode Overrides */
    body.light-mode .mobile-header-pill {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    body.light-mode .mobile-menu-toggle span {
        background-color: #111 !important;
    }

    body.light-mode .theme-toggle svg {
        color: #111 !important;
    }

    #mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.98);
        /* Deep black/grey */
        z-index: 10000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        /* Center content vertically */
        /* Hidden State */
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    }

    #mobile-nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .mobile-nav-content {
        width: 100%;
        text-align: center;
        max-height: 100%;
        overflow-y: auto;
        /* Allow scroll if content is tall */
        padding: 20px;
    }

    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
        /* Reduced spacing */
    }

    .mobile-nav-links li {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Staggered Animation on Active */
    #mobile-nav.active .mobile-nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(2) {
        transition-delay: 0.15s;
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(3) {
        transition-delay: 0.2s;
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(4) {
        transition-delay: 0.25s;
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(5) {
        transition-delay: 0.3s;
    }

    #mobile-nav.active .mobile-nav-links li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .mobile-nav-links a {
        color: #fff;
        font-size: 1.3rem;
        /* Smaller font */
        font-weight: 400;
        /* Lighter weight for modern feel */
        text-transform: uppercase;
        letter-spacing: 2px;
        text-decoration: none;
        display: block;
        transition: color 0.3s ease;
    }

    .mobile-nav-links a:active {
        color: rgba(255, 255, 255, 0.6);
        transform: scale(0.98);
    }
}

/* ==========================================================================   BRAND-LOCKED ABOUT PAGE COLOR SYSTEM   ========================================================================== */
:root {
    --brand-orange: rgba(232, 93, 4, 0.4);
    --brand-teal: rgba(0, 180, 216, 0.4);
    --brand-purple: rgba(123, 44, 191, 0.4);
    /* Seamless loop: Starts and ends with orange */
    --brand-gradient: linear-gradient(to right, #E85D04, #00B4D8, #7B2CBF, #E85D04);
}

.premium-about-page {
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
}

/* Fix for fixed header */
.navbar-spacer {
    height: 120px;
    width: 100%;
}

/* Immersive Hero Minimal */
.about-hero-minimal {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 30% 30%, var(--brand-orange) 0%, transparent 65%), radial-gradient(circle at 70% 70%, var(--brand-purple) 0%, transparent 65%);
    filter: blur(180px);
    z-index: -1;
    animation: flowPride 20s infinite alternate ease-in-out;
}

@keyframes flowPride {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) rotate(15deg) scale(1.2);
    }
}

.about-hero-minimal h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin: 0;
}

.about-hero-minimal .highlight {
    background: var(--brand-gradient);
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 12s linear infinite;
    display: inline-block;
}

@keyframes textFlow {
    to {
        background-position: 200% center;
    }
}

.premium-fade-in {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 50px;
    max-width: 700px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 35px auto;
}

/* Scroll indicator */
.scroll-indicator-v2 {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.scroll-indicator-v2 .line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, #E85D04, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-v2 .line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: lineMove 2.5s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lineMove {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.scroll-indicator-v2 .text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    opacity: 0.6;
    color: #00B4D8;
}

/* Premium Narrative - Deep Glass */
.premium-story {
    padding: 20vh 0;
    position: relative;
}

.story-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.pre-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: #E85D04;
    margin-bottom: 25px;
}

.premium-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 45px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.premium-title span {
    background: linear-gradient(to right, #E85D04, #00B4D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rich-text p {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    font-weight: 300;
}

/* Visual Orb FX - Colored Orbs */
.story-visual-premium {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatStoryVFX 6s infinite ease-in-out;
}

@keyframes floatStoryVFX {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: var(--brand-orange);
    top: 5%;
    right: -5%;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--brand-teal);
    bottom: 5%;
    left: -5%;
}

.glass-shield {
    width: 360px;
    height: 520px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(60px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    z-index: 2;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), inset 0 0 80px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-bg-img {
    position: absolute;
    width: 150%;
    height: 150%;
    object-fit: cover;
    opacity: 0.35;
    mix-blend-mode: luminosity;
    filter: brightness(1.2) contrast(1.1);
    animation: panShield 20s infinite alternate ease-in-out;
}

@keyframes panShield {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.shield-watermark {
    position: relative;
    z-index: 3;
    width: 120px;
    opacity: 0.2;
    filter: grayscale(1) invert(1);
}

.shield-watermark img {
    width: 100%;
    height: auto;
}

/* Philosophy Cards */
.premium-philosophy {
    padding: 15vh 0;
}

.philosophy-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 40px;
}

/* Bento-style staggered grid */
/* Row 1: 1st card spans 2, 2nd card spans 1 */
.phi-card:nth-child(4n+1) {
    grid-column: span 2;
}

.phi-card:nth-child(4n+2) {
    grid-column: span 1;
}

/* Row 2: 3rd card spans 1, 4th card spans 2 */
.phi-card:nth-child(4n+3) {
    grid-column: span 1;
}

.phi-card:nth-child(4n+4) {
    grid-column: span 2;
}

.glass-v3 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 28px;
    text-align: left;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
}

.glass-v3:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.phi-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
}

.phi-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #fff;
}

.phi-info p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    font-size: 1.05rem;
    margin: 0;
}

/* Quote */
.vision-statement {
    padding: 20vh 0;
    text-align: center;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.premium-quote {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.3;
    font-style: italic;
    /* Softened gradient with intermediate steps */
    background: linear-gradient(120deg, #00B4D8 0%, #90e0ef 35%, #ffffff 50%, #ffba08 65%, #E85D04 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    animation: shineFlow 8s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

@keyframes shineFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.premium-quote::before {
    content: "“";
    position: absolute;
    top: -60px;
    left: -50px;
    font-size: 16rem;
    line-height: 1;
    font-family: "Times New Roman", serif;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Elite CTA */
.premium-about-cta {
    padding: 15vh 0;
    width: 100%;
    box-sizing: border-box;
}

.cta-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(60px, 6.25vw, 120px) clamp(30px, 3.1vw, 60px);
    text-align: center;
    background: radial-gradient(circle at top right, rgba(232, 93, 4, 0.15) 0%, rgba(0, 0, 0, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.cta-bg-fx {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--brand-teal) 0%, transparent 80%);
    opacity: 0.15;
    pointer-events: none;
}

.cta-inner h3 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 25px;
    line-height: 1.05;
    font-weight: 800;
}

.cta-inner h3 span {
    color: #E85D04;
}

.cta-inner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
    font-weight: 300;
}

.btn-helix-premium {
    display: inline-block;
    padding: 26px 70px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(232, 93, 4, 0.2);
    position: relative;
    z-index: 2;
}

.btn-helix-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(232, 93, 4, 0.5);
    background: #fff;
    color: #E85D04;
}

/* Hero Location Badge */
.hero-location-badge {
    display: inline-block;
    font-size: 0.45em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 100px;
    vertical-align: middle;
    margin-left: 12px;
    letter-spacing: 0.05em;
}

/* Location Filter Bar */
.location-filter-bar {
    padding: 20px 0;
    margin-bottom: 10px;
}

.location-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 24px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.filter-label strong {
    color: #fff;
}

/* Change Location Button & Dropdown */
.filter-change-wrapper {
    position: relative;
}

.filter-change-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-change-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.filter-change-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.filter-change-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-loc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-loc-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.filter-loc-flag {
    font-size: 1.3rem;
    line-height: 1;
}

/* Location Select Prompt (no location chosen) */
.location-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.location-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-select-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.location-select-flag {
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    line-height: 1;
}

.location-select-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .location-filter-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-location-badge {
        display: block;
        margin: 12px auto 0;
        font-size: 0.5em;
    }
}

/* ===================== MID-LEVEL LANDING PAGE ===================== */

/* Landing Hero */
.landing-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 2vw, 40px) clamp(40px, 4.2vw, 80px);
}

.landing-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.landing-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-breadcrumb a:hover {
    color: var(--brand-orange, #f97316);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.2);
}

.landing-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.landing-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.landing-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* Landing Layout */
.landing-layout {
    background: #0a0a0a;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Landing Intro */
.landing-intro {
    padding: clamp(40px, 4.2vw, 80px) 0 0;
}

.landing-intro-content {
    max-width: 800px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.landing-intro-content p {
    margin-bottom: 1.2em;
}

/* Landing Section Header */
.landing-section-header {
    margin-bottom: 48px;
}

.landing-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.landing-section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Landing Treatments Section */
.landing-treatments {
    padding: clamp(40px, 4.2vw, 80px) 0 clamp(60px, 6.25vw, 120px);
}

/* Landing Cards Grid */
.landing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Landing Card */
.landing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.landing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 5;
    transition: all 0.6s ease;
}

.landing-card-img {
    position: relative;
    width: calc(100% - 20px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 10px 10px 0;
    border-radius: 16px;
}

.landing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.landing-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.landing-card-body p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 28px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-card-btn svg {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Landing Card Hover */
.landing-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

.landing-card:hover::before {
    left: 10%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.landing-card:hover .landing-card-img img {
    transform: scale(1.05);
}

.landing-card:hover .landing-card-btn {
    background: linear-gradient(135deg, var(--brand-orange, #f97316), #e85d04);
    border-color: transparent;
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.landing-card:hover .landing-card-btn svg {
    transform: translateX(3px);
    opacity: 1;
}

/* Why Choose Section */
.landing-why {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.why-choose-block {
    position: relative;
    border-radius: 28px;
    padding: 56px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.why-choose-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.why-choose-block::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.why-choose-text {
    margin-bottom: 40px;
}

.why-choose-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.why-choose-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin: 0;
    max-width: 650px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-point:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.why-point-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-point-icon svg {
    stroke: url(#why-icon-gradient);
}

.why-point:nth-child(1) .why-point-icon svg { stroke: #f97316; }
.why-point:nth-child(2) .why-point-icon svg { stroke: #fb923c; }
.why-point:nth-child(3) .why-point-icon svg { stroke: #e879f9; }
.why-point:nth-child(4) .why-point-icon svg { stroke: #a78bfa; }
.why-point:nth-child(5) .why-point-icon svg { stroke: #60a5fa; }
.why-point:nth-child(6) .why-point-icon svg { stroke: #34d399; }

.why-point:nth-child(1) .why-point-icon { background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.03)); }
.why-point:nth-child(2) .why-point-icon { background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(251, 146, 60, 0.03)); }
.why-point:nth-child(3) .why-point-icon { background: linear-gradient(135deg, rgba(232, 121, 249, 0.15), rgba(232, 121, 249, 0.03)); }
.why-point:nth-child(4) .why-point-icon { background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(167, 139, 250, 0.03)); }
.why-point:nth-child(5) .why-point-icon { background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0.03)); }
.why-point:nth-child(6) .why-point-icon { background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.03)); }

.why-point span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    padding-top: 6px;
}

/* ===================== Why ForQueers Section ===================== */
.landing-wfq {
    position: relative;
    padding: clamp(60px, 6.25vw, 120px) 0;
    overflow: hidden;
    background: #050508;
}

/* Animated pride mesh background */
.wfq-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(232, 93, 4, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(232, 121, 249, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(167, 139, 250, 0.08) 0%, transparent 40%);
    animation: wfqMesh 20s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes wfqMesh {
    0% { opacity: 0.6; filter: blur(0px); }
    50% { opacity: 1; filter: blur(10px); }
    100% { opacity: 0.7; filter: blur(0px); }
}

/* Header */
.wfq-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 64px;
}

.wfq-rainbow-line {
    width: 80px;
    height: 4px;
    margin: 0 auto 32px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f97316, #ef4444, #e879f9, #a78bfa, #60a5fa, #34d399);
    background-size: 200% 100%;
    animation: rainbowSlide 4s linear infinite;
}

@keyframes rainbowSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.wfq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wfq-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* Bento grid */
.wfq-bento {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Layout per count */
.wfq-count-3 .wfq-card { grid-column: span 2; }

.wfq-count-4 .wfq-card { grid-column: span 3; }

.wfq-count-5 .wfq-card:nth-child(1) { grid-column: span 3; }
.wfq-count-5 .wfq-card:nth-child(2) { grid-column: span 3; }
.wfq-count-5 .wfq-card:nth-child(3) { grid-column: span 2; }
.wfq-count-5 .wfq-card:nth-child(4) { grid-column: span 2; }
.wfq-count-5 .wfq-card:nth-child(5) { grid-column: span 2; }

.wfq-count-6 .wfq-card { grid-column: span 2; }

/* Card */
.wfq-card {
    position: relative;
    border-radius: 22px;
    padding: 2px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated gradient border */
.wfq-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s ease;
}

.wfq-card[data-index="1"]::before { background: linear-gradient(135deg, rgba(249,115,22,0.4), rgba(239,68,68,0.1), transparent); }
.wfq-card[data-index="2"]::before { background: linear-gradient(135deg, rgba(232,121,249,0.4), rgba(167,139,250,0.1), transparent); }
.wfq-card[data-index="3"]::before { background: linear-gradient(135deg, rgba(96,165,250,0.4), rgba(52,211,153,0.1), transparent); }
.wfq-card[data-index="4"]::before { background: linear-gradient(135deg, rgba(52,211,153,0.4), rgba(96,165,250,0.1), transparent); }
.wfq-card[data-index="5"]::before { background: linear-gradient(135deg, rgba(167,139,250,0.4), rgba(232,121,249,0.1), transparent); }
.wfq-card[data-index="6"]::before { background: linear-gradient(135deg, rgba(251,191,36,0.4), rgba(249,115,22,0.1), transparent); }

/* Glow behind card on hover */
.wfq-card-glow {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.wfq-card[data-index="1"] .wfq-card-glow { background: rgba(249, 115, 22, 0.2); }
.wfq-card[data-index="2"] .wfq-card-glow { background: rgba(232, 121, 249, 0.2); }
.wfq-card[data-index="3"] .wfq-card-glow { background: rgba(96, 165, 250, 0.2); }
.wfq-card[data-index="4"] .wfq-card-glow { background: rgba(52, 211, 153, 0.2); }
.wfq-card[data-index="5"] .wfq-card-glow { background: rgba(167, 139, 250, 0.2); }
.wfq-card[data-index="6"] .wfq-card-glow { background: rgba(251, 191, 36, 0.2); }

.wfq-card-inner {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background 0.4s ease;
}

.wfq-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.4s ease;
}

.wfq-card[data-index="1"] .wfq-card-icon { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.wfq-card[data-index="2"] .wfq-card-icon { background: rgba(232, 121, 249, 0.1); color: #e879f9; }
.wfq-card[data-index="3"] .wfq-card-icon { background: rgba(96, 165, 250, 0.1); color: #60a5fa; }
.wfq-card[data-index="4"] .wfq-card-icon { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.wfq-card[data-index="5"] .wfq-card-icon { background: rgba(167, 139, 250, 0.1); color: #a78bfa; }
.wfq-card[data-index="6"] .wfq-card-icon { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }

.wfq-card-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0;
    transition: color 0.3s ease;
}

/* Icon sizing */
.wfq-card-icon svg,
.wfq-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.wfq-card-icon svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Card hover */
.wfq-card:hover {
    transform: translateY(-6px);
}

.wfq-card:hover::before {
    opacity: 1;
}

.wfq-card:hover .wfq-card-glow {
    opacity: 1;
}

.wfq-card:hover .wfq-card-inner {
    background: rgba(255, 255, 255, 0.06);
}

.wfq-card:hover .wfq-card-text {
    color: rgba(255, 255, 255, 0.9);
}

.wfq-card:hover .wfq-card-icon {
    transform: scale(1.1);
}

/* ===================== Landing CTA Section ===================== */
.landing-cta {
    position: relative;
    padding: 40px 0 clamp(60px, 6.25vw, 120px);
    overflow: hidden;
}

/* Animated pride gradient blobs */
.landing-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-cta-gradient-1,
.landing-cta-gradient-2,
.landing-cta-gradient-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: ctaGlow 16s infinite alternate ease-in-out;
}

.landing-cta-gradient-1 {
    width: 400px;
    height: 400px;
    background: rgba(249, 115, 22, 0.2);
    bottom: -20%;
    left: 10%;
    animation-delay: 0s;
}

.landing-cta-gradient-2 {
    width: 350px;
    height: 350px;
    background: rgba(232, 121, 249, 0.18);
    top: -10%;
    right: 15%;
    animation-delay: -5s;
}

.landing-cta-gradient-3 {
    width: 300px;
    height: 300px;
    background: rgba(96, 165, 250, 0.15);
    bottom: 10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes ctaGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(20px, -15px) scale(1.15); opacity: 0.8; }
    100% { transform: translate(-10px, 10px) scale(0.95); opacity: 0.6; }
}

/* CTA Card */
.landing-cta-card {
    position: relative;
    z-index: 2;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Animated rainbow border shimmer */
.landing-cta-card-shine {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ef4444, #e879f9, #a78bfa, #60a5fa, #34d399, #fbbf24, #f97316);
    background-size: 300% 100%;
    animation: ctaShine 6s linear infinite;
    border-radius: 32px 32px 0 0;
}

@keyframes ctaShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.landing-cta-inner {
    padding: clamp(32px, 3.3vw, 64px);
}

.landing-cta-content {
    max-width: 600px;
}

.landing-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.landing-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0 0 36px;
}

/* Checklist */
.landing-cta-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.landing-cta-check {
    display: flex;
    align-items: center;
    gap: 14px;
}

.landing-cta-check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.landing-cta-check-icon svg {
    width: 16px;
    height: 16px;
    color: #34d399;
}

.landing-cta-check span {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Alternate check colors */
.landing-cta-check:nth-child(2) .landing-cta-check-icon {
    background: linear-gradient(135deg, rgba(232, 121, 249, 0.15), rgba(167, 139, 250, 0.1));
    border-color: rgba(232, 121, 249, 0.2);
}
.landing-cta-check:nth-child(2) .landing-cta-check-icon svg { color: #e879f9; }

.landing-cta-check:nth-child(3) .landing-cta-check-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(52, 211, 153, 0.1));
    border-color: rgba(96, 165, 250, 0.2);
}
.landing-cta-check:nth-child(3) .landing-cta-check-icon svg { color: #60a5fa; }

.landing-cta-check:nth-child(4) .landing-cta-check-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.1));
    border-color: rgba(249, 115, 22, 0.2);
}
.landing-cta-check:nth-child(4) .landing-cta-check-icon svg { color: #f97316; }

.landing-cta-check:nth-child(5) .landing-cta-check-icon {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(232, 121, 249, 0.1));
    border-color: rgba(167, 139, 250, 0.2);
}
.landing-cta-check:nth-child(5) .landing-cta-check-icon svg { color: #a78bfa; }

/* Outro */
.landing-cta-outro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin: 0 0 40px;
    font-style: italic;
}

/* CTA Button */
.landing-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f97316 0%, #e85d04 50%, #e879f9 100%);
    background-size: 200% 200%;
    animation: ctaBtnGradient 5s ease infinite;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3), 0 0 60px rgba(232, 121, 249, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ctaBtnGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.landing-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4), 0 0 80px rgba(232, 121, 249, 0.2);
}

.landing-cta-btn svg {
    transition: transform 0.3s ease;
}

.landing-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Landing Mobile */
@media (max-width: 768px) {
    .landing-hero {
        min-height: 50vh;
    }

    .landing-hero-content {
        padding: 0 24px 48px;
    }

    .landing-intro {
        padding: 48px 0 0;
    }

    .landing-container {
        padding: 0 24px;
    }

    .landing-treatments {
        padding: 48px 0 80px;
    }

    .landing-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .landing-card-img {
        margin: 8px 8px 0;
        width: calc(100% - 16px);
        border-radius: 14px;
    }

    .landing-card-body {
        padding: 18px 20px 22px;
    }

    .landing-section-header h2 {
        font-size: 1.4rem;
    }

    .landing-why {
        padding: 48px 0;
    }

    .why-choose-block {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .why-choose-title {
        font-size: 1.4rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .why-point {
        padding: 14px 16px;
    }

    .landing-wfq {
        padding: 64px 0;
    }

    .wfq-header {
        margin-bottom: 40px;
    }

    .wfq-bento {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wfq-bento .wfq-card {
        grid-column: span 1 !important;
    }

    .wfq-card-inner {
        padding: 28px 24px;
    }

    .wfq-card-text {
        font-size: 0.95rem;
    }

    .landing-cta {
        padding: 24px 0 80px;
    }

    .landing-cta-inner {
        padding: 32px 20px;
    }

    .landing-cta-card {
        border-radius: 24px;
        margin: 0 6px;
    }

    .landing-cta-btn {
        padding: 16px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .landing-cta-gradient-1,
    .landing-cta-gradient-2,
    .landing-cta-gradient-3 {
        filter: blur(70px);
        opacity: 0.4;
    }
}

/* ===================== TREATMENT FOOTER NAV ===================== */
.treat-footer-nav {
    padding: clamp(30px, 3.1vw, 60px) 0 clamp(40px, 4.2vw, 80px);
}

.treat-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.treat-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.treat-footer-grid.treat-footer-single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.treat-footer-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 140px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.treat-footer-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.treat-footer-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.treat-footer-card:hover .treat-footer-card-bg {
    transform: scale(1.05);
}

.treat-footer-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.treat-footer-card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.treat-footer-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.treat-footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.treat-footer-next .treat-footer-card-content {
    align-items: flex-end;
    text-align: right;
}

.treat-footer-empty {
    border: none;
    background: none;
}

.treat-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    padding: 0 12px;
}

.treat-footer-center:hover {
    color: #fff;
}

.treat-footer-center-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.treat-footer-center:hover .treat-footer-center-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Light mode */
body.light-mode .treat-footer-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .treat-footer-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

body.light-mode .treat-footer-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

body.light-mode .treat-footer-center {
    color: rgba(0, 0, 0, 0.45);
}

body.light-mode .treat-footer-center:hover {
    color: #111;
}

body.light-mode .treat-footer-center-icon {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .treat-footer-center:hover .treat-footer-center-icon {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
    .treat-footer-nav {
        padding: 40px 0 60px;
    }

    .treat-footer-container {
        padding: 0 16px;
    }

    .treat-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .treat-footer-card {
        min-height: 120px;
        border-radius: 16px;
    }

    .treat-footer-card-content {
        padding: 16px;
    }

    .treat-footer-title {
        font-size: 0.95rem;
    }

    .treat-footer-center {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        order: -1;
        padding: 12px 0;
    }

    .treat-footer-center-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .treat-footer-grid.treat-footer-single {
        grid-template-columns: 1fr;
    }
}

/* Treatment Hierarchy Grid */
.treatments-hier-section {
    padding: clamp(30px, 3.1vw, 60px) 0 clamp(60px, 6.25vw, 120px);
}

.treatments-hier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.treatment-hier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Glass shine effect on top edge */
.treatment-hier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 5;
}

.treatment-hier-card .card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 10px 10px 0;
    width: calc(100% - 20px);
    border-radius: 16px;
}

.treatment-hier-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.treatment-hier-card .card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hier-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hier-excerpt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hier-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hier-btn svg {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Card hover */
.treatment-hier-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

.treatment-hier-card:hover::before {
    left: 10%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.treatment-hier-card:hover .card-thumb img {
    transform: scale(1.05);
}

.treatment-hier-card:hover .hier-btn {
    background: linear-gradient(135deg, var(--brand-orange, #f97316), #e85d04);
    border-color: transparent;
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #fff;
}

.treatment-hier-card:hover .hier-btn svg {
    transform: translateX(3px);
    opacity: 1;
}

@media (max-width: 768px) {
    .treatments-hier-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .treatment-hier-card .card-thumb {
        margin: 8px 8px 0;
        width: calc(100% - 16px);
        border-radius: 14px;
    }

    .treatment-hier-card .card-body {
        padding: 18px 20px 22px;
    }

    .hier-title {
        font-size: 1.1rem;
    }

    .treatments-hier-section {
        padding: 30px 0 60px;
    }

    .treatments-hier-section > .container {
        padding: 0 16px !important;
    }

    .location-filter-bar {
        padding: 12px 0;
        margin-bottom: 6px;
    }

    .location-filter-bar > .container {
        padding: 0 16px !important;
    }

    .location-filter-inner {
        padding: 14px 16px;
        border-radius: 14px;
        gap: 10px;
    }

    .filter-label {
        font-size: 0.88rem;
    }

    .filter-change-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .location-select-prompt > .container {
        padding: 40px 16px !important;
    }

    .page-content-layout {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .page-content-layout .content-body {
        padding: 0 16px;
        margin-bottom: 30px !important;
    }
}

/* Mobile Scale Adjustments */
@media (max-width: 992px) {
    .navbar-spacer {
        height: 80px;
    }

    .about-hero-minimal {
        height: auto;
        padding: clamp(50px, 5.2vw, 100px) 20px clamp(30px, 3.1vw, 60px);
        width: auto;
        max-width: auto;
    }

    .about-hero-minimal h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .premium-fade-in {
        margin-top: 30px;
        font-size: 1.1rem;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .scroll-indicator-v2 {
        display: none;
    }

    .premium-story {
        padding: clamp(40px, 4.2vw, 80px) 0;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .premium-title {
        font-size: clamp(1.8rem, 2vw, 2.5rem);
        margin-bottom: 25px;
    }

    .rich-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .story-visual-premium {
        height: 350px;
        order: -1;
        /* Image above text on mobile for better flow */
    }

    .glass-shield {
        width: 240px;
        height: 340px;
    }

    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
        gap: 20px;
    }

    .phi-card:nth-child(n) {
        grid-column: span 1 !important;
        min-height: auto;
        padding: 40px 30px;
    }

    .phi-icon {
        margin-bottom: 20px;
    }

    .vision-statement {
        padding: clamp(40px, 4.2vw, 80px) 20px;
    }

    .premium-quote {
        font-size: 1.8rem;
    }

    .premium-quote::before {
        font-size: 8rem;
        top: -40px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .premium-about-cta {
        padding: 60px 20px;
    }

    .cta-inner {
        padding: 60px 30px;
    }

    .cta-inner h3 {
        font-size: 2.2rem;
    }

    .cta-inner p {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .btn-helix-premium {
        padding: 20px 40px;
        font-size: 1rem;
    }
}

/* Animation Targets */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

.premium-reveal span {
    display: block;
    overflow: hidden;
}

.premium-reveal span span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Premium Contact Page --- */
.premium-contact-page {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.contact-hero {
    padding: 10vh 0 15vh;
    position: relative;
    z-index: 10;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info .pre-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--brand-teal);
    margin-bottom: 20px;
}

.contact-info .contact-lead {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}

.method-item:hover .method-icon img {
    transform: scale(1.2);
}

.method-item .method-icon img {
    transition: all .3s ease;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all .3s ease;
}

.method-text label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
    font-weight: 700;
}

.method-text a,
.method-text span {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Premium Form Styling */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.premium-form .form-group {
    margin-bottom: 35px;
}

.premium-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.premium-form label span {
    color: #E85D04;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-form textarea {
    resize: vertical;
    min-height: 56px;
    padding: 14px 24px;
    line-height: 1.4;
}

.premium-form input::placeholder,
.premium-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--brand-teal);
    outline: none;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.premium-form select optgroup {
    background: #111;
    color: rgba(255, 255, 255, 0.55);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '↓';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-size: 0.8rem;
}

.premium-form select {
    appearance: none;
    cursor: pointer;
}

.premium-form select option {
    background: #111;
    color: #fff;
}

.btn-helix-premium.full-width {
    width: 100%;
    text-align: center;
}

/* Background Visuals */
.contact-visuals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.contact-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--brand-teal);
    top: -200px;
    right: -100px;
}

.contact-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: #E85D04;
    bottom: -100px;
    left: -100px;
}

/* --- Chatbot Popup Styles --- */
/* --- Chatbot Popup Styles (Centered Modal) --- */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.chatbot-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.chatbot-container {
    position: relative;
    /* For absolute button */
    width: 90%;
    max-width: 500px;
    /* Wider for better chat experience */
    height: 70vh;
    max-height: 700px;
    background: transparent;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-overlay.active .chatbot-container {
    transform: scale(1) translateY(0);
}

/* Floating Close Button */
.chatbot-container .close-chatbot {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease;
}

.chatbot-container .close-chatbot:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.chatbot-body {
    flex: 1;
    background: #121212;
    /* Darker interior */
    position: relative;
    width: 100%;
    /* Add padding top if button overlaps content? iframe usually handles its own padding or is full bleed. */
}

.chatbot-body iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* Light Mode Override for Chatbot */
body.light-mode .chatbot-container {
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .chatbot-container .close-chatbot {
    color: #111;
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .chatbot-container .close-chatbot:hover {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .chatbot-body {
    background: #fff;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .method-item {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }
}

/* Header Scroll Blur & Resize Logo */
.brand-logo-link.scrolled #brand-logo,
body:not(.home) .brand-logo-link #brand-logo {
    height: 60px !important;
    transition: height 0.4s ease;
}

.brand-logo-link.scrolled,
body:not(.home) .brand-logo-link {
    top: 15px !important;
}

#brand-logo {
    transition: height 0.4s ease;
}

/* Fix header-desktop so it provides a stationary background for the blur */
.header-desktop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 110px !important;
    z-index: 9990 !important;
    pointer-events: none !important;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, height 0.4s ease !important;
}

.header-desktop>* {
    pointer-events: auto !important;
    z-index: 9991 !important;
    position: relative;
    /* ensure it responds to z-index within the stacking context */
}

#main-nav {
    z-index: 9995 !important;
    /* Ensure main nav is above the blurred backdrop */
}

/* Nav container background blur on scroll */
.header-desktop.scrolled,
body:not(.home) .header-desktop {
    background: rgba(10, 10, 10, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    height: 90px !important;
    /* Shrink the banner height slightly when scrolled to fit the smaller logo */
}

body.light-mode .header-desktop.scrolled,
body.light-mode:not(.home) .header-desktop {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* --- Contact Page Light Mode Overrides --- */
body.light-mode .premium-contact-page {
    background-color: #fdfaf6;
    color: #1a1a1a;
}

body.light-mode .contact-info .contact-lead {
    color: #555;
}

body.light-mode .contact-info .premium-title {
    color: #0d0d0d;
}

body.light-mode .method-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #E85D04;
}

body.light-mode .method-text label {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .method-text a,
body.light-mode .method-text span {
    color: #1a1a1a;
}

body.light-mode .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

body.light-mode .premium-form label {
    color: #444 !important;
}

body.light-mode .premium-form label span {
    color: #E85D04 !important;
}

body.light-mode .premium-form input,
body.light-mode .premium-form select,
body.light-mode .premium-form textarea {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

body.light-mode .premium-form input::placeholder,
body.light-mode .premium-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .premium-form input:focus,
body.light-mode .premium-form select:focus,
body.light-mode .premium-form textarea:focus {
    background: #fff;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1), inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

body.light-mode .select-wrapper::after {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .premium-form select option {
    background: #fff;
    color: #111;
}

body.light-mode .contact-orb {
    opacity: 0.25;
    mix-blend-mode: multiply;
    filter: blur(140px);
}

/* --- About Page Light Mode Overrides --- */
body.light-mode .premium-about-page {
    background-color: #fdfaf6;
    color: #1a1a1a;
}

body.light-mode .about-hero-minimal h1 {
    color: #0d0d0d;
}

body.light-mode .premium-fade-in {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .scroll-indicator-v2 .line::after {
    background: #0d0d0d;
}

body.light-mode .premium-story .pre-title {
    color: #E85D04;
    /* Keep brand orange */
}

body.light-mode .premium-story .premium-title {
    color: #0d0d0d;
}

body.light-mode .premium-story .rich-text p {
    color: rgba(0, 0, 0, 0.75);
}

body.light-mode .glass-shield {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.05), inset 0 0 80px rgba(255, 255, 255, 0.5);
}

body.light-mode .shield-watermark {
    opacity: 0.1;
    filter: none;
    /* Dark logo on light bg */
}

body.light-mode .glass-v3 {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

body.light-mode .glass-v3:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

body.light-mode .phi-icon {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #E85D04;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

body.light-mode .phi-info h3 {
    color: #1a1a1a;
}

body.light-mode .phi-info p {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .premium-quote::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .cta-inner {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

body.light-mode .cta-inner h3 {
    color: #1a1a1a;
}

body.light-mode .cta-inner p {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .premium-about-cta .btn-helix-premium {
    background: #111;
    color: #fff;
}

body.light-mode .premium-about-cta .btn-helix-premium:hover {
    background: #E85D04;
    color: #fff;
}

/* ============================================================
   LEAF-LEVEL TREATMENT DETAIL PAGE
   ============================================================ */

/* --- Layout --- */
.leaf-layout {
    background: #0a0a0a;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Ambient gradient blobs */
.leaf-layout::before,
.leaf-layout::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    opacity: 0.18;
}

.leaf-layout::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f97316, #e879f9 70%, transparent);
    top: 100px;
    left: -150px;
    animation: leafBlob1 20s ease-in-out infinite alternate;
}

.leaf-layout::after {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #a78bfa, #60a5fa 70%, transparent);
    top: 900px;
    right: -100px;
    animation: leafBlob2 18s ease-in-out infinite alternate;
}

/* Extra blobs via child element */
.leaf-blob-3,
.leaf-blob-4,
.leaf-blob-5 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    opacity: 0.15;
}

.leaf-blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #34d399, #60a5fa 70%, transparent);
    top: 1800px;
    left: -100px;
    animation: leafBlob3 22s ease-in-out infinite alternate;
}

.leaf-blob-4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #e879f9, #f97316 70%, transparent);
    top: 2800px;
    right: -100px;
    animation: leafBlob1 25s ease-in-out infinite alternate;
}

.leaf-blob-5 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #fbbf24, #34d399 70%, transparent);
    top: 3800px;
    left: 10%;
    animation: leafBlob2 20s ease-in-out infinite alternate;
}

@keyframes leafBlob1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes leafBlob2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -60px) scale(1.1); }
}

@keyframes leafBlob3 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.15); }
}

/* Ensure all leaf sections stay above blobs */
.leaf-layout > section,
.leaf-layout > footer {
    position: relative;
    z-index: 1;
}

.leaf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 1. LEAF HERO --- */
.leaf-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 100px;
}

.leaf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.leaf-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 2vw, 40px) clamp(40px, 4.2vw, 80px);
}

.leaf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.leaf-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}

.leaf-breadcrumb a:hover {
    color: var(--brand-orange, #f97316);
}

.leaf-breadcrumb .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.2);
}

.leaf-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.leaf-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.leaf-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 24px;
}

.leaf-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.leaf-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.leaf-pill:nth-child(1) { border-color: rgba(249,115,22,0.4); color: #f97316; }
.leaf-pill:nth-child(2) { border-color: rgba(232,121,249,0.4); color: #e879f9; }
.leaf-pill:nth-child(3) { border-color: rgba(167,139,250,0.4); color: #a78bfa; }
.leaf-pill:nth-child(4) { border-color: rgba(96,165,250,0.4); color: #60a5fa; }
.leaf-pill:nth-child(5) { border-color: rgba(52,211,153,0.4); color: #34d399; }

/* --- Section Header (reused) --- */
.leaf-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.leaf-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.leaf-section-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
}

/* --- 2. ANALYSIS CTA --- */
.leaf-analysis {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-analysis-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.leaf-analysis-card-shine {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, transparent 40%, rgba(232,121,249,0.06) 100%);
    pointer-events: none;
}

.leaf-analysis-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
}

.leaf-analysis-text {
    flex: 1;
}

.leaf-analysis-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.leaf-analysis-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 28px;
}

.leaf-analysis-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #e879f9);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(249,115,22,0.3);
}

.leaf-analysis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(249,115,22,0.4);
}

.leaf-analysis-img {
    flex: 0 0 320px;
    border-radius: 16px;
    overflow: hidden;
}

.leaf-analysis-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
}

/* --- 3. BEFORE & AFTER SLIDER --- */
.leaf-ba {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
}

.leaf-ba-item {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Slider container */
.leaf-ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

/* After image — full background */
.leaf-ba-after-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Before image — clipped container */
.leaf-ba-before-clip {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.leaf-ba-before-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Labels */
.leaf-ba-label {
    position: absolute;
    bottom: 14px;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 4;
    pointer-events: none;
}

.leaf-ba-label-before {
    left: 14px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.leaf-ba-label-after {
    right: 14px;
    background: rgba(52,211,153,0.2);
    color: #34d399;
}

/* Drag handle */
.leaf-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
}

.leaf-ba-handle-line {
    position: absolute;
    inset: 0;
    width: 3px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.leaf-ba-handle-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 2px solid #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #111;
    pointer-events: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.leaf-ba-slider:active .leaf-ba-handle-knob {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.leaf-ba-handle-knob svg {
    width: 14px;
    height: 14px;
}

.leaf-ba-caption {
    padding: 14px 18px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* Before image must span the full slider width, not just the clip */
.leaf-ba-before-clip {
    /* JS sets the width for clipping */
}

.leaf-ba-before-clip .leaf-ba-before-img {
    /* Width must match the slider, not the clip */
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

/* --- 4. PACKAGES --- */
.leaf-packages {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.leaf-package-card {
    position: relative;
    border-radius: 20px;
    padding: 40px 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.4s, transform 0.4s;
}

.leaf-package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.leaf-package-card[data-type="medical"] {
    border-color: rgba(249,115,22,0.2);
}

.leaf-package-card[data-type="medical"]:hover {
    border-color: rgba(249,115,22,0.4);
}

.leaf-package-card[data-type="travel"] {
    border-color: rgba(96,165,250,0.2);
}

.leaf-package-card[data-type="travel"]:hover {
    border-color: rgba(96,165,250,0.4);
}

.leaf-package-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.leaf-package-card[data-type="medical"] .leaf-package-icon {
    background: rgba(249,115,22,0.12);
    color: #f97316;
}

.leaf-package-card[data-type="travel"] .leaf-package-icon {
    background: rgba(96,165,250,0.12);
    color: #60a5fa;
}

.leaf-package-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.leaf-package-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.leaf-package-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.leaf-package-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.leaf-package-card[data-type="medical"] .leaf-package-list li svg {
    color: #f97316;
}

.leaf-package-card[data-type="travel"] .leaf-package-list li svg {
    color: #60a5fa;
}

/* --- 5. WHAT IS --- */
.leaf-what {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-what-inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.leaf-what-text {
    flex: 1;
}

.leaf-what-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.leaf-what-body {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.leaf-what-body p {
    margin-bottom: 16px;
}

.leaf-what-benefits {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.leaf-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}

.leaf-benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leaf-benefit[data-index="1"] .leaf-benefit-icon { background: rgba(249,115,22,0.15); color: #f97316; }
.leaf-benefit[data-index="2"] .leaf-benefit-icon { background: rgba(232,121,249,0.15); color: #e879f9; }
.leaf-benefit[data-index="3"] .leaf-benefit-icon { background: rgba(167,139,250,0.15); color: #a78bfa; }
.leaf-benefit[data-index="4"] .leaf-benefit-icon { background: rgba(96,165,250,0.15); color: #60a5fa; }
.leaf-benefit[data-index="5"] .leaf-benefit-icon { background: rgba(52,211,153,0.15); color: #34d399; }
.leaf-benefit[data-index="6"] .leaf-benefit-icon { background: rgba(251,191,36,0.15); color: #fbbf24; }

/* --- 6. PROCEDURE STATS --- */
.leaf-procedure {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.leaf-stat-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s, border-color 0.4s;
}

.leaf-stat-card:hover {
    transform: translateY(-4px);
}

.leaf-stat-card[data-index="1"] { border-color: rgba(249,115,22,0.25); }
.leaf-stat-card[data-index="2"] { border-color: rgba(232,121,249,0.25); }
.leaf-stat-card[data-index="3"] { border-color: rgba(167,139,250,0.25); }
.leaf-stat-card[data-index="4"] { border-color: rgba(96,165,250,0.25); }
.leaf-stat-card[data-index="5"] { border-color: rgba(52,211,153,0.25); }
.leaf-stat-card[data-index="6"] { border-color: rgba(251,191,36,0.25); }

.leaf-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.leaf-stat-card[data-index="1"] .leaf-stat-number { color: #f97316; }
.leaf-stat-card[data-index="2"] .leaf-stat-number { color: #e879f9; }
.leaf-stat-card[data-index="3"] .leaf-stat-number { color: #a78bfa; }
.leaf-stat-card[data-index="4"] .leaf-stat-number { color: #60a5fa; }
.leaf-stat-card[data-index="5"] .leaf-stat-number { color: #34d399; }
.leaf-stat-card[data-index="6"] .leaf-stat-number { color: #fbbf24; }

.leaf-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* --- 7. TIMELINE --- */
.leaf-timeline {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-timeline-track {
    position: relative;
    padding-left: 40px;
}

.leaf-timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #f97316, #e879f9, #a78bfa, #60a5fa, #34d399);
    border-radius: 2px;
}

.leaf-timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.leaf-timeline-item:last-child {
    margin-bottom: 0;
}

.leaf-timeline-dot {
    position: absolute;
    left: -33px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
    background: #0a0a0a;
}

.leaf-timeline-item[data-index="1"] .leaf-timeline-dot { border-color: #f97316; box-shadow: 0 0 12px rgba(249,115,22,0.4); }
.leaf-timeline-item[data-index="2"] .leaf-timeline-dot { border-color: #e879f9; box-shadow: 0 0 12px rgba(232,121,249,0.4); }
.leaf-timeline-item[data-index="3"] .leaf-timeline-dot { border-color: #a78bfa; box-shadow: 0 0 12px rgba(167,139,250,0.4); }
.leaf-timeline-item[data-index="4"] .leaf-timeline-dot { border-color: #60a5fa; box-shadow: 0 0 12px rgba(96,165,250,0.4); }
.leaf-timeline-item[data-index="5"] .leaf-timeline-dot { border-color: #34d399; box-shadow: 0 0 12px rgba(52,211,153,0.4); }
.leaf-timeline-item[data-index="6"] .leaf-timeline-dot { border-color: #fbbf24; box-shadow: 0 0 12px rgba(251,191,36,0.4); }
.leaf-timeline-item[data-index="7"] .leaf-timeline-dot { border-color: #f97316; box-shadow: 0 0 12px rgba(249,115,22,0.4); }
.leaf-timeline-item[data-index="8"] .leaf-timeline-dot { border-color: #e879f9; box-shadow: 0 0 12px rgba(232,121,249,0.4); }

.leaf-timeline-card {
    padding: 28px 32px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s;
}

.leaf-timeline-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.leaf-timeline-time {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(249,115,22,0.12);
    color: #f97316;
}

.leaf-timeline-item[data-index="2"] .leaf-timeline-time { background: rgba(232,121,249,0.12); color: #e879f9; }
.leaf-timeline-item[data-index="3"] .leaf-timeline-time { background: rgba(167,139,250,0.12); color: #a78bfa; }
.leaf-timeline-item[data-index="4"] .leaf-timeline-time { background: rgba(96,165,250,0.12); color: #60a5fa; }
.leaf-timeline-item[data-index="5"] .leaf-timeline-time { background: rgba(52,211,153,0.12); color: #34d399; }
.leaf-timeline-item[data-index="6"] .leaf-timeline-time { background: rgba(251,191,36,0.12); color: #fbbf24; }
.leaf-timeline-item[data-index="7"] .leaf-timeline-time { background: rgba(249,115,22,0.12); color: #f97316; }
.leaf-timeline-item[data-index="8"] .leaf-timeline-time { background: rgba(232,121,249,0.12); color: #e879f9; }

.leaf-timeline-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.leaf-timeline-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}

/* --- 8. CANDIDATE --- */
.leaf-candidate {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-candidate-card {
    padding: 48px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.leaf-candidate-card h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    text-align: center;
}

.leaf-candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.leaf-candidate-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    transition: border-color 0.3s;
}

.leaf-candidate-item:hover {
    border-color: rgba(255,255,255,0.12);
}

.leaf-candidate-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leaf-candidate-item[data-index="1"] .leaf-candidate-icon { background: rgba(249,115,22,0.15); color: #f97316; }
.leaf-candidate-item[data-index="2"] .leaf-candidate-icon { background: rgba(232,121,249,0.15); color: #e879f9; }
.leaf-candidate-item[data-index="3"] .leaf-candidate-icon { background: rgba(167,139,250,0.15); color: #a78bfa; }
.leaf-candidate-item[data-index="4"] .leaf-candidate-icon { background: rgba(96,165,250,0.15); color: #60a5fa; }
.leaf-candidate-item[data-index="5"] .leaf-candidate-icon { background: rgba(52,211,153,0.15); color: #34d399; }
.leaf-candidate-item[data-index="6"] .leaf-candidate-icon { background: rgba(251,191,36,0.15); color: #fbbf24; }
.leaf-candidate-item[data-index="7"] .leaf-candidate-icon { background: rgba(249,115,22,0.15); color: #f97316; }
.leaf-candidate-item[data-index="8"] .leaf-candidate-icon { background: rgba(232,121,249,0.15); color: #e879f9; }

.leaf-candidate-note {
    margin-top: 28px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(249,115,22,0.06);
    border: 1px solid rgba(249,115,22,0.15);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
    line-height: 1.6;
}

/* --- 9. PRICE COMPARISON --- */
.leaf-pricing {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

.leaf-price-table {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.leaf-price-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 28px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
}

.leaf-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 18px 28px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.leaf-price-row:last-child {
    border-bottom: none;
}

.leaf-price-row:hover {
    background: rgba(255,255,255,0.03);
}

.leaf-price-highlight {
    background: rgba(249,115,22,0.06);
    border-left: 3px solid #f97316;
}

.leaf-price-highlight:hover {
    background: rgba(249,115,22,0.1);
}

.leaf-price-country {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaf-price-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f97316, #e879f9);
    color: #fff;
}

.leaf-price-amount {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.leaf-price-savings {
    font-size: 0.92rem;
    font-weight: 600;
    color: #34d399;
}

.leaf-price-highlight .leaf-price-savings {
    color: #f97316;
}

/* --- 11. FAQ ACCORDION --- */
.leaf-faq {
    padding: clamp(40px, 4.2vw, 80px) 0;
}

/* --- 12. FINAL CTA --- */
.leaf-final-cta {
    position: relative;
    padding: clamp(50px, 5.2vw, 100px) 0;
    overflow: hidden;
}

.leaf-final-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.leaf-final-gradient-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.leaf-final-gradient-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,121,249,0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -50px;
}

.leaf-final-gradient-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.leaf-final-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.leaf-final-card-shine {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, #f97316, #e879f9, #a78bfa, #60a5fa, #34d399, #f97316);
    background-size: 300% 300%;
    animation: leafShineRotate 6s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes leafShineRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.leaf-final-inner {
    position: relative;
    padding: clamp(32px, 3.3vw, 64px) clamp(24px, 2.5vw, 48px);
    text-align: center;
}

.leaf-final-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.leaf-final-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.leaf-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #e879f9, #a78bfa);
    background-size: 200% 200%;
    animation: leafBtnGradient 4s ease infinite;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(249,115,22,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

@keyframes leafBtnGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.leaf-final-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(249,115,22,0.4);
}

/* --- LEAF RESPONSIVE --- */
@media (max-width: 768px) {
    .leaf-container {
        padding: 0 16px;
    }

    .leaf-hero {
        min-height: auto;
        align-items: flex-end;
        padding-top: 120px;
    }

    .leaf-hero-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .leaf-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .leaf-hero-content {
        padding: 0 20px 40px;
    }

    .leaf-hero-pills {
        gap: 8px;
    }

    .leaf-pill {
        font-size: 0.78rem;
        padding: 7px 14px;
    }

    .leaf-breadcrumb {
        font-size: 0.72rem;
        margin-bottom: 14px;
    }

    .leaf-analysis-inner {
        flex-direction: column;
        padding: 32px 24px;
        gap: 28px;
    }

    .leaf-analysis-img {
        flex: none;
        width: 100%;
    }

    .leaf-analysis-img img {
        height: 200px;
    }

    .leaf-ba-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leaf-packages-grid {
        grid-template-columns: 1fr;
    }

    .leaf-what {
        padding: 50px 0;
    }

    .leaf-what-inner {
        flex-direction: column;
        gap: 28px;
    }

    .leaf-what-text h2 {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .leaf-what-body {
        font-size: 0.92rem;
    }

    .leaf-what-benefits {
        flex: none;
        width: 100%;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .leaf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .leaf-stat-card {
        padding: 20px 10px;
    }

    .leaf-stat-number {
        font-size: 1.4rem;
    }

    .leaf-timeline-track {
        padding-left: 32px;
    }

    .leaf-timeline-dot {
        left: -25px;
    }

    .leaf-timeline-line {
        left: 10px;
    }

    .leaf-timeline-card {
        padding: 20px;
    }

    .leaf-candidate-card {
        padding: 28px 20px;
    }

    .leaf-candidate-grid {
        grid-template-columns: 1fr;
    }

    .leaf-pricing-text h2 {
        font-size: 1.3rem;
    }

    .leaf-pricing-text p {
        font-size: 0.9rem;
    }

    .leaf-price-table {
        border-radius: 16px;
    }

    .leaf-price-header {
        grid-template-columns: 1.2fr 1.2fr 0.8fr;
        padding: 12px 16px;
        font-size: 0.7rem;
        gap: 4px;
    }

    .leaf-price-row {
        grid-template-columns: 1.2fr 1.2fr 0.8fr;
        padding: 14px 16px;
        gap: 4px;
    }

    .leaf-price-country {
        font-size: 0.82rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .leaf-price-amount {
        font-size: 0.8rem;
    }

    .leaf-price-savings {
        font-size: 0.8rem;
    }

    .leaf-price-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .leaf-price-highlight {
        border-left-width: 2px;
    }

    .leaf-final-inner {
        padding: 40px 24px;
    }

    .leaf-final-btn {
        padding: 14px 32px;
        font-size: 0.92rem;
    }

    .leaf-analysis,
    .leaf-ba,
    .leaf-packages,
    .leaf-what,
    .leaf-procedure,
    .leaf-timeline,
    .leaf-candidate,
    .leaf-pricing,
    .leaf-faq,
    .leaf-final-cta {
        padding: 56px 0;
    }
}

/* ============================================================
   LEAF PAGE — LIGHT MODE OVERRIDES
   ============================================================ */

/* Layout & background */
body.light-mode .leaf-layout {
    background: #f5f5f0;
}

/* Blobs — softer for light bg */
body.light-mode .leaf-layout::before {
    opacity: 0.12;
    filter: blur(120px);
}

body.light-mode .leaf-layout::after {
    opacity: 0.10;
    filter: blur(120px);
}

body.light-mode .leaf-blob-3,
body.light-mode .leaf-blob-4,
body.light-mode .leaf-blob-5 {
    opacity: 0.10;
    filter: blur(120px);
}

/* Hero */
body.light-mode .leaf-hero-overlay {
    background: linear-gradient(to top, rgba(245,245,240,0.98) 0%, rgba(245,245,240,0.6) 40%, rgba(0,0,0,0.15) 100%);
}

body.light-mode .leaf-hero-title {
    color: #111;
}

body.light-mode .leaf-hero-subtitle {
    color: rgba(0,0,0,0.55);
}

body.light-mode .leaf-breadcrumb a {
    color: rgba(0,0,0,0.4);
}

body.light-mode .leaf-breadcrumb a:hover {
    color: #e85d04;
}

body.light-mode .leaf-breadcrumb .breadcrumb-sep {
    color: rgba(0,0,0,0.2);
}

body.light-mode .leaf-breadcrumb span:last-child {
    color: rgba(0,0,0,0.7);
}

body.light-mode .leaf-pill {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
}

/* Section headers */
body.light-mode .leaf-section-header h2 {
    color: #111;
}

body.light-mode .leaf-section-header p {
    color: rgba(0,0,0,0.5);
}

/* Glass cards — universal override */
body.light-mode .leaf-analysis-card,
body.light-mode .leaf-ba-item,
body.light-mode .leaf-package-card,
body.light-mode .leaf-what-benefits,
body.light-mode .leaf-stat-card,
body.light-mode .leaf-timeline-card,
body.light-mode .leaf-candidate-card,
body.light-mode .leaf-price-table,
body.light-mode .leaf-final-card,
body.light-mode .leaf-candidate-item {
    background: rgba(255,255,255,0.6);
    border-color: rgba(0,0,0,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

body.light-mode .leaf-analysis-card:hover,
body.light-mode .leaf-package-card:hover,
body.light-mode .leaf-stat-card:hover,
body.light-mode .leaf-timeline-card:hover,
body.light-mode .leaf-candidate-item:hover {
    border-color: rgba(0,0,0,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Analysis CTA */
body.light-mode .leaf-analysis-card-shine {
    background: linear-gradient(135deg, rgba(249,115,22,0.06) 0%, transparent 40%, rgba(232,121,249,0.04) 100%);
}

body.light-mode .leaf-analysis-text h2 {
    color: #111;
}

body.light-mode .leaf-analysis-text p {
    color: rgba(0,0,0,0.6);
}

/* Before & After */
body.light-mode .leaf-ba-caption {
    color: rgba(0,0,0,0.5);
}

body.light-mode .leaf-ba-handle-line {
    background: #333;
}

body.light-mode .leaf-ba-handle-knob {
    background: #fff;
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Packages */
body.light-mode .leaf-package-card[data-type="medical"] {
    border-color: rgba(249,115,22,0.2);
}

body.light-mode .leaf-package-card[data-type="travel"] {
    border-color: rgba(96,165,250,0.2);
}

body.light-mode .leaf-package-card h3 {
    color: #111;
}

body.light-mode .leaf-package-list li {
    color: rgba(0,0,0,0.65);
}

body.light-mode .leaf-package-icon {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* What Is */
body.light-mode .leaf-what-text h2 {
    color: #111;
}

body.light-mode .leaf-what-body,
body.light-mode .leaf-what-body p {
    color: rgba(0,0,0,0.6);
}

body.light-mode .leaf-benefit {
    color: rgba(0,0,0,0.75);
}

/* Procedure Stats */
body.light-mode .leaf-stat-label {
    color: rgba(0,0,0,0.45);
}

/* Timeline */
body.light-mode .leaf-timeline-line {
    opacity: 0.6;
}

body.light-mode .leaf-timeline-dot {
    background: #f5f5f0;
}

body.light-mode .leaf-timeline-card h3 {
    color: #111;
}

body.light-mode .leaf-timeline-card p {
    color: rgba(0,0,0,0.55);
}

/* Candidate */
body.light-mode .leaf-candidate-card h2 {
    color: #111;
}

body.light-mode .leaf-candidate-item {
    color: rgba(0,0,0,0.75);
}

body.light-mode .leaf-candidate-note {
    background: rgba(249,115,22,0.06);
    border-color: rgba(249,115,22,0.15);
    color: rgba(0,0,0,0.6);
}

/* Price Table */
body.light-mode .leaf-price-header {
    background: rgba(0,0,0,0.03);
    border-bottom-color: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.4);
}

body.light-mode .leaf-price-row {
    border-bottom-color: rgba(0,0,0,0.05);
}

body.light-mode .leaf-price-row:hover {
    background: rgba(0,0,0,0.02);
}

body.light-mode .leaf-price-highlight {
    background: rgba(249,115,22,0.04);
    border-left-color: #f97316;
}

body.light-mode .leaf-price-highlight:hover {
    background: rgba(249,115,22,0.07);
}

body.light-mode .leaf-price-country {
    color: #111;
}

body.light-mode .leaf-price-amount {
    color: rgba(0,0,0,0.6);
}

body.light-mode .leaf-price-savings {
    color: #059669;
}

body.light-mode .leaf-price-highlight .leaf-price-savings {
    color: #e85d04;
}


/* Final CTA */
body.light-mode .leaf-final-cta-bg .leaf-final-gradient-1 {
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
}

body.light-mode .leaf-final-cta-bg .leaf-final-gradient-2 {
    background: radial-gradient(circle, rgba(232,121,249,0.06) 0%, transparent 70%);
}

body.light-mode .leaf-final-cta-bg .leaf-final-gradient-3 {
    background: radial-gradient(circle, rgba(167,139,250,0.05) 0%, transparent 70%);
}

body.light-mode .leaf-final-inner h2 {
    color: #111;
}

body.light-mode .leaf-final-inner p {
    color: rgba(0,0,0,0.55);
}

body.light-mode .leaf-final-card-shine {
    opacity: 0.35;
}

/* ===================== LIGHT MODE — TOP-LEVEL TREATMENTS PAGE ===================== */

/* Location filter bar */
body.light-mode .location-filter-inner {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

body.light-mode .filter-label {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .filter-label strong {
    color: #111;
}

body.light-mode .filter-change-btn {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
}

body.light-mode .filter-change-btn:hover {
    color: #111;
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.08);
}

body.light-mode .filter-change-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

body.light-mode .filter-loc-option {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .filter-loc-option:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #111;
}

/* Location select prompt cards */
body.light-mode .location-select-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .location-select-card:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.18);
}

body.light-mode .location-select-name {
    color: #111;
}

/* Treatment hierarchy cards (top-level) */
body.light-mode .treatment-hier-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .treatment-hier-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

body.light-mode .treatment-hier-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light-mode .treatment-hier-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body.light-mode .hier-title {
    color: #111;
}

body.light-mode .hier-excerpt {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .hier-btn {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.light-mode .treatment-hier-card:hover .hier-btn {
    color: #fff;
}

/* ===================== LIGHT MODE — MID-LEVEL LANDING PAGE ===================== */

/* Landing layout background */
body.light-mode .landing-layout {
    background: #f5f5f0;
}

/* Landing hero overlay — lighter gradient */
body.light-mode .landing-hero-overlay {
    background: linear-gradient(to top, rgba(245, 245, 240, 0.98) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.1) 100%);
}

/* Breadcrumb */
body.light-mode .landing-breadcrumb a {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .breadcrumb-sep {
    color: rgba(0, 0, 0, 0.2);
}

body.light-mode .landing-breadcrumb span:last-child {
    color: rgba(0, 0, 0, 0.6);
}

/* Landing title & subtitle */
body.light-mode .landing-title {
    color: #111;
}

body.light-mode .landing-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

/* Landing intro */
body.light-mode .landing-intro-content {
    color: rgba(0, 0, 0, 0.6);
}

/* Landing section headers */
body.light-mode .landing-section-header h2 {
    color: #111;
}

body.light-mode .landing-section-header p {
    color: rgba(0, 0, 0, 0.45);
}

/* Landing cards */
body.light-mode .landing-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .landing-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

body.light-mode .landing-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light-mode .landing-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

body.light-mode .landing-card-body h3 {
    color: #111;
}

body.light-mode .landing-card-body p {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .landing-card-btn {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.light-mode .landing-card:hover .landing-card-btn {
    color: #fff;
}

/* Why Choose block */
body.light-mode .why-choose-block {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .why-choose-block::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

body.light-mode .why-choose-title {
    color: #111;
}

body.light-mode .why-choose-desc {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .why-point {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .why-point:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-mode .why-point-icon {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .why-point span {
    color: rgba(0, 0, 0, 0.7);
}

/* Why ForQueers section */
body.light-mode .landing-wfq {
    background: #eeeee8;
}

body.light-mode .wfq-mesh {
    opacity: 0.4;
}

body.light-mode .wfq-title {
    background: linear-gradient(135deg, #111 30%, rgba(0, 0, 0, 0.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .wfq-desc {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .wfq-card-inner {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

body.light-mode .wfq-card:hover .wfq-card-inner {
    background: rgba(255, 255, 255, 0.7);
}

body.light-mode .wfq-card-text {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .wfq-card:hover .wfq-card-text {
    color: rgba(0, 0, 0, 0.85);
}

body.light-mode .wfq-card-icon svg,
body.light-mode .wfq-card-icon img {
    filter: none;
}

body.light-mode .wfq-card::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
}

/* Landing CTA section */
body.light-mode .landing-cta-gradient-1 {
    background: rgba(249, 115, 22, 0.1);
}

body.light-mode .landing-cta-gradient-2 {
    background: rgba(232, 121, 249, 0.08);
}

body.light-mode .landing-cta-gradient-3 {
    background: rgba(96, 165, 250, 0.08);
}

body.light-mode .landing-cta-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .landing-cta-title {
    color: #111;
}

body.light-mode .landing-cta-desc {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .landing-cta-check span {
    color: rgba(0, 0, 0, 0.75);
}

body.light-mode .landing-cta-outro {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .landing-cta-card-shine {
    opacity: 0.5;
}

/* Top-level hero overlay — fade to light bg */
body.light-mode .page-hero .hero-gradient-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(245, 245, 240, 0.95) 100%);
}

body.light-mode .page-hero .hero-cat {
    color: rgba(255, 255, 255, 0.85);
}

body.light-mode .page-content-layout {
    background: #f5f5f0;
}

/* Location select prompt — override inline colors */
body.light-mode .location-select-prompt svg {
    stroke: rgba(0, 0, 0, 0.35) !important;
}

body.light-mode .location-select-prompt h2 {
    color: #111 !important;
}

body.light-mode .location-select-prompt p {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Content body in light mode for treatments */
body.light-mode .page-content-layout .content-body {
    color: #222;
}

/* Footer nav in treatments light mode */
body.light-mode .single-article-footer {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .back-link {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .back-link:hover {
    color: #111;
}

/* ===================== LOCATION DETAIL PAGE ===================== */

/* 1. Cinematic Hero */
.loc-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.loc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.loc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 2vw, 40px) clamp(50px, 5.2vw, 100px);
}

.loc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.loc-hero-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.loc-hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
}

.loc-hero-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 0 40px;
}

.loc-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: locScrollPulse 2s ease-in-out infinite;
}

@keyframes locScrollPulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(4px); }
}

/* 2. Quick Facts Bar */
.loc-facts-bar {
    background: #0A0A0A;
background: linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(47, 103, 173, 0) 100%);
    position: relative;
    z-index: 3;
    margin-top: -44px;
}

.loc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.loc-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.loc-fact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 22px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Colored top accent line */
.loc-fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.loc-fact:nth-child(1)::before { background: linear-gradient(90deg, transparent, #f97316, transparent); }
.loc-fact:nth-child(2)::before { background: linear-gradient(90deg, transparent, #a78bfa, transparent); }
.loc-fact:nth-child(3)::before { background: linear-gradient(90deg, transparent, #60a5fa, transparent); }
.loc-fact:nth-child(4)::before { background: linear-gradient(90deg, transparent, #34d399, transparent); }

.loc-fact:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.loc-fact:hover::before {
    left: 10%;
    right: 10%;
    opacity: 0.9;
}

/* Icon container */
.loc-fact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.loc-fact:nth-child(1) .loc-fact-icon { background: rgba(249, 115, 22, 0.1); }
.loc-fact:nth-child(2) .loc-fact-icon { background: rgba(167, 139, 250, 0.1); }
.loc-fact:nth-child(3) .loc-fact-icon { background: rgba(96, 165, 250, 0.1); }
.loc-fact:nth-child(4) .loc-fact-icon { background: rgba(52, 211, 153, 0.1); }

.loc-fact svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.loc-fact:nth-child(1) svg { color: #f97316; }
.loc-fact:nth-child(2) svg { color: #a78bfa; }
.loc-fact:nth-child(3) svg { color: #60a5fa; }
.loc-fact:nth-child(4) svg { color: #34d399; }

.loc-fact:hover .loc-fact-icon {
    transform: scale(1.08);
}

.loc-fact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loc-fact-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.loc-fact-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

/* 3. Layout & Intro */
.loc-layout {
    background: #0a0a0a;
    padding-bottom: 40px;
}

.loc-intro {
    padding: clamp(40px, 4.2vw, 80px) 0 clamp(30px, 3.1vw, 60px);
}

.loc-intro-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
}

.loc-intro-text p {
    margin-bottom: 1.3em;
}

.loc-post-content {
    margin-top: 40px;
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.55);
}

.loc-post-content p {
    margin-bottom: 1.3em;
}

.loc-post-content h2,
.loc-post-content h3 {
    color: #fff;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

/* Section Header */
.loc-section-header {
    margin-bottom: 40px;
}

.loc-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* 4. Highlight Cards */
.loc-highlights {
    padding: 40px 0 clamp(40px, 4.2vw, 80px);
}

.loc-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.loc-highlight-card {
    position: relative;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Accent glow */
.loc-highlight-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    background: var(--card-accent, #f97316);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(50px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Top gradient line */
.loc-highlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-accent, #f97316), transparent);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.loc-highlight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.loc-highlight-card:hover::before {
    opacity: 0.15;
}

.loc-highlight-card:hover::after {
    left: 5%;
    right: 5%;
    opacity: 0.6;
}

.loc-highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent, #f97316) 15%, transparent), color-mix(in srgb, var(--card-accent, #f97316) 5%, transparent));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.loc-highlight-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.loc-highlight-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.loc-highlight-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin: 0;
}

/* 5. Gallery */
.loc-gallery {
    padding: 40px 0 clamp(40px, 4.2vw, 80px);
}

.loc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.loc-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.loc-gallery-item.loc-gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.loc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-gallery-item:hover img {
    transform: scale(1.05);
}

/* Subtle overlay on hover */
.loc-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.loc-gallery-item:hover::after {
    opacity: 1;
}

/* 6. Map Section */
.loc-map-section {
    padding: 40px 0 clamp(40px, 4.2vw, 80px);
}

.loc-map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Placeholder */
.loc-map-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.loc-map-placeholder-bg {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 200 Q100 150 150 200 T250 200 T350 200' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3Cpath d='M30 250 Q120 180 200 250 T380 250' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3Cpath d='M0 300 Q80 240 160 300 T320 300' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E"),
        linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    background-size: 400px 400px, 100% 100%;
    backdrop-filter: blur(2px);
}

.loc-map-placeholder-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 380px;
}

.loc-map-placeholder-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(96, 165, 250, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.loc-map-placeholder-icon svg {
    color: #a78bfa;
}

.loc-map-placeholder-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.loc-map-placeholder-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0 0 24px;
}

.loc-map-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(167, 139, 250, 0.25);
}

.loc-map-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.35);
}

/* Map container */
.loc-map-container {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Mapbox popup overrides */
.loc-mapbox-popup .mapboxgl-popup-content {
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    min-width: 240px;
}

.loc-mapbox-popup .mapboxgl-popup-tip {
    border-top-color: rgba(15, 15, 20, 0.95);
}

.loc-mapbox-popup .mapboxgl-popup-close-button {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    right: 8px;
    top: 8px;
    z-index: 2;
}

.loc-mapbox-popup .mapboxgl-popup-close-button:hover {
    color: #fff;
}

.loc-map-popup {
    display: flex;
    flex-direction: column;
}

.loc-popup-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.loc-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loc-popup-body {
    padding: 16px;
}

.loc-popup-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.loc-popup-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.loc-popup-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* Map markers — animated dot + ping */
.loc-map-marker {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.loc-marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: transform 0.3s ease;
}

.loc-map-marker:hover .loc-marker-dot {
    transform: translate(-50%, -50%) scale(1.3);
}

.loc-marker-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: locMarkerPing 2s ease-out infinite;
    z-index: 1;
}

@keyframes locMarkerPing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Light mode map */
body.light-mode .loc-map-wrapper {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-map-placeholder-bg {
    background:
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 200 Q100 150 150 200 T250 200 T350 200' fill='none' stroke='rgba(0,0,0,0.05)' stroke-width='1'/%3E%3Cpath d='M30 250 Q120 180 200 250 T380 250' fill='none' stroke='rgba(0,0,0,0.04)' stroke-width='1'/%3E%3Cpath d='M0 300 Q80 240 160 300 T320 300' fill='none' stroke='rgba(0,0,0,0.04)' stroke-width='1'/%3E%3C/svg%3E"),
        linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.01) 100%);
    background-size: 400px 400px, 100% 100%;
}

body.light-mode .loc-map-placeholder-content {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-map-placeholder-content h3 {
    color: #111;
}

body.light-mode .loc-map-placeholder-content p {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .loc-map-placeholder-icon {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .loc-mapbox-popup .mapboxgl-popup-content {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

body.light-mode .loc-mapbox-popup .mapboxgl-popup-tip {
    border-top-color: rgba(255, 255, 255, 0.97);
}

body.light-mode .loc-mapbox-popup .mapboxgl-popup-close-button {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .loc-popup-title {
    color: #111;
}

body.light-mode .loc-popup-desc {
    color: rgba(0, 0, 0, 0.55);
}

/* Map mobile */
@media (max-width: 768px) {
    .loc-map-wrapper {
        height: 400px;
        border-radius: 18px;
    }

    .loc-map-placeholder-content {
        padding: 32px 24px;
        max-width: 300px;
    }

    .loc-map-placeholder-content h3 {
        font-size: 1.2rem;
    }

    .loc-map-section {
        padding: 24px 0 60px;
    }
}

/* 7. Healthcare CTA */
.loc-cta {
    padding: 40px 0 clamp(40px, 4.2vw, 80px);
}

.loc-cta-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.3);
}

.loc-cta-shine {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #60a5fa, #a78bfa, #e879f9, #f97316, #fbbf24, #34d399);
    background-size: 300% 100%;
    animation: locCtaShine 6s linear infinite;
    border-radius: 28px 28px 0 0;
}

@keyframes locCtaShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.loc-cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.loc-cta-glow-1 {
    width: 300px;
    height: 300px;
    background: rgba(249, 115, 22, 0.12);
    bottom: -80px;
    left: -60px;
}

.loc-cta-glow-2 {
    width: 250px;
    height: 250px;
    background: rgba(96, 165, 250, 0.1);
    top: -60px;
    right: -40px;
}

.loc-cta-inner {
    position: relative;
    z-index: 1;
    padding: clamp(32px, 3.3vw, 64px);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.loc-cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.loc-cta-inner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin: 0 0 32px;
}

.loc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    background: linear-gradient(135deg, #f97316 0%, #e85d04 50%, #e879f9 100%);
    background-size: 200% 200%;
    animation: ctaBtnGradient 5s ease infinite;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4), 0 0 60px rgba(232, 121, 249, 0.15);
}

.loc-cta-btn svg {
    transition: transform 0.3s ease;
}

.loc-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ===================== LOCATION FOOTER NAV ===================== */
.loc-footer-nav {
    padding: clamp(30px, 3.1vw, 60px) 0 clamp(40px, 4.2vw, 80px);
}

.loc-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.loc-footer-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 140px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-footer-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.loc-footer-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.loc-footer-card:hover .loc-footer-card-bg {
    transform: scale(1.05);
}

.loc-footer-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.loc-footer-card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.loc-footer-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.loc-footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.loc-footer-next .loc-footer-card-content {
    align-items: flex-end;
    text-align: right;
}

.loc-footer-empty {
    border: none;
    background: none;
}

.loc-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    padding: 0 12px;
}

.loc-footer-center:hover {
    color: #fff;
}

.loc-footer-center-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.loc-footer-center:hover .loc-footer-center-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===================== LOCATION PAGE — MOBILE ===================== */
@media (max-width: 768px) {
    .loc-hero {
        height: 55vh;
        min-height: 380px;
        background-attachment: scroll;
    }

    .loc-hero-content {
        padding: 0 24px 60px;
    }

    .loc-hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .loc-hero-tagline {
        font-size: 1rem;
    }

    .loc-facts-bar {
        margin-top: -28px;
    }

    .loc-container {
        padding: 0 20px;
    }

    .loc-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .loc-fact {
        padding: 20px 16px;
        gap: 12px;
    }

    .loc-fact-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .loc-fact svg {
        width: 16px;
        height: 16px;
    }

    .loc-fact-value {
        font-size: 0.82rem;
    }

    .loc-intro {
        padding: 56px 0 40px;
    }

    .loc-highlights-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .loc-highlight-card {
        padding: 24px 22px;
    }

    .loc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .loc-gallery-item.loc-gallery-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .loc-cta {
        padding: 0 16px;
    }

    .loc-cta-card {
        border-radius: 24px;
    }

    .loc-cta-inner {
        padding: 32px 20px;
    }

    .loc-cta-btn {
        padding: 16px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .loc-footer-nav {
        padding: 40px 0 60px;
    }

    .loc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .loc-footer-card {
        min-height: 120px;
        border-radius: 16px;
    }

    .loc-footer-card-content {
        padding: 16px;
    }

    .loc-footer-title {
        font-size: 1rem;
    }

    .loc-footer-next .loc-footer-card-content {
        align-items: flex-end;
        text-align: right;
    }

    .loc-footer-center {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        order: -1;
        padding: 12px 0;
    }

    .loc-footer-center-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}

/* ===================== LOCATION PAGE — LIGHT MODE ===================== */
body.light-mode .loc-facts-bar {
    background: #f5f5f0;
    background: linear-gradient(0deg, #f5f5f0 0%, rgba(245, 245, 240, 0) 100%);
}

body.light-mode .loc-hero-overlay {
    background: linear-gradient(to top, rgba(245, 245, 240, 0.98) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.05) 100%);
}

body.light-mode .loc-hero-badge {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.65);
}

body.light-mode .loc-hero-title {
    color: #111;
}

body.light-mode .loc-hero-tagline {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .loc-hero-scroll {
    color: rgba(0, 0, 0, 0.3);
}

body.light-mode .loc-fact {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.07);
}

body.light-mode .loc-fact:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

body.light-mode .loc-fact-icon {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .loc-fact-label {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .loc-fact-value {
    color: #111;
}

body.light-mode .loc-layout {
    background: #f5f5f0;
}

body.light-mode .loc-intro-text,
body.light-mode .loc-post-content {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .loc-post-content h2,
body.light-mode .loc-post-content h3 {
    color: #111;
}

body.light-mode .loc-section-header h2 {
    color: #111;
}

body.light-mode .loc-highlight-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .loc-highlight-card:hover {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-highlight-card::before {
    opacity: 0.05;
}

body.light-mode .loc-highlight-card:hover::before {
    opacity: 0.1;
}

body.light-mode .loc-highlight-icon {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .loc-highlight-icon img {
    filter: none;
}

body.light-mode .loc-highlight-card h3 {
    color: #111;
}

body.light-mode .loc-highlight-card p {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .loc-cta-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.06);
}

body.light-mode .loc-cta-glow-1 {
    background: rgba(249, 115, 22, 0.06);
}

body.light-mode .loc-cta-glow-2 {
    background: rgba(96, 165, 250, 0.05);
}

body.light-mode .loc-cta-inner h2 {
    color: #111;
}

body.light-mode .loc-cta-inner p {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .loc-cta-shine {
    opacity: 0.5;
}

body.light-mode .loc-footer-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-footer-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-footer-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

body.light-mode .loc-footer-center {
    color: rgba(0, 0, 0, 0.45);
}

body.light-mode .loc-footer-center:hover {
    color: #111;
}

body.light-mode .loc-footer-center-icon {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .loc-footer-center:hover .loc-footer-center-icon {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* =============================================
   LAPTOP RESPONSIVE — Fluid scaling (1920px base)
   html font-size scales rem units proportionally
   ============================================= */

/* 992px–1919px: scale html font-size from ~53% to ~100% of 16px */
@media screen and (min-width: 992px) and (max-width: 1919px) {
    html {
        /* At 1920px → 16px (100%), at 992px → ~8.27px (51.7%) */
        font-size: calc(16px * (100vw / 1920));
    }
}

/* Scale down px-based paddings & large fixed headings for laptops */
@media screen and (min-width: 992px) and (max-width: 1599px) {

    /* Section paddings — scale proportionally */
    .faq-content-overlay,
    .instagram-content-overlay {
        padding: 3.2vw 4.2vw;
    }

    .about-modal-content {
        padding: 5.2vw 1vw;
    }

    .treatment-modal-container {
        padding: 5.2vw 2vw 3.2vw;
    }

    /* Large headings that use px/rem without clamp */
    .hero-title,
    .treatments-hero-title {
        font-size: clamp(3rem, 5.5vw, 5.5rem);
    }

    .section-headline,
    .grid-header h2,
    .gallery-header h2,
    .faq-headline {
        font-size: clamp(1.8rem, 2.8vw, 3rem);
    }

    .footer-bg-text {
        font-size: clamp(6rem, 13vw, 18vw);
    }

    /* Footer grid — prevent cramping */
    .footer-grid {
        gap: 2vw;
        padding: 0 3vw;
    }

    /* Nav link spacing */
    .header-desktop .nav-links a,
    .header-container ul li a {
        font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    }

    /* CTA buttons */
    .cta-btn {
        padding: 0.8rem 1.8rem;
        font-size: clamp(1rem, 1.2vw, 1.5rem);
    }

    /* Card/overlay paddings */
    .blog-card-overlay,
    .essay-content-wrapper,
    .treatment-info-grid {
        padding: 2vw;
    }

    /* Premium page sections */
    .premium-section-padding {
        padding: 4.2vw 0;
    }
}