/* =====================================================================
   MANAWA FLOW — FILOZOFIA (includes/marka.php) (2026-09-29)

   Wczytywana po home.css, omnie.css i oferta.css. Własne elementy:
   koło siedmiu zasad w scenie, cytat otwierający, rozkłady tekst +
   zdjęcie, metoda i Huna na graficie, geneza, misja, manifest,
   dziesięć filarów i książka. Bez ikon — skala, światło i złota kreska.
   ===================================================================== */

/* --- 1. Scena: koło siedmiu zasad ------------------------------------- */
.mfp-wheel {
    position: relative;
    width: min(100%, 540px);
    margin-inline: auto;
    aspect-ratio: 1;
}
.mfp-wheel svg { width: 100%; height: 100%; overflow: visible; }
.mfp-wheel-spin { transform-origin: 260px 260px; animation: mfhObrot 70s linear infinite; }
.mfp-wheel:hover .mfp-wheel-spin { animation-play-state: paused; }
.mfp-wheel-ring { stroke: rgba(253, 197, 0, 0.24); stroke-width: 1; }
.mfp-wheel-ring--outer { stroke-dasharray: 60 6 2 6; }
.mfp-wheel-ring--dash { stroke: rgba(246, 244, 239, 0.14); stroke-dasharray: 2 8; }
.mfp-wheel-node { fill: var(--mfh-ink); stroke: rgba(253, 197, 0, 0.7); stroke-width: 1.4; }
.mfp-wheel-node.is-accent { fill: var(--mfh-gold); }
.mfp-wheel-word {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    fill: var(--mfh-paper);
    text-anchor: middle;
}
.mfp-wheel-word.is-accent {
    fill: var(--mfh-gold);
    font-weight: 500;
    font-size: 17px;
    transform-box: fill-box;
    transform-origin: center;
    animation: mfpPuls 2.8s ease-in-out infinite;
}
.mfp-wheel-node.is-accent {
    transform-box: fill-box;
    transform-origin: center;
    animation: mfpPuls 2.8s ease-in-out infinite;
}
/* Manawa pulsuje: rośnie, jaśnieje i zostawia złotą poświatę */
@keyframes mfpPuls {
    0%, 100% { transform: scale(1);    opacity: 0.85; filter: drop-shadow(0 0 0 rgba(253, 197, 0, 0)); }
    50%      { transform: scale(1.18); opacity: 1;    filter: drop-shadow(0 0 10px rgba(253, 197, 0, 0.85)); }
}
/* Fala rozchodząca się wokół słowa — dwie, przesunięte w czasie */
.mfp-wheel-halo {
    fill: none;
    stroke: rgba(253, 197, 0, 0.6);
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: mfpFala 2.8s ease-out infinite;
}
.mfp-wheel-halo--late { animation-delay: 1.4s; }
@keyframes mfpFala {
    from { transform: scale(0.5); opacity: 0.9; }
    to   { transform: scale(1.9); opacity: 0; }
}
.mfp-wheel-glow {
    fill: rgba(253, 197, 0, 0.08);
    transform-box: fill-box;
    transform-origin: center;
    animation: mfhOddech 8s ease-in-out infinite;
}
.mfp-wheel-inner { fill: rgba(11, 11, 18, 0.55); stroke: rgba(253, 197, 0, 0.45); stroke-width: 1; }
.mfp-wheel-flower {
    stroke: var(--mfh-gold);
    stroke-width: 1.3;
    transform-box: fill-box;
    transform-origin: center;
    animation: mfhKolys 9s ease-in-out infinite alternate;
}
.mfp-wheel-flower circle { fill: var(--mfh-gold); stroke: none; }
.mfp-wheel-core {
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    fill: rgba(246, 244, 239, 0.7);
    text-anchor: middle;
}


/* --- 2. Cytat otwierający ---------------------------------------------- */
.mfp-opening {
    position: relative;
    padding: clamp(90px, 11vw, 150px) 0;
    background: var(--mfh-canvas);
    text-align: center;
}
.mfp-opening-mark {
    display: block;
    font-family: var(--font-head);
    font-weight: 200;
    font-size: clamp(5rem, 10vw, 8rem);
    line-height: 0.5;
    color: var(--mfh-gold);
    margin-bottom: 26px;
}
.mfp-opening blockquote {
    max-width: 24ch;
    margin: 0 auto 30px;
    font-family: var(--font-head);
    font-weight: 200;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
    color: var(--color-dark);
}
.mfp-opening blockquote em {
    font-family: inherit;
    font-style: italic;
    font-weight: 300;
    color: var(--mfh-violet);
}
.mfp-opening p {
    max-width: 60ch;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--mfh-text-soft);
}


