/* ========================================
   SYRENA — strona instruktorki mermaidingu
   Paleta kremowo-perłowa, luksusowy minimalizm
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Paleta i typografia są zdefiniowane w palette.css (zmienne :root). */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px; /* offset pod stałą nawigację */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark-brown);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Nagłówki — Fraunces, lekko ściśnięty tracking (wg gemini-code) */
h1, h2, h3,
.navbar__logo, .footer__logo, .hero__title,
.about__name, .courses__title, .showcase__title,
.gallery__title, .course-card__name, .faq__question,
.faq__title, .contact__title, .social-section__title {
    letter-spacing: -0.02em;
}

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

a {
    color: var(--deep-taupe);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--gold-accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }

/* --- SKIP-LINK (dostępność: przeskok do treści) --- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--gold-accent);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    color: var(--white);
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* --- NAWIGACJA --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 18px 40px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    transition: background 0.4s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.08);
}
.navbar__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--dark-brown);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.navbar__logo span { color: var(--gold-accent); }

.navbar__links {
    display: flex;
    list-style: none;
    gap: 34px;
}
.navbar__links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--deep-taupe);
    position: relative;
    padding-bottom: 4px;
}
.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}
.navbar__links a:hover { color: var(--gold-accent); }
.navbar__links a:hover::after { width: 100%; }
/* Aktywna pozycja menu (bieżąca strona) */
.navbar__links .current-menu-item > a,
.navbar__links .current_page_item > a { color: var(--gold-accent); }
.navbar__links .current-menu-item > a::after,
.navbar__links .current_page_item > a::after { width: 100%; }
.mobile-menu__links .current-menu-item > a,
.mobile-menu__links .current_page_item > a { color: var(--gold-accent); }

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.navbar__hamburger span {
    display: block;
    width: 28px; height: 1.5px;
    background: var(--dark-brown);
    transition: all 0.3s ease;
}
.navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--menu-bg);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu__links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.mobile-menu__links a {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--dark-brown);
    letter-spacing: 0.05em;
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--dark-brown);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero__slide.active { opacity: 1; }
.hero__credit {
    position: absolute; right: 18px; bottom: 14px; z-index: 2; margin: 0;
    font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.75); font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); pointer-events: none;
}
.hero__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
}
@keyframes heroZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.06); }
}
.hero__overlay {
    position: absolute;
    inset: 0;
    /* Przyciemnienie skupione za tekstem (środek) — poprawia kontrast białego
       napisu na jasnych kadrach (WCAG AA), krawędzie pozostają lżejsze. */
    background:
        radial-gradient(ellipse 90% 70% at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.18) 55%, transparent 82%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.30) 0%, transparent 32%,
            transparent 55%, rgba(15, 23, 42, 0.52) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}
.hero__kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--pearl);
    margin-bottom: 22px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
    max-width: 14ch;
}
.hero__subtitle {
    margin-top: 22px;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--white);
    letter-spacing: 0.04em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.5);
    max-width: 36ch;
}
.hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
/* Telefon: treść wyżej, żeby kropki slajdów nie nachodziły na przyciski. */
@media (max-width: 600px) {
    .hero__content { padding-bottom: 96px; }
    .hero__dots { bottom: 74px; }
}

.hero__scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero__scroll svg {
    width: 28px; height: 28px;
    stroke: var(--pearl);
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* --- CREDO --- */
.credo {
    padding: 80px 24px;
    text-align: center;
    background: var(--cream);
}
.credo__quote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--deep-taupe);
    max-width: 960px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.credo__author {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

/* --- WAVE DIVIDER --- */
.wave-divider { width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { width: 100%; height: 60px; display: block; }
.wave-divider--white svg { fill: var(--white); }
.wave-divider--pearl svg { fill: var(--pearl); }
.wave-divider--cream svg { fill: var(--cream); }

/* --- O MNIE --- */
.about { padding: 100px 0; background: var(--white); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about__images { grid-column: 1; grid-row: 1; position: relative; height: 600px; }
.about__text   { grid-column: 2; grid-row: 1; padding-right: 20px; }
.about__img {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    border-radius: 4px;
}
.about__img--persona {
    width: 55%; height: 70%;
    top: 0; left: 0; z-index: 2;
}
.about__img--mersona {
    width: 55%; height: 70%;
    bottom: 0; right: 0; z-index: 1;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }

.about__header-mobile { display: none; text-align: center; margin-bottom: 30px; }
.about__images--mobile { display: none; }
.about__images--desktop { display: block; }

.about__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 16px;
}
.about__name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--dark-brown);
    margin-bottom: 8px;
}
.about__credential--inline {
    display: block;
    font-size: 0.85rem;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
    margin-top: 8px;
}
.about__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--deep-taupe);
    margin: 24px 0 28px;
    padding-left: 20px;
    border-left: 2px solid var(--gold-accent);
    line-height: 1.6;
}
.about__bio { font-size: 0.95rem; color: var(--deep-taupe); line-height: 1.8; margin-bottom: 32px; }
.about__bio p + p { margin-top: 16px; }
.about__credit {
    position: absolute; bottom: -32px; right: 0;
    width: 55%; text-align: center;
    font-size: 0.78rem; color: var(--warm-gray); font-style: italic;
}

/* --- Warianty układu zdjęć „O mnie" (desktop) --- */

/* Układ: Obok siebie — dwa równe zdjęcia w jednym rzędzie */
.about--layout-side .about__images--desktop { display: flex; gap: 16px; height: 560px; }
.about--layout-side .about__img--persona,
.about--layout-side .about__img--mersona {
    position: static; width: 50%; height: 100%;
}
.about--layout-side .about__credit { width: 100%; }

/* Układ: Jedno duże zdjęcie — pokazujemy tylko pierwsze */
.about--layout-single .about__images--desktop { height: 620px; }
.about--layout-single .about__img--persona {
    width: 100%; height: 100%; top: 0; left: 0;
}
.about--layout-single .about__img--mersona { display: none; }
.about--layout-single .about__credit { width: 100%; }

/* Układ: Polaroid — dwie przekrzywione ramki z białym marginesem */
.about--layout-polaroid .about__img {
    border: 10px solid var(--white);
    border-radius: 2px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.about--layout-polaroid .about__img--persona {
    width: 58%; height: 66%; top: 4%; left: 2%;
    transform: rotate(-4deg);
}
.about--layout-polaroid .about__img--mersona {
    width: 58%; height: 66%; bottom: 2%; right: 2%;
    transform: rotate(3deg);
}

/* --- Dodatkowe układy „O mnie" (tylko desktop; mobile zachowuje własny widok) --- */
@media (min-width: 769px) {

/* Nakładka — tekst po lewej */
.about--layout-text-left .about__images--desktop { grid-column: 2; }
.about--layout-text-left .about__text { grid-column: 1; grid-row: 1; padding-right: 0; padding-left: 20px; }

/* Zdjęcia na górze, tekst pod spodem */
.about--layout-stacked .about__grid { grid-template-columns: 1fr; gap: 56px; }
.about--layout-stacked .about__images--desktop { grid-column: 1; grid-row: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.about--layout-stacked .about__text { grid-column: 1; grid-row: 2; padding: 0; text-align: center; max-width: 760px; margin: 0 auto; }
.about--layout-stacked .about__quote { border-left: none; padding-left: 0; }

/* Tekst na górze, zdjęcia pod spodem */
.about--layout-stacked-reverse .about__grid { grid-template-columns: 1fr; gap: 56px; }
.about--layout-stacked-reverse .about__images--desktop { grid-column: 1; grid-row: 2; width: 100%; max-width: 640px; margin: 0 auto; }
.about--layout-stacked-reverse .about__text { grid-column: 1; grid-row: 1; padding: 0; text-align: center; max-width: 760px; margin: 0 auto; }
.about--layout-stacked-reverse .about__quote { border-left: none; padding-left: 0; }

/* Tekst na zdjęciu (nakładka) */
.about--layout-overlay .about__grid { grid-template-columns: 1fr; }
.about--layout-overlay .about__images--desktop { grid-column: 1; grid-row: 1; height: 640px; }
.about--layout-overlay .about__img--persona { width: 100%; height: 100%; top: 0; left: 0; }
.about--layout-overlay .about__img--mersona,
.about--layout-overlay .about__credit { display: none; }
.about--layout-overlay .about__text {
    grid-column: 1; grid-row: 1; z-index: 3; align-self: end;
    max-width: 620px; margin: 28px; padding: 44px; border-radius: 6px;
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.74));
}
.about--layout-overlay .about__name,
.about--layout-overlay .about__quote,
.about--layout-overlay .about__bio,
.about--layout-overlay .about__bio p { color: #fff; }
.about--layout-overlay .about__credential--inline { color: var(--pearl); }

/* Zdjęcia jedno pod drugim (tekst obok) */
.about--layout-stack-vertical .about__images--desktop { display: flex; flex-direction: column; gap: 14px; height: 640px; }
.about--layout-stack-vertical .about__img--persona,
.about--layout-stack-vertical .about__img--mersona { position: static; width: 100%; flex: 1; }
.about--layout-stack-vertical .about__credit { position: static; width: 100%; margin-top: 12px; }

/* Dwa portrety z przesunięciem (tekst obok) */
.about--layout-duo .about__images--desktop { display: flex; gap: 16px; height: 600px; align-items: flex-start; }
.about--layout-duo .about__img--persona,
.about--layout-duo .about__img--mersona { position: static; width: 50%; height: 88%; }
.about--layout-duo .about__img--mersona { margin-top: 12%; }
.about--layout-duo .about__credit { position: static; width: 100%; margin-top: 12px; }

/* Okrągłe zdjęcie (tekst obok) */
.about--layout-circle .about__images--desktop { height: 480px; display: flex; align-items: center; justify-content: center; }
.about--layout-circle .about__img--persona { position: static; width: 440px; height: 440px; max-width: 100%; border-radius: 50%; }
.about--layout-circle .about__img--mersona { display: none; }
.about--layout-circle .about__credit { position: static; width: 100%; text-align: center; margin-top: 16px; }

/* Zdjęcie w ramce z przesuniętym obrysem (tekst obok) */
.about--layout-framed .about__images--desktop { height: 560px; }
.about--layout-framed .about__img--persona { width: 82%; height: 88%; top: 6%; left: 8%; z-index: 2; }
.about--layout-framed .about__img--mersona { display: none; }
.about--layout-framed .about__images--desktop::before {
    content: ''; position: absolute; top: 12%; left: 0;
    width: 82%; height: 88%; border: 2px solid var(--gold-accent); z-index: 1;
}

/* Magazynowy — duże zdjęcie + małe wcięte */
.about--layout-magazine .about__img--persona { width: 72%; height: 84%; top: 0; left: 0; }
.about--layout-magazine .about__img--mersona {
    width: 42%; height: 48%; bottom: 0; right: 0;
    border: 6px solid var(--white); z-index: 3;
}

/* Jedno zdjęcie na środku, tekst pod spodem */
.about--layout-centered .about__grid { grid-template-columns: 1fr; gap: 48px; }
.about--layout-centered .about__images--desktop { grid-column: 1; grid-row: 1; height: 520px; width: 100%; max-width: 640px; margin: 0 auto; }
.about--layout-centered .about__img--persona { width: 100%; height: 100%; top: 0; left: 0; }
.about--layout-centered .about__img--mersona { display: none; }
.about--layout-centered .about__credit { width: 100%; }
.about--layout-centered .about__text { grid-column: 1; grid-row: 2; padding: 0; text-align: center; max-width: 720px; margin: 0 auto; }
.about--layout-centered .about__quote { border-left: none; padding-left: 0; }

}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1px solid var(--dark-brown);
    color: var(--dark-brown);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-align: center;
}
.btn:hover { background: var(--dark-brown); color: var(--white); }
.btn--filled { background: var(--dark-brown); color: var(--white); }
.btn--filled:hover { background: var(--deep-taupe); border-color: var(--deep-taupe); color: var(--white); }
.btn--gold { border-color: var(--gold-accent); color: var(--gold-accent); }
.btn--gold:hover { background: var(--gold-accent); color: var(--white); }
.btn--light { border-color: var(--pearl); color: var(--pearl); }
/* Główny przycisk na zdjęciu (hero) — pełny, wyraźnie pierwszy wybór obok „ducha". */
.btn--accent { background: var(--gold-accent); border-color: var(--gold-accent); color: var(--white); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25); }
.btn--accent:hover { background: var(--white); border-color: var(--white); color: var(--dark-brown); }
.btn--light:hover { background: var(--pearl); color: var(--dark-brown); }

