/* =========================================
   FONTY SAMOHOSTOWANE
   Brak zapytań do Google — szybszy LCP, brak third-party request
   ========================================= */

/* Cormorant Garamond */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-300italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-600italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/cormorant-garamond-v21-latin_latin-ext-700italic.woff2') format('woff2');
}

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-600italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-v40-latin_latin-ext-700italic.woff2') format('woff2');
}

/* Darker Grotesque */
@font-face {
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/darker-grotesque-v10-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/darker-grotesque-v10-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/darker-grotesque-v10-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/darker-grotesque-v10-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/darker-grotesque-v10-latin_latin-ext-700.woff2') format('woff2');
}

/* =========================================
   CSS VARIABLES - Design System 2025
   ========================================= */
:root {
    /* Colors - Pure White & Vibrant Pinks */
    --color-bg-primary: #FFFFFF;
    --color-bg-dark: #1A1A1A;

    /* Soft Pink variants - BALANCED & FEMININE */
    --color-powder-pink: #FFD6E8;
    --color-powder-pink-light: #FFE8F0;
    --color-powder-pink-dark: #FFC4DD;

    /* Peach/Blush variants - WARM & NURTURING */
    --color-peach: #FFE5D9;
    --color-peach-light: #FFF0E6;
    --color-peach-dark: #FFD7C4;

    /* Coral accent - SUBTLE ENERGY */
    --color-coral: #FFBAA8;
    --color-coral-light: #FFD4C7;
    --color-coral-dark: #FFA590;

    /* Burgundy/Marsala - STRENGTH & MATURITY */
    --color-burgundy: #923D41;
    --color-burgundy-dark: #6B2E31;
    --color-burgundy-light: #B8595D;
    --color-red: #923D41;
    --color-red-light: #B8595D;

    /* Koral z sukienki Klaudii ze zdjęcia w hero — logo i ikona menu */
    --color-koral: #E0473E;

    /* Footer accent */
    --color-footer-dark: #8B1538;
    /* Tło stopki — koralowy róż (tylko .footer, patrz sekcja FOOTER) */
    --color-footer-coral: #B94F52;

    --color-text-primary: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-text-light: #6B6B6B;
    --color-text-inverse: #FFFFFF;

    /* Accent Colors - Vibrant & Bold */
    --color-accent-pink: #FF69B4;
    --color-accent-mint-bright: #8BD9B8;
    --color-heading-pink: #E88BA0;
    --color-heading-rose: #D9879E;

    /* Typography - ULTRA FEMININE */
    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: "Darker Grotesque", sans-serif;

    /* STANDARD GRADIENTS - Soft & Nurturing */
    --gradient-a: linear-gradient(135deg, white 0%, var(--color-peach-light) 100%);
    --gradient-b: linear-gradient(315deg, white 0%, var(--color-powder-pink-light) 100%);

    /* Spacing - Larger for 2025 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Section spacing */
    --section-padding: clamp(7rem, 12vw, 10rem);
    --section-gap: clamp(4rem, 8vw, 6rem);

    /* Border Radius - Soft & Nurturing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-blob: 60% 40% 70% 30% / 40% 50% 60% 50%;

    /* Shadows - Flat & Minimal */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 10px 30px rgba(0, 0, 0, 0.10);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    @media (max-width: 767px) {
        font-size: 13.6px; /* 85% of 16px */
    }
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
}

/* ——— Blokada przewijania w bok ———
   Samo `overflow-x: hidden` na <body> bywa ignorowane na iOS Safari — strona
   dalej daje się przesunąć palcem i po prawej wyłazi biała krawędź. Dlatego
   blokujemy oś także na <html>.

   `clip` zamiast `hidden` jest tu istotne: `hidden` robi z elementu kontener
   przewijania, co potrafi zepsuć `position: sticky` (na blogu przyklejony
   jest pasek kategorii). `clip` przycina bez tworzenia kontenera. Linia
   z `hidden` zostaje jako zapas dla starszych przeglądarek — nowsze i tak
   nadpiszą ją niżej. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

/* Ensure all text elements use Darker Grotesque */
p, li, a, button, input, textarea, label {
    font-family: var(--font-body) !important;
}

/* Typography - Bold 2025 Style */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--color-burgundy);
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
    color: var(--color-burgundy);
    font-weight: 700;
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   GLASSMORPHISM UTILITIES
   ========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-dark {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   BUTTONS - 2025 Style
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: -0.01em;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: translateX(-100%);
        transition: transform var(--transition-slow);
    }

    &:hover::before {
        transform: translateX(100%);
    }
}

.btn--primary {
    background: var(--color-burgundy);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(139, 21, 56, 0.25);

    &:hover {
        background: var(--color-burgundy-dark);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(139, 21, 56, 0.35);
    }

    &:active {
        transform: translateY(0);
    }
}

.btn--secondary {
    background: white;
    color: var(--color-text-primary);
    border: 2px solid var(--color-burgundy);
    box-shadow: var(--shadow-sm);

    &:hover {
        background: var(--color-burgundy);
        color: white;
        border-color: var(--color-burgundy);
        box-shadow: 0 6px 18px rgba(139, 21, 56, 0.3);
    }
}

.btn--accent {
    background: linear-gradient(135deg, var(--color-accent-pink), var(--color-powder-pink-dark));
    color: white;
    box-shadow: var(--shadow-lg);

    &:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--shadow-xl);
    }
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;

    @media (max-width: 1023px) {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* =========================================
   HEADER & NAVIGATION - Glassmorphism
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);

    @media (max-width: 767px) {
        position: absolute;
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--glass-bg);
        backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--glass-border);
        z-index: -1;

        /* Gradient mask - faster fade out on the right */
        mask-image: linear-gradient(to right, black 0%, black 75%, transparent 85%);
        -webkit-mask-image: linear-gradient(to right, black 0%, black 75%, transparent 85%);

        /* Mobile: center window — transparent 33–66%, gradients on sides */
        @media (max-width: 767px) {
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-bottom: none;
            mask-image: linear-gradient(to right,
                black 0%,
                transparent 33%,
                transparent 66%,
                black 100%
            );
            -webkit-mask-image: linear-gradient(to right,
                black 0%,
                transparent 33%,
                transparent 66%,
                black 100%
            );
        }
    }
}

.header.scrolled {
    &::before {
        background: rgba(255, 255, 255, 0.85);
        box-shadow: var(--shadow-md);
    }
}

.nav {
    /* Skalowanie wysokością okna — na niskim laptopie nagłówek nie zjada
       pierwszego ekranu (portal i hero podstron mają min-height: 100svh) */
    padding: clamp(0.7rem, 2vh, 1.5rem) 0;
}

.nav__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.75rem, 1.8vw, 2rem);

    /* Na monitorze ultrapanoramicznym nagłówek przestaje być wąską wysepką
       na środku — logo wraca w okolice lewej krawędzi treści hero */
    @media (min-width: 2000px) {
        max-width: min(1800px, 92vw);
    }
}

/* ——— Logo graficzne ———
   Dwa warianty tego samego znaku: `--ciemne` (koralowe pismo, burgundowy
   podpis) na jasne tła i `--jasne` (całość kremowa) tam, gdzie nagłówek leży
   na fotografii. Przełączamy je `display`, bo obrazka nie da się przemalować
   CSS-em, a jeden uniwersalny kolor gubiłby dwubarwność znaku. */
.nav__logo {
    display: block;
    line-height: 0;
    text-decoration: none !important;

    &:hover {
        text-decoration: none !important;
    }

    /* Znak firmowy nie podkreśla się przy najechaniu — jest wyjęty z globalnej
       reguły linków, a to domyka sprawę także dla ewentualnych nadpisań. */
    &::after,
    &::before {
        content: none !important;
    }
}

.nav__logo {
    flex: 0 0 auto;
}

.nav__logo-img {
    display: block;
    width: clamp(10.5rem, 15vw, 15rem);
    height: auto;
}

/* Wariant na fotografię pokazujemy tylko tam, gdzie nagłówek na niej leży */
.nav__logo-img--na-zdjeciu {
    display: none;
}

.nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;

    /* Menu ma 8 pozycji — na tabletach zostaje hamburger, pełne menu od 1024px */
    @media (min-width: 1024px) {
        display: none;
    }
}

.nav__hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--color-koral);
    border-radius: 3px;
    transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
}

.nav__hamburger[aria-expanded="true"] {
    .nav__hamburger-line {
        background-color: white;
    }

    .nav__hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav__hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
}

.nav__menu {
    display: flex;
    /* 9 pozycji menu (doszedł „Darmowy e-book") — odstępy skalują się
       z szerokością okna. Wartości zacieśnione, żeby pasek mieścił się
       na laptopie 1280 px bez nachodzenia na ikony społecznościowe. */
    gap: clamp(0.55rem, 1.05vw, 1.2rem);
    align-items: center;
    /* To menu ustępuje miejsca, gdy pasek robi się ciasny — logo i ikony
       mają stały rozmiar, więc to tutaj jest zapas do oddania. */
    flex: 0 1 auto;
    min-width: 0;
}

