/* ============================================
   POZIOM NIŻEJ - System designu
   Estetyka: editorial / investigative / premium
   ============================================ */

/* === FONTY === */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;700;800&family=DM+Serif+Text:ital@0;1&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* === ZMIENNE === */
:root {
    /* Kolory marki */
    --c-navy: #161F2F;
    --c-navy-deep: #0E1521;
    --c-navy-soft: #1E2A40;
    --c-gold: #BA9756;
    --c-gold-light: #D4B47A;
    --c-gold-dark: #8E6F3E;
    --c-white: #F5F1E8;
    --c-cream: #E8E2D2;
    --c-gray: #8A8B91;
    --c-gray-dark: #4A4E5A;

    /* Akcenty */
    --c-red: #C44536;          /* dla pilnych zgłoszeń, alert */
    --c-success: #6B8E5A;       /* dla potwierdzeń */

    /* Typografia */
    --f-display: 'DM Serif Text', Georgia, serif;
    --f-brand: 'Alexandria', system-ui, sans-serif;
    --f-body: 'Lora', Georgia, serif;
    --f-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing */
    --s-xs: 0.5rem;
    --s-sm: 1rem;
    --s-md: 2rem;
    --s-lg: 4rem;
    --s-xl: 8rem;

    /* Layout */
    --max-w: 1400px;
    --max-w-text: 720px;
    --header-h: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--f-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-white);
    background: var(--c-navy);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--c-gold);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--c-gold-light);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* === KONTENERY === */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-md);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--s-md);
}

.container-text {
    max-width: var(--max-w-text);
    margin: 0 auto;
    padding: 0 var(--s-md);
}

/* === TYPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-white);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--s-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--s-sm);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: var(--s-sm);
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: var(--s-sm);
}

/* Pomocnicze klasy typograficzne */
.eyebrow {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
    display: inline-block;
}

.eyebrow::before {
    content: "— ";
    opacity: 0.7;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--c-cream);
    font-style: italic;
    max-width: 700px;
}

.italic-serif {
    font-style: italic;
}

.brand-text {
    font-family: var(--f-brand);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mono {
    font-family: var(--f-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.text-gold { color: var(--c-gold); }
.text-cream { color: var(--c-cream); }

/* === NAVBAR === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    background: rgba(14, 21, 33, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(186, 151, 86, 0.15);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--s-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--f-brand);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--c-white);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    gap: var(--s-md);
    align-items: center;
    list-style: none;
}

.nav-menu a {
    font-family: var(--f-brand);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--c-cream);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--c-gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--c-gold);
    color: var(--c-navy) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 2px;
    font-family: var(--f-brand);
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
    background: var(--c-gold-light);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--c-white);
    background: transparent;
    border: 1px solid rgba(186, 151, 86, 0.3);
    border-radius: 2px;
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
    margin: auto;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--c-navy);
}

/* Animowane tło - złote linie */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
}

.hero-bg line {
    stroke: var(--c-gold);
    stroke-width: 1;
    opacity: 0.6;
    animation: line-fade 8s ease-in-out infinite;
}

.hero-bg line:nth-child(odd) {
    stroke: var(--c-navy-soft);
    opacity: 0.7;
    animation-duration: 12s;
}

@keyframes line-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Gradient overlay na hero */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--c-navy) 85%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--s-md);
    max-width: 900px;
    animation: fade-in-up 1.2s ease-out;
}

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

.hero-symbol {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--s-md);
    animation: symbol-glow 4s ease-in-out infinite;
}

@keyframes symbol-glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(186, 151, 86, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(186, 151, 86, 0.5)); }
}

.hero-title {
    font-family: var(--f-brand);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 6rem);
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: var(--s-sm);
    color: var(--c-white);
}

.hero-tagline {
    font-family: var(--f-brand);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: var(--s-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-tagline span {
    display: inline-block;
}

.hero-tagline .divider {
    width: 8px;
    height: 8px;
    background: var(--c-gold);
    transform: rotate(45deg);
    opacity: 0.6;
}

.hero-description {
    font-family: var(--f-body);
    font-style: italic;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--c-cream);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto var(--s-md);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--s-sm);
    flex-wrap: wrap;
    margin-top: var(--s-md);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--c-gold);
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: scroll-pulse 2s ease-in-out infinite;
    z-index: 2;
    opacity: 0.6;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background: var(--c-gold);
    margin: 0.5rem auto 0;
}

