html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

* {
    box-sizing: border-box;
}
/* Reset and base styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Updated Color System - Turkusowy jako primary */
    --color-primary: #06b6d4;
    --color-primary-light: #C4EBF2;
    --color-primary-dark: #0292AA;
    --color-secondary: #2266D1;
    --color-accent: #CC2408;
    --hero-title-accent: #B5471F; /* rust (pociemniony z #C1502E - 3.96:1 nie spelnialo 4.5:1 na tle hero, zmierzone) */

    /* Dark Theme Colors */
    --color-dark: #1e293b;
    --color-dark-light: #334155;
    --color-dark-lighter: #475569;
    
    /* Sophisticated Neutrals */
    --color-text: #1A2B2E;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-background: #F6F8F8;
    --color-background-light: #f8fafc;
    --color-background-darker: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    
    
    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

     /*Dodaj nowe linie poniżej (tonal scale primary)*/
    --color-primary-50: #F3FAFB;
    --color-primary-100: #C4EBF2;
    --color-primary-200: #90E0ED;
    --color-primary-300: #57D9EE;
    --color-primary-400: #19D5F4;
    --color-primary-500: #02B4D2;
    --color-primary-600: #0292AA;
    --color-primary-700: #017082;
    --color-primary-800: #014E5A;
    --color-primary-900: #012B32;
    
    /* Premium Typography Stack */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Professional Shadow System */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-3d: 0 8px 16px rgb(0 0 0 / 0.08), 0 4px 8px rgb(0 0 0 / 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    
    /* Border Radius Scale */
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing System */
    --space-px: 1px;
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Premium Transitions */
    --transition-all: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index Scale */
    --z-hide: -1;
    --z-base: 0;
    --z-docked: 10;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-banner: 1030;
    --z-overlay: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Enhanced HTML and Body */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden; /* ✅ DODANE */
    width: 100%; /* ✅ DODANE */
    max-width: 100vw; /* ✅ DODANE */
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga', 'kern';
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%; /* ✅ DODANE */
    max-width: 100vw; /* ✅ DODANE */
    position: relative; /* ✅ DODANE – zapobiega "wyskakiwaniu" elementów absolute */
}
/* ========== OVERFLOW FIX – zapobiega przesuwaniu w bok ========== */
section, .container, .hero-section, .services-section, .portfolio-section, .contact-section {
    max-width: 100%;
   
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* Zabezpieczenie przed wychodzeniem animacji poza ekran */
.hero-bg-animation, .floating-element {
    overflow: hidden;
    max-width: 100%;
    pointer-events: none;
}


/* Professional Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    margin-bottom: var(--space-4);
    letter-spacing: -0.025em;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 3vw + 1rem, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
    letter-spacing: -0.025em;
}

h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.01em;
}

p {
    margin-bottom: var(--space-4);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.text-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Enhanced Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
}

a:hover {
    color: var(--color-primary-dark);
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Container System */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    width: 100%;
    box-sizing: border-box;
    position: relative; /* DODAJ */
}


@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* Premium Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    white-space: nowrap;
    user-select: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgb(6 182 212 / 0.1);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-dark);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover:not(:disabled) {
    background: var(--color-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    min-height: 40px;
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: 1.125rem;
    min-height: 56px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-8);
    left: var(--space-8);
    width: 64px; /* Increased size */
    height: 64px; /* Increased size */
    background: var(--color-dark); /* Menu color */
    color: var(--color-primary); /* Arrow color */
    border: 2px solid var(--color-primary-dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-all);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-toast);
}

.scroll-to-top svg {
    width: 32px; /* Increased icon size */
    height: 32px;
}

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

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    background: var(--color-dark-light);
    border-color: var(--color-primary);
}

/* Section System */
section {
    padding: var(--space-24) 0; /* Padding góra/dół */
    position: relative;
   max-width: 100% !important;
    overflow-x: hidden; /* Zapobiega scrollowi poziomemu */
     width: 100%;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

.section-title {
    text-align: center;
     margin-top: 4rem;
    margin-bottom: var(--space-16);
    font-family: var(--font-heading);
    color: var(--color-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-16);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Premium Header - Dark Theme z biaĹym KW */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border-bottom: none; /* ← ZMIENIONE: usuń border */
    z-index: var(--z-sticky);
    transition: var(--transition-normal);
    min-height: 70px;
    padding: var(--space-3) 0;
}

.header.scrolled {
    background: rgba(30, 41, 59, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 0 2rem;  /* ← ZMIENIONE z "padding: 0;" */
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
    vertical-align: middle;
    transition: var(--transition-fast);
    filter: brightness(1.15);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}

.logo-link {
    text-decoration: none;
}
/* Enhanced Navigation - Dark Theme */
/* Enhanced Navigation - Dark Theme */
.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-10); /* 2.5rem między linkami */
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a {
    color: white;
    font-weight: 600;
    padding: var(--space-4) var(--space-4);
    position: relative;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    transition: var(--transition-all);

    /* ✅ USUŃ WSZELKIE CIENIE */
    text-shadow: none !important;
    box-shadow: none !important;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
    
    /* ✅ USUŃ CIEŃ Z PODKREŚLENIA */
    box-shadow: none !important;
}

.nav-list a:hover {
    color: var(--color-primary);
     text-shadow: none !important;
    
    /* ✅ USUŃ CIEŃ Z HOVER */
    text-shadow: none !important;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    width: 100%;
}

/* ✅ USUŃ CIEŃ Z FOCUS */
.nav-list a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    text-shadow: none !important;
}


/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: var(--color-dark-light);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
/* ========== HERO SECTION ========== */

/* Premium Hero Section z animacją tła */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding-top: 150px;
}

/* Fancy animated mesh gradient background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    max-width: 100vw;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(20, 184, 166, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 70% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 10% 90%, rgba(14, 165, 233, 0.14) 0%, transparent 60%);
    filter: blur(40px);
    /* Animacja tylko przez transform (kompozytowana na GPU) — bez animowania
       background-position, które wymuszało repaint pełnoekranowej warstwy
       blur(40px) w każdej klatce i pinowało główny wątek (TBT). */
    transform: translateZ(0);
    will-change: transform;
    animation: meshDrift 24s ease-in-out infinite alternate;
}

