/* ============================================
   ZNMP v3 — Sakralna Trwałość
   Estetyka: katedra w piśmie. Kobalt + złoto + kość słoniowa.
   ============================================ */

:root {
    /* Paleta sakralna */
    --cobalt-900: #0b1a3a;     /* głęboki kobalt — niebo nocne ikony */
    --cobalt-800: #122555;
    --cobalt-700: #1a3470;
    --cobalt-600: #214493;
    --cobalt-500: #2b56b8;

    --gold-700: #8a6a1c;       /* ciemne złoto — patyna */
    --gold-600: #a6852f;
    --gold-500: #c9a84c;       /* główne złoto */
    --gold-400: #d8bc6a;
    --gold-300: #e8d294;
    --gold-100: #f5ead0;       /* delikatny złoty welon */

    --ivory: #f7f1e3;          /* kość słoniowa — kremowy papier */
    --ivory-light: #fbf6e9;
    --ivory-dark: #ede4cc;
    --parchment: #f3ebd5;      /* pergaminowy odcień sekcji */

    --ink-900: #1a1410;        /* atramentowa czerń */
    --ink-700: #3a3128;
    --ink-500: #5d5246;
    --ink-300: #8a7f70;

    --line-gold: rgba(201, 168, 76, 0.45);
    --line-ink: rgba(26, 20, 16, 0.10);

    --transition: 0.4s cubic-bezier(.2,.6,.2,1);
}

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

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

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    color: var(--ink-900);
    background: var(--ivory);
    /* Subtelna tekstura papieru - radial gradient w skali szarości */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(33, 68, 147, 0.025) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.shell-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* i18n */
html[lang="pl"] [data-i18n-en],
html[lang="en"] [data-i18n-pl] { display: none !important; }
html[lang="pl"] title[data-i18n-en],
html[lang="en"] title[data-i18n-pl] { display: none; }

/* ============================================
   TYPOGRAFIA — pisma sakralne
   ============================================ */
h1, h2, h3, h4, .display, .quote, .eyebrow {
    font-family: 'Cormorant Garamond', 'EB Garamond', Garamond, 'Times New Roman', serif;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--cobalt-900);
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 600; }

p { font-size: 1.04rem; color: var(--ink-700); }
em, .italic { font-style: italic; }
strong { font-weight: 600; color: var(--ink-900); }

/* Kapitalik dropcap — pierwsza litera dużej sekcji */
.dropcap::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4em;
    font-weight: 600;
    float: left;
    line-height: 0.85;
    padding-right: 0.12em;
    padding-top: 0.06em;
    color: var(--gold-600);
}

/* ============================================
   ZŁOTA LINIA OZDOBNA
   ============================================ */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px auto 22px;
    max-width: 320px;
}

.ornament::before, .ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.ornament-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    transform: rotate(45deg);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.ornament-cross {
    color: var(--gold-600);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 4px;
    opacity: 0.7;
}

/* Eyebrow — krótki nadtytuł w kapitaliku */
.eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 12px;
    text-align: center;
}

/* ============================================
   TOPBAR — dyskretny pasek nawigacyjny
   ============================================ */
.topbar {
    background: rgba(247, 241, 227, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ivory-light);
    border: 1px solid var(--line-gold);
    padding: 3px;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--cobalt-900);
    letter-spacing: 0.01em;
}

.brand-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.72rem;
    color: var(--gold-700);
    margin-top: 1px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Lora', serif;
    font-size: 0.83rem;
    color: var(--ink-500);
    transition: color var(--transition);
}

.top-link svg {
    opacity: 0.6;
    color: var(--gold-600);
}

.top-link:hover {
    color: var(--cobalt-900);
}

/* Language switch — eleganckie kapitaliki */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid var(--line-gold);
}

.lang-switch button {
    appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 4px 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--ink-300);
    transition: color var(--transition);
}

.lang-switch button.is-active {
    color: var(--cobalt-900);
    font-weight: 600;
    border-bottom: 1px solid var(--gold-500);
}

.lang-switch button:not(.is-active):hover {
    color: var(--ink-500);
}

/* ============================================
   HERO — katedra wstępu
   ============================================ */
.hero {
    position: relative;
    padding: 96px 0 88px;
    text-align: center;
    background: linear-gradient(180deg,
        var(--ivory) 0%,
        var(--ivory-light) 40%,
        var(--parchment) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top, rgba(33, 68, 147, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Logo Maryi — centralna ikona */
.hero-logo-stage {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-frame {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--ivory-light);
    box-shadow:
        0 0 0 1px var(--gold-500),
        0 0 0 8px var(--ivory),
        0 0 0 9px var(--gold-500),
        0 30px 60px rgba(11, 26, 58, 0.10);
}

.hero-logo-frame::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.20);
}

.hero-logo-stage img {
    position: relative;
    z-index: 2;
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(11, 26, 58, 0.15));
}

