/* =========================================================
   AKEELA DENTAL CARE — CASE DETAIL PAGE
   (Before / After slider + supporting layout)
========================================================= */

.ak-about-section-label {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
    color: var(--ak-green); font-size: 10px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
}
.ak-about-section-label::before { content: ""; width: 30px; height: 1px; background: var(--ak-orange); flex-shrink: 0; }

/* =====================================================
   CASE HERO
===================================================== */

.ak-case-hero { padding: 150px 0 60px; background: var(--ak-offwhite); }
.ak-case-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--ak-muted); font-size: 11px; font-weight: 700; }
.ak-case-back:hover { color: var(--ak-orange); }

.ak-case-hero h1 {
    margin: 0; color: var(--ak-ink); font-family: Georgia, serif;
    font-size: clamp(34px, 4.5vw, 54px); font-weight: 400; line-height: 1.05; letter-spacing: -1px;
}
.ak-case-hero h1 em { color: var(--ak-orange); font-style: italic; }
.ak-case-hero > .akp-container > p { max-width: 560px; margin: 22px 0 0; color: var(--ak-text); font-size: 14px; line-height: 1.8; }

/* =====================================================
   BEFORE / AFTER SLIDER
===================================================== */

.ak-case-section { padding: 70px 0 100px; background: var(--ak-white); }
.ak-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.ak-case-item { display: flex; flex-direction: column; }

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(16,43,45,.14);
    user-select: none;
    touch-action: pan-y;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.ba-after { z-index: 1; }

.ba-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-label {
    position: absolute;
    top: 14px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
    pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    z-index: 4;
    cursor: ew-resize;
    transform: translateX(-1px);
}

.ba-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 10px rgba(0,0,0,.25);
}

.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ak-green);
    font-size: 15px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    transition: transform .2s ease;
}

.ba-slider:hover .ba-handle-btn,
.ba-handle.ba-handle-active .ba-handle-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