/* --- 3. Rozkład tekst + zdjęcie ---------------------------------------- */
.mfp-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.mfp-split--flip { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.mfp-split-copy > p { color: var(--mfh-text-soft); line-height: 1.8; margin: 0 0 16px; }
.mfp-split-copy em {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 500;
    color: var(--mfh-violet);
}
.mfp-split-visual { position: relative; }
.mfp-split-visual .mfo-pillar-photo img { aspect-ratio: 1 / 1; }
.mfp-split--flip .mfo-pillar-photo { margin: 0 0 22px 22px; }
.mfp-split--flip .mfo-pillar-photo::before { inset: 22px 22px -22px -22px; }

/* Cztery warstwy znaczenia — rząd z włoskowatymi przegrodami */
.mfp-layers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mfh-line);
    border-bottom: 1px solid var(--mfh-line);
}
.mfp-layers li { display: flex; flex-direction: column; gap: 6px; padding: 20px 14px 18px 0; }
.mfp-layers li + li { padding-left: 14px; border-left: 1px solid var(--mfh-line); }
.mfp-layers span { font-family: var(--font-head); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; color: rgba(15, 18, 25, 0.4); }
.mfp-layers strong { font-family: var(--font-head); font-weight: 300; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--color-dark); }
.mfp-layers em { font-style: normal; font-size: 0.84rem; line-height: 1.45; color: var(--mfh-text-soft); }

/* Notka nachodząca na zdjęcie — szkło na graficie */
.mfp-note {
    position: relative;
    z-index: 2;
    margin: -70px 0 0 clamp(20px, 5vw, 60px);
    padding: 26px 28px 26px 84px;
    background: var(--mfh-ink);
    color: var(--mfh-muted);
    box-shadow: 0 30px 60px -30px rgba(18, 18, 28, 0.7);
}
.mfp-note p { margin: 0; font-size: 0.96rem; line-height: 1.7; color: var(--mfh-muted); }
.mfp-note strong { color: var(--mfh-gold); }
.mfp-note-flower {
    position: absolute;
    left: 24px;
    top: 26px;
    width: 40px;
    height: 40px;
    stroke: var(--mfh-gold);
    stroke-width: 2.2;
}
.mfp-note-flower circle { fill: var(--mfh-gold); stroke: none; }


/* --- 4. Sekcje na graficie (metoda, Huna) ------------------------------ */
.mfp-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(96px, 12vw, 150px) 0 clamp(150px, 16vw, 220px);
    background: var(--mfh-ink);
    color: var(--mfh-paper);
}
.mfp-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 55% at 50% 20%, rgba(253, 197, 0, 0.09), transparent 70%),
        radial-gradient(50% 60% at 8% 90%, rgba(106, 13, 173, 0.36), transparent 70%),
        radial-gradient(40% 50% at 94% 92%, rgba(0, 71, 171, 0.26), transparent 70%);
}
.mfp-dark .mfh-label { color: var(--mfh-gold); }
.mfp-dark .mfh-head p { color: var(--mfh-muted); }
.mfp-h2-light { color: var(--mfh-paper); }
.mfp-dark-sun { top: 40px; }
.mfp-dark-ocean { bottom: 0; }

