/* =====================================================================
   PLIK: css/mf-home.css
   Manawa Flow — warstwa układu i typografii (2026)

   Trzy zasady, których pilnuje ten plik:

     1. JEDNA SZEROKOŚĆ.
        Każdy blok treści ma dokładnie tę samą szerokość co .container
        (1200 px przy oknie 1440). Żadnych „wysepek" węższych od reszty.

     2. JEDEN ROZMIAR TEKSTU.
        Cała treść akapitowa: 1.1rem / interlinia 1.8 — tak jak sekcja
        „Kim jestem". Mniejsze są wyłącznie etykiety i podpisy, bo to nie
        jest tekst do czytania, tylko oznaczenie.

     3. OSTRE KĄTY.
        Standard marki. Nic tu nie jest zaokrąglone.

   Wczytywany JAKO OSTATNI arkusz na stronie. Wszystkie klasy własne mają
   przedrostek .mf- i nie kolidują z panelem klienta, panelem
   administratora ani z rezerwacją.

   Paleta ze zmiennych z style.css:
     --color-accent-1 #6A0DAD · --color-accent-2 #0047ab
     --color-gold #FDC500 · --color-dark #0F1219
   ===================================================================== */

:root {
    --mf-text:      1.1rem;   /* jedyny rozmiar tekstu akapitowego */
    --mf-leading:   1.8;
    --mf-gap:       70px;     /* odstęp między kolumnami */
}


/* =====================================================================
   0. NORMALIZACJA SZEROKOŚCI
   Kilka starszych klas ma własne, węższe szerokości. Poniżej sprowadzamy
   je do szerokości .container, żeby krawędzie wszystkich sekcji leżały
   w jednej linii. Reguły działają tylko na stronach, które wczytują ten
   plik: strona główna, oferta, jak pracuję, dla firm, o mnie.
   ===================================================================== */

.container .visionary-grid,
.container .hero-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.container.small-container,
.small-container {
    width: min(var(--layout-max), calc(100% - 2 * var(--layout-gutter)));
    max-width: var(--layout-max);
}