.ak-case-caption { padding-top: 16px; }
.ak-case-caption h3 { margin: 0; color: var(--ak-ink); font-family: Georgia, serif; font-size: 17px; font-weight: 600; }
.ak-case-caption p { margin: 6px 0 0; color: var(--ak-muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
    .ak-case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .ak-case-grid { grid-template-columns: 1fr; }
    .ak-case-hero { padding: 130px 0 50px; }
}

/* =====================================================
   OTHER CASE TYPES
===================================================== */

.ak-case-other { padding: 80px 0; background: var(--ak-offwhite); }
.ak-case-other h2 {
    margin: 12px 0 30px; color: var(--ak-ink); font-family: Georgia, serif;
    font-size: clamp(28px, 3.5vw, 40px); font-weight: 400; letter-spacing: -1px;
}
.ak-case-other h2 em { color: var(--ak-orange); font-style: italic; }

.ak-case-other-links { display: flex; flex-direction: column; border-top: 1px solid var(--ak-line); }
.ak-case-other-links a {
    display: flex; align-items: center; justify-content: space-between; padding: 22px 4px;
    border-bottom: 1px solid var(--ak-line); color: var(--ak-ink); font-size: 16px; font-weight: 600;
    transition: padding-left .3s ease, color .3s ease;
}
.ak-case-other-links a:hover { padding-left: 12px; color: var(--ak-orange); }
.ak-case-other-links a span { color: var(--ak-orange); font-size: 18px; }
/* =====================================================
   FULL MOUTH CASE GALLERY — premium mosaic design
===================================================== */
.fm-hero {
    padding: 160px 7% 70px;
    background: linear-gradient(180deg, #F7FAFA 0%, #fff 100%);
    text-align: center;
}
.fm-hero-inner { max-width: 780px; margin: auto; }
.fm-hero-inner h1 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}
.fm-hero-inner h1 span { display: block; color: var(--orange, #F3754B); }
.fm-hero-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.8; margin-bottom: 34px; }

.fm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #009DA5);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.fm-back-link:hover { text-decoration: underline; }

/* =====================================================
   QUICK-JUMP NAVIGATION
===================================================== */
.fm-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.fm-jump-nav a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,157,165,.25);
    color: var(--teal-dark, #123A3C);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fm-jump-nav a:hover {
    background: var(--teal, #009DA5);
    border-color: var(--teal, #009DA5);
    color: #fff;
}

/* =====================================================
   GHOST NUMBER — large faded background numeral
===================================================== */
.fm-case { position: relative; overflow: hidden; }
.fm-case-ghost {
    position: absolute;
    top: -40px;
    right: 2%;
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,157,165,.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.fm-case-alt .fm-case-ghost { color: rgba(243,117,75,.06); }
.fm-case-inner { position: relative; z-index: 1; }

@media (max-width: 700px) {
    .fm-case-ghost { font-size: 130px; top: -20px; }
}

/* =====================================================
   CUSTOM RICH CTA
===================================================== */
.fm-cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 7%;
    overflow: hidden;
    text-align: center;
}
.fm-cta-media { position: absolute; inset: 0; z-index: 0; }
.fm-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fm-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9,44,46,.75) 0%, rgba(9,44,46,.92) 100%);
}
.fm-cta-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.fm-cta-content h2 {
    margin: 16px 0 20px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.fm-cta-content h2 span { display: block; color: var(--orange, #F3754B); }
.fm-cta-content > p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}
.fm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.fm-cta-location {
    color: rgba(255,255,255,.45);
    font-size: 12px;
}
.fm-cta-location span { color: var(--orange, #F3754B); }

@media (max-width: 600px) {
    .fm-cta { padding: 70px 20px; min-height: 480px; }
    .fm-cta-actions { flex-direction: column; align-items: stretch; }
    .fm-cta-actions a { width: 100%; }
}

/* =====================================================
   CASE SECTIONS
===================================================== */
.fm-case { padding: 70px 7%; background: #fff; }
.fm-case-alt { background: var(--bg, #F7FAFA); }
.fm-case-inner { width: min(1200px, 100%); margin: auto; }

.fm-case-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,157,165,.12);
}
.fm-case-number {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--teal-dark, #123A3C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18,58,60,.25);
}
.fm-case-head h2 {
    margin: 0;
    color: var(--teal-dark, #123A3C);
    font-size: 30px;
    font-family: Georgia, serif;
}
.fm-case-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--orange, #F3754B);
    font-size: 11px;
    font-weight: 800;
}
.fm-case-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange, #F3754B);
}

/* =====================================================
   MOSAIC GRID — featured large image + strip of smaller ones
===================================================== */
.fm-mosaic {
    display: grid;
    gap: 14px;
}

.fm-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(14,48,49,.12);
    background: #F0F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.fm-img:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14,48,49,.18); }
.fm-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; cursor: zoom-in; }
.fm-img:hover img { transform: scale(1.08); }

/* 7-image mosaic: 1 large feature + 6 in a 3x2 strip */
.fm-mosaic-7 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
}
.fm-mosaic-7 .fm-img-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fm-mosaic-7 .fm-img:not(.fm-img-feature) {
    grid-column: span 2;
}

/* 4-image mosaic: 1 large feature (left, tall) + 3 stacked (right) */
.fm-mosaic-4 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, 140px);
}
.fm-mosaic-4 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 4;
}
.fm-mosaic-4 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

/* 3-image mosaic: 1 large feature (left, tall) + 2 stacked (right) */
.fm-mosaic-3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-3 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-3 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

@media (max-width: 900px) {
    .fm-mosaic-7 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px repeat(2, 140px); }
    .fm-mosaic-7 .fm-img-feature { grid-column: 1 / 4; grid-row: 1; }
    .fm-mosaic-7 .fm-img:not(.fm-img-feature) { grid-column: span 1; }

    .fm-mosaic-4, .fm-mosaic-3 {
        grid-template-columns: 1fr;
        grid-template-rows: 220px repeat(3, 140px);
    }
    .fm-mosaic-4 .fm-img-feature, .fm-mosaic-3 .fm-img-feature { grid-column: 1; grid-row: 1; }
    .fm-mosaic-4 .fm-img:not(.fm-img-feature), .fm-mosaic-3 .fm-img:not(.fm-img-feature) { grid-column: 1; }
}

@media (max-width: 600px) {
    .fm-hero { padding: 120px 20px 50px; }
    .fm-case { padding: 45px 20px; }
    .fm-case-head { gap: 10px; }
    .fm-case-head h2 { font-size: 22px; }
    .fm-case-tag { margin-left: 0; width: 100%; }
}

