/* ========================================
 * NAVIGATION STYLES
 * ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Zmienne (paleta kolorów i style) --- */
:root {
    --cream: #F5F7FF;
    --soft-white: #FFFFFF;
    --forest: #0B1120;
    --charcoal: #1E293B;
    --warm-gray: #4D5B78;
    --sage: #6366F1;
    --rust: #22D3EE;
    --light-border: rgba(99, 102, 241, 0.18);
    --dark-border: rgba(15, 23, 42, 0.35);
    --neon-glow: rgba(99, 102, 241, 0.25);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%);
    --gradient-surface: linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.08) 100%);
    --surface-tint: rgba(15, 23, 42, 0.04);
    --page-gutter: clamp(1rem, 3vw, 2.75rem);
}

body.dark-mode {
    --cream: #020617;
    --soft-white: #0F172A;
    --forest: #E2E8F0;
    --charcoal: #E2E8F0;
    --warm-gray: #94A3B8;
    --sage: #818CF8;
    --rust: #38E1FF;
    --light-border: rgba(129, 140, 248, 0.22);
    --dark-border: rgba(12, 20, 38, 0.7);
    --neon-glow: rgba(56, 225, 255, 0.35);
    --gradient-primary: linear-gradient(135deg, #818CF8 0%, #38E1FF 100%);
    --gradient-surface: linear-gradient(145deg, rgba(129, 140, 248, 0.18) 0%, rgba(56, 225, 255, 0.16) 100%);
    --surface-tint: rgba(148, 163, 184, 0.12);
}

/* ========================================
 * BASE STYLES
 * ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 70px; /* Dla sticky nav */
}

.container {
    width: min(100%, calc(100vw - var(--page-gutter) * 2));
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

section {
    padding: clamp(4rem, 10vh, 6rem) 0;
    position: relative;
}

/* Sekcje naprzemiennie */
section:nth-of-type(even) {
    background-color: var(--soft-white);
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* ========================================
 * NAVIGATION STYLES
 * ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--soft-white);
    z-index: 1000;
    border-bottom: 1px solid var(--light-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 1.65rem;
    color: var(--forest);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-link {
    color: var(--warm-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: var(--forest);
}

.navbar-link.active {
    color: var(--forest);
    font-weight: 600;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rust);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

/* ========================================
 * PROGRESS BAR & THEME TOGGLE
 * ======================================== */
#progress-bar {
    position: fixed;
    top: 70px; /* Pod nawigacją */
    left: 0;
    height: 4px;
    background: var(--rust);
    width: 0%;
    z-index: 999;
    transition: width 0.1s linear;
}

/* --- Przełącznik motywu --- */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    z-index: 1001;
    background: var(--soft-white);
    border: 2px solid var(--light-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--forest);
}

/* ========================================
 * HERO SECTION
 * ======================================== */
.hero {
    padding: 2rem 0;
    text-align: center;
    min-height: calc(80vh - 70px);
    display: flex;
    align-items: center;
    position: relative; 
    overflow: visible; 
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 1;
    background-image: radial-gradient(circle, var(--sage) 0%, transparent 70%);
    opacity: 0.12;
    transition: opacity 0.3s ease;
}

body.dark-mode .hero::before {
    opacity: 0.1;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
        gap: clamp(3rem, 7vw, 6rem);
    }
    
    .hero-content {
        flex: 1;
        max-width: 500px;
    }
    
    .hero-media {
        flex: 2;
    }
}

.hero-content {
    max-width: 600px;
    display: grid;
    gap: clamp(1.2rem, 2vw, 1.8rem);
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.4rem;
    width: 100%;
}

.hero-cta-buttons .cta-button {
    flex: 0 1 auto;
    min-width: 180px;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-content {
        flex: 1;
        padding-right: 2.5rem;
        display: grid;
        gap: clamp(1.2rem, 2vw, 1.8rem);
        margin-right: clamp(1.8rem, 3.5vw, 4rem);
    }
}

.hero-media {
    flex-shrink: 0;
    max-width: none;
    height: 90vh;
    max-height: 900px;
    overflow: visible;
}

@media (min-width: 992px) {
    .hero-media {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        padding-left: clamp(1.3rem, 3vw, 3.2rem);
    }
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 900px;
    max-width: none;
    overflow: visible;
}

@media (min-width: 992px) {
    .hero-visual-wrapper {
        width: 130%; /* Szerokość tylko na desktopie */
        margin-left: -15%; /* Przesunięcie tylko na desktopie */
    }
}

.hero .hero-visual .hero-image {
    width: 100% !important;
    max-width: 540px !important; /* Zgodne z rozmiarem obrazu w HTML */
    height: 90vh !important;
    max-height: 900px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

@media (min-width: 992px) {
    .hero .hero-visual .hero-image {
        width: 150% !important; /* Szerokość tylko na desktopie */
        max-width: 800px !important; /* Większa maksymalna szerokość tylko na desktopie */
        position: relative; /* Ustawienie pozycji względnego tylko na desktopie */
        left: -30%; /* Przesunięcie tylko na desktopie */
    }
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rust);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
}
.hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: clamp(2.2rem, 5.8vw, 3.9rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--forest);
    width: fit-content;
    margin: 0 0 1.25rem 0;
    text-align: left;
}

@media (min-width: 992px) {
    .hero h1 {
        margin-left: 0;
        margin-right: 0;
    }
}


.hero h1 .hero-line {
    display: block;
    text-align: left;
    white-space: nowrap;
}

.hero h1 .hero-line-primary {
    font-weight: 700;
}

.hero h1 .hero-line-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    color: rgba(32, 45, 72, 0.95);
    text-transform: none;
    margin-top: 0.35rem;
}
body.dark-mode .hero h1 .hero-line-subtitle {
    color: rgba(226, 232, 240, 0.78);
}

body.dark-mode .hero h1 {
    color: var(--cream);
}

/* --- Style Typografii --- */
p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

p.larger-text,
p.outcome-description,
p.outcome-metric,
p.section-subtitle,
p.quote,
p.author-name,
p.author-title,
.step-content p,
.benefit-card p,
.faq-answer p,
.step-tab .step-subtitle,
.testimonial-author .author-title,
.faq-highlights li,
.process-step p,
.cookie-option-desc,
.portfolio-overlay-label,
.form-hint,
.result-card .result-desc,
.recommendation-card-text,
.step-duration,
.requires-subscription,
.seo-form-wrapper .form-hint-inline,
.process-step p,
.faq-item p,
.process-copy p,
.process-duration,
.hero-highlights li,
.cookie-text p,
.cookie-preferences-menu p,
.hero-metric,
.benefit-card h3 {
    font-size: 22px !important;
}

h1, h2, h3 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    color: var(--forest);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.section-subtitle {
    text-align: center;
    color: var(--warm-gray);
    max-width: 70ch;
    margin: 0 auto 0 auto;
    font-size: 22px;
    line-height: 1.7;
}

/* --- Style Przycisków --- */
.cta-button {
    display: inline-block;
    background: var(--forest);
    color: var(--cream);
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(29, 46, 48, 0.3);
    border: 2px solid var(--forest);
}

.cta-button:hover {
    background: var(--rust);
    border-color: var(--rust);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--neon-glow);
}

.cta-button.secondary {
    background: transparent;
    color: var(--forest);
    border-color: var(--light-border);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--soft-white);
    border-color: var(--forest);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cta-button.inverted {
    background: transparent;
    border: 2px solid var(--cream);
    color: var(--forest);
}

.cta-button.inverted:hover {
    background: var(--rust);
    border-color: var(--rust);
    color: var(--cream);
}

.final-cta .cta-button.inverted {
    color: var(--cream);
    border-color: rgba(255,255,255,0.7);
}

.final-cta .cta-button.inverted:hover {
    border-color: var(--rust);
}

body:not(.dark-mode) .final-cta .cta-button.inverted {
    color: #0B1120;
    border-color: #0B1120;
    background: rgba(255,255,255,0.95);
}

body:not(.dark-mode) .final-cta .cta-button.inverted:hover {
    color: var(--cream);
    border-color: var(--rust);
    background: var(--rust);
}

/* --- Sekcja Problem i Rozwiązanie --- */
.problem-solution {
    padding-top: 8rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch; 
}

@media (min-width: 768px) { 
    .problem-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}

.problem-text-box, .problem-visual-box {
    text-align: center;
    border: 1px solid var(--light-border);
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
}

.problem-visual-box {
    background-color: #f0fdf2;
}

body.dark-mode .problem-visual-box {
    background-color: #1c2b1e;
}

.problem-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin: 0 auto 1.5rem auto;
    display: block;
}

.problem-text-box h3, .problem-visual-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.problem-text-box h3 {
     color: var(--warm-gray);
}

.problem-visual-box h3 {
    color: var(--rust);
}

.problem-text-box p, .problem-visual-box p { 
    color: var(--warm-gray); 
}