/* Subtle grain texture overlay */
.hero-bg-animation::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0 0.3 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes meshDrift {
    0% {
        transform: translate3d(-1.5%, -1%, 0) scale(1.04);
    }
    50% {
        transform: translate3d(1.5%, 1%, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-1%, 1.5%, 0) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-animation { animation: none; }
    .testimonials-section::before,
    .testimonials-section::after { animation: none; }
}

/* Pomijanie renderowania sekcji poniżej pierwszego ekranu, dopóki nie
   wejdą w widok — odciąża główny wątek przy starcie (mniejszy TBT).
   `contain-intrinsic-size: auto <h>` zapamiętuje realną wysokość po
   pierwszym renderze, więc nie wprowadza CLS. Hero zostaje nietknięte. */
.mini-portfolio-section-new,
.services-section,
.process-section,
.testimonials-section,
.social-proof-section,
.faq-section,
.lm-teaser {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.floating-element {
    position: absolute;
    opacity: 0.4;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.floating-dot {
    width: 5px;
    height: 5px;
    background: var(--color-primary-light);
    border-radius: 50%;
    animation: floatVertical 10s ease-in-out infinite;
    opacity: 0.25;
}

.floating-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.floating-dot:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.floating-dot:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.floating-dot:nth-child(4) {
    top: 10%;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.floating-dot:nth-child(5) {
    top: 90%;
    left: 90%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.floating-dot:nth-child(6) {
    top: 50%;
    left: 5%;
    animation-delay: 5s;
    animation-duration: 6s;
}

.floating-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 1px;
    animation: floatHorizontal 12s ease-in-out infinite;
    opacity: 0.2;
}

.floating-line:nth-child(7) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.floating-line:nth-child(8) {
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 8s;
    transform: rotate(45deg);
}

.floating-line:nth-child(9) {
    top: 5%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
    transform: rotate(-30deg);
}

.floating-line:nth-child(10) {
    top: 95%;
    right: 40%;
    animation-delay: 4s;
    animation-duration: 5s;
    transform: rotate(15deg);
}

.floating-circle {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    animation: floatCircular 18s linear infinite;
    opacity: 0.15;
}

.floating-circle:nth-child(11) {
    top: 40%;
    left: 70%;
    animation-delay: 2s;
}

.floating-circle:nth-child(12) {
    top: 15%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 12s;
}

@keyframes floatVertical {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes floatHorizontal {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes floatCircular {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

/* New Hero Layout */
.hero-section-content {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-main-title {
    text-align: center;
    margin-bottom: var(--space-8);
     padding-top: var(--space-12); /* ✅ DODANE - 3rem odstępu od góry */
}

.hero-main-content {
     display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    text-align: center;
}


/* ✅ DODANE - Hero Text */
.hero-text {
    order: 1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
    max-width: 600px;
    z-index: 3;
    text-align: center;
}

.hero-info-icons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-weight: 500;
}

.info-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    transition: var(--transition-normal);
}

.info-icon:hover {
    transform: translateX(5px);
}

.hero-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.hero-metrics-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    color: var(--color-text-light);
}

.hero-metrics span {
    white-space: nowrap;
}

.hero-metrics-desc span {
    line-height: 1.3;
    font-weight: 400;
}

.dot.green {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-success);
    vertical-align: middle;
}

.text {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
    white-space: nowrap;
    text-align: left;
}

.highlight-digits {
    color: var(--color-primary);
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.dot {
    width: clamp(22px, 2.2vw, 29px);
    height: clamp(22px, 2.2vw, 29px);
    min-width: 22px;
    min-height: 22px;
    border-radius: 50%;
    background: var(--color-success);
    flex-shrink: 0;
}

.highlight-digits-tyt {
    color: var(--color-primary);
    font-size: inherit;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-heading);
    display: inline;
}

.info-icon .icon {
    font-size: 1.5rem;
}

.info-icon .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.info-icon .dot.green {
    background-color: var(--color-success);
}

.info-icon .dot.yellow {
    background-color: var(--color-warning);
}

.info-icon .dot.red {
    background-color: var(--color-error);
}

.hero-image-container {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 0;
    background: white;
    padding: 10px;
    border-radius: var(--radius-3xl);
    box-shadow:
        0 25px 60px -10px rgba(0, 0, 0, 0.18),
        0 10px 30px -5px rgba(0, 0, 0, 0.10);
    transition: var(--transition-all);
    overflow: visible;
}

.hero-image-container:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow:
        0 35px 80px -15px rgba(0, 0, 0, 0.22),
        0 0 48px rgba(6, 182, 212, 0.14);
}

.gradient-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 55%);
    z-index: 2;
    border-radius: calc(var(--radius-3xl) - 6px);
    pointer-events: none;
}

.hero-image {
    order: 2;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-10);
    margin-bottom: var(--space-10);
    padding: 0;
}

.hero-image .hero-info-icons {
    text-align: left;
    width: 100%;
    max-width: 520px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-3xl) - 6px);
}

/* ========== HERO FLOATING BADGE ========== */
.hero-floating-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
    transition: var(--transition-all);
}

.hero-floating-badge:hover {
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.badge-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

.hero-bottom-content {
    text-align: center;
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.85;
}

.hero-title {
    font-size: clamp(calc(2.25rem*1.4), calc(4vw + 1rem*1.4), calc(4rem*1.4));
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero PM metrics — allow text wrap for longer metric labels */
.hero-info-icons .info-icon .text {
    white-space: normal;
    line-height: 1.3;
}

/* Enhanced Social Proof Section */
/* ========== BENEFITS SECTION ========== */

/* Enhanced Social Proof Section */
.social-proof-section {
    /* ✅ JASNE TŁO - jak było na początku */
  background: linear-gradient(
        145deg, 
        var(--color-dark) 0%, 
        var(--color-dark-light) 50%,
        var(--color-dark) 100%
    );
    color: var(--color-text);
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}


.social-proof-section .section-title {
    color: white !important; /* ✅ CIEMNY TEKST */
    text-shadow: none;
    font-size: 2.5rem;
    margin-bottom: var(--space-16);
    text-align: center;
}



.social-proof-section .container {
    position: relative;
    z-index: 2;
}

.social-proof-section .section-title,
.social-proof-section .mini-portfolio-title {
    color: white;
}

.social-proof-section .section-subtitle {
    color: #cbd5e1;
    opacity: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-20);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    grid-auto-rows: 1fr;
}


.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-10) var(--space-8);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition-all);
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
    cursor: default;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: none;
}


.benefit-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(6, 182, 212, 0.18);
    border-color: rgba(6, 182, 212, 0.35);
    background: rgba(255, 255, 255, 0.06);
}


.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.10);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--color-primary);
    font-size: 2rem;
    line-height: 1;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(8deg) scale(1.1);
    background: rgba(6, 182, 212, 0.22);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.45);
    border-color: rgba(6, 182, 212, 0.5);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    color: #ffffff;
    letter-spacing: -0.01em;
}

.benefit-card p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin: 0;
}



/* ========== PORTFOLIO - POPRAWIONA WERSJA ========== */

/* ========== PORTFOLIO - POPRAWIONA WERSJA ========== */

.mini-portfolio-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: var(--space-24) 0;
    position: relative;
    overflow: visible; /* ✅ Cienie nie obcięte */
}

.mini-portfolio-section::before {
    display: none;
}

.mini-portfolio-section .container {
    position: relative;
    z-index: 2;
}

.mini-portfolio-title {
    text-align: center;
    margin-bottom: var(--space-16);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-family: var(--font-heading);
    color: var(--color-text);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12); /* ✅ 48px - dość miejsca na cienie */
    justify-content: center;
    max-width: 1320px;
    margin: 0 auto;
    align-items: stretch;
    padding: var(--space-4); /* ✅ DODANE - padding zapobiega obcięciu */
}

/* ✅ LINK - BEZ ANIMACJI */
.portfolio-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ✅ KARTA - z overflow visible dla cieni */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible; /* ✅ ZMIANA: hidden → visible (cienie widoczne) */
    aspect-ratio: 1 / 1; /* Kwadrat */
    cursor: pointer;
    transition: var(--transition-all);
    
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
    
    /* ✅ CIENIE - widoczne poza kartą */
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.15),
        0 5px 15px -3px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ✅ WEWNĘTRZNY WRAPPER DLA OVERFLOW */