/* --- SHOWCASE --- */
.showcase { padding: 90px 0; background: var(--cream); overflow: hidden; }
.showcase__header { text-align: center; max-width: 700px; margin: 0 auto 50px; padding: 0 24px; }
.showcase__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.showcase__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400; color: var(--dark-brown); margin-bottom: 12px;
}
.showcase__subtitle { font-size: 0.95rem; color: var(--deep-taupe); }
.showcase__scroll-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.showcase__track {
    display: flex; gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__item {
    flex: 0 0 auto;
    width: 420px;
    aspect-ratio: 3 / 2;
    scroll-snap-align: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
    background: var(--shell);
}
.showcase__item--portrait { width: 300px; aspect-ratio: 2 / 3; }
.showcase__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.showcase__item:hover img { transform: scale(1.05); }
.showcase__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease;
}
.showcase__arrow:hover { background: var(--white); }
.showcase__arrow svg { width: 22px; height: 22px; stroke: var(--dark-brown); fill: none; stroke-width: 2; }
.showcase__arrow--left { left: 4px; }
.showcase__arrow--right { right: 4px; }
.showcase__credit { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--warm-gray); font-style: italic; }

/* --- KURSY --- */
.courses { background: var(--pearl); padding: 100px 0; }
.courses__header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.courses__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.courses__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400; color: var(--dark-brown); margin-bottom: 24px;
}
.courses__intro { font-size: 0.95rem; color: var(--deep-taupe); line-height: 1.8; }
.courses__intro p + p { margin-top: 12px; }
.courses__note { font-size: 0.8rem; color: var(--warm-gray); font-style: italic; margin-top: 12px; }

.courses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.course-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 28px 36px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(179, 94, 150, 0.15);
    display: flex;
    flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1); }
.course-card--featured { border-color: var(--gold-accent); }
.course-card--featured::before {
    content: attr(data-badge); /* „Etykieta wyróżnienia" z panelu (domyślnie „Polecane") */
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold-accent); color: var(--white);
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; padding: 5px 20px; border-radius: 20px;
}
.course-card__icon { margin-bottom: 20px; color: var(--gold-accent); }
.course-card__icon svg { width: 44px; height: 44px; stroke-width: 1.2; margin: 0 auto; }
.course-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 500; color: var(--dark-brown); margin-bottom: 8px;
}
.course-card__duration {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--warm-gray);
    margin-bottom: 20px; min-height: 36px;
    display: flex; align-items: center; justify-content: center;
}
.course-card__price {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 4px;
}
.course-card__price-unit { font-size: 1rem; font-weight: 400; }
.course-card__desc { font-size: 0.85rem; color: var(--deep-taupe); line-height: 1.6; margin: 20px 0 28px; flex: 1; }
.course-card__buttons { display: flex; gap: 8px; margin-top: auto; }
.course-card__buttons .btn { flex: 1; padding: 12px 10px; font-size: 0.62rem; letter-spacing: 0.12em; }

.courses__bottom { text-align: center; margin-top: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.courses__bottom p { font-size: 0.9rem; color: var(--deep-taupe); line-height: 1.7; margin-bottom: 12px; }
.courses__pool-note { font-size: 0.8rem; color: var(--warm-gray); font-style: italic; }

/* --- GALERIA (bento) --- */
.gallery { background: var(--white); }
.gallery__header { text-align: center; margin-bottom: 50px; }
.gallery__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.gallery__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: var(--dark-brown);
}
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 16px;
}
.bento__item { overflow: hidden; border-radius: 6px; background: var(--shell); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bento__item:hover img { transform: scale(1.06); }
.bento__item--tall { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.gallery__credit { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--warm-gray); font-style: italic; }

/* --- SOCIAL --- */
.social-section { background: var(--pearl); text-align: center; }
.social-section__header { max-width: 600px; margin: 0 auto 50px; }
.social-section__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.social-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; color: var(--dark-brown);
}
.social-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.social-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.social-circle {
    width: 110px; height: 110px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--shell);
    transition: border-color 0.4s ease, transform 0.4s ease;
}
.social-item:hover .social-circle { border-color: var(--gold-accent); transform: translateY(-4px); }
.social-circle svg { width: 38px; height: 38px; fill: var(--deep-taupe); transition: fill 0.3s ease; }
.social-item:hover .social-circle svg { fill: var(--gold-accent); }
.social-name {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--deep-taupe); transition: color 0.3s ease;
}
.social-item:hover .social-name { color: var(--gold-accent); }

/* --- KONTAKT --- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__info { padding-top: 20px; }
.contact__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.contact__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--dark-brown); margin-bottom: 24px;
}
.contact__text { font-size: 0.95rem; color: var(--deep-taupe); line-height: 1.7; margin-bottom: 28px; }
.contact__detail { font-size: 0.9rem; color: var(--deep-taupe); margin-bottom: 10px; }
.contact__detail strong { color: var(--dark-brown); }
.contact__form { display: flex; flex-direction: column; gap: 18px; }
/* Honeypot antyspamowy — niewidoczny dla ludzi, wypełniają go tylko boty. */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Widżet Cloudflare Turnstile (jeśli włączony) */
.newsletter__turnstile { margin-top: 6px; }
@media (max-width: 768px) { .newsletter__turnstile { display: flex; justify-content: center; } }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--shell);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark-brown);
    background: var(--white);
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold-accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--warm-gray); }
.form-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.75rem; color: var(--warm-gray); line-height: 1.5;
}
.form-checkbox input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold-accent); }
.contact__form .btn { align-self: flex-start; }

/* --- FAQ --- */
.faq { background: var(--cream); }
.faq__header { text-align: center; margin-bottom: 50px; }
.faq__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; color: var(--dark-brown);
}
.faq__list { max-width: 740px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(179, 94, 150, 0.25); }
.faq__question {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 500; color: var(--dark-brown);
    padding: 22px 40px 22px 0;
    cursor: pointer;
    position: relative;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
    content: '+';
    position: absolute; right: 4px; top: 18px;
    font-size: 1.5rem; color: var(--gold-accent);
    transition: transform 0.3s ease;
}
.faq__item[open] .faq__question::after { content: '−'; }
.faq__answer { font-size: 0.92rem; color: var(--deep-taupe); line-height: 1.7; padding: 0 0 22px; }
.faq__answer ul { margin: 8px 0 0 20px; }

/* --- FOOTER --- */
/* --- NEWSLETTER + STOPKA (wspólna ciemna tafla, nad stopką bez szwu) --- */
.site-bottom {
    position: relative;
    background: var(--dark-brown);
    overflow: hidden;
}
/* Falka „wcina się" białym karbem w ciemną taflę — ciemna część fali to
   sama tafla (z poświatami), więc kolor zawsze się zgadza (brak szwu). */
.site-bottom .wave-divider--ink {
    position: relative; z-index: 2;
    margin-bottom: -1px; /* domyka subpikselową szparę między falą a taflą */
}
/* Kolor karbu = tło sekcji tuż nad falą. Na stronie głównej to FAQ (cream),
   na podstronach treść kończy się na białym. */
.site-bottom .wave-divider--ink svg { fill: var(--white); }
.home .site-bottom .wave-divider--ink svg { fill: var(--cream); }
.home.syrena-no-faq .site-bottom .wave-divider--ink svg { fill: var(--white); }
/* Poświaty w kolorach aktywnej palety — rysowane na całej tafli
   (newsletter + stopka), więc nie ucinają się na granicy sekcji.
   Pokazują się tylko, gdy pasek newslettera jest włączony. */