.mfp-method {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 28px);
}
.mfp-method-card {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 3.4vw, 50px) clamp(26px, 2.4vw, 38px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mfh-hairline);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    transition: transform 0.55s var(--mfh-ease), background 0.55s var(--mfh-ease), border-color 0.55s var(--mfh-ease);
    --m: var(--mfh-violet-lift);
}
.mfp-method-card:nth-child(2) { --m: var(--mfh-gold); }
.mfp-method-card:nth-child(3) { --m: #6fa3ff; }
.mfp-method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--m);
}
.mfp-method-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.07); border-color: rgba(253, 197, 0, 0.3); }
.mfp-method-big {
    position: absolute;
    right: 18px;
    top: 6px;
    font-family: var(--font-head);
    font-weight: 200;
    font-size: clamp(4.5rem, 7vw, 6.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--m);
    opacity: 0.16;
}
.mfp-method-word {
    margin: 0 0 12px;
    font-family: var(--font-head);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(2.2rem, 3.2vw, 2.9rem);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--m);
}
.mfp-method-card h3 {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: var(--mfh-paper);
}
.mfp-method-card > p { margin: 0 0 24px; line-height: 1.75; color: var(--mfh-muted); }
.mfp-method-huna {
    margin: 0 !important;
    padding-top: 16px;
    border-top: 1px solid var(--mfh-hairline);
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 300;
    color: var(--mfh-paper) !important;
}
.mfp-method-huna span {
    display: block;
    margin-bottom: 4px;
    font-style: normal;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mfh-gold);
}

/* Huna: liście palmy w tle i siatka siedmiu kart */
.mfp-dark--huna { padding-bottom: clamp(96px, 12vw, 150px); }
.mfp-dark--huna .mfh-flora {
    right: -6%;
    bottom: -8%;
    width: min(70%, 820px);
    opacity: 0.16;
}
.mfp-huna {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: clamp(14px, 1.6vw, 22px);
}
.mfp-huna-card {
    position: relative;
    padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2vw, 30px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mfh-hairline);
    transition: transform 0.55s var(--mfh-ease), background 0.55s var(--mfh-ease), border-color 0.55s var(--mfh-ease);
}
.mfp-huna-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); border-color: rgba(253, 197, 0, 0.35); }
.mfp-huna-no {
    font-family: var(--font-head);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--mfh-muted-soft);
}
.mfp-huna-card h3 {
    margin: 10px 0 12px;
    font-family: var(--font-head);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(1.9rem, 2.6vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--mfh-gold);
}
.mfp-huna-card p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--mfh-muted); }
/* Manawa — zasada w nazwie marki — dostaje złote tło i podwójną szerokość */
.mfp-huna-card.is-accent {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(253, 197, 0, 0.22), rgba(253, 197, 0, 0.06));
    border-color: rgba(253, 197, 0, 0.5);
}
.mfp-huna-card.is-accent h3 { color: #fff; font-size: clamp(2.4rem, 3.4vw, 3.2rem); }
.mfp-huna-card.is-accent p { color: var(--mfh-paper); font-size: 1.05rem; }


/* --- 5. Geneza --------------------------------------------------------- */
.mfp-head-wide p { max-width: 860px; }
.mfp-genesis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}
.mfp-genesis-card {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 3.2vw, 46px) clamp(26px, 2.4vw, 36px);
    background: #fff;
    border: 1px solid var(--mfh-line-soft);
    transition: transform 0.55s var(--mfh-ease), box-shadow 0.55s var(--mfh-ease);
    --g: var(--mfh-violet);
}
.mfp-genesis-card:nth-child(2) { --g: #B88A00; }
.mfp-genesis-card:nth-child(3) { --g: var(--mfh-blue); }
.mfp-genesis-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--g);
}
.mfp-genesis-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(15, 18, 25, 0.35); }
.mfp-genesis-mark {
    position: absolute;
    right: -0.06em;
    bottom: -0.2em;
    font-family: var(--font-head);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(5rem, 8vw, 7.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--g);
    opacity: 0.06;
    pointer-events: none;
}
.mfp-genesis-no { font-family: var(--font-head); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; color: rgba(15, 18, 25, 0.4); }
.mfp-genesis-card h3 {
    margin: 12px 0 16px;
    font-family: var(--font-head);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--g);
}
.mfp-genesis-card p { position: relative; margin: 0; line-height: 1.8; font-size: 0.95rem; color: var(--mfh-text-soft); }