/* --- Tabela Porównawcza --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--soft-white);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--light-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--light-border);
}

.comparison-table th {
    font-family: 'Crimson Text', serif;
    background-color: var(--cream);
    font-size: 1.2rem;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--forest);
}

.comparison-table tr:last-child td { 
    border-bottom: none; 
}

.comparison-table td:nth-child(3) { 
    background-color: #f0fdf2; 
}

body.dark-mode .comparison-table td:nth-child(3) { 
    background-color: #1c2b1e; 
}

.comparison-table .check-icon { 
    color: var(--sage); 
    font-weight: bold; 
}

.comparison-table .cross-icon { 
    color: var(--rust); 
    font-weight: bold; 
}

.table-footnote {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--warm-gray);
}

@media (max-width: 600px) {
    .comparison-table thead { 
        display: none; 
    }
    .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td {
        display: block; 
        width: 100%;
    }
    .comparison-table tr { 
        margin-bottom: 1rem; 
        border: 1px solid var(--light-border); 
        border-radius: 1rem; 
    }
    .comparison-table td { 
        text-align: right; 
        padding-left: 50%; 
        position: relative; 
        border-bottom: 1px solid var(--light-border); 
    }
    .comparison-table td:last-child { 
        border-bottom: none; 
    }
    .comparison-table td::before {
        content: attr(data-label);
        position: absolute; 
        left: 1.5rem; 
        width: calc(50% - 3rem);
        text-align: left; 
        font-weight: 600; 
        color: var(--forest);
    }
}

/* --- Sekcja Jak Działam --- */
.steps-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-tab {
    background-color: var(--soft-white);
    border: 2px solid var(--light-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.step-tab.active {
    border-color: var(--rust);
    box-shadow: 0 8px 25px rgba(183, 77, 42, 0.2);
    transform: translateY(-5px);
}

.step-tab .step-number {
    font-size: 2.5rem;
    font-family: 'Crimson Text', serif;
    color: var(--warm-gray);
    transition: color 0.3s ease;
}

.step-tab.active .step-number {
    color: var(--rust);
}

.step-tab .step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--forest);
    margin: 0.5rem 0;
}

.step-tab .step-subtitle {
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.steps-content-wrapper {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    min-height: 150px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.step-content p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    text-align: center;
    max-width: 65ch;
    margin: 0 auto;
}

/* --- Sekcja Korzyści --- */
/* Specjalna wersja dla innych sekcji */
section:not(#wspolpraca) .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Dla sekcji Współpraca - wszystkie 4 kafelki w jednej linii */
section#wspolpraca .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    section#wspolpraca .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section#wspolpraca .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card { 
    background: var(--soft-white); 
    padding: 2rem; 
    border-radius: 1.5rem; 
    border: 1px solid var(--light-border); 
}

.outcome-card { 
    background: var(--soft-white); 
    padding: 2rem; 
    border-radius: 1.5rem; 
    border: 1px solid var(--light-border); 
}

.outcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(37, 50, 76, 0.92);
    width: fit-content;
}

.outcome-metric {
    font-size: 1.2rem;
    color: var(--forest);
    margin: 0.5rem 0;
}

.outcome-description {
    color: var(--warm-gray);
    margin: 0.5rem 0;
}

.outcome-description ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.outcome-description li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.outcome-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: bold;
}

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

.benefit-card .icon {
    width: 40px;
    height: 40px;
    color: var(--rust);
    margin-bottom: 1rem;
}

.benefit-card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 0.5rem; 
}

.benefit-card p { 
    color: var(--warm-gray); 
    font-size: 0.95rem; 
}

/* --- Sekcja Zaufanie --- */
.trust-box {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .trust-box {
        grid-template-columns: auto 1fr;
        text-align: left;
    }
}

.trust-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--cream);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.trust-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.trust-content p {
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

.trust-content .cta-button {
    font-size: 1rem;
}

/* --- Sekcja Dowód Społeczny (Testimonials) --- */
.testimonial-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.testimonial-card { 
    background: var(--cream); 
    padding: 2rem; 
    border-radius: 1.5rem; 
    border: 1px solid var(--light-border); 
    display: flex; 
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.testimonial-card .quote {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-border);
}

.author-info .author-name {
    font-weight: 600;
    color: var(--rust);
    margin: 0;
}

.author-info .author-title {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin: 0;
}

.testimonial-overlay {
    position: absolute;
    inset: 1.25rem;
    border-radius: 1.1rem;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.94), rgba(34, 211, 238, 0.88));
    color: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    box-shadow: 0 30px 55px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    overflow: hidden;
    isolation: isolate;
}

body.dark-mode .testimonial-overlay {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(99, 102, 241, 0.9));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.45);
}

.testimonial-card:hover .testimonial-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-overlay::before,
.testimonial-overlay::after {
    content: '';
    position: absolute;
    inset: -35% -45% -10% -45%;
    opacity: 0;
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    z-index: -1;
    will-change: transform, opacity;
}

.testimonial-overlay::before {
    background:
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.35), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(34, 211, 238, 0.55), transparent 65%),
        conic-gradient(from 210deg, rgba(255, 255, 255, 0.35), transparent 50%, rgba(99, 102, 241, 0.35), transparent 85%);
    filter: blur(45px);
    transform: translate3d(-15px, 18px, 0);
}

.testimonial-overlay::after {
    inset: -45% -25% -5% -25%;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    mix-blend-mode: screen;
    transform: translate3d(12px, -20px, 0);
}

.testimonial-card:hover .testimonial-overlay::before {
    opacity: 0.75;
    transform: translate3d(10px, -6px, 0);
}

.testimonial-card:hover .testimonial-overlay::after {
    opacity: 0.55;
    transform: translate3d(-6px, 8px, 0);
}

.testimonial-overlay h4,
.testimonial-overlay .project-details-title {
    color: currentColor;
    font-family: 'Crimson Text', serif;
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.testimonial-overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: currentColor;
    opacity: 0.9;
}

.testimonial-overlay .cta-button {
    padding: 0.6rem 1.6rem;
    font-size: 0.9rem;
    align-self: center;
}

/* --- Sekcja Cennik --- */
.pricing {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 244, 255, 0.9), rgba(237, 250, 255, 0.9));
    border-radius: 2.5rem;
}

.pricing::before,
.pricing::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.pricing::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 60%);
    filter: blur(0);
}

.pricing::after {
    width: 320px;
    height: 320px;
    bottom: -140px;
    left: -100px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 65%);
}

.pricing > .container,
.pricing > .container * {
    position: relative;
    z-index: 2;
}

.pricing-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
}

@media (min-width: 992px) { 
    .pricing-grid { 
        grid-template-columns: repeat(3, 1fr); 
    } 
}

.pricing-card { 
    background: var(--soft-white); 
    padding: 2.5rem 2rem; 
    border-radius: 1.5rem; 
    border: 1px solid var(--light-border); 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
}

.pricing-card.recommended { 
    border: 2px solid var(--rust); 
    transform: scale(1.05); 
}

.pricing-card.recommended .badge { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--rust); 
    color: var(--cream); 
    padding: 0.3rem 1rem; 
    border-radius: 1rem; 
    font-size: 0.8rem; 
    font-weight: 600; 
}

.pricing-card .package-name { 
    font-weight: 600; 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem; 
}

.pricing-card .price { 
    font-family: 'Crimson Text', serif; 
    font-size: 3rem; 
    font-weight: 600; 
    color: var(--forest); 
    margin-bottom: 1.5rem; 
}

.pricing-card .features { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 2rem; 
    text-align: left; 
    flex-grow: 1; 
}

.pricing-card .features li { 
    margin-bottom: 0.8rem; 
    display: flex; 
    align-items: flex-start; 
    gap: 0.5rem; 
    color: var(--warm-gray); 
}

.pricing-card .features li svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 4px;
}

/* --- Sekcja Gwarancja --- */
.guarantee { 
    background: var(--soft-white); 
    border-radius: 1.5rem; 
    padding: 3rem 2rem; 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto; 
    border: 1px solid var(--light-border); 
}

.guarantee .icon {
    width: 60px; 
    height: 60px; 
    color: var(--sage); 
    margin-bottom: 1rem; 
}

.guarantee h3 { 
    font-size: 1.8rem; 
    margin-bottom: 1rem; 
}

/* --- Sekcja Oferta Specjalna (MVP) --- */
.special-offer {
    background-color: var(--soft-white);
    padding: clamp(4rem, 10vh, 6rem) 0;
    text-align: center;
}

.special-offer .offer-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 100%);
    color: var(--cream);
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.special-offer h2 {
    color: var(--cream);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.special-offer .offer-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(253, 248, 242, 0.9);
    margin-bottom: 1.5rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.special-offer .features {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.special-offer .features li {
    text-align: left;
    margin-bottom: 0.8rem;
    list-style-type: disc;
    margin-left: 1.2rem;
}

.special-offer .offer-price {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(253, 248, 242, 0.3);
}

.special-offer .cta-button {
    background: var(--rust);
    border-color: var(--rust);
    color: var(--cream);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(183, 77, 42, 0.4);
}

.special-offer .cta-button:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--rust);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(253, 248, 242, 0.3);
}

.newsletter-note {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: rgba(253, 248, 242, 0.9);
}

/* Tryb ciemny adjustments */
body.dark-mode .special-offer .offer-box {
    background: linear-gradient(135deg, #3a4a4c 0%, #1d2e30 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

body.dark-mode .special-offer .offer-box::before {
    background: radial-gradient(circle, rgba(29, 46, 48, 0.3) 0%, transparent 70%);
}

body.dark-mode .special-offer .cta-button {
    background: var(--rust);
    border-color: var(--rust);
    color: var(--cream);
    box-shadow: 0 8px 25px rgba(199, 93, 58, 0.4);
}

body.dark-mode .special-offer .cta-button:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--rust);
    box-shadow: 0 12px 30px rgba(253, 248, 242, 0.3);
}

/* --- Sekcja FAQ --- */
.faq {
    position: relative;
    padding: clamp(4rem, 12vh, 6rem) 0;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.05) 35%, rgba(12, 23, 53, 0.08) 100%);
    overflow: hidden;
}

.faq::before,
.faq::after {
    content: '';
    position: absolute;
    width: clamp(420px, 58vw, 640px);
    height: clamp(420px, 58vw, 640px);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.22), transparent 70%);
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
}

.faq::before {
    top: -20%;
    left: -15%;
}