.container .faq-wrapper,
.container .results-grid,
.container .text-center-block,
.container.text-center-block,
main .text-center-block,
main .faq-wrapper {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* .container, który jest jednocześnie blokiem wyśrodkowanym — przywracamy
   mu szerokość kontenera, bo .text-center-block ma własne max-width: 800px */
main .container.text-center-block,
main .container.small-container {
    width: min(var(--layout-max), calc(100% - 2 * var(--layout-gutter)));
    max-width: var(--layout-max);
}

/* Starsze bloki z własną, węższą szerokością — wyrównujemy do kontenera */
main .timeline-vertical,
main .manifest-card-glass,
main .process-timeline,
main .split-layout,
main .synergy-grid,
main .visionary-quote-wrapper,
main .pillars-vision-grid,
main .bio-dual-column,
main .pillar-vision-card {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Blok bez własnego .container — dostaje szerokość kontenera */
main .cta-content {
    width: min(var(--layout-max), calc(100% - 2 * var(--layout-gutter)));
    max-width: var(--layout-max);
    margin-left: auto;
    margin-right: auto;
}

/* Nagłówek wyśrodkowany zostaje wyśrodkowany, ale nie zwęża bloku.
   Ograniczamy wyłącznie długość wiersza, nie szerokość samego bloku. */
.text-center-block { box-sizing: border-box; }
main .text-center-block > h1,
main .text-center-block > h2,
main .text-center-block > .section-title { max-width: 100%; margin-left: auto; margin-right: auto; }
main .text-center-block > p { max-width: 68ch; margin-left: auto; margin-right: auto; }


/* =====================================================================
   1. TYPOGRAFIA — JEDEN ROZMIAR
   Cała treść do czytania ma dokładnie ten sam stopień pisma i tę samą
   interlinię — 1.1rem / 1.8, tak jak sekcja „Kim jestem". Wyjątkiem są
   wyłącznie etykiety, ceny, plakietki i przyciski: to nie są teksty do
   czytania, tylko oznaczenia, i muszą pozostać mniejsze.
   ===================================================================== */

main p,
main li,
main dd,
main dt,
main blockquote,
main figcaption,
main .content-text,
main .step-desc,
main .hero-desc,
main .card-desc,
main .faq-content,
main .lead-paragraph,
main .quote-content,
main .result-item,
main .manifest-item,
main .pb-desc,
main .pb-subtitle,
main .pb-urgent-text,
main .pbl-text p,
main .feature-list,
main .check-list,
main .step-list,
main .manifest-list,
main .results-grid,
main .card-desc,
main .manifest-footer-text,
main .manifest-card-glass,
main .manifest-card-deep,
main .mf-faq summary,
main .faq-item > summary {
    font-size: var(--mf-text) !important;
    line-height: var(--mf-leading) !important;
}

/* WYJĄTKI — etykiety, plakietki, ceny i przyciski zostają małe */
main .mf-eyebrow,
main .brand-subhead,
main .hero-tag,
main .popular-badge,
main .pb-badge,
main .savings-badge,
main .savings-context,
main .price-meta,
main .read-more,
main .btn-main-text,
main .btn-sub-text,
main .mf-figure-caption,
main .pb-styles-label,
main .pb-styles-hint,
main .pb-inner-sub,
main .offer-pricing-head .hero-tag,
main .btn-prism,
main .btn-outline,
main .btn-white-offer,
main .mf-btn-gold,
main .btn-gold-glow,
main .mf-link {
    font-size: inherit !important;
    line-height: inherit !important;
}
main .mf-eyebrow, main .brand-subhead, main .hero-tag,
main .pb-styles-label, main .pb-styles-hint { font-size: 0.75rem !important; line-height: 1.6 !important; }
main .popular-badge, main .pb-badge, main .savings-badge,
main .savings-context, main .price-meta, main .read-more { font-size: 0.8rem !important; line-height: 1.5 !important; }
main .btn-prism, main .btn-outline, main .btn-white-offer,
main .mf-btn-gold, main .btn-gold-glow { font-size: 0.9rem !important; line-height: 1.2 !important; }
main .mf-link { font-size: 0.98rem !important; line-height: 1.4 !important; }
main .btn-main-text { font-size: 1rem !important; line-height: 1.3 !important; }
main .btn-sub-text { font-size: 0.8rem !important; line-height: 1.3 !important; }
main .mf-figure-caption { font-size: 0.88rem !important; line-height: 1.7 !important; }

.mf-section p,
.mf-mirror p,
.mf-trust-item,
.mf-result p,
.mf-step p,
.mf-inside p,
.mf-std p,
.mf-why p,
.mf-b2b p,
.mf-faq-answer,
.mf-not-item p,
.mf-close p,
.mf-hero-lead,
.mf-lead,
.mf-figure-caption + p,
.mf-mirror-end {
    font-size: var(--mf-text);
    line-height: var(--mf-leading);
}

.mf-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-1);
    margin-bottom: 16px;
}


/* =====================================================================
   2. NAGŁÓWKI SEKCJI — pełna szerokość
   ===================================================================== */

.mf-section-head {
    width: 100%;
    max-width: 100%;
    margin: 0 0 55px;
}
.mf-section-head.is-center { text-align: center; }

.mf-section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 0;
    max-width: 100%;          /* nagłówek ma całą szerokość i nie zawija się */
}
.mf-section-head.is-center h2 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.mf-section-head p {
    margin: 18px 0 0;
    max-width: 62ch;
    opacity: 0.78;
}
.mf-section-head.is-center p { margin-left: auto; margin-right: auto; }

/* Podtytuł pod nagłówkiem sekcji — jedno zdanie w kolorze marki.
   Ma być czytany razem z H2, więc stoi blisko i nie jest przygaszony. */