.site-bottom:has(.newsletter)::before,
.site-bottom:has(.newsletter)::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.site-bottom:has(.newsletter)::before {
    width: 480px; height: 480px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    opacity: 0.28;
}
.site-bottom:has(.newsletter)::after {
    width: 560px; height: 560px;
    bottom: -200px; left: -160px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    opacity: 0.22;
}
.newsletter {
    position: relative; z-index: 1;
    background: transparent;
    padding: 72px 0 64px;
}
.newsletter__inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 48px; flex-wrap: wrap;
}
.newsletter__intro { flex: 1 1; }
.newsletter__label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--soft-rose); margin-bottom: 12px;
}
.newsletter__title {
    font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 500; color: var(--pearl); margin-bottom: 10px;
}
.newsletter__text {
    font-size: 0.95rem; line-height: 1.7; max-width: 46ch;
    color: rgba(255, 255, 255, 0.6);
    color: color-mix(in srgb, var(--pearl) 62%, transparent);
}
.newsletter__form { flex: 1 1; max-width: 500px; }
.newsletter__pill {
    display: flex; align-items: center; gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.newsletter__pill:focus-within {
    border-color: var(--soft-rose);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--soft-rose) 18%, transparent);
}
.newsletter__email {
    flex: 1; min-width: 0;
    padding: 12px 18px;
    background: transparent; border: 0;
    font-family: inherit; font-size: 0.95rem; color: var(--white);
}
.newsletter__email::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter__email:focus { outline: none; }
.newsletter__btn {
    flex-shrink: 0;
    padding: 13px 28px;
    border: 0; border-radius: 999px;
    background: var(--gold-accent);
    background: linear-gradient(135deg, var(--gold-accent), color-mix(in srgb, var(--gold-accent) 70%, var(--secondary)));
    color: var(--white);
    font-family: inherit; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer; white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.newsletter__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--gold-accent) 40%, transparent);
}
.newsletter__consent {
    display: flex; align-items: flex-start; gap: 8px;
    margin-top: 14px; font-size: 0.78rem; line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    color: color-mix(in srgb, var(--pearl) 52%, transparent);
}
.newsletter__consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--gold-accent); }
.newsletter__notice { margin-top: 12px; font-weight: 600; font-size: 0.9rem; }
.newsletter__notice--ok { color: var(--soft-rose); }
.newsletter__notice--error { color: #FF9B8A; }
@media (max-width: 768px) {
    .newsletter { padding: 44px 0 48px; }
    .newsletter__inner { flex-direction: column; gap: 18px; text-align: center; }
    .newsletter__label { margin-bottom: 8px; }
    .newsletter__title { margin-bottom: 8px; }
    .newsletter__text { margin: 0 auto; }
    .newsletter__consent { text-align: left; margin-top: 12px; }
}
@media (max-width: 480px) {
    .newsletter { padding: 36px 0 40px; }
    .newsletter__inner { gap: 16px; }
    .newsletter__pill { flex-direction: column; border-radius: 22px; padding: 8px; gap: 8px; }
    .newsletter__email { width: 100%; text-align: center; padding: 11px 14px; }
    .newsletter__btn { width: 100%; }
    .newsletter__consent { margin-top: 10px; }
}

.footer {
    position: relative; z-index: 1;
    background: transparent;
    padding: 64px 0 28px;
    color: rgba(226, 242, 251, 0.75);
}
/* Gdy pasek newslettera jest włączony: delikatna linia zamiast twardej granicy */
.site-bottom:has(.newsletter) .footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }
/* Stopka: marka · menu · gdzie pływamy · kontakt (na telefonie jedna pod drugą) */
.footer__grid {
    display: grid; gap: 40px 48px;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
.footer__logo { font-family: var(--font-display); font-size: 1.6rem; color: var(--pearl); margin-bottom: 6px; }
.footer__logo span { font-style: italic; color: var(--gold-accent); }
.footer__tagline { font-size: 0.85rem; color: rgba(226, 242, 251, 0.6); margin-bottom: 22px; max-width: 30ch; line-height: 1.6; }
.footer__heading {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--pearl); margin-bottom: 16px;
}
.footer__list { list-style: none; display: grid; gap: 12px; font-size: 0.88rem; line-height: 1.45; }
.footer__list li { display: flex; align-items: flex-start; gap: 10px; }
.footer__list svg {
    flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px;
    fill: none; stroke: var(--gold-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.footer__list a { color: var(--pearl); text-decoration: none; border-bottom: 1px solid rgba(226, 242, 251, 0.3); overflow-wrap: anywhere; transition: color 0.2s ease, border-color 0.2s ease; }
.footer__list a:hover { color: var(--gold-accent); border-color: var(--gold-accent); }
.footer__cta {
    display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 999px;
    border: 1px solid rgba(226, 242, 251, 0.3); color: var(--pearl);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.footer__cta:hover { border-color: var(--gold-accent); color: var(--gold-accent); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(226, 242, 251, 0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.footer__social a:hover { border-color: var(--gold-accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: var(--pearl); transition: fill 0.3s ease; }
.footer__social a:hover svg { fill: var(--gold-accent); }
.footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
    margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(226, 242, 251, 0.1);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.78rem; }
.footer__legal a { color: rgba(226, 242, 251, 0.65); }
.footer__legal a:hover { color: var(--gold-accent); }
.footer__copy { font-size: 0.75rem; color: rgba(226, 242, 251, 0.45); }
.footer__copy a { color: rgba(226, 242, 251, 0.55); }
.footer__copy a:hover { color: var(--gold-accent); }
@media (max-width: 960px) {
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .footer { padding: 48px 0 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
    .footer__bottom { flex-direction: column-reverse; align-items: flex-start; margin-top: 36px; }
}
/* Pasek aktywnego kodu rabatowego nie zasłania dołu stopki */
body.has-coupon-bar .footer { padding-bottom: 96px; }

/* --- REVEAL ANIM --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================
   RESPONSIVE
   =================================== */
/* Tablet / mały laptop: pełne menu się mieści — ciaśniej, bez łamania „O mnie" na dwie linie. */
.navbar__links a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 769px) {
    .navbar { gap: 20px; padding-left: 24px; padding-right: 24px; }
    .navbar__links { gap: 18px; }
    .navbar__links a { letter-spacing: 0.08em; }
    .navbar__logo-tagline { display: none; }
}
/* Tablet: pełne menu już się nie mieści — hamburger (przełącznik języka i „Zapisz się" zostają). */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar__links { display: none; }
    .navbar__hamburger { display: flex; }
    .navbar > .lang-switch { margin-left: auto; }
}
@media (max-width: 1024px) {
    .courses__grid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .navbar { padding: 14px 22px; }
    .navbar__links { display: none; }
    .navbar__hamburger { display: flex; }
    .navbar__logo-tagline { display: none; }
    /* Przełącznik języka w navbarze chowamy na mobile — jest w menu mobilnym.
       Inaczej wypycha hamburger poza ekran. Selektor .navbar podbija
       specyficzność ponad bazowe „.lang-switch { display: inline-flex }". */
    .navbar .lang-switch--navbar { display: none; }

    .hero { height: 92vh; min-height: 520px; }

    .about__grid { grid-template-columns: 1fr; gap: 30px; }
    .about__images--desktop { display: none; }
    .about__header-mobile { display: block; }
    .about__header-desktop { display: none; }
    .about__images--mobile {
        display: block;
        height: 360px; width: 290px;
        margin: 0 auto 30px;
        position: relative;
    }
    .about__images--mobile .about__img--persona,
    .about__images--mobile .about__img--mersona { width: 62%; height: 66%; }
    .about__images--mobile .about__credit { width: 62%; }

    /* --- Warianty układu zdjęć „O mnie" na mobile ---
       Domyślnie (overlap, stacked, stacked-reverse, text-left) blok mobilny
       pokazuje dwa zdjęcia po przekątnej — dziedziczone z reguł bazowych. */

    /* Jedno duże zdjęcie (single, overlay, framed, centered) */
    .about--layout-single .about__images--mobile,
    .about--layout-overlay .about__images--mobile,
    .about--layout-framed .about__images--mobile,
    .about--layout-centered .about__images--mobile { height: 380px; width: 290px; }
    .about--layout-single .about__images--mobile .about__img--persona,
    .about--layout-overlay .about__images--mobile .about__img--persona,
    .about--layout-framed .about__images--mobile .about__img--persona,
    .about--layout-centered .about__images--mobile .about__img--persona {
        width: 100%; height: 100%; top: 0; left: 0;
    }
    .about--layout-single .about__images--mobile .about__img--mersona,
    .about--layout-overlay .about__images--mobile .about__img--mersona,
    .about--layout-framed .about__images--mobile .about__img--mersona,
    .about--layout-centered .about__images--mobile .about__img--mersona { display: none; }
    .about--layout-single .about__images--mobile .about__credit,
    .about--layout-overlay .about__images--mobile .about__credit,
    .about--layout-framed .about__images--mobile .about__credit,
    .about--layout-centered .about__images--mobile .about__credit { width: 100%; }

    /* Okrągłe zdjęcie */
    .about--layout-circle .about__images--mobile { height: 260px; width: 260px; }
    .about--layout-circle .about__images--mobile .about__img--persona {
        width: 100%; height: 100%; top: 0; left: 0; border-radius: 50%;
    }
    .about--layout-circle .about__images--mobile .about__img--mersona { display: none; }
    .about--layout-circle .about__images--mobile .about__credit {
        position: static; width: 100%; text-align: center; margin-top: 16px;
    }

    /* Obok siebie — dwa równe zdjęcia w rzędzie (side, duo) */
    .about--layout-side .about__images--mobile,
    .about--layout-duo .about__images--mobile {
        display: flex; gap: 12px; height: 300px; width: 100%; max-width: 340px;
    }
    .about--layout-side .about__images--mobile .about__img--persona,
    .about--layout-side .about__images--mobile .about__img--mersona,
    .about--layout-duo .about__images--mobile .about__img--persona,
    .about--layout-duo .about__images--mobile .about__img--mersona {
        position: static; width: 50%; height: 100%;
    }
    .about--layout-side .about__images--mobile .about__credit,
    .about--layout-duo .about__images--mobile .about__credit {
        position: static; width: 100%; text-align: center; margin-top: 14px;
    }

    /* Jedno pod drugim */
    .about--layout-stack-vertical .about__images--mobile {
        display: flex; flex-direction: column; gap: 12px; height: 500px; width: 290px;
    }
    .about--layout-stack-vertical .about__images--mobile .about__img--persona,
    .about--layout-stack-vertical .about__images--mobile .about__img--mersona {
        position: static; width: 100%; height: auto; flex: 1;
    }
    .about--layout-stack-vertical .about__images--mobile .about__credit {
        position: static; width: 100%; text-align: center; margin-top: 14px;
    }

    /* Polaroid — przekrzywione ramki (baza to przekątna) */
    .about--layout-polaroid .about__images--mobile .about__img {
        border: 8px solid var(--white); border-radius: 2px;
    }
    .about--layout-polaroid .about__images--mobile .about__img--persona { transform: rotate(-4deg); }
    .about--layout-polaroid .about__images--mobile .about__img--mersona { transform: rotate(3deg); }

    /* Magazynowy — duże zdjęcie + małe wcięte */
    .about--layout-magazine .about__images--mobile .about__img--persona {
        width: 78%; height: 74%; top: 0; left: 0;
    }
    .about--layout-magazine .about__images--mobile .about__img--mersona {
        width: 46%; height: 50%; bottom: 0; right: 0;
        border: 5px solid var(--white); z-index: 3;
    }

    .about__text { padding-right: 0; text-align: center; grid-column: auto; grid-row: auto; }
    .about__quote { text-align: left; }
    .about__text .btn { }

    .courses__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

    .contact__grid { grid-template-columns: 1fr; gap: 50px; }
    .contact__info { text-align: center; }
    .contact__form .btn { align-self: center; width: 100%; }

    .showcase__item { width: 320px; }
    .showcase__item--portrait { width: 240px; }
    .showcase__arrow { display: none; }

    .section-padding { padding: 64px 0; }
}

@media (max-width: 480px) {
    .credo__quote { font-size: 1.15rem; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .bento__item--wide { grid-column: span 1; }
    .bento__item--tall { grid-row: span 1; }
    .social-grid { gap: 26px; }
    .social-circle { width: 84px; height: 84px; }
    .social-circle svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide { animation: none; }
    .hero__scroll { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Przełącznik języka (PL / EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch__item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; padding: 5px 8px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    color: var(--dark-brown); text-decoration: none; line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch__item:hover { color: var(--gold-accent); }
.lang-switch__item.is-active { background: var(--gold-accent); color: #fff; }
.lang-switch--navbar { margin-left: 14px; }
.lang-switch--mobile { margin-top: 24px; justify-content: center; gap: 8px; }
.lang-switch--mobile .lang-switch__item {
    min-width: 56px; padding: 10px 16px; font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25); color: var(--pearl);
}
.lang-switch--mobile .lang-switch__item.is-active { background: var(--gold-accent); color: #fff; border-color: transparent; }

/* Etykiety tylko dla czytników ekranu (niezależne od stylów rdzenia WP). */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip-path: inset(50%);
    white-space: nowrap; word-wrap: normal !important;
}

/* ========================================
   Podstrony i blog (page.php / single.php / index.php)
   ======================================== */
/* Banery (blog-hero) same odsuwają treść od menu; kremowy nagłówek robi to u siebie. */
.page-header { padding: 130px 0 44px; background: var(--cream); text-align: center; }
.page-header__kicker {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 12px;
}
.page-header__title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem); color: var(--dark-brown);
}
.post-meta { font-size: 0.8rem; color: var(--warm-gray); }
.page-header .post-meta { margin-top: 14px; }

.container--narrow { max-width: 760px; }

/* --- Strona błędu 404 --- */
.error-404__text { font-size: 1.05rem; color: var(--warm-gray); margin-bottom: 32px; }
.error-404__actions { margin: 0; }

/* --- Breadcrumbs (Rank Math) --- */
.breadcrumbs { padding-top: 28px; font-size: 0.8rem; color: var(--warm-gray); }
.breadcrumbs a { color: var(--deep-taupe); }
.breadcrumbs a:hover { color: var(--gold-accent); }
.breadcrumbs .separator { margin: 0 6px; color: var(--warm-gray); }

/* --- Treść wpisu/strony --- */
.entry { padding: 44px 0 80px; }
.entry__thumb {
    margin-bottom: 36px; border-radius: 4px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
}
.entry-content { font-size: 1.02rem; line-height: 1.8; color: var(--deep-taupe); }
.entry-content > * + * { margin-top: 20px; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--dark-brown); margin-top: 40px; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--dark-brown); margin-top: 32px; }
.entry-content a { color: var(--gold-accent); text-decoration: underline; }
/* Dokumenty prawne (inc/dokumenty.php) */
.legal-doc h2 { font-size: 1.25rem; margin-top: 36px; }
.legal-doc .legal-meta { font-size: 0.85rem; color: var(--warm-gray); font-style: italic; }
.legal-doc ol li, .legal-doc ul li { line-height: 1.7; }
.legal-doc .legal-form-box { padding: 18px 22px; border: 1px dashed var(--shell); border-radius: 10px; background: var(--cream); font-size: 0.92rem; }
mark.legal-missing { background: #fff3bf; color: #7a5c00; padding: 1px 6px; border-radius: 4px; font-size: 0.85em; }
.drawer__terms { font-size: 0.78rem; color: var(--warm-gray); margin: 4px 0 0; }
.drawer__terms a { color: inherit; text-decoration: underline; }

/* Strona EN wpisu bez tłumaczenia (inc/seo-en.php) */
.en-notice { padding: 12px 16px; border-left: 3px solid var(--gold-accent); background: var(--cream); border-radius: 0 6px 6px 0; font-size: 0.92rem; color: var(--dark-brown); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li + li { margin-top: 8px; }
.entry-content blockquote {
    border-left: 2px solid var(--gold-accent); padding-left: 20px;
    font-style: italic; font-family: var(--font-display); color: var(--deep-taupe);
}
.entry-content img { border-radius: 4px; margin: 12px 0; }
.entry__back { margin-top: 48px; }
.entry__comments { padding-bottom: 60px; }

/* --- Lista blogowa --- */
/* --- Baner „Aktualności" (blog-hero) --- */
.blog-hero {
    position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 46vh; padding: 130px 24px 80px;
    background-color: var(--dark-brown);
    background-size: cover; background-position: center;
}
.blog-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.64));
}
.blog-hero__content { position: relative; z-index: 2; color: var(--pearl); }
.blog-hero__kicker {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em;
    text-transform: uppercase; color: #fff; margin-bottom: 16px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); /* czytelny na jasnym i ciemnym zdjęciu */
}
.blog-hero__title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; letter-spacing: -0.02em;
}
.blog-hero__subtitle {
    margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto;
    font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; color: var(--pearl);
}
/* Kompaktowy baner (Produkty): mniej pionowego oddechu niż lista wpisów. */
.blog-hero--compact { padding: 110px 24px 56px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card {
    background: var(--white); border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); }
.post-card__thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--shell); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__date {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    background: var(--gold-accent); color: #fff; border-radius: 4px;
    padding: 7px 11px; text-align: center; line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.post-card__day { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.post-card__mon { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.post-card__year { display: block; font-size: 0.58rem; letter-spacing: 0.08em; margin-top: 4px; padding-top: 3px; border-top: 1px solid rgba(255, 255, 255, 0.35); opacity: 0.9; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: 0.78rem; color: var(--warm-gray); }
.post-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.post-card__title a { color: var(--dark-brown); }
.post-card__title a:hover { color: var(--gold-accent); }
.post-card__excerpt { font-size: 0.92rem; color: var(--deep-taupe); line-height: 1.7; }
.post-card__more {
    margin-top: auto; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-accent);
}

/* --- Paginacja --- */
.pagination { margin-top: 56px; text-align: center; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 14px; margin: 0 4px;
    border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 4px; color: var(--deep-taupe);
}
.pagination .page-numbers.current { background: var(--dark-brown); color: var(--white); border-color: var(--dark-brown); }
.pagination .page-numbers:hover { border-color: var(--gold-accent); color: var(--gold-accent); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ========================================
   Tryb „Strona w przygotowaniu" (Under Construction)
   ======================================== */
.uc-body { margin: 0; overflow: hidden; }
.uc {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}
.uc__bg { position: absolute; inset: 0; z-index: 0; }
.uc__bg img { width: 100%; height: 100%; object-fit: cover; }
.uc__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.32) 42%, rgba(15, 23, 42, 0.72));
}
.uc__content {
    position: relative; z-index: 3;
    max-width: 640px; padding: 48px 24px; color: var(--pearl);
}
.uc__kicker {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 22px;
}
.uc__title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.06;
    color: #fff; margin-bottom: 16px; letter-spacing: -0.02em;
}
.uc__brand {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.35rem; color: var(--pearl); margin-bottom: 24px;
}
.uc__text {
    font-size: 1.05rem; line-height: 1.75; color: rgba(255, 255, 255, 0.85);
    max-width: 460px; margin: 0 auto 32px;
}
.uc__mail {
    display: inline-block; font-weight: 600; letter-spacing: 0.04em;
    color: #fff; border-bottom: 1px solid var(--gold-accent); padding-bottom: 3px;
    transition: color 0.3s ease;
}
.uc__mail:hover { color: var(--gold-accent); }
.uc__social { margin-top: 32px; display: flex; gap: 16px; justify-content: center; }
.uc__social a {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.uc__social a:hover { background: var(--gold-accent); border-color: var(--gold-accent); transform: translateY(-3px); }
.uc__social svg { width: 20px; height: 20px; fill: currentColor; }
.uc__wave { position: absolute; bottom: 0; left: 0; z-index: 2; line-height: 0; }
.uc__wave svg { height: 70px; }

/* Bąbelki unoszące się ku górze */
.uc__bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.uc__bubbles span {
    position: absolute; bottom: -60px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    animation-name: uc-rise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes uc-rise {
    0%   { transform: translateY(0) scale(0.7); opacity: 0; }
    12%  { opacity: 0.9; }
    100% { transform: translateY(-115vh) scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .uc__bubbles { display: none; }
}

/* ========================================
   Galeria — układy konfigurowalne + lightbox
   ======================================== */
.gallery__item {
    display: block; overflow: hidden; border-radius: 6px;
    background: var(--shell); position: relative;
}
.gallery__items--lightbox .gallery__item { cursor: zoom-in; }
.gallery__item img { display: block; width: 100%; transition: transform 0.6s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* Układ: równa siatka */
.gallery__items--grid { display: grid; gap: 16px; }
.gallery__items--grid .gallery__item { aspect-ratio: 4 / 3; }
.gallery__items--grid .gallery__item img { height: 100%; }

/* Układ: bento (rozmiary kafelków nadawane w PHP: auto-wzór lub ustawienie zdjęcia) */
.gallery__items--bento { display: grid; grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.gallery__items--bento .gallery__item,
.gallery__items--bento .gallery__item img { height: 100%; }
.gallery__items--bento .gallery__item--w2 { grid-column: span 2; }
.gallery__items--bento .gallery__item--h2 { grid-row: span 2; }

/* Dopasowanie zdjęć (siatka + bento) */
.gallery__items--fit-cover .gallery__item img { object-fit: cover; }
.gallery__items--fit-contain .gallery__item img { object-fit: contain; }

/* Punkt kadrowania (która część zdjęcia zostaje widoczna przy przycięciu) */
.gallery__item--focus-top img { object-position: center top; }
.gallery__item--focus-bottom img { object-position: center bottom; }
.gallery__item--focus-left img { object-position: left center; }
.gallery__item--focus-right img { object-position: right center; }

/* Układ: wybrane kadry (duży + szeroki + mały + „+N" otwierający lightbox) */
.gallery__curated {
    display: grid; gap: 14px;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-auto-rows: var(--g-row, 270px); /* wysokość rzędu z „Moja strona" */
    grid-auto-flow: dense;
}
/* Duże zdjęcie po prawej (lustrzane odbicie) */
.gallery__curated--right { grid-template-columns: 1fr 1fr 1.6fr; }
.gallery__curated--right .gallery__tile--big { grid-column: 3; grid-row: 1 / span 2; }
.gallery__curated .gallery__item { cursor: zoom-in; }
.gallery__curated .gallery__item img { height: 100%; object-fit: cover; }
.gallery__tile--big { grid-row: span 2; }
.gallery__tile--big:not([class*="--focus-"]) img { object-position: 50% 35%; }
.gallery__tile--wide { grid-column: span 2; }
.gallery__item.gallery__tile--more::after { display: none; }
.gallery__more {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(29, 20, 48, 0.55); color: var(--white);
    font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
    transition: background 0.3s ease;
}
.gallery__tile--more:hover .gallery__more { background: rgba(29, 20, 48, 0.4); }
.gallery__more small {
    margin-top: 10px; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
}
.gallery__foot {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; margin-top: 22px;
}
.gallery__foot .gallery__credit { margin: 0; text-align: left; }
.gallery__foot-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.gallery__all { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-brown); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.gallery__all:hover { color: var(--gold-accent); }
.gallery__all-wrap { text-align: center; margin-top: 28px; }
@media (max-width: 820px) {
    .gallery__curated, .gallery__curated--right { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; grid-auto-flow: row; }
    .gallery__tile--big, .gallery__curated--right .gallery__tile--big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
    .gallery__curated .gallery__tile--solo { grid-column: span 2; aspect-ratio: 16 / 9 !important; }
    .gallery__tile--wide { aspect-ratio: 16 / 9; }
    .gallery__curated .gallery__tile:not(.gallery__tile--big):not(.gallery__tile--wide) { aspect-ratio: 1; }
    .gallery__foot { justify-content: center; text-align: center; }
}

/* Układ: murowana (naturalne proporcje, bez przycinania) */
.gallery__items--masonry { column-gap: 16px; }
.gallery__items--masonry .gallery__item { margin-bottom: 16px; break-inside: avoid; }
.gallery__items--masonry .gallery__item img { height: auto; }

/* Liczba kolumn */
.gallery__items--cols-2.gallery__items--grid,
.gallery__items--cols-2.gallery__items--bento { grid-template-columns: repeat(2, 1fr); }
.gallery__items--cols-3.gallery__items--grid,
.gallery__items--cols-3.gallery__items--bento { grid-template-columns: repeat(3, 1fr); }
.gallery__items--cols-4.gallery__items--grid,
.gallery__items--cols-4.gallery__items--bento { grid-template-columns: repeat(4, 1fr); }
.gallery__items--cols-2.gallery__items--masonry { column-count: 2; }
.gallery__items--cols-3.gallery__items--masonry { column-count: 3; }
.gallery__items--cols-4.gallery__items--masonry { column-count: 4; }

@media (max-width: 900px) {
    .gallery__items--grid, .gallery__items--bento { grid-template-columns: repeat(2, 1fr) !important; }
    .gallery__items--masonry { column-count: 2 !important; }
}
@media (max-width: 560px) {
    .gallery__items--grid, .gallery__items--bento { grid-template-columns: 1fr !important; }
    .gallery__items--masonry { column-count: 1 !important; }
    .gallery__items--bento .gallery__item { grid-row: auto !important; grid-column: auto !important; }
}

/* Lightbox (podgląd) */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.92);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
    max-width: 92vw; max-height: 86vh; object-fit: contain;
    border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
    position: absolute; bottom: 18px; left: 0; right: 0;
    text-align: center; color: var(--pearl); font-size: 0.85rem; padding: 0 60px;
}
.lightbox__credit { color: var(--pearl); opacity: 0.8; font-style: italic; }
a.lightbox__credit { text-decoration: underline; text-underline-offset: 3px; }
a.lightbox__credit:hover { opacity: 1; }
.lightbox__btn {
    position: absolute; background: none; border: none; color: #fff;
    cursor: pointer; padding: 12px; opacity: 0.8; transition: opacity 0.2s ease;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__btn svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.5; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__video { width: min(92vw, calc(86vh * 16 / 9)); max-height: 86vh; display: flex; align-items: center; justify-content: center; }
.lightbox__video[hidden], .lightbox__img[hidden] { display: none; }
.lightbox__video video { max-width: 100%; max-height: 86vh; border-radius: 4px; background: #000; }
.lightbox__video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; }
.lightbox__video.is-instagram { width: min(92vw, 420px); max-height: 86vh; overflow-y: auto; display: block; }
.lightbox__video.is-instagram iframe { aspect-ratio: auto; background: #fff; }
.gallery-page__ig { display: flex; align-items: center; justify-content: center; aspect-ratio: 9 / 16; background: linear-gradient(135deg, #feda75, #d62976 45%, #4f5bd5); }
.gallery-page__ig svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 1.6; }

/* --- Filmy we wpisach (inc/media-embed.php) --- */
.media-embed { margin: 28px auto; max-width: 760px; }
.media-embed--instagram { max-width: 400px; }
.media-embed__btn {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden;
    border-radius: 10px; background: #0f172a; aspect-ratio: 16 / 9;
}
.media-embed--reel .media-embed__btn { aspect-ratio: 9 / 16; }
.media-embed--post .media-embed__btn { aspect-ratio: 4 / 5; }
.media-embed__cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, opacity 0.3s ease; opacity: 0.92; }
.media-embed__btn:hover .media-embed__cover { transform: scale(1.03); opacity: 1; }
.media-embed__ig {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: #fff; font: 600 0.8rem/1.3 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
    background: linear-gradient(135deg, #feda75, #d62976 45%, #4f5bd5);
}
.media-embed__ig svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.6; position: absolute; top: 22px; right: 22px; opacity: 0.9; }
.media-embed__ig span { margin-top: 130px; } /* napis pod przyciskiem ▶ */
.media-embed__play {
    position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.25s ease;
}
.media-embed__play svg { width: 30px; height: 30px; fill: var(--dark-brown); margin-left: 4px; }
.media-embed__btn:hover .media-embed__play { transform: scale(1.08); }
.media-embed__btn:focus-visible { outline: 3px solid var(--gold-accent); outline-offset: 3px; }
.media-embed__badge {
    position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.7);
    color: #fff; font: 600 0.65rem/1.4 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
}
.media-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; display: block; background: #000; }
.media-embed__note { margin-top: 8px; font-size: 0.75rem; color: var(--warm-gray); text-align: center; }
.media-embed__note a { color: inherit; text-decoration: underline; }
.media-embed.is-playing .media-embed__note { display: none; }
.media-embed__ig-frame { min-height: 200px; }
.media-embed__ig-frame .instagram-media { margin: 0 auto !important; min-width: 0 !important; }
.entry-content .wp-block-embed { margin: 0; }
.entry__video .media-embed { margin: 0 0 32px; max-width: none; }
.entry__video .media-embed--instagram { max-width: 400px; margin: 0 auto 32px; }
.post-card__badge {
    position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(15, 23, 42, 0.75); color: #fff;
    font: 600 0.65rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
}
.post-card__badge svg { width: 12px; height: 12px; fill: currentColor; }

/* --- Podstrona „Galeria" (page-galeria.php) --- */
.gallery-page__body { background: var(--white); }
.gallery-page__empty { text-align: center; color: var(--warm-gray); }
.gallery-page__filters {
    position: sticky; top: var(--navbar-h, 76px); z-index: 900;
    padding: 12px 0; margin: -20px 0 36px; background: var(--white);
    /* Tło na całą szerokość ekranu (pasek jest w .container) — zdjęcia nie prześwitują po bokach. */
    box-shadow: 0 0 0 100vmax var(--white), 0 1px 0 100vmax rgba(15, 23, 42, 0.06); clip-path: inset(0 -100vmax -1px);
}
.gallery-page__filters-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gallery-page__filters button {
    border: 1px solid var(--shell); background: var(--white); color: var(--dark-brown); border-radius: 999px;
    padding: 9px 18px; font: 600 0.7rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
    transition: all 0.2s ease;
}
.gallery-page__filters button span { opacity: 0.55; margin-left: 4px; letter-spacing: 0; }
.gallery-page__filters button:hover { border-color: var(--dark-brown); }
.gallery-page__filters button[aria-pressed="true"] { background: var(--dark-brown); border-color: var(--dark-brown); color: var(--white); }
.gallery-page__section { margin-bottom: 64px; scroll-margin-top: 150px; }
.gallery-page__section[hidden] { display: none; }
.gallery-page__head { text-align: center; margin-bottom: 26px; }
.gallery-page__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--dark-brown); }
.gallery-page__head p { color: var(--deep-taupe); margin-top: 8px; }
.gallery-page__grid { columns: 3 280px; column-gap: 14px; }
.gallery-page__item { position: relative; display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 6px; overflow: hidden; background: var(--shell); cursor: zoom-in; }
.gallery-page__item[hidden] { display: none; }
.gallery-page__item.is-video { cursor: pointer; }
.gallery-page__item img, .gallery-page__item video { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.gallery-page__item:hover img, .gallery-page__item:hover video { transform: scale(1.04); }
.gallery-page__play {
    position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.25s ease;
}
.gallery-page__play svg { width: 26px; height: 26px; fill: var(--dark-brown); margin-left: 4px; }
.gallery-page__item:hover .gallery-page__play { transform: scale(1.08); }
.gallery-page__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: 0.8rem; line-height: 1.4;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.72)); opacity: 0; transition: opacity 0.3s ease;
}
.gallery-page__item:hover .gallery-page__cap, .gallery-page__item:focus-visible .gallery-page__cap { opacity: 1; }
.gallery-page__cap small { display: block; margin-top: 2px; font-size: 0.7rem; font-style: italic; opacity: 0.85; }
.gallery-page__cta { text-align: center; padding: 36px 20px; background: var(--cream); border-radius: 12px; margin-top: 10px; }
.gallery-page__cta p { font-family: var(--font-display); font-size: 1.3rem; color: var(--dark-brown); margin-bottom: 18px; }
@media (max-width: 700px) {
    .gallery-page__grid { columns: 2; column-gap: 10px; }
    .gallery-page__item { margin-bottom: 10px; }
    /* Telefon: kategorie w jednym przewijanym rzędzie (jak w sklepie) — bez paska przewijania,
       z wygaszeniem przy prawej krawędzi, które podpowiada, że jest ich więcej. */
    .gallery-page__filters { top: var(--navbar-h, 60px); margin-left: -16px; margin-right: -16px; }
    .gallery-page__filters-inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .gallery-page__filters-inner::-webkit-scrollbar { display: none; }
    .gallery-page__filters::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0)); pointer-events: none; }
    .gallery-page__filters.is-end::after { display: none; }
    .gallery-page__filters button { flex: none; }
    .gallery-page__cap { opacity: 1; font-size: 0.72rem; padding: 22px 8px 8px; }
    .gallery-page__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