.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* ✅ Tutaj obcinamy zdjęcie, nie cienie */
    border-radius: var(--radius-2xl);
}

.portfolio-background {
    display: none;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
    z-index: 2;
    border-radius: var(--radius-2xl);
}

/* ✅ ZDJĘCIA - pełne wypełnienie */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* ✅ HOVER - tylko scale 1.02 na karcie, cienie widoczne */
.portfolio-item:hover {
    background: linear-gradient(to top, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 80%, transparent 100%);
    
    /* ✅ CIENIE - większe, NIE obcięte */
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.25),
        0 10px 40px 10px rgba(6, 182, 212, 0.2), /* Turkusowy glow */
        0 0 0 2px rgba(6, 182, 212, 0.4);
    
    transform: scale(1.02); /* ✅ Delikatne powiększenie */
    border-color: rgba(6, 182, 212, 0.4);
}

/* ✅ ZDJĘCIE HOVER - scale 1.05 */
.portfolio-item:hover img {
    transform: scale(1.05); /* ✅ Tylko zdjęcie się powiększa */
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2)) brightness(1.05);
}

/* ✅ OPIS - BEZ transform */
.portfolio-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.8) 40%,
        rgba(15, 23, 42, 0.4) 70%,
        transparent 100%
    );
    
    color: white;
    padding: var(--space-6) var(--space-5);
    z-index: 3;
    transition: var(--transition-slow);
    opacity: 1;
}

.portfolio-item:hover .portfolio-item-content {
    padding: var(--space-7) var(--space-6);
    
    background: linear-gradient(
        to top,
        rgba(6, 182, 212, 0.95) 0%,
        rgba(6, 182, 212, 0.8) 40%,
        rgba(6, 182, 212, 0.4) 70%,
        transparent 100%
    );
}

/* ✅ TYTUŁ - BEZ translateY */
.portfolio-item-content h4 {
    font-size: 1.35rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
    /* ✅ BEZ transform w bazie */
}

.portfolio-item:hover .portfolio-item-content h4 {
    /* ✅ BEZ transform na hover - zostaje w miejscu */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* ✅ OPIS - BEZ translateY */
.portfolio-item-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
    /* ✅ BEZ transform w bazie */
}

.portfolio-item:hover .portfolio-item-content p {
    color: rgba(255, 255, 255, 1);
    /* ✅ BEZ transform na hover - zostaje w miejscu */
}

/* Enhanced Services Section with 3D Effect */
.services-section {
    background: #ffffff;
   padding-top: 100px; /* ✅ ~6rem */
    padding-bottom: 100px; /* ✅ ~6rem */
    position: relative;
    width: 100%;
    max-width: 100vw !important;
    overflow: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-16);
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    align-items: stretch; /* ← Karty rozciągają się do tej samej wysokości */
}


.service-card {
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-all);
    position: relative;
   overflow: visible;
    cursor: default;
    
    /* ✅ FLEX - dla równej wysokości */
    display: flex;
    flex-direction: column;
    min-height: 100%; /* ✅ Minimum 100% wysokości rodzica */
    
    transform-style: preserve-3d;
    transform: translateZ(0);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.15),
        0 5px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
}


.service-card.fade-slide-in {
    opacity: 1;
    transform: translateY(0);
}


.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.25),
        0 15px 35px -5px rgba(6, 182, 212, 0.15);
    border-color: var(--color-primary);
}

.service-card.featured {
    border-color: var(--color-primary);
    box-shadow:
        0 24px 56px -10px rgba(0, 0, 0, 0.24),
        0 14px 32px -6px rgba(6, 182, 212, 0.32),
        0 0 0 2px rgba(6, 182, 212, 0.18);
    background: linear-gradient(145deg, white 0%, #f0f9ff 100%);
    transform: translateY(-14px);
}

.service-card.featured.fade-slide-in {
    transform: translateY(-14px);
}

.service-card.featured:hover {
    transform: translateY(-20px);
    box-shadow:
        0 32px 64px -12px rgba(0, 0, 0, 0.3),
        0 20px 48px -8px rgba(6, 182, 212, 0.38),
        0 0 0 2px var(--color-primary);
}
.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow:
        0 4px 14px rgba(6, 182, 212, 0.55),
        0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 10;
    border: 2px solid white;
    white-space: nowrap;
}

/* Animacja pulsowania dla przyciągnięcia uwagi */
.popular-badge {
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 
            0 6px 16px rgba(6, 182, 212, 0.5),
            0 2px 8px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 
            0 8px 20px rgba(6, 182, 212, 0.7),
            0 4px 12px rgba(0,0,0,0.25);
    }
}


.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-4);
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: var(--transition-normal);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(6, 182, 212, 0.3));
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-bold);
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: var(--space-6);
    font-size: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-6);
    padding: 0;
}

.service-features li {
    padding: var(--space-1) 0;
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2306b6d4' stroke-width='3.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.service-meta {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-4);
    margin-bottom: var(--space-6);
    margin-top: auto;
}

.service-time {
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-primary);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-all);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    z-index: 100;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-dark);
    color: white;
}

/* Efekt hover dla ikon SVG - subtelny */
.service-icon img {
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 8px 16px rgba(6, 182, 212, 0.5)) brightness(1.1);
    transform: scale(1.12) translateY(-5px);
}

/* Dla karty featured - delikatnie mocniejszy efekt */
.service-card.featured:hover .service-icon img {
    filter: drop-shadow(0 10px 20px rgba(6, 182, 212, 0.6)) brightness(1.15);
    transform: scale(1.15) translateY(-6px);
}


/* Premium Testimonials Carousel - Fixed Scrollbar Issue */
.testimonials-section {
    display: none;
    background: var(--color-dark);
    color: white;
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(34, 211, 238, 0.06) 40%, transparent 70%);
    animation: rotate 25s linear infinite;
    /* Izolacja warstwy: obrót jest kompozytowany na GPU, a repaint nie
       propaguje na resztę strony — ogranicza koszt paintu przy scrollu. */
    will-change: transform;
    contain: strict;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    animation: rotate 30s linear infinite reverse;
    will-change: transform;
    contain: strict;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.testimonials-section .section-title {
    color: white;
    position: relative;
    z-index: 2;
}

.testimonials-carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    width: 100%;
    overflow: hidden;
}

/* Keyframes for the infinite scroll */
@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-track {
    display: flex;
    gap: var(--space-8);
    width: 200%;
}

.testimonials-carousel-wrapper:hover .testimonials-track,
.testimonials-carousel-wrapper.paused .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-10));
    max-width: 380px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    transition: var(--transition-all);
    cursor: default;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-2xl);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: var(--space-8);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.author-info h4 {
    margin: 0 0 var(--space-1) 0;
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.testimonials-nav-container {
    display: flex;
    gap: var(--space-6);
    margin-top: var(--space-8);
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 3;
    padding: var(--space-2);
}

.testimonials-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-all);
    backdrop-filter: blur(10px);
    z-index: 3;
    flex-shrink: 0;
}

.testimonials-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.05);
    will-change: transform;
}

.testimonials-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.testimonials-nav svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}


/* _________________________________________________________________________*/

/* ========== PROCESS SECTION - ULTRA COMPACT ==========*/

