/* ═══════════════════════════════════════════════════════
   FIZJOTERAPIA MONIKA v14 - ORGANIC LUXURY
   Photography-first · Cinematic dark/light rhythm
   Generous whitespace · Cormorant italic drama
   ═══════════════════════════════════════════════════════ */

:root {
    --emerald-900: #0C1A10;
    --emerald-800: #142419;
    --emerald-700: #1F3D2B;
    --emerald-600: #2C5240;
    --emerald-500: #3D6B54;
    --emerald-400: #5D9272;
    --emerald-100: #E8F0EA;
    --emerald-50: #F2F7F3;

    --gold: #C9A86A;
    --gold-bright: #D4B87E;
    --gold-dim: #9F8344;
    --gold-pale: #EDE1C8;

    --cream: #FAF8F5;
    --cream-warm: #F5F0E8;
    --white: #FFFFFF;
    --ink: #111A14;
    --ink-soft: #2E3530;
    --text: #3A3A3A;
    --text-mid: #6B6B6B;
    --text-light: #999;
    --border: #E0DBD2;
    --border-subtle: rgba(31,61,43,.08);

    --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ff-body: 'Nunito', -apple-system, system-ui, sans-serif;

    --fs-hero: clamp(2.8rem, 6vw, 5rem);
    --fs-display: clamp(2rem, 3.8vw, 3.25rem);
    --fs-h1: clamp(1.75rem, 3.2vw, 2.75rem);
    --fs-h2: clamp(1.5rem, 2.8vw, 2.25rem);
    --fs-h3: clamp(1.15rem, 1.6vw, 1.35rem);
    --fs-lead: clamp(1.05rem, 1.2vw, 1.15rem);
    --fs-body: clamp(1rem, .975rem + .13vw, 1.0625rem);
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;
    --fs-micro: 0.75rem;

    --radius: 4px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --dur: 0.35s;
    --dur-slow: 0.6s;

    --shadow-soft: 0 8px 40px rgba(12,26,16,.08);
    --shadow-md: 0 16px 48px rgba(12,26,16,.12);

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(3.5rem, 6vw, 5rem);
    --section-sm: clamp(2.5rem, 4vw, 3.5rem);
    --topbar-h: 44px;
    --header-h: 90px;
    --header-total: calc(var(--topbar-h) + var(--header-h));
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-total) }
body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent }
ul, ol { list-style: none }
h1, h2, h3, h4 { font-family: var(--ff-body); font-weight: 700; line-height: 1.15; color: var(--ink) }
::selection { background: var(--gold); color: var(--emerald-900) }

/* ═══ LAYOUT ═══ */
.fm-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) }

/* ═══ TYPOGRAPHY ═══ */
.fm-eyebrow {
    font-family: var(--ff-body);
    font-size: var(--fs-micro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--gold-dim);
}
.fm-eyebrow--gold { color: var(--gold) }
.fm-eyebrow--line { display: inline-flex; align-items: center; gap: 16px }
.fm-eyebrow--line::before { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .5 }

/* ═══ BUTTONS ═══ */
.fm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-body);
    font-size: var(--fs-micro);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.fm-btn svg { flex-shrink: 0; transition: transform .3s var(--ease) }
.fm-btn:hover svg { transform: translateX(4px) }

.fm-btn--primary { background: var(--emerald-700); color: var(--cream) }
.fm-btn--primary:hover { background: var(--emerald-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,61,43,.25) }

.fm-btn--gold { background: var(--gold); color: var(--emerald-900) }
.fm-btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px) }

.fm-btn--outline { border: 1.5px solid var(--emerald-700); color: var(--emerald-700) }
.fm-btn--outline:hover { background: var(--emerald-700); color: var(--cream) }

.fm-btn--ghost {
    padding: 10px 0;
    background: none;
    border-bottom: 1px solid var(--gold);
    border-radius: 0;
    letter-spacing: .25em;
    color: var(--emerald-700);
}
.fm-btn--ghost:hover { color: var(--gold-dim); border-color: var(--emerald-700) }

.fm-btn--light { background: rgba(255,255,255,.12); color: var(--cream); border: 1px solid rgba(255,255,255,.2) }
.fm-btn--light:hover { background: var(--gold); color: var(--emerald-900); border-color: var(--gold) }

/* ═══ PRELOADER ═══ */
.fm-preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--emerald-900);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .8s var(--ease), visibility .8s;
}
.fm-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none }
.fm-preloader__mark {
    width: 48px; height: 48px;
    border: 1.5px solid rgba(201,168,106,.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }


/* ═══════════════════════════════════════════════════════
   TOPBAR — contact info + gabinety pills
   ═══════════════════════════════════════════════════════ */
.fm-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    background: var(--emerald-900);
    border-bottom: 1px solid rgba(201,168,106,.15);
    height: 44px;
    display: flex;
    align-items: center;
    transition: transform .4s var(--ease);
}
.fm-topbar.hidden { transform: translateY(-100%) }
.fm-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}
.fm-topbar__left,
.fm-topbar__right { display: flex; align-items: center; gap: 16px }
.fm-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.835rem;
    font-weight: 600;
    color: rgba(250,248,245,.8);
    letter-spacing: .02em;
    transition: color .25s;
}
.fm-topbar__item:hover { color: var(--gold) }
.fm-topbar__item svg { color: var(--gold); opacity: .7 }
.fm-topbar__sep {
    width: 1px; height: 16px;
    background: rgba(201,168,106,.2);
}

.fm-topbar__loc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--gold);
    border: 1px solid rgba(201,168,106,.3);
    border-radius: var(--radius-full);
    background: transparent;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.fm-topbar__loc-pill svg { opacity: .6 }
.fm-topbar__loc-pill:hover {
    background: var(--gold);
    color: var(--emerald-900);
    border-color: var(--gold);
}
.fm-topbar__loc-pill:hover svg { opacity: 1; color: var(--emerald-900) }

@media (max-width: 900px) {
    :root { --topbar-h: 0px; --header-h: 80px }
    .fm-topbar { display: none }
}
@media (max-width: 1100px) and (min-width: 901px) {
    .fm-topbar__item span { display: none }
    .fm-topbar__sep { display: none }
}

/* ═══ FLOATING SOCIAL BAR ═══ */
.fm-social-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
}
.fm-social-bar__link {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    position: relative;
}
.fm-social-bar__link:first-child { border-radius: 12px 0 0 0 }
.fm-social-bar__link:last-child { border-radius: 0 0 0 12px }
.fm-social-bar__link:only-child { border-radius: 12px 0 0 12px }
.fm-social-bar__link svg { position: relative; z-index: 1 }
.fm-social-bar__link:hover {
    transform: translateX(-6px);
    box-shadow: -4px 0 20px rgba(0,0,0,.2);
}
.fm-social-bar__link[aria-label="Instagram"] {
    background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcb045);
}
.fm-social-bar__link[aria-label="Facebook"] {
    background: #1877F2;
}
@media (max-width: 900px) {
    .fm-social-bar { display: none }
}


/* ═══════════════════════════════════════════════════════
   HEADER — premium with visible logo
   ═══════════════════════════════════════════════════════ */