/* =====================================================
   LIGHTBOX — click to enlarge
===================================================== */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9,20,20,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.fm-lightbox-open { opacity: 1; visibility: visible; }
.fm-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.fm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.fm-lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
/* =====================================================
   FULL MOUTH CASE GALLERY — premium mosaic design
===================================================== */
.fm-hero {
    padding: 160px 7% 70px;
    background: linear-gradient(180deg, #F7FAFA 0%, #fff 100%);
    text-align: center;
}
.fm-hero-inner { max-width: 780px; margin: auto; }
.fm-hero-inner h1 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}
.fm-hero-inner h1 span { display: block; color: var(--orange, #F3754B); }
.fm-hero-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.8; margin-bottom: 34px; }

.fm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #009DA5);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.fm-back-link:hover { text-decoration: underline; }

/* =====================================================
   QUICK-JUMP NAVIGATION
===================================================== */
.fm-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.fm-jump-nav a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,157,165,.25);
    color: var(--teal-dark, #123A3C);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fm-jump-nav a:hover {
    background: var(--teal, #009DA5);
    border-color: var(--teal, #009DA5);
    color: #fff;
}

/* =====================================================
   GHOST NUMBER — large faded background numeral
===================================================== */
.fm-case { position: relative; overflow: hidden; }
.fm-case-ghost {
    position: absolute;
    top: -40px;
    right: 2%;
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,157,165,.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.fm-case-alt .fm-case-ghost { color: rgba(243,117,75,.06); }
.fm-case-inner { position: relative; z-index: 1; }

@media (max-width: 700px) {
    .fm-case-ghost { font-size: 130px; top: -20px; }
}

/* =====================================================
   CUSTOM RICH CTA
===================================================== */
.fm-cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 7%;
    overflow: hidden;
    text-align: center;
}
.fm-cta-media { position: absolute; inset: 0; z-index: 0; }
.fm-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fm-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9,44,46,.75) 0%, rgba(9,44,46,.92) 100%);
}
.fm-cta-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.fm-cta-content h2 {
    margin: 16px 0 20px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.fm-cta-content h2 span { display: block; color: var(--orange, #F3754B); }
.fm-cta-content > p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}
.fm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.fm-cta-location {
    color: rgba(255,255,255,.45);
    font-size: 12px;
}
.fm-cta-location span { color: var(--orange, #F3754B); }

@media (max-width: 600px) {
    .fm-cta { padding: 70px 20px; min-height: 480px; }
    .fm-cta-actions { flex-direction: column; align-items: stretch; }
    .fm-cta-actions a { width: 100%; }
}

/* =====================================================
   CASE SECTIONS
===================================================== */
.fm-case { padding: 70px 7%; background: #fff; }
.fm-case-alt { background: var(--bg, #F7FAFA); }
.fm-case-inner { width: min(1200px, 100%); margin: auto; }

.fm-case-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,157,165,.12);
}
.fm-case-number {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--teal-dark, #123A3C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18,58,60,.25);
}
.fm-case-head h2 {
    margin: 0;
    color: var(--teal-dark, #123A3C);
    font-size: 30px;
    font-family: Georgia, serif;
}
.fm-case-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--orange, #F3754B);
    font-size: 11px;
    font-weight: 800;
}
.fm-case-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange, #F3754B);
}

/* =====================================================
   MOSAIC GRID — featured large image + strip of smaller ones
===================================================== */
.fm-mosaic {
    display: grid;
    gap: 14px;
}

.fm-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(14,48,49,.12);
    background: #F0F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.fm-img:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14,48,49,.18); }
.fm-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; cursor: zoom-in; }
.fm-img:hover img { transform: scale(1.08); }

/* 7-image mosaic: 1 large feature + 6 in a 3x2 strip */
.fm-mosaic-7 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
}
.fm-mosaic-7 .fm-img-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fm-mosaic-7 .fm-img:not(.fm-img-feature) {
    grid-column: span 2;
}

/* 4-image mosaic: 1 large feature (left, tall) + 3 stacked (right) */
.fm-mosaic-4 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, 140px);
}
.fm-mosaic-4 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 4;
}
.fm-mosaic-4 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

/* 3-image mosaic: 1 large feature (left, tall) + 2 stacked (right) */
.fm-mosaic-3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-3 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-3 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