.faq::after {
    bottom: -25%;
    right: -12%;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

@media (max-width: 980px) {
    .faq-shell {
        grid-template-columns: 1fr;
    }
}

.faq-aside {
    display: grid;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.75rem;
    padding: clamp(1.75rem, 4vw, 2.4rem);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.32);
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: rgba(37, 50, 76, 0.92);
    width: fit-content;
}

.faq-aside h3 {
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    color: var(--forest);
}

.quick-faq {
    margin: 1.5rem 0;
}

.quick-faq h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--forest);
}

.quick-faq-item {
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    overflow: hidden;
}

.quick-faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    text-align: left;
}

.quick-faq-question svg {
    width: 18px;
    height: 18px;
    color: rgba(37, 50, 76, 0.72);
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    transition: transform 0.35s ease, background 0.35s ease;
}

.quick-faq-item.active .quick-faq-question svg {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.18);
}

.quick-faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.2rem;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.35s ease;
}

.quick-faq-item.active .quick-faq-answer {
    opacity: 1;
    padding: 0.8rem 1.2rem 1rem;
    max-height: 500px;
}

.faq-highlights {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    color: rgba(37, 50, 76, 0.9);
}

.faq-highlights li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.96rem;
}

.faq-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(34, 211, 238, 0.7));
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(34, 211, 238, 0.78));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-cta::after {
    content: '→';
    font-size: 1.1rem;
}

.faq-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(34, 211, 238, 0.28);
}

.faq-accordion {
    display: grid;
    gap: 1.25rem;
}

.faq-list {
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    overflow: hidden;
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    transform: translateY(-4px);
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.6rem, 3vw, 2rem);
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    width: 28px;
    height: 28px;
    color: rgba(37, 50, 76, 0.72);
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    transition: transform 0.35s ease, background 0.35s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.18);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 clamp(1.6rem, 3vw, 2rem);
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1.6rem, 3vw, 2rem) clamp(1.15rem, 2.3vw, 1.55rem);
    max-height: 1000px; /* Duża wartość, ale skończona, dla animacji */
}

.faq-answer p {
    color: rgba(37, 50, 76, 0.82);
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.68;
    padding: 0;
}

body.dark-mode .faq {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.82) 100%);
}

body.dark-mode .faq::before,
body.dark-mode .faq::after {
    background: radial-gradient(circle at 40% 40%, rgba(56, 225, 255, 0.28), transparent 70%);
    opacity: 0.38;
}

body.dark-mode .faq-aside {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 28px 60px rgba(3, 7, 18, 0.55);
}

body.dark-mode .faq-badge {
    background: rgba(129, 140, 248, 0.14);
    border-color: rgba(129, 140, 248, 0.38);
    color: rgba(226, 232, 240, 0.75);
}

body.dark-mode .faq-highlights li {
    color: rgba(226, 232, 240, 0.8);
}

body.dark-mode .faq-cta {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(56, 225, 255, 0.8));
    box-shadow: 0 22px 44px rgba(56, 225, 255, 0.28);
}

body.dark-mode .faq-item {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(129, 140, 248, 0.28);
    box-shadow: 0 26px 60px rgba(3, 7, 18, 0.55);
}

body.dark-mode .faq-question {
    color: rgba(226, 232, 240, 0.92);
}

body.dark-mode .faq-question svg {
    color: rgba(226, 232, 240, 0.85);
    background: rgba(129, 140, 248, 0.12);
}

body.dark-mode .faq-answer p {
    color: rgba(226, 232, 240, 0.78);
}

/* --- Final CTA --- */
.final-cta {
    background-color: var(--forest);
    color: var(--cream);
    text-align: center;
    padding: clamp(4rem, 10vh, 6rem) 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

body.dark-mode .final-cta {
    background-color: #1D2E30; /* Zachowaj oryginalny kolor lasu w trybie ciemnym */
    color: var(--cream);
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 { 
    color: var(--cream); 
}

.final-cta p {
    color: var(--cream);
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

body:not(.dark-mode) .final-cta h2,
body:not(.dark-mode) .final-cta p {
    color: #0B1120;
}

.final-pillars {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.final-pillars li {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--cream);
    font-weight: 600;
    letter-spacing: 0.01em;
}

body:not(.dark-mode) .final-pillars li {
    background: rgba(11, 17, 32, 0.08);
    border-color: rgba(11, 17, 32, 0.15);
    color: #0B1120;
}

/* --- Formularz kontaktowy --- */
.contact-form {
    background-color: var(--soft-white);
    padding: clamp(4rem, 10vh, 6rem) 0;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--light-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 500;
    display: none;
}

.form-response.is-visible {
    display: block;
}

.form-response.is-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #065f46;
}

.form-response.is-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #7f1d1d;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--forest);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    background-color: var(--soft-white);
    color: var(--charcoal);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rust);
    box-shadow: 0 0 0 3px rgba(183, 77, 42, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
    opacity: 0.7;
}

/* Styl dla przycisku w formularzu */
.contact-form .cta-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(29, 46, 48, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--neon-glow);
}

/* Styl dla animacji ładowania */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--cream);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- CTA po formularzu --- */
.final-cta-after-form {
    background-color: var(--soft-white);
    padding: clamp(3rem, 8vh, 5rem) 0;
    text-align: center;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.cta-box h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--forest); /* Kolor tekstu w trybie jasnym */
    line-height: 1.3;
}

body.dark-mode .cta-box h2 {
    color: #FFFFFF; /* Biały tekst w trybie ciemnym dla maksymalnej widoczności */
}

.cta-box .cta-button.secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.cta-box .cta-button.secondary:hover {
    background: var(--forest);
    color: var(--cream);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(29, 46, 48, 0.3);
}

/* Tryb ciemny dla CTA po formularzu */
body.dark-mode .final-cta-after-form {
    background-color: #1A1A1A;
    border-color: rgba(168, 181, 160, 0.6);
}

body.dark-mode .cta-box .cta-button.secondary {
    color: #FFFFFF; /* Biały kolor tekstu przycisku w trybie ciemnym */
    border-color: #FFFFFF; /* Biała ramka przycisku w trybie ciemnym */
}

body.dark-mode .cta-box .cta-button.secondary:hover {
    background: #FFFFFF; /* Biale tło po najechaniu w trybie ciemnym */
    color: var(--forest); /* Ciemny kolor tekstu po najechaniu w trybie ciemnym */
}

/* Tryb ciemny dla formularza */
body.dark-mode .form-wrapper {
    background-color: #1A1A1A;
    border-color: rgba(168, 181, 160, 0.6);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background-color: #2D2D2D;
    border-color: rgba(168, 181, 160, 0.6);
    color: var(--cream);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--rust);
    box-shadow: 0 0 0 3px rgba(199, 93, 58, 0.2);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: var(--warm-gray);
}

/* Responsywność */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.9rem;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--forest);
    color: var(--cream);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.site-footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.footer-section h3 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 248, 242, 0.1);
    opacity: 0.7;
}

/* Responsywność */
.site-footer .footer-content {
    grid-template-columns: repeat(3, 1fr) !important; /* Trzy kolumny zawsze */
    gap: 2rem !important;
}

@media (max-width: 768px) {
    .site-footer .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.sub-footer {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(253, 248, 242, 0.1);
}

.sub-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sub-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sub-footer a {
    color: var(--cream);
    text-decoration: none;
    transition: opacity 0.3s;
}

.sub-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-heart {
    color: var(--rust);
}

@media (max-width: 768px) {
    .sub-footer .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* --- Pływający Widget --- */
.chat-widget { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 60px; 
    height: 60px; 
    background: #25D366; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); 
    z-index: 1000; 
}

.chat-widget:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); 
}

.chat-widget svg { 
    width: 28px; 
    height: 28px; 
    color: white; 
}

/* --- Animacje --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Efekty hover dla kart */
.benefit-card, .pricing-card:not(.recommended) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover, .pricing-card:not(.recommended):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--soft-white);
    border-top: 1px solid var(--light-border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    padding: clamp(0.7rem, 1.5vw, 1rem); /* Mniejsze paddingi */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1100;
    gap: 0.7rem; /* Mniejsze odstępy */
    font-family: 'Space Grotesk', sans-serif;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
    font-size: 0.85rem; /* Mniejsza czcionka */
}

body.dark-mode .cookie-banner {
    background: #1A1A1A;
    border-color: var(--dark-border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 900px;
}

@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.cookie-text {
    text-align: center;
    max-width: 600px;
}

@media (min-width: 768px) {
    .cookie-text {
        text-align: left;
    }
}

.cookie-text h3 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Mniejsza czcionka */
    color: var(--forest);
    margin-bottom: 0.3rem; /* Mniejszy margines */
}

.cookie-text p {
    font-size: 13px !important; /* Dokładnie 13px z priorytetem */
    color: var(--warm-gray) !important;
    line-height: 1.3 !important; /* Mniejszy odstęp między liniami */
}

.cookie-text a {
    color: var(--rust);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-text a:hover {
    color: var(--forest);
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
}

@media (min-width: 768px) {
    .cookie-buttons {
        flex-direction: row;
        width: auto;
        justify-content: flex-end;
    }
}

.cookie-btn {
    padding: 0.5rem 0.9rem; /* Mniejsze paddingi */
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px !important; /* Mniejsza czcionka 12px */
}

.cookie-accept {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}

.cookie-accept:hover {
    background: var(--rust);
    border-color: var(--rust);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 77, 42, 0.3);
}

.cookie-preferences {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--light-border);
}

body.dark-mode .cookie-preferences {
    color: var(--cream);
    border-color: var(--dark-border);
}