.fm-header {
    position: fixed;
    top: 44px; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(201,168,106,.08);
    transition: all .4s var(--ease);
}
.fm-header.scrolled {
    top: 0;
    background: rgba(250,248,245,.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(12,26,16,.08);
    border-bottom-color: var(--border);
}
.fm-header:not(.scrolled) .fm-header__link { color: rgba(250,248,245,.75) }
.fm-header:not(.scrolled) .fm-header__link:hover { color: var(--gold) }
.fm-header:not(.scrolled) .fm-header__link.active { color: var(--gold) }
.fm-header:not(.scrolled) .fm-header__link.active::after { background: var(--gold) }
.fm-header:not(.scrolled) .fm-header__burger span { background: var(--cream) }
.fm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px var(--gutter);
    width: 100%;
    gap: 32px;
}
.fm-header__brand { flex-shrink: 0; transition: opacity .3s }
.fm-header__logo {
    height: 72px;
    width: auto;
    transition: height .3s var(--ease), filter .4s var(--ease);
}
.fm-header:not(.scrolled) .fm-header__logo {
    filter: brightness(0) invert(1);
    opacity: .92;
}
.fm-header.scrolled .fm-header__logo { height: 52px }

.fm-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 36px);
    margin: 0 auto;
}
.fm-header__link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding: 8px 0;
    transition: color .3s;
}
.fm-header__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--emerald-700);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}
.fm-header__link:hover::after,
.fm-header__link.active::after { transform: scaleX(1); transform-origin: left }
.fm-header__link:hover,
.fm-header__link.active { color: var(--emerald-700) }

.fm-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.fm-header__cta { padding: 12px 28px; font-size: 0.7rem }

.fm-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 44px;
    padding: 0;
    color: var(--ink);
}
.fm-header__burger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all .4s var(--ease);
    transform-origin: center;
}
.fm-header__burger span:nth-child(1) { width: 100% }
.fm-header__burger span:nth-child(2) { width: 65% }
.fm-header__burger span:nth-child(3) { width: 80% }

@media (max-width: 900px) {
    .fm-header { top: 0; height: 80px }
    .fm-header__inner { padding: 10px var(--gutter) 0 }
    .fm-header__nav { display: none }
    .fm-header__right { display: none }
    .fm-header__burger { display: flex }
    .fm-header__logo { height: 56px }
    .fm-header.scrolled .fm-header__logo { height: 48px }
}


/* ═══ MOBILE MENU ═══ */
.fm-mobile {
    position: fixed; inset: 0;
    z-index: 2000;
    background: var(--emerald-900);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden;
    transition: all .5s var(--ease);
}
.fm-mobile.active { opacity: 1; visibility: visible }

.fm-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px var(--gutter) 12px;
    flex-shrink: 0;
}
.fm-mobile__brand { display: block }
.fm-mobile__logo { height: 48px; width: auto }
.fm-mobile__close {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}

.fm-mobile__nav {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 20px;
    padding: 20px 0;
}
.fm-mobile__link {
    font-family: var(--ff-body);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--cream);
    opacity: 0;
    transform: translateY(20px);
    transition: all .5s var(--ease);
}
.fm-mobile__link:hover,
.fm-mobile__link.active { color: var(--gold) }
.fm-mobile.active .fm-mobile__link { opacity: 1; transform: none }
.fm-mobile.active .fm-mobile__link:nth-child(1) { transition-delay: 60ms }
.fm-mobile.active .fm-mobile__link:nth-child(2) { transition-delay: 120ms }
.fm-mobile.active .fm-mobile__link:nth-child(3) { transition-delay: 180ms }
.fm-mobile.active .fm-mobile__link:nth-child(4) { transition-delay: 240ms }
.fm-mobile.active .fm-mobile__link:nth-child(5) { transition-delay: 300ms }

.fm-mobile__footer {
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    padding: 28px var(--gutter) 12px;
    opacity: 0; transition: opacity .5s .35s;
}
.fm-mobile.active .fm-mobile__footer { opacity: 1 }
.fm-mobile.active ~ .fm-cookies { display: none }
.fm-mobile__cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; width: 100%;
    padding: 16px 24px;
    background: var(--gold);
    color: var(--emerald-900);
    font-weight: 700; font-size: 1rem;
    border-radius: var(--radius-full);
    text-align: center;
    transition: background .3s;
}
.fm-mobile__cta-btn:hover { background: var(--gold-bright) }
.fm-mobile__cta-btn--book {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}
.fm-mobile__cta-btn--book:hover { background: rgba(201,168,106,.15); color: var(--gold-bright) }


/* ═══════════════════════════════════════════════════════
   HERO — Editorial, Fizjoterapia-focused
   Dark bg, centered alignment text↔photo, marquee strip
   ═══════════════════════════════════════════════════════ */
.fm-hero {
    background: linear-gradient(160deg, #0f2318 0%, var(--emerald-900) 40%, #0a150e 100%);
    padding-top: calc(var(--header-total) + clamp(2rem, 3vw, 3.5rem));
    overflow: hidden;
    position: relative;
}

.fm-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.fm-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
}
.fm-hero__shape--1 {
    width: 500px; height: 500px;
    background: var(--gold-pale);
    top: -140px; right: 8%;
    animation: heroFloat1 20s ease-in-out infinite;
}
.fm-hero__shape--2 {
    width: 380px; height: 380px;
    background: var(--emerald-400);
    bottom: -60px; left: 3%;
    animation: heroFloat2 24s ease-in-out infinite;
}
.fm-hero__shape--3 {
    width: 220px; height: 220px;
    background: var(--gold);
    top: 45%; left: 45%;
    transform: translate(-50%, -50%);
    opacity: .05;
    animation: heroFloat3 16s ease-in-out infinite;
}
@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1) }
    33% { transform: translate(-30px, 25px) scale(1.04) }
    66% { transform: translate(15px, -15px) scale(.96) }
}
@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1) }
    50% { transform: translate(25px, -30px) scale(1.06) }
}
@keyframes heroFloat3 {
    0%, 100% { transform: translate(-50%, -50%) }
    33% { transform: translate(calc(-50% + 25px), calc(-50% - 15px)) }
    66% { transform: translate(calc(-50% - 15px), calc(-50% + 20px)) }
}

.fm-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.fm-hero__text {
    padding: clamp(2rem, 3vw, 3rem) 0 clamp(3rem, 5vw, 5rem);
}

.fm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.fm-hero__eyebrow span {
    width: 48px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.fm-hero__title {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--cream);
    margin-bottom: clamp(.5rem, 1vw, .75rem);
}
.fm-hero__title em {
    font-style: italic;
    color: var(--gold);
    font-size: .88em;
}

.fm-hero__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(.75rem, 1.5vw, 1.25rem);
    display: flex;
    flex-direction: column;
    gap: clamp(.35rem, .8vw, .6rem);
}
.fm-hero__spec {
    display: flex;
    align-items: center;
    gap: clamp(.6rem, 1vw, .85rem);
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    color: var(--gold);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.fm-hero__spec-dot {
    width: clamp(8px, .7vw, 11px);
    height: clamp(8px, .7vw, 11px);
    border-radius: 50%;
    background: var(--gold);
    opacity: .5;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(201,168,106,.35);
}

.fm-hero__subtitle {
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(250,248,245,.6);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: .01em;
}

.fm-hero__lead {
    font-family: var(--ff-body);
    font-size: var(--fs-lead);
    color: rgba(255,255,255,.58);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.fm-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.fm-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-body);
    color: var(--white);
    font-weight: 700;
    letter-spacing: .04em;
    transition: color .3s;
}
.fm-hero__phone:hover { color: var(--gold) }
.fm-hero__phone svg { color: var(--gold) }