.hero-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 500;
    line-height: 1.06;
    color: var(--cobalt-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.hero h1 .accent {
    font-style: italic;
    color: var(--gold-700);
    font-weight: 500;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--ink-500);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

/* ============================================
   TELEDYSK — obraz w złotej ramie
   ============================================ */
.hero-video-frame {
    position: relative;
    max-width: 820px;
    margin: 24px auto 0;
    background: var(--ivory-light);
    padding: 14px;
    box-shadow:
        0 0 0 1px var(--gold-500),
        0 2px 0 0 var(--ivory),
        0 4px 0 0 var(--gold-500),
        0 40px 80px rgba(11, 26, 58, 0.18);
}

.hero-video-frame::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    pointer-events: none;
}

.video-facade {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: var(--cobalt-900);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: opacity var(--transition);
}

.video-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 26, 58, 0.15) 0%, rgba(11, 26, 58, 0.55) 100%);
    transition: opacity var(--transition);
}

.video-facade:hover::after {
    opacity: 0.7;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(247, 241, 227, 0.95);
    box-shadow: 0 0 0 1px var(--gold-500), 0 12px 30px rgba(11, 26, 58, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform var(--transition);
}

.video-facade:hover .video-play {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-play svg {
    width: 30px;
    height: 30px;
    color: var(--cobalt-900);
    margin-left: 4px;
}

.video-label {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ivory);
    padding: 6px 14px;
    background: rgba(11, 26, 58, 0.55);
    border: 1px solid rgba(201, 168, 76, 0.45);
    backdrop-filter: blur(4px);
}

.video-facade iframe,
.video-facade video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3;
}

.video-facade.is-playing::after,
.video-facade.is-playing .video-play,
.video-facade.is-playing .video-label {
    display: none;
}

/* ============================================
   SEKCJE — paneli kompozycji
   ============================================ */
.section {
    padding: 96px 0;
    position: relative;
}

.section-cream {
    background: var(--ivory-light);
}

.section-parchment {
    background: var(--parchment);
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
}

.section-dark {
    background: linear-gradient(180deg, var(--cobalt-900) 0%, var(--cobalt-800) 100%);
    color: var(--ivory);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--ivory);
}

.section-dark p {
    color: rgba(247, 241, 227, 0.82);
}

.section-dark .eyebrow {
    color: var(--gold-400);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-lead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.22rem;
    color: var(--ink-500);
    line-height: 1.55;
    max-width: 620px;
    margin: 0 auto;
}

.section-dark .section-lead {
    color: rgba(247, 241, 227, 0.72);
}

/* ============================================
   DROGA ZAKONU — timeline w stylu kroniki
   ============================================ */
.chronicle {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.chronicle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--line-gold);
    transform: translateX(-50%);
}

.chronicle-entry {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: center;
    margin-bottom: 36px;
}

.chronicle-entry:last-child { margin-bottom: 0; }

.chronicle-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cobalt-800);
    letter-spacing: 0.02em;
}

.chronicle-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--ink-700);
    line-height: 1.6;
}

.chronicle-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chronicle-mark-inner {
    width: 18px;
    height: 18px;
    background: var(--gold-500);
    transform: rotate(45deg);
    box-shadow:
        0 0 0 4px var(--ivory-light),
        0 0 0 5px var(--gold-500),
        0 0 0 12px rgba(201, 168, 76, 0.18);
}

.chronicle-entry:nth-child(odd) .chronicle-date {
    text-align: right;
    padding-right: 28px;
}

.chronicle-entry:nth-child(odd) .chronicle-text {
    text-align: left;
    padding-left: 28px;
}

.chronicle-entry:nth-child(even) .chronicle-date {
    text-align: left;
    padding-left: 28px;
    order: 3;
}

.chronicle-entry:nth-child(even) .chronicle-text {
    text-align: right;
    padding-right: 28px;
    order: 1;
}

.chronicle-entry:nth-child(even) .chronicle-mark { order: 2; }