@keyframes scroll-pulse {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-family: var(--f-brand);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--c-gold);
    color: var(--c-navy);
}

.btn-primary:hover {
    background: var(--c-gold-light);
    color: var(--c-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(186, 151, 86, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(245, 241, 232, 0.3);
}

.btn-secondary:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* === SEKCJE === */
.section {
    padding: var(--s-xl) 0;
    position: relative;
}

.section-tight {
    padding: var(--s-lg) 0;
}

.section-header {
    margin-bottom: var(--s-lg);
    max-width: 800px;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Sekcja Manifest */
.manifest {
    background: var(--c-navy-deep);
    position: relative;
}

.manifest::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--c-gold);
}

.manifest-quote {
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    line-height: 1.4;
    color: var(--c-white);
    margin: var(--s-md) 0;
    position: relative;
    padding-left: var(--s-md);
    border-left: 3px solid var(--c-gold);
}

.manifest-quote::before {
    content: "„";
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    font-size: 5rem;
    color: var(--c-gold);
    font-family: var(--f-display);
    line-height: 1;
    opacity: 0.5;
}

/* === KATEGORIE === */
.categories {
    background: var(--c-navy);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-sm);
    margin-top: var(--s-lg);
}

.category-card {
    position: relative;
    background: var(--c-navy-soft);
    border: 1px solid rgba(186, 151, 86, 0.15);
    padding: var(--s-md);
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.category-card:hover {
    background: var(--c-navy-deep);
    transform: translateY(-4px);
    border-color: var(--c-gold);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-number {
    font-family: var(--f-mono);
    font-size: 0.85rem;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
}

.category-title {
    font-family: var(--f-display);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--c-white);
    margin-bottom: var(--s-sm);
}

.category-description {
    font-family: var(--f-body);
    color: var(--c-cream);
    opacity: 0.85;
    line-height: 1.6;
    font-size: 0.95rem;
}

.category-card-arrow {
    position: absolute;
    bottom: var(--s-md);
    right: var(--s-md);
    color: var(--c-gold);
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-arrow {
    transform: translate(4px, -4px);
}

/* === ODCINKI === */
.episodes {
    background: var(--c-navy-deep);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--s-md);
    margin-top: var(--s-lg);
}

.episode-card {
    background: var(--c-navy-soft);
    border: 1px solid rgba(186, 151, 86, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.episode-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.episode-thumb {
    aspect-ratio: 16/9;
    background: var(--c-navy);
    position: relative;
    overflow: hidden;
}

.episode-thumb iframe,
.episode-thumb img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    display: block;
}

/* Miniaturka YouTube jako link */
.episode-thumb-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.episode-thumb-link img {
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.85) contrast(1.05);
}

.episode-thumb-link:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1);
}

.episode-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.95;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.episode-thumb-link:hover .episode-play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

/* Etykieta kategorii na miniaturce (mały badge w rogu) */
.episode-thumb-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(14, 21, 33, 0.7) 100%);
    pointer-events: none;
}

/* Placeholder dla nieopublikowanych jeszcze odcinków */
.episode-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    background: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy-soft));
    color: var(--c-gold);
    font-family: var(--f-mono);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.episode-content {
    padding: var(--s-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.episode-meta {
    display: flex;
    gap: var(--s-sm);
    align-items: center;
    margin-bottom: 0.75rem;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--c-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.episode-meta .dot {
    width: 4px;
    height: 4px;
    background: var(--c-gold);
    border-radius: 50%;
    opacity: 0.5;
}

.episode-title {
    font-family: var(--f-display);
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--c-white);
}

.episode-excerpt {
    color: var(--c-cream);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--s-sm);
    flex: 1;
}

.episode-link {
    font-family: var(--f-brand);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.episode-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.episode-link:hover::after {
    transform: translateX(4px);
}

/* === SYGNALIŚCI === */
.tipoff {
    background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
    position: relative;
    overflow: hidden;
}

.tipoff::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(186, 151, 86, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tipoff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
    align-items: center;
}

.tipoff-content h2 {
    margin-bottom: var(--s-md);
}

.tipoff-features {
    list-style: none;
    margin-top: var(--s-md);
}

.tipoff-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--c-cream);
    border-bottom: 1px solid rgba(186, 151, 86, 0.1);
}