/* Photo with slider + badge */
.fm-hero__photo {
    position: relative;
    align-self: end;
}
.fm-hero__photo::before {
    content: '';
    position: absolute;
    top: 24px; left: -14px;
    right: 14px; bottom: 0;
    border: 1.5px solid rgba(201,168,106,.15);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    pointer-events: none;
    z-index: 0;
}
.fm-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}
.fm-hero__slide:first-child {
    position: relative;
}
.fm-hero__slide.active { opacity: 1 }

.fm-hero__badge {
    position: absolute;
    top: 32px; left: -22px;
    background: var(--gold);
    color: var(--emerald-900);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.fm-hero__badge-num {
    display: block;
    font-family: var(--ff-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}
.fm-hero__badge-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Marquee strip — scrolling specializations */
.fm-hero__strip {
    position: relative;
    z-index: 1;
    background: var(--emerald-800);
    border-top: 1px solid rgba(201,168,106,.12);
    overflow: hidden;
    padding: 18px 0;
}
.fm-hero__marquee {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 50s linear infinite;
    will-change: transform;
}
.fm-hero__marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 clamp(2rem, 3.5vw, 3rem);
    font-family: var(--ff-body);
    font-size: clamp(.85rem, 1.2vw, 1rem);
    font-weight: 600;
    color: rgba(250,248,245,.7);
    white-space: nowrap;
    letter-spacing: .02em;
}
.fm-hero__marquee-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .4;
    flex-shrink: 0;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0) }
    100% { transform: translate3d(-50%, 0, 0) }
}

@media (max-width: 900px) {
    .fm-hero { padding-top: calc(72px + clamp(1rem, 2vw, 1.5rem)) }
    .fm-hero__inner { grid-template-columns: 1fr; text-align: center }
    .fm-hero__text { padding: 1rem 0 2rem }
    .fm-hero__eyebrow { justify-content: center }
    .fm-hero__lead { margin: 0 auto clamp(1.5rem, 2.5vw, 2rem) }
    .fm-hero__specs { align-items: center }
    .fm-hero__actions { justify-content: center }
    .fm-hero__photo::before { display: none }
    .fm-hero__slide,
    .fm-hero__slide:first-child { max-height: 420px }
    .fm-hero__badge { display: none }
    .fm-hero__shape { filter: blur(60px); opacity: .12 }
    .fm-hero__shape--1 { width: 300px; height: 300px }
    .fm-hero__shape--2 { width: 220px; height: 220px }
    .fm-hero__shape--3 { display: none }
}
@media (max-width: 600px) {
    .fm-hero__eyebrow { font-size: 0.6rem; letter-spacing: .2em; gap: 0 }
    .fm-hero__eyebrow span { display: none }
    .fm-hero__title { font-size: clamp(2rem, 9vw, 2.8rem) }
    .fm-hero__spec { font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 500 }
    .fm-hero__subtitle { font-size: 0.75rem; letter-spacing: .04em; margin-bottom: clamp(.5rem, 1vw, .75rem) }
    .fm-hero__actions { flex-direction: column; width: 100%; padding: 0 var(--gutter) }
    .fm-hero__actions .fm-btn { width: 100%; justify-content: center }
    .fm-hero__phone { justify-content: center; width: 100%; padding: 8px 0 }
    .fm-hero__text { padding: 1rem 0 1rem }
}


/* ═══════════════════════════════════════════════════════
   INTRO BAR — trust strip (NOT stats counters)
   ═══════════════════════════════════════════════════════ */
.fm-intro-bar {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: var(--emerald-700);
    border-bottom: 1px solid rgba(201,168,106,.15);
}
.fm-intro-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 56px);
    flex-wrap: wrap;
}
.fm-intro-bar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-body);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255,255,255,.75);
    font-weight: 600;
}
.fm-intro-bar__item svg {
    color: var(--gold);
    opacity: .7;
    flex-shrink: 0;
}
.fm-intro-bar__item strong {
    font-weight: 600;
    color: var(--cream);
}
.fm-intro-bar__sep {
    width: 1px;
    height: 24px;
    background: rgba(201,168,106,.2);
}
@media (max-width: 600px) {
    .fm-intro-bar__inner { gap: 16px }
    .fm-intro-bar__sep { display: none }
}


/* ═══════════════════════════════════════════════════════
   PHILOSOPHY — breathe section
   ═══════════════════════════════════════════════════════ */
.fm-philosophy {
    padding: var(--section-sm) 0;
    background: var(--cream);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.fm-philosophy::before,
.fm-philosophy::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.fm-philosophy::before {
    width: 300px; height: 300px;
    background: var(--gold-pale);
    opacity: .15;
    top: -120px; right: 5%;
}
.fm-philosophy::after {
    width: 250px; height: 250px;
    background: var(--emerald-100);
    opacity: .18;
    bottom: -100px; left: 8%;
}
.fm-philosophy__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}
.fm-philosophy__eyebrow {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.fm-philosophy__quote {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--emerald-700);
    position: relative;
    padding: 0 clamp(16px, 4vw, 64px);
}
.fm-philosophy__quote::before {
    content: '\201C';
    position: absolute;
    top: -.5em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ff-display);
    font-size: clamp(5rem, 10vw, 7rem);
    color: var(--gold);
    opacity: .08;
    line-height: 1;
    pointer-events: none;
}
.fm-philosophy__quote em {
    color: var(--gold-dim);
    font-style: italic;
}
.fm-philosophy__author {
    margin-top: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.fm-philosophy__author::before,
.fm-philosophy__author::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: .3;
}
.fm-philosophy__author span {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    color: var(--text-mid);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════
   ABOUT — asymmetric editorial spread
   ═══════════════════════════════════════════════════════ */
.fm-about {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
    background: var(--white);
    overflow: hidden;
}

/* Two-column layout: photo + content */
.fm-about__layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2.5rem, 4vw, 4rem);
    align-items: center;
}

.fm-about__photo-col { position: relative }
.fm-about__photo-frame {
    position: relative;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
}
.fm-about__photo-frame::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    width: 100%; height: 100%;
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    opacity: .3;
    z-index: 0;
    transition: all .6s var(--ease);
}
.fm-about__photo-frame:hover::before {
    top: -10px; left: -10px;
    opacity: .5;
}
.fm-about__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
}

/* Content column */
.fm-about__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
}
.fm-about__motto {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: var(--gold);
    opacity: .8;
    margin-bottom: -0.5rem;
    letter-spacing: .02em;
}
.fm-about__name {
    font-family: var(--ff-body);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--emerald-700);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.fm-about__name em {
    font-style: normal;
}

.fm-about__text {
    font-size: var(--fs-lead);
    line-height: 1.85;
    color: var(--ink-soft);
}
@media (min-width: 768px) {
    .fm-about__text { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
}
.fm-about__text p { margin-bottom: 16px }
.fm-about__text p:last-child { margin-bottom: 0 }

.fm-about__cta { margin-top: 0 }

/* Legacy compat — techniques (kept for ACF data) */
.fm-about__techniques {
    padding: 20px 0;
    border-top: 1px solid var(--gold);
    margin-bottom: 28px;
}
.fm-about__techniques-label {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 12px;
}
.fm-about__techniques-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    font-family: var(--ff-body);
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.8;
}
.fm-about__techniques-list li { display: inline }
.fm-about__techniques-list li:not(:last-child)::after {
    content: '\2009\00b7\2009';
    color: var(--gold);
    font-weight: 700;
    font-style: normal;
    margin: 0 8px;
}

@media (max-width: 900px) {
    .fm-about__layout { grid-template-columns: 1fr; gap: 32px }
    .fm-about__photo-col { order: 2 }
    .fm-about__photo-frame { max-width: 400px; margin: 0 auto }
    .fm-about__content { order: 1 }
}
@media (max-width: 600px) {
    .fm-about__photo-frame::before { top: -10px; left: -10px }
}