/* ============================================
   TRZY FILARY
   ============================================ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1080px;
    margin: 0 auto;
}

.pillar {
    text-align: center;
    padding: 0 8px;
    position: relative;
}

.pillar:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--line-gold);
}

.pillar-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--ivory-light);
    border: 1px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-700);
    box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.08);
}

.section-dark .pillar-mark {
    background: rgba(247, 241, 227, 0.08);
    border-color: var(--gold-400);
    color: var(--gold-300);
}

.pillar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    color: var(--cobalt-900);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-dark .pillar h3 {
    color: var(--ivory);
}

.pillar p {
    font-size: 0.99rem;
    color: var(--ink-700);
    line-height: 1.7;
}

.section-dark .pillar p {
    color: rgba(247, 241, 227, 0.78);
}

.pillar p strong {
    color: var(--gold-700);
}

.section-dark .pillar p strong {
    color: var(--gold-300);
}

/* ============================================
   WSPÓLNOTA — cytat editorial
   ============================================ */
.community {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.community-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 1.95rem);
    line-height: 1.4;
    color: var(--cobalt-900);
    margin: 0 auto 28px;
    max-width: 700px;
    position: relative;
}

.community-quote::before,
.community-quote::after {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-500);
    font-size: 1.4em;
    font-style: normal;
    line-height: 0;
    position: relative;
    top: 0.15em;
}

.community-quote::before { margin-right: 6px; }
.community-quote::after { margin-left: 4px; }

.community-text {
    text-align: left;
    columns: 2;
    column-gap: 48px;
    column-rule: 1px solid var(--line-gold);
    margin-top: 32px;
}

.community-text p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-700);
    margin-bottom: 14px;
    break-inside: avoid;
}

.community-text p:last-child { margin-bottom: 0; }

/* ============================================
   CO ROBI ZAKON — 4 obszary jako karty editorial
   ============================================ */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-gold);
    border: 1px solid var(--line-gold);
    max-width: 1080px;
    margin: 0 auto;
}

.activity {
    background: var(--ivory-light);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background var(--transition);
}

.activity:hover {
    background: var(--ivory);
}

.activity-mark {
    width: 38px;
    height: 38px;
    color: var(--gold-600);
}

.activity h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.42rem;
    color: var(--cobalt-900);
    font-weight: 600;
    margin-bottom: 4px;
}

.activity p {
    font-size: 0.99rem;
    color: var(--ink-700);
    line-height: 1.7;
}

/* ============================================
   POMOC, KTÓRA MA TWARZ — sekcja z filmem Diofy
   ============================================ */
.charity {
    max-width: 980px;
    margin: 0 auto;
}

.charity-video-wrap {
    margin: 40px auto 32px;
    background: var(--ivory-light);
    padding: 14px;
    box-shadow:
        0 0 0 1px var(--gold-500),
        0 2px 0 0 var(--ivory-light),
        0 4px 0 0 var(--gold-500),
        0 40px 80px rgba(11, 26, 58, 0.30);
}

.charity-video-wrap::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    pointer-events: none;
}

.charity-text-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    margin-top: 56px;
    align-items: start;
}

.charity-main p {
    font-size: 1.04rem;
    line-height: 1.78;
    color: var(--ink-700);
    margin-bottom: 18px;
}

.charity-main p:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.32rem;
    color: var(--cobalt-900);
    line-height: 1.55;
    margin-bottom: 26px;
}

.charity-list {
    list-style: none;
    padding: 36px 32px;
    background: var(--ivory-light);
    border: 1px solid var(--line-gold);
    position: relative;
}

.charity-list::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(201, 168, 76, 0.20);
    pointer-events: none;
}

.charity-list-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 22px;
    text-align: center;
}

.charity-list li {
    font-size: 0.98rem;
    color: var(--ink-700);
    line-height: 1.55;
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);
    position: relative;
}

.charity-list li:last-child { border-bottom: 0; }

.charity-list li::before {
    content: '✦';
    position: absolute;
    left: 6px;
    top: 12px;
    color: var(--gold-500);
    font-size: 0.85em;
}

/* ============================================
   LICZBY — twarde dane jak inskrypcje
   ============================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1080px;
    margin: 0 auto 32px;
    border-top: 1px solid var(--line-gold);
    border-bottom: 1px solid var(--line-gold);
}

.stat {
    text-align: center;
    padding: 48px 24px;
    border-right: 1px solid var(--line-gold);
}

.stat:last-child { border-right: 0; }

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 600;
    color: var(--gold-700);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.section-dark .stat-number { color: var(--gold-400); }

.stat-label {
    font-family: 'Lora', serif;
    font-size: 0.92rem;
    color: var(--ink-500);
    line-height: 1.55;
    max-width: 200px;
    margin: 0 auto;
}

.section-dark .stat-label { color: rgba(247, 241, 227, 0.72); }

.stats-note {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-300);
    max-width: 720px;
    margin: 0 auto;
}

.section-dark .stats-note { color: rgba(247, 241, 227, 0.55); }

/* ============================================
   WŁADZE I CIĄGŁOŚĆ
   ============================================ */
