        /* =========================================================
           PAGE STABILITY
        ========================================================= */
        html,
        body {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0;
            overflow-x: clip;
        }

        @supports not (overflow: clip) {
            html,
            body {
                overflow-x: hidden;
            }
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        /* =========================================================
           PAGE BASE
        ========================================================= */
        .fm-service-page {
            background: #120F10;
            color: #F8F1EC;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* =========================================================
           HERO
        ========================================================= */
        .fm-service-hero {
            position: relative;
            padding: 5rem 0 4rem;
            text-align: center;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
            width: 100%;
            background-color: #1a1415;
        }

        .fm-service-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(135deg, rgba(18, 15, 16, 0.92) 0%, rgba(18, 15, 16, 0.75) 50%, rgba(18, 15, 16, 0.60) 100%),
                url('/img/fm-service-hero.jpg') center 30% / cover no-repeat;
            z-index: 0;
        }

        .fm-service-hero .container {
            position: relative;
            z-index: 1;
        }

        .fm-service-hero .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(217, 140, 107, 0.15);
            border: 1px solid rgba(217, 140, 107, 0.25);
            color: #D98C6B;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            padding: 0.4rem 1.2rem;
            border-radius: 50px;
            margin-bottom: 1.2rem;
            font-family: 'Inter', sans-serif;
        }

        .fm-service-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            font-weight: 700;
            color: #F8F1EC;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
        }

        .fm-service-hero h1 .highlight {
            color: #D98C6B;
            font-style: italic;
        }

        .fm-service-hero .hero-sub {
            font-family: 'Inter', sans-serif;
            font-size: 1.125rem;
            font-weight: 300;
            color: rgba(248, 241, 236, 0.7);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* =========================================================
           HAIRSTYLE TYPE NAVIGATION — HEADING (scrolls away)
           Parent owns the spacing — no collapsing margins
           Background: slightly lighter than hero, still dark
        ========================================================= */
        .hairstyle-type-nav {
            background: #161112;
            /* slightly lighter than #120F10 — distinct from hero */
            padding: 2.25rem 0 1.4rem;
        }

        .hairstyle-nav-heading {
            text-align: center;
            margin-bottom: 0;
        }

        .hairstyle-nav-heading .nav-eyebrow {
            display: block;
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: #D98C6B;
            margin-bottom: 0.45rem;
        }

        .hairstyle-nav-heading p {
            margin: 0;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            font-weight: 400;
            color: rgba(248, 241, 236, 0.55);
        }

        /* =========================================================
           TABS WRAPPER — STICKY (only the pills stick)
           Background matches the nav section
        ========================================================= */
        .hairstyle-tabs-wrapper {
            position: sticky;
            top: 60px;
            z-index: 999;

            width: 100%;
            background: #1E181A;
            /* matches .hairstyle-type-nav */
            padding: 0.6rem 0 0.8rem;
        }

        .hairstyle-tabs-wrapper .container {
            display: flex;
            justify-content: center;
        }

        .hairstyle-tabs {
            display: inline-flex;
            align-items: center;
            padding: 0.4rem;
            gap: 0.35rem;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(217, 140, 107, 0.12);
            border-radius: 50px;
        }

        /* =========================================================
           INDIVIDUAL TAB
        ========================================================= */
        .hairstyle-tab {
            flex: 0 0 auto;
            border: 0;
            outline: 0;
            padding: 0.75rem 1.35rem;
            border-radius: 50px;
            background: transparent;
            color: rgba(248, 241, 236, 0.6);
            font-family: 'Inter', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
        }

        .hairstyle-tab:hover {
            color: #F8F1EC;
            background: rgba(217, 140, 107, 0.08);
        }

        /* --- ACTIVE TAB: GOLD/COPPER (#D98C6B) — NOT PINK --- */
        .hairstyle-tab.active {
            background: #D98C6B;
            color: #120F10;
            box-shadow: 0 4px 18px rgba(217, 140, 107, 0.22);
            transform: translateY(-1px);
        }

        /* =========================================================
           TAB CONTENT
        ========================================================= */
        .hairstyle-tab-content {
            display: none;
        }

        .hairstyle-tab-content.active {
            display: block;
            animation: hairstyleTabFade 0.4s ease;
        }

        @keyframes hairstyleTabFade {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* =========================================================
   TAB CONTENT
========================================================= */
.hairstyle-tab-content {
    display: none;
    
    /* FIX: Ensures the content scrolls 80px below the top,
       right under the sticky tabs */
    scroll-margin-top: 80px;
}

.hairstyle-tab-content.active {
    display: block;
    animation: hairstyleTabFade 0.4s ease;
}

        /* =========================================================
           MOBILE SWIPE HINT (scrolls away with content)
        ========================================================= */
        .mobile-swipe-hint {
            display: none;
            justify-content: center;
            align-items: center;
            gap: 0.55rem;
            padding: 0.6rem 0 1rem;
            font-family: 'Inter', sans-serif;
            font-size: 0.66rem;
            font-weight: 500;
            color: rgba(248, 241, 236, 0.35);
            background: #1E181A;
            /* matches nav */
        }

        .mobile-swipe-hint i {
            color: #D98C6B;
            font-size: 0.6rem;
        }

        /* =========================================================
           CONTENT
        ========================================================= */
        .fm-service-content {
            flex: 1;
            padding: 3rem 0 4rem 0;
        }

        /* =========================================================
           INTRODUCTION
        ========================================================= */
        .fm-intro-section {
            margin-bottom: 3.5rem;
            padding: 2.5rem;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(217, 140, 107, 0.12);
            border-radius: 16px;
        }

        .fm-intro-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 600;
            color: #F8F1EC;
            margin-bottom: 1rem;
        }

        .fm-intro-section h2 .highlight {
            color: #D98C6B;
            font-style: italic;
        }

        .fm-intro-section p {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            line-height: 1.8;
            color: rgba(248, 241, 236, 0.7);
            margin-bottom: 0.75rem;
        }

        /* =========================================================
           SERVICE CARD
        ========================================================= */
        .service-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(217, 140, 107, 0.14);
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 3rem;
        }

        .service-card .card-header {
            padding: 1.5rem 2rem;
            background: rgba(217, 140, 107, 0.06);
            border-bottom: 1px solid rgba(217, 140, 107, 0.12);
        }

        .service-card .card-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: #F8F1EC;
            margin: 0;
        }

        .service-card .card-header h3 .highlight {
            color: #D98C6B;
            font-style: italic;
        }

        /* =========================================================
           GALLERY GRID
        ========================================================= */
        .service-gallery {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.015);
        }

        .service-gallery .gallery-item {
            position: relative;
            overflow: hidden;
            min-height: 380px;
            border-radius: 12px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
        }

        .service-gallery .gallery-item:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
            z-index: 2;
        }

        .service-gallery .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }

        /* Gallery item overlay label */
        .gallery-item .gallery-label {
            position: absolute;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(18, 15, 16, 0.8);
            backdrop-filter: blur(4px);
            padding: 0.4rem 1.2rem;
            border-radius: 50px;
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: rgba(248, 241, 236, 0.8);
            border: 1px solid rgba(217, 140, 107, 0.15);
            pointer-events: none;
            white-space: nowrap;
        }

        /* =========================================================
           LIGHTBOX / MODAL
        ========================================================= */
        .fm-lightbox {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(18, 15, 16, 0.95);
            backdrop-filter: blur(8px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            animation: lightboxFade 0.3s ease;
        }

        .fm-lightbox.open {
            display: flex;
        }

        @keyframes lightboxFade {
            from {
                opacity: 0;
                transform: scale(0.96);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .fm-lightbox .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .fm-lightbox .lightbox-content img {
            max-width: 100%;
            max-height: 75vh;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        }

        .fm-lightbox .lightbox-nav {
            display: flex;
            gap: 1rem;
            align-items: center;
            margin-top: 0.5rem;
        }

        .fm-lightbox .lightbox-nav button {
            background: rgba(217, 140, 107, 0.15);
            border: 1px solid rgba(217, 140, 107, 0.2);
            color: #F8F1EC;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fm-lightbox .lightbox-nav button:hover {
            background: rgba(217, 140, 107, 0.3);
            transform: scale(1.05);
        }

        .fm-lightbox .lightbox-nav .lightbox-counter {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            color: rgba(248, 241, 236, 0.5);
            min-width: 60px;
            text-align: center;
        }

        .fm-lightbox .lightbox-close {
            position: absolute;
            top: -3rem;
            right: 0;
            background: none;
            border: none;
            color: #F8F1EC;
            font-size: 1.8rem;
            cursor: pointer;
            transition: transform 0.3s ease;
            opacity: 0.6;
        }

        .fm-lightbox .lightbox-close:hover {
            transform: rotate(90deg);
            opacity: 1;
        }

        /* ----- CARD BODY ----- */
        .service-card .card-body {
            padding: 2rem;
        }

        .service-card .card-body p {
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            line-height: 1.8;
            color: rgba(248, 241, 236, 0.7);
            margin-bottom: 1.5rem;
        }

        /* ----- SERVICE DETAILS ----- */
        .service-details {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem 3rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(217, 140, 107, 0.1);
        }

        .service-details .detail-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            color: rgba(248, 241, 236, 0.8);
        }

        .service-details .detail-item i {
            color: #D98C6B;
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }

        .service-details .detail-item .label {
            color: rgba(248, 241, 236, 0.4);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .service-details .detail-item .value {
            font-weight: 600;
            color: #F8F1EC;
        }

        .service-details .detail-item .value.price {
            color: #D98C6B;
            font-size: 1.1rem;
        }

        .service-details .detail-item .value.price-small {
            font-size: 0.85rem;
            color: rgba(248, 241, 236, 0.6);
        }

        /* =========================================================
           RESPONSIVE
        ========================================================= */

        /* Tablet */
        @media (max-width: 991px) {
            .fm-service-hero h1 {
                font-size: 2.5rem;
            }

            .service-gallery {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 1rem;
            }

            .service-gallery .gallery-item {
                min-height: 320px;
            }

            .hairstyle-tabs-wrapper {
                top: 65px;
            }
        }

        /* Mobile */
        @media (max-width: 767px) {
            .hairstyle-type-nav {
                padding: 1.75rem 0 0.75rem;
                margin-bottom: 0;
            }

            .hairstyle-nav-heading {
                padding: 0 1rem;
                margin-bottom: 0;
            }

            .hairstyle-nav-heading p {
                font-size: 0.82rem;
                line-height: 1.6;
                margin-bottom: 0;
            }

            .hairstyle-tabs-wrapper {
                top: 65px;
                padding: 0.3rem 0 0.4rem;
            }

            .hairstyle-tabs-wrapper .container {
                padding: 0;
                width: 100%;
            }

            .hairstyle-tabs {
                display: flex;
                width: 100%;
                overflow-x: auto;
                overflow-y: hidden;
                justify-content: flex-start;
                gap: 0.5rem;
                padding: 0.4rem 16px 0.6rem;
                border: 0;
                border-radius: 0;
                background: transparent;
                scroll-behavior: smooth;
                scroll-snap-type: x proximity;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .hairstyle-tabs::-webkit-scrollbar {
                display: none;
            }

            .hairstyle-tab {
                scroll-snap-align: start;
                padding: 0.6rem 1.1rem;
                background: rgba(255, 255, 255, 0.04);
                border: 1px solid rgba(217, 140, 107, 0.12);
                font-size: 0.74rem;
            }

            /* --- MOBILE ACTIVE TAB: GOLD --- */
            .hairstyle-tab.active {
                background: #D98C6B;
                border-color: #D98C6B;
                box-shadow: 0 4px 16px rgba(217, 140, 107, 0.25);
            }

            .mobile-swipe-hint {
                display: flex;
            }

            /* Lightbox mobile adjustments */
            .fm-lightbox {
                padding: 1rem;
            }

            .fm-lightbox .lightbox-content img {
                max-height: 65vh;
            }

            .fm-lightbox .lightbox-close {
                top: -2.5rem;
                font-size: 1.5rem;
            }

            .fm-lightbox .lightbox-nav button {
                width: 38px;
                height: 38px;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 576px) {
            .fm-service-hero {
                padding: 3rem 0 2.5rem;
                min-height: 240px;
            }

            .fm-service-hero h1 {
                font-size: 2rem;
            }

            .fm-service-hero .hero-sub {
                font-size: 0.95rem;
            }

            .fm-service-content {
                padding: 1.5rem 0 2rem 0;
            }

            .fm-intro-section {
                padding: 1.25rem;
            }

            .fm-intro-section h2 {
                font-size: 1.5rem;
            }

            .service-card .card-header {
                padding: 1rem 1.25rem;
            }

            .service-card .card-header h3 {
                font-size: 1.2rem;
            }

            .service-gallery {
                gap: 0.75rem;
                padding: 0.75rem;
            }

            .service-gallery .gallery-item {
                min-height: 250px;
                border-radius: 8px;
            }

            .service-card .card-body {
                padding: 1.25rem;
            }

            .service-details {
                flex-direction: column;
                gap: 0.75rem;
            }

            .service-details .detail-item {
                font-size: 0.85rem;
            }

            .gallery-item .gallery-label {
                font-size: 0.6rem;
                padding: 0.3rem 0.8rem;
                bottom: 0.7rem;
            }
        }

        /* Extra small */
        @media (max-width: 400px) {
            .service-gallery .gallery-item {
                min-height: 200px;
            }

            .fm-service-hero h1 {
                font-size: 1.6rem;
            }
        }