/* Upewnij się, że przycisk "Ustawienia" jest widoczny w trybie ciemnym */
#show-preferences-btn.cookie-btn {
    color: var(--forest);
    border-color: var(--light-border);
}

body.dark-mode #show-preferences-btn.cookie-btn {
    color: #FFFFFF; /* Biały tekst */
    border-color: #FFFFFF; /* Biała ramka */
}

.cookie-preferences:hover {
    background: var(--soft-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body.dark-mode .cookie-preferences:hover {
    background: rgba(255,255,255,0.05);
}

.cookie-preferences-menu {
    width: 100%;
    max-width: 500px; /* Mniejsza maksymalna szerokość */
    background: var(--cream);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: 1rem; /* Mniejsze paddingi */
    margin-top: 0.8rem; /* Mniejszy margines */
}

body.dark-mode .cookie-preferences-menu {
    background: #1A1A1A;
    border-color: var(--dark-border);
}

.cookie-preferences-menu h4 {
    font-family: 'Crimson Text', serif;
    color: var(--forest);
    margin-bottom: 0.7rem; /* Mniejszy margines */
    font-size: 1.1rem; /* Mniejsza czcionka */
}

.cookie-preferences-menu p {
    color: var(--warm-gray);
    font-size: 0.8rem; /* Mniejsza czcionka */
    margin-bottom: 1rem; /* Mniejszy margines */
}

.cookie-options-group {
    margin-bottom: 1rem; /* Mniejszy margines */
}

.cookie-options-group:last-child {
    margin-bottom: 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.6rem; /* Mniejszy odstęp */
    margin-bottom: 0.4rem; /* Mniejszy margines */
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--rust);
}

.cookie-option label {
    font-weight: 500;
    color: var(--forest);
}

body.dark-mode .cookie-option label {
    color: var(--cream);
}

.cookie-option-desc {
    font-size: 22px;
    color: var(--warm-gray);
    margin-left: 1.5rem;
    margin-top: 0.2rem;
    line-height: 1.4;
}

.cookie-preferences-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.cookie-accept-selected {
    background: var(--forest);
    color: var(--cream);
    border: 2px solid var(--forest);
}

.cookie-accept-selected:hover {
    background: var(--rust);
    border-color: var(--rust);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 77, 42, 0.3);
}

.cookie-reject {
    background: transparent;
    color: var(--rust);
    border: 2px solid var(--rust);
}

.cookie-reject:hover {
    background: rgba(183, 77, 42, 0.1);
    transform: translateY(-2px);
}

/* --- Jak działam? (Steps) --- */
.steps-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-tab {
    background-color: var(--soft-white);
    border: 2px solid var(--light-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.step-tab.active {
    border-color: var(--rust);
    box-shadow: 0 8px 25px rgba(183, 77, 42, 0.2);
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--rust);
}

.step-tab.active .step-icon {
    color: var(--rust);
}

.step-tab .step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--forest);
    margin: 0.5rem 0;
}

.step-tab .step-subtitle {
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.steps-content-wrapper {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    min-height: 150px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.step-content p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    text-align: center;
    max-width: 65ch;
    margin: 0 auto;
}

/* --- Portfolio --- */
.portfolio {
    position: relative;
    padding: clamp(4rem, 12vh, 6rem) 0;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.05) 35%, rgba(12, 23, 53, 0.08) 100%);
    overflow: hidden;
}

.portfolio::before,
.portfolio::after {
    content: '';
    position: absolute;
    inset: -25% -20% auto -20%;
    height: clamp(420px, 55vh, 520px);
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.35), transparent 60%),
                radial-gradient(circle at 70% 40%, rgba(34, 211, 238, 0.25), transparent 65%);
    filter: blur(60px);
    opacity: 0.7;
    z-index: 0;
    transform: translate3d(0, var(--portfolio-parallax-y, 0px), 0);
    will-change: transform;
}

.portfolio::after {
    inset: auto -25% -30% -25%;
    height: clamp(360px, 45vh, 460px);
    background: radial-gradient(circle at 60% 30%, rgba(34, 211, 238, 0.22), transparent 65%),
                radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.28), transparent 60%);
    opacity: 0.55;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio-parallax {
    position: absolute;
    top: clamp(-6rem, -12vh, -4rem);
    left: 50%;
    width: min(1080px, 90vw);
    height: clamp(480px, 60vh, 620px);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.portfolio-parallax-layer {
    position: absolute;
    inset: 0;
    border-radius: clamp(220px, 40vw, 340px);
    filter: blur(55px);
    transform: translate3d(-50%, var(--layer-shift, 0px), 0);
    left: 50%;
    width: 100%;
    mix-blend-mode: screen;
}

.portfolio-parallax-layer.layer-grid {
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.12) 0, rgba(34, 211, 238, 0.12) 1px, transparent 1px, transparent 80px),
        radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.25), transparent 60%);
    opacity: 0.6;
    --layer-shift: var(--portfolio-parallax-grid, 0px);
}

.portfolio-parallax-layer.layer-glow {
    background: radial-gradient(circle at 25% 35%, rgba(99, 102, 241, 0.45), transparent 65%),
                radial-gradient(circle at 70% 55%, rgba(34, 211, 238, 0.4), transparent 60%),
                radial-gradient(circle at 45% 80%, rgba(15, 23, 42, 0.35), transparent 70%);
    opacity: 0.8;
    filter: blur(75px);
    --layer-shift: var(--portfolio-parallax-glow, 0px);
}

.portfolio-orb {
    position: absolute;
    width: clamp(220px, 28vw, 320px);
    height: clamp(220px, 28vw, 320px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.55), transparent 65%);
    filter: blur(45px);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-left {
    top: 12%;
    left: 12%;
    animation-delay: -2s;
    transform: translateZ(0) translate3d(0, var(--portfolio-orb-shift, 0px), 0);
}

.orb-right {
    bottom: -10%;
    right: 8%;
    animation-delay: -6s;
    transform: translateZ(0) translate3d(0, calc(var(--portfolio-orb-shift, 0px) * 0.6), 0);
    background: radial-gradient(circle at 60% 40%, rgba(56, 225, 255, 0.5), transparent 65%);
}

.portfolio-trail {
    position: absolute;
    width: 140%;
    height: clamp(160px, 26vh, 220px);
    top: 28%;
    left: 50%;
    transform: translate(-50%, 0) rotate(-4deg);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.0) 0%, rgba(34, 211, 238, 0.15) 35%, rgba(255, 255, 255, 0.25) 50%, rgba(99, 102, 241, 0.18) 65%, rgba(99, 102, 241, 0.0) 100%);
    opacity: 0.55;
    mix-blend-mode: screen;
    filter: blur(28px);
    animation: trailDrift 10s linear infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate3d(0, var(--portfolio-orb-shift, 0px), 0);
    }
    50% {
        transform: translate3d(0, calc(var(--portfolio-orb-shift, 0px) + 24px), 0);
    }
}

@keyframes trailDrift {
    0% {
        transform: translate(-50%, -6px) rotate(-6deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(-48%, 4px) rotate(-2deg);
        opacity: 0.65;
    }
    100% {
        transform: translate(-50%, -6px) rotate(-6deg);
        opacity: 0.4;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: clamp(2rem, 4vw, 2.75rem);
    margin-top: clamp(2rem, 5vw, 3rem);
    position: relative;
    isolation: isolate;
}

.portfolio-item {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    backdrop-filter: blur(8px);
    height: 100%;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: -30% -40%;
    background: conic-gradient(from 210deg, rgba(99, 102, 241, 0.35), transparent 45%, rgba(34, 211, 238, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
}

.portfolio-item:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 35px 65px rgba(15, 23, 42, 0.18);
    border-color: rgba(99, 102, 241, 0.28);
}

.portfolio-item:hover::before {
    opacity: 0.8;
}

.portfolio-preview {
    position: relative;
    overflow: hidden;
}

.portfolio-preview::before {
    content: '';
    position: absolute;
    inset: -45% -55% 10% -55%;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.22), transparent 65%);
    opacity: 0.24;
    mix-blend-mode: screen;
    transform: rotate(8deg);
    animation: portfolioSheen 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.portfolio-image-placeholder,
.portfolio-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: clamp(280px, 34vw, 420px);
    object-fit: cover;
    display: block;
}

.portfolio-image-placeholder {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.75), rgba(34, 211, 238, 0.65));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-weight: 600;
    letter-spacing: 0.06em;
    position: relative;
}

.portfolio-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.78) 75%);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-within .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-preview::after {
    opacity: 1;
}

.portfolio-item:hover .portfolio-preview::before,
.portfolio-item:focus-within .portfolio-preview::before {
    opacity: 0.42;
    animation-duration: 4s;
}

.portfolio-overlay-label {
    font-size: 0.85rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.85);
}

@keyframes portfolioSheen {
    0%, 100% {
        transform: translate3d(-10%, -12%, 0) rotate(8deg);
    }
    45% {
        transform: translate3d(18%, 6%, 0) rotate(12deg);
    }
    70% {
        transform: translate3d(32%, 2%, 0) rotate(6deg);
    }
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(34, 211, 238, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.25);
}

.portfolio-cta::after {
    content: '\2197';
    font-size: 1rem;
}

.portfolio-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(34, 211, 238, 0.28);
}

.portfolio-cta-disabled {
    cursor: default;
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
    opacity: 0.7;
}

.portfolio-cta-disabled::after {
    content: '\2022';
}

.portfolio-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.6rem, 3vw, 2rem);
    display: grid;
    gap: 0.8rem;
}

.portfolio-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(37, 50, 76, 0.92);
    width: fit-content;
}