.mf-section-head .mf-section-lead {
    margin: 16px 0 0;
    max-width: 100%;
    font-family: var(--font-head);
    /* Zmierzone na żywej stronie: kolumna tekstu ma 706 px, a zdanie przy
       23,2 px zajmuje 692 px — czyli dociąga do krawędzi i mieści się w jednej linii.
       !important jest konieczne: reguła „main p" wyżej w tym pliku narzuca
       wszystkim akapitom --mf-text też z !important, a podtytuł nie jest
       tekstem do czytania, tylko częścią nagłówka. */
    font-size: clamp(1.15rem, 1.6vw, 1.45rem) !important;
    font-weight: 600;
    line-height: 1.3 !important;
    color: var(--color-accent-1);
    opacity: 1;
    text-wrap: balance;
}

/* Sekcja „Kim jestem" — nagłówek ma zmieścić się w jednej linii
   w węższej kolumnie obok zdjęcia, dlatego jest nieco mniejszy. */
#o-mnie .mf-section-head h2 {
    /* 30,4 px = 682 px tekstu w kolumnie 706 px — jedna linia z zapasem. */
    font-size: clamp(1.5rem, 2.55vw, 1.9rem);
    text-wrap: balance;        /* gdyby jednak musiał się złamać — równe linie */
}


/* =====================================================================
   3. LINKI I PRZYCISKI
   ===================================================================== */

.mf-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--color-accent-2);
    border-bottom: 2px solid rgba(0, 71, 171, 0.25);
    padding-bottom: 3px;
    transition: 0.3s;
}
.mf-link:hover {
    color: var(--color-accent-1);
    border-bottom-color: var(--color-accent-1);
    gap: 14px;
}
.mf-link--light { color: var(--color-gold); border-bottom-color: rgba(253, 197, 0, 0.35); }
.mf-link--light:hover { color: #fff; border-bottom-color: #fff; }


/* =====================================================================
   4. OBRAZY
   ===================================================================== */

.mf-figure {
    position: relative;
    overflow: hidden;
    background: #eef1f7;
    box-shadow: 0 18px 45px rgba(15, 18, 25, 0.12);
}
.mf-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mf-figure--portrait { aspect-ratio: 4 / 5; }
.mf-split .mf-figure--portrait { aspect-ratio: 1 / 1; }

/* Zdjęcie wypełnia całą wysokość kolumny obok — górna krawędź równa
   z nagłówkiem, dolna z ostatnim wierszem tekstu. Żadnych dziur. */
.mf-figure--fill {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
}
.mf-split .mf-figure--fill { aspect-ratio: auto; }
.mf-figure--square   { aspect-ratio: 1 / 1; }
.mf-figure--wide     { aspect-ratio: 16 / 10; }

/* Delikatny cień w kolorze marki, przesunięty — jak w sekcji „Kim jestem" */
.mf-figure--offset::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.10) 0%, rgba(0, 71, 171, 0.03) 100%);
    pointer-events: none;
}

.mf-figure-caption {
    margin: 14px 0 0;
    color: var(--color-dark);
    opacity: 0.6;
}

/* Układ dwukolumnowy tekst + obraz, zawsze na pełną szerokość */
.mf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mf-gap);
    align-items: stretch;      /* zdjęcie dociąga się do wysokości tekstu */
    width: 100%;
}
/* Tekst szerszy niż zdjęcie — zdjęcie ma towarzyszyć, nie dominować */
.mf-split--text-wide { grid-template-columns: 1.25fr 0.75fr; }
.mf-split--img-first { grid-template-columns: 0.75fr 1.25fr; }
.mf-split--img-first > .mf-figure { order: -1; }
.mf-split > .mf-figure { position: sticky; top: 110px; }


/* =====================================================================
   5. HERO STRONY GŁÓWNEJ
   Dwie kolumny: treść i zdjęcie. Wcześniej był tu sam tekst na środku
   pustego ekranu — stąd wrażenie ubogiej strony.
   ===================================================================== */