/* Strona główna: na desktopie 4 przestrzenie są już kafelkami w portalu,
   więc znikają z menu. W menu mobilnym (hamburger) zostają — tam kafelki
   wymagają przewijania, a menu jest jedyną szybką nawigacją. */
@media (min-width: 1024px) {
    .nav__menu--portal .nav__item--przestrzen {
        display: none;
    }
}

.nav__link {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(0.95rem, 1.12vw, 1.12rem) !important;
    white-space: nowrap;
    font-weight: 600 !important;
    font-style: italic !important;
    color: var(--color-text-primary) !important;
    position: relative;
    transition: color var(--transition-fast), opacity var(--transition-fast);
    text-decoration: none !important;

    &::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-burgundy);
        transition: width var(--transition-fast);
    }

    &:hover {
        transform: scale(1.05);
        color: var(--color-burgundy) !important;
    }

    &:hover::after {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        /* Koral marki (ten sam co logo), bez kwiatu w tle */
        background: linear-gradient(160deg, #E85C4E 0%, var(--color-koral) 52%, #C33A32 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 9 pozycji musi zmieścić się na jednym ekranie, także na niskim telefonie */
        gap: clamp(0.9rem, 2.4vh, 1.6rem);
        padding: 5rem 2rem 3rem;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }

    .nav__menu.is-open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: clamp(1.6rem, 5.6vw, 2.4rem) !important;
        white-space: normal;
        text-align: center;
        color: white !important;

        &::before {
            display: none !important;
        }

        &::after {
            display: none !important;
        }

        &:hover {
            color: rgba(255, 255, 255, 0.75) !important;
        }
    }
}

/* Social Icons in Navigation */
.nav__social {
    display: none;
    gap: 0.75rem;
    align-items: center;
    /* Stały rozmiar — to menu oddaje miejsce, nie ikony */
    flex: 0 0 auto;

    /* Pojawiają się razem z pełnym menu. Wcześniej próg wynosił 1280 px
       i na laptopach 1024–1279 ikon po prostu nie było, choć zapasu
       w pasku zostawało jeszcze ponad 200 px. */
    @media (min-width: 1024px) {
        display: flex;
    }
}

/* ——— Mobile i tablet: znika tło paska nagłówka ———
   Zostaje samo logo i ikona hamburgera, wprost na zdjęciu.
   Zakres taki sam jak widoczność hamburgera (do 1023px). */
@media (max-width: 1023px) {
    .header::before,
    .header.scrolled::before {
        display: none;
    }

    /* ——— Logo i hamburger na telefonie ———
       Bez jasnej poświaty — czytelność daje ciemna smuga u góry hero
       (.portal__photo::after / .przestrzen-hero__photo::after) plus miękki,
       ciemny cień pod literami. Oba elementy są tu wyraźnie większe niż na
       desktopie, bo to jedyna nawigacja widoczna na telefonie. */
    .nav__logo-img {
        width: clamp(10.5rem, 54vw, 15rem);
    }

    .nav__hamburger {
        gap: 7px;
        padding: 10px;
    }

    /* Kolor marki — różowy, tak jak logo */
    .nav__hamburger-line {
        width: 40px;
        height: 4px;
        background-color: var(--color-koral);
    }

    /* Wariant na zdjęcie — oryginalne barwy znaku: koralowe pismo i biały
       podpis. Dotyczy tylko stron, na których hero jest fotografią; na blogu
       i stronach prawnych nagłówek leży na jasnym tle, więc biały podpis
       byłby tam niewidoczny i zostaje wariant burgundowy. */
    body:has(.portal) .nav__logo-img--ciemne,
    body:has(.przestrzen-hero--foto) .nav__logo-img--ciemne,
    body:has(.blog-hero__photo) .nav__logo-img--ciemne {
        display: none;
    }

    body:has(.portal) .nav__logo-img--na-zdjeciu,
    body:has(.przestrzen-hero--foto) .nav__logo-img--na-zdjeciu,
    body:has(.blog-hero__photo) .nav__logo-img--na-zdjeciu {
        display: block;
        /* Cień pod znakiem — koralowe pismo musi się obronić także tam,
           gdzie pod spodem trafi jaśniejszy fragment zdjęcia */
        filter: drop-shadow(0 2px 8px rgba(40, 20, 16, 0.55));
    }

    body:has(.portal) .nav__hamburger-line,
    body:has(.przestrzen-hero--foto) .nav__hamburger-line,
    body:has(.blog-hero__photo) .nav__hamburger-line {
        filter: drop-shadow(0 1px 3px rgba(58, 24, 30, 0.4));
    }

    .nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
    }

    /* Po przewinięciu wraca jasny pasek — logo i ikona znów w kolorze marki */
    .header.scrolled::before {
        display: block;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-md);
        mask-image: none;
        -webkit-mask-image: none;
    }

    /* Po przewinięciu wraca jasny pasek — więc i ciemny wariant znaku */
    .header.scrolled .nav__logo-img--ciemne {
        display: block;
    }

    .header.scrolled .nav__logo-img--na-zdjeciu {
        display: none;
    }

    .header.scrolled .nav__hamburger-line {
        background-color: var(--color-koral);
        filter: none;
    }

    /* Po otwarciu menu linie są białe na ciemnym overlayu — bez cienia */
    .nav__hamburger[aria-expanded="true"] .nav__hamburger-line {
        background-color: #fff;
        filter: none;
    }
}

.nav__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-text-primary) !important;
    transition: color var(--transition-fast), opacity var(--transition-fast);
    position: relative;
    text-decoration: none !important;

    &::after {
        content: none !important;
    }

    svg {
        transition: all var(--transition-fast);
    }

    &:hover {
        color: var(--color-burgundy) !important;
        transform: translateY(-2px);

        svg {
            transform: scale(1.1);
        }
    }
}

/* =========================================
   HERO - Full Screen Impact
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/mentorka-ciazy-pieknie-zyc.jpg') right top no-repeat;
    background-size: auto 90%;
    background-color: var(--color-bg-primary);
    padding: calc(80px + 2rem) 0 2rem;
    position: relative;
    overflow: hidden;
    background-position: right 80px;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        height: 100%;
        background: linear-gradient(to right, #f9f5f1 0%, #f9f5f1 30%, rgba(249, 245, 241, 0.6) 60%, rgba(249, 245, 241, 0.2) 85%, transparent 100%);
        z-index: 1;

        @media (max-width: 1023px) {
            display: none;
        }
    }

    &::after {
        display: none;
    }

    /* Mobile: Full-screen magazine cover */
    @media (max-width: 1023px) {
        height: 100vh;
        height: 100svh;
        min-height: unset;
        padding: 0;
        background: #FFF5F2;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
        position: relative;
        z-index: 1;

        &::before {
            display: block;
            width: 100%;
            height: 82%;
            top: auto;
            bottom: 0;
            background: linear-gradient(
                to top,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 253, 251, 0.97) 20%,
                rgba(255, 251, 249, 0.88) 38%,
                rgba(255, 250, 247, 0.55) 58%,
                transparent 100%
            );
        }
    }
}

/* Flat fallback dla .hero — stare Safari ignoruje nested @media */
@media (max-width: 1023px) {
    .hero {
        background: #FFF5F2;
    }
}

.hero__container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;

    @media (max-width: 1023px) {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 1.25rem clamp(2.5rem, 10vh, 4.5rem);
        position: static;
        width: 100%;
    }

    @media (min-width: 1024px) {
        padding-left: clamp(3rem, 5vw, 6rem);
        padding-right: clamp(2rem, 4vw, 3rem);
    }
}

.hero__column {
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero__column--content {
    animation: none;
    position: relative;
    z-index: 3;
    margin-top: 3rem;

    @media (min-width: 1024px) {
        max-width: 1100px;
        padding: 0;
        background: transparent;
    }

    @media (max-width: 1023px) {
        width: 100%;
        background: rgba(255, 255, 255, 0.60);
        padding: 0 1.25rem 1.25rem;
        border-radius: 16px;
        box-shadow: none;
        margin-top: 0;
        position: relative;
        z-index: 2;
        order: 1;
        animation: none;
        max-width: 100%;
    }
}

/* Flat fallback — stare Safari (< 16.5) nie obsługuje CSS nesting,
   więc nested @media wewnątrz reguły są ignorowane.
   Ten blok gwarantuje poprawne działanie bez nesting. */
@media (min-width: 1024px) {
    .hero__column--visual {
        display: none;
    }
}
@media (max-width: 1023px) {
    .hero__column--visual {
        display: flex;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        animation: none;
        order: 0;
    }
}

.hero__column--visual {
    animation: fade-up 0.8s ease-out 0.3s backwards;

    @media (min-width: 1024px) {
        display: none;
    }

    @media (max-width: 1023px) {
        display: flex;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        animation: none;
        order: 0;
    }
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    color: #C41E3A;
    position: relative;

    strong {
        font-weight: 700;
        font-style: italic;
    }

    @media (max-width: 1023px) {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: left;
        color: #C41E3A;
    }
}

.hero__description {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.25;
    color: var(--color-burgundy);
    margin-bottom: 3rem;
    max-width: 600px;

    @media (max-width: 1023px) {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 2rem;
        text-align: left;
    }
}

.hero__highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 500;

    &:hover {
        transform: translateX(8px);
        box-shadow: var(--shadow-md);
        background: rgba(255, 255, 255, 0.8);
    }
}