@media (max-width: 900px) {
    .fm-mosaic-7 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px repeat(2, 140px); }
    .fm-mosaic-7 .fm-img-feature { grid-column: 1 / 4; grid-row: 1; }
    .fm-mosaic-7 .fm-img:not(.fm-img-feature) { grid-column: span 1; }

    .fm-mosaic-4, .fm-mosaic-3 {
        grid-template-columns: 1fr;
        grid-template-rows: 220px repeat(3, 140px);
    }
    .fm-mosaic-4 .fm-img-feature, .fm-mosaic-3 .fm-img-feature { grid-column: 1; grid-row: 1; }
    .fm-mosaic-4 .fm-img:not(.fm-img-feature), .fm-mosaic-3 .fm-img:not(.fm-img-feature) { grid-column: 1; }
}

@media (max-width: 600px) {
    .fm-hero { padding: 120px 20px 50px; }
    .fm-case { padding: 45px 20px; }
    .fm-case-head { gap: 10px; }
    .fm-case-head h2 { font-size: 22px; }
    .fm-case-tag { margin-left: 0; width: 100%; }
}

/* =====================================================
   LIGHTBOX — click to enlarge
===================================================== */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9,20,20,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.fm-lightbox-open { opacity: 1; visibility: visible; }
.fm-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.fm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.fm-lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
/* =====================================================
   FULL MOUTH CASE GALLERY — premium mosaic design
===================================================== */
.fm-hero {
    padding: 160px 7% 70px;
    background: linear-gradient(180deg, #F7FAFA 0%, #fff 100%);
    text-align: center;
}
.fm-hero-inner { max-width: 780px; margin: auto; }
.fm-hero-inner h1 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}
.fm-hero-inner h1 span { display: block; color: var(--orange, #F3754B); }
.fm-hero-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.8; margin-bottom: 34px; }

.fm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #009DA5);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.fm-back-link:hover { text-decoration: underline; }

/* =====================================================
   QUICK-JUMP NAVIGATION
===================================================== */
.fm-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.fm-jump-nav a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,157,165,.25);
    color: var(--teal-dark, #123A3C);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fm-jump-nav a:hover {
    background: var(--teal, #009DA5);
    border-color: var(--teal, #009DA5);
    color: #fff;
}

/* =====================================================
   GHOST NUMBER — large faded background numeral
===================================================== */
.fm-case { position: relative; overflow: hidden; }
.fm-case-ghost {
    position: absolute;
    top: -40px;
    right: 2%;
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,157,165,.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.fm-case-alt .fm-case-ghost { color: rgba(243,117,75,.06); }
.fm-case-inner { position: relative; z-index: 1; }

@media (max-width: 700px) {
    .fm-case-ghost { font-size: 130px; top: -20px; }
}

/* =====================================================
   CUSTOM RICH CTA
===================================================== */
.fm-cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 7%;
    overflow: hidden;
    text-align: center;
}
.fm-cta-media { position: absolute; inset: 0; z-index: 0; }
.fm-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fm-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9,44,46,.75) 0%, rgba(9,44,46,.92) 100%);
}
.fm-cta-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.fm-cta-content h2 {
    margin: 16px 0 20px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.fm-cta-content h2 span { display: block; color: var(--orange, #F3754B); }
.fm-cta-content > p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}
.fm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.fm-cta-location {
    color: rgba(255,255,255,.45);
    font-size: 12px;
}
.fm-cta-location span { color: var(--orange, #F3754B); }

@media (max-width: 600px) {
    .fm-cta { padding: 70px 20px; min-height: 480px; }
    .fm-cta-actions { flex-direction: column; align-items: stretch; }
    .fm-cta-actions a { width: 100%; }
}

/* =====================================================
   CASE SECTIONS
===================================================== */
.fm-case { padding: 70px 7%; background: #fff; }
.fm-case-alt { background: var(--bg, #F7FAFA); }
.fm-case-inner { width: min(1200px, 100%); margin: auto; }

.fm-case-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,157,165,.12);
}
.fm-case-number {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--teal-dark, #123A3C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18,58,60,.25);
}
.fm-case-head h2 {
    margin: 0;
    color: var(--teal-dark, #123A3C);
    font-size: 30px;
    font-family: Georgia, serif;
}
.fm-case-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--orange, #F3754B);
    font-size: 11px;
    font-weight: 800;
}
.fm-case-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange, #F3754B);
}

/* =====================================================
   MOSAIC GRID — featured large image + strip of smaller ones
===================================================== */
.fm-mosaic {
    display: grid;
    gap: 14px;
}

.fm-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(14,48,49,.12);
    background: #F0F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.fm-img:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14,48,49,.18); }
.fm-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; cursor: zoom-in; }
.fm-img:hover img { transform: scale(1.08); }

/* 7-image mosaic: 1 large feature + 6 in a 3x2 strip */
.fm-mosaic-7 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
}
.fm-mosaic-7 .fm-img-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fm-mosaic-7 .fm-img:not(.fm-img-feature) {
    grid-column: span 2;
}

/* 4-image mosaic: 1 large feature (left, tall) + 3 stacked (right) */
.fm-mosaic-4 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, 140px);
}
.fm-mosaic-4 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 4;
}
.fm-mosaic-4 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

