:root {
            --primary: #0170B9;
            --primary-dark: #014f85;
            --secondary: #00d4ff;
            --dark: #1a1a2e;
            --light: #f4f7f6;
            --white: #ffffff;
            --text: #4a4a4a;
            --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
            --shadow-glow: 0 10px 30px rgba(1, 112, 185, 0.4);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text);
            background-color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark);
            font-weight: 800;
        }
        a { text-decoration: none; color: inherit; }

        /* ================= AMBIENT BACKGROUND BLOBS ================= */
        .bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--light); }
        .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: float-blob 15s infinite alternate ease-in-out; }
        .blob-1 { top: 10%; left: -10%; width: 500px; height: 500px; background: var(--secondary); }
        .blob-2 { top: 40%; right: -10%; width: 600px; height: 600px; background: var(--primary); animation-delay: -5s; opacity: 0.2; }
        .blob-3 { bottom: -10%; left: 20%; width: 700px; height: 700px; background: rgba(0, 212, 255, 0.3); animation-delay: -10s; }

        @keyframes float-blob {
            to { transform: translate(100px, 150px) scale(1.2); }
        }

        /* ================= REVEAL ANIMATIONS ================= */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.active { opacity: 1; transform: translateY(0); }

        @keyframes float-badge {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(5deg); }
        }

        @keyframes text-shine {
            to { background-position: 200% center; }
        }

        /* ================= NAVIGATION ================= */
        nav {
            position: fixed; top: 0; width: 100%; padding: 20px 5%;
            display: flex; justify-content: space-between; align-items: center;
            z-index: 1000; transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        nav.scrolled {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: var(--shadow-sm);
            padding: 15px 5%;
        }
        .logo { font-size: 1.5rem; font-weight: 800; color: var(--white); font-family: 'Montserrat'; transition: color 0.3s; }
        nav.scrolled .logo, nav.scrolled .nav-links a { color: var(--dark); }
        .nav-links a {
            color: var(--white); margin-left: 35px; font-weight: 600;
            position: relative; transition: color 0.3s; font-size: 0.95rem;
        }
        .nav-links a::after {
            content: ''; position: absolute; width: 0; height: 2px;
            bottom: -5px; left: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 0.3s;
        }
        .nav-links a:hover::after { width: 100%; }

        /* ================= HERO SECTION ================= */
        .hero {
            min-height: 100vh; min-height: 100dvh;
            background: linear-gradient(rgba(15, 15, 26, 0.8), rgba(15, 15, 26, 0.7)), url('https://montaz-rynien.pl/wp-content/uploads/2022/11/hero-section-min.jpg') center/cover;
            display: flex; align-items: center; padding: 0 5%; position: relative;
        }
        @supports (background-attachment: fixed) {
            .hero { background-attachment: fixed; }
        }
        .hero-content { max-width: 900px; color: var(--white); z-index: 2; margin-top: -50px; }
        .hero h1 {
            color: var(--white);
            font-size: clamp(2.4rem, 5vw, 4.8rem);
            line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px;
        }
        .text-gradient {
            background: linear-gradient(to right, var(--secondary), #ffffff, var(--primary), var(--secondary));
            background-size: 200% auto;
            color: #000;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: text-shine 4s linear infinite;
        }
        .hero p { font-size: clamp(1rem, 1.5vw, 1.25rem); margin-bottom: 40px; font-weight: 300; opacity: 0.9; max-width: 700px; }

        .hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
        .btn {
            padding: 16px 38px; border-radius: 50px; font-weight: 600; font-size: 1.1rem;
            display: inline-flex; align-items: center; gap: 10px;
            transition: background 0.4s, box-shadow 0.4s, color 0.4s, border-color 0.4s;
            position: relative; overflow: hidden; cursor: pointer;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white); box-shadow: var(--shadow-glow); border: none;
        }
        .btn-primary::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
            transform: skewX(-25deg); transition: left 0.6s ease-in-out;
        }
        .btn-primary:hover { box-shadow: 0 20px 40px rgba(0, 212, 255, 0.6); }
        .btn-primary:hover::before { left: 150%; }

        .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
        .btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

        .scroll-down {
            position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; align-items: center; gap: 10px;
            color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
        }
        .mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.7); border-radius: 20px; position: relative; }
        .wheel {
            width: 4px; height: 8px; background: var(--secondary); border-radius: 2px;
            position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
            animation: scroll-wheel 1.5s infinite;
        }
        @keyframes scroll-wheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

        /* ================= STATS BAR ================= */
        .stats-bar {
            background: var(--white);
            max-width: 1200px; margin: -60px auto 0; position: relative; z-index: 10;
            border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            display: grid; grid-template-columns: repeat(3, 1fr); padding: 45px 20px; text-align: center;
        }
        .stat-item { border-right: 1px solid rgba(0,0,0,0.05); }
        .stat-item:last-child { border-right: none; }
        .stat-item h3 {
            font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1; margin-bottom: 5px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .stat-item p { font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

        /* Counter animation */
        .stat-item h3 { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
        .stat-item:hover h3 { transform: scale(1.1); }

        /* ================= ABOUT SECTION ================= */
        .about { padding: 120px 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
        .about-images { position: relative; height: 600px; }
        .about-img-1 { width: 85%; height: 85%; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); transition: transform 0.5s ease; }
        .about-img-2 {
            position: absolute; bottom: 0; right: 0; width: 50%; height: 50%; object-fit: cover;
            border-radius: 24px; border: 12px solid var(--white); box-shadow: var(--shadow-lg); transition: transform 0.6s ease, box-shadow 0.6s ease;
        }
        .about-images:hover .about-img-1 { transform: scale(0.98); }
        .about-images:hover .about-img-2 { transform: scale(1.08) translate(-15px, -15px); box-shadow: 0 30px 60px rgba(0,0,0,0.2); }

        .floating-badge {
            position: absolute; top: 10%; right: 5%; background: var(--white);
            width: 140px; height: 140px; border-radius: 50%;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            box-shadow: 0 15px 35px rgba(1, 112, 185, 0.2);
            animation: float-badge 6s ease-in-out infinite; z-index: 3;
        }
        .floating-badge i { font-size: 2rem; color: var(--primary); margin-bottom: 5px; }
        .floating-badge span { font-size: 0.8rem; font-weight: 800; text-align: center; line-height: 1.2; color: var(--dark); }

        .section-tag { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 20px; font-size: 0.9rem; }
        .about-text h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); margin-bottom: 30px; line-height: 1.15; letter-spacing: -1px; }
        .about-text p { font-size: 1.1rem; color: #555; margin-bottom: 20px; }
        .about-text a {
            display: inline-flex; align-items: center; gap: 10px; margin-top: 15px;
            color: var(--primary); font-weight: 700; font-size: 1.1rem; transition: gap 0.3s, color 0.3s;
        }
        .about-text a:hover { gap: 15px; color: var(--secondary); }

        /* ================= SERVICES ================= */
        .services { padding: 120px 5%; background: transparent; position: relative; z-index: 2; }
        .section-header { text-align: center; max-width: 800px; margin: 0 auto 70px; }
        .section-header h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -1px; }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; }

        .service-card {
            background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            border-radius: 24px; overflow: hidden;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
            position: relative; border: 1px solid rgba(255,255,255,0.9);
            box-shadow: var(--shadow-sm);
        }
        .service-img { height: 280px; overflow: hidden; position: relative; }
        .service-img::after {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
            transition: opacity 0.4s; opacity: 0.8;
        }
        .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .service-card:hover .service-img img { transform: scale(1.08); }
        .service-card:hover .service-img::after { opacity: 0.3; }

        .service-content { padding: 40px; }
        .service-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--dark); }
        .service-card p { color: #666; font-size: 1.05rem; }
        .service-card:hover { box-shadow: 0 30px 60px rgba(1, 112, 185, 0.2); background: rgba(255, 255, 255, 0.95); transform: translateY(-8px); }

        /* ================= BENTO GRID (Why Us) ================= */
        .features { padding: 120px 5%; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
        .bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
        .bento-box {
            background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            padding: 50px 40px; border-radius: 30px;
            box-shadow: var(--shadow-sm); text-align: center;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
            border: 1px solid rgba(255,255,255,0.9); position: relative; overflow: hidden;
        }
        .bento-box::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
        }
        .bento-box::after {
            content: ''; position: absolute; inset: 0;
            background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.08), transparent 40%);
            opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1;
        }
        .bento-box:hover { box-shadow: var(--shadow-lg); background: rgba(255,255,255,1); transform: translateY(-6px); }
        .bento-box:hover::before { transform: scaleX(1); }
        .bento-box:hover::after { opacity: 1; }

        .bento-box i {
            font-size: 3.5rem; margin-bottom: 25px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text; display: inline-block;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .bento-box:hover i { transform: scale(1.15) rotate(-5deg); }
        .bento-box h4 { font-size: 1.3rem; }

        /* ================= ALSO OFFER SECTION ================= */
        .also-offer {
            padding: 120px 5%; position: relative; z-index: 2;
        }
        .also-offer-inner {
            max-width: 1400px; margin: 0 auto;
            display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
        }
        .also-offer-text { }
        .also-offer-text h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); margin-bottom: 35px; line-height: 1.15; letter-spacing: -1px; }
        .also-offer-list { list-style: none; margin-bottom: 45px; }
        .also-offer-list li {
            display: flex; align-items: center; gap: 18px;
            padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
            font-size: 1.1rem; font-weight: 500; color: var(--text);
            transition: color 0.3s, gap 0.3s;
        }
        .also-offer-list li:last-child { border-bottom: none; }
        .also-offer-list li i {
            width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex; align-items: center; justify-content: center;
            color: white; font-size: 1rem;
            box-shadow: 0 5px 15px rgba(1, 112, 185, 0.3);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .also-offer-list li:hover i { transform: scale(1.15) rotate(-8deg); }
        .also-offer-list li:hover { color: var(--primary); }

        .also-offer-img-wrap {
            position: relative; border-radius: 30px; overflow: hidden;
            box-shadow: var(--shadow-lg); height: 600px;
        }
        .also-offer-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .also-offer-img-wrap:hover img { transform: scale(1.04); }
        .also-offer-img-wrap::after {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(1,80,133,0.5) 0%, transparent 60%);
        }
        .also-offer-img-badge {
            position: absolute; bottom: 35px; left: 35px; z-index: 2;
            background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.25); border-radius: 18px;
            padding: 18px 28px; color: white;
        }
        .also-offer-img-badge strong { display: block; font-size: 1.5rem; font-family: 'Montserrat'; font-weight: 800; }
        .also-offer-img-badge span { font-size: 0.9rem; opacity: 0.85; }

        @media (max-width: 1024px) {
            .also-offer-inner { grid-template-columns: 1fr; }
            .also-offer-img-wrap { height: 450px; }
        }
        @media (max-width: 480px) {
            .also-offer { padding: 80px 5%; }
            .also-offer-img-wrap { height: 320px; }
            .also-offer-img-badge { bottom: 20px; left: 20px; padding: 12px 18px; }
        }

        /* ================= CONTACT & MAP ================= */
        .contact-section { background: var(--dark); color: var(--white); padding: 120px 5% 0; position: relative; overflow: hidden; }
        .contact-section::before {
            content: ''; position: absolute; top: -200px; left: -200px; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none;
        }
        .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1400px; margin: 0 auto; align-items: center; position: relative; z-index: 2; }
        .contact-info h2 { color: var(--white); font-size: clamp(2.2rem, 3.5vw, 3.5rem); margin-bottom: 50px; line-height: 1.1; letter-spacing: -1px; }
        .contact-info h2 span { color: var(--secondary); text-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
        .contact-item { display: flex; align-items: center; gap: 25px; margin-bottom: 40px; font-size: 1.2rem; }
        .contact-item i {
            width: 70px; height: 70px; min-width: 70px; background: rgba(255,255,255,0.05); border-radius: 50%;
            display: flex; justify-content: center; align-items: center; font-size: 1.6rem;
            color: var(--secondary); transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
        }
        .contact-item:hover i { background: var(--secondary); color: var(--dark); transform: scale(1.15) rotate(10deg); box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3); }
        .contact-item strong { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-family: 'Montserrat'; }

        .contact-item a { color: var(--white); transition: color 0.3s; }
        .contact-item a:hover { color: var(--secondary); }

        .map-container {
            border-radius: 30px 30px 0 0; overflow: hidden; height: 600px;
            transform: translateY(60px); box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
            border: 10px solid rgba(255,255,255,0.05); border-bottom: none;
        }
        .map-container iframe { width: 100%; height: 100%; border: none; filter: grayscale(15%) contrast(1.1); transition: filter 0.5s; }
        .map-container:hover iframe { filter: grayscale(0%) contrast(1); }

        /* ================= FOOTER ================= */
        footer { background: #0a0a14; color: rgba(255,255,255,0.5); text-align: center; padding: 100px 20px 40px; font-size: 0.95rem; }

        /* ================= HAMBURGER ================= */
        .hamburger {
            display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001;
            background: none; border: none; padding: 8px;
        }
        .hamburger span {
            width: 30px; height: 3px; background-color: var(--white); border-radius: 3px;
            transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
            transform-origin: left; display: block;
        }
        nav.scrolled .hamburger span { background-color: var(--dark); }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 1024px) {
            .bg-blobs { display: none; }
            .about, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
            .about-images { height: 500px; margin-bottom: 30px; }
            .bento-grid { grid-template-columns: repeat(2, 1fr); }
            .map-container { transform: translateY(0); margin-top: 20px; border-radius: 30px; border-bottom: 10px solid rgba(255,255,255,0.05); }
            footer { padding-top: 60px; }
        }

        @media (max-width: 768px) {
            .hamburger { display: flex; }
            .hamburger.active span { background-color: var(--white) !important; }
            .hamburger.active span:nth-child(1) { transform: rotate(45deg); }
            .hamburger.active span:nth-child(2) { opacity: 0; }
            .hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

            .nav-links {
                position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh;
                background: rgba(26, 26, 46, 0.95);
                backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
                display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
                transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
                z-index: 1000;
            }
            .nav-links.active { transform: translateY(0); }
            .nav-links a {
                margin: 0; font-size: 1.8rem;
                color: var(--white) !important; font-family: 'Montserrat', sans-serif;
            }

            .hero-buttons { flex-direction: column; }
            .hero-buttons .btn { width: 100%; justify-content: center; }
            .stats-bar { grid-template-columns: 1fr; gap: 0; padding: 30px; margin: 20px 5% 0; }
            .stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 20px 0; }
            .stat-item:last-child { border-bottom: none; }
            .bento-grid { grid-template-columns: 1fr; }
            .floating-badge { width: 110px; height: 110px; right: 0; top: -20px; }
            .floating-badge i { font-size: 1.5rem; }
            .floating-badge span { font-size: 0.7rem; }
            .scroll-down { bottom: 40px; }
            .about-images { height: 400px; }
            .map-container { height: 400px; }
            .contact-item { font-size: 1rem; gap: 15px; }
            .contact-item i { width: 55px; height: 55px; min-width: 55px; font-size: 1.3rem; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 2rem; }
            .about-images { height: 300px; }
            .about-img-2 { border-width: 6px; }
            .service-img { height: 200px; }
            .service-content { padding: 25px; }
            .bento-box { padding: 35px 25px; }
            .bento-box i { font-size: 2.5rem; }
            .section-header { margin-bottom: 40px; }
            .services, .features { padding: 80px 5%; }
            .about { padding: 80px 5%; }
            .contact-section { padding: 80px 5% 0; }
        }