.portfolio-title {
    font-size: clamp(1.35rem, 2.3vw, 1.55rem);
    color: var(--forest);
}

.portfolio-desc {
    color: rgba(37, 50, 76, 0.92);
    font-size: 22px;
    line-height: 1.6;
}

[data-state="upcoming"] .portfolio-overlay-label {
    color: rgba(226, 232, 240, 0.72);
}

body.dark-mode .portfolio {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 100%);
}

body.dark-mode .portfolio::before {
    opacity: 0.45;
    filter: blur(80px);
}

body.dark-mode .portfolio::after {
    opacity: 0.35;
}

body.dark-mode .portfolio-parallax-layer.layer-grid {
    background:
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.08) 0, rgba(148, 163, 184, 0.08) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(90deg, rgba(129, 140, 248, 0.18) 0, rgba(129, 140, 248, 0.18) 1px, transparent 1px, transparent 80px),
        radial-gradient(circle at 40% 40%, rgba(56, 225, 255, 0.32), transparent 60%);
    opacity: 0.55;
}

body.dark-mode .portfolio-parallax-layer.layer-glow {
    background: radial-gradient(circle at 25% 35%, rgba(129, 140, 248, 0.45), transparent 65%),
                radial-gradient(circle at 70% 55%, rgba(56, 225, 255, 0.42), transparent 60%),
                radial-gradient(circle at 45% 80%, rgba(5, 12, 35, 0.45), transparent 70%);
    opacity: 0.75;
}

body.dark-mode .portfolio-orb {
    background: radial-gradient(circle at 30% 30%, rgba(129, 140, 248, 0.58), transparent 65%);
}

body.dark-mode .orb-right {
    background: radial-gradient(circle at 60% 40%, rgba(56, 225, 255, 0.5), transparent 65%);
}

body.dark-mode .portfolio-trail {
    background: linear-gradient(90deg, rgba(56, 225, 255, 0) 0%, rgba(56, 225, 255, 0.12) 35%, rgba(226, 232, 240, 0.18) 50%, rgba(129, 140, 248, 0.14) 65%, rgba(129, 140, 248, 0) 100%);
}

body.dark-mode .portfolio-preview::before {
    background:
        linear-gradient(130deg, rgba(226, 232, 240, 0.6) 0%, rgba(226, 232, 240, 0.12) 35%, rgba(226, 232, 240, 0) 70%),
        radial-gradient(circle at 20% 30%, rgba(56, 225, 255, 0.25), transparent 65%);
    opacity: 0.3;
}

body.dark-mode .portfolio-item {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 30px 55px rgba(2, 6, 23, 0.45);
}

body.dark-mode .portfolio-item::before {
    background: conic-gradient(from 200deg, rgba(129, 140, 248, 0.45), transparent 45%, rgba(56, 225, 255, 0.4), transparent);
}

body.dark-mode .portfolio-content {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.55) 100%);
}

body.dark-mode .portfolio-chip {
    background: rgba(129, 140, 248, 0.16);
    border-color: rgba(129, 140, 248, 0.32);
    color: rgba(226, 232, 240, 0.78);
}

body.dark-mode .portfolio-desc {
    color: rgba(226, 232, 240, 0.82);
}

/* --- Sekcja Korzyści (dwie kolumny) --- */
.benefits-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .benefits-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.benefits-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.feature-image {
    width: 100%;
    max-width: clamp(320px, 45vw, 520px);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#o-mnie .feature-image {
    max-width: clamp(600px, 80vw, 960px);
    object-position: center 18%;
}

.feature-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.18);
}

#o-mnie .essentials-content {
    max-width: 1200px;
}

/* Adjust text container to align properly with image */
@media (min-width: 768px) {
    #o-mnie .benefits-cards {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text content vertically with image */
    }
}

/* --- Analysis Page Styles --- */
.analysis-form-section .form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--warm-gray);
    text-align: center;
    margin-top: 1rem;
}

.analysis-results-section .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.analysis-results-section .result-card {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.result-card h4 {
    font-size: 1.2rem;
    color: var(--rust);
    margin-bottom: 0.5rem;
}

.result-card .result-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.result-card .result-desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
}

.analysis-results-section .results-details {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem; /* Add margin between details sections */
}

.results-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.results-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.results-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-border);
}

.results-details ul li:last-child {
    border-bottom: none;
}

.results-details p {
    margin-bottom: 1rem;
}

/* --- Ranking Gauge (PRO) --- */
.ranking-gauge-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.ranking-summary-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin: 1.5rem auto 0 auto;
    max-width: 60ch;
    color: var(--warm-gray);
}

.ranking-gauge-container {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    transition: box-shadow 0.5s ease-out;
}

.ranking-gauge-container.score-low {
    box-shadow: 0 0 25px -5px #B74D2A;
}
.ranking-gauge-container.score-medium {
    box-shadow: 0 0 25px -5px #f5b700;
}
.ranking-gauge-container.score-high {
    box-shadow: 0 0 25px -5px var(--sage);
}

.ranking-gauge-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ranking-gauge-track,
.ranking-gauge-fill {
    fill: none;
    stroke-width: 18;
}

.ranking-gauge-track {
    stroke: var(--light-border);
    opacity: 0.3;
}

.ranking-gauge-fill {
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ranking-gauge-fill.score-low {
    stroke: var(--rust);
}

.ranking-gauge-fill.score-medium {
    stroke: #f5b700;
}

.ranking-gauge-fill.score-high {
    stroke: var(--sage);
}

.ranking-score-text {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    background: rgba(253, 248, 242, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.05);
}

body.dark-mode .ranking-score-text {
    background: rgba(30, 46, 48, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

#ranking-score-value {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--forest);
    line-height: 1;
}

#ranking-score-value::after {
    content: '/100';
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray);
    margin-left: 4px;
}

.ranking-score-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray);
    margin-top: 0.25rem;
}

/* --- Keywords Table --- */
.keywords-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.keywords-table th,
.keywords-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-border);
}

.keywords-table th {
    font-weight: 600;
    background-color: var(--soft-white);
}

.keywords-table tbody tr:hover {
    background-color: var(--cream);
}

/* --- Recommendation Table & Cards --- */
.recommendation-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.recommendation-table th,
.recommendation-table td {
    padding: 1rem;
    border: 1px solid var(--light-border);
    vertical-align: top;
    text-align: left;
}

.recommendation-table th {
    width: 50%;
    font-size: 1.1rem;
}

.recommendation-table th:first-child {
    color: var(--sage);
}

.recommendation-table th:last-child {
    color: var(--rust);
}

.what-to-do {
    margin-top: 3rem;
    text-align: center;
}

.what-to-do h5 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: 'Crimson Text', serif;
}

.recommendation-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.recommendation-card {
    background: var(--soft-white);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.recommendation-card-icon {
    width: 48px;
    height: 48px;
    color: var(--rust);
    margin-bottom: 1rem;
}

.recommendation-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommendation-card-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin: 0;
}

/* --- NOWE STYLE --- */

/* Przyciski w Hero */
.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Nowa sekcja "Jak pracuję" - Timeline */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background-color: var(--light-border);
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--rust);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    border: 3px solid var(--soft-white);
    z-index: 1;
}

.step-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.step-details p {
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.step-duration {
    font-style: italic;
    color: var(--sage);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .steps-timeline::before {
        left: 19px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Uproszczona tabela porównawcza */
.comparison-table.simple {
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.comparison-table.simple th {
    text-align: center;
    width: 50%;
}
.comparison-table.simple td {
    text-align: center;
}

/* Cennik - dopiski */
.price-note {
    font-size: 1rem;
    font-weight: 400;
    color: var(--warm-gray);
}

.subscription-card {
    background: var(--soft-white);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border: 2px dashed var(--sage);
    text-align: center;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subscription-card .package-name {
    font-size: 1.5rem;
}

/* Sekcja KPI */
.kpi-section {
    background-color: var(--soft-white);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.kpi-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--light-border);
}

.kpi-card h3 {
    font-size: 3.5rem;
    color: var(--rust);
    margin-bottom: 0.5rem;
}

.kpi-card p {
    color: var(--warm-gray);
    font-weight: 500;
}

/* Sekcja Lokalizacje */
.locations-section {
    padding-bottom: 2rem; /* Mniejszy padding na dole */
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.location-item {
    background-color: var(--soft-white);
    color: var(--warm-gray);
    padding: 0.5rem 1.2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--light-border);
    font-weight: 500;
}

/* Poprawka dla listy w karcie abonamentu */
.subscription-card .features {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto;
    text-align: left;
    max-width: 400px;
}

.subscription-card .features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--warm-gray);
}

.subscription-card .features li svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 4px;
}

/* --- DODATKOWE ANIMACJE --- */

/* Animacja "rysowania" linii w timeline */
.steps-timeline::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-it-works.animate .steps-timeline::before {
    transform: scaleY(1);
}

/* Animacja pojawiania się kroków w timeline (staggered) */
.how-it-works .step {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.how-it-works.animate .step {
    opacity: 1;
    transform: translateX(0);
}

.how-it-works.animate .step:nth-child(1) { transition-delay: 0.3s; }
.how-it-works.animate .step:nth-child(2) { transition-delay: 0.5s; }
.how-it-works.animate .step:nth-child(3) { transition-delay: 0.7s; }

/* Animacja "wyskakiwania" kart KPI (staggered) */
.kpi-grid .kpi-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.kpi-section.animate .kpi-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.kpi-section.animate .kpi-card:nth-child(1) { transition-delay: 0.1s; }
.kpi-section.animate .kpi-card:nth-child(2) { transition-delay: 0.2s; }
.kpi-section.animate .kpi-card:nth-child(3) { transition-delay: 0.3s; }

/* Animacja pojawiania się pigułek z lokalizacjami */
.locations-grid .location-item {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.locations-section.animate .location-item {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delay dla lokalizacji */
.locations-section.animate .location-item:nth-child(1) { transition-delay: 0.1s; }
.locations-section.animate .location-item:nth-child(2) { transition-delay: 0.15s; }
.locations-section.animate .location-item:nth-child(3) { transition-delay: 0.2s; }
.locations-section.animate .location-item:nth-child(4) { transition-delay: 0.25s; }
.locations-section.animate .location-item:nth-child(5) { transition-delay: 0.3s; }

/* Dodanie subtelnej animacji do kart z cenami przy pojawianiu się */
.pricing-grid .pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing.animate .pricing-card {
    opacity: 1;
    transform: translateY(0);
}

.pricing.animate .pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing.animate .pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing.animate .pricing-card:nth-child(3) { transition-delay: 0.3s; }

.subscription-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: 0.4s; /* Pojawia się po kartach */
}

.pricing.animate .subscription-card {
    opacity: 1;
    transform: translateY(0);
}

/* --- STYLE DLA SEKCJI SEO --- */

#seo {
    background-color: var(--soft-white);
}

.availability-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--sage);
    font-weight: 500;
}