.tipoff-features li::before {
    content: "✓";
    color: var(--c-gold);
    font-weight: 700;
    flex-shrink: 0;
}

.tipoff-card {
    background: var(--c-navy-soft);
    border: 1px solid var(--c-gold);
    padding: var(--s-md);
    position: relative;
}

.tipoff-card-badge {
    position: absolute;
    top: -12px;
    left: var(--s-md);
    background: var(--c-gold);
    color: var(--c-navy);
    padding: 0.25rem 0.75rem;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.tipoff-card h3 {
    margin-top: 0.5rem;
    margin-bottom: var(--s-sm);
}

.tipoff-card-contact {
    margin-top: var(--s-md);
    padding-top: var(--s-md);
    border-top: 1px solid rgba(186, 151, 86, 0.15);
    font-family: var(--f-mono);
    font-size: 0.9rem;
}

.tipoff-card-contact a {
    color: var(--c-gold);
    word-break: break-all;
}

/* === NEWSLETTER === */
.newsletter {
    background: var(--c-navy-deep);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: var(--s-sm);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: var(--s-md) auto 0;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.25rem;
    background: var(--c-navy-soft);
    border: 1px solid rgba(186, 151, 86, 0.2);
    color: var(--c-white);
    font-family: var(--f-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--c-gold);
}

.newsletter-input::placeholder {
    color: var(--c-gray);
}

/* === FOOTER === */
.footer {
    background: var(--c-navy-deep);
    border-top: 1px solid rgba(186, 151, 86, 0.15);
    padding: var(--s-lg) 0 var(--s-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-md);
    margin-bottom: var(--s-lg);
}

.footer-brand img {
    width: 50px;
    margin-bottom: var(--s-sm);
}

.footer-brand-name {
    font-family: var(--f-brand);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--c-white);
    margin-bottom: 0.5rem;
}

.footer-brand-tagline {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
}

.footer-brand p {
    color: var(--c-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

.footer-col h4 {
    font-family: var(--f-brand);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--c-cream);
    font-size: 0.95rem;
    opacity: 0.85;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-col a:hover {
    color: var(--c-gold);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--s-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(186, 151, 86, 0.3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--c-cream);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: var(--c-navy);
}

/* Impressum w stopce */
.footer-impressum {
    background: var(--c-navy);
    padding: var(--s-md);
    margin: var(--s-md) 0;
    border: 1px solid rgba(186, 151, 86, 0.1);
    font-size: 0.85rem;
    color: var(--c-gray);
    line-height: 1.7;
}

.footer-impressum strong {
    color: var(--c-cream);
}

.footer-impressum-title {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(186, 151, 86, 0.1);
    padding-top: var(--s-md);
    margin-top: var(--s-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-sm);
    color: var(--c-gray);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--s-sm);
    list-style: none;
}

.footer-bottom-links a {
    color: var(--c-gray);
    font-size: 0.85rem;
}

/* === PAGE HEADER (dla podstron) === */
.page-header {
    padding: calc(var(--header-h) + var(--s-lg)) 0 var(--s-lg);
    position: relative;
    background: var(--c-navy-deep);
    border-bottom: 1px solid rgba(186, 151, 86, 0.15);
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(186, 151, 86, 0.08), transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    max-width: var(--max-w-text);
    padding: 0 var(--s-md);
    margin: 0 auto;
}

.breadcrumb {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
    opacity: 0.7;
}

.breadcrumb a {
    color: inherit;
}

/* === FORMULARZE === */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--s-md);
}

.form-label {
    display: block;
    font-family: var(--f-brand);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--c-navy-soft);
    border: 1px solid rgba(186, 151, 86, 0.2);
    color: var(--c-white);
    font-family: var(--f-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--f-body);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--c-gold);
}

.form-help {
    font-size: 0.85rem;
    color: var(--c-gray);
    margin-top: 0.4rem;
    font-style: italic;
}

.form-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--c-cream);
    font-size: 0.9rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    accent-color: var(--c-gold);
}