.mf-hero {
    padding: 150px 0 90px;
    background: linear-gradient(to bottom, #f6f4fd 0%, #ffffff 100%);
}

.mf-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: var(--mf-gap);
    align-items: stretch;      /* zdjęcie na całą wysokość kolumny z tekstem */
    width: 100%;
}
.mf-hero-grid > .mf-figure { min-height: 480px; }

.mf-hero h1 {
    font-size: clamp(2.1rem, 3.9vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 26px;
}

.mf-hero-lead {
    max-width: 100%;       /* pełna szerokość kolumny — żadnej „wysepki" węższej od H1 */
    margin: 0 0 26px;
    text-wrap: pretty;     /* nie zostawia jednego słowa w ostatniej linii */
}

/* Ostatni akapit przed przyciskiem dostaje większy oddech. */
.mf-hero-lead:has(+ .mf-hero-cta) { margin-bottom: 36px; }

.mf-hero-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.mf-hero-proof {
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 18, 25, 0.12);
    opacity: 0.7;
}


/* =====================================================================
   6. ROZPOZNANIE
   ===================================================================== */

.mf-mirror-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(15, 18, 25, 0.09);
    border: 1px solid rgba(15, 18, 25, 0.09);
    width: 100%;
}

.mf-mirror {
    background: #fff;
    padding: 38px 32px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    transition: 0.35s;
}
.mf-mirror:hover { background: #fbf9ff; }

.mf-mirror-mark {
    flex: 0 0 auto;
    width: 30px;
    height: 2px;
    background: var(--color-accent-1);
    margin-top: 16px;
}

.mf-mirror p {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 500;
}

.mf-mirror-end {
    width: 100%;
    max-width: 68ch;
    margin: 38px auto 0;
    text-align: center;
    opacity: 0.8;
}


/* =====================================================================
   7. PASEK WIARYGODNOŚCI
   ===================================================================== */

.mf-trust {
    background: linear-gradient(135deg, #0F1219 0%, #0047ab 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.mf-trust::before {
    content: '';
    position: absolute;
    top: -60%; right: -10%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.45) 0%, transparent 70%);
    pointer-events: none;
}

.mf-trust-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    width: 100%;
}

.mf-trust-item {
    color: #fff;
    font-family: var(--font-body);
    padding-left: 20px;
    border-left: 2px solid rgba(253, 197, 0, 0.6);
}


/* ---------------------------------------------------------------------
   PASEK LICZB — wariant paska wiarygodności z licznikami
   --------------------------------------------------------------------- */

.mf-counter-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    width: 100%;
    align-items: start;
}

.mf-counter {
    display: block;
    color: #fff;
    padding-left: 22px;
    border-left: 2px solid rgba(253, 197, 0, 0.6);
}

.mf-counter-value {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    line-height: 1;
    letter-spacing: -1px;
    color: var(--color-gold);
    font-variant-numeric: tabular-nums;   /* liczba nie skacze w trakcie odliczania */
}

/* Data jest dłuższa niż liczba, więc dostaje własny, mniejszy stopień */
.mf-counter-value--date {
    font-size: clamp(1.3rem, 1.9vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: 0;
    color: #fff;
}

.mf-counter-label {
    display: block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.5;
    color: #fff;
}

.mf-counter-note {
    display: block;
    margin-top: 7px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

a.mf-counter { text-decoration: none; transition: 0.3s; }
a.mf-counter:hover { border-left-color: var(--color-gold); }
a.mf-counter:hover .mf-counter-value--date { color: var(--color-gold); }
a.mf-counter:hover .mf-counter-note { color: rgba(255, 255, 255, 0.8); }


/* =====================================================================
   8. CO SIĘ ZMIENI — kafelki z ikoną
   ===================================================================== */

.mf-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    width: 100%;
}

.mf-result {
    background: #fff;
    border: 1px solid rgba(15, 18, 25, 0.09);
    border-top: 3px solid var(--color-accent-1);
    padding: 40px 34px;
    transition: 0.35s;
}
/* Kolory lecą cyklem co trzy karty — dzięki temu każdy rząd ma
   ten sam układ: fiolet, niebieski, złoty. Działa przy dowolnej liczbie kart. */
.mf-result:nth-child(3n+2) { border-top-color: var(--color-accent-2); }
.mf-result:nth-child(3n)   { border-top-color: var(--color-gold); }
.mf-result:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 18, 25, 0.10);
}