.seo-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Równe wysokości kart */
}

.seo-card {
    background: var(--cream);
    border: 1px solid var(--light-border);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.seo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.seo-card.featured {
    border-color: var(--rust);
    border-width: 2px;
}

@media (min-width: 992px) {
    .seo-card.featured {
        transform: scale(1.05);
    }
    .seo-card.featured:hover {
        transform: scale(1.05) translateY(-8px);
    }
}

.seo-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rust);
    color: var(--cream);
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.seo-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.seo-card .price {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-card .features {
    list-style-position: inside;
    padding-left: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: var(--warm-gray);
}

.seo-card .features li {
    margin-bottom: 0.75rem;
}

.seo-card .effect {
    font-style: italic;
    color: var(--sage);
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 40px; /* Wyrównuje przyciski do dołu */
}

.seo-card .cta-button {
    width: 100%;
    margin-top: auto; /* Wypycha przycisk na dół karty */
}

.notice {
    background-color: var(--sage);
    color: var(--cream);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 500;
    max-width: 800px;
    margin: -1rem auto 3rem auto;
}

.badge-client {
    background-color: var(--sage);
    color: var(--cream);
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 1rem auto;
    display: inline-block;
}

.requires-subscription {
    text-align: center;
    font-size: 0.85rem;
    color: var(--warm-gray);
    font-style: italic;
    margin-top: 1rem;
}

.why-us-note {
    background-color: var(--cream);
    border: 1px solid var(--light-border);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.why-us-note h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.seo-form-wrapper {
    max-width: 700px;
    margin: 3rem auto 0 auto;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--light-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.seo-form-wrapper h4 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.seo-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seo-form-wrapper .form-hint-inline {
    text-align: center;
    font-size: 0.8rem;
    color: var(--warm-gray);
    margin-top: 0.5rem;
}

.subscription-card.seo-dependency {
    border-style: solid;
    border-color: var(--rust);
    margin-top: 3rem;
}

/* --- 2025 Visual Refresh --- */
body {
    background: radial-gradient(120% 120% at 50% -10%, rgba(99, 102, 241, 0.14) 0%, transparent 60%),
                radial-gradient(100% 120% at 10% 80%, rgba(34, 211, 238, 0.12) 0%, transparent 70%),
                var(--cream);
    min-height: 100%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: -20% -20% 40% -20%;
    pointer-events: none;
    background: radial-gradient(550px at 80% 25%, rgba(99, 102, 241, 0.22), transparent 75%),
                radial-gradient(420px at 15% 70%, rgba(34, 211, 238, 0.18), transparent 75%);
    opacity: 0.6;
    z-index: -1;
    transition: opacity 0.4s ease;
}

body.dark-mode::before {
    opacity: 0.35;
}

section {
    isolation: isolate;
}

section:nth-of-type(even) {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#progress-bar {
    background: var(--gradient-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.45);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(12px);
}

body.dark-mode .theme-toggle {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(129, 140, 248, 0.35);
}

.navbar {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px) saturate(140%);
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.82);
    border-bottom-color: rgba(129, 140, 248, 0.25);
}

.navbar-logo {
    color: var(--forest);
    letter-spacing: 0.02em;
}

.navbar-link {
    color: rgba(37, 50, 76, 0.92);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.dark-mode .navbar-link {
    color: rgba(226, 232, 240, 0.85);
}

.navbar-link::after {
    height: 2px;
    background: var(--gradient-primary);
}

.navbar-link:hover {
    color: var(--forest);
}

.hero {
    padding: clamp(6.5rem, 12vh, 9.5rem) 0 clamp(4rem, 10vh, 6rem);
    min-height: calc(90vh - 70px);
    justify-content: center;
    text-align: left;
}

.hero::after {
    content: none;
}

body.dark-mode .hero::after {
    content: none;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-media {
    display: grid;
    gap: 1.2rem;
    justify-items: center;
    position: relative;
    z-index: 2;
    align-self: center;
    width: 100%;
    max-width: none;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 900px;
    animation: none;
    max-width: none;
    overflow: visible;
}
.hero-visual-outline {
    display: none;
}

.hero-glow {
    display: none;
}

.hero-visual {
    position: relative;
    border-radius: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
    box-sizing: border-box;
    height: 90vh;
    max-height: 900px;
    position: relative;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(-1.5deg);
    }
}

body.dark-mode .hero-visual-outline {
    display: none;
}

body.dark-mode .hero-visual {
    border-color: rgba(129, 140, 248, 0.45);
    background: var(--gradient-primary);
    box-shadow: 0 45px 95px rgba(3, 7, 18, 0.6);
}

@media (max-width: 540px) {
    .hero h1 {
        font-size: clamp(1.3rem, 7vw, 1.9rem);
        gap: 0.25rem;
    }

    .hero h1 .hero-line-subtitle {
        font-size: clamp(0.95rem, 4.2vw, 1.2rem);
    }
}

@media (max-width: 720px) {
    .hero-visual-wrapper {
        height: 60vh;
        max-height: 600px;
    }

    .hero-visual {
        border-radius: 0;
        transform: none;
    }

    .hero-visual-outline {
        display: none;
    }
}

body.dark-mode .hero-glow {
    background: radial-gradient(circle, rgba(56, 225, 255, 0.5), transparent 65%);
    opacity: 0.75;
}

/* Usunięte, ponieważ nadpisuje główny styl .hero-image */

.hero-media-caption {
    font-size: 0.9rem;
    max-width: 320px;
    text-align: center;
    color: rgba(43, 56, 85, 0.9);
}

body.dark-mode .hero-media-caption {
    color: rgba(226, 232, 240, 0.7);
}

@media (max-width: 900px) {
    .hero-media {
        justify-items: center;
    }
}

@media (max-width: 720px) {
    .hero::after {
        content: none;
    }

    .hero h1 {
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .hero h1 .hero-line {
        text-align: center;
    }
}

@media (min-width: 900px) {
    .hero-media-caption {
        text-align: left;
    }
}

.hero-actions {
    padding: clamp(2.5rem, 7vh, 4.5rem) 0;
}

.hero-actions-grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-actions-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

.hero-actions-copy {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.hero-actions-subtitle {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    color: rgba(15, 23, 42, 0.82);
    font-weight: 500;
    max-width: 40ch;
}

body.dark-mode .hero-actions-subtitle {
    color: rgba(226, 232, 240, 0.86);
}

.hero-actions .hero-cta-buttons {
    justify-content: flex-start;
    gap: 1rem;
}

@media (max-width: 640px) {
    .hero-actions .hero-cta-buttons {
        justify-content: center;
        text-align: center;
    }
}

.hero-actions .hero-note {
    max-width: 46ch;
}

.hero-actions .hero-media-caption {
    font-size: 0.95rem;
}

.hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: clamp(2.2rem, 5.8vw, 3.9rem);
    line-height: 1.08;
    color: var(--forest);
    position: relative;
    z-index: 3;
    width: fit-content;
}

.hero .subtitle {
    max-width: 52ch;
    color: rgba(37, 50, 76, 0.92);
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    text-wrap: pretty;
}

.hero-statement {
    display: grid;
    gap: 1rem;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
}

.hero-label::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--sage);
    opacity: 0.6;
}

.hero-highlights {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    max-width: 640px;
}

.hero-highlights li {
    position: relative;
    padding: 1.05rem 1.4rem 1.05rem 1.75rem;
    background: rgba(255, 255, 255, 0.82);
    border-left: 3px solid var(--sage);
    border-radius: 1rem;
    color: var(--warm-gray);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
    font-size: 0.97rem;
}

body.dark-mode .hero-highlights li {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(129, 140, 248, 0.25);
    color: rgba(226, 232, 240, 0.88);
    border-left-color: var(--sage);
}

.hero-metrics {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 4px;
}

.hero-metric {
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(99, 102, 241, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
}

body.dark-mode .hero-metric {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(129, 140, 248, 0.25);
    color: rgba(226, 232, 240, 0.8);
}

.hero-cta-buttons {
    justify-content: flex-start;
}

@media (max-width: 640px) {
    .hero-cta-buttons {
        justify-content: center;
    }
}

.hero-note {
    font-size: 0.96rem;
    color: rgba(43, 56, 85, 0.88);
    max-width: 48ch;
}

body.dark-mode .hero-note {
    color: rgba(226, 232, 240, 0.75);
}

@media (max-width: 720px) {
    .hero-note {
        text-align: center;
    }
}

.essentials-section {
    padding-top: clamp(3rem, 8vh, 4.5rem);
}

.essentials-content {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.1rem);
    max-width: 760px;
    justify-items: start;
    margin: 0 auto;
}

.essentials-metrics {
    justify-content: flex-start;
}

@media (max-width: 720px) {
    .essentials-content {
        justify-items: center;
        text-align: left;
    }

    .essentials-metrics {
        justify-content: center;
        text-align: center;
    }
}

.process-section {
    position: relative;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: clamp(1.4rem, 2.6vw, 1.9rem);
    border-radius: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.18);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

body.dark-mode .process-step {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(129, 140, 248, 0.3);
}

.process-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-icon {
    padding: 1.2rem;
    border: 1px solid var(--light-border);
    border-radius: 1.2rem;
    background: var(--soft-white);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    text-align: left;
    display: grid;
    gap: 0.4rem;
}

.process-icon span {
    font-weight: 700;
    color: var(--rust);
}

body.dark-mode .process-icon {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(129, 140, 248, 0.25);
}

.process-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.35);
}