@media (max-width: 560px) {
    .lightbox__prev { left: 0; }
    .lightbox__next { right: 0; }
    .lightbox__caption { padding: 0 44px; }
}

/* ========================================
   Pojedynczy wpis (aktualność) — baner + treść + panel boczny
   ======================================== */
.blog-hero__meta { margin-top: 14px; font-size: 0.85rem; color: var(--pearl); letter-spacing: 0.05em; }

.single-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px; align-items: start;
    padding-top: 44px; padding-bottom: 80px;
}
.single-layout .entry { padding: 0; }
.single-layout .breadcrumbs { padding-top: 0; margin-bottom: 22px; }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar__widget { background: var(--cream); border-radius: 6px; padding: 26px; }
.sidebar__title {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
    color: var(--dark-brown); margin-bottom: 16px;
}
.sidebar__search { display: flex; }
.sidebar__search input {
    flex: 1; min-width: 0; padding: 11px 14px;
    border: 1px solid rgba(15, 23, 42, 0.12); border-right: none;
    border-radius: 4px 0 0 4px; background: var(--white);
    font-family: inherit; font-size: 0.9rem; color: var(--dark-brown);
}
.sidebar__search input:focus { outline: none; border-color: var(--gold-accent); box-shadow: 0 0 0 3px rgba(179, 94, 150, 0.14); }
.sidebar__search button {
    padding: 0 14px; border: none; border-radius: 0 4px 4px 0;
    background: var(--gold-accent); color: #fff; cursor: pointer;
}
.sidebar__search svg { width: 18px; height: 18px; display: block; }

