/* ==========================================================================
   1. RESET, BAZA I ZMIENNE
   ========================================================================== */
:root {
    --clr-bg-white: #ffffff;
    --clr-text-black: #111111;
    --clr-border: #f0f0f0;
    --clr-accent-green: #3a5a24;
    --clr-accent-brown: #8b5a2b;
    --font-primary: 'Montserrat', sans-serif;
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg-white);
    color: var(--clr-text-black);
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
}

/* Usuwa domyślne style linków dla całej strony jako zabezpieczenie */
a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   2. GŁÓWNA NAWIGACJA (ZAWSZE BIAŁA/JASNA)
   ========================================================================== */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--clr-border);
    padding: 20px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Klasa dodawana przez JS podczas zjazdu w dół */
.premium-nav.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO --- */
.brand-logo img {
    height: 38px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.02);
}

/* --- MENU LINKI --- */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--clr-text-black) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    /* Wymuszony brak podkreślenia */
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--clr-accent-brown) !important;
}

/* --- AKCJE I KONTAKT --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-phone {
    color: var(--clr-text-black) !important;
    /* Wymuszona czerń zamiast niebieskiego z przeglądarki */
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    position: relative;
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.nav-phone::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-accent-brown);
    transition: var(--transition-fast);
}

.nav-phone:hover {
    color: var(--clr-accent-brown) !important;
}

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

.nav-cta {
    background-color: var(--clr-text-black) !important;
    color: var(--clr-bg-white) !important;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    border-radius: 2px;
    border: 1px solid var(--clr-text-black) !important;
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--clr-accent-green) !important;
    border-color: var(--clr-accent-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(58, 90, 36, 0.15);
}

/* ==========================================================================
   3. PASEK POSTĘPU SCROLLOWANIA
   ========================================================================== */
.scroll-progress-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    /* JS będzie nim sterował */
    background-color: var(--clr-accent-brown);
}

/* RESPONSYWNOŚĆ NAWIGACJI */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 20px;
    }

    .brand-logo img {
        height: 32px;
    }

    .nav-phone {
        display: none;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   4. SEKCJA HERO
   ========================================================================== */
.premium-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-bg-white);
    padding: 80px 20px;
}

.hero-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--clr-border);
    padding: 8px 20px;
    border-radius: 2px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.text-accent-brown {
    color: var(--clr-accent-brown);
}

.text-accent-green {
    color: var(--clr-accent-green);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555555;
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.btn-primary-solid,
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.btn-primary-solid {
    background-color: var(--clr-text-black);
    color: var(--clr-bg-white) !important;
    border: 1px solid var(--clr-text-black);
}

.btn-primary-solid:hover {
    background-color: var(--clr-accent-green);
    border-color: var(--clr-accent-green);
    transform: translateY(-2px);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--clr-text-black) !important;
    border: 1px solid #dcdcdc;
}

.btn-secondary-outline:hover {
    border-color: var(--clr-text-black);
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    border-top: 1px solid var(--clr-border);
    padding-top: 50px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-desc {
    font-size: 0.85rem;
    color: #777777;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background-color: var(--clr-border);
}

/* ==========================================================================
   5. SEKCJA KORZYŚCI
   ========================================================================== */
.premium-benefits {
    background-color: #fafafa;
    padding: 140px 20px;
    border-top: 1px solid var(--clr-border);
}

.benefits-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-header {
    margin-bottom: 80px;
    max-width: 700px;
}

.section-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.benefit-card {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--clr-border);
    transition: var(--transition-fast);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-accent-green);
    transition: width 0.4s ease;
}

.benefit-card:hover::before {
    width: 100%;
}

.benefit-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: #eaeaea;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.benefit-card:hover .benefit-number {
    color: var(--clr-accent-brown);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefit-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666666;
}

/* ==========================================================================
   6. WIZUALIZACJA (SHOWCASE)
   ========================================================================== */
.premium-showcase {
    padding: 140px 20px 200px;
    background-color: var(--clr-bg-white);
}

.showcase-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 60px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 769px) {
    .showcase-item:nth-child(even) {
        transform: translateY(120px);
    }
}

.img-container {
    width: 100%;
    background-color: #f7f7f7;
    border-radius: 2px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    display: block;
    transition: transform 1.2s ease;
    aspect-ratio: 4/5;
    padding: 30px;
    object-fit: contain;
}

.showcase-item:hover .img-container img {
    transform: scale(1.05);
}