.process-section {
    padding: 100px 0 80px;
    background: #f4f8fa;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    text-align: center;
    color: #666;
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Compact Timeline Container */
.process-timeline-compact {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px 0 100px;
}

/* Timeline vertical line */
.process-timeline-compact::before {
    content: '';
    position: absolute;
    left: 49px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(6, 182, 212, 0.2) 100%);
}

/* Timeline Step — szklana karta */
.timeline-step {
    position: relative;
    display: block;
    padding: var(--space-6);
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Step Marker — absolutny */
.step-marker {
    position: absolute;
    left: -80px;
    top: var(--space-6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    z-index: 2;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.timeline-step:hover .step-marker {
    transform: scale(1.08);
}

.step-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Step Content */
.step-content {
    padding-top: 0;
}

.step-title {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.process-cta {
    text-align: center;
    margin-top: 60px;
}
.faq-section {
  padding: var(--space-24) 0;
  background: #f4f8fa;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-left: 4px solid transparent;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: var(--transition-all);
  background: white;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  border-left-color: var(--color-primary);
}
.faq-item.active {
  border-left-color: var(--color-primary);
}
.faq-question {
  width: 100%;
  padding: var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  font-family: var(--font-primary);
}
.faq-question:hover {
  background: var(--color-background-light);
  color: var(--color-primary);
}
.faq-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: var(--font-weight-light);
  transition: var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-4);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary-dark);
}
.faq-answer {
  padding: 0 var(--space-6);
  background: var(--color-background-light);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-slow);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: var(--space-6);
  padding-top: 0;
}
.faq-answer p {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.faq-answer ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}
.faq-answer li {
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
  line-height: 1.6;
}
.faq-answer a {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}
.faq-answer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ========== CONTACT SECTION - DESKTOP ========== */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-dark) 100%);
  color: white;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  animation: floatVertical 12s ease-in-out infinite;
}
.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.contact-title {
  font-family: var(--font-heading);
  margin-bottom: var(--space-4);
  color: white;
}
.contact-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-12);
  opacity: 0.95;
  line-height: 1.6;
}
.contact-form-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  box-shadow: var(--shadow-2xl);
}
.contact-form {
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-all);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}
.form-group select {
  cursor: pointer;
}
.form-group select option {
  background: var(--color-dark);
  color: white;
  padding: var(--space-2);
}
.submit-btn {
  width: 100%;
  padding: var(--space-5) var(--space-8);
  background: white;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: var(--transition-all);
  margin-top: var(--space-6);
  position: relative;
  font-family: var(--font-primary);
  box-shadow: var(--shadow-lg);
}
.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.95);
}
.submit-btn:active:not(:disabled) {
  transform: translateY(-1px);
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
.btn-text,
.btn-loader {
  transition: var(--transition-fast);
}
.btn-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.form-note {
  text-align: center;
  margin-top: var(--space-4);
  opacity: 0.8;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== FOOTER - DESKTOP ========== */
.footer {
  background: #0b0f19;
  color: white;
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-info h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}
.footer-info p {
  margin-bottom: var(--space-2);
  opacity: 0.8;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.footer-info a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}
.footer-info a:hover {
  color: var(--color-primary-light);
}
.footer-email {
  display: block;
  margin-bottom: var(--space-4);
  font-size: 0.9rem;
}
.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}
.footer-social a:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--color-primary) !important;
  transform: translateY(-1px);
}
.footer-links {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-fast);
  padding: var(--space-2) 0;
}
.footer-links a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  opacity: 0.6;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
    
    .header-inner {
        padding: var(--space-3) var(--space-4);
    }
    
    .process-section {
        padding: 80px 0 60px;
    }

    .section-subtitle {
        margin-bottom: 48px;
    }

    .process-timeline-compact {
        padding: 0 16px 0 75px;
    }

    .process-timeline-compact::before {
        left: 36px;
        top: 35px;
        bottom: 35px;
    }

    .timeline-step {
        display: block;
        margin-bottom: 24px;
    }

    .step-marker {
        left: -62px;
        width: 50px;
        height: 50px;
    }

    .step-num {
        font-size: 1.125rem;
    }

    .step-title {
        font-size: 1.125rem;
        margin-bottom: 6px;
    }

    .step-desc {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .process-cta {
        margin-top: 48px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .service-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .service-card.featured {
        transform: translateY(0);
    }
    
    .service-card.featured.fade-slide-in {
        transform: translateY(0);
    }
    
    /* Wyłącz transform na mobile dla lepszej wydajności */
    .service-card {
        transform: none !important;
    }

    .service-card:hover {
        transform: translateY(-8px) !important;
        box-shadow: 
            0 15px 40px -10px rgba(0, 0, 0, 0.2),
            0 8px 20px -5px rgba(6, 182, 212, 0.2);
    }
/* Efekt hover dla ikon SVG */


    .service-card.featured {
        transform: none !important;
    }

    .service-card.featured:hover {
        transform: translateY(-8px) !important;
    }

    /* Touch-friendly przyciski */
    .service-btn {
        position: relative;
        z-index: 100 !important;
        pointer-events: auto !important;
        min-height: 56px !important;
        font-size: 1.05rem !important;
        padding: var(--space-4) var(--space-8) !important;
        width: 100% !important;
        max-width: none !important;
    }

    .service-btn:active {
        transform: scale(0.97) !important;
        background: var(--color-primary-dark) !important;
    }
}



@media (max-width: 480px) {
  .hero-floating-badge {
    display: none;
  }

 .hero-section {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: var(--space-16) !important;
  }
  
  .hero-main-content {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
    text-align: center !important;
  }
  
  .hero-text {
    order: 1 !important;
    grid-column: 1 !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .hero-info-icons {
    align-items: center !important;
    font-size: 1.2rem !important;
    gap: 1rem !important;
  }
  
  .info-icon {
    justify-content: center !important;
  }
  
  .highlight-digits {
    font-size: 1.8rem !important;
  }
  
  .dot {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
  }
  
  .hero-image {
    order: 2 !important;
    grid-column: 1 !important;
    margin: var(--space-8) auto !important;
    max-width: 100% !important;
  }
  
  .hero-image-container {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .hero-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: calc(var(--radius-3xl) - 6px) !important;
    display: block !important;
  }
  
  .hero-bottom-content {
    margin-top: var(--space-12) !important;
    text-align: center !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: var(--space-6) !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: var(--space-6) !important;
  }
  
  .cta-group {
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-3) !important;
  }
  
  .cta-group .btn {
    width: 100% !important;
    max-width: 320px !important;
  }
  /* ========== CONTAINER & LAYOUT ========== */
  .container {
    padding: 0 var(--space-4);
  }

  /* ========== HEADER & NAVIGATION ========== */
  .header-inner {
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo, 
  .site-logo, 
  .header-logo,
  a.logo,
  .logo-link {
    margin-left: var(--space-6) !important;
    padding-left: 0 !important;
  }
  .logo-img,
  .logo img,
  .header-logo img,
  .site-logo img,
  a.logo img,
  a[class*="logo"] img {
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* ========== SERVICES SECTION ========== */
  .services-section {
    padding: 1.5rem 0 !important;
  }
  .section-title {
    text-align: center !important;
    font-size: 2rem !important;
    margin-bottom: 1.2rem !important;
    letter-spacing: 0.03em;
  }
  .section-subtitle {
    text-align: center !important;
    font-size: 0.92rem !important;
    margin-bottom: 1rem !important;
    color: var(--color-text-light);
  }
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    max-width: 360px;
    padding: 0 0.7rem;
    margin: 0 auto;
  }
  .service-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 1rem 0.7rem !important;
    margin: 0.4rem 0 !important;
    border-radius: var(--radius-lg) !important;
    min-height: unset !important;
    height: auto !important;
    max-width: 100%;
  }
  .service-icon {
    font-size: 2.5rem !important;
  }
  .service-icon img {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 0.5rem !important;
  }
  .service-card h3 {
    font-size: 1.07rem !important;
    font-weight: 600 !important;
    text-align: center !important;
  }
  .service-description {
    font-size: 0.88rem !important;
    margin-bottom: 0.7rem !important;
    text-align: center !important;
    color: var(--color-text-light) !important;
  }
.service-features {
  list-style: none;
  margin: 0 0 0.5rem 0;
  padding: 0;
  text-align: left; /* WAŻNE! By tekst był do lewej */
}

/* List item jako flexbox z gap */
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 0.2em 0;
  position: relative;
  padding-left: 1.6rem;
}
    .service-features .check {
  flex-shrink: 0;
  min-width: 1.2em; /* stała szerokość, by nie nachodził tekst */
  color: var(--color-primary); /* kolor zgodny z design systemem */
  font-size: 1.2em;
  margin-right: 0.5em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
 .service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2306b6d4' stroke-width='3.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
    .service-features li strong {
  font-weight: 600;
}
  .service-meta,
  .service-btn,
  .service-price {
    font-size: 0.94rem !important;
    padding: 0.5em 1em !important;
    text-align: center !important;
  }
  .service-price {
    font-size: 1.12rem !important;
    font-weight: 600 !important;
  }
  .service-btn {
    padding: var(--space-2) var(--space-4) !important;
    font-size: 0.86rem !important;
    border-radius: var(--radius-md) !important;
  }
  .popular-badge {
    font-size: 0.67rem !important;
    padding: 4px 9px !important;
    border-radius: 9px !important;
  }

  /* ========== TIMELINE ========== */
  .process-timeline-compact {
    padding: 0 12px 0 60px;
  }
  .process-timeline-compact::before {
    left: 29px;
  }
  .timeline-step {
    display: block;
    margin-bottom: 20px;
  }
  .step-marker {
    left: -50px;
    width: 40px;
    height: 40px;
  }
  .step-num,
  .step-title {
    font-size: 1rem;
  }
  .step-desc {
    font-size: 0.8125rem;
  }

   /* ========== FAQ - MOBILE OVERRIDES ========== */
  .faq-section {
    padding: var(--space-16) 0 !important;
  }
  .faq-container {
    max-width: 100% !important;
    padding: 0 var(--space-3) !important;
  }
  .faq-item {
    margin-bottom: var(--space-3) !important;
    border-radius: var(--radius-lg) !important;
  }
  .faq-question {
    padding: var(--space-4) var(--space-3) !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  .faq-icon {
    font-size: 1.3rem !important;
    margin-left: var(--space-2) !important;
  }
  .faq-answer {
    padding: 0 var(--space-3) !important;
    font-size: 0.92rem !important;
  }
  .faq-item.active .faq-answer {
    padding: var(--space-4) var(--space-3) !important;
    padding-top: 0 !important;
  }
  .faq-answer p,
  .faq-answer ul,
  .faq-answer li {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* ========== CONTACT - MOBILE OVERRIDES ========== */
  .contact-section {
    padding: var(--space-16) 0 !important;
  }
  .contact-content {
    max-width: 100% !important;
    padding: 0 var(--space-3) !important;
  }
  .contact-title {
    font-size: 1.6rem !important;
    margin-bottom: var(--space-3) !important;
    text-align: center !important;
  }
  .contact-subtitle {
    font-size: 1rem !important;
    margin-bottom: var(--space-8) !important;
    text-align: center !important;
  }
  .contact-form-container {
    padding: var(--space-6) var(--space-4) !important;
    border-radius: var(--radius-xl) !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }
  .form-group {
    margin-bottom: var(--space-4) !important;
  }
  .form-group label {
    font-size: 0.92rem !important;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.95rem !important;
    padding: var(--space-3) !important;
  }
  .submit-btn {
    font-size: 1rem !important;
    padding: var(--space-4) var(--space-6) !important;
  }
  .form-note {
    font-size: 0.82rem !important;
  }

  /* ========== FOOTER ========== */
  .footer {
    padding: var(--space-12) 0 var(--space-6) !important;
  }
  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: var(--space-4) !important;
    margin-bottom: var(--space-6) !important;
  }
  .footer-info,
  .footer-links {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: var(--space-3) !important;
  }
  .footer-info h3 {
    font-size: 1.15rem !important;
    margin-bottom: var(--space-2) !important;
  }
  .footer-info p {
    font-size: 0.92rem !important;
    margin-bottom: var(--space-2) !important;
  }
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-3) !important;
  }
  .footer-links a {
    font-size: 0.96rem !important;
    padding: var(--space-2) 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
  .footer-bottom {
    padding-top: var(--space-6) !important;
    text-align: center !important;
  }
  .footer-bottom p {
    font-size: 0.84rem !important;
  }


    
}
/*KONIEC MOBILE*/



/* ===========================
   TABLET (769px - 900px)
   =========================== */
@media (min-width: 769px) and (max-width: 900px) {
    /* ========== HERO SECTION ========== */
    .hero-text {
        grid-column: 1 / -1;
        max-width: 550px;
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /* Info icons */
    .hero-info-icons {
        display: grid;
        grid-auto-flow: row;
        justify-items: center;
        gap: 1rem;
        font-size: 1.4rem;
        margin-bottom: var(--space-10);
    }

    .highlight-digits {
        font-size: 2.2rem;
        font-weight: 600;
    }

    .dot {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    /* Hero Image */
    .hero-image {
        grid-column: 1 / -1;
        justify-content: center;
        margin: var(--space-10) auto;
    }

    .hero-image-container {
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-bottom-content {
        margin-top: var(--space-16);
    }

    /* ========== PORTFOLIO - 2 KOLUMNY WYCENTROWANE ========== */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-6) !important;
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 var(--space-6) !important;
    }
    
    .portfolio-item {
        aspect-ratio: 4/3 !important;
    }
    
   .portfolio-item img {
    width: 80% !important; /* ✅ MNIEJSZE NA MOBILE */
    height: 80% !important;
    padding: 0 !important;
    object-fit: contain !important;
}

    
    .portfolio-item-content {
        padding: var(--space-5) !important;
    }
    
    .portfolio-item-content h4 {
        font-size: 1.05rem !important;
    }
    
    .portfolio-item-content p {
        font-size: 0.875rem !important;
    }

    /* ========== SERVICES - 2 KOLUMNY WYCENTROWANE ========== */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-6) !important;
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 var(--space-6) !important;
    }
    
    .service-card {
        padding: var(--space-7) var(--space-6) !important;
    }
    
    .service-icon {
        font-size: 3rem !important;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    
    .service-description {
        font-size: 0.95rem !important;
    }

    /* ========== OTHER SECTIONS ========== */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonials-nav {
        display: none;
    }

    .testimonials-track {
        width: 300%;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - var(--space-4));
    }

    /* Logo Tablet */
    .logo-img {
        height: 54px !important;
    }
} /* ✅ KONIEC TABLET */

    .benefits-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-image-container img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: var(--radius-2xl);
    }

    /* HAMBURGER POKAZUJE SIĘ NA MOBILE */
    .hamburger {
        display: flex !important;
    }
    
    /* MENU UKRYTE, POKAZUJE SIĘ PO KLIKNIĘCIU */
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        gap: 0;
        padding: var(--space-8);
        border-top: 1px solid var(--color-dark-light);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-all);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list a {
        padding: var(--space-4) 0;
        border-bottom: 1px solid var(--color-dark-light);
        width: 100%;
        text-align: center;
    }
    
    .nav-list a:last-child { 
        border-bottom: none;
    }

    /* CTA Buttons */
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    section {
        padding: var(--space-16) 0;
    }

    .section-lg {
        padding: var(--space-20) 0;
    }

    /* Testimonials */
    .testimonials-track {
        width: 100%;
    }

    .testimonial-card { 
        flex: 0 0 100%;
    }

    .contact-form-container {
        padding: var(--space-8);
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }
    
    .footer-links {
        justify-content: center;
        gap: var(--space-6);
    }

    /* Spacing Adjustments */
    .section-title { 
        text-align: center;
        margin-bottom: var(--space-12);
    }
    
    .mini-portfolio {
        margin-top: var(--space-16);
    }

    /* Typography */
    h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    h3 { 
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: var(--space-6);
        left: var(--space-6);
        width: 45px;
        height: 45px;
    }

    /* Logo Mobile */
    .logo-img {
        height: 48px !important;
    }
    
    .header {
        min-height: 70px;
    }
    
    .nav-list {
        top: 80px;
    }
} /* ✅ KONIEC MOBILE */


