/* ========================================
   RESET & BASE STYLES
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FIX: Overflow na mobile - białe okno po prawej */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    position: relative;
}

:root {
    /* Colors */
    --primary: #0942C5;
    --primary-dark: #062775;
    --primary-light: #3366CC;
    --secondary: #2C3E50;
    --accent: #0942C5;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --bg-light: #F5F7FA;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(9, 66, 197, 0.3);
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 30px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--secondary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Remove underline from all links */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
}

/* ========================================
   PRELOADER
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
}

.loader-inner {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   CONTAINER & UTILITIES
======================================== */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.accent-text-light {
    color: #6CAEFF;
}

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

.bg-gray {
    background-color: #F0F4F8;
}

.bg-dark-blue {
    background-color: #062775;
}

.bg-dark-blue .tiles-title,
.bg-dark-blue .tiles-subtitle,
.bg-dark-blue .tile-name {
    color: #ffffff;
}

.bg-dark-blue .tile {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-blue .tile-icon i {
    color: #ffffff;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: filter var(--transition-normal), opacity var(--transition-normal);
}

.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: var(--secondary);
}

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

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

.nav-cta {
    background: var(--gradient-primary);
    padding: 12px 25px;
    border-radius: 5px;
    color: var(--white) !important;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: background var(--transition-normal);
}

.navbar.scrolled .hamburger {
    background: var(--secondary);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: inherit;
    left: 0;
    transition: transform var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
    background: var(--secondary);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--secondary);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 100px;
    box-shadow: 0 2px 7.5px 7px rgba(0, 0, 0, 0.13);
}

.hero-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.hero-content {
    text-align: right;
    max-width: 1600px;
    z-index: 1;
    padding: 80px 0 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 62px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 17px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 300;
    color: #000000;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid var(--primary);
    border-radius: 5px;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary);
    background-color: #0942C5;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #ffffff;
    background-color: #ffffff;
    color: #062775 !important;
    box-shadow: 2px 2px 4px 0px rgba(6, 39, 117, 0.5);
}

.btn-primary i {
    transition: transform var(--transition-normal);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* ========================================
   CONTENT SECTIONS
======================================== */
.content-section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.3;
}

.section-title-left {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 34px;
}

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

/* Sekcje BEZ reverse: tekst po lewej, zdjęcie po prawej */
.content-grid .content-text {
    order: 1;
}

.content-grid .content-image {
    order: 2;
}

/* Sekcje Z reverse: zdjęcie po lewej, tekst po prawej */
.content-grid.reverse .content-image {
    order: 1;
}

.content-grid.reverse .content-text {
    order: 2;
}

.content-text {
    font-size: 16px;
    line-height: 1.7;
}

.content-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.content-text a:hover {
    text-decoration: none;
}

.content-text p {
    margin-bottom: 20px;
}

.content-full {
    margin-bottom: 40px;
}

.content-full p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.content-intro {
    margin-bottom: 40px;
}

.content-intro p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 4px;
}

.feature-list.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}

.content-image img {
    width: 100%;
    height: auto;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 40px;
}

.image-item img {
    width: 100%;
    height: auto;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.products-section {
    padding: 70px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 15px;
    width: 100%;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--primary);
    background-color: #0942C5;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.product-card:hover .product-btn {
    background: #ffffff;
    background-color: #ffffff;
    color: #062775 !important;
}

.products-cta {
    text-align: center;
    margin-top: 30px;
}