/* ═══════════════════════════════════════════════════════
   SERVICES — dark editorial accordion
   ═══════════════════════════════════════════════════════ */
.fm-services {
    padding: var(--section-sm) 0 var(--section);
    background: var(--emerald-900);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.fm-services::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(201,168,106,.06) 0%, transparent 70%);
    pointer-events: none;
}

.fm-services__header {
    max-width: 720px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.fm-services__eyebrow { color: var(--gold); margin-bottom: 20px }
.fm-services__heading {
    font-family: var(--ff-body);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -.02em;
}
.fm-services__heading em { font-style: normal; color: var(--gold) }

.fm-services__list {
    border-top: 1px solid rgba(201,168,106,.15);
}

.fm-service {
    border-bottom: 1px solid rgba(201,168,106,.12);
}
.fm-service__row {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(20px, 3vw, 28px) 0;
    cursor: pointer;
    transition: background var(--dur);
}
.fm-service__num {
    flex-shrink: 0;
    width: clamp(40px, 6vw, 64px);
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    margin-top: -0.15em;
}
.fm-service__main { flex: 1; min-width: 0 }
.fm-service__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.fm-service__title {
    font-family: var(--ff-body);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.35;
    letter-spacing: .01em;
}
.fm-service__toggle {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    opacity: .5;
    transition: all .4s var(--ease);
}
.fm-service:hover .fm-service__toggle { opacity: 1 }
.fm-service.open .fm-service__toggle { transform: rotate(45deg); opacity: 1 }

.fm-service__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}
.fm-service.open .fm-service__body {
    max-height: 1200px;
}
.fm-service__body p {
    margin-top: 12px;
    font-size: var(--fs-body);
    color: rgba(255,255,255,.65);
    line-height: 1.7;
}
.fm-service__body .fm-btn { margin-top: 16px }

@media (max-width: 600px) {
    .fm-service__row { gap: 14px }
    .fm-service__num { width: 36px; font-size: 1.3rem }
    .fm-service__toggle { width: 44px; height: 44px }
}


/* ═══════════════════════════════════════════════════════
   SPECIALIZATIONS PAGE — card grid on white
   ═══════════════════════════════════════════════════════ */
.fm-spec {
    padding: var(--section) 0;
    background: var(--white);
}
.fm-spec__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 32px);
}
.fm-spec__card {
    position: relative;
    padding: clamp(28px, 4vw, 40px);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .4s var(--ease);
    overflow: hidden;
}
.fm-spec__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--emerald-400));
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.fm-spec__card:hover {
    border-color: rgba(201,168,106,.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.fm-spec__card:hover::before { opacity: 1 }

.fm-spec__card-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-700);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}
.fm-spec__card-icon img {
    width: 32px; height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.fm-spec__card-icon svg {
    width: 26px; height: 26px;
    color: var(--gold);
}
.fm-spec__card-num {
    position: absolute;
    top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px);
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--emerald-100);
    line-height: 1;
}
.fm-spec__card-title {
    font-family: var(--ff-body);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
}
.fm-spec__card-desc {
    font-size: var(--fs-body);
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 12px;
}
.fm-spec__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gold-dark);
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    transition: color .2s var(--ease);
}
.fm-spec__toggle svg {
    transition: transform .3s var(--ease);
}
.fm-spec__toggle:hover { color: var(--emerald-700); }
.fm-spec__toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}
.fm-spec__card-body {
    font-size: var(--fs-body);
    color: var(--ink-soft);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .3s var(--ease);
    margin-top: 0;
}
.fm-spec__card-body.open {
    max-height: 800px;
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.fm-spec__card-body p { margin-bottom: 10px }
.fm-spec__card-body p:last-child { margin-bottom: 0 }
.fm-spec__card-body ul { list-style: disc; padding-left: 1.25em; margin-bottom: 12px }
.fm-spec__card-body li { margin-bottom: 4px; color: var(--text) }
.fm-spec__card-body li::marker { color: var(--emerald-400) }
.fm-spec__cta { margin-top: 20px; }

.fm-service__body ul { list-style: disc; padding-left: 1.25em; margin-bottom: 12px }
.fm-service__body li { margin-bottom: 4px; color: rgba(250,248,245,.8) }
.fm-service__body li::marker { color: var(--gold) }

.fm-spec__card .fm-btn--ghost {
    margin-top: auto;
    color: var(--emerald-700);
}

@media (max-width: 768px) {
    .fm-spec__grid { grid-template-columns: 1fr }
}


/* ═══════════════════════════════════════════════════════
   GALLERY — masonry mosaic with hover overlay
   ═══════════════════════════════════════════════════════ */
.fm-gallery {
    padding: var(--section-sm) 0;
    background: var(--cream);
    overflow: hidden;
}
.fm-gallery__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    flex-wrap: wrap;
}
.fm-gallery__heading {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: var(--fs-h2);
    font-weight: 500;
    color: var(--emerald-700);
}

/* Masonry columns — clean mosaic */
.fm-gallery__grid {
    columns: 3;
    column-gap: clamp(12px, 1.5vw, 18px);
}
.fm-gallery__item {
    display: block;
    break-inside: avoid;
    margin-bottom: clamp(12px, 1.5vw, 18px);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform .4s var(--ease), box-shadow .4s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fm-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(31,61,43,.15);
}
.fm-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s var(--ease);
}
.fm-gallery__item:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) { .fm-gallery__grid { columns: 2 } }
@media (max-width: 480px) { .fm-gallery__grid { columns: 2; column-gap: 8px } .fm-gallery__item { margin-bottom: 8px; border-radius: 8px } }

/* Lightbox */
.fm-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(12,26,16,.92);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s var(--ease);
}
.fm-lightbox.active { display: flex; opacity: 1 }
.fm-lightbox__close {
    position: absolute; top: 20px; right: 20px;
    color: var(--cream); width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(250,248,245,.1); border-radius: 50%;
    transition: background .2s;
}
.fm-lightbox__close:hover { background: rgba(250,248,245,.2) }
.fm-lightbox__prev,
.fm-lightbox__next {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: var(--cream); font-size: 3rem; line-height: 1;
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    background: rgba(250,248,245,.08); border-radius: 50%;
    transition: background .2s; font-family: var(--ff-body);
}
.fm-lightbox__prev { left: 20px }
.fm-lightbox__next { right: 20px }
.fm-lightbox__prev:hover,
.fm-lightbox__next:hover { background: rgba(250,248,245,.18) }
.fm-lightbox__img-wrap {
    max-width: 90vw; max-height: 85vh;
    display: flex; align-items: center; justify-content: center;
}
.fm-lightbox__img {
    max-width: 100%; max-height: 85vh;
    object-fit: contain; border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}


/* ═══════════════════════════════════════════════════════
   LOCATIONS — horizontal cards with maps
   ═══════════════════════════════════════════════════════ */
.fm-locations {
    padding: var(--section) 0;
    background: var(--cream);
}
.fm-locations__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.fm-locations__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-display);
    font-weight: 500;
    font-style: italic;
    color: var(--emerald-700);
    letter-spacing: -.02em;
}

.fm-loc-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 28px);
    max-width: 1060px;
    margin: 0 auto;
}

.fm-loc {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.fm-loc:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.fm-loc__map {
    min-height: 280px;
    background: var(--emerald-100);
    overflow: hidden;
    border-right: 1px solid var(--border);
}
.fm-loc__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(.85) contrast(1.05);
}