/* ===========================
   TABLET (769px - 900px)
   =========================== */
@media (min-width: 769px) and (max-width: 900px) {
    /* Services Grid - 2 kolumny */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
 .portfolio-item img {
    width: 80% !important; /* ✅ MNIEJSZE NA MOBILE */
    height: 80% !important;
    padding: 0 !important;
    object-fit: contain !important;
}


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

    /* Hero Layout */

    .hero-text {
        grid-column: 1 / -1;
        max-width: 550px;
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /* Info icons */
    .hero-info-icons {
        display: grid;
        grid-auto-flow: row;
        justify-items: center;
        gap: 1rem;
        font-size: 1.4rem;
        margin-bottom: var(--space-10);
    }

    .highlight-digits {
        font-size: 2.2rem;
        font-weight: 600;
    }

    .dot {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }

    /* Hero Image */
    .hero-image {
        grid-column: 1 / -1;
        justify-content: center;
        margin: var(--space-10) auto;
    }

    .hero-image-container {
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-bottom-content {
        margin-top: var(--space-16);
    }

    /* Testimonials */
    .testimonials-nav {
        display: none;
    }

    .testimonials-track {
        width: 300%;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - var(--space-4));
    }

    /* Logo Tablet */
    .logo-img {
        height: 54px !important;
    }
} /* ✅ KONIEC TABLET */


 /* ========================================
   FIX DESKTOP LAYOUT (>1024px)
   ======================================== */


@media (min-width: 1025px) {
    /* 1. NAVIGATION */
    .hamburger {
        display: none !important;
    }

    .nav-list {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        padding: 0 !important;
        gap: var(--space-10) !important;
        border: none !important;
    }

    .nav-list a {
        border-bottom: none !important;
        width: auto !important;
        text-align: left !important;
        padding: var(--space-4) var(--space-4) !important;
    }

    /* 2. BENEFITS - 3 kolumny (6 kart w 2 rzędach) */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 3. PORTFOLIO - 3 kolumny */
     .portfolio-grid {
        grid-template-columns: repeat(3, minmax(340px, 380px)) !important;
        gap: var(--space-8) !important;
        max-width: 1300px !important; /* ✅ SPÓJNE Z BENEFITS (1200→1300) */
    }
    /* 4. SERVICES - 3 kolumny */
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* 5. PROCESS - 2 kolumny + reverse */
    .process-item { 
        grid-template-columns: 1fr 1fr !important; 
    }

    .process-content { 
        grid-column: 1; 
        grid-row: 1; 
    }

    .process-image { 
        grid-column: 2; 
        grid-row: 1; 
    }

    .process-item.reverse .process-content { 
        grid-column: 2; 
    }

    .process-item.reverse .process-image { 
        grid-column: 1; 
    }

    .step-number {
        top: 1rem;
        left: 1rem;
        transform: none;
    }

    .process-item.reverse .step-number {
        left: auto;
        right: 1rem;
    }

    .process-item:hover .step-number {
        transform: scale(1.1);
    }
    
    /* 6. FORM - 2 kolumny */
    .form-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-6) !important;
    }
 
    /* 7. FOOTER */
    .footer-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        text-align: left !important;
    }

    .footer-links {
        flex-direction: row !important;
        gap: var(--space-8) !important;
    }

    /* 8. HERO - 2 kolumny */
    .hero-main-content {
        grid-template-columns: 1fr 1fr  !important;
        gap: 2rem;
        align-items: center;
    }

    .hero-info-icons {
        text-align: left !important;
    }
    .hero-text {
        text-align: left; /* ✅ Tekst wyrównany do lewej */
    }
} /* ✅ KONIEC DESKTOP */