.showcase-caption {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showcase-caption h4 {
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 8px;
    position: relative;
}

.showcase-caption h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--clr-accent-green);
    transition: width 0.4s ease;
}

.showcase-item:hover .showcase-caption h4::after {
    width: 60px;
}

.showcase-caption span {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

/* ==========================================================================
   7. PROCES WDROŻENIA
   ========================================================================== */
.premium-process {
    background-color: #fafafa;
    padding: 140px 20px;
    border-top: 1px solid var(--clr-border);
}

.process-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 100px;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    background-color: #fafafa;
    padding: 0 20px;
}

.step-number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #cccccc;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.process-step:hover .step-number {
    color: var(--clr-accent-brown);
    -webkit-text-stroke: 0px transparent;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666666;
}

.process-footer {
    text-align: center;
    margin-top: 60px;
}

/* ==========================================================================
   8. FUNDAMENT JAKOŚCI (DARK MODE BREAK)
   ========================================================================== */
.premium-quality {
    background-color: var(--clr-text-black);
    color: var(--clr-bg-white);
    padding: 140px 20px;
}

.quality-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-white {
    color: var(--clr-bg-white) !important;
}

.quality-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    margin-bottom: 40px;
}

.quality-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #a0a0a0;
}

.q-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.q-item {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    transition: var(--transition-fast);
}

.q-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.q-item:hover {
    transform: translateX(10px);
}

.q-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-accent-brown);
}

.q-content strong {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-bg-white);
}

.q-content span {
    font-size: 0.95rem;
    color: #888888;
    line-height: 1.6;
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.premium-faq {
    background-color: var(--clr-bg-white);
    padding: 140px 20px;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-accordion {
    border-top: 1px solid var(--clr-border);
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-question {
    list-style: none;
    padding: 30px 0;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #a0a0a0;
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--clr-accent-brown);
}

details[open] .faq-question {
    color: var(--clr-accent-brown);
    padding-bottom: 10px;
}

.faq-question:hover {
    color: var(--clr-accent-brown);
}

.faq-answer {
    padding-bottom: 30px;
    padding-right: 40px;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}

/* ==========================================================================
   10. KONTAKT & FORMULARZ
   ========================================================================== */
.premium-contact {
    background-color: #fafafa;
    padding: 140px 20px;
    border-top: 1px solid var(--clr-border);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 40px;
    max-width: 500px;
}

.contact-direct {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--clr-border);
}

.direct-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0a0a0;
    margin-bottom: 12px;
}

.direct-phone {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--clr-text-black) !important;
    text-decoration: none !important;
    letter-spacing: -1.5px;
    transition: var(--transition-fast);
}

.direct-phone:hover {
    color: var(--clr-accent-brown) !important;
}

.contact-form-container {
    background-color: var(--clr-bg-white);
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group label {
    display: none;
}

.premium-form input {
    width: 100%;
    padding: 10px 0;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--clr-text-black);
    background: transparent;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    transition: var(--transition-fast);
}

.premium-form input:focus {
    outline: none;
    border-bottom-color: var(--clr-accent-green);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
    padding: 20px;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #999999;
    text-align: center;
    margin-top: 15px;
}

/* ==========================================================================
   11. STOPKA
   ========================================================================== */
.premium-footer {
    background-color: var(--clr-text-black);
    padding: 80px 20px 40px;
    text-align: center;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo img {
    height: 45px;
    opacity: 0.9;
}

.copyright {
    color: #666666;
    font-size: 0.85rem;
}

/* ==========================================================================
   12. ANIMACJE KLASOWE (ODPALANE PRZEZ JS)
   ========================================================================== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
}

.animate-up.is-visible {
    animation: slideFadeUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes slideFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   13. MEDIA QUERIES (OGÓLNE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .showcase-grid {
        column-gap: 40px;
    }

    .process-timeline {
        gap: 40px;
    }

    .quality-grid {
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .benefits-grid,
    .showcase-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .showcase-item:nth-child(even) {
        transform: translateY(0);
    }

    .process-timeline {
        grid-template-columns: 1fr;
        padding-left: 20px;
        border-left: 1px solid #e0e0e0;
    }

    .timeline-line {
        display: none;
    }

    .process-step {
        padding-left: 30px;
    }

    .step-number {
        font-size: 4rem;
        position: relative;
    }

    .step-number::before {
        content: '';
        position: absolute;
        left: -55px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background-color: var(--clr-accent-brown);
        border-radius: 50%;
    }

    .contact-form-container {
        padding: 40px 20px;
        box-shadow: none;
        border: 1px solid var(--clr-border);
    }

    .direct-phone {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   11. ROZBUDOWANA STOPKA (FOOTER B2B)
   ========================================================================== */
.premium-footer {
    background-color: var(--clr-text-black);
    color: var(--clr-bg-white);
    padding: 80px 20px 30px;
    border-top: 1px solid #222222;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.95;
}

.footer-desc {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--clr-bg-white);
    letter-spacing: 0.5px;
}