/* --- 6. Misja · Wizja · Dla kogo --------------------------------------- */
.mfp-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--mfh-line);
}
.mfp-mission-col { padding: clamp(34px, 3.4vw, 50px) clamp(22px, 2.4vw, 38px) 0 0; }
.mfp-mission-col + .mfp-mission-col { padding-left: clamp(22px, 2.4vw, 38px); border-left: 1px solid var(--mfh-line); }
.mfp-mission-col h2 {
    margin: 0 0 20px;
    font-family: var(--font-head);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--mfh-violet);
}
.mfp-mission-col:nth-child(2) h2 { color: var(--mfh-blue); }
.mfp-mission-col:nth-child(3) h2 { color: #B88A00; }
.mfp-mission-col p { margin: 0; line-height: 1.85; color: var(--mfh-text-soft); }
/* Pierwsza litera jak inicjał w książce */
.mfp-mission-col p::first-letter {
    float: left;
    margin: 6px 10px 0 0;
    font-family: var(--font-head);
    font-weight: 200;
    font-size: 3.4em;
    line-height: 0.8;
    color: var(--color-dark);
}


/* --- 7. Manifest ------------------------------------------------------- */
.mfp-manifest { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 28px); }
.mfp-manifest-panel {
    padding: clamp(34px, 3.4vw, 50px) clamp(28px, 3vw, 44px);
    background: #fff;
    border: 1px solid var(--mfh-line-soft);
}
.mfp-manifest-panel h3 {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-weight: 300;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    letter-spacing: -0.02em;
    color: var(--color-dark);
}
.mfp-manifest-panel > p { margin: 0 0 16px; color: var(--mfh-text-soft); }
.mfp-manifest-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mfp-manifest-panel li {
    position: relative;
    padding-left: 24px;
    line-height: 1.65;
    color: var(--color-dark);
}
.mfp-manifest-panel li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 7px;
    height: 7px;
    box-shadow: inset 0 0 0 1.5px var(--mfh-gold);
    transform: rotate(45deg);
}
.mfp-manifest-panel--dark {
    position: relative;
    overflow: hidden;
    background: var(--mfh-ink);
    border-color: var(--mfh-ink);
}
.mfp-manifest-panel--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 90% at 100% 110%, rgba(106, 13, 173, 0.4), transparent 65%);
}
.mfp-manifest-panel--dark > * { position: relative; z-index: 1; }
.mfp-manifest-panel--dark h3, .mfp-manifest-panel--dark li { color: var(--mfh-paper); }
.mfp-manifest-foot {
    margin: 24px 0 0 !important;
    padding-top: 18px;
    border-top: 1px solid var(--mfh-hairline);
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 300;
    color: var(--mfh-muted) !important;
}
.mfp-vision {
    max-width: 34ch;
    margin: clamp(50px, 6vw, 80px) auto 0;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 200;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: var(--color-dark);
}
.mfp-vision span {
    display: block;
    margin-bottom: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mfh-violet);
}


/* --- 8. Dziesięć filarów ----------------------------------------------- */
.mfp-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(30px, 5vw, 80px);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mfh-line);
}
.mfp-values li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: clamp(20px, 2.2vw, 28px) 0;
    border-bottom: 1px solid var(--mfh-line);
    transition: padding 0.45s var(--mfh-ease), background 0.45s var(--mfh-ease);
}
.mfp-values li:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(253, 197, 0, 0.08), transparent 70%); }
.mfp-values-no {
    font-family: var(--font-head);
    font-weight: 200;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(15, 18, 25, 0.25);
    transition: color 0.45s var(--mfh-ease);
}
.mfp-values li:hover .mfp-values-no { color: #B88A00; }
.mfp-values-text { display: flex; flex-direction: column; gap: 4px; }
.mfp-values-text strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--color-dark); }
.mfp-values-text span { font-size: 0.94rem; line-height: 1.6; color: var(--mfh-text-soft); }