/* ========================================
   NOWA SEKCJA PORTFOLIO - DARK BACKGROUND
   ======================================== */

.mini-portfolio-section-new {
    background: #ffffff;
    padding: var(--space-24) 0;
    position: relative;
    overflow: visible;
}

.mini-portfolio-section-new::before {
    display: none;
}

.mini-portfolio-section-new .container {
    position: relative;
    z-index: 2;
}

.portfolio-new-title {
    text-align: center;
    margin-bottom: var(--space-16);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
}

/* ========== GRID LAYOUT ========== */
.portfolio-new-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-10);
    max-width: 1300px;
    margin: 0 auto;
    padding: var(--space-4);
}

@media (min-width: 1025px) {
    .portfolio-new-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== KARTA - ELEVATED DESIGN ========== */
.portfolio-new-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.portfolio-new-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 30px 60px -10px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(6, 182, 212, 0.25), /* Turkusowy glow */
        0 0 0 2px rgba(6, 182, 212, 0.4),
        0 0 60px rgba(6, 182, 212, 0.3); /* Mocniejsze świecenie */
    border-color: rgba(6, 182, 212, 0.5);
}

/* ========== IMAGE SECTION ========== */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Portrait/near-square screenshots (np. Raz Dwa) — pokaż cały obraz bez przycinania */
.card-image-wrapper img.card-image--contain {
    object-fit: contain;
    padding: var(--space-3, 12px);
}

.portfolio-new-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* ========== CONTENT SECTION ========== */
.card-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

/* Category Tag */
.card-category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: var(--space-1) var(--space-3);
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.portfolio-new-card:hover .card-category {
    background: var(--color-primary);
    color: white;
}

/* Title */
.card-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.portfolio-new-card:hover .card-title {
    color: var(--color-primary);
}