/* 5-image mosaic: 1 large feature (left, tall) + 4 in a 2x2 grid (right) */
.fm-mosaic-5 {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-5 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-5 .fm-img:not(.fm-img-feature) {
    grid-column: span 1;
}

/* 3-image mosaic: 1 large feature (left, tall) + 2 stacked (right) */
.fm-mosaic-3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-3 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-3 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

@media (max-width: 900px) {
    .fm-mosaic-7 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px repeat(2, 140px); }
    .fm-mosaic-7 .fm-img-feature { grid-column: 1 / 4; grid-row: 1; }
    .fm-mosaic-7 .fm-img:not(.fm-img-feature) { grid-column: span 1; }

    .fm-mosaic-4, .fm-mosaic-3, .fm-mosaic-5 {
        grid-template-columns: 1fr;
        grid-template-rows: 220px repeat(4, 140px);
    }
    .fm-mosaic-4 .fm-img-feature, .fm-mosaic-3 .fm-img-feature, .fm-mosaic-5 .fm-img-feature { grid-column: 1; grid-row: 1; }
    .fm-mosaic-4 .fm-img:not(.fm-img-feature), .fm-mosaic-3 .fm-img:not(.fm-img-feature), .fm-mosaic-5 .fm-img:not(.fm-img-feature) { grid-column: 1; }
}

@media (max-width: 600px) {
    .fm-hero { padding: 120px 20px 50px; }
    .fm-case { padding: 45px 20px; }
    .fm-case-head { gap: 10px; }
    .fm-case-head h2 { font-size: 22px; }
    .fm-case-tag { margin-left: 0; width: 100%; }
}