.fm-loc__content {
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
}
.fm-loc__city {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--emerald-700);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.fm-loc__name {
    font-family: var(--ff-body);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 8px;
    line-height: 1.15;
}
.fm-loc__address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-body);
    color: var(--ink);
    font-weight: 600;
    margin-bottom: clamp(16px, 2vw, 20px);
    line-height: 1.5;
}
.fm-loc__address svg {
    flex-shrink: 0;
    color: var(--gold);
    opacity: .6;
}

.fm-loc__meta {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    margin-bottom: clamp(16px, 2vw, 24px);
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.fm-loc__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.fm-loc__meta-item svg {
    color: var(--gold);
    opacity: .6;
    margin-top: 2px;
    flex-shrink: 0;
}
.fm-loc__meta-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-mid);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}
.fm-loc__meta-value {
    display: block;
    font-family: var(--ff-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-700);
    margin-top: 2px;
}
.fm-loc__meta-value small {
    font-size: .7em;
    color: var(--text-mid);
    font-style: normal;
    font-family: var(--ff-body);
    font-weight: 600;
    letter-spacing: .05em;
}

.fm-loc__hours {
    margin-bottom: clamp(16px, 2vw, 24px);
    padding: 16px 0 0;
}
.fm-loc__hours-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-mid);
    margin-bottom: 12px;
}
.fm-loc__hours-label svg {
    color: var(--gold);
    opacity: .6;
}
.fm-loc__hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
}
.fm-loc__hours-day {
    font-size: var(--fs-sm);
    color: var(--text-mid);
    font-weight: 500;
}
.fm-loc__hours-time {
    font-size: var(--fs-sm);
    color: var(--emerald-700);
    font-weight: 700;
    text-align: right;
}

.fm-loc__actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.fm-loc__btn {
    flex: 1;
    justify-content: center;
    padding: 14px 24px;
    font-size: var(--fs-sm);
}

.fm-loc__home-visit {
    max-width: 100%;
    margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
    padding: clamp(2rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
    background: var(--emerald-700);
    border: 1px solid rgba(201,168,106,.25);
    border-radius: 16px;
    text-align: center;
}
.fm-loc__home-visit-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: clamp(1rem, 1.5vw, 1.25rem);
}
.fm-loc__home-visit-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,168,106,.15);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
}
.fm-loc__home-visit-title {
    font-family: var(--ff-display);
    font-size: clamp(1.35rem, 1.8vw, 1.6rem);
    font-style: italic;
    color: var(--gold);
    margin: 0;
}
.fm-loc__home-visit-text {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.75;
    color: var(--cream);
    opacity: .85;
    margin: 0 auto clamp(1rem, 1.5vw, 1.25rem);
    max-width: 600px;
}
.fm-loc__home-visit-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 16px);
    flex-wrap: wrap;
}
.fm-loc__home-visit-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(201,168,106,.12);
    border: 1px solid rgba(201,168,106,.25);
    border-radius: 100px;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .02em;
}

@media (max-width: 768px) {
    .fm-loc { grid-template-columns: 1fr }
    .fm-loc__map { min-height: 200px }
    .fm-loc__actions { flex-direction: column }
    .fm-loc__btn { width: 100%; text-align: center }
}


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS — opinie pacjentów
   ═══════════════════════════════════════════════════════ */
.fm-testimonials {
    padding: var(--section-sm) 0;
    background: var(--cream);
    overflow: hidden;
}
.fm-testimonials__header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.fm-testimonials__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    font-weight: 500;
    font-style: italic;
    color: var(--emerald-700);
    margin: 12px 0 16px;
}
.fm-testimonials__sub {
    font-size: var(--fs-body);
    color: var(--text-mid);
}

/* Carousel */
.fm-testimonials__carousel {
    position: relative;
    padding: 0 clamp(1rem, 3vw, 3rem);
}
.fm-testimonials__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0 16px;
}
.fm-testimonials__track::-webkit-scrollbar { display: none; }

.fm-testimonials__card {
    flex: 0 0 calc(20% - 16px);
    min-width: 240px;
    background: var(--white);
    border-radius: 10px;
    padding: clamp(1.1rem, 2vw, 1.4rem);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-snap-align: start;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.fm-testimonials__card:hover {
    box-shadow: 0 8px 30px rgba(31,61,43,.1);
    transform: translateY(-3px);
}
.fm-testimonials__stars {
    display: flex;
    gap: 1px;
    color: var(--gold);
}
.fm-testimonials__stars svg { width: 13px; height: 13px; }
.fm-testimonials__text {
    font-size: .88rem;
    line-height: 1.65;
    color: var(--ink-soft);
    flex: 1;
    margin: 0;
    quotes: "\201E" "\201D";
}
.fm-testimonials__text::before { content: open-quote; font-size: 1.2em; color: var(--gold); }
.fm-testimonials__text::after { content: close-quote; font-size: 1.2em; color: var(--gold); }
.fm-testimonials__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 12px;
}
.fm-testimonials__author {
    font-weight: 600;
    font-size: .9rem;
    color: var(--emerald-700);
}
.fm-testimonials__source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.fm-testimonials__source--google {
    background: #f1f3f4;
    color: #4285F4;
}
.fm-testimonials__source--znanylekarz {
    background: #e6f7ef;
    color: #00b67a;
}

/* Nav arrows */
.fm-testimonials__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: clamp(1.5rem, 2.5vw, 2rem);
}
.fm-testimonials__nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s var(--ease);
}
.fm-testimonials__nav:hover {
    background: var(--emerald-700);
    color: var(--cream);
    border-color: var(--emerald-700);
}

@media (max-width: 1024px) {
    .fm-testimonials__card { flex: 0 0 calc(28% - 14px); min-width: 220px; }
}
@media (max-width: 768px) {
    .fm-testimonials__card { flex: 0 0 calc(42% - 10px); min-width: 200px; }
}
@media (max-width: 500px) {
    .fm-testimonials__card { flex: 0 0 78%; min-width: 0; }
    .fm-testimonials__carousel { padding: 0 1rem; }
}

/* ═══════════════════════════════════════════════════════
   CTA FINAL — dark dramatic
   ═══════════════════════════════════════════════════════ */
.fm-cta {
    padding: var(--section-sm) 0;
    background: var(--emerald-700);
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fm-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31,61,43,.88) 0%, rgba(12,26,16,.92) 100%);
    z-index: 0;
}
.fm-cta__inner {
    position: relative; z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.fm-cta__eyebrow {
    color: var(--gold);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.fm-cta__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-h1);
    font-weight: 500;
    font-style: italic;
    color: var(--cream);
    line-height: 1.05;
    letter-spacing: -.025em;
    margin-bottom: clamp(.75rem, 1.5vw, 1rem);
}
.fm-cta__heading em { font-style: normal; color: var(--gold) }
.fm-cta__sub {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: rgba(255,255,255,.55);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    max-width: 480px;
    margin-left: auto; margin-right: auto;
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════
   FOOTER — minimal dark
   ═══════════════════════════════════════════════════════ */
.fm-footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,.7);
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
}
.fm-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .7fr;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.fm-footer__logo {
    height: 72px;
    width: auto;
    margin-bottom: 20px;
}
.fm-footer__desc {
    font-family: var(--ff-body);
    font-size: 1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
    max-width: 340px;
}
.fm-footer__heading {
    font-family: var(--ff-body);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.fm-footer__heading::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--gold);
    opacity: .4;
}
.fm-footer__location {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.72);
    line-height: 1.6;
    margin-bottom: 14px;
}
.fm-footer__location strong {
    display: block;
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .82;
    margin-bottom: 2px;
}
.fm-footer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.72);
    margin-bottom: 12px;
    transition: color .25s;
}
.fm-footer__link:visited, .fm-footer a:visited { color: rgba(255,255,255,.72) !important }
.fm-footer__link:hover, .fm-footer__link:visited:hover { color: var(--gold) !important }
.fm-footer__link svg { flex-shrink: 0; color: var(--gold); opacity: .5 }