/* Description */
.card-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========== FEATURES ========== */
.card-features {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: var(--font-weight-medium);
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ========== CTA BUTTON ========== */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-4);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.card-cta svg {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.portfolio-new-card:hover .card-cta {
    color: var(--color-primary-dark);
}

.portfolio-new-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* ========== RESPONSIVE - TABLET ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio-new-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
        max-width: 800px;
    }
    
    .card-content {
        padding: var(--space-5);
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 768px) {
    .mini-portfolio-section-new {
        padding: var(--space-16) 0;
    }
    
    .portfolio-new-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-12);
    }
    
    .portfolio-new-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding: var(--space-3);
    }
    
    .portfolio-new-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .card-content {
        padding: var(--space-5);
    }
    
    .card-title {
        font-size: 1.15rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .card-features {
        gap: var(--space-2);
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    .portfolio-new-card,
    .card-image-wrapper img,
    .card-cta svg {
        transition: none !important;
    }
}
/* ========================================
   POPRAWKA: Pozycjonowanie obrazu Power of Mind
   ======================================== */

/* Dla trzeciej karty - pokaż górną część zdjęcia */
.portfolio-new-card:nth-child(3) .card-image-wrapper img {
    object-position: center 15%; /* Reguluj tę wartość: 0% = sama góra, 50% = środek */
}

/* Opcjonalnie: dla wszystkich obrazów z nazwą PowerOfMind */
.card-image-wrapper img[src*="POWEROFMIND"] {
    object-position: center 15%;
}
.header,
.header *,
.nav,
.nav *,
.nav-list,
.nav-list *,
.nav-list a,
header,
header * {
  text-shadow: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* ========== DANE ZAMÓWIENIA – PRINT SHOP TOOL ========== */
.order-tool-section {
    padding: var(--space-16) 0;
    background: var(--color-background-light);
}

.order-summary-container {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.order-summary-container.is-express {
    border: 2px solid #ef4444;
    background: #fffde7;
}

.order-row--7030 {
    display: flex;
    gap: 10px;
    margin-bottom: 9px;
}

.order-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 9px;
}

.order-field--70 {
    flex: 0 0 70%;
    max-width: 70%;
}

.order-field--30 {
    flex: 0 0 calc(30% - 10px);
    max-width: calc(30% - 10px);
}

.order-label {
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.order-input {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    outline: none;
    transition: border-color var(--transition-fast);
}

.order-input:focus {
    border-color: var(--color-primary);
}

.order-textarea {
    resize: vertical;
    min-height: 68px;
}

.order-express-row {
    margin-bottom: 9px;
}

.order-express-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.order-express-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #ef4444;
    cursor: pointer;
}

.order-express-text {
    color: #ef4444;
    font-weight: var(--font-weight-semibold);
}

.order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.order-btn {
    width: 100%;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-all);
}

.order-btn--ghost {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
}

.order-btn--ghost:hover {
    background: #fef2f2;
}

.order-btn--primary {
    padding: 14px 16px;
    font-size: 1.1rem;
    background: var(--color-primary);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.order-btn--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .order-row--7030 {
        flex-direction: column;
        gap: 0;
    }
    .order-field--70,
    .order-field--30 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ── Order tool grid utility (BEM alias for .order-row--7030, usable in new rows) ── */
.order-tool__grid {
    display: flex;
    gap: 10px;
    margin-bottom: 9px;
}

@media (max-width: 768px) {
    .order-tool__grid {
        flex-direction: column;
        gap: 0;
    }
}

/* ── Ghost danger button ── */
.ghost-danger {
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
}

.ghost-danger:hover {
    background: #fef2f2;
}

/* ========== HERO RESTRUCTURE – scalona lewa kolumna ========== */

.hero-main-content {
    align-items: start;
}

.hero-text {
    max-width: none;
    padding-top: 0;
    gap: 10px; /* bazowy odstep; H1 → eyebrow = 10px */
    text-align: left;
    align-items: flex-start;
}

.hero-text .hero-eyebrow {
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

.hero-text .hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    text-align: left;
    font-size: unset;
}

.hero-title .ht-line1,
.hero-title .ht-line2 {
    font-size: clamp(2rem, 3.8vw, 3.375rem); /* powiekszony H1 (~54px na 1440), 2 linie */
    line-height: 1.1;
    white-space: nowrap;
}

.hero-text .hero-info-icons {
    margin-top: 100px;
}

.hero-bottom-content {
    margin-top: var(--space-6);
}

.highlight-digits-tyt {
    color: #0891b2;
}

.hero-cv-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
    align-self: flex-start;
}
.hero-cv-link:hover {
    color: var(--color-primary);
}

/* Subtitle i CTA pod gridem */
.hero-bottom-content .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-6);
}

.hero-bottom-content .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-bottom-content .cta-group .btn {
    width: auto;
    max-width: none;
}

/* Mobile (≤768px) — hero zaprojektowany pionowo, nie skalowany desktop */
@media (max-width: 768px) {
    .hero-main-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        text-align: left !important;
    }
    .hero-text {
        display: contents !important;
    }
    .hero-text .hero-eyebrow {
        order: 1 !important;
        white-space: normal !important;
        text-align: left !important;
        margin: 0 0 var(--space-2) 0 !important;
    }
    .hero-text .hero-title {
        order: 2 !important;
        text-align: left !important;
        margin: 0 !important;
    }
    .hero-title .ht-line1,
    .hero-title .ht-line2 {
        white-space: normal;
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        text-align: left;
    }
    .hero-image {
        order: 3 !important;
        margin: var(--space-6) 0 var(--space-6) 0 !important;
        max-width: 100% !important;
    }
    .hero-image-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .hero-text .hero-info-icons {
        order: 4 !important;
        margin-top: 0 !important;
        align-items: flex-start !important;
        gap: var(--space-3) !important;
    }
    .info-icon {
        justify-content: flex-start !important;
    }
    .info-icon--full {
        width: 100%;
    }
    .info-icon--stat {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    .info-icon--stat .highlight-digits {
        font-size: 2rem !important;
        line-height: 1;
        flex-shrink: 0;
    }
    .info-icon--stat .text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    .hero-bottom-content {
        margin-top: var(--space-8) !important;
        text-align: center !important;
    }
    .hero-bottom-content .cta-group {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    .hero-bottom-content .cta-group .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ========== ZESTAW A: outline CTA dla bocznych kart usług ========== */
/* Środkowa karta (featured) zachowuje pełny cyan. Boczne dostają styl outline. */
.service-card:not(.featured) .service-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}
.service-card:not(.featured) .service-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

/* ========== ZESTAW B: sticky-header cień po scroll ========== */
/* Override globalnego "box-shadow: none !important" dla stanu .scrolled */
.header.scrolled {
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================================
   LEAD MAGNET — teaser na index.html + landing narzedzie.html
   ============================================================ */

/* --- Teaser block na index.html --- */
.lm-teaser {
    background: #0b0f19;
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Loss aversion — jednolinijkowy wstęp nad badge */
.lm-teaser-hook {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0 0 14px;
    max-width: 520px;
}

.lm-teaser-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    margin: 10px 0 0;
    max-width: 520px;
}

.lm-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.lm-teaser-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.lm-teaser-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.lm-teaser-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

.lm-teaser-cta {
    flex-shrink: 0;
    display: inline-block;
    padding: 14px 28px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lm-teaser-cta:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .lm-teaser-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .lm-teaser-cta {
        width: 100%;
        text-align: center;
    }
}

/* --- Landing page narzedzie.html --- */
.lm-landing {
    padding: 140px 0 64px;
    min-height: 80vh;
}

.lm-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.lm-header {
    margin-bottom: 52px;
}

.lm-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.lm-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 16px;
}

.lm-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
    max-width: 620px;
}