.process-copy h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.process-copy p {
    color: rgba(37, 50, 76, 0.92);
    margin-bottom: 0.5rem;
}

body.dark-mode .process-copy p {
    color: rgba(226, 232, 240, 0.78);
}

.process-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sage);
    font-weight: 600;
}

body.dark-mode .process-duration {
    color: rgba(129, 140, 248, 0.85);
}

@media (max-width: 640px) {
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-index {
        margin: 0 auto;
    }

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

.hero-aside {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border-radius: 1.8rem;
    background: rgba(5, 10, 25, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.45);
    box-shadow: 0 35px 65px rgba(11, 17, 32, 0.45);
    color: #e2e8f0;
    overflow: hidden;
}

body.dark-mode .hero-aside {
    background: rgba(2, 6, 23, 0.82);
    border-color: rgba(129, 140, 248, 0.45);
}

.hero-aside::before {
    content: '';
    position: absolute;
    inset: -40% auto auto -30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(34, 211, 238, 0.25), transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-aside::after {
    content: '';
    position: absolute;
    inset: auto -20% -30% auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent 70%);
    opacity: 0.65;
    pointer-events: none;
}

.hero-aside > * {
    position: relative;
    z-index: 1;
}

.hero-aside-header {
    display: grid;
    gap: 0.75rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #38e1ff;
    font-weight: 600;
}

body.dark-mode .hero-chip {
    background: rgba(56, 225, 255, 0.2);
    border-color: rgba(56, 225, 255, 0.45);
    color: #7df5ff;
}

.hero-aside h2 {
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    color: #f8fafc;
    line-height: 1.3;
}

.hero-aside-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}


        padding: 56px 0;
    }
}

/* Kontener dla wszystkich sekcji z ograniczeniem szerokości */
section .container,
section > div:not(.container) {
    width: min(100%, calc(100vw - var(--page-gutter) * 2));
    margin: 0 auto;
}

/* Nagłówki */
h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    color: var(--brand-secondary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    color: var(--brand-secondary);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-secondary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Specjalny styl dla nagłówka Hero */
.hero-text h1 {
    font-family: "museo-sans", Sans-serif, var(--font-heading);
    font-size: 85px;
    font-weight: 700;
    line-height: 1.1em;
    letter-spacing: -2px;
    color: #252525;
    margin: 0;
    padding: 0;
}

.hero-line {
    display: block;
    font-size: inherit;
    line-height: 1.1em;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 50px;
    }
    
    .hero-line {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 40px;
    }
    
    .hero-line {
        font-size: 40px;
    }
}

/* Tekst podstawowy */
body {
    font-size: var(--font-size-body);
}

p, span, li {
    font-size: var(--font-size-body);
    color: var(--text);
}

small, .small {
    font-size: var(--font-size-small);
    color: var(--text-light);
}

/* Mobile - nagłówki */
@media (max-width: 767px) {
    h1 {
        font-size: var(--font-size-h1-mobile);
    }
    
    h2 {
        font-size: var(--font-size-h2-mobile);
    }
    
    body, p, span, li {
        font-size: var(--font-size-body-mobile);
    }
}

/* Wymagania dotyczące kontrastu */
.text-high-contrast {
    color: var(--text);
}

/* Linki */
a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    color: var(--brand-accent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-light);
    padding: 0.8rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .navbar-container {
        padding: 0 clamp(1rem, 4vw, 2rem);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .navbar-container {
        padding: 0 24px;
    }
}

.navbar-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

/* Mobile - hamburger */
@media (max-width: 767px) {
    .navbar-menu {
        display: none; /* Domyślnie ukryj menu na telefonach */
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw; /* Użyj pełnej szerokości ekranu */
        background: var(--soft-white);
        border-top: 1px solid var(--light-border);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
        z-index: 1000; /* Upewnij się, że menu jest nad innymi elementami */
    }
    
    .navbar-menu.active {
        display: flex !important; /* Upewnij się, że menu jest widoczne po aktywowaniu */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .navbar-menu a {
        padding: 1rem;
        display: block;
    }
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.navbar-menu a:hover {
    color: var(--brand-accent);
}

/* Hamburger menu - bardzo silny selektor, by zapewnić widoczność */
nav.navbar button.hamburger {
    display: none !important;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001 !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    margin-left: auto !important; /* Wyrównaj do prawej strony */
}

nav.navbar button.hamburger span {
    width: 25px !important;
    height: 3px !important;
    background: var(--forest) !important;
    margin: 3px 0 !important;
    transition: 0.3s !important;
    display: block !important;
}

@media (max-width: 767px) {
    nav.navbar button.hamburger {
        display: flex !important;
    }
}

nav.navbar button.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px) !important;
}

nav.navbar button.hamburger.active span:nth-child(2) {
    opacity: 0 !important;
}

nav.navbar button.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px) !important;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg) 0%, var(--cream) 100%);
    padding: 2rem 0;
}

.hero-image {
    position: relative;
}

@media (max-width: 1023px) {
    .hero {
        min-height: calc(100vh - 60px);
        padding: 1rem 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
        margin: 0 auto 2rem;
    }
    
    .hero-line {
        display: block;
        font-size: inherit;
        line-height: 1.2;
    }
    
    .highlighted-text {
        display: inline-block;
        padding: 0.2em 0.5em;
        background: var(--gradient-primary);
        color: #fff;
        border-radius: 0.2em;
        margin-top: 0.3em;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-body);
        color: var(--text-secondary);
        margin-top: 1rem;
        line-height: 1.5;
    }
    
    .hero .hero-visual .hero-image {
        margin-top: 2rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 540px !important; /* Zgodne z szerokością obrazu w HTML */
        height: 90vh !important;
        max-height: 900px !important;
        object-fit: cover !important;
        object-position: center 20% !important; /* Skupienie na górnej części obrazu */
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }
    }
}

@media (min-width: 1024px) {
    .hero-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }
    
    .hero-text {
        flex: 1;
        max-width: 500px;
        text-align: left;
        margin: 0 2rem 0 0;
    }
    
    .hero-line {
        display: block;
        font-size: inherit;
        line-height: 1.2;
    }
    
    .highlighted-text {
        display: inline-block;
        padding: 0.2em 0.5em;
        background: var(--gradient-primary);
        color: #fff;
        border-radius: 0.2em;
        margin-top: 0.3em;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-body);
        color: var(--text-secondary);
        margin-top: 1rem;
        line-height: 1.5;
    }
    
    .hero .hero-visual .hero-image {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 540px !important; /* Zgodne z szerokością obrazu w HTML */
        height: 90vh !important;
        max-height: 900px !important;
        object-fit: cover !important;
        object-position: center 20% !important; /* Skupienie na górnej części obrazu */
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

/* Nowa sekcja po Hero */
.hero-details {
    background: var(--cream);
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .hero-details {
        padding: 1rem 0;
    }
}

.hero-details-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-details-content {
        text-align: left;
        align-items: flex-start;
    }
}

.hero-details .subtitle {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-details .subtitle {
        font-size: var(--font-size-body-mobile);
    }
}

.hero-details .bible-quote {
    font-size: var(--font-size-small);
    color: var(--brand-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    padding: 0.75rem;
    border-left: 3px solid var(--brand-accent);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 8px 8px 0;
}

@media (max-width: 767px) {
    .hero-details .bible-quote {
        font-size: calc(var(--font-size-small) * 0.9);
    }
}

.hero-details .cta-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 768px) {
    .hero-details .cta-container {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-details .cta-container {
        justify-content: flex-start;
    }
}

.hero-details .feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-details .feature-cards {
        justify-content: flex-start;
    }
}

.hero-details .feature-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    color: var(--brand-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: var(--font-size-h1-mobile);
    }
}

.hero-text .subtitle {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-text .subtitle {
        font-size: var(--font-size-body-mobile);
    }
}

.bible-quote {
    font-size: var(--font-size-small);
    color: var(--brand-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    padding: 0.75rem;
    border-left: 3px solid var(--brand-accent);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 8px 8px 0;
}

@media (max-width: 767px) {
    .bible-quote {
        font-size: calc(var(--font-size-small) * 0.9);
    }
}

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

@media (min-width: 768px) {
    .cta-container {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-start;
    }
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--brand-secondary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--font-size-body);
    min-width: 220px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.cta-primary {
    background: var(--brand-secondary);
    color: var(--bg);
}

.cta-primary:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--neon-glow);
}

.cta-secondary {
    background: transparent;
    color: var(--brand-secondary);
    border: 2px solid var(--brand-secondary);
}