.hero__highlight-icon {
    width: 12px;
    height: 12px;
    border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-coral));
    flex-shrink: 0;
    position: relative;
    animation: blob-pulse 3s ease-in-out infinite;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: inherit;
        opacity: 0.5;
        filter: blur(4px);
    }
}

@keyframes blob-pulse {
    0%, 100% {
        border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
        transform: scale(1);
    }
    50% {
        border-radius: 40% 50% 50% 60% / 50% 60% 40% 50%;
        transform: scale(1.05);
    }
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    @media (max-width: 1023px) {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        gap: 0.875rem;
        flex-direction: column;

        .btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (min-width: 640px) {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.25rem;
        width: auto;

        .btn {
            width: auto;
        }
    }

    @media (min-width: 1024px) {
        .btn {
            width: auto;
        }
    }
}

.hero__trust {
    margin-top: 1.5rem;
    text-align: center;

    small {
        color: var(--color-text-secondary);
        font-size: 0.9375rem;
    }

    @media (max-width: 1023px) {
        margin-top: 1.25rem;
        text-align: center;
    }

    @media (min-width: 1024px) {
        text-align: left;
    }
}

.hero__visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;

    @media (min-width: 1024px) {
        height: 700px;
        max-width: 480px;
    }

    @media (max-width: 1023px) {
        height: 100%;
        min-height: 100%;
        max-height: none;
        max-width: 100%;
        width: 100%;
        margin: 0;
        position: relative;
        z-index: 1;

        &::after {
            display: none;
        }
    }
}

.hero__image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);

    &:hover {
        transform: translateY(-4px);
    }

    @media (max-width: 1023px) {
        border-radius: 0;
        box-shadow: none;
        height: 100%;
        position: relative;
        z-index: 1;

        &:hover {
            transform: none;
        }
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;

        @media (max-width: 1023px) {
            object-position: center 25%;
        }
    }
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;

    @media (max-width: 1023px) {
        display: none;
    }
}

.hero__shape--1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-powder-pink) 0%, transparent 70%);
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--color-peach) 0%, transparent 70%);
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
}

.hero__shape--3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--color-accent-pink) 0%, transparent 70%);
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 10s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-card-reveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
[data-reveal] {
    opacity: 0;
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

[data-reveal="up"]    { transform: translateY(80px); }
[data-reveal="left"]  { transform: translateX(-90px); }
[data-reveal="right"] { transform: translateX(90px); }
[data-reveal="scale"] { transform: scale(0.78); opacity: 0; }
[data-reveal="fade"]  { transform: none; }

/* Na telefonie układ jest jednokolumnowy, więc wjazd z boku nie ma sensu —
   a przede wszystkim: element czekający na odsłonięcie stoi przesunięty
   o 90 px i wystaje poza ekran. To była przyczyna przewijania strony w bok
   (formularz sesji, opis w „Mojej historii"). Tutaj obie animacje boczne
   zamieniamy na pionową. */
@media (max-width: 1023px) {
    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(50px);
    }
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================
   SECTION BASE - Strong Separation
   ========================================= */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    border-top: 2px dotted rgba(139, 21, 56, 0.15);

    @media (max-width: 767px) {
        padding: 3.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        border-top: 2px dotted rgba(139, 21, 56, 0.2);
        margin-bottom: 0;

        &[class*="margin-top"] {
            margin-top: -40px !important;
        }
    }
}

/* Remove border from hero section */
.hero.section {
    border-top: none;
}

.section__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.section__title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.1;
    position: relative;
    padding-top: 1.5rem;

    /* Horizontal separator above heading */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 300px;
        height: 2px;
        background: currentColor;
        opacity: 0.4;
    }

    strong {
        font-weight: 700;
        font-style: italic;
    }
}

/* =========================================
   FEMININE SECTION TRANSITIONS
   Applied to all sections for organic flow
   ========================================= */

/* ALL WAVY TRANSITIONS REMOVED - Clean straight section transitions */

/* Remove ALL wavy transitions - clean straight lines */
.hero::after,
.mission::before,
.mission::after,
.vision::before,
.vision::after,
.about::before,
.about::after,
.work::before,
.work::after,
.courses::before,
.courses::after,
.creation::before,
.creation::after,
.testimonials::before,
.testimonials::after,
.cta::before,
.cta::after,
.gallery::before,
.gallery::after,
.newsletter::before,
.newsletter::after,
.footer::before {
    display: none !important;
}

/* Remove negative margins that were used for wavy overlaps */
.mission,
.vision,
.about,
.work,
.courses,
.creation,
.testimonials,
.cta,
.gallery,
.newsletter {
    margin-top: 0 !important;

    @media (min-width: 768px) {
        padding-top: var(--section-padding) !important;
    }

    @media (max-width: 767px) {
        padding-top: 5rem !important;
    }
}

/* =========================================
   MISSION - Bento Grid Style
   ========================================= */
.mission {
    background: var(--color-footer-dark);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(5rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);

    @media (max-width: 767px) {
        margin-top: 0;
        padding-top: 4rem;
        padding-bottom: 0 !important;
    }

    /* White heading on dark burgundy background for maximum contrast */
    h2, h3, h4 {
        color: white;
    }

    .section__title {
        color: white;
    }
}

.mission .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
}

.mission__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
        align-items: end;
        gap: 2rem;
    }

    @media (min-width: 1024px) {
        gap: 2.5rem;
    }
}

.mission__tiles-col {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;

    @media (min-width: 768px) {
        order: 2;
        align-self: center;
    }
}

.mission__image-col {
    border-radius: 4px;
    overflow: hidden;

    @media (min-width: 768px) {
        order: 1;
        margin-left: calc(-1 * clamp(1.5rem, 5vw, 3rem));
        margin-top: calc(-1 * clamp(5rem, 8vw, 7rem));
        margin-bottom: calc(-1 * clamp(4rem, 6vw, 6rem));
        border-radius: 0;
        align-self: stretch;
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        transform: scaleX(-1);

        &.is-revealed {
            transform: scaleX(-1) !important;
        }
    }

    @media (max-width: 767px) {
        background: none !important;
        transform: none;
        width: 56%;
        margin-left: calc(-1 * clamp(1.5rem, 5vw, 3rem) - 2rem);
    }
}

.mission__image-mobile {
    display: none;

    @media (max-width: 767px) {
        display: block;
        width: 100%;

        img {
            width: 100%;
            height: auto;
            display: block;
            transform: scaleX(-1);
        }
    }
}

/* Mobile flower decoration in free background area */
.mission__flower-deco {
    display: none;

    @media (max-width: 767px) {
        display: block;
        position: absolute;
        bottom: 21%;
        right: 0;
        width: 324px;
        height: 324px;
        background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.12' transform='translate(200 200)'%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(315)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(22.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(67.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(112.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(157.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(202.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(247.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(292.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(337.5)'/%3E%3Ccircle r='22'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
        pointer-events: none;
        z-index: 3;
    }
}

.mission__flower-deco--2 {
    display: none;

    @media (max-width: 767px) {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 227px;
        height: 227px;
        background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.07' transform='translate(200 200)'%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(180)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(225)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(270)'/%3E%3Cellipse cx='0' cy='-80' rx='25' ry='70' transform='rotate(315)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(22.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(67.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(112.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(157.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(202.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(247.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(292.5)'/%3E%3Cellipse cx='0' cy='-54' rx='16' ry='44' transform='rotate(337.5)'/%3E%3Ccircle r='22'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
        pointer-events: none;
        z-index: 3;
    }
}

/* Base Tile Styles */
.mission__tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;

    &:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-4px);
    }
}

/* Base Text Styles */
.mission__tile-text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: white;
    margin: 0;
}

/* Specific Tile Layouts - Bento Grid */
.mission__tile--1 {
    @media (min-width: 768px) {
        position: relative;
        left: -4rem;
    }

    .mission__tile-text:first-child {
        font-size: clamp(1.375rem, 1.95vw, 1.625rem);
        line-height: 1.3;
    }
}

.mission__wierze {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    display: inline-block;
    vertical-align: baseline;
}