.mini-post { display: flex; gap: 12px; align-items: center; }
.mini-post + .mini-post { margin-top: 16px; }
.mini-post__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.mini-post__date { display: block; font-size: 0.72rem; color: var(--warm-gray); margin-bottom: 3px; }
.mini-post__title { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark-brown); line-height: 1.4; }
.mini-post:hover .mini-post__title { color: var(--gold-accent); }

.sidebar__cats { list-style: none; }
.sidebar__cats li + li { margin-top: 10px; border-top: 1px solid rgba(15, 23, 42, 0.07); padding-top: 10px; }
.sidebar__cats a { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--deep-taupe); }
.sidebar__cats a:hover { color: var(--gold-accent); }
.sidebar__count { color: var(--warm-gray); }

@media (max-width: 900px) {
    .single-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ========================================
   Produkty — pasek kategorii (styl apple.com/watch) + sekcje
   ======================================== */
.prod-nav {
    position: sticky; top: 76px; z-index: 900;
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.admin-bar .prod-nav { top: 106px; }
.prod-nav__inner {
    display: flex; justify-content: center; gap: 40px;
    max-width: 1200px; margin: 0 auto;
    padding: 14px 24px 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.prod-nav__inner::-webkit-scrollbar { display: none; }
.prod-nav__item {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    flex: 0 0 auto; padding-bottom: 4px;
    color: var(--deep-taupe); position: relative;
}
.prod-nav__icon { width: 34px; height: 34px; color: var(--dark-brown); transition: color 0.3s ease; }
.prod-nav__icon svg { width: 100%; height: 100%; }
.prod-nav__label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.prod-nav__item::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 0; height: 2px;
    background: var(--gold-accent); transition: width 0.3s ease;
}
.prod-nav__item:hover,
.prod-nav__item.active { color: var(--gold-accent); }
.prod-nav__item:hover .prod-nav__icon,
.prod-nav__item.active .prod-nav__icon { color: var(--gold-accent); }
.prod-nav__item.active::after { width: 100%; }

.page-header--products { padding: 56px 0 40px; }
.page-header__intro { max-width: 640px; margin: 16px auto 0; color: var(--deep-taupe); line-height: 1.7; }

.prod-section { padding: 64px 0 26px; scroll-margin-top: 170px; }
.prod-section:last-of-type { padding-bottom: 90px; }
.prod-section__header { text-align: center; margin-bottom: 40px; }
.prod-section__title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--dark-brown);
    letter-spacing: -0.02em;
}
.prod-section__tagline { margin-top: 10px; color: var(--warm-gray); font-size: 0.95rem; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
    background: var(--cream); border-radius: 8px; padding: 26px;
    text-align: center; display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1); }
.prod-card__media {
    width: 88px; height: 88px; margin: 6px auto 20px;
    border-radius: 50%; background: var(--white);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-accent);
}
.prod-card__media svg { width: 40px; height: 40px; }
.prod-card__media--photo { overflow: hidden; padding: 0; }
.prod-card__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--dark-brown); margin-bottom: 8px; }
.prod-card__desc { font-size: 0.88rem; color: var(--deep-taupe); line-height: 1.65; margin-bottom: 16px; }
.prod-card__price { margin-top: auto; font-weight: 700; font-size: 1.05rem; color: var(--dark-brown); }
.prod-card__price span { font-size: 0.8rem; font-weight: 500; color: var(--warm-gray); }