/* =====================================================
   LIGHTBOX — click to enlarge
===================================================== */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9,20,20,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.fm-lightbox-open { opacity: 1; visibility: visible; }
.fm-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.fm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.fm-lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
/* =====================================================
   FULL MOUTH CASE GALLERY — premium mosaic design
===================================================== */
.fm-hero {
    padding: 160px 7% 70px;
    background: linear-gradient(180deg, #F7FAFA 0%, #fff 100%);
    text-align: center;
}
.fm-hero-inner { max-width: 780px; margin: auto; }
.fm-hero-inner h1 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}
.fm-hero-inner h1 span { display: block; color: var(--orange, #F3754B); }
.fm-hero-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.8; margin-bottom: 34px; }

.fm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #009DA5);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.fm-back-link:hover { text-decoration: underline; }

/* =====================================================
   QUICK-JUMP NAVIGATION
===================================================== */
.fm-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.fm-jump-nav a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,157,165,.25);
    color: var(--teal-dark, #123A3C);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fm-jump-nav a:hover {
    background: var(--teal, #009DA5);
    border-color: var(--teal, #009DA5);
    color: #fff;
}

/* =====================================================
   GHOST NUMBER — large faded background numeral
===================================================== */
.fm-case { position: relative; overflow: hidden; }
.fm-case-ghost {
    position: absolute;
    top: -40px;
    right: 2%;
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,157,165,.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.fm-case-alt .fm-case-ghost { color: rgba(243,117,75,.06); }
.fm-case-inner { position: relative; z-index: 1; }

@media (max-width: 700px) {
    .fm-case-ghost { font-size: 130px; top: -20px; }
}

/* =====================================================
   CUSTOM RICH CTA
===================================================== */
.fm-cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 7%;
    overflow: hidden;
    text-align: center;
}
.fm-cta-media { position: absolute; inset: 0; z-index: 0; }
.fm-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fm-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9,44,46,.75) 0%, rgba(9,44,46,.92) 100%);
}
.fm-cta-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.fm-cta-content h2 {
    margin: 16px 0 20px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.fm-cta-content h2 span { display: block; color: var(--orange, #F3754B); }
.fm-cta-content > p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}
.fm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.fm-cta-location {
    color: rgba(255,255,255,.45);
    font-size: 12px;
}
.fm-cta-location span { color: var(--orange, #F3754B); }

@media (max-width: 600px) {
    .fm-cta { padding: 70px 20px; min-height: 480px; }
    .fm-cta-actions { flex-direction: column; align-items: stretch; }
    .fm-cta-actions a { width: 100%; }
}

/* =====================================================
   CASE SECTIONS
===================================================== */
.fm-case { padding: 70px 7%; background: #fff; }
.fm-case-alt { background: var(--bg, #F7FAFA); }
.fm-case-inner { width: min(1200px, 100%); margin: auto; }

.fm-case-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,157,165,.12);
}
.fm-case-number {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--teal-dark, #123A3C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18,58,60,.25);
}
.fm-case-head h2 {
    margin: 0;
    color: var(--teal-dark, #123A3C);
    font-size: 30px;
    font-family: Georgia, serif;
}
.fm-case-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--orange, #F3754B);
    font-size: 11px;
    font-weight: 800;
}
.fm-case-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange, #F3754B);
}

/* =====================================================
   MOSAIC GRID — featured large image + strip of smaller ones
===================================================== */
.fm-mosaic {
    display: grid;
    gap: 14px;
}

.fm-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(14,48,49,.12);
    background: #F0F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.fm-img:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14,48,49,.18); }
.fm-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; cursor: zoom-in; }
.fm-img:hover img { transform: scale(1.08); }

/* 7-image mosaic: 1 large feature + 6 in a 3x2 strip */
.fm-mosaic-7 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
}
.fm-mosaic-7 .fm-img-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fm-mosaic-7 .fm-img:not(.fm-img-feature) {
    grid-column: span 2;
}

/* 4-image mosaic: 1 large feature (left, tall) + 3 stacked (right) */
.fm-mosaic-4 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, 140px);
}
.fm-mosaic-4 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 4;
}
.fm-mosaic-4 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

/* 5-image mosaic: 1 large feature (left, tall) + 4 in a 2x2 grid (right) */
.fm-mosaic-5 {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-5 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-5 .fm-img:not(.fm-img-feature) {
    grid-column: span 1;
}

/* 2-image mosaic: 1 large feature (left) + 1 tall (right) */
.fm-mosaic-2 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 280px;
}
.fm-mosaic-2 .fm-img-feature { grid-column: 1; }
.fm-mosaic-2 .fm-img:not(.fm-img-feature) { grid-column: 2; }

/* 3-image mosaic: 1 large feature (left, tall) + 2 stacked (right) */
.fm-mosaic-3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-3 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-3 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

@media (max-width: 900px) {
    .fm-mosaic-7 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px repeat(2, 140px); }
    .fm-mosaic-7 .fm-img-feature { grid-column: 1 / 4; grid-row: 1; }
    .fm-mosaic-7 .fm-img:not(.fm-img-feature) { grid-column: span 1; }

    .fm-mosaic-4, .fm-mosaic-3, .fm-mosaic-5, .fm-mosaic-2 {
        grid-template-columns: 1fr;
        grid-template-rows: 220px repeat(4, 140px);
    }
    .fm-mosaic-4 .fm-img-feature, .fm-mosaic-3 .fm-img-feature, .fm-mosaic-5 .fm-img-feature, .fm-mosaic-2 .fm-img-feature { grid-column: 1; grid-row: 1; }
    .fm-mosaic-4 .fm-img:not(.fm-img-feature), .fm-mosaic-3 .fm-img:not(.fm-img-feature), .fm-mosaic-5 .fm-img:not(.fm-img-feature), .fm-mosaic-2 .fm-img:not(.fm-img-feature) { grid-column: 1; }
}