.mission__tile--2 {
    background: linear-gradient(135deg, #FFB3C1 0%, #FFC7D8 100%);
    border-color: rgba(196, 30, 58, 0.3);
    text-align: center;

    @media (min-width: 768px) {
        position: relative;
        left: 5rem;
    }

    &:hover {
        background: linear-gradient(135deg, #FFC0CB 0%, #FFD0E0 100%);
        border-color: rgba(196, 30, 58, 0.4);
    }

    .mission__tile-text,
    .mission__tile-text--emphasis {
        font-family: 'Playfair Display', serif !important;
        font-style: italic;
        color: #C41E3A !important;
    }

    .mission__tile-text--emphasis {
        font-size: clamp(1.375rem, 1.95vw, 1.625rem);
        font-weight: 500;
        line-height: 1.3;

        strong {
            font-weight: 700;
        }

        u {
            text-decoration: underline;
            color: #C41E3A;
            text-decoration-color: #C41E3A;
            text-underline-offset: 3px;
        }
    }
}

.mission__tile--3 {
    @media (min-width: 768px) {
        position: relative;
        left: -4rem;
    }
}

.mission__tile--4 {
    background: linear-gradient(135deg, #FFB3C1 0%, #FFC7D8 100%);
    border-color: rgba(196, 30, 58, 0.3);
    text-align: center;

    &:hover {
        background: linear-gradient(135deg, #FFC0CB 0%, #FFD0E0 100%);
        border-color: rgba(196, 30, 58, 0.4);
    }

    .mission__tile-text,
    .mission__tile-text--strong {
        font-family: 'Playfair Display', serif !important;
        font-style: italic;
        color: #C41E3A !important;
    }

    @media (min-width: 768px) {
        grid-column: 1 / 4;
        grid-row: 3 / 4;
    }
}

.mission__tile-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: white;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

.mission__tile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        padding-left: 1.75rem;
        position: relative;
        color: white;
        font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
        line-height: 1.35;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: rgba(255, 179, 193, 0.9);
            line-height: 1.35;
        }
    }
}

/* =========================================
   MANIFESTO - Statement section
   ========================================= */

@media (min-width: 768px) {
    .manifesto::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        pointer-events: none;
    }
}

.manifesto {
    position: relative;
    background-color: #FCEEF2;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 0;

    @media (min-width: 768px) {
        background-attachment: fixed;
        min-height: 740px;
    }

    @media (max-width: 767px) {
        padding: 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        background-image: url('images/swiadome-macierzynstwo-tlo-manifesto-mobile-pieknie-zyc.webp') !important;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

.manifesto .section__container {
    width: 100%;
}

.manifesto__content {
    position: relative;
    z-index: 2;
    width: 42%;
    margin-left: 0;
    margin-right: auto;
    text-align: center;

    @media (max-width: 767px) {
        position: relative;
        width: 100%;
        padding: 2rem clamp(1.5rem, 6vw, 3rem) 3rem;
        text-align: center;
        z-index: 3;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
}


.manifesto__mobile-image {
    display: none;

    @media (max-width: 767px) {
        display: none;
    }
}

@media (max-width: 767px) {
    .manifesto .section__container {
        position: relative;
        padding: 0;
        width: 100%;
        align-self: flex-start;
        margin-top: 16vh;
    }
}

.manifesto__text {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem) !important;
    font-weight: 700 !important;
    font-style: italic !important;
    line-height: 1.25;
    color: #C41E3A !important;
    margin: 0 0 1.25rem !important;

    @media (max-width: 767px) {
        font-size: 2.2rem !important;
        line-height: 1.55 !important;
        margin: 0 !important;
    }
}

.manifesto__text--accent {
    font-size: clamp(1.2rem, 1.9vw, 1.9rem) !important;
    font-weight: 400 !important;
    color: #C41E3A !important;

    @media (max-width: 767px) {
        font-size: 1.7rem !important;
        line-height: 1.55 !important;
        margin-top: 2.5rem !important;
    }
}

/* =========================================
   VISION - Bento Grid (Reversed Colors)
   ========================================= */
.vision {
    background: var(--color-footer-dark);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: 0;

    @media (max-width: 767px) {
        padding-bottom: 0 !important;
    }

    @media (min-width: 1024px) {
        padding-top: 2rem;
        padding-bottom: 0;
        overflow: visible;
        z-index: 2;
    }
}

.vision .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;

    @media (min-width: 1024px) {
        margin-bottom: 1.5rem;
    }
}

.vision__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 2rem;
    }

    @media (min-width: 1024px) {
        gap: 0;
        align-items: start;
    }
}

.vision__tiles-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;

    @media (min-width: 1024px) {
        align-self: center;
        position: relative;
        z-index: 1;
        transform: translateY(-15%);
    }
}

.vision__image-col {
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
    align-self: stretch;

    @media (min-width: 1024px) {
        position: relative;
        margin-top: -4rem;
        margin-left: 0;
        width: 100%;
        border-radius: 0;
        overflow: visible;
        z-index: 10;
        min-height: unset;
        align-self: auto;
    }

    @media (max-width: 767px) {
        min-height: unset;
        margin-top: -13rem;
        position: relative;
        z-index: 2;
        overflow: hidden;
        max-height: 85vw;
    }

    picture {
        display: block;
        height: 100%;
        overflow: visible;
    }

    img {
        width: 100%;
        height: 110%;
        object-fit: cover;
        object-position: center bottom;
        display: block;
        transform: scale(1.2);
        transform-origin: center top;

        @media (min-width: 1024px) {
            transform: scale(1.2) translateY(-27%);
            transform-origin: left top;
            object-position: left top;
        }

        @media (max-width: 767px) {
            height: 100%;
            object-fit: cover;
            object-position: center top;
            transform: translateX(15%);
        }
    }
}

/* Base Tile Styles */
.vision__tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    @media (min-width: 1024px) {
        border-radius: 4px 0 0 4px;
        padding: 4rem clamp(1.75rem, 3vw, 2.5rem);
        justify-content: center;
    }
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;

    &:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-4px);
    }
}


/* Base Text Styles */
.vision__tile-text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: white;
    margin: 0;
}

/* Tile 1 */
.vision__tile--1 {
    .vision__tile-text--large {
        font-size: clamp(1.375rem, 1.95vw, 1.625rem);
        line-height: 1.3;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
}

.vision__tile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        padding-left: 1.75rem;
        position: relative;
        color: white;
        font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
        line-height: 1.35;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: #C41E3A;
            line-height: 1.35;
        }
    }
}

/* =========================================
   ABOUT - Asymmetric Bento Grid
   ========================================= */
.about {
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAF8F6 100%);
    color: var(--color-footer-dark);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.about .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #C41E3A;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(180px, auto);
        gap: 1.25rem;
    }

    @media (min-width: 1024px) {
        gap: 1.5rem;
    }
}

/* Base Tile Styles */
.about__tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: rgba(92, 46, 54, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(92, 46, 54, 0.12);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;

    &:hover {
        background: rgba(92, 46, 54, 0.10);
        border-color: rgba(92, 46, 54, 0.18);
        transform: translateY(-4px);
    }
}

/* Specific Tile Layouts - Bento Grid */
.about__tile--image {
    padding: 0;
    background: transparent;
    border: none;

    @media (min-width: 768px) {
        grid-column: 1 / 3;
        grid-row: 1 / 4;
    }

    &:hover {
        background: transparent;
        transform: translateY(-4px);
    }

    picture {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        overflow: hidden;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.about__tile--story {
    border-left: 3px solid #C41E3A;
    background: rgba(196, 30, 58, 0.04);

    @media (min-width: 768px) {
        grid-column: 3 / 7;
        grid-row: 1 / 3;
    }
}

.about__tile--5 {
    border-left: 3px solid rgba(255, 179, 193, 0.8);
    background: rgba(255, 179, 193, 0.08);

    @media (min-width: 768px) {
        grid-column: 3 / 7;
        grid-row: 3 / 4;
    }
}

.about__tile--6 {
    @media (min-width: 768px) {
        grid-column: 1 / 7;
        grid-row: 4 / 5;
    }
}

/* Base Text Styles */
.about__tile-text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: var(--color-footer-dark);
    margin: 0;
}

.about__tile-text--intro {
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
    color: var(--color-footer-dark);
}

.about__tile-text--large {
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-footer-dark);
}

.about__tile-text--highlight {
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
    color: var(--color-footer-dark);

    strong {
        font-weight: 700;
        font-style: italic;
    }
}

.about__tile-text--emphasis {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-style: italic;
    color: var(--color-footer-dark);
}

.about__tile-text--strong {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-footer-dark);
}

.about__tile-text--signature {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-style: italic;
    font-weight: 600;
    color: #C41E3A;
    margin-top: 0.5rem;
}

.about__tile-heading {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-footer-dark);
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.about__tile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        padding-left: 1.75rem;
        position: relative;
        color: var(--color-footer-dark);
        font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
        line-height: 1.35;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: #C41E3A;
            line-height: 1.35;
        }
    }
}

.about__tile-list--credentials {
    li {
        padding: 1rem 1rem 1rem 1.75rem;
        background: transparent;
        border-radius: 4px;

        strong {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--color-footer-dark);
        }

        &::before {
            top: 1.4em;
        }
    }
}

.about__tile-detail {
    display: block;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--color-footer-dark);
    opacity: 0.7;
    line-height: 1.3;
}

/* Feminine highlight for key words - marker style */
.highlight {
    background: rgba(92, 46, 54, 0.1);
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-weight: 600;
    color: var(--color-footer-dark);
    position: relative;
    display: inline-block;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* =========================================
   WORK - Asymmetric Bento Grid
   ========================================= */
/* =========================================
   WORK - Jak możemy pracować razem (Mission Style)
   ========================================= */
.work {
    background: var(--color-footer-dark);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.work .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
}

.work__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(180px, auto);
        gap: 1.25rem;
    }

    @media (min-width: 1024px) {
        gap: 1.5rem;
    }
}

/* Base Tile Styles */
.work__tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;

    &:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-4px);
    }
}

/* Specific Tile Layouts */
.work__tile--1 {
    border-left: 3px solid rgba(255, 179, 193, 0.7);
    background: rgba(255, 179, 193, 0.05);

    @media (min-width: 768px) {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }
}