@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .prod-nav { top: 62px; }
    .prod-nav__inner { justify-content: flex-start; gap: 28px; }
    .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .prod-section { scroll-margin-top: 150px; }
}
@media (max-width: 480px) { .prod-grid { grid-template-columns: 1fr; } }

/* Produkty — intro pod paskiem kategorii */
.prod-intro { padding: 44px 24px 0; text-align: center; }
.prod-intro .container { max-width: 640px; color: var(--deep-taupe); line-height: 1.7; }

/* ========================================
   UI-szlif: logo, navbar CTA, scrollspy, hero/karuzela kropki,
   placeholder kart, rytm Produktów, FAQ chevron, stopka, „na górę"
   ======================================== */

/* Logo: sygnet + tekst / własne logo z panelu */
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo-textwrap { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.navbar__logo-tagline {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--warm-gray);
    margin-top: 3px;
    white-space: nowrap;
}
.navbar__signet { width: 34px; height: 34px; flex: 0 0 auto; transition: transform 0.35s ease; }
.navbar__signet svg,
.navbar__signet img { width: 100%; height: 100%; display: block; object-fit: contain; }
.navbar__logo:hover .navbar__signet { transform: rotate(-8deg) scale(1.06); }
.navbar__logo-img { max-height: 40px; width: auto; display: block; }

/* Navbar: menu dosunięte do prawej + przycisk CTA */
.navbar__links { margin-left: auto; }
.navbar__cta { padding: 10px 20px; font-size: 0.66rem; letter-spacing: 0.12em; white-space: nowrap; }
@media (max-width: 768px) { .navbar__cta { display: none; } }

/* Scrollspy na stronie głównej — jak aktywna pozycja menu */
.navbar__links .scrollspy-active > a { color: var(--gold-accent); }
.navbar__links .scrollspy-active > a::after { width: 100%; }

/* Hero — kropki slajdów */
.hero__dots {
    position: absolute; bottom: 86px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 10px;
}
.hero__dots button {
    width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
    background: rgba(255, 255, 255, 0.45); cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.hero__dots button:hover { background: rgba(255, 255, 255, 0.75); }
.hero__dots button.active { background: #fff; transform: scale(1.25); }

/* Karuzela Mermaiding — link lightboxa, kropki, wygaszanie strzałek */
.showcase__item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.showcase__dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.showcase__dots button {
    width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
    background: rgba(15, 23, 42, 0.18); cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.showcase__dots button.active { background: var(--gold-accent); transform: scale(1.3); }
.showcase__arrow--dim { opacity: 0.35; pointer-events: none; }

/* Aktualności — brandowy placeholder karty bez zdjęcia */
.post-card__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1D7EBA, #B35E96 60%, #D8B4D7);
}
.post-card__placeholder svg { width: 56px; height: 56px; opacity: 0.9; }

/* Produkty — naprzemienne tło sekcji */
.prod-section { padding: 64px 0 56px; }
.prod-section--alt { background: var(--cream); }
.prod-section--alt .prod-card { background: var(--white); }
.prod-section--alt .prod-card__media { background: var(--cream); }

/* FAQ — chevron z rotacją + płynne pojawienie odpowiedzi */
.faq__question::after {
    content: '';
    width: 9px; height: 9px;
    border-right: 1.6px solid var(--gold-accent);
    border-bottom: 1.6px solid var(--gold-accent);
    top: 50%; right: 8px;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}
.faq__item[open] .faq__question::after {
    content: '';
    transform: translateY(-30%) rotate(-135deg);
}
@keyframes faqReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.faq__item[open] .faq__answer { animation: faqReveal 0.35s ease; }

/* Stopka — menu w kolumnie */
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { font-size: 0.88rem; color: rgba(226, 242, 251, 0.75); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--gold-accent); }

/* Przycisk „na górę" */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 950;
    width: 46px; height: 46px; border-radius: 50%; border: none;
    background: var(--dark-brown); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.3s ease;
}
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-accent); }
.to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
    .faq__item[open] .faq__answer { animation: none; }
}

/* ========================================
   Szlify: formularz, karta featured, karty Aktualności,
   galeria hover, credo, navbar, menu mobilne, sidebar, post-nav
   ======================================== */

/* Formularz — wyraźny fokus + stany błędów */
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(179, 94, 150, 0.14);
}
.contact__form .has-error { border-color: #c0392b !important; }
.form-checkbox input.has-error { outline: 2px solid #c0392b; outline-offset: 2px; }
.field-error { display: block; width: 100%; color: #c0392b; font-size: 0.78rem; margin-top: 6px; }

/* Karta wyróżniona — gradientowa ramka + mocniejszy cień */
.course-card--featured {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, #1D7EBA, #B35E96 55%, #D8B4D7) border-box;
    box-shadow: 0 16px 44px rgba(179, 94, 150, 0.16);
}
.course-card--featured::before {
    background: linear-gradient(90deg, #B35E96, #D8B4D7);
    box-shadow: 0 4px 12px rgba(179, 94, 150, 0.35);
}

/* Karty kursów — wyrównanie przycisków do dołu (równe wysokości wierszy) */
.course-card__desc { flex: 1; }
.course-card__buttons { margin-top: auto; }

/* Karty Aktualności — kategorie (chipy) + meta (czas czytania) */
.post-card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.post-card__cat {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--gold-accent) 12%, transparent);
    color: var(--gold-accent); font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease;
}
.post-card__cat:hover { background: var(--gold-accent); color: #fff; }
.post-card__meta { font-size: 0.72rem; color: var(--warm-gray); }

/* Galeria — podpis zdjęcia na hover */
.gallery__item::after {
    content: attr(aria-label);
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 14px 12px;
    font-size: 0.78rem; color: #fff; line-height: 1.4;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.72));
    opacity: 0; transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }

/* Credo — ozdobny cudzysłów */
.credo__quote::before {
    content: '„';
    display: block;
    font-family: var(--font-display);
    font-size: 4.4rem; line-height: 0.4;
    color: var(--gold-accent); opacity: 0.4;
    margin-bottom: 22px;
}

/* Navbar — delikatne zmniejszenie po scrollu */
.navbar { transition: background 0.4s ease, box-shadow 0.3s ease, padding 0.3s ease; }
.navbar.scrolled { padding-top: 11px; padding-bottom: 11px; }

/* Menu mobilne — kaskadowe wejście pozycji */
.mobile-menu__links li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
.mobile-menu.open .mobile-menu__links li { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu__links li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu__links li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__links li:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__links li:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu__links li:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu__links li:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu__links li:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu.open .mobile-menu__links li:nth-child(8) { transition-delay: 0.4s; }

/* Pasek kategorii Produktów — wskaźnik przewijania na mobile */
@media (max-width: 768px) {
    .prod-nav::after {
        content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px;
        background: linear-gradient(to left, var(--nav-bg-scrolled), transparent);
        pointer-events: none;
    }
}

/* Wpis — sidebar „płynie" przy przewijaniu */
@media (min-width: 901px) {
    .sidebar { position: sticky; top: 104px; }
}

/* Wpis — nawigacja poprzedni/następny */
.post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 44px; padding-top: 28px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.post-nav__item { display: block; }
.post-nav__item--next { text-align: right; }
.post-nav__label {
    display: block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--warm-gray); margin-bottom: 6px;
    transition: color 0.3s ease;
}
.post-nav__title { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--dark-brown); line-height: 1.4; }
.post-nav__item:hover .post-nav__label { color: var(--gold-accent); }
@media (max-width: 560px) {
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__item--next { text-align: left; }
}

/* ========================================
   Biblioteczka kursanta — bramka + kafelki materiałów
   ======================================== */

/* --- Bramka hasłowa --- */
.biblioteka-gate { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.lockbox { width: 100%; padding: 120px 20px 80px; display: flex; justify-content: center; }
.lockbox__card {
    width: 100%; max-width: 440px;
    background: var(--white);
    border: 1px solid var(--shell);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}
.lockbox__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin-bottom: 20px;
    border-radius: 50%; background: var(--cream); color: var(--gold-accent);
}
.lockbox__icon svg { width: 30px; height: 30px; }
.lockbox__label {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 10px;
}
.lockbox__title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem); color: var(--dark-brown); margin-bottom: 12px;
}
.lockbox__text { font-size: 0.92rem; color: var(--deep-taupe); line-height: 1.6; margin-bottom: 24px; }
.lockbox__error {
    font-size: 0.85rem; font-weight: 600; color: #c0392b;
    background: rgba(192, 57, 43, 0.08); border-radius: 8px;
    padding: 10px 14px; margin-bottom: 18px;
}
.lockbox__form { display: flex; flex-direction: column; gap: 12px; }
.lockbox__input {
    width: 100%; padding: 14px 16px; text-align: center;
    border: 1px solid var(--shell); border-radius: 8px; background: var(--cream);
    font-family: inherit; font-size: 1rem; color: var(--dark-brown);
    letter-spacing: 0.05em;
}
.lockbox__input:focus { outline: none; border-color: var(--gold-accent); background: var(--white); box-shadow: 0 0 0 3px rgba(179, 94, 150, 0.14); }
.lockbox__btn { width: 100%; }
.lockbox__hint { margin-top: 20px; font-size: 0.82rem; color: var(--warm-gray); }
.lockbox__hint a { color: var(--gold-accent); text-decoration: underline; }

/* --- Biblioteczka: siatka materiałów --- */
.biblioteka__intro { margin: 40px 0 32px; text-align: center; }
.biblioteka__grid { display: grid; gap: 16px; margin: 8px 0 72px; }
.biblioteka-card {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--shell);
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.biblioteka-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-accent);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
.biblioteka-card__icon {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--cream); color: var(--gold-accent);
}
.biblioteka-card__icon svg { width: 26px; height: 26px; }
.biblioteka-card__body { flex: 1; min-width: 0; }
.biblioteka-card__title {
    display: block; font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 500; color: var(--dark-brown); margin-bottom: 4px;
}
.biblioteka-card__desc { display: block; font-size: 0.88rem; color: var(--warm-gray); line-height: 1.5; }
.biblioteka-card__arrow { flex-shrink: 0; color: var(--warm-gray); transition: transform 0.25s ease, color 0.25s ease; }
.biblioteka-card__arrow svg { width: 20px; height: 20px; display: block; }
.biblioteka-card:hover .biblioteka-card__arrow { color: var(--gold-accent); transform: translateX(3px); }
.biblioteka__empty { text-align: center; color: var(--warm-gray); margin: 32px 0 72px; }

@media (max-width: 560px) {
    .lockbox__card { padding: 36px 24px; }
    .biblioteka-card { padding: 18px; gap: 14px; }
    .biblioteka-card__icon { width: 44px; height: 44px; }
}

/* ========================================
   Baner cookies (feature toggle)
   ======================================== */
