/* ==========================================================
   FUNDACJA LEPSZE DNI - GŁÓWNY ARKUSZ STYLÓW (STYLE.CSS)
   Nowoczesny, modularny i w pełni responsywny CSS ze zmiennymi
   ========================================================== */

:root {
    /* Paleta kolorów */
    --primary: #0284c7;        /* Główny błękit zaufania */
    --primary-dark: #0369a1;   /* Ciemniejszy błękit */
    --primary-light: #e0f2fe;  /* Bardzo jasny błękit tła */
    --primary-hover: #0ea5e9;  /* Akcent hover */

    --accent-warm: #f59e0b;    /* Ciepły bursztyn (przyciski akcji) */
    --accent-warm-hover: #d97706;
    --accent-heart: #ef4444;   /* Czerwień serca */

    --success: #10b981;
    --success-bg: #dcfce7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;

    --neutral-dark: #0f172a;   /* Ciemny grafit / nagłówki */
    --neutral-text: #334155;   /* Czytelny tekst podstawowy */
    --neutral-muted: #64748b;  /* Podpisy i daty */
    --neutral-light: #f8fafc;  /* Delikatne tło sekcji */
    --neutral-border: #e2e8f0; /* Subtelne obramowania */
    --card-bg: #ffffff;

    /* Typografia i odstępy */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset i bazy */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-text);
    background: linear-gradient(180deg, #f0f9ff 0%, #fcf4ff 45%, #f0fdf4 100%);
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--neutral-dark);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Kontenery */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Górny pasek Top Bar */
.top-bar {
    position: relative;
    z-index: 1001;
    background-color: var(--neutral-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.opp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(2, 132, 199, 0.25);
    color: #38bdf8;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #38bdf8;
    border-radius: 50%;
    display: inline-block;
}

.top-link {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-link:hover {
    color: #fff;
}

.btn-top-donate {
    background: var(--accent-warm);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-top-donate:hover {
    background: var(--accent-warm-hover);
    color: #fff;
}

/* Okienko z lupą wyszukiwania frazy na czarnym tle */
.top-search-box {
    position: relative;
    width: 220px;
}

.top-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.top-search-icon {
    position: absolute;
    left: 10px;
    pointer-events: none;
    z-index: 2;
}

.top-search-box input {
    width: 100%;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid #334155;
    border-radius: var(--radius-full);
    padding: 0.35rem 1.8rem 0.35rem 2rem;
    font-size: 0.78rem;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.top-search-box input:focus {
    border-color: #38bdf8;
    background: #090d16;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.top-search-box input::placeholder {
    color: #94a3b8;
}

.top-search-clear {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0 4px;
    line-height: 1;
}

.top-search-clear:hover {
    color: #ffffff;
}

.top-search-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: #ffffff;
    color: #1e293b;
    border-radius: 12px;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 0.5rem;
    text-align: left;
}

.top-search-item {
    display: block;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.top-search-item:last-child {
    border-bottom: none;
}

.top-search-item:hover {
    background: #f0f9ff;
}

.top-search-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
    margin-bottom: 0.2rem;
}

.top-search-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.top-search-desc {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .top-search-box {
        width: 100%;
        order: 3;
        margin-top: 0.25rem;
    }
    .top-search-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* Główny pasek nawigacji */
.main-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--neutral-border);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
}

.mobile-nav-bar {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.mobile-nav-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-item-archive {
    margin-left: auto;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    background-color: rgba(2, 132, 199, 0.08);
}

.nav-link-highlight {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Przycisk Menu Mobilnego */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px auto;
    background-color: var(--neutral-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Przyciski standardowe */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--neutral-border);
    color: var(--neutral-text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(2, 132, 199, 0.05);
}

.btn-warning {
    background-color: var(--accent-warm);
    color: #ffffff;
}

.btn-warning:hover {
    background-color: var(--accent-warm-hover);
    color: #ffffff;
}

.btn-bordowy {
    background-color: #800020;
    color: #ffffff;
    border-color: #68001a;
}

.btn-bordowy:hover {
    background-color: #68001a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.35);
}

.btn-white {
    background-color: #ffffff;
    color: var(--neutral-dark);
}

.btn-white:hover {
    background-color: #f1f5f9;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-copy-sm {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--neutral-dark);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-sm:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Panoramiczny Baner na Całej Szerokości Strony Głównej (pod przyciskami podstron) */
.home-full-banner-section {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #050b14;
    overflow: hidden;
    border-bottom: 2px solid #0284c7;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-content {
    position: relative;
    z-index: 5;
}

.home-full-banner-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: #000000;
}

.home-full-banner-img {
    width: 100%;
    max-height: 240px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .home-full-banner-img {
        max-height: 250px;
        object-fit: contain;
    }
}

/* Hero sekcja (półprzezroczysta, aby baloniki w tle były delikatnie widoczne jak w projekcie) */
.hero-section {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 2.75rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--neutral-dark);
}

.text-gradient {
    color: var(--primary);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--neutral-text);
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-krs-quick {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #bae6fd;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.krs-quick-label {
    font-size: 0.85rem;
    color: var(--neutral-muted);
}

.krs-quick-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-dark);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-info-card-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.hero-card-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.hero-card-highlight {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.hero-card-highlight-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

.hero-card-highlight p {
    font-size: 0.82rem;
    color: #334155;
    margin: 0;
    line-height: 1.45;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.hero-stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem;
}

.hero-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0369a1;
    line-height: 1.2;
}

.hero-stat-emerald {
    color: #16a34a !important;
}

.hero-stat-desc {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.hero-card-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.hero-image-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
}

/* Kafelki portalu (Strona Główna) */
.section {
    padding: 4rem 0;
}

.section-pills {
    background-color: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.section-bg {
    background-color: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-top: 1px solid rgba(226, 232, 240, 0.75);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-muted);
    max-width: 650px;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portal-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #93c5fd;
}

.portal-card-featured {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.portal-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-purple { background: #f3e8ff; color: #7c3aed; }

.portal-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.portal-card p {
    color: var(--neutral-text);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.card-link-arrow {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Trzy filary */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar-box {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #bae6fd;
    line-height: 1;
    margin-bottom: 1rem;
}

.pillar-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Nagłówek podstron */
.page-header {
    position: relative;
    z-index: 5;
    background: rgba(240, 249, 255, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.page-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.page-lead {
    font-size: 1.1rem;
    color: var(--neutral-text);
    max-width: 800px;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--neutral-muted);
    margin-bottom: 0.75rem;
}

.page-content-layout {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.card-box, .portal-card, .pillar-box, .sidebar-card {
    position: relative;
    z-index: 2;
}

.card-box {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.poetic-quote {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 2rem;
    font-style: italic;
    color: #475569;
    font-size: 1.1rem;
}

.feature-checklist {
    display: grid;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.opp-info-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.sidebar-meta-list {
    list-style: none;
    font-size: 0.9rem;
}

.sidebar-meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-links-list {
    list-style: none;
}

.sidebar-links-list li {
    padding: 0.4rem 0;
}

/* Zarząd siatka */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.board-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.board-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.board-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.badge-primary { background: #e0f2fe; color: #0369a1; }
.badge-secondary { background: #f1f5f9; color: #475569; }

/* Projekty i Wydarzenia */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.project-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.project-body {
    padding: 1.25rem;
}

.project-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* Podopieczni siatka */
.filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--neutral-text);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.input-search {
    padding: 0.5rem 1rem;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    outline: none;
    min-width: 240px;
}

.beneficiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.beneficiary-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.beneficiary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #93c5fd;
}

.beneficiary-img-wrap {
    position: relative;
    height: 220px;
    background: #e2e8f0;
}

.beneficiary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beneficiary-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.beneficiary-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.beneficiary-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.beneficiary-diag {
    font-size: 0.85rem;
    color: #b91c1c;
    background: #fef2f2;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.beneficiary-desc {
    font-size: 0.9rem;
    color: var(--neutral-text);
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.beneficiary-help-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.help-box-label {
    font-size: 0.75rem;
    color: var(--neutral-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.help-box-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--neutral-dark);
}

/* Modale */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-border);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--neutral-muted);
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--neutral-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #f8fafc;
}

.modal-copy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
}

/* Formularze standardowe */
.form-standard .form-group {
    margin-bottom: 1.25rem;
}

.form-standard label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--neutral-dark);
}

.input-field {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.col-md-6 {
    flex: 1;
}

.req {
    color: #ef4444;
}

/* Alerty */
.alert-box {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.alert-success {
    background: var(--success-bg);
    color: #166534;
    border: 1px solid #86efac;
}

.alert-danger {
    background: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Blog wpisy */
.post-single-card {
    background: #ffffff;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--neutral-muted);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.post-author-badge, .post-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.post-item-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.post-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-text);
}

/* Sekcja wsparcia Call to Action */
.quick-support-banner {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 3rem 0;
}

/* ==========================================================
   TŁO W ODLATUJĄCE PASTELOWE BALONIKI (CAŁY SERWIS)
   ========================================================== */
.contact-page-wrapper {
    position: relative;
    background: transparent;
    min-height: 85vh;
    overflow: hidden;
    padding-bottom: 3.5rem;
}

.balloons-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.balloon-svg-item {
    position: absolute;
    bottom: -120px;
    will-change: transform, opacity;
    animation-name: floatBalloonAnimation;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes floatBalloonAnimation {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.40;
    }
    25% {
        transform: translateY(-25vh) rotate(6deg) translateX(18px);
        opacity: 0.44;
    }
    50% {
        transform: translateY(-55vh) rotate(-5deg) translateX(-18px);
        opacity: 0.44;
    }
    75% {
        transform: translateY(-85vh) rotate(5deg) translateX(15px);
        opacity: 0.40;
    }
    95% {
        opacity: 0.36;
    }
    100% {
        transform: translateY(-130vh) rotate(-7deg) translateX(-15px);
        opacity: 0;
    }
}

.contact-content-relative {
    position: relative;
    z-index: 5;
}

.contact-info-card, .contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.support-card-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.support-text h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.support-text p {
    color: #e0f2fe;
    font-size: 1.05rem;
}

.support-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stopka */
.site-footer {
    position: relative;
    z-index: 10;
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr 0.9fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 48px;
    border-radius: 4px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.2rem;
}

.opp-tag {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
}

.footer-desc {
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.footer-opp-logos {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 0.5rem;
}

.footer-info-list, .footer-links {
    list-style: none;
}

.footer-info-list li, .footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.account-box {
    background: #1e293b;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid #334155;
}

.account-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.account-number-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.85rem;
    color: #f1f5f9;
}

.account-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Dyskretny link administratora */
.admin-discreet-link {
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: var(--transition);
}

.admin-discreet-link:hover {
    color: #94a3b8;
    opacity: 1;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0f172a;
    color: #ffffff;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    z-index: 3000;
    align-items: center;
    gap: 0.5rem;
    border-left: 4px solid #10b981;
    animation: toastSlide 0.3s ease;
}

@keyframes toastSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsywność (Mobile-First) */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .page-content-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-nav-bar {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: var(--shadow-lg);
        padding: 1rem 1.25rem;
        border-top: 1px solid var(--neutral-border);
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .top-bar-left, .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .support-card-banner {
        text-align: center;
        justify-content: center;
    }
}