.work__tile--2 {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);

    @media (min-width: 768px) {
        grid-column: 4 / 7;
        grid-row: 1 / 3;
    }
}

.work__tile--3 {
    border-left: 3px solid rgba(255, 179, 193, 0.7);
    background: rgba(255, 179, 193, 0.05);

    @media (min-width: 768px) {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }
}

/* Base Text Styles */
.work__tile-text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: white;
    margin: 0;
}

.work__tile-text--large {
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-weight: 500;
    line-height: 1.3;
    color: white;
}

.work__tile-text--emphasis {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.3;
    color: white;
}

.work__tile-text--strong {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
    color: white;
}

.work__tile-heading {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: white;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.work__tile-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        padding-left: 1.75rem;
        position: relative;
        color: white;
        font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
        line-height: 1.35;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: rgba(255, 179, 193, 0.9);
            line-height: 1.35;
        }
    }
}

/* =========================================
   COURSES - Single Featured Course (Vision Style)
   ========================================= */
.courses {
    background: white;
    color: var(--color-footer-dark);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(7rem, 12vw, 10rem);
    padding-bottom: clamp(7rem, 12vw, 10rem);
}

.courses .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #C41E3A;
}

.courses__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;

    @media (min-width: 1024px) {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Course Card - Single Featured (Vision Style) */
.course-card {
    width: 100%;
    padding: clamp(2.5rem, 4vw, 3.5rem);
    background: rgba(92, 46, 54, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(92, 46, 54, 0.12);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    height: 100%;

    &:hover {
        background: rgba(92, 46, 54, 0.10);
        border-color: rgba(92, 46, 54, 0.18);
        transform: translateY(-4px);
    }
}

.course-card--image {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 46, 54, 0.04);

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    &:hover {
        transform: translateY(-4px);
    }
}

.course-card__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-footer-dark);
    margin: 0;
    line-height: 1.2;
}

.course-card__description {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: var(--color-footer-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;

    p {
        margin-bottom: 0.75rem;
        padding-left: 1.5rem;
        position: relative;
        text-align: left;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: #C41E3A;
            line-height: 1.4;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.course-card__link {
    margin: 1.5rem auto 0 auto;
    padding: 1rem 2.25rem;
    background: var(--color-footer-dark);
    color: white;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: clamp(0.8125rem, 1vw, 0.9375rem);
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 4px 16px rgba(139, 21, 56, 0.25);

    &:hover {
        background: #6B0F2C;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(139, 21, 56, 0.35);
        color: white;
    }

    &:active {
        transform: translateY(0);
    }
}

/* =========================================
   COURSE CARD — promo (Piękna Ciąża)
   ========================================= */
.course-card--promo {
    text-align: left;
    align-items: stretch;
    gap: 1.25rem;
}

.course-card--promo .course-card__title {
    text-align: center;
}

.course-card__lead {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    font-style: italic;
    color: var(--color-footer-dark);
    text-align: center;
    margin: 0;
}

.course-card__sublead {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.55;
    color: var(--color-footer-dark);
    text-align: center;
    margin: 0;
    opacity: 0.88;
}

.course-features {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.course-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.5;
    color: var(--color-footer-dark);
}

.course-feature__icon {
    flex-shrink: 0;
    width: 1.4em;
    height: 1.4em;
    color: #C41E3A;
    margin-top: 0.05em;
}

.course-feature--bonus {
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.06), rgba(146, 61, 65, 0.04));
    border-left: 2px solid #C41E3A;
    border-radius: 0 4px 4px 0;
}

.course-feature--bonus strong {
    color: #C41E3A;
    letter-spacing: 0.04em;
    font-weight: 700;
}

/* Cena promocyjna */
.course-pricing {
    margin-top: 0.5rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #FFF0F2 0%, #FCEEF2 100%);
    border: 1px solid rgba(196, 30, 58, 0.15);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.course-pricing__row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.course-pricing__old {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: rgba(107, 46, 49, 0.55);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    font-weight: 500;
}

.course-pricing__new {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 600;
    color: #C41E3A;
    line-height: 1;
    letter-spacing: -0.01em;
}

.course-pricing__badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-footer-dark);
    opacity: 0.7;
    font-weight: 600;
}

/* Odliczanie do końca promocji */
.course-pricing__countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(196, 30, 58, 0.25);
}

.course-pricing__countdown-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(107, 46, 49, 0.7);
    font-weight: 600;
}

.course-pricing__countdown-time {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: #C41E3A;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

/* Licznik promocji */
.course-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 0.5rem;
    margin-top: -0.25rem;
}

.course-countdown__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-footer-dark);
    opacity: 0.78;
    font-weight: 600;
}

.course-countdown__timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.5rem;
    padding: 0.6rem 0.4rem;
    background: var(--color-footer-dark, #6B2E31);
    border-radius: 4px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(107, 46, 49, 0.18);
}

.course-countdown__value {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.course-countdown__name {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 0.3rem;
    opacity: 0.85;
}

.course-countdown__sep {
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    color: var(--color-footer-dark);
    opacity: 0.5;
    line-height: 1;
    transform: translateY(-0.4em);
}

.course-countdown.is-ended .course-countdown__timer {
    opacity: 0.5;
}

.course-card--promo .course-card__link {
    margin-top: 0.5rem;
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    background: linear-gradient(135deg, #C41E3A 0%, #923D41 100%);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.32);

    &:hover {
        background: linear-gradient(135deg, #923D41 0%, #6B2E31 100%);
        box-shadow: 0 10px 28px rgba(196, 30, 58, 0.42);
    }
}

/* Pre-launch CTA — nieaktywny stan przed startem sprzedaży */
.course-card__link--coming {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: not-allowed;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(107, 46, 49, 0.85) 0%, rgba(146, 61, 65, 0.85) 100%) !important;
    box-shadow: 0 4px 14px rgba(107, 46, 49, 0.22) !important;
    opacity: 0.92;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.course-card__link--coming::before {
    content: '⏳';
    font-size: 1em;
    opacity: 0.9;
}

.course-card__link--coming::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: pz-shimmer 2.8s ease-in-out infinite;
}

@keyframes pz-shimmer {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .course-card__link--coming::after { animation: none; }
}

.course-card__terms-note {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(107, 46, 49, 0.6);
    letter-spacing: 0.01em;

    a {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color var(--transition-normal);

        &:hover {
            color: #C41E3A;
        }
    }
}

@media (max-width: 480px) {
    .course-countdown__unit {
        min-width: 2.85rem;
        padding: 0.5rem 0.3rem;
    }

    .course-countdown__timer {
        gap: 0.3rem;
    }

    .course-countdown__sep {
        font-size: 1.1rem;
    }
}

/* =========================================
   CREATION - Mission Style (Burgundy Background)
   ========================================= */
.creation {
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAF8F6 100%);
    color: var(--color-footer-dark);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.creation .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #C41E3A;
}

.creation__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 1.5rem;
    }
}

.creation__tiles-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

    @media (min-width: 768px) {
        justify-content: center;
        gap: 1.25rem;
    }
}

.creation__image-col {
    border-radius: 4px;
    overflow: hidden;
    min-height: 420px;

    @media (max-width: 767px) {
        margin-top: -10rem;
        position: relative;
        z-index: 2;
        overflow: visible;
        min-height: unset;
        transform: scale(0.9);
        transform-origin: center top;
    }

    picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }
}

/* Base Tile Styles */
.creation__tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: rgba(92, 46, 54, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(92, 46, 54, 0.12);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;

    &:hover {
        background: rgba(92, 46, 54, 0.10);
        border-color: rgba(92, 46, 54, 0.18);
        transform: translateY(-4px);
    }
}

/* Specific Tile Styles */
.creation__tile--1 {
    background: rgba(255, 210, 50, 0.12);
    border: 1px solid rgba(210, 160, 0, 0.3);
    border-left: 3px solid #D4A800;

    &:hover {
        background: rgba(255, 210, 50, 0.2);
        border-color: rgba(210, 160, 0, 0.45);
    }
}

.creation__tile--2 {
    background: linear-gradient(135deg, rgba(255, 179, 193, 0.25) 0%, rgba(255, 199, 216, 0.25) 100%);
    border-left: 3px solid rgba(196, 30, 58, 0.3);

    &:hover {
        background: linear-gradient(135deg, rgba(255, 179, 193, 0.35) 0%, rgba(255, 199, 216, 0.35) 100%);
    }

    .creation__power-main,
    .creation__power-reveal,
    .gradient-text {
        color: #C41E3A !important;
    }
}

.creation__tile--3 {
    background: rgba(255, 210, 50, 0.12);
    border: 1px solid rgba(210, 160, 0, 0.3);
    border-left: 3px solid #D4A800;

    &:hover {
        background: rgba(255, 210, 50, 0.2);
        border-color: rgba(210, 160, 0, 0.45);
    }
}

/* Text Styles */
.creation__tile-heading {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-footer-dark);
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.creation__tile-list,
.creation__empowerment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        padding-left: 1.75rem;
        position: relative;
        color: var(--color-footer-dark);
        font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
        line-height: 1.35;

        &::before {
            content: '✿';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.9em;
            color: #D4A800;
            line-height: 1.35;
        }
    }
}