.fm-footer__social { display: flex; gap: 10px }
.fm-footer__social-link {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,168,106,.2);
    border-radius: 50%;
    color: rgba(255,255,255,.5);
    transition: all .35s var(--ease);
}
.fm-footer__social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.fm-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(201,168,106,.08);
    font-size: var(--fs-micro);
    color: rgba(255,255,255,.6);
    letter-spacing: .04em;
}
.fm-footer__bottom a { color: var(--gold); opacity: .75; transition: opacity .3s }
.fm-footer__bottom a:hover { opacity: 1 }
.fm-footer__sep { margin: 0 10px; opacity: .3; color: var(--gold) }

@media (max-width: 768px) {
    .fm-footer { padding: 2rem 0 1rem }
    .fm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    /* Hide logo+desc column on mobile */
    .fm-footer__grid > div:first-child { display: none }
    .fm-footer__heading {
        justify-content: center;
        margin-bottom: 12px;
        font-size: .65rem;
    }
    .fm-footer__heading::before { display: none }
    .fm-footer__link { justify-content: center; font-size: var(--fs-xs); margin-bottom: 8px }
    .fm-footer__social { justify-content: center }
    .fm-footer__location { font-size: var(--fs-xs); margin-bottom: 8px; line-height: 1.5 }
    .fm-footer__location strong { font-size: .6rem; margin-bottom: 1px }
    .fm-footer__bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        font-size: var(--fs-micro);
        padding-top: 1rem;
    }
}
@media (max-width: 480px) {
    .fm-footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ═══ UTILITIES ═══ */

/* Floating phone CTA */
.fm-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 900;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-700);
    color: var(--gold);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--gold);
    opacity: 0; visibility: hidden;
    transition: all .4s var(--ease);
}
.fm-float.visible { opacity: 1; visibility: visible }
.fm-float:hover {
    background: var(--gold);
    color: var(--emerald-900);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201,168,106,.3);
}

/* Scroll to top */
.fm-top {
    position: fixed;
    bottom: 24px; left: 24px;
    z-index: 900;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-700);
    color: var(--gold);
    border-radius: 50%;
    opacity: 0; visibility: hidden;
    transition: all .3s;
}
.fm-top.visible { opacity: .5; visibility: visible }
.fm-top:hover { opacity: 1 }

/* Cookies */
.fm-cookies {
    position: fixed;
    bottom: 16px; left: 16px; right: 16px;
    z-index: 5000;
    background: var(--emerald-900);
    color: var(--cream);
    border-radius: var(--radius-lg);
    transform: translateY(calc(100% + 32px));
    transition: transform .5s var(--ease);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,168,106,.15);
    max-width: 640px;
    margin: 0 auto;
}
.fm-cookies.visible { transform: none }
.fm-cookies__inner {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.fm-cookies p {
    flex: 1;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    min-width: 200px;
}
.fm-cookies__actions { display: flex; align-items: center; gap: 14px }
.fm-cookies__link {
    font-size: var(--fs-micro);
    text-decoration: underline;
    color: rgba(255,255,255,.7);
}

/* Location modal */
.fm-modal {
    position: fixed; inset: 0;
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    pointer-events: none;
    transition: all .35s var(--ease);
}
.fm-modal.active { opacity: 1; visibility: visible; pointer-events: auto }
.fm-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(12,26,16,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fm-modal__dialog {
    position: relative;
    background: var(--white);
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    transform: translateY(20px) scale(.97);
    transition: transform .5s var(--ease);
    border-top: 3px solid var(--gold);
    box-shadow: 0 24px 64px rgba(12,26,16,.25);
}
.fm-modal.active .fm-modal__dialog { transform: none }
.fm-modal__close {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 10;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--text-mid);
    background: rgba(255,255,255,.9);
    transition: all .25s;
}
.fm-modal__close:hover { color: var(--emerald-700); background: var(--cream) }

.fm-modal__panel { display: none }
.fm-modal__panel[style*="display:block"],
.fm-modal__panel[style*="display: block"] { display: block }

.fm-modal__map {
    width: 100%;
    height: 240px;
    background: var(--emerald-100);
    overflow: hidden;
}
.fm-modal__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(.85) contrast(1.05);
}

.fm-modal__info {
    padding: clamp(1.25rem, 3vw, 1.75rem);
}
.fm-modal__title {
    font-family: var(--ff-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: 16px;
    line-height: 1.15;
}

.fm-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.fm-modal__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    line-height: 1.5;
}
.fm-modal__meta-row svg {
    flex-shrink: 0;
    color: var(--gold);
    opacity: .6;
}
.fm-modal__meta-row--price strong {
    font-family: var(--ff-body);
    font-size: 1.2rem;
    color: var(--emerald-700);
}

.fm-modal__hours {
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}
.fm-modal__hours-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-mid);
    margin-bottom: 10px;
}
.fm-modal__hours-label svg { color: var(--gold); opacity: .6; }
.fm-modal__hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 14px;
}
.fm-modal__hours-day {
    font-size: var(--fs-sm);
    color: var(--text-mid);
    font-weight: 500;
}
.fm-modal__hours-time {
    font-size: var(--fs-sm);
    color: var(--emerald-700);
    font-weight: 700;
    text-align: right;
}

.fm-modal__actions {
    display: flex;
    gap: 10px;
}
.fm-modal__nav-btn,
.fm-modal__book-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.7rem;
}

.fm-modal__tabs {
    display: flex;
    border-top: 1px solid var(--border);
}
.fm-modal__tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-mid);
    cursor: pointer;
    transition: all .25s;
    border-right: 1px solid var(--border);
}
.fm-modal__tab:last-child { border-right: none }
.fm-modal__tab svg { color: var(--gold); opacity: .5 }
.fm-modal__tab:hover { background: var(--cream); color: var(--emerald-700) }
.fm-modal__tab.active {
    background: var(--emerald-700);
    color: var(--cream);
}
.fm-modal__tab.active svg { color: var(--gold); opacity: 1 }

@media (max-width: 600px) {
    .fm-modal { padding: 12px }
    .fm-modal__actions { flex-direction: column }
    .fm-cookies { bottom: 0; left: 0; right: 0; border-radius: 0; border: none; max-width: none }
    .fm-cookies__inner { padding: 10px 16px; gap: 8px; flex-direction: row; align-items: center; flex-wrap: nowrap }
    .fm-cookies p { font-size: .7rem; line-height: 1.4; min-width: 0; flex: 1 }
    .fm-cookies__actions { gap: 8px; flex-shrink: 0 }
    .fm-cookies__link { font-size: .6rem }
    .fm-cookies .fm-btn { padding: 8px 16px !important; font-size: .6rem !important; width: auto }
    .fm-float { bottom: 20px; right: 20px }
}