/* ========================================
   PRODUCT CAROUSEL
======================================== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 70px;
    margin: 40px 0;
}

.carousel-container {
    overflow: visible;
    width: 100%;
    clip-path: inset(-20px -15px -20px -15px);
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.carousel-card {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-decoration: none;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.carousel-card:hover .carousel-image img {
    transform: scale(1.05);
}

.carousel-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 1;
}

.carousel-info h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 15px;
    width: 100%;
    line-height: 1.4;
    flex-grow: 1;
}

.btn-carousel {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-carousel:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    text-decoration: none;
}

.btn-carousel:active,
.btn-carousel:focus {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    text-decoration: none;
    outline: none !important;
    box-shadow: none !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-btn:active,
.carousel-btn:focus {
    background: var(--primary) !important;
    color: var(--white) !important;
    outline: none !important;
    box-shadow: var(--shadow-md) !important;
}

.carousel-btn i {
    font-size: 18px;
    color: var(--secondary);
    transition: color var(--transition-normal);
}

.carousel-btn:hover i {
    color: var(--white);
}

.carousel-btn:active i,
.carousel-btn:focus i {
    color: var(--white);
}

.carousel-btn-prev {
    left: 5px;
}

.carousel-btn-next {
    right: 5px;
}

/* Carousel responsive */
@media (max-width: 1200px) {
    .carousel-card {
        flex: 0 0 calc(33.333% - 11px);
        min-width: calc(33.333% - 11px);
    }
}

@media (max-width: 992px) {
    .carousel-card {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
    .carousel-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .carousel-wrapper {
        padding: 0 40px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .carousel-btn i {
        font-size: 14px;
    }
    .carousel-track {
        gap: 16px;
    }
}

/* ========================================
   KAFELKI SECTIONS
======================================== */
.tiles-section {
    padding: var(--section-padding);
}

.tiles-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Wrapper dla kafelków - 1400px */
.tiles-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.tiles-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-align: left;
}

.tiles-subtitle {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.3;
}

.tiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Stała szerokość kafelka - 5 w rzędzie = (1400 - 4*20) / 5 = 264px */
.tiles-grid .tile {
    width: 264px;
    flex: 0 0 264px;
}

.tiles-grid-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* 4 w rzędzie = (1400 - 3*20) / 4 = 335px */
.tiles-grid-4 .tile {
    width: 335px;
    flex: 0 0 335px;
}

.tiles-grid-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.tiles-grid-5 .tile {
    width: 264px;
    flex: 0 0 264px;
}

.tile {
    background-color: #F5F8FD;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tile-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tile-icon i {
    font-size: 40px;
    color: #062775;
}

.tile-name {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Responsive tiles */
@media (max-width: 1200px) {
    .tiles-grid .tile,
    .tiles-grid-5 .tile {
        width: 220px;
        flex: 0 0 220px;
    }
    .tiles-grid-4 .tile {
        width: 280px;
        flex: 0 0 280px;
    }
}

@media (max-width: 992px) {
    .tiles-grid .tile,
    .tiles-grid-5 .tile {
        width: 180px;
        flex: 0 0 180px;
    }
    .tiles-grid-4 .tile {
        width: 220px;
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .tiles-grid .tile,
    .tiles-grid-4 .tile,
    .tiles-grid-5 .tile {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }
    .tile {
        min-height: 120px;
        padding: 20px 15px;
    }
    .tile-icon {
        width: 40px;
        height: 40px;
    }
    .tile-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tiles-grid .tile,
    .tiles-grid-4 .tile,
    .tiles-grid-5 .tile {
        width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }
    .tiles-grid,
    .tiles-grid-4,
    .tiles-grid-5 {
        gap: 15px;
    }
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section.bg-dark-blue {
    background: #062775;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

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

.footer-logo-img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item i {
    color: var(--primary-light);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.contact-item a:hover {
    color: var(--white);
}

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

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   ANIMATIONS
======================================== */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--secondary);
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Na mobile zdjęcie zawsze na górze */
    .content-grid .content-image,
    .content-grid.reverse .content-image {
        order: 1;
    }
    
    .content-grid .content-text,
    .content-grid.reverse .content-text {
        order: 2;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-list.two-columns {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        min-height: 400px;
        margin-bottom: 60px;
        padding: 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 60px 20px 30px;
    }
    
    .hero-title {
        font-size: 37px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ========================================
   IMPORT MOBILE FIX - ŁATKA NAPRAWCZA
======================================== */
@import url("_mobile_fix.css");