.footer-link {
    display: block;
    color: #a0a0a0 !important;
    text-decoration: none !important;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--clr-accent-brown) !important;
    transform: translateX(5px);
}

.footer-info {
    color: #a0a0a0;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-legal {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-small {
    color: #666666 !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.footer-link-small:hover {
    color: var(--clr-bg-white) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    color: #666666;
    font-size: 0.85rem;
}

/* ==========================================================================
   12. FAB (FLOATING ACTION BUTTON) - SZYBKI KONTAKT
   ========================================================================== */
.fab-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--clr-accent-green);
    color: var(--clr-bg-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(58, 90, 36, 0.4);
    z-index: 999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Ukryty na samej górze strony (pojawi się dzięki JS) */
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateY(20px);
}

/* Klasa dodawana przez JS po przewinięciu strony */
.fab-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.fab-button svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.fab-button:hover {
    background-color: var(--clr-text-black);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.fab-button:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Efekt pulsowania (Ripple) za przyciskiem */
.fab-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--clr-accent-green);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ==========================================================================
   13. MEDIA QUERIES DLA STOPKI I FAB
   ========================================================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-link:hover {
        transform: none;
        /* Wyłączamy przesuwanie na dotyku */
    }

    /* Na telefonie FAB przesuwamy nieco wyżej, żeby nie zasłaniał go pasek przeglądarki */
    .fab-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ==========================================================================
   22. PODSTRONY PRAWNE (POLITYKA & REGULAMIN)
   ========================================================================== */
.legal-page {
    padding: 180px 20px 100px;
    background-color: var(--clr-bg-white);
    min-height: 80vh;
}

.legal-wrapper {
    max-width: 800px;
    /* Celowo wąska kolumna dla optymalnej czytelności (ok. 75 znaków w linii) */
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--clr-border);
    padding-bottom: 30px;
}

.legal-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--clr-text-black);
    margin-bottom: 15px;
}

.legal-header p {
    font-size: 1.2rem;
    color: #666666;
    font-weight: 500;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-black);
    margin: 50px 0 20px;
    letter-spacing: -0.5px;
}

.legal-content p,
.legal-content ul {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: var(--clr-text-black);
    font-weight: 600;
}

/* Responsywność dla stron prawnych */
@media (max-width: 768px) {
    .legal-page {
        padding: 130px 20px 80px;
    }

    .legal-header h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   23. COOKIE POPUP (ZGODA NA CIASTECZKA)
   ========================================================================== */
.premium-cookie-popup {
    position: fixed;
    bottom: -200px;
    /* Początkowo ukryty poza ekranem */
    left: 30px;
    max-width: 380px;
    background-color: var(--clr-text-black);
    color: var(--clr-bg-white);
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    /* Luksusowa, głęboka ocieniona ramka */
    z-index: 10000;
    /* Zawsze na samej górze */
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    pointer-events: none;
    opacity: 0;
}

/* Klasa aktywacyjna (dodawana przez JS po 2 sekundach) */
.premium-cookie-popup.show {
    bottom: 30px;
    pointer-events: auto;
    opacity: 1;
}

.cookie-content p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--clr-bg-white);
    letter-spacing: -0.5px;
}

.cookie-content span {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #a0a0a0;
    display: block;
}

.cookie-content a {
    color: var(--clr-accent-brown);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.cookie-content a:hover {
    color: var(--clr-bg-white);
}

.btn-cookie {
    background-color: var(--clr-bg-white);
    color: var(--clr-text-black);
    border: none;
    padding: 14px 20px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
}

.btn-cookie:hover {
    background-color: var(--clr-accent-green);
    color: var(--clr-bg-white);
    transform: translateY(-2px);
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .premium-cookie-popup {
        left: 20px;
        right: 20px;
        max-width: 100%;
        /* Na telefonie zajmuje całą szerokość ekranu (minus margines) */
    }

    .premium-cookie-popup.show {
        bottom: 20px;
    }
}