/* Honeypot — niewidoczne pole dla botów (ludzie tego nie widzą) */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Kontener pod widget hCaptcha */
.form-captcha {
    display: flex;
    justify-content: flex-start;
    min-height: 0;
}
.form-captcha:empty {
    display: none;
}

/* Komunikaty zwrotne formularza */
.form-message {
    margin-top: 1rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 2px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
}

.form-message.is-visible {
    opacity: 1;
    max-height: 400px;
    padding: 0.9rem 1.1rem;
}

.form-message.is-success {
    background: rgba(34, 139, 34, 0.12);
    color: #b6efb6;
    border-left: 3px solid var(--c-success, #2e8b57);
}

.form-message.is-error {
    background: rgba(180, 50, 50, 0.12);
    color: #f3b8b8;
    border-left: 3px solid #c0392b;
}

.form-message.is-info {
    background: rgba(186, 151, 86, 0.1);
    color: var(--c-cream);
    border-left: 3px solid var(--c-gold);
}

/* === SPIS TREŚCI (TABLE OF CONTENTS) — nowoczesny, dwukolumnowy === */
.toc {
    margin: var(--s-lg) 0 var(--s-xl);
    padding: 0;
}

.toc-header {
    border-top: 1px solid rgba(186, 151, 86, 0.25);
    padding-top: var(--s-md);
    margin-bottom: var(--s-md);
}

.toc-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.toc-title {
    margin: 0;
    font-family: var(--f-brand);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--c-cream);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    column-gap: var(--s-md);
    counter-reset: toc-counter;
}

.toc-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(186, 151, 86, 0.08);
}

.toc-list li:last-child,
.toc-list li:nth-last-child(2) {
    /* dla 17 elementów ostatnie 2 mogą nie potrzebować border-a — bezpiecznie zostaw */
}

.toc-list a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    color: var(--c-cream);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease, padding-left 0.25s ease;
    font-size: 0.98rem;
    line-height: 1.4;
}

.toc-list a:hover,
.toc-list a:focus-visible {
    color: var(--c-gold);
    padding-left: 0.5rem;
    outline: none;
}

.toc-list a:focus-visible {
    box-shadow: inset 3px 0 0 var(--c-gold);
}

.toc-num {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-gold);
    opacity: 0.8;
    letter-spacing: 0.1em;
    min-width: 1.8rem;
    flex-shrink: 0;
}

.toc-text {
    flex: 1;
}

/* Na tabletach i wąskich ekranach — jedna kolumna */
@media (max-width: 720px) {
    .toc-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .toc-title {
        font-size: 1.6rem;
    }
}

/* === ARTICLE / CONTENT === */
.content {
    color: var(--c-cream);
    line-height: 1.8;
}

.content h2 {
    margin-top: var(--s-lg);
    margin-bottom: var(--s-sm);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(186, 151, 86, 0.2);
}

.content h3 {
    margin-top: var(--s-md);
    color: var(--c-gold-light);
}

.content p {
    margin-bottom: var(--s-sm);
}

.content ul,
.content ol {
    margin: 0 0 var(--s-sm) var(--s-md);
    color: var(--c-cream);
}

.content li {
    margin-bottom: 0.5rem;
}

.content strong {
    color: var(--c-white);
    font-weight: 600;
}

.content blockquote {
    border-left: 3px solid var(--c-gold);
    padding: var(--s-sm) var(--s-md);
    margin: var(--s-md) 0;
    font-style: italic;
    color: var(--c-white);
    background: var(--c-navy-soft);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    :root {
        --s-xl: 5rem;
        --s-lg: 3rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--c-navy-deep);
        flex-direction: column;
        padding: var(--s-md);
        gap: var(--s-sm);
        border-bottom: 1px solid rgba(186, 151, 86, 0.2);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .manifest-quote {
        font-size: 1.3rem;
        padding-left: var(--s-sm);
    }
}

/* === ANIMACJE SCROLL === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === UTILS === */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--s-sm); }
.mb-md { margin-bottom: var(--s-md); }
.mb-lg { margin-bottom: var(--s-lg); }
.mt-md { margin-top: var(--s-md); }

/* Selection */
::selection {
    background: var(--c-gold);
    color: var(--c-navy);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--c-navy-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--c-gold-dark);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-gold);
}