@media (max-width: 600px) {
    .fm-hero { padding: 120px 20px 50px; }
    .fm-case { padding: 45px 20px; }
    .fm-case-head { gap: 10px; }
    .fm-case-head h2 { font-size: 22px; }
    .fm-case-tag { margin-left: 0; width: 100%; }
}

/* =====================================================
   LIGHTBOX — click to enlarge
===================================================== */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9,20,20,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.fm-lightbox-open { opacity: 1; visibility: visible; }
.fm-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.fm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.fm-lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
/* =====================================================
   FULL MOUTH CASE GALLERY — premium mosaic design
===================================================== */
.fm-hero {
    padding: 160px 7% 70px;
    background: linear-gradient(180deg, #F7FAFA 0%, #fff 100%);
    text-align: center;
}
.fm-hero-inner { max-width: 780px; margin: auto; }
.fm-hero-inner h1 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}
.fm-hero-inner h1 span { display: block; color: var(--orange, #F3754B); }
.fm-hero-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.8; margin-bottom: 34px; }

.fm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #009DA5);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.fm-back-link:hover { text-decoration: underline; }

/* =====================================================
   QUICK-JUMP NAVIGATION
===================================================== */
.fm-jump-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.fm-jump-nav a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,157,165,.25);
    color: var(--teal-dark, #123A3C);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.fm-jump-nav a:hover {
    background: var(--teal, #009DA5);
    border-color: var(--teal, #009DA5);
    color: #fff;
}

/* =====================================================
   GHOST NUMBER — large faded background numeral
===================================================== */
.fm-case { position: relative; overflow: hidden; }
.fm-case-ghost {
    position: absolute;
    top: -40px;
    right: 2%;
    font-family: Georgia, serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,157,165,.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}
.fm-case-alt .fm-case-ghost { color: rgba(243,117,75,.06); }
.fm-case-inner { position: relative; z-index: 1; }

@media (max-width: 700px) {
    .fm-case-ghost { font-size: 130px; top: -20px; }
}

/* =====================================================
   CUSTOM RICH CTA
===================================================== */
.fm-cta {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 7%;
    overflow: hidden;
    text-align: center;
}
.fm-cta-media { position: absolute; inset: 0; z-index: 0; }
.fm-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fm-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9,44,46,.75) 0%, rgba(9,44,46,.92) 100%);
}
.fm-cta-content { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.fm-cta-content h2 {
    margin: 16px 0 20px;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.fm-cta-content h2 span { display: block; color: var(--orange, #F3754B); }
.fm-cta-content > p {
    max-width: 540px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}
.fm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.fm-cta-location {
    color: rgba(255,255,255,.45);
    font-size: 12px;
}
.fm-cta-location span { color: var(--orange, #F3754B); }

@media (max-width: 600px) {
    .fm-cta { padding: 70px 20px; min-height: 480px; }
    .fm-cta-actions { flex-direction: column; align-items: stretch; }
    .fm-cta-actions a { width: 100%; }
}

/* =====================================================
   CASE SECTIONS
===================================================== */
.fm-case { padding: 70px 7%; background: #fff; }
.fm-case-alt { background: var(--bg, #F7FAFA); }
.fm-case-inner { width: min(1200px, 100%); margin: auto; }

.fm-case-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,157,165,.12);
}
.fm-case-number {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--teal-dark, #123A3C);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18,58,60,.25);
}
.fm-case-head h2 {
    margin: 0;
    color: var(--teal-dark, #123A3C);
    font-size: 30px;
    font-family: Georgia, serif;
}
.fm-case-tag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--orange, #F3754B);
    font-size: 11px;
    font-weight: 800;
}
.fm-case-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange, #F3754B);
}

/* =====================================================
   MOSAIC GRID — featured large image + strip of smaller ones
===================================================== */
.fm-mosaic {
    display: grid;
    gap: 14px;
}

.fm-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(14,48,49,.12);
    background: #F0F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.fm-img:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14,48,49,.18); }
.fm-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s ease; cursor: zoom-in; }
.fm-img:hover img { transform: scale(1.08); }

/* 7-image mosaic: 1 large feature + 6 in a 3x2 strip */
.fm-mosaic-7 {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 200px);
}
.fm-mosaic-7 .fm-img-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.fm-mosaic-7 .fm-img:not(.fm-img-feature) {
    grid-column: span 2;
}

/* 4-image mosaic: 1 large feature (left, tall) + 3 stacked (right) */
.fm-mosaic-4 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(3, 140px);
}
.fm-mosaic-4 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 4;
}
.fm-mosaic-4 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

/* 5-image mosaic: 1 large feature (left, tall) + 4 in a 2x2 grid (right) */
.fm-mosaic-5 {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-5 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-5 .fm-img:not(.fm-img-feature) {
    grid-column: span 1;
}

/* 2-image mosaic: 1 large feature (left) + 1 tall (right) */
.fm-mosaic-2 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 280px;
}
.fm-mosaic-2 .fm-img-feature { grid-column: 1; }
.fm-mosaic-2 .fm-img:not(.fm-img-feature) { grid-column: 2; }

/* 3-image mosaic: 1 large feature (left, tall) + 2 stacked (right) */
.fm-mosaic-3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 210px);
}
.fm-mosaic-3 .fm-img-feature {
    grid-column: 1;
    grid-row: 1 / 3;
}
.fm-mosaic-3 .fm-img:not(.fm-img-feature) {
    grid-column: 2;
}