.cookie-banner {
    position: fixed; z-index: 900;
    left: 20px; right: 20px; bottom: 20px;
    background: var(--dark-brown);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
    animation: cookieUp 0.5s ease both;
}
@keyframes cookieUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner--hidden { opacity: 0; transform: translateY(24px); transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none; }
.cookie-banner__inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 28px; flex-wrap: wrap;
    padding: 20px 26px;
}
.cookie-banner__text { flex: 1 1 360px; }
.cookie-banner__title {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
    color: var(--pearl); margin-bottom: 4px;
}
.cookie-banner__desc {
    font-size: 0.85rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
    color: color-mix(in srgb, var(--pearl) 62%, transparent);
}
.cookie-banner__desc a { color: var(--soft-rose); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn { padding: 12px 24px; }
.cookie-banner__btn:not(.btn--filled) {
    border-color: rgba(255, 255, 255, 0.4); color: var(--pearl);
}
.cookie-banner__btn:not(.btn--filled):hover {
    background: rgba(255, 255, 255, 0.1); color: var(--white);
}
@media (max-width: 640px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
    .cookie-banner__inner { padding: 18px 18px; gap: 16px; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__btn { flex: 1; padding: 12px 16px; text-align: center; }
}

/* ========================================
   Strona główna — „Podwodny świat" (jedna galeria), Vouchery, Akcesoria
   ======================================== */
.gallery--cream { background: var(--cream); }
.gallery__subtitle { margin-top: 12px; font-size: 0.95rem; color: var(--deep-taupe); }
.anchor-alias { display: block; position: relative; top: -90px; visibility: hidden; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head__label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-accent); margin-bottom: 16px;
}
.section-head__title {
    font-family: var(--font-display); letter-spacing: -0.02em;
    font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: var(--dark-brown);
}
.section-head__text { margin-top: 12px; font-size: 0.95rem; color: var(--deep-taupe); line-height: 1.7; }

.vouchers { background: var(--white); }
.vouchers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vouchers__grid--n1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.vouchers__grid--n3 { grid-template-columns: repeat(3, 1fr); }
.vouchers__grid--n3 .voucher-card__body { padding: 26px; }
.voucher-card {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 380px; border-radius: 8px;
    display: flex; align-items: flex-end; color: var(--white);
}
.voucher-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.voucher-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 25%, rgba(15, 23, 42, 0.82));
}
.voucher-card:hover .voucher-card__img { transform: scale(1.04); }
.voucher-card__body { padding: 32px; display: grid; gap: 12px; justify-items: start; max-width: 460px; }
.voucher-card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; }
.voucher-card__text { font-size: 0.95rem; line-height: 1.65; opacity: 0.92; }
.voucher-card .btn { margin-top: 6px; }

.accessories { background: var(--cream); }
.accessories .prod-card { background: var(--white); }
.accessories__more { text-align: center; margin-top: 40px; }

@media (max-width: 768px) {
    .vouchers__grid, .vouchers__grid--n3 { grid-template-columns: 1fr; }
    .voucher-card { min-height: 320px; }
    .voucher-card__body { padding: 24px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .vouchers__grid--n3 .voucher-card { min-height: 340px; }
    .vouchers__grid--n3 .voucher-card__title { font-size: 1.5rem; }
}

/* Kurs z ukrytą ceną */
.course-card__price--ask { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold-accent); }

/* Pasek aktywnego kodu rabatowego (inc/kody.php) — na dole ekranu, na każdej stronie */
.coupon-bar {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
    display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
    padding: 10px 12px 10px 16px; border-radius: 999px;
    background: var(--dark-brown); color: #fff; font-size: 0.85rem; line-height: 1.35;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.coupon-bar--error { background: #8a2a2a; }
.coupon-bar__icon { font-size: 1.1rem; }
.coupon-bar__text strong { letter-spacing: 0.06em; }
.coupon-bar__link { color: #fff; font-weight: 600; white-space: nowrap; }
.coupon-bar__close {
    flex: 0 0 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 1.1rem; line-height: 1;
}
@media (max-width: 600px) {
    .coupon-bar { left: 16px; right: 16px; transform: none; max-width: none; border-radius: 14px; font-size: 0.8rem; }
    .coupon-bar__link { display: none; }
}
@media (max-width: 600px) {
    .coupon-bar { right: 80px; }
}

/* ---------- Stopka: znak marki, menu w dwóch kolumnach ---------- */
.footer__badge { width: 56px; height: 56px; border-radius: 16px; display: block; margin-bottom: 16px; padding: 6px; background: var(--pearl); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.footer .footer__links { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer .footer__nav { margin: 0; }

/* ---------- Karty kursów ze zdjęciem (pole „Zdjęcie na karcie") ---------- */
.course-card--media { padding-top: 0; }
.course-card__media { position: relative; margin: 0 -28px 38px; }
.course-card__frame {
    aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px 7px 0 0;
    background: linear-gradient(135deg, rgba(29, 126, 186, 0.18), rgba(179, 94, 150, 0.22) 60%, rgba(216, 180, 215, 0.35));
}
.course-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.course-card--media:hover .course-card__img { transform: scale(1.04); }
.course-card__icon--badge {
    position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
    width: 54px; height: 54px; margin: 0; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--white); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(179, 94, 150, 0.18);
}
.course-card__icon--badge svg { width: 28px; height: 28px; }
/* Karta bez zdjęcia obok kart ze zdjęciem: kolorowe tło i duża ikona zamiast pustego miejsca */
.course-card__media--empty .course-card__icon--badge { top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 84px; height: 84px; }
.course-card__media--empty .course-card__icon--badge svg { width: 40px; height: 40px; }
.course-card--featured.course-card--media .course-card__frame { border-radius: 6px 6px 0 0; }
.course-card--featured.course-card--media::before { z-index: 2; }

/* Dokumenty prawne: przycisk „pokaż adres" */
.legal-addr__btn { font: inherit; color: var(--gold-accent); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.legal-addr__btn:disabled { opacity: 0.6; cursor: wait; }

/* O mnie: plakietka z certyfikatami */
.about__certs {
    display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0;
    padding: 6px 14px 6px 10px; border-radius: 999px;
    background: rgba(179, 94, 150, 0.1); color: var(--gold-accent);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
.about__certs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about--layout-overlay .about__certs { background: rgba(255, 255, 255, 0.14); color: var(--pearl); }

/* Kursy: „Na specjalne okazje" (dzieci, urodziny, wieczór panieński) */
.occasions { margin-top: 56px; }
.occasions__head { text-align: center; max-width: 620px; margin: 0 auto 26px; }
.occasions__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--dark-brown); }
.occasions__text { margin-top: 8px; color: var(--deep-taupe); font-size: 0.95rem; }
.occasions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.occasion {
    display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
    background: rgba(255, 255, 255, 0.7); border: 1px dashed rgba(179, 94, 150, 0.35); border-radius: 14px;
}
.occasion__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(179, 94, 150, 0.12); }
.occasion__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.occasion__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--dark-brown); }
.occasion__text { font-size: 0.88rem; line-height: 1.6; color: var(--deep-taupe); flex: 1; }
.occasion__cta { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-accent); }
.occasion__cta:hover { color: var(--dark-brown); }
@media (max-width: 900px) { .occasions__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Pasek kampanii (na górze strony, nad menu); kolory i wzór z motywu (zmienne --pb-*) */
/* Pasek jest w treści strony (odjeżdża przy przewijaniu); menu stoi pod nim, a po przewinięciu wraca na górę (--promo-top z JS). */
.promo-bar {
    position: relative; z-index: 1101;
    display: flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 7px 54px; text-align: center; overflow: hidden;
    background: var(--pb-bg, linear-gradient(100deg, #241a3d, #a2558a)); color: var(--pb-fg, #fff);
    font-size: 0.9rem; line-height: 1.35;
    box-shadow: 0 2px 16px rgba(20, 10, 40, 0.18);
    animation: promo-in 0.55s cubic-bezier(.2, .8, .2, 1) both;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.promo-bar.is-closing { margin-top: calc(-1 * var(--promo-closing, 46px)); opacity: 0; transition: margin-top 0.25s ease, opacity 0.2s ease; }
.promo-bar::before {
    content: ""; position: absolute; inset: -48px 0; pointer-events: none;
    background: var(--pb-pattern); background-size: 80px 48px;
    animation: promo-drift 30s linear infinite;
}
.promo-bar--fall::before { animation-name: promo-fall; animation-duration: 9s; }
.promo-bar--rise::before { animation-name: promo-rise; animation-duration: 12s; }
.promo-bar--twinkle::before { animation: promo-twinkle 3.2s ease-in-out infinite alternate; }
.promo-bar::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.2) 50%, transparent 62%);
    background-size: 250% 100%; animation: promo-shine 7s ease-in-out infinite;
}
.promo-bar__inner {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
    color: inherit; text-decoration: none;
}
a.promo-bar__inner:hover, a.promo-bar__inner:focus-visible { color: inherit; }
.promo-bar__text { font-weight: 500; letter-spacing: 0.01em; }
.promo-bar__count {
    display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px;
    background: var(--pb-chip, rgba(255, 255, 255, 0.16)); border: 1px solid currentColor;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.promo-bar__count[hidden] { display: none; }
.promo-bar__cta {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px;
    background: var(--pb-cta-bg, #fff); color: var(--pb-cta-fg, #4f3470);
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-bar__cta span { transition: transform 0.2s ease; }
a.promo-bar__inner:hover .promo-bar__cta { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24); }
a.promo-bar__inner:hover .promo-bar__cta span { transform: translateX(3px); }
.promo-bar__close {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
    display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
    border: 0; border-radius: 50%; cursor: pointer;
    background: var(--pb-chip, rgba(255, 255, 255, 0.18)); color: inherit; opacity: 0.85; transition: opacity 0.2s, background 0.2s;
}
.promo-bar__close:hover { opacity: 1; }
@keyframes promo-in { from { opacity: 0; } }
@keyframes promo-drift { to { background-position: 160px 0; } }
@keyframes promo-fall { to { background-position: 0 96px; } }
@keyframes promo-rise { to { background-position: 0 -96px; } }
@keyframes promo-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes promo-shine { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
    .promo-bar, .promo-bar::before, .promo-bar::after { animation: none; }
}
body.has-promo .navbar { top: var(--promo-top, 0px); }
/* Telefon: jedna linia — tekst (do 2 wierszy) po lewej, przycisk po prawej; odliczanie w tekście przycisku się nie mieści, więc chowamy. */
@media (max-width: 600px) {
    .promo-bar { min-height: 0; padding: 8px 42px 8px 14px; font-size: 0.78rem; }
    .promo-bar__inner { flex-wrap: nowrap; justify-content: space-between; width: 100%; gap: 10px; text-align: left; }
    .promo-bar__text {
        flex: 1; min-width: 0; line-height: 1.3;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .promo-bar__count { display: none !important; }
    .promo-bar__cta { flex: none; padding: 6px 11px; font-size: 0.64rem; letter-spacing: 0.06em; }
    .promo-bar__close { right: 8px; width: 26px; height: 26px; }
}

/* Zapis do newslettera: opcjonalne pole „Imię" w tej samej pigułce */
.newsletter__name { flex: 0 1 34%; border-right: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; }
@media (max-width: 600px) {
    .newsletter__name { flex: none; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
}

/* Kursy: zwarte karty w dwóch rzędach (SSI / PADI), ramka „SSI czy PADI", kursy dodatkowe */
.courses__org { display: grid; grid-template-columns: 140px repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.courses__org-label { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-right: 16px; border-right: 1px solid rgba(179, 94, 150, 0.18); }
.courses__org-name { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--dark-brown); }
.courses__org-sub { font-size: 0.72rem; line-height: 1.4; color: var(--warm-gray); }
.course-mini {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 26px 18px 22px; text-align: center; background: var(--white);
    border: 1px solid rgba(179, 94, 150, 0.15); border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-mini:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.course-mini--featured { border-color: var(--gold-accent); }
.course-mini--featured::before {
    content: attr(data-badge); position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    padding: 3px 12px; border-radius: 999px; background: var(--gold-accent); color: var(--white);
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.course-mini__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(179, 94, 150, 0.25); color: var(--gold-accent); }
.course-mini__icon svg { width: 26px; height: 26px; }
.course-mini__icon--sm { width: 42px; height: 42px; flex: none; }
.course-mini__icon--sm svg { width: 20px; height: 20px; }
.course-mini__name { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--dark-brown); line-height: 1.2; }
.course-mini__duration { margin: 0; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm-gray); }
.course-mini__meta { margin: 0; font-size: 0.8rem; color: var(--deep-taupe); }
.course-mini__cta { margin-top: auto; padding-top: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-accent); }
.course-mini__cta:hover { color: var(--dark-brown); }
.courses__orgs { display: grid; grid-template-columns: 260px 1fr; gap: 10px 30px; align-items: start; margin: 26px 0 0; padding: 22px 26px; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.15); border-radius: 8px; }
.courses__orgs-head { display: flex; align-items: center; gap: 12px; }
.courses__orgs-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(179, 94, 150, 0.1); color: var(--gold-accent); }
.courses__orgs-icon svg { width: 22px; height: 22px; }
.courses__orgs-title { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--dark-brown); line-height: 1.25; }
.courses__orgs-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 26px; }
.courses__orgs-list li { position: relative; padding-left: 16px; font-size: 0.86rem; line-height: 1.6; color: var(--deep-taupe); }
.courses__orgs-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-accent); }
.courses__orgs-list li:first-child { grid-column: 1 / -1; }
.courses__orgs-list strong { color: var(--dark-brown); }
.courses__orgs-cta { grid-column: 2; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-accent); }
.courses__extra { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 14px 18px; border-radius: 8px; background: rgba(255, 255, 255, 0.6); }
.courses__extra p { margin: 0; flex: 1; font-size: 0.9rem; color: var(--deep-taupe); }
.courses__extra strong { color: var(--dark-brown); }
.courses__extra .btn { padding: 12px 22px; }
@media (max-width: 900px) {
    .courses__org { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .courses__org-label { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 10px; padding: 0; border: 0; }
    .courses__org-name { font-size: 1.5rem; }
    .courses__orgs { grid-template-columns: 1fr; }
    .courses__orgs-list { grid-template-columns: 1fr 1fr; }
    .courses__orgs-cta { grid-column: 1; }
}
@media (max-width: 600px) {
    /* Telefon: każdy kurs to zwarty wiersz — ikona, nazwa, czas, wiek, link. */
    .courses__org { grid-template-columns: 1fr; gap: 8px; }
    .course-mini { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; text-align: left; }
    .course-mini__icon { grid-row: 1 / span 4; width: 44px; height: 44px; }
    .course-mini__icon svg { width: 22px; height: 22px; }
    .course-mini__name { margin: 0; font-size: 1.1rem; }
    .course-mini__cta { margin: 2px 0 0; padding: 0; }
    .course-mini--featured::before { left: auto; right: 14px; transform: none; }
    .courses__orgs { padding: 18px; }
    .courses__orgs-list { grid-template-columns: 1fr; }
    .courses__extra { flex-direction: column; align-items: flex-start; }
}

/* Kursy: układy wybierane w Moja strona → Strona główna → Kursy (inc/kursy-uklady.php) */
.cprice { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--gold-accent); white-space: nowrap; }
.cprice small { margin-left: 3px; font-family: var(--font-body); font-size: 0.45em; font-weight: 600; letter-spacing: 0.04em; }
.cprice .cprice__pre { margin: 0 5px 0 0; }
.cprice--ask { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.corg { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #0b5ea8; color: var(--white); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.5; }
.corg--padi { background: #1d3c78; }
.courses .btn--accent:hover { background: var(--dark-brown); border-color: var(--dark-brown); color: var(--white); }

/* 1 · Start */
.cstart { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.cstart__hero { position: relative; display: flex; align-items: flex-end; min-height: 340px; padding: 30px; border-radius: 8px; overflow: hidden; background: var(--dark-brown) center / cover no-repeat; color: var(--white); }
.cstart__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(46, 33, 80, 0.92) 10%, rgba(46, 33, 80, 0.35) 75%); }
.cstart__in { position: relative; }
.cstart__kicker { margin: 0 0 10px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #F7AEF8; }
.cstart__title { margin: 0 0 10px; max-width: 420px; font-family: var(--font-display); font-size: 2.3rem; font-weight: 400; line-height: 1.1; color: var(--white); }
.cstart__text { margin: 0 0 18px; max-width: 400px; line-height: 1.6; opacity: 0.9; }
.cstart__duo { display: flex; flex-wrap: wrap; gap: 10px; }
.cstart__opt { display: block; padding: 10px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); transition: background 0.25s ease; }
.cstart__opt:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }
.cstart__opt b { display: block; font-size: 0.88rem; }
.cstart__opt span { font-size: 0.76rem; opacity: 0.85; }
.cstart__side { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.15); border-radius: 8px; }
.cstart__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-accent); }
.cstart__side .cprice { font-size: 3.4rem; }
.cstart__side-title { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--dark-brown); }
.cstart__side-text { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--deep-taupe); }
.cstart__more { margin: 32px 0 14px; text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-accent); }
.cstart__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cstart__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.15); border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cstart__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.cstart__card.is-featured { border-color: var(--gold-accent); }
.cstart__card.is-featured::before { content: attr(data-badge); position: absolute; top: -10px; left: 16px; padding: 2px 10px; border-radius: 999px; background: var(--gold-accent); color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cstart__card-top { display: flex; justify-content: space-between; align-items: center; }
.cstart__card-name { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; line-height: 1.2; color: var(--dark-brown); }
.cstart__card-meta { margin: 0; font-size: 0.76rem; line-height: 1.5; color: var(--warm-gray); }
.cstart__card .cprice { margin-top: auto; }
.cstart__card-cta { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-accent); }