/* Page banner (subpages) */
.fm-banner {
    padding: calc(var(--header-total) + clamp(0.5rem, 2vw, 5rem)) 0 clamp(1.5rem, 4vw, 5rem);
    background: var(--emerald-900);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fm-banner::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .3;
}
.fm-banner__eyebrow {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.fm-banner__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-display);
    font-weight: 500;
    font-style: italic;
    color: var(--cream);
    letter-spacing: -.02em;
}
.fm-banner__sub {
    font-family: var(--ff-body);
    font-size: var(--fs-lead);
    color: rgba(255,255,255,.55);
    max-width: 500px;
    margin: 18px auto 0;
    line-height: 1.55;
}
.fm-banner__sub--pwz {
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
    margin-top: 6px;
}

/* ═══ PWZ BADGE (homepage about) ═══ */
.fm-pwz-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-800));
    border: 1px solid rgba(201,168,106,.25);
    border-radius: 100px;
    padding: 10px 22px;
    margin-top: 20px;
}
.fm-pwz-badge__icon {
    width: 28px; height: 28px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fm-pwz-badge__icon svg { color: var(--emerald-800) }
.fm-pwz-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.fm-pwz-badge__label {
    font-size: .65rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(201,168,106,.7);
    font-weight: 600;
}
.fm-pwz-badge__value {
    font-size: .95rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: .02em;
}

/* Small variant (homepage about) */
.fm-pwz-badge--sm {
    padding: 6px 14px;
    gap: 7px;
    margin: 0;
    font-size: .85rem;
    align-self: flex-start;
}
.fm-pwz-badge--sm .fm-pwz-badge__icon {
    width: 22px; height: 22px;
}
.fm-pwz-badge--sm .fm-pwz-badge__label {
    font-size: .55rem;
    letter-spacing: .12em;
}
.fm-pwz-badge--sm .fm-pwz-badge__value {
    font-size: .8rem;
}

/* Education section — alternating left/right timeline */
/* ═══ EDUCATION — glass card grid ═══ */
.fm-education {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: linear-gradient(170deg, var(--emerald-800) 0%, var(--emerald-700) 40%, #1a3526 100%);
    color: var(--cream);
    overflow: hidden;
    position: relative;
}
.fm-education__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    position: relative;
}
.fm-education .fm-eyebrow--line { color: var(--gold) }
.fm-education .fm-eyebrow--line::before,
.fm-education .fm-eyebrow--line::after { background: var(--gold); opacity: .4 }
.fm-education__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    font-style: italic;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 12px;
}
.fm-education__sub {
    font-size: var(--fs-body);
    color: rgba(250,248,245,.55);
}

.fm-education__list {
    max-width: 960px;
    margin: 0 auto;
    columns: 2;
    column-gap: clamp(2.5rem, 4vw, 4rem);
}
.fm-education__item {
    display: flex;
    align-items: baseline;
    gap: clamp(12px, 1.5vw, 18px);
    padding: clamp(14px, 1.6vw, 18px) 0;
    border-bottom: 1px solid rgba(201,168,106,.1);
    break-inside: avoid;
    transition: border-color .3s var(--ease);
}
.fm-education__item:hover {
    border-color: rgba(201,168,106,.35);
}
.fm-education__item--expanded {
    break-inside: avoid;
}
.fm-education__num {
    font-family: var(--ff-display);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 600;
    font-style: italic;
    color: var(--gold);
    opacity: .35;
    flex-shrink: 0;
    min-width: 28px;
    line-height: 1;
    transition: opacity .3s var(--ease);
}
.fm-education__item:hover .fm-education__num {
    opacity: .7;
}
.fm-education__body {
    flex: 1;
    min-width: 0;
}
.fm-education__name {
    font-size: var(--fs-body);
    color: rgba(250,248,245,.92);
    line-height: 1.55;
    letter-spacing: .01em;
}
.fm-education__subs {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.fm-education__subs li {
    position: relative;
    font-size: .88rem;
    color: rgba(250,248,245,.55);
    line-height: 1.55;
    padding-left: 14px;
    margin-bottom: 3px;
}
.fm-education__subs li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .3;
}

@media (max-width: 768px) {
    .fm-education__list { columns: 1; max-width: 560px; }
}

/* ═══ CERTIFICATES — white standalone section ═══ */
.fm-certs-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.fm-certs-section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}
.fm-certs-section__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    font-style: italic;
    font-weight: 500;
    color: var(--emerald-700);
    letter-spacing: -.01em;
    margin-bottom: 12px;
}
.fm-certs-section__sub {
    font-size: var(--fs-body);
    color: var(--text-mid);
    line-height: 1.6;
}
/* Carousel wrapper — full bleed */
.fm-certs-section__carousel {
    position: relative;
    overflow: hidden;
}
.fm-certs-section__carousel::before,
.fm-certs-section__carousel::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.fm-certs-section__carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}
.fm-certs-section__carousel::after {
    right: 0;
    background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}
/* Scrollable track */
.fm-certs__track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: auto; /* JS controls smooth/auto dynamically */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 80px 28px;
    cursor: grab;
    user-select: none;
}
.fm-certs__track.dragging {
    scroll-behavior: auto;
    cursor: grabbing;
}
.fm-certs__track::-webkit-scrollbar { display: none }
/* Individual cert card */
.fm-certs__item {
    flex: 0 0 auto;
    width: 260px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
    cursor: pointer;
    position: relative;
}
.fm-certs__item::after {
    content: '🔍';
    position: absolute;
    bottom: 10px; right: 10px;
    width: 32px; height: 32px;
    background: var(--emerald-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    z-index: 3;
}
.fm-certs__item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 20px 48px rgba(31,61,43,.15);
    z-index: 1;
}
.fm-certs__item:hover::after { opacity: 1 }
.fm-certs__item img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}
/* Navigation: arrows + dots */
.fm-certs__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
    padding-bottom: 8px;
}
.fm-certs__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--emerald-700);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all .3s var(--ease);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(31,61,43,.2);
}
.fm-certs__nav-btn:hover {
    background: var(--emerald-800);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(31,61,43,.3);
}
.fm-certs__nav-btn:active {
    transform: scale(.94);
}
.fm-certs__nav-btn svg { width: 20px; height: 20px }
/* Dots indicator */
.fm-certs__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.fm-certs__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(31,61,43,.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .3s var(--ease);
}
.fm-certs__dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--emerald-700);
}
@media (max-width: 768px) {
    .fm-certs__item { width: 220px }
    .fm-certs__track { gap: 18px; padding: 12px 40px 20px }
    .fm-certs-section__carousel::before,
    .fm-certs-section__carousel::after { width: 60px }
    .fm-certs__nav-btn { width: 44px; height: 44px }
}
@media (max-width: 480px) {
    .fm-certs__item { width: 180px }
    .fm-certs-section__carousel::before,
    .fm-certs-section__carousel::after { width: 40px }
    .fm-certs__track { padding: 8px 24px 16px; gap: 14px }
}

/* ═══ CERT LIGHTBOX ═══ */
.fm-cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(12,26,16,.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.fm-cert-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.fm-cert-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    transform: scale(.9);
    transition: transform .3s var(--ease);
}
.fm-cert-lightbox.active .fm-cert-lightbox__img {
    transform: scale(1);
}
.fm-cert-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201,168,106,.2);
    border: 1px solid rgba(201,168,106,.4);
    color: var(--gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.fm-cert-lightbox__close:hover { background: rgba(201,168,106,.4) }
.fm-cert-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201,168,106,.15);
    border: 1px solid rgba(201,168,106,.3);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.fm-cert-lightbox__nav:hover { background: rgba(201,168,106,.3) }
.fm-cert-lightbox__nav--prev { left: 20px }
.fm-cert-lightbox__nav--next { right: 20px }