/* Points list */
.lm-points {
    list-style: none;
    padding: 0;
    margin: 0 0 52px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lm-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.lm-point:hover {
    border-color: rgba(6,182,212,0.3);
}

.lm-point-num {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    padding-top: 3px;
    min-width: 28px;
}

.lm-point-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.lm-point-text p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Form block */
.lm-form-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 36px;
}

.lm-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.lm-form-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0 0 24px;
    line-height: 1.6;
}

.lm-input-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lm-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 13px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.lm-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

.lm-form input[type="email"].error {
    border-color: #ef4444;
}

.lm-btn {
    flex-shrink: 0;
    padding: 13px 24px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lm-btn:hover:not(:disabled) {
    background: #0891b2;
}

.lm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lm-btn-loader {
    display: none;
}

.lm-privacy {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 14px 0 0;
}

/* Success state */
.lm-success {
    text-align: center;
    padding: 20px 0;
}

.lm-success svg {
    margin-bottom: 16px;
}

.lm-success h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
}

.lm-success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0 0 8px;
}

.lm-success-sub a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.lm-success-sub a:hover {
    text-decoration: underline;
}

/* Back link */
.lm-back {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.lm-back a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.lm-back a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .lm-landing {
        padding: 110px 0 40px;
    }
    .lm-form-wrap {
        padding: 24px 20px;
    }
    .lm-input-row {
        flex-direction: column;
    }
    .lm-btn {
        width: 100%;
        text-align: center;
    }
    .lm-point {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   HERO REFINEMENT 2026 — dopracowanie wyłącznie sekcji hero
   (czytelność, hierarchia, trust cues, dominujący primary CTA)
   ========================================================================== */

/* Wyrównanie kolumn w pionie — tekst wyśrodkowany względem portretu */
.hero-main-content {
    align-items: center;
}

/* Eyebrow: pozwól zawijać dłuższy zestaw kategorii oferty */
.hero-text .hero-eyebrow {
    white-space: normal;
}

/* H1 hero — Albert Sans zamiast Playfair (2026-07-21), tylko ta sekcja */
.hero-text .hero-title {
    font-family: 'Albert Sans', var(--font-heading);
    font-weight: 800;
}
.hero-title .ht-line1,
.hero-title .ht-line2 {
    font-size: clamp(1.875rem, 3.8vw, 3.375rem); /* cel 52-56px, jak wczesniej z Playfair */
}
.hero-title .ht-line2 {
    color: var(--hero-title-accent);
}

/* Wejście hero — kaskada H1 → eyebrow → subtitle, raz przy loadzie */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-text .hero-title,
.hero-text .hero-eyebrow,
.hero-text .hero-subtitle {
    animation: heroFadeInUp 450ms ease-out both;
}
.hero-text .hero-title { animation-delay: 0ms; }
.hero-text .hero-eyebrow { animation-delay: 80ms; }
.hero-text .hero-subtitle { animation-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
    .hero-text .hero-title,
    .hero-text .hero-eyebrow,
    .hero-text .hero-subtitle {
        animation: none;
    }
}

/* Proof points — lista, bez sztucznej 100px przerwy */
ul.hero-info-icons {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-text .hero-info-icons {
    margin-top: 2.875rem; /* subtitle → lista: 10 gap + 46 = 56px */
    gap: 0.9rem;
}
.hero-text .hero-subtitle {
    margin-top: 12px; /* eyebrow → subtitle: 10 gap + 12 = 22px */
}
.info-icon {
    align-items: flex-start;
    gap: 0.65rem;
}
.info-icon .info-check {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.info-icon--stat {
    align-items: center;
    gap: 0.75rem;
}
.info-icon .text {
    white-space: normal;
}

/* Portret — bardziej adekwatny asset, kadr zbalansowany z kolumną tekstu */
.hero-image-container {
    max-width: 420px;
}
.hero-image img {
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: center 22%;
}

/* Podpis pod zdjęciem — czytelny, 2 linie, buduje zaufanie */
.hero-image-caption {
    margin: var(--space-4) 0 0;
    text-align: center;
    max-width: 420px;
    line-height: 1.4;
}
.hero-image-caption .caption-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}
.hero-image-caption .caption-desc {
    display: block;
    margin-top: 2px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Akcje — primary dominujący, secondary wspierający (link, nie przycisk) */
.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
    margin-top: 34px; /* lista → CTA: 10 gap + 34 = 44px (fix niezdefiniowanej --space-7) */
}
.btn.btn-hero-cta {
    padding: var(--space-4) var(--space-8);
    font-size: 1.0625rem;
    min-height: 54px;
    box-shadow: 0 10px 24px -8px rgba(6, 182, 212, 0.45);
}
.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}
.hero-secondary-link span {
    transition: transform 0.2s ease;
}
.hero-secondary-link:hover {
    color: var(--color-primary);
}
.hero-secondary-link:hover span {
    transform: translateX(3px);
}

/* Mobile (≤768px) — jednoznaczna kolejność i lekki układ pionowy */
@media (max-width: 768px) {
    .hero-main-content {
        align-items: stretch !important;
    }
    .hero-text .hero-title   { order: 1 !important; }
    .hero-text .hero-eyebrow { order: 2 !important; }
    .hero-text .hero-subtitle {
        order: 3 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .hero-text .hero-info-icons { order: 4 !important; margin-top: 0 !important; }
    .hero-actions            { order: 5 !important; }
    .hero-image              { order: 6 !important; }

    .hero-image-container {
        max-width: 340px !important;
        margin: 0 auto !important;
    }
    .hero-image img {
        aspect-ratio: 4 / 5;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        margin-top: var(--space-6);
    }
    .btn.btn-hero-cta {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-secondary-link {
        justify-content: center;
    }
}

/* Tablet pośredni (769–900px) — ta sama uporządkowana kolejność co mobile */
@media (min-width: 769px) and (max-width: 900px) {
    .hero-main-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .hero-text { display: contents !important; }
    .hero-text .hero-title    { order: 1 !important; text-align: left !important; }
    .hero-text .hero-eyebrow  { order: 2 !important; text-align: left !important; white-space: normal !important; }
    .hero-image {
        order: 3 !important;
        grid-column: auto !important;
        margin: var(--space-6) auto var(--space-4) !important;
    }
    .hero-text .hero-subtitle {
        order: 4 !important;
        text-align: left !important;
        margin: 0 !important;
        max-width: none !important;
    }
    .hero-text .hero-info-icons {
        order: 5 !important;
        display: flex !important;
        margin: var(--space-5) 0 0 !important;
    }
    .hero-actions { order: 6 !important; margin-top: var(--space-6) !important; }
    .hero-image-container { max-width: 400px !important; }
}

/* Skip link — a11y */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 10000;
    background: var(--color-primary-dark);
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