/* 2 · Cennik */
.cprices__switch { display: flex; width: max-content; margin: -10px auto 34px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.2); }
.cprices__switch button { padding: 10px 26px; border: 0; border-radius: 999px; background: transparent; color: var(--deep-taupe); font: 700 0.76rem var(--font-body); letter-spacing: 0.12em; cursor: pointer; }
.cprices__switch button.is-on { background: var(--dark-brown); color: var(--white); }
.cprices__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; max-width: 1020px; margin: 0 auto; padding-top: 12px; }
.cprices__cols[hidden] { display: none; }
.cprice-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 24px; text-align: center; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.15); border-radius: 10px; }
.cprice-col.is-pop { border: 2px solid var(--gold-accent); transform: translateY(-10px); box-shadow: 0 24px 50px rgba(181, 23, 158, 0.16); }
.cprice-col.is-pop::before { content: attr(data-badge); position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--gold-accent); color: var(--white); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.cprice-col__lvl { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray); }
.cprice-col__name { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--dark-brown); }
.cprice-col .cprice { font-size: 3rem; margin: 4px 0; }
.cprice-col__list { width: 100%; margin: 4px 0 14px; padding: 0; list-style: none; text-align: left; font-size: 0.88rem; color: var(--deep-taupe); }
.cprice-col__list li { position: relative; padding: 7px 0 7px 24px; border-top: 1px solid rgba(179, 94, 150, 0.12); }
.cprice-col__list li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold-accent); font-weight: 800; }
.cprice-col .btn { margin-top: auto; }

/* 8 · Karty odwracane */
.cflips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cflip { height: 330px; perspective: 1200px; cursor: pointer; outline: none; }
.cflip__in { position: relative; width: 100%; height: 100%; transition: transform 0.6s ease; transform-style: preserve-3d; }
.cflip.is-open .cflip__in, .cflip:focus-visible .cflip__in, .cflip:has(a:focus-visible) .cflip__in { transform: rotateY(180deg); }
@media (hover: hover) { .cflip:hover .cflip__in { transform: rotateY(180deg); } }
.cflip__front, .cflip__back { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cflip__front { justify-content: flex-end; padding: 22px; background: var(--dark-brown) center / cover no-repeat; color: var(--white); }
.cflip__front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 33, 80, 0) 35%, rgba(46, 33, 80, 0.9)); }
.cflip__front-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cflip__name { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; line-height: 1.1; color: var(--white); }
.cflip__front .cprice { font-size: 2rem; color: var(--white); }
.cflip__hint, .cflip__badge { position: absolute; z-index: 1; top: 16px; padding: 5px 10px; border-radius: 999px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cflip__hint { right: 16px; background: rgba(255, 255, 255, 0.9); color: var(--gold-accent); }
.cflip__badge { left: 16px; background: var(--gold-accent); color: var(--white); }
.cflip__back { transform: rotateY(180deg); gap: 8px; padding: 22px; background: var(--white); border: 1px solid rgba(179, 94, 150, 0.2); }
.cflip__back-top { display: flex; justify-content: space-between; align-items: center; }
.cflip__title { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--dark-brown); line-height: 1.2; }
.cflip__meta { margin: 0; font-size: 0.74rem; color: var(--warm-gray); }
.cflip__desc { margin: 0; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; font-size: 0.86rem; line-height: 1.55; color: var(--deep-taupe); }
.cflip__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cflip__row .btn { padding: 11px 16px; font-size: 0.62rem; }

/* 10 · Bilety */
.ctix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ctix__t { position: relative; display: grid; grid-template-columns: 1fr 128px; background: var(--white); border-radius: 10px; filter: drop-shadow(0 6px 16px rgba(46, 33, 80, 0.08)); color: inherit; transition: transform 0.3s ease; }
.ctix__t:hover { transform: translateY(-3px); color: inherit; }
.ctix__t::before, .ctix__t::after { content: ""; position: absolute; right: 118px; width: 20px; height: 20px; border-radius: 50%; background: var(--pearl); }
.ctix__t::before { top: -10px; }
.ctix__t::after { bottom: -10px; }
.ctix__main { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 20px 22px; }
.ctix__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ctix__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--dark-brown); line-height: 1.2; }
.ctix__meta { font-size: 0.76rem; line-height: 1.5; color: var(--warm-gray); }
.ctix__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-left: 2px dashed rgba(179, 94, 150, 0.3); border-radius: 0 10px 10px 0; background: var(--cream); transition: background 0.25s ease; }
.ctix__go { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-accent); }
.ctix__t:hover .ctix__stub { background: var(--gold-accent); }
.ctix__t:hover .cprice, .ctix__t:hover .ctix__go { color: var(--white); }
.ctix__gift { margin: 20px 0 0; text-align: center; font-size: 0.92rem; color: var(--deep-taupe); }
.ctix__gift a { font-weight: 700; color: var(--gold-accent); }

@media (max-width: 900px) {
    .cstart { grid-template-columns: 1fr; }
    .cstart__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cflips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ctix { grid-template-columns: 1fr; }
    .cprice-col.is-pop { transform: none; }
}
@media (max-width: 600px) {
    .cstart__hero { min-height: 0; padding: 24px 20px; }
    .cstart__title { font-size: 1.8rem; }
    .cstart__side .cprice { font-size: 2.8rem; }
    .cstart__grid { gap: 10px; }
    .cstart__card { padding: 14px; }
    .cflips { grid-template-columns: 1fr; }
    .cflip { height: 240px; }
    .cflip__front, .cflip__back { padding: 18px; }
    .cflip__desc { -webkit-line-clamp: 3; }
    .ctix__t { grid-template-columns: 1fr 92px; }
    .ctix__t::before, .ctix__t::after { right: 82px; }
    .ctix__main { grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 14px; }
    .ctix__main .course-mini__icon { width: 40px; height: 40px; }
    .ctix__main .course-mini__icon svg { width: 20px; height: 20px; }
    .ctix__stub .cprice { font-size: 1.4rem; }
}