.mf-result-num {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent-1);
    opacity: 0.5;
    margin-bottom: 16px;
}
.mf-result:nth-child(3n+2) .mf-result-num { color: var(--color-accent-2); }
.mf-result:nth-child(3n)   .mf-result-num { color: #b8860b; }

.mf-result-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 13, 173, 0.07);
    color: var(--color-accent-1);
    font-size: 1.4rem;
    margin-bottom: 26px;
}
.mf-result:nth-child(3n+2) .mf-result-icon { background: rgba(0, 71, 171, 0.07); color: var(--color-accent-2); }
.mf-result:nth-child(3n)   .mf-result-icon { background: rgba(253, 197, 0, 0.14); color: #b8860b; }

.mf-result h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 14px;
}
.mf-result p { margin-bottom: 0; opacity: 0.85; }


/* =====================================================================
   9. JAK TO WYGLĄDA
   ===================================================================== */

.mf-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mf-gap);
    align-items: stretch;
    width: 100%;
}
.mf-steps--single { grid-template-columns: 1fr; }

/* Kolumna z nagłówkiem i krokami — zdjęcie obok równa się z nagłówkiem */
.mf-steps-col { display: flex; flex-direction: column; }

/* Kroki mają własny, równy rytm. Wysokość kolumny wyrównuje zdjęcie
   obok (.mf-figure--fill), a nie rozciągane odstępy między krokami. */
.mf-steps-list {
    position: relative;
    padding-left: 0;
}
/* Pionowa linia spinająca numery kroków */
.mf-steps-list::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 46px;
    bottom: 46px;
    width: 1px;
    background: rgba(15, 18, 25, 0.14);
}

.mf-step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    padding-bottom: 34px;
}
.mf-step:last-child { padding-bottom: 0; }

.mf-step-num {
    flex: 0 0 auto;
    box-shadow: 0 0 0 8px #f8faff;   /* przerwa w linii pod numerem */
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-dark);
    color: var(--color-gold);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
}

.mf-step p { margin-bottom: 0; }

/* Prawa kolumna: zdjęcie + ramka „co się dzieje przez 60 minut" */
.mf-aside { display: flex; flex-direction: column; gap: 34px; }

.mf-inside {
    background: #fff;
    border: 1px solid rgba(15, 18, 25, 0.1);
    border-left: 4px solid var(--color-gold);
    padding: 38px 36px;
}
.mf-inside h3 { font-size: 1.2rem; margin-bottom: 18px; }
.mf-inside p { margin-bottom: 0; }
/* Kolejne akapity w ramce nie mogą się zlewać — odstęp daje dopiero druga i następne. */
.mf-inside p + p { margin-top: 18px; }

/* Wariant na pełną szerokość, pod dwiema kolumnami */
.mf-inside--wide {
    width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 40px;
    padding: 44px 46px;
}
.mf-inside--wide h3 { margin-bottom: 0; font-size: 1.35rem; line-height: 1.3; }


/* =====================================================================
   10. STANDARDY
   ===================================================================== */

.mf-std-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 44px;
    width: 100%;
}
.mf-std-grid--single { grid-template-columns: 1fr; gap: 26px; }