/* Power Statement */
.creation__power-statement {
    text-align: center;
    padding: 0;
}

.creation__power-quote {
    margin: 0;
    padding: 0;
}

.creation__power-main {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--color-footer-dark);
}

.gradient-text {
    font-weight: 700;
    color: #C41E3A;
}

.creation__power-reveal {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-footer-dark);
    margin: 0;
}

/* =========================================
   CTA - Full Width Impact
   ========================================= */
.cta {
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAF8F6 100%);
    color: var(--color-footer-dark);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta__title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.2;
    color: #C41E3A;
    margin-bottom: 2.5rem;
    position: relative;
    padding-top: 1.5rem;

    /* separator — jak w section__title */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 300px;
        height: 2px;
        background: #C41E3A;
        opacity: 0.4;
    }
}

.cta__text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: var(--color-footer-dark);
    margin-bottom: 2.5rem;
}

.cta__closing {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    color: #C41E3A;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;

    .btn {
        min-width: 220px;
    }
}

/* =========================================
   PARALLAX SECTION - Feminine Inspiration
   ========================================= */
.parallax-section {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    @media (min-width: 768px) {
        min-height: 500px;
    }

    @media (max-width: 767px) {
        background-attachment: scroll;
        min-height: 300px;
    }
}

@media (min-width: 768px) {
    .parallax-section::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        pointer-events: none;
    }
}

.parallax-section--mirrored {
    background-position: center center;
}


/* =========================================
   TESTIMONIALS - Elegant Single Slider
   ========================================= */
.testimonials {
    background: white;
    color: var(--color-footer-dark);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.testimonials .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #C41E3A;
}

.testimonials__slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    background: transparent;
    border: none;
    padding: clamp(2.5rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1s;

    &::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: clamp(2rem, 4vw, 3rem);
        font-size: clamp(6rem, 12vw, 10rem);
        font-family: var(--font-display);
        color: rgba(196, 30, 58, 0.15);
        line-height: 1;
        z-index: 0;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
        opacity: 0.3;
        border-radius: 50%;
        z-index: 0;
    }
}

.testimonial--active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    animation: floatIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.testimonial__quote {
    font-size: clamp(1.4375rem, 2.3vw, 1.875rem);
    line-height: 1.4;
    color: #C41E3A;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonial__author {
    font-size: clamp(1.15rem, 1.75vw, 1.3rem);
    font-weight: 600;
    color: #C41E3A;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--color-footer-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    opacity: 0.4;

    &:hover {
        opacity: 0.7;
        transform: scale(1.2);
    }

    &--active {
        background: var(--color-footer-dark);
        opacity: 1;
        transform: scale(1.3);
    }
}

/* =========================================
   GALLERY - Asymmetric Grid
   ========================================= */
/* =========================================
   GALLERY / INSTAGRAM SECTION
   ========================================= */
.gallery {
    background: var(--color-bg-primary);
    position: relative;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);

    @media (max-width: 767px) {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Instagram profile header */
.instagram__profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.instagram__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #C41E3A;
}

.instagram__icon {
    width: 100%;
    height: 100%;
}

.instagram__handle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #C41E3A;
    text-transform: lowercase;
}

/* Section title */
.gallery .section__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1.75rem;
    color: #C41E3A;
}

/* Slogans */
.instagram__slogans {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.instagram__slogan {
    text-align: center;
    font-size: clamp(1.375rem, 1.95vw, 1.625rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
    color: var(--color-footer-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    &::before {
        content: '✿';
        color: #C41E3A;
        font-size: 0.75em;
        font-style: normal;
        flex-shrink: 0;
    }
}

/* CTA Button */
.instagram__cta {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.55rem;
    margin: 2.75rem auto 0;
    padding: 0.85rem 2rem;
    background: var(--color-footer-dark);
    color: white;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 16px rgba(139, 21, 56, 0.25);

    svg {
        width: 1.1rem;
        height: 1.1rem;
        flex-shrink: 0;
    }

    &:hover {
        background: #6B0F2C;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(139, 21, 56, 0.35);
    }

    &:active {
        transform: translateY(0);
    }
}

/* Bento-style gallery grid */
.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;

    @media (min-width: 768px) {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 320px;
        gap: 1.25rem;
    }
}

.gallery__item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;

    @media (min-width: 768px) {
        &:nth-child(1) {
            grid-column: 1 / 4;
            grid-row: 1 / 3;
        }

        &:nth-child(2) {
            grid-column: 4 / 7;
            grid-row: 1 / 2;
        }

        &:nth-child(3) {
            grid-column: 4 / 7;
            grid-row: 2 / 3;
        }
    }

    /* Burgundy hover overlay */
    &::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(139, 21, 56, 0.14);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

    &:hover::after {
        opacity: 1;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    &:hover img {
        transform: scale(1.06);
    }
}


/* =========================================
   NEWSLETTER - Glassmorphism Form
   ========================================= */
.newsletter {
    background: var(--color-footer-dark);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.newsletter__badge {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 210, 220, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.newsletter .section__title,
.newsletter__title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.2;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    padding-top: 1.5rem;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 300px;
        height: 2px;
        background: rgba(255, 255, 255, 0.4);
    }
}

.newsletter__description {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto 2.25rem;
}

.newsletter__benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin: 0 auto 2.5rem;
}

.newsletter__benefit {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    &::before {
        content: '✿';
        color: rgba(255, 200, 215, 0.9);
        font-size: 0.8em;
        font-weight: 400;
        flex-shrink: 0;
    }
}

.newsletter__trust {
    text-align: center;
    margin-top: 1.25rem;

    small {
        font-family: var(--font-body);
        color: white;
        opacity: 0.45;
        font-size: 0.875rem;
        letter-spacing: 0.02em;
    }
}

/* Komunikat po zapisie / błędzie */
.newsletter__message {
    margin-top: 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.newsletter__message--ok {
    background: rgba(52, 168, 83, 0.18);
    color: #d4f5dc;
    border: 1px solid rgba(52, 168, 83, 0.55);
}

.newsletter__message--error {
    background: rgba(255, 80, 80, 0.2);
    color: #ffe0e0;
    border: 1px solid rgba(255, 120, 120, 0.4);
}

.newsletter__form {
    max-width: 640px;
    margin: 0 auto;
}

.newsletter__input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);

    @media (min-width: 640px) {
        flex-direction: row;
        align-items: center;
    }
}

.newsletter__input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-footer-dark);
    transition: all var(--transition-fast);

    &:focus {
        outline: none;
        border-color: white;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    &::placeholder {
        color: rgba(92, 46, 54, 0.5);
    }
}