@media (max-width: 900px) {
    .fm-mosaic-7 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px repeat(2, 140px); }
    .fm-mosaic-7 .fm-img-feature { grid-column: 1 / 4; grid-row: 1; }
    .fm-mosaic-7 .fm-img:not(.fm-img-feature) { grid-column: span 1; }

    .fm-mosaic-4, .fm-mosaic-3, .fm-mosaic-5, .fm-mosaic-2 {
        grid-template-columns: 1fr;
        grid-template-rows: 220px repeat(4, 140px);
    }
    .fm-mosaic-4 .fm-img-feature, .fm-mosaic-3 .fm-img-feature, .fm-mosaic-5 .fm-img-feature, .fm-mosaic-2 .fm-img-feature { grid-column: 1; grid-row: 1; }
    .fm-mosaic-4 .fm-img:not(.fm-img-feature), .fm-mosaic-3 .fm-img:not(.fm-img-feature), .fm-mosaic-5 .fm-img:not(.fm-img-feature), .fm-mosaic-2 .fm-img:not(.fm-img-feature) { grid-column: 1; }
}

@media (max-width: 600px) {
    .fm-hero { padding: 120px 20px 50px; }
    .fm-case { padding: 45px 20px; }
    .fm-case-head { gap: 10px; }
    .fm-case-head h2 { font-size: 22px; }
    .fm-case-tag { margin-left: 0; width: 100%; }
}

/* =====================================================
   LIGHTBOX — click to enlarge
===================================================== */
.fm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9,20,20,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.fm-lightbox.fm-lightbox-open { opacity: 1; visibility: visible; }
.fm-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.fm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}
.fm-lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }

/* =====================================================
   PATIENT CONCERN — intro text block
===================================================== */
.fm-intro { padding: 60px 7% 20px; background: #fff; }
.fm-intro-inner { max-width: 780px; margin: auto; text-align: center; }
.fm-intro-inner h2 {
    margin: 15px 0 20px;
    color: var(--teal-dark, #123A3C);
    font-size: clamp(28px, 3.5vw, 40px);
}
.fm-intro-inner h2 span { color: var(--orange, #F3754B); }
.fm-intro-inner p { color: var(--text-soft, #6C7D7F); line-height: 1.85; margin-bottom: 14px; }

/* =====================================================
   FINAL OUTCOME — checklist grid
===================================================== */
.fm-outcome { padding: 70px 7%; background: var(--teal-dark, #123A3C); text-align: center; }
.fm-outcome-inner { max-width: 900px; margin: auto; }
.fm-outcome-inner .ft-eyebrow { justify-content: center; color: #7FDDE1; }
.fm-outcome-inner .ft-eyebrow::before { background: var(--orange, #F3754B); }
.fm-outcome-inner h2 {
    margin: 15px 0 18px;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 40px);
}
.fm-outcome-inner h2 span { color: var(--orange, #F3754B); }
.fm-outcome-inner > p {
    max-width: 600px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
}
.fm-outcome-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.fm-outcome-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.fm-outcome-item span {
    color: var(--orange, #F3754B);
    font-weight: 800;
}

@media (max-width: 600px) {
    .fm-intro { padding: 45px 20px 10px; }
    .fm-outcome { padding: 50px 20px; }
}