.mf-std {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.mf-std i {
    flex: 0 0 auto;
    color: var(--color-accent-2);
    font-size: 1.05rem;
    margin-top: 7px;
}
.mf-std p { margin-bottom: 0; }


/* =====================================================================
   11. OFERTA — karty równej wysokości i bloki pod cennikiem
   ===================================================================== */

/* Karty cennika wyrównane do jednej wysokości — inaczej trzy różne
   długości opisów robią z rzędu schodki */
main .pricing-grid { align-items: stretch; }
main .pricing-card { height: 100%; }
main .pricing-card .feature-list { margin-top: 0; }   /* wypunktowania równo do góry */

/* Plakietka wyróżnionej karty — złota, bo niebieska na granacie ginie */
main .pricing-card.featured .popular-badge {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
}

.mf-why {
    width: 100%;
    max-width: 100%;
    margin: 55px 0 0;
    padding: 36px 40px;
    background: rgba(106, 13, 173, 0.04);
    border-left: 3px solid var(--color-accent-1);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}
.mf-why p { margin-bottom: 0; }
.mf-why strong { font-family: var(--font-head); }
.mf-why-note {
    padding-left: 34px;
    border-left: 1px solid rgba(106, 13, 173, 0.18);
}

.mf-b2b {
    width: 100%;
    max-width: 100%;
    margin: 70px 0 0;
    background: var(--color-dark);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 0.62fr;
    align-items: stretch;
    overflow: hidden;
}
.mf-b2b-text { padding: 52px 54px; align-self: center; }
.mf-b2b h3 { color: #fff; font-size: 1.6rem; margin-bottom: 16px; }
.mf-b2b p { color: rgba(255, 255, 255, 0.84); margin-bottom: 26px; }
.mf-b2b .mf-figure { box-shadow: none; background: #0F1219; }
.mf-b2b .mf-figure img { opacity: 0.92; }


/* Para przycisków pod cennikiem */
.mf-actions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.mf-actions .btn-prism { text-align: center; }


/* =====================================================================
   12. PYTANIA — dwie kolumny, pełna szerokość
   ===================================================================== */

.mf-faq {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--mf-gap);
    align-items: start;
}

.mf-faq details {
    border-bottom: 1px solid rgba(15, 18, 25, 0.13);
}
.mf-faq details:first-child,
.mf-faq details:nth-child(5) { border-top: 1px solid rgba(15, 18, 25, 0.13); }

.mf-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 24px 44px 24px 0;
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.45;
    transition: 0.3s;
}
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary:hover { color: var(--color-accent-1); }

.mf-faq summary::after {
    content: '+';
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-accent-1);
}
.mf-faq details[open] summary::after { content: '–'; }

.mf-faq-answer {
    padding: 0 40px 28px 0;
    margin: 0;
    opacity: 0.85;
}


/* =====================================================================
   13. DLA KOGO TO NIE JEST
   ===================================================================== */

.mf-not {
    background: #f1f2f6;
    border-top: 1px solid rgba(15, 18, 25, 0.08);
    border-bottom: 1px solid rgba(15, 18, 25, 0.08);
}

.mf-not-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 44px;
    width: 100%;
}

.mf-not-item { display: flex; gap: 18px; align-items: flex-start; }
.mf-not-item i { flex: 0 0 auto; color: #8f9bab; font-size: 0.95rem; margin-top: 8px; }
.mf-not-item p { margin-bottom: 0; }

.mf-not-end {
    width: 100%;
    margin: 44px 0 0;
    padding-top: 26px;
    border-top: 1px solid rgba(15, 18, 25, 0.12);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--mf-text);
}


/* =====================================================================
   14. DOMKNIĘCIE
   ===================================================================== */

.mf-close {
    background: linear-gradient(135deg, #0F1219 0%, #0047ab 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.mf-close::before {
    content: '';
    position: absolute;
    top: -40%; left: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.mf-close-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--mf-gap);
    align-items: center;
    width: 100%;
}

.mf-close h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}
.mf-close p { color: rgba(255, 255, 255, 0.88); margin-bottom: 32px; }

.mf-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 18px 46px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 24px rgba(253, 197, 0, 0.32);
    transition: 0.3s;
}
.mf-btn-gold:hover { transform: translateY(-3px); box-shadow: 0 0 36px rgba(253, 197, 0, 0.55); }