.cta-secondary:hover {
    background: var(--brand-secondary);
    color: var(--bg);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--neon-glow);
}

/* Dodatkowe style dla CTA z zaokrągleniem 10-14px jak w wytycznych */
.cta-primary, .cta-secondary {
    border-radius: 12px; /* Ustawiam wartość pośrednią między 10-14px jak w wytycznych */
}

/* Hover effect z ciemniejszym kolorem o 8-12% jak w wytycznych */
.cta-primary:hover {
    background: color-mix(in srgb, var(--brand-primary) 88%, black); /* Ciemniejszy o ok. 12% */
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .feature-cards {
        justify-content: flex-start;
    }
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

/* About Short Section */
.about-short {
    background: var(--cream);
    padding: 120px 0;
    box-shadow: inset 0 0 20px -10px rgba(0,0,0,0.03);
}

@media (max-width: 767px) {
    .about-short {
        padding: 56px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    color: var(--brand-secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}

@media (max-width: 767px) {
    .section-header h2 {
        font-size: var(--font-size-h2-mobile);
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .about-content {
        text-align: left;
        align-items: flex-start;
    }
}

.about-content p {
    max-width: 760px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.values-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .values-list {
        justify-content: flex-start;
    }
}

.value {
    font-weight: 600;
    color: var(--brand-primary);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Services Section */
.services {
    background: var(--cream);
    padding: 120px 0;
}

@media (max-width: 767px) {
    .services {
        padding: 56px 0;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.benefit-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (max-width: 767px) {
    .benefit-card h3 {
        font-size: calc(var(--font-size-h3) * 0.9);
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-3px);
}

.process-step .step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--brand-primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin: 1.5rem 0 0.5rem;
    letter-spacing: -0.01em;
}

.case-highlight {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--brand-accent);
    margin: 2rem 0;
    text-align: center;
}

.case-link {
    display: inline-block;
    margin: 1rem 0 2rem;
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--brand-primary);
}

.case-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .case-cta-wrapper {
        flex-direction: row;
        justify-content: center;
    }
}

/* Asystenci Biznes Section */
.asystenci-biznes {
    background: var(--soft-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.asystenci-biznes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-primary));
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.module-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

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

.module-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.note {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border);
    font-style: italic;
    color: var(--text-secondary);
}

/* Asystenci Zycie Section */
.asystenci-zycie {
    background: var(--cream);
    padding: 120px 0;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.application-column h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.application-column ul {
    list-style-type: none;
    padding: 0;
}

.application-column ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.application-column ul li::before {
    content: "•";
    color: var(--brand-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Metodyka Section */
.metodyka {
    background: var(--cream);
    padding: 120px 0;
    position: relative;
}

.metodyka::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.timeline-item .timeline-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    color: var(--bg);
    border-radius: 50%;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.coo-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

.coo-section h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.quote-box {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    padding: 2rem;
    margin: 2rem 0;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand-accent);
}

/* Edukacja Section */
.edukacja {
    background: var(--soft-white);
    padding: 120px 0;
    position: relative;
}

.edukacja::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent), var(--brand-secondary));
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.pillar-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

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

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    color: var(--brand-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.dual-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .dual-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Wartosci Section */
.wartosci {
    background: var(--cream);
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.wartosci::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
}

.faith-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}

.bible-quotes {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--brand-accent);
    text-align: center;
}

.bible-quotes p {
    margin: 0.75rem 0;
    font-style: italic;
    color: var(--brand-primary);
    font-weight: 500;
}

/* Nowe style dla siatki cytatów biblijnych - dopasowane do rozmiaru kolumny z wartościami */
.bible-quotes-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.bible-quote-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%);
    color: var(--charcoal);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--light-border);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bible-quote-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, transparent 65%);
    opacity: 0.3;
    pointer-events: none;
}

.bible-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.bible-quote-card p {
    margin: 0;
    font-style: italic;
    color: var(--charcoal);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.bible-quote-card p strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* --- Hero image: pełne wypełnienie sekcji bez docinania kompozycji --- */
.hero-media {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.hero-visual-wrapper {
    width: min(640px, 95vw) !important;
    min-height: clamp(520px, 80vh, 900px) !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: visible !important;
}

.hero .hero-visual .hero-image,
.hero-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    left: 0 !important;
    position: relative !important;
}

/* Opinie Section */
.opinie {
    background: var(--cream);
    padding: 120px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.testimonial-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-accent);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.testimonial-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--brand-primary);
}

/* Blog Section */
.blog {
    background: var(--cream);
    padding: 120px 0;
}

.grid-3x {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.blog-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.03);
}

/* Newsletter Section */
.newsletter {
    background: var(--brand-secondary);
    padding: 120px 0;
    text-align: center;
    color: var(--bg);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjAuNSIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
}

.newsletter h2 {
    color: var(--bg);
    position: relative;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg);
    backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--bg);
    background: rgba(255, 255, 255, 0.25);
}

.checkbox-container {
    width: 100%;
    text-align: left;
    color: var(--bg);
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-container label {
    color: var(--bg);
}

/* O Mnie Section */
.o-mnie {
    background: var(--cream);
    padding: 120px 0;
}

.about-full-content {
    max-width: 880px;
    margin: 0 auto 2rem;
    width: 100%;
}

.about-full-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.timeline-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 880px;
    margin: 2rem auto;
    width: 100%;
}

.timeline-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Podsumowanie Section */
.podsumowanie {
    background: var(--cream);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.podsumowanie::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-secondary));
}

.accent-box {
    max-width: 880px;
    margin: 0 auto 2rem;
    padding: 2.5rem;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand-accent);
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.accent-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-accent);
}

.accent-box p {
    font-size: 1.5rem;
    font-style: italic;
    margin: 0;
    color: var(--brand-primary);
    font-weight: 500;
}

.summary-content {
    max-width: 880px;
    margin: 0 auto 2rem;
}

.summary-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .summary-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Contact Section */
.contact {
    background: var(--cream);
    padding: 120px 0;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    width: 100%;
}



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

.contact-form .form-row input {
    flex: 1;
    padding: 14px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    background: var(--bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-row input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
    width: 100%;
    height: 150px;
    padding: 14px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    resize: vertical;
    background: var(--bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.quick-link {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--brand-primary);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 880px;
    width: 100%;
}

.social-icon {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--brand-primary);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Footer */
footer {
    background: var(--darker-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-red);
    background: rgba(255,255,255,0.1);
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 2rem;
}
@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
        padding: 0 1rem;
    }
}
.navbar-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}
.navbar-menu {
    display: flex;
    gap: 2rem;
}
/* Ukryj linki navbara na mobilnych urządzeniach */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    
    /* Domyślnie ukryj navbar-menu na mobilnych */
    .navbar-menu {
        display: none;
    }
    
    /* Pokaż navbar-menu po aktywowaniu klasy active */
    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        background: var(--soft-white);
        border-top: 1px solid var(--light-border);
        padding: 2rem 0;
        z-index: 1000;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transition: all 0.4s ease;
    }
    
    /* Styl linków w menu mobilnym */
    .navbar-menu a {
        padding: 1rem;
        display: block;
        text-align: center;
        color: var(--forest);
    }
}
.navbar-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.navbar-menu a:hover {
    color: var(--accent-red);
}
/* Loading Bar - USUWAMY TEN ELEMENT */
#progress-bar {
    display: none;
}
/* Dark/Light Mode Toggle - USUWAMY TEN ELEMENT */
.theme-toggle {
    display: none;
}
/* Hero Section */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    background: var(--white);
    padding: 2rem 0;
}
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 60px);
        padding: 1rem 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    text-align: center;
}
@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}
.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.hero-text .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 2px solid var(--accent-red);
    text-align: center;
    width: 100%;
    max-width: 300px;
}
@media (min-width: 768px) {
    .hero-cta {
        width: auto;
        max-width: none;
    }
}
.hero-cta:hover {
    background: var(--white);
    color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 90vh;
    max-height: 900px;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* Scroll Down Indicator - USUWAMY TEN ELEMENT */
.scroll-down {
    display: none;
}
/* About Section (zamiast Trust) */
.about {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--light-gray);
}
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.about-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-item:hover {
    box-shadow: var(--shadow-medium);
}
.about-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.5rem;
}
.about-label {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
/* Services Section (zamiast Portfolio) */
.services {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.section-header p {
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: -0.01em;
    font-size: 1rem;
    font-weight: 400;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-item {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}
.service-item:hover {
    box-shadow: var(--shadow-medium);
}
.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.service-content {
    padding: 1.5rem;
}
.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    font-weight: 600;
}
.service-desc {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
/* Testimonials Section */
.testimonials {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--light-gray);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}
.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}
.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}
.testimonial-company {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-top: 0.2rem;
}
/* CTA Section */
.cta-section {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}
.cta-content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: -0.01em;
    font-weight: 400;
}
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 2px solid var(--accent-red);
    text-align: center;
    width: 100%;
    max-width: 300px;
}
@media (min-width: 768px) {
    .cta-button {
        width: auto;
        max-width: none;
    }
}
.cta-button:hover {
    background: var(--white);
    color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
/* Footer */
footer {
    background: var(--darker-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--accent-red);
    background: rgba(255,255,255,0.1);
}
/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* Process section styles */
.process {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--white);
}

.two-column-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.process-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.process-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.faq {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--light-gray);
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.faq-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Offer section */
.offer {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--light-gray);
}

/* Packages section */
.packages {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--white);
}

.packages-extended {
    padding: clamp(3rem, 8vh, 5rem) 0;
    background: var(--light-gray);
}

.service-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--price-color);
    margin: 0.8rem 0;
    font-weight: 600;
}

/* Styles for inline styles from HTML */