/* ═══ VOUCHER PAGE ═══ */
.fm-voucher { padding: clamp(3.5rem, 6vw, 5rem) 0 }
.fm-voucher__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.fm-voucher__photo { border-radius: 16px; overflow: hidden }
.fm-voucher__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.fm-voucher__placeholder {
    background: var(--cream);
    border: 2px dashed rgba(201,168,106,.3);
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
    color: var(--gold);
}
.fm-voucher__placeholder p { margin-top: 12px; font-size: .9rem; opacity: .6 }
.fm-voucher__heading {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    color: var(--emerald-700);
    margin-bottom: 20px;
}
.fm-voucher__desc p {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 14px;
}
.fm-voucher__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}
.fm-voucher__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid rgba(201,168,106,.15);
}
.fm-voucher__feature svg { color: var(--gold); flex-shrink: 0; margin-top: 2px }
.fm-voucher__feature strong {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--emerald-700);
    margin-bottom: 2px;
}
.fm-voucher__feature span { font-size: .9rem; color: var(--ink) }
.fm-voucher__how-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-700);
    margin: 28px 0 12px;
}
.fm-voucher__steps {
    list-style: decimal;
    padding-left: 1.5em;
    margin-bottom: 28px;
}
.fm-voucher__steps li {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--ink);
    padding: 4px 0;
}
.fm-voucher__steps li::marker { color: var(--gold); font-weight: 700 }
.fm-voucher__actions { display: flex; gap: 12px; flex-wrap: wrap }
@media (max-width: 768px) {
    .fm-voucher__grid { grid-template-columns: 1fr }
    .fm-voucher__content { order: 1 }
    .fm-voucher__photo { order: 2 }
    .fm-voucher__features { grid-template-columns: 1fr }
    .fm-voucher__actions { flex-direction: column }
    .fm-voucher__actions .fm-btn { width: 100%; justify-content: center }
}

/* Contact page — info + form layout */
.fm-kontakt {
    padding: var(--section) 0;
    background: var(--white);
}
.fm-kontakt__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.fm-kontakt__heading {
    font-family: var(--ff-body);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--emerald-700);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.fm-kontakt__items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.fm-kontakt__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: color .25s;
}
.fm-kontakt__item:first-child { border-top: 1px solid var(--border) }
.fm-kontakt__item:hover { color: var(--emerald-700) }
.fm-kontakt__item-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-700);
    color: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}
.fm-kontakt__item-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-dim);
}
.fm-kontakt__item-value {
    display: block;
    font-family: var(--ff-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-700);
    margin-top: 2px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.fm-kontakt__gabinety {
    padding: 20px 24px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.fm-kontakt__gabinet-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-body);
    color: var(--ink-soft);
    line-height: 1.5;
}
.fm-kontakt__gabinet-item:last-child { border-bottom: none; padding-bottom: 0 }
.fm-kontakt__gabinet-item:first-child { padding-top: 0 }
.fm-kontakt__gabinet-item strong {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--emerald-700);
}

.fm-kontakt__hours {
    padding: 20px 24px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.fm-kontakt__hours-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 10px;
}
.fm-kontakt__hours-title svg { color: var(--gold); opacity: .6 }
.fm-kontakt__hours p {
    font-size: var(--fs-body);
    color: var(--ink-soft);
    line-height: 1.7;
}

.fm-kontakt__form-wrap {
    background: var(--cream);
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.fm-kontakt__form-sub {
    font-size: var(--fs-body);
    color: var(--text-mid);
    margin-bottom: clamp(20px, 3vw, 28px);
    font-style: italic;
}

/* Form elements */
.fm-form__honey { position: absolute; left: -9999px; opacity: 0 }
.fm-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fm-form__field { margin-bottom: 18px }
.fm-form__label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.fm-form__input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transition: border-color .25s, box-shadow .25s;
    outline: none;
}
.fm-form__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,106,.12);
}
.fm-form__input::placeholder { color: var(--text-light) }
.fm-form__textarea { resize: vertical; min-height: 120px }

.fm-form__consent {
    margin-bottom: 24px;
}
.fm-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--fs-xs);
    color: var(--text-mid);
    line-height: 1.55;
    cursor: pointer;
}
.fm-form__checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--emerald-700);
}

.fm-form__submit {
    width: 100%;
    justify-content: center;
    padding: 16px 36px;
}
.fm-form__submit:disabled {
    opacity: .6;
    cursor: wait;
}

.fm-form__status {
    margin-top: 16px;
    font-size: var(--fs-sm);
    text-align: center;
    min-height: 24px;
}
.fm-form__status--ok { color: var(--emerald-600); font-weight: 600 }
.fm-form__status--err { color: #c0392b; font-weight: 600 }

@media (max-width: 768px) {
    .fm-kontakt__grid { grid-template-columns: 1fr }
    .fm-form__row { grid-template-columns: 1fr }
}

/* Legacy contact cards */
.fm-contact {
    padding: var(--section-sm) 0;
    background: var(--white);
}
.fm-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.fm-contact__card {
    background: var(--cream);
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--border);
    transition: all .35s var(--ease);
}
.fm-contact__card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.fm-contact__card-eyebrow {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 8px;
}
.fm-contact__card-value {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--emerald-700);
    transition: color .25s;
    overflow-wrap: break-word;
    word-break: break-word;
}
.fm-contact__card-value:hover { color: var(--gold-dim) }
@media (max-width: 600px) {
    .fm-contact__grid { grid-template-columns: 1fr }
}


/* ═══ ANIMATIONS ═══ */
.fm-anim {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.fm-anim.visible { opacity: 1; transform: none }

.fm-anim--delay-1 { transition-delay: 100ms }
.fm-anim--delay-2 { transition-delay: 200ms }
.fm-anim--delay-3 { transition-delay: 300ms }

/* ═══ CONTENT VISIBILITY (speed) ═══ */
.fm-about,
.fm-services,
.fm-testimonials,
.fm-gallery,
.fm-locations,
.fm-cta,
.fm-footer,
.fm-education,
.fm-certs-section,
.fm-contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ═══ PAGE CONTENT (polityka prywatnosci etc) ═══ */
.fm-page-content {
    padding: var(--section-sm) 0;
    background: var(--cream);
}
.fm-page-content .fm-wrap {
    max-width: 1100px;
}
.fm-page-content h1, .fm-page-content h2, .fm-page-content h3 {
    font-family: var(--ff-body);
    color: var(--emerald-700);
    margin: 1.8em 0 .6em;
    font-weight: 700;
}
.fm-page-content h2 { font-size: var(--fs-h3) }
.fm-page-content h3 { font-size: 1.1rem }
.fm-page-content p, .fm-page-content li {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: .8em;
}
.fm-page-content ul, .fm-page-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.fm-page-content a {
    color: var(--emerald-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.fm-page-content strong { color: var(--ink) }

/* ═══ FOCUS / A11Y ═══ */
.fm-skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100000;
    padding: 12px 24px;
    background: var(--emerald-700);
    color: var(--cream);
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
}
.fm-skip-link:focus {
    top: 8px;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .fm-anim { opacity: 1; transform: none }
}
@media print {
    .fm-header, .fm-mobile, .fm-float, .fm-top, .fm-cookies, .fm-preloader,
    .fm-social-bar, .fm-lightbox, .fm-modal, .fm-topbar { display: none !important }
    body { color: #000; background: #fff }
    a[href]::after { content: ' (' attr(href) ')'; font-size: .8em; color: #555 }
    .fm-btn::after { display: none }
}
