/* ==========================================================================
   Variables & Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-base: #faf9f8;         /* Ciepła, przełamana biel */
    --bg-card: #ffffff;
    --text-main: #1A1A1A;       /* Antracyt - główny kolor tekstów i silnych akcentów */
    --text-muted: #5c5c5c;
    --accent-copper: #D4883A;   /* Miedź - główny kolor kontrastowy */
    --accent-copper-dark: #C17F24;
    --accent-anthracite: #1A1A1A;
    --steel-gray: #e6e4e0;      /* Cieplejsza, organiczna szarość */
    --border-color: rgba(26, 26, 26, 0.08);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --easing-organic: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* ==========================================================================
   General Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 248, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.35rem 0 1.2rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 4px;
}

.logo-projs {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-anthracite);
    letter-spacing: 0.15em;
    line-height: 1;
}

.logo-line {
    width: 100%;
    height: 1.5px;
    background: var(--accent-copper);
    margin: 4px 0 5px;
}

.logo-elektro {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--accent-anthracite);
    letter-spacing: 0.35em;
    padding-right: 0px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s var(--easing-organic);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-copper);
    transition: width 0.3s var(--easing-organic);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-copper);
}

.nav-cta {
    background: var(--accent-anthracite);
    color: #fff !important;
    padding: 0.75rem 1.6rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: transform 0.2s var(--easing-organic), background-color 0.3s;
}

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

.nav-cta:hover {
    background: var(--accent-copper);
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 8.5rem 0 6rem 0;
    position: relative;
}

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

.hero-badge {
    display: inline-block;
    background: var(--steel-gray);
    color: var(--accent-anthracite);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 0.4rem 0.9rem 0.35rem 0.9rem;
    margin-bottom: 1.8rem;
    border-left: 3px solid var(--accent-copper);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.4rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.8rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-copper);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 2.8rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--accent-copper);
    color: #fff;
    padding: 1.1rem 2.2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0;
    box-shadow: 3px 6px 18px rgba(212, 136, 58, 0.15);
    transition: all 0.3s var(--easing-organic);
}

.btn-primary:hover {
    background: var(--accent-anthracite);
    transform: translate(-2px, -2px);
    box-shadow: 5px 10px 25px rgba(26, 26, 26, 0.15);
}

.btn-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: var(--accent-copper);
}

.hero-technical-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    box-shadow: 8px 12px 30px rgba(26, 26, 26, 0.04);
    position: relative;
    transform: rotate(0.5deg);
}

.tech-spec-item {
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px dashed var(--steel-gray);
}

.tech-spec-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tech-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.2rem;
}

.tech-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* ==========================================================================
   About / USP Section
   ========================================================================== */
.section-intro {
    padding: 7rem 0 5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.usp-left h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.usp-left h2 span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-copper);
    margin-bottom: 0.7rem;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.problem-callout {
    background: var(--bg-base);
    padding: 2.2rem;
    border-left: 4px solid var(--accent-copper);
    margin-top: 3rem;
    margin-right: -1rem;
}

.problem-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ef4444; /* Bezpośredni sygnał ostrzegawczy */
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Services Section (Bento Box)
   ========================================================================== */
.services-section {
    padding: 8rem 0;
}

.services-header {
    margin-bottom: 4rem;
    text-align: left;
}

.services-header h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: -0.02em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
}

.bento-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: all 0.4s var(--easing-organic);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-box:hover {
    border-color: var(--accent-copper);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.05);
}

.bento-box.col-4 { grid-column: span 4; }
.bento-box.col-2 { grid-column: span 2; }
.bento-box.col-3 { grid-column: span 3; }

.bento-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-base);
    color: var(--accent-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.bento-box h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: var(--text-main);
}

.bento-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-list {
    margin-top: 1.5rem;
    list-style: none;
}

.bento-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.bento-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-copper);
}

/* ==========================================================================
   Pricing Notice
   ========================================================================== */
