/* ==========================================================================
   GŁÓWNY STYL STRONY RAYPATH (DOMINIKA KRZENCESA)
   Responsive mobile header, WOW Slider component & dynamic FX background
   ========================================================================== */

@import url('fonts.css');

:root {
    --primary: #059669;          /* Głębokie szmaragdowe zieleń Raypath */
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-soft: #ecfdf5;
    --accent: #0284c7;           /* Czysta woda / Turkusowe akcenty */
    --accent-light: #e0f2fe;
    --dark: #0f172a;             /* Ciemna elegancka łupkowa biel */
    --dark-muted: #334155;
    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --beige: #faf7f2;            /* Ciepły beżowy akcent estetyczny */
    --gray-light: #e2e8f0;
    --text-main: #0f172a;        /* Wyraźna głęboka czarna treść */
    --text-muted: #1e293b;       /* Wyraźna ciemna treść pomocnicza */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -5px rgba(5, 150, 105, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 30px -10px rgba(5, 150, 105, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

/* Przycisk bazowy */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: var(--accent-light);
    color: var(--accent);
    border-color: rgba(2, 132, 199, 0.2);
}

.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
}

/* NAGŁÓWEK I NAWIGACJA */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark-muted);
    position: relative;
    padding: 0.35rem 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.mobile-cta-item {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    background: var(--primary-soft);
    border: 1.5px solid var(--primary);
    color: var(--primary-dark);
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover, .mobile-menu-btn.open {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   ANIMOWANY EFEKT TŁA HERO FX (LEKKI WOW EFEKT EKO-WODY I KUL SWIETLNYCH)
   ========================================================================== */
.hero-section {
    padding-top: 125px;
    padding-bottom: 85px;
    position: relative;
    background-color: #f8fafc;
    overflow: hidden;
}

.hero-bg-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.hero-orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.05) 70%, transparent 100%);
    top: -120px;
    right: -80px;
    animation-duration: 15s;
}

.hero-orb-2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.32) 0%, rgba(56, 189, 248, 0.05) 70%, transparent 100%);
    bottom: -100px;
    left: -80px;
    animation-duration: 18s;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.28) 0%, transparent 70%);
    top: 35%;
    left: 45%;
    animation-duration: 11s;
    animation-delay: -2s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(35px, -30px) scale(1.1); }
    100% { transform: translate(-25px, 25px) scale(0.92); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(236, 253, 245, 0.9);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(5, 150, 105, 0.25);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

/* ELEGANCKA KARTA GRAFIKI HERO Z EFEKTEM FLOATING GLOW WOW */
.hero-media-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.25), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: #ffffff;
    transition: var(--transition);
    animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.hero-media-card:hover {
    box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.35);
}

/* WOW SLIDER */
.wow-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #0f172a;
    aspect-ratio: 16 / 9;
    margin-top: 2rem;
}

.wow-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.wow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.04);
}

.wow-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.wow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wow-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2.5rem 1.75rem 2.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 65%, transparent 100%);
    color: #ffffff;
}

.wow-slide-caption h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.wow-slide-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 600px;
}

.wow-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.wow-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

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

.wow-dots {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.wow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.wow-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary-light);
}

/* SEKCJE OGÓLNE */
.section {
    padding: 80px 0;
}

.section-bg-beige {
    background-color: var(--beige);
}

.section-bg-white {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem auto;
}