/* --- 9. Książka -------------------------------------------------------- */
.mfp-book-section { overflow: hidden; }
.mfp-book {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(50px, 7vw, 110px);
    align-items: center;
}
.mfp-book-cover { perspective: 1400px; display: flex; justify-content: center; }
/* Okładka jako obiekt: lekki skręt, grzbiet i cień, prostuje się przy najechaniu */
.mfp-book-3d {
    position: relative;
    width: min(100%, 400px);
    transform: rotateY(-18deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.9s var(--mfh-ease);
    box-shadow: 30px 40px 70px -30px rgba(15, 18, 25, 0.55), 0 0 0 1px rgba(15, 18, 25, 0.06);
}
.mfp-book-3d::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 16px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.18) 45%, rgba(0, 0, 0, 0.08));
}
.mfp-book-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, 0.1) 100%);
}
.mfp-book-cover:hover .mfp-book-3d { transform: rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.mfp-book-3d img { display: block; width: 100%; height: auto; }

.mfp-book-copy > p { color: var(--mfh-text-soft); line-height: 1.8; margin: 0 0 16px; }
.mfp-book-tagline {
    font-family: var(--font-head);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.45;
    color: var(--mfh-violet) !important;
}
.mfp-book-sub {
    margin: 30px 0 14px;
    font-family: var(--font-head);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(15, 18, 25, 0.5);
}
.mfp-book-parts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mfh-line);
    border-bottom: 1px solid var(--mfh-line);
}
.mfp-book-parts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 10px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    color: var(--color-dark);
}
.mfp-book-parts li + li { border-left: 1px solid var(--mfh-line); }
.mfp-book-parts b { font-weight: 200; font-size: 1.5rem; line-height: 1; color: #B88A00; }
.mfp-book-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mfp-book-tools li {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--mfh-line);
    color: var(--color-dark);
}
.mfp-book-note { margin-top: 24px !important; font-size: 0.85rem !important; font-style: italic; opacity: 0.85; }

.mfp-promo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 26px 0 30px;
    padding: 20px 24px;
    background: var(--mfh-ink);
    color: var(--mfh-muted);
    position: relative;
    overflow: hidden;
}
.mfp-promo::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(253, 197, 0, 0.14) 50%, transparent 70%);
    background-size: 250% 100%;
    animation: mfhPolysk 6s ease-in-out infinite alternate;
}
.mfp-promo > * { position: relative; z-index: 1; }
.mfp-promo-badge {
    flex: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mfh-gold);
    color: var(--mfh-ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 0 0 6px rgba(253, 197, 0, 0.18);
}
.mfp-promo-label {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mfh-gold);
}
.mfp-promo p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--mfh-paper); }
.mfp-promo-code {
    display: inline-block;
    padding: 2px 10px;
    border: 1px dashed rgba(253, 197, 0, 0.7);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--mfh-gold);
}


/* --- 10. Wąskie ekrany ------------------------------------------------- */
@media (max-width: 992px) {
    .mfp-split, .mfp-split--flip, .mfp-book { grid-template-columns: 1fr; }
    .mfp-split--flip .mfp-split-visual { order: 2; }
    .mfp-split--flip .mfo-pillar-photo { margin: 0 22px 22px 0; }
    .mfp-split--flip .mfo-pillar-photo::before { inset: 22px -22px -22px 22px; }
    .mfp-wheel { width: min(86%, 420px); }
    .mfp-method, .mfp-genesis, .mfp-manifest, .mfp-mission { grid-template-columns: 1fr; }
    .mfp-mission-col + .mfp-mission-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--mfh-line); margin-top: 34px; }
    .mfp-huna { grid-template-columns: repeat(2, 1fr); }
    .mfp-values { grid-template-columns: 1fr; }
    .mfp-book-3d { width: min(80%, 340px); }
}
@media (max-width: 560px) {
    .mfp-layers { grid-template-columns: repeat(2, 1fr); }
    .mfp-layers li:nth-child(3) { padding-left: 0; border-left: 0; }
    .mfp-layers li:nth-child(n+3) { border-top: 1px solid var(--mfh-line); }
    .mfp-note { margin: -40px 0 0 12px; padding: 22px 20px 22px 70px; }
    .mfp-huna { grid-template-columns: 1fr; }
    .mfp-huna-card.is-accent { grid-column: auto; }
    .mfp-book-parts { grid-template-columns: repeat(3, 1fr); }
    .mfp-book-parts li:nth-child(4) { border-left: 0; }
    .mfp-book-parts li:nth-child(n+4) { border-top: 1px solid var(--mfh-line); }
    .mfp-promo { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .mfp-wheel-spin, .mfp-wheel-glow, .mfp-wheel-flower, .mfp-promo::after,
    .mfp-wheel-word.is-accent, .mfp-wheel-node.is-accent, .mfp-wheel-halo { animation: none; }
    .mfp-wheel-halo { display: none; }
    .mfp-book-3d { transition: none; }
}