.pricing-notice {
    background: var(--accent-anthracite);
    color: #fff;
    padding: 4rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.pricing-content {
    max-width: 650px;
}

.pricing-content h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.pricing-content p {
    color: #a0aec0;
    font-size: 1rem;
}

.pricing-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2.5rem;
    border-left: 3px solid var(--accent-copper);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================================================
   Gallery Section & 4-Stage Viewer
   ========================================================================== */
.gallery-section {
    padding: 6rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.stage-viewer {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 3rem;
    margin-bottom: 2rem;
}

.stage-image-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
    align-self: center;
}

.stage-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #999;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    transition: opacity 0.4s var(--easing-organic);
}

.stage-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-step {
    padding: 1.2rem 1.5rem;
    border-left: 3px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s var(--easing-organic);
    margin-bottom: 1rem;
}

.stage-step:hover {
    background: rgba(26, 26, 26, 0.02);
}

.stage-step.active {
    border-left-color: var(--accent-copper);
    background: #ffffff;
    box-shadow: 4px 8px 24px rgba(26, 26, 26, 0.03);
}

.stage-num {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-copper);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.stage-step .stage-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s var(--easing-organic);
}

.stage-step.active .stage-desc {
    height: auto;
    opacity: 1;
    margin-top: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    background: var(--bg-base);
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.3s var(--easing-organic);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(26,26,26,0) 40%, rgba(26,26,26,0.9) 100%);
    z-index: 1;
}

.gallery-item:hover {
    transform: scale(1.01);
    border-color: var(--accent-copper);
}

/* Kolorystyka schematów dostosowana do nowego brandingu */
.gallery-item.blueprint-1 { background-color: #262626; color: #fff; }
.gallery-item.blueprint-2 { background-color: #1a1a1a; color: #fff; }
.gallery-item.blueprint-3 { background-color: #333333; color: #fff; border-bottom: 3px solid var(--accent-copper); }

.gallery-meta {
    position: relative;
    z-index: 2;
}

.gallery-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-copper);
    font-weight: bold;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 8rem 0;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--steel-gray);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-copper);
}

.review-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info-block h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-channels {
    margin-top: 3rem;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
}

.channel-icon {
    color: var(--accent-copper);
    margin-top: 0.2rem;
}

.channel-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.channel-value a {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.channel-value a:hover {
    color: var(--accent-copper);
}

.contact-form {
    background: var(--bg-base);
    padding: 3.5rem;
    border: 1px solid var(--border-color);
}

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

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

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-copper);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-submit-btn {
    background: var(--accent-anthracite);
    color: #ffffff;
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.form-submit-btn:hover {
    background: var(--accent-copper);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--bg-base);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Process Section (Stepped)
   ========================================================================== */
.process-section {
    padding: 8rem 0 17.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: transform 0.4s var(--easing-organic), border-color 0.4s;
    box-shadow: 4px 8px 24px rgba(26, 26, 26, 0.02);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-copper);
}