.section-subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* SEKCYJNE KARTY WIDEO */
.video-grid-landscape {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.video-card-landscape {
    background: var(--light-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.video-card-landscape:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.video-wrapper-landscape {
    position: relative;
    width: 100%;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.video-wrapper-landscape video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-grid-portrait {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.75rem;
}

.video-card-portrait {
    background: var(--light-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

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

.video-wrapper-portrait {
    position: relative;
    width: 100%;
    background: #090d16;
    aspect-ratio: 9 / 16;
}

.video-wrapper-portrait video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SEKCJA PREZENTACJA NA ŻYWO */
.presentation-box {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.presentation-info h3 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.presentation-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.presentation-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-weight: 500;
}

.presentation-list li span {
    color: #34d399;
    font-weight: 700;
}

.form-card {
    background: #ffffff;
    color: var(--text-main);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 0.95rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* OPINIE I BLOG */
.feature-card, .review-card, .blog-card {
    background: var(--light-card);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.feature-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-thumb {
    height: 210px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.06);
}

.blog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* GALERIA LIGHTBOX */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 2px solid #ffffff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

/* FOOTER DYNAMICZNY Z BAZY */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 65px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1024px) {
    .desktop-cta-btn {
        display: none;
    }

    .mobile-cta-item {
        display: block;
        margin-top: 0.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
        border-bottom: 2px solid var(--primary);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 80% !important; /* Synchroniczne zmniejszenie wszystkich czcionek na mobile */
    }

    .page-container {
        padding-top: 5.25rem !important;
    }

    .hero-title {
        font-size: 1.65rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: 1.35rem !important;
    }

    .section-desc {
        font-size: 0.85rem !important;
    }

    .hero-grid, .presentation-grid, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .presentation-box {
        padding: 1.25rem 0.85rem !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .presentation-grid {
        gap: 1.25rem !important;
        width: 100% !important;
    }

    .presentation-info {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    .presentation-info h3 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }

    .presentation-info p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .presentation-list li {
        font-size: 0.78rem !important;
        gap: 0.4rem !important;
        align-items: flex-start !important;
    }

    .presentation-list li span {
        flex-shrink: 0;
        margin-top: 0.15rem;
    }

    .form-card {
        padding: 1rem 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    .form-label {
        font-size: 0.78rem !important;
    }

    .form-control {
        font-size: 0.82rem !important;
        padding: 0.55rem 0.7rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.1rem !important;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-sub {
        font-size: 0.6rem;
    }

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

    .wow-slider {
        height: 390px !important;
        min-height: 390px !important;
        max-height: 390px !important;
        aspect-ratio: unset !important;
        margin-top: 1rem;
        position: relative;
        overflow: hidden;
    }

    .wow-slides {
        height: 100% !important;
        width: 100% !important;
        position: relative;
    }

    .wow-slide {
        height: 100% !important;
        width: 100% !important;
        position: absolute !important;
        top: 0;
        left: 0;
    }

    .wow-slide-caption {
        padding: 1.25rem 1rem 2.75rem 1rem !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.78) 70%, rgba(15, 23, 42, 0.25) 100%) !important;
    }

    .wow-slide-caption h3 {
        font-size: 1.05rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.35rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .wow-slide-caption p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        opacity: 0.9 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 0.4rem !important;
    }

    .wow-nav-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
        background: rgba(15, 23, 42, 0.65) !important;
        backdrop-filter: blur(4px);
    }

    .wow-dots {
        bottom: 0.6rem !important;
    }
}

@media (max-width: 480px) {
    .wow-slider {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
    }
    .presentation-box {
        padding: 1.15rem 0.65rem !important;
    }
    .form-card {
        padding: 1rem 0.65rem !important;
    }
}

/* ==========================================================================
   STYLIZACJA ARTYKUŁÓW BLOGOWYCH (.article-content)
   ========================================================================== */
.article-content {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #0f172a;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h1 { font-size: 1.85rem; color: #0f172a; }
.article-content h2 { font-size: 1.5rem; border-bottom: 2px solid var(--primary-soft); padding-bottom: 0.4rem; color: #0f172a; }
.article-content h3 { font-size: 1.25rem; color: #047857; }
.article-content h4 { font-size: 1.1rem; color: #0f172a; }

.article-content p {
    color: #0f172a;
    margin-bottom: 1.15rem;
}

/* Wypunktowania - kropki i numery idealnie wyrównane na równi z tekstem */
.article-content ul,
.article-content ol {
    margin: 1.25rem 0 1.5rem 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.35rem;
}

.article-content ul li::marker {
    color: var(--primary);
    font-size: 1.2em;
}

.article-content ol li::marker {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ==========================================================================
   STYLIZACJA I RESPONSYWNOŚĆ TABEL W ARTYKUŁACH (.article-content table)
   ========================================================================== */
.article-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Nagłówki tabeli (th / tr:first-child) */
.article-content table th,
.article-content table thead td,
.article-content table tr:first-child th,
.article-content table tr:first-child td {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #ffffff !important;
    font-weight: 700;
    text-align: left;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
}

/* Komórki danych (td) */
.article-content table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: middle;
    word-break: break-word;
}

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

/* Naprzemienne kolory wierszy (Paski Zebra) */
.article-content table tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Podświetlenie wiersza przy najechaniu myszką */
.article-content table tr:hover td {
    background-color: #f0fdf4;
}

/* Pierwsza kolumna wyrazista */
.article-content table td:first-child {
    font-weight: 600;
    color: #0f172a;
}

/* RESPONSYWNOŚĆ MOBILNA DLA TABEL W ARTYKUŁACH */
@media (max-width: 768px) {
    .article-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin: 1.5rem 0;
        font-size: 0.88rem;
    }

    .article-content table th,
    .article-content table td {
        padding: 0.65rem 0.85rem !important;
        white-space: normal;
        min-width: 110px;
    }
}