.newsletter .btn--primary {
    background: white;
    color: var(--color-footer-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);

    &:hover {
        background: rgba(255, 255, 255, 0.88);
        color: var(--color-footer-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }
}

/* ——— Warianty kolorystyczne pasma newslettera ———
   Domyślne tło (burgundowe) zostaje na stronie głównej; przestrzenie dostają
   barwę dobraną do własnej fotografii. */

/* Piękna Kobiecość — oliwka wyjęta z zieleni drzew w hero.
   Ciemne pasmo z białym tekstem, jak wersja bazowa; sterujemy jedną zmienną,
   z której bierze się też kolor napisu na przycisku i w polu e-mail. */
.newsletter--oliwka {
    --newsletter-tlo: #5C6B4A;

    background: linear-gradient(160deg, #6B7757 0%, var(--newsletter-tlo) 52%, #4C5A3E 100%);

    /* Różowe akcenty z wersji burgundowej gryzłyby się z zielenią */
    .newsletter__badge {
        color: rgba(255, 255, 255, 0.82);
    }

    .newsletter__benefit::before {
        color: rgba(255, 255, 255, 0.72);
    }

    .newsletter__input {
        color: var(--newsletter-tlo);

        &::placeholder {
            color: color-mix(in srgb, var(--newsletter-tlo) 55%, white);
        }
    }

    .btn--primary,
    .btn--primary:hover {
        color: var(--newsletter-tlo);
    }
}

/* Pokochaj Siebie — ciepły beż z różowym podkładem, spod sukni w hero.
   Tu pasmo jest JASNE, więc cała typografia przechodzi na ciemną: biały tekst
   z wersji bazowej byłby na beżu nieczytelny, a przygaszenie beżu tak, żeby
   biel się obroniła, dawało błotnisty odcień. */
.newsletter--bez {
    background: linear-gradient(160deg, #F5E8DC 0%, #EDDACA 55%, #E2C9B6 100%);

    .newsletter__badge {
        color: var(--color-gold, #A56A22);
    }

    .newsletter__title,
    .section__title {
        color: #6B2E31;
    }

    .newsletter__description {
        color: rgba(107, 46, 49, 0.82);
    }

    .newsletter__benefit {
        color: #6B2E31;

        &::before {
            color: #C41E3A;
        }
    }

    .newsletter__trust small {
        color: #6B2E31;
        opacity: 0.6;
    }

    .newsletter__input-group {
        background: rgba(255, 255, 255, 0.55);
        border-color: rgba(107, 46, 49, 0.16);
    }

    .newsletter__input {
        background: #fff;
        border-color: rgba(107, 46, 49, 0.2);
        color: #6B2E31;

        &:focus {
            border-color: #C41E3A;
            box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
        }
    }

    /* Biały przycisk zniknąłby na jasnym tle — odwracamy go na wypełniony */
    .btn--primary {
        background: #C41E3A;
        color: #fff;
        box-shadow: 0 4px 16px rgba(107, 46, 49, 0.22);

        &:hover {
            background: #A8172F;
            color: #fff;
            box-shadow: 0 8px 24px rgba(107, 46, 49, 0.3);
        }
    }
}

/* =========================================
   PREGNANCY JOURNEY PROGRESS BAR
   ========================================= */
.pregnancy-progress {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: none;

    @media (min-width: 1200px) {
        display: block;
    }
}

.pregnancy-progress__track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        var(--color-powder-pink-light) 0%,
        var(--color-powder-pink) 50%,
        #E8699C 100%
    );
    transform: translateX(-50%);
    opacity: 0.3;
}

.pregnancy-progress__months {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.pregnancy-progress__month {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    opacity: 0.4;

    &:hover {
        opacity: 1;
        transform: translateX(-8px);

        .pregnancy-progress__label {
            opacity: 1;
            visibility: visible;
        }
    }

    &.active {
        opacity: 1;

        .pregnancy-progress__dot {
            background: #E8699C;
            box-shadow: 0 0 20px rgba(232, 105, 156, 0.6),
                        0 0 40px rgba(232, 105, 156, 0.3);
            transform: scale(1.4);

            &::after {
                opacity: 1;
                animation: pulse-ring 2s ease-out infinite;
            }
        }

        .pregnancy-progress__label {
            color: #E8699C;
            font-weight: 600;
        }
    }

    &.completed {
        opacity: 0.7;

        .pregnancy-progress__dot {
            background: var(--color-powder-pink);
            border-color: #E8699C;
        }
    }
}

.pregnancy-progress__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-powder-pink-light);
    transition: all var(--transition-normal);
    position: relative;
    flex-shrink: 0;
    z-index: 2;

    &::after {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 2px solid #E8699C;
        opacity: 0;
        transition: opacity var(--transition-fast);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pregnancy-progress__label {
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    text-align: right;

    small {
        font-size: 0.75rem;
        color: #E8699C;
        font-weight: 500;
        display: block;
        margin-top: 0.25rem;
    }
}

/* =========================================
   SCROLL TO TOP BUTTON - Feminine Design
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(146, 61, 65, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all var(--transition-normal);
    z-index: 999;

    &::before {
        content: '';
        position: absolute;
        inset: -3px;
        background: linear-gradient(135deg, var(--color-burgundy-light), var(--color-coral));
        border-radius: 50%;
        opacity: 0;
        transition: opacity var(--transition-fast);
        z-index: -1;
    }

    &:hover {
        transform: translateY(-4px) scale(1);
        box-shadow: 0 12px 32px rgba(146, 61, 65, 0.35);

        &::before {
            opacity: 0.3;
            animation: pulse 1.5s ease-in-out infinite;
        }
    }

    &.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    svg {
        width: 24px;
        height: 24px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* =========================================
   DECORATIVE FLOATING ELEMENTS
   ========================================= */
.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--color-powder-pink-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Gallery reveal animation handled in main .gallery__item block above */

/* Enhanced Input Focus Effects */
.newsletter__input:focus,
input[type="email"]:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    outline: none;
}

/* Smooth Section Transitions - Storytelling Flow */
.section {
    position: relative;
}

/* Old .revealed system removed — replaced by [data-reveal] / .is-revealed */

/* Pulsing attention for active section */
@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* Visual connectors between sections */
.mission::after,
.vision::after,
.about::after,
.work::after,
.courses::after,
.creation::after,
.testimonials::after {
    content: '↓';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-powder-pink);
    opacity: 0.3;
    animation: floatDown 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;

    @media (max-width: 767px) {
        bottom: -30px;
        font-size: 1.5rem;
    }
}

@keyframes floatDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.6;
    }
}

/* Card Hover Enhancements removed - using Vision section style */

/* Decorative Quote Marks in Testimonials Enhancement */
.testimonial {
    &::after {
        animation: fadeInScale 1s ease-out 0.3s both;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Newsletter Form Enhancement */
.newsletter__form {
    position: relative;

    &::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(135deg, var(--color-burgundy), var(--color-coral));
        border-radius: var(--radius-lg);
        opacity: 0;
        transition: opacity var(--transition-normal);
        z-index: -1;
    }

    &:focus-within::before {
        opacity: 0.1;
    }
}

/* Hero Image Breathing Animation */
.hero__visual--animated img {
    animation: heroBreathing 8s ease-in-out infinite;
}

@keyframes heroBreathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Link Hover Effects */
/* Uwaga: linki przestrzeni (portal + podstrony) mają własne stany hover
   i nie mogą dostać position:relative ani podkreślenia ::after — stąd :not() poniżej.
   Skip-link też jest wyjęty: potrzebuje position:absolute, żeby chować się
   poza ekranem do momentu użycia klawisza Tab. */
a:not(.btn):not(.nav__logo):not(.nav__link):not(.footer__link):not(.footer__contact-link):not(.footer__social-link):not(.footer__legal-link):not(.instagram__cta):not(.portal__tile):not(.portal__scroll):not(.przestrzen-hero__scroll):not(.blog-hero__scroll):not(.przestrzen-back):not(.produkt__cta):not(.przejscie):not(.certyfikat__ramka):not(.skip-link):not(.lm-ticker):not(.portal__hint):not(.lm-bar__link) {
    position: relative;
    transition: color var(--transition-fast);

    &::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--color-burgundy), var(--color-coral));
        transition: width var(--transition-normal);
    }

    &:hover::after {
        width: 100%;
    }
}

/* Enhanced Button Press Effect */
.btn:active {
    transform: translateY(1px) !important;
}

/* Decorative Dots Pattern */
.section__container {
    position: relative;
}

/* =========================================
   FOOTER
   ========================================= */
/* Tło stopki: cieplejszy, koralowy róż zamiast dawnej burgundowej płaszczyzny.
   Osobna zmienna (nie --color-footer-dark), bo tamta steruje też kolorem tekstu
   i przycisków w całym serwisie. Kwiat z tła usunięty na życzenie Klaudii. */
.footer {
    background: linear-gradient(160deg, #C4645C 0%, var(--color-footer-coral) 52%, #A64450 100%);
    color: var(--color-text-inverse);
    padding: 4rem 0 3.5rem;
    position: relative;
    margin-top: 0;

    @media (max-width: 767px) {
        padding: 3rem 0 2.5rem;
    }
}

/* Footer main 2-column grid */
.footer__main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;

    @media (max-width: 767px) {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
}

/* Column 1 – Brand */
/* Stopka ma koralowe tło, więc idzie tu kremowy wariant znaku — koralowe
   pismo zlałoby się z tłem. Znak zawiera już podpis „Klaudia Radziwołek",
   dlatego osobna linia z nazwiskiem została usunięta. */
.footer__logo {
    display: block;
    line-height: 0;
    margin-bottom: 1.5rem;

    @media (max-width: 767px) {
        text-align: center;
    }
}

.footer__logo img {
    display: inline-block;
    width: clamp(12rem, 20vw, 17rem);
    height: auto;
}

.footer__contact-link {
    display: block;
    font-family: var(--font-body) !important;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem) !important;
    font-weight: 500 !important;
    color: white !important;
    text-decoration: none !important;
    line-height: 1.65;
    transition: color var(--transition-fast);

    &:hover {
        color: rgba(255, 255, 255, 0.75) !important;
    }
}

.footer__socials {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.75rem;

    @media (max-width: 767px) {
        justify-content: center;
    }
}

.footer__social-link {
    color: white;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast), transform var(--transition-fast);

    &:hover {
        color: white;
        transform: translateY(-3px);
    }
}

/* Column 2 – Tagline */
.footer__tagline-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.5rem;
}

.footer__tagline-large {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    line-height: 1.25;
    color: white;
    margin-bottom: 1.25rem;

    em {
        font-style: italic;
    }
}

.footer__tagline-text {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.65;
    color: white;
}