.governance {
    max-width: 880px;
    margin: 0 auto;
}

.governance-intro {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink-700);
    line-height: 1.55;
    margin-bottom: 40px;
}

.governance-bodies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.governance-body {
    text-align: center;
    padding: 36px 28px;
    background: var(--ivory-light);
    border: 1px solid var(--line-gold);
    position: relative;
}

.governance-body::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 168, 76, 0.18);
    pointer-events: none;
}

.governance-body-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 14px;
}

.governance-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--cobalt-900);
    margin-bottom: 12px;
    font-weight: 600;
}

.governance-body p {
    font-size: 0.96rem;
    color: var(--ink-700);
    line-height: 1.65;
}

.governance-clause {
    background: var(--cobalt-900);
    color: var(--ivory);
    padding: 32px 36px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.04rem;
    line-height: 1.65;
    text-align: center;
    border-top: 1px solid var(--gold-500);
    border-bottom: 1px solid var(--gold-500);
}

.governance-clause strong {
    font-style: normal;
    color: var(--gold-300);
    font-weight: 600;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--ivory-light);
    border: 1px solid var(--line-gold);
    position: relative;
    transition: transform var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    color: var(--gold-600);
}

.contact-card-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 12px;
}

.contact-card-value {
    font-family: 'Lora', serif;
    font-size: 0.98rem;
    color: var(--cobalt-900);
    line-height: 1.55;
    font-weight: 500;
}

.contact-card-value a {
    color: var(--cobalt-900);
    border-bottom: 1px solid var(--gold-500);
    transition: color var(--transition);
}

.contact-card-value a:hover {
    color: var(--gold-700);
}

/* ============================================
   FOOTER — godna stopka
   ============================================ */
.footer {
    background: var(--cobalt-900);
    color: var(--ivory);
    padding: 48px 0 32px;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

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

.footer-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--ivory);
    padding: 6px;
}

.footer-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--ivory);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(247, 241, 227, 0.66);
    margin-bottom: 28px;
    letter-spacing: 0.06em;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 24px;
    max-width: 200px;
}

.footer-divider::before, .footer-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
}

.footer-divider span {
    color: var(--gold-400);
    font-size: 11px;
    letter-spacing: 4px;
}

.footer-meta {
    font-family: 'Lora', serif;
    font-size: 0.82rem;
    color: rgba(247, 241, 227, 0.5);
    line-height: 1.7;
}

.footer-meta a {
    color: rgba(247, 241, 227, 0.7);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.footer-meta a:hover {
    border-color: var(--gold-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .pillars-grid { grid-template-columns: 1fr; gap: 48px; }
    .pillar:not(:last-child)::after { display: none; }
    .pillar:not(:last-child) { padding-bottom: 32px; border-bottom: 1px solid var(--line-gold); }

    .activities-grid { grid-template-columns: 1fr; }
    .charity-text-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-gold); }
    .governance-bodies { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .community-text { columns: 1; }

    .chronicle::before { left: 22px; }
    .chronicle-entry {
        grid-template-columns: 48px 1fr;
        gap: 0;
        margin-bottom: 28px;
    }
    .chronicle-mark { grid-row: span 2; align-items: flex-start; padding-top: 4px; }
    .chronicle-entry:nth-child(odd) .chronicle-date,
    .chronicle-entry:nth-child(even) .chronicle-date {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: 0;
        order: unset;
    }
    .chronicle-entry:nth-child(odd) .chronicle-text,
    .chronicle-entry:nth-child(even) .chronicle-text {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        padding: 4px 0 0 0;
        order: unset;
    }
}

@media (max-width: 640px) {
    .shell, .shell-narrow { padding: 0 20px; }
    .section { padding: 64px 0; }
    .hero { padding: 64px 0 56px; }
    .hero-logo-stage { width: 140px; height: 140px; margin-bottom: 24px; }
    .topbar-inner { flex-wrap: wrap; gap: 12px; }
    .top-links { gap: 14px; flex-wrap: wrap; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line-gold); }
    .stat:last-child { border-bottom: 0; }
    .activity { padding: 32px 24px; }
    .charity-list { padding: 28px 22px; }
    .governance-clause { padding: 24px 22px; font-size: 0.96rem; }
}

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