body:not(.home) #navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

body:not(.home) #navbar .logo,
body:not(.home) #navbar .nav-links a {
    color: #1a1a1a;
}

body:not(.home) #navbar .hamburger span {
    background: #1a1a1a;
}
/* ================= BLOG / ARCHIVE PAGE ================= */

/* Padding pod fixed navbar na podstronach */
body:not(.home) {
    padding-top: 80px;
}

/* Hero bloga */
.blog-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0d2b45 100%);
    padding: 80px 5% 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(1, 112, 185, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.blog-hero .section-tag {
    color: var(--secondary);
}
.blog-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -1px;
    margin-bottom: 15px;
}
.blog-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Kontener z kartami */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 5%;
    position: relative;
    z-index: 2;
}

/* Grid kart */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
    gap: 40px;
}

/* Karta wpisu */
.blog-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(1, 112, 185, 0.18);
    background: rgba(255, 255, 255, 0.98);
}

/* Thumbnail */
.blog-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    opacity: 0.7;
    transition: opacity 0.4s;
}
.blog-card:hover .blog-card-img::after { opacity: 0.3; }
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.07); }

/* Placeholder kiedy brak featured image */
.blog-card-img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-img-placeholder i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.35);
}

/* Tresc karty */
.blog-card-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.82rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-meta i { color: var(--primary); }
.blog-card-body h2 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
    color: var(--dark);
    transition: color 0.3s;
}
.blog-card:hover .blog-card-body h2 { color: var(--primary); }
.blog-card-body p {
    font-size: 0.98rem;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s, color 0.3s;
}
.blog-card-link:hover { gap: 14px; color: var(--secondary); }

/* Paginacja */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 70px;
}
.blog-pagination a,
.blog-pagination span {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-weight: 700; font-size: 0.95rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}
.blog-pagination a {
    background: rgba(255,255,255,0.8);
    color: var(--dark);
    border-color: rgba(0,0,0,0.07);
}
.blog-pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(1, 112, 185, 0.3);
}
.blog-pagination span.current {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ================= RESPONSIVE BLOG ================= */
@media (max-width: 768px) {
    .blog-hero { padding: 60px 5% 70px; }
    .blog-container { padding: 60px 5%; }
    .blog-grid { gap: 25px; }
    .blog-card-img { height: 200px; }
    .blog-card-body { padding: 25px; }
}