/* Bottom bar */
.footer__bottom {
    max-width: 1300px;
    margin: 3rem auto 0;
    padding: 1.5rem clamp(1.5rem, 5vw, 3rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer__copyright {
    font-family: var(--font-body) !important;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem) !important;
    font-weight: 500 !important;
    color: white !important;
    line-height: 1.7;
}

.footer__aero-logo {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 2px 2px;
    border-radius: 3px;
}

.footer__copyright a {
    white-space: nowrap;
}

/* Autorzy fotografii — linia pod autorem strony */
.footer__photo-credit {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer__legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;

    span {
        color: rgba(255, 255, 255, 0.5);
        font-size: 1rem;
    }
}

.footer__legal-link {
    font-family: var(--font-body) !important;
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem) !important;
    font-weight: 500 !important;
    color: white !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color var(--transition-fast);

    &:hover {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

/* =========================================
   ANIMATIONS & INTERACTIONS
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 3px solid var(--color-text-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================
   SKIP-LINK — „Przejdź do treści"
   Niewidoczny, dopóki nie dostanie fokusu z klawiatury (Tab).
   Pozwala pominąć nawigację i wejść od razu w treść strony.
   WCAG 2.2, kryterium 2.4.1 (Bypass Blocks).
   ========================================= */
.skip-link {
    /* inline-block jest konieczne: na elementach display:inline
       transform w ogóle nie działa i link zostałby widoczny na stronie. */
    display: inline-block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 9999;

    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);

    background-color: var(--color-burgundy);
    color: var(--color-text-inverse);

    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translate(-50%, 0);
    outline: 3px solid var(--color-coral);
    outline-offset: 2px;
}

/* Cel skip-linka ma tabindex="-1", żeby fokus faktycznie tam wskoczył.
   Bez tego przeglądarka przewija stronę, ale zostawia fokus w nawigacji.
   Obramowanie przy tym fokusie byłoby mylące, więc je zdejmujemy. */
main:focus {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* Pozycja „Darmowy e-book" w menu — to jedyne miejsce w nawigacji,
   które prowadzi do czegoś darmowego, więc ma prawo być głośniejsze
   od reszty. Większe litery i złoty akcent pod spodem.
   Dodane 2026-08-26. */
.nav__link--ebook {
    font-size: clamp(1.06rem, 1.28vw, 1.28rem) !important;
    font-weight: 700 !important;
    color: var(--color-burgundy) !important;
}

.nav__link--ebook::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #E8C07A, #C41E3A);
    opacity: 0.75;
}

.nav__link--ebook:hover::after {
    opacity: 1;
}

@media (max-width: 1023px) {
    /* W menu mobilnym pozycje są duże (clamp 1.6–2.4rem), a reguła
       desktopowa narzucała tej jednej ~1rem — była wyraźnie mniejsza
       od pozostałych. Tutaj wracamy do skali menu mobilnego i dokładamy
       jeszcze pół kroku w górę, żeby zachować wyróżnienie.
       Tło menu jest koralowe, więc burgund by na nim zgasł. */
    .nav__link--ebook {
        font-size: clamp(1.7rem, 5.9vw, 2.5rem) !important;
        color: #FFF6F9 !important;
    }

    /* Złota kreska pod pozycją — na koralu czyta się lepiej niż gradient */
    .nav__link--ebook::after {
        background: #FFE0A8;
        height: 2px;
    }
}

/* =========================================================================
   LEADMAGNET — sekcja zapisu po bezpłatnego e-booka

   Jeden komponent na wszystkich podstronach poza kontaktem.
   Zastępuje wcześniejszą sekcję newslettera.

   Sekcja jest CIEMNA (burgund) — celowo. Reszta stron utrzymana jest
   w jasnych różach, więc ciemny blok zatrzymuje wzrok i nie zlewa się
   z otoczeniem. To zresztą pierwotna intencja klasy .newsletter, która
   od początku była projektowana pod biały tekst.

   Klasy .newsletter__* zostają, bo trzyma się na nich script.js.
   Przeniesione tu z przestrzenie.css 2026-08-26 — sekcja jest globalna,
   a blog.html nie wczytuje przestrzenie.css.
   ========================================================================= */

.lm {
    position: relative;
    padding: clamp(3rem, 8vh, 5.5rem) 1.25rem;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(196, 30, 58, 0.38) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(165, 106, 34, 0.22) 0%, transparent 50%),
        linear-gradient(155deg, #7E3438 0%, #6B2E31 55%, #5A2528 100%);
    overflow: hidden;
}

/* Złote włosowe linie odcinające sekcję od reszty strony */
.lm::before,
.lm::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 192, 122, 0.55), transparent);
}

.lm::before { top: 0; }
.lm::after  { bottom: 0; }

.lm__container {
    position: relative;
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: center;
}

/* ——— Okładka ——— */
.lm__cover {
    margin: 0 auto;
    max-width: 15rem;
}

.lm__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow:
        0 28px 55px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(232, 192, 122, 0.28);
}

/* ——— Treść ——— */
.lm__kicker {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #E8C07A;
    margin: 0 0 0.6rem;
}

.lm__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.2vw, 2.6rem);
    line-height: 1.13;
    color: #FFF6F9;
    margin: 0 0 0.7rem;
}

.lm__lead {
    font-size: 1rem;
    line-height: 1.68;
    color: rgba(255, 246, 249, 0.9);
    margin: 0 0 1.15rem;
}

.lm__points {
    list-style: none;
    margin: 0 0 1.7rem;
    padding: 0;
}

.lm__points li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 246, 249, 0.86);
}

.lm__points li::before {
    content: "\2767";
    position: absolute;
    left: 0;
    top: 0.05em;
    color: #E8C07A;
    font-size: 0.85em;
}

/* ——— Pasek zapisu ———
   Otoczka paska ma delikatną, przesuwającą się poświatę. W spoczynku
   jest ledwie widoczna, a rozjaśnia się, gdy kursor wejdzie w pole —
   subtelny sygnał, że to tutaj się zapisujesz. */
.lm .newsletter__form {
    max-width: none;
    margin: 0;
}

.lm .newsletter__input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
    border-radius: 44px;
}

.lm .newsletter__input-group::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 46px;
    background: linear-gradient(100deg,
        rgba(232, 192, 122, 0)   0%,
        rgba(232, 192, 122, 0.7) 25%,
        rgba(255, 246, 249, 0.9) 45%,
        rgba(232, 192, 122, 0.7) 65%,
        rgba(232, 192, 122, 0)   100%);
    background-size: 260% 100%;
    opacity: 0.32;
    filter: blur(5px);
    z-index: 0;
    pointer-events: none;
    animation: lmPoswiata 7s linear infinite;
    transition: opacity 400ms ease, filter 400ms ease;
}

.lm .newsletter__input-group:focus-within::before {
    opacity: 0.85;
    filter: blur(7px);
}

@keyframes lmPoswiata {
    0%   { background-position:   0% 50%; }
    100% { background-position: 260% 50%; }
}

.lm .newsletter__input,
.lm .newsletter__button {
    position: relative;
    z-index: 1;
}

.lm .newsletter__input {
    flex: 1;
    width: 100%;
    padding: 0.95rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #4A2023;
    background: #FFFDFB;
    border: 1.5px solid rgba(255, 246, 249, 0.35);
    border-radius: 40px;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.lm .newsletter__input::placeholder {
    color: rgba(74, 32, 35, 0.5);
}

.lm .newsletter__input:focus {
    outline: none;
    border-color: #E8C07A;
    box-shadow: 0 0 0 3px rgba(232, 192, 122, 0.3);
}

/* Przycisk w złocie — na burgundzie czyta się mocniej niż czerwień */
.lm .newsletter__button {
    flex: none;
    padding: 0.95rem 2rem;
    background: linear-gradient(135deg, #F0D3A0 0%, #E8C07A 55%, #D8A85C 100%);
    color: #5A2528;
    border: none;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 250ms ease, box-shadow 250ms ease;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.65);
}

.lm .newsletter__button:hover,
.lm .newsletter__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.75);
}

.lm .newsletter__button:active {
    transform: translateY(0);
}

.lm .newsletter__button:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

/* ——— Zgoda ——— */
.lm .newsletter__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1rem 0 0;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 246, 249, 0.82);
    cursor: pointer;
}

.lm .newsletter__consent input[type="checkbox"] {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: #E8C07A;
    cursor: pointer;
}

.lm .newsletter__consent a {
    color: #E8C07A;
    text-decoration: underline;
}

.lm .newsletter__consent--error {
    color: #FFD9D9;
    font-weight: 600;
}

/* ——— Zdanie zaufania ——— */
.lm .newsletter__trust {
    text-align: left;
    margin-top: 0.8rem;
}

.lm .newsletter__trust small {
    color: rgba(255, 246, 249, 0.68);
    opacity: 1;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ——— Komunikaty: jasne kafelki na ciemnym tle ——— */
.lm .newsletter__message {
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
    animation: lmKomunikat 400ms ease both;
}

@keyframes lmKomunikat {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lm .newsletter__message--ok {
    background: #FFFDFB;
    color: #1F6B3B;
    border-left: 4px solid #3E8E5A;
}

.lm .newsletter__message--error {
    background: #FFF4F6;
    color: #96182F;
    border-left: 4px solid #C41E3A;
}

/* ——— Od tabletu: okładka obok treści ——— */
@media (min-width: 48rem) {
    .lm__container {
        grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
    }

    .lm__cover {
        max-width: 100%;
    }

    .lm .newsletter__input-group {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }

    .lm .newsletter__input {
        width: auto;
    }
}

/* ——— Szacunek dla ustawień dostępności ——— */
@media (prefers-reduced-motion: reduce) {
    .lm .newsletter__input-group::before {
        animation: none;
        opacity: 0.4;
    }

    .lm .newsletter__message {
        animation: none;
    }

    .lm .newsletter__button {
        transition: none;
    }
}

/* Kotwica #ebook — nagłówek jest przyklejony, więc bez tego marginesu
   góra sekcji chowa się pod paskiem nawigacji po kliknięciu w link.
   Dodane 2026-08-26. */
.lm {
    scroll-margin-top: clamp(4.6rem, 11vh, 7rem);
}