.mf-close-door {
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.mf-bridge {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 56px 0 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.mf-bridge p { color: inherit; font-size: inherit; line-height: inherit; margin: 0; max-width: 70ch; }


/* =====================================================================
   15. TABLET
   ===================================================================== */

@media (max-width: 1100px) {
    :root { --mf-gap: 44px; }

    .mf-hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .mf-hero { padding: 130px 0 70px; }
    .mf-hero-lead { max-width: 100%; }

    .mf-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 34px; }
    .mf-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 34px; }
    .mf-mirror-grid { grid-template-columns: repeat(2, 1fr); }
    .mf-split > .mf-figure { position: static; }
    .mf-split--img-first { grid-template-columns: 1fr; }
    .mf-result-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .mf-steps { grid-template-columns: 1fr; gap: 46px; }
    .mf-split, .mf-close-grid { grid-template-columns: 1fr; gap: 40px; }
    .mf-inside--wide { grid-template-columns: 1fr; gap: 20px; }
    .mf-figure--fill,
    .mf-hero-grid > .mf-figure { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .mf-faq { grid-template-columns: 1fr; }
    .mf-faq details:nth-child(5) { border-top: 0; }
    .mf-why { grid-template-columns: 1fr; gap: 20px; }
    .mf-why-note { padding-left: 0; border-left: 0; }
    .mf-b2b { grid-template-columns: 1fr; }
    .mf-b2b .mf-figure { aspect-ratio: 16 / 7; order: -1; }
}


/* =====================================================================
   16. TELEFON
   ===================================================================== */

@media (max-width: 768px) {
    :root { --mf-text: 1.05rem; --mf-gap: 32px; }

    .mf-section-head { margin-bottom: 34px; }
    .mf-section-head h2, .mf-section-head.is-center h2 { max-width: 100%; }

    .mf-hero { padding: 120px 0 60px; }
    .mf-hero-cta { flex-direction: column; align-items: stretch; gap: 18px; }
    .mf-hero-cta .btn-prism { justify-content: center; text-align: center; }
    .mf-hero-cta .mf-link { justify-content: center; }

    .mf-mirror-grid { grid-template-columns: 1fr; }
    .mf-mirror { padding: 28px 22px; gap: 16px; }
    .mf-mirror-mark { width: 22px; margin-top: 13px; }

    .mf-trust { padding: 40px 0; }
    .mf-trust-grid { grid-template-columns: 1fr; gap: 20px; }
    .mf-counter-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .mf-counter { padding-left: 16px; }
    .mf-counter-label { margin-top: 10px; font-size: 0.9rem; }
    .mf-counter-note { font-size: 0.75rem; }

    .mf-result-grid { grid-template-columns: 1fr; }
    .mf-result { padding: 30px 24px; }
    .mf-result-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 20px; }

    .mf-std-grid, .mf-not-grid { grid-template-columns: 1fr; gap: 24px; }

    .mf-step { gap: 16px; padding-bottom: 24px; margin-bottom: 24px; }
    .mf-step-num { width: 38px; height: 38px; font-size: 0.9rem; }

    .mf-inside { padding: 28px 22px; }
    .mf-inside--wide { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; margin-top: 34px; }
    .mf-actions { flex-direction: column; }
    .mf-actions .btn-prism { width: 100%; }
    .mf-figure--fill { min-height: 260px; }
    .mf-why { padding: 26px 22px; margin-top: 36px; }
    .mf-b2b-text { padding: 32px 24px; }
    .mf-b2b h3 { font-size: 1.35rem; }

    .mf-faq summary { font-size: 1rem; padding: 20px 38px 20px 0; }
    .mf-faq-answer { padding-right: 6px; }

    .mf-close { padding: 70px 0; }
    .mf-bridge { flex-direction: column; align-items: flex-start; gap: 18px; }

    .mf-figure--portrait { aspect-ratio: 4 / 4.4; }
}