/* Efekt schodków */
.step-card:nth-child(2) { margin-top: 3.5rem; }
.step-card:nth-child(3) { margin-top: 7rem; }
.step-card:nth-child(4) { margin-top: 10.5rem; }
.step-card:nth-child(5) { margin-top: 14rem; }

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-copper);
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-layout, .usp-grid, .reviews-layout, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-box.col-4, .bento-box.col-2, .bento-box.col-3 {
        grid-column: span 2;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem;
    }
    .stage-viewer {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }
    .stage-image-container {
        aspect-ratio: 16/9;
    }
    .process-section {
        padding: 6rem 0 8rem 0;
    }
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
    .step-card:nth-child(2),
    .step-card:nth-child(3),
    .step-card:nth-child(4),
    .step-card:nth-child(5) {
        margin-top: 0;
    }
    /* Schodkowanie 2-kolumnowe */
    .step-card:nth-child(even) {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s var(--easing-organic);
        border-top: 1px solid var(--border-color);
    }
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    /* Zmiana widoku galerii na mobile */
    .stage-viewer {
        display: flex;
        flex-direction: column;
    }
    .stage-controls {
        display: contents; /* Allows children to flow into flex container */
    }
    .stage-controls > h3 { 
        order: 1; 
        font-size: 1.3rem !important; 
    }
    .stage-controls > p { 
        order: 2; 
        margin-bottom: 1rem !important; 
    }
    .stage-image-container {
        order: 3;
        aspect-ratio: 4/3 !important;
        border-radius: 8px 8px 0 0 !important;
    }
    #stageImage img {
        border-radius: 8px 8px 0 0 !important;
    }
    .stage-arrow {
        width: 36px;
        height: 36px;
    }
    .stage-prev { left: 0.5rem; }
    .stage-next { right: 0.5rem; }
    
    .stage-step {
        display: none; /* Ukryj pełną listę kroków */
    }
    .stage-step.active {
        display: block;
        order: 4;
        background: #fff;
        padding: 1.5rem;
        border: 1px solid var(--border-color) !important;
        border-top: none !important;
        border-radius: 0 0 8px 8px;
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    
    /* RODO Banner Mobile 3 Buttons */
    .cookie-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .cookie-text-area {
        padding-right: 0;
    }
    .cookie-text-area h4 {
        font-size: 1rem;
    }
    .cookie-text-area p {
        font-size: 0.75rem;
    }
    .cookie-buttons {
        display: flex;
        flex-direction: row !important;
        width: 100%;
        gap: 0.4rem;
        flex-wrap: nowrap !important;
        justify-content: space-between;
    }
    .cookie-btn {
        flex: 1;
        padding: 0.6rem 0.2rem;
        font-size: 0.65rem;
        text-align: center;
        white-space: normal; /* Pozwala na ułamanie tekstu jeśli jest wąsko */
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    .nav-cta {
        display: none;
    }
    .nav-links {
        display: flex;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .bento-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .bento-box.col-4, .bento-box.col-2, .bento-box.col-3 {
        grid-column: span 1;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step-card:nth-child(even) {
        margin-top: 0;
    }
    .process-section {
        padding: 4rem 0 4rem 0;
    }
    .contact-form {
        padding: 2rem;
    }
}

/* ==========================================================================
   RODO Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 24px rgba(26, 26, 26, 0.1);
    z-index: 9999;
    transition: bottom 0.5s var(--easing-organic);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text-area h4 {
    font-family: var(--font-display);
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.cookie-text-area p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-text-area a {
    color: var(--accent-copper);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.7rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.cookie-btn.btn-primary {
    background: var(--text-main);
    color: #fff;
    border: 1px solid var(--text-main);
}

.cookie-btn.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.cookie-btn.btn-primary:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
}

.cookie-btn.btn-secondary:hover {
    background: #f5f5f5;
}

/* Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.cookie-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cookie-modal-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.cookie-modal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-option:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-option p {
    margin-bottom: 0;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--text-main);
}

.cookie-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cookie-text-area {
        flex: 1;
        padding-right: 2rem;
    }
}

/* ==========================================================================
   Scope Grid (Kafelki zakresu prac)
   ========================================================================== */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.scope-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s var(--easing-organic), box-shadow 0.3s;
}

.scope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(26, 26, 26, 0.15);
}

.scope-icon {
    width: 48px;
    height: 48px;
    background: #fdfaf6;
    border: 1px solid rgba(212, 136, 58, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-copper);
    margin-bottom: 1.5rem;
}

.scope-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.scope-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Gallery Stage Arrows
   ========================================================================== */
.stage-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: var(--text-main);
    z-index: 10;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.stage-arrow:hover {
    background: var(--accent-copper);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.stage-prev { left: 1rem; }
.stage-next { right: 1rem; }
