/* ==========================================================================
   KOLINK - Dark Enterprise Style with Custom Subpage Extensions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: #18181b;
    --bg-card-hover: #27272a;

    --brand-red: #2563eb;
    --brand-red-hover: #1d4ed8;
    --brand-blue: #2563eb;
    --brand-blue-hover: #3b82f6;
    --brand-cyan: #06b6d4;
    --brand-amber: #f59e0b;
    --brand-emerald: #10b981;

    --brand-gradient-blue: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #06b6d4 100%);
    --brand-gradient-amber: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #27272a;
    --border-light: #3f3f46;

    --font-main: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-glow: 0 4px 20px rgba(37, 99, 235, 0.35);
    --shadow-glow-cyan: 0 4px 20px rgba(6, 182, 212, 0.35);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    overflow-y: scroll; /* Wymusza stałą obecność paska przewijania, eliminując poziome przeskoki całej strony */
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -10%; left: -10%; width: 120%; height: 120%;
    background: radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.06), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* 1. Header & Top bar */
.top-bar {
    background-color: #000000;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 12px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.top-info span {
    margin-right: 24px;
}

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

.top-contact a:hover {
    color: var(--brand-cyan);
}

.top-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Wektorowe Ikony Informacyjne (Zamiast Emojis) */
.top-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.info-icon {
    width: 14px;
    height: 14px;
    color: var(--brand-blue); /* Spójny niebieski akcent marki */
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-details .info-icon {
    width: 18px; /* Większe ikony w boksach kontaktowych */
    height: 18px;
    color: var(--brand-blue);
}

/* Przełącznik Języków (i18n Language Switcher) */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-main);
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: rgba(37, 99, 235, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), inset 0 0 10px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 16px;
}

.logo-icon {
    height: 38px;
    width: 38px; /* Stała szerokość chroni przed przesuwaniem tekstu OLINK i szarpaniem nawigacji */
    display: block;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: white;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 600;
}

/* Burger Button & Navigation Overlay */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 38px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 9px 8px;
    cursor: pointer;
    z-index: 102;
    transition: all 0.3s ease;
}

.burger-btn:hover,
.burger-btn.active {
    border-color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.12);
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger-btn.active .burger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger-btn.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.no-scroll {
    overflow: hidden;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1; /* Zajmuje całą dostępną szerokość między logo a prawą krawędzią */
    margin-left: 48px; /* Elegancki odstęp od logo */
}

.nav .btn {
    margin-left: auto; /* Popycha przycisk Kontakt oraz przełącznik języków na prawą stronę nawigacji */
}

.nav a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 0;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav a:not(.btn):hover,
.nav a.active {
    color: #ffffff;
}

.nav a:not(.btn):hover::after,
.nav a.active::after {
    width: 100%;
}

/* Przyciski - Szklane Kapsuły 3D (Zwykły border, przestrzenny wygląd 3D) */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    
    /* Efekt trójwymiarowego szkła (pionowy gradient i rozmycie) */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.12); /* Równa, delikatna ramka */
    
    /* Górne rozświetlenie (inset) nadające efekt wypukłego szkła */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 
                0 4px 12px rgba(0, 0, 0, 0.3);
                
    cursor: pointer;
    z-index: 1;
    overflow: visible; /* Zapobiega przycinaniu ramki przez przeglądarkę */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Wyłączamy stare pseudo-elementy gradientowe */
.btn::before {
    display: none;
}

/* Wewnętrzny rozbłysk (animowany na hover) */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    transform: scale(0.6);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 
                0 10px 25px -5px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(255, 255, 255, 0.08);
}

.btn:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* Wariant Primary (Główny niebieski o trójwymiarowym wyglądzie) */
.btn-primary {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.04) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 
                0 0 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.25) 0%, rgba(29, 78, 216, 0.08) 100%);
    border-color: #60a5fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 
                0 0 25px rgba(59, 130, 246, 0.55), 
                inset 0 0 10px rgba(59, 130, 246, 0.25);
}

.btn-primary::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

/* Wariant Blue */
.btn-blue {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, rgba(8, 145, 178, 0.03) 100%);
    border: 1.5px solid rgba(6, 182, 212, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 
                0 0 15px rgba(6, 182, 212, 0.2);
}

.btn-blue:hover {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.06) 100%);
    border-color: #22d3ee;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 
                0 0 25px rgba(6, 182, 212, 0.5), 
                inset 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Wariant Amber */
.btn-amber {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(180, 83, 9, 0.03) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 
                0 0 15px rgba(245, 158, 11, 0.2);
}

.btn-amber:hover {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.2) 0%, rgba(180, 83, 9, 0.06) 100%);
    border-color: #fbbf24;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 
                0 0 25px rgba(245, 158, 11, 0.5), 
                inset 0 0 10px rgba(245, 158, 11, 0.2);
}

/* Wariant Outline */
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 
                0 0 15px rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 12px 38px;
    font-size: 0.95rem;
    border-radius: 60px;
}

.btn-sm {
    padding: 6px 22px;
    font-size: 0.75rem;
    border-radius: 40px;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Sekcja Hero */
.hero-bg-work {
    position: relative;
    min-height: 580px; /* Stała minimalna wysokość zapobiega zmianom rozmiaru tła i szarpnięciom strony */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0; /* Bezpieczny wewnętrzny margines przy przepełnieniu na małych ekranach */
    background-image: url('hero.webp');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 60%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-box {
    max-width: 750px;
}

.hero-label {
    display: inline-block;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-text-box h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text-box p {
    font-size: 1.2rem;
    color: #e4e4e7;
    margin-bottom: 48px;
    max-width: 650px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Dynamic Subpage Hero Banner */
.page-hero-banner {
    position: relative;
    padding: 90px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12), transparent 50%),
        #0a0d14;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.page-hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--brand-cyan);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tag-pill {
    background: rgba(39, 39, 42, 0.8);
    border: 1px solid var(--border-light);
    color: #e4e4e7;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-pill-cyan {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--brand-cyan);
}

.tag-pill-amber {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--brand-amber);
}

/* 3. Główne Usługi */
.section-title {
    margin-bottom: 64px;
    max-width: 650px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(24, 24, 27, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(37,99,235,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.service-icon {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    padding: 4px 0;
    border-bottom: 2px solid;
}

.blue-icon {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.red-icon {
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 4. Sekcja zespołu */
.team-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.team-img-wrapper {
    width: 100%;
    height: 420px;
    background-image: url('kolinkWorker.webp');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 12px 0 20px 0;
}

.team-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* 5. Statystyki */
.banner-bg-workers {
    position: relative;
    padding: 160px 0;
    background-image: url('KolinkWorkers.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 1px solid var(--border-color);
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-desc {
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 6. Zaplecze */
.support-section {
    background-color: var(--bg-main);
}

.support-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.support-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.support-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.support-header p {
    color: var(--text-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.support-card {
    background: rgba(24, 24, 27, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(6,182,212,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.support-card:hover {
    transform: translateY(-8px);
    background: rgba(39, 39, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.support-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.support-card-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.support-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.badge {
    background: rgba(39, 39, 42, 0.5);
    color: var(--text-primary);
    font-size: 0.72rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: none;
    box-shadow: none;
}

.badge-amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: none;
    box-shadow: none;
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: none;
    box-shadow: none;
}

.support-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.clean-list {
    list-style: none;
}

.clean-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.clean-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

/* ==========================================================================
   DEDYKOWANE KOMPONENTY I KATALOG SPRZĘTU (Wynajem Sprzętu)
   ========================================================================== */
.filter-tabs-wrapper {
    margin-bottom: 48px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.equipment-card {
    background: linear-gradient(160deg, #151a26 0%, #10141e 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.equipment-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.15);
}

.equipment-card-header {
    padding: 24px 28px 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipment-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipment-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.3;
}

.equipment-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Tabela Parametrów w Karcie Sprzętu */
.equipment-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(9, 12, 18, 0.8);
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.spec-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-box .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-box .value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.equipment-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--brand-emerald);
    font-weight: 600;
}

.status-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--brand-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-emerald);
}

/* ==========================================================================
   DEDYKOWANE KOMPONENTY (Obsługa Prawno-Legalizacyjna)
   ========================================================================== */
.legal-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.legal-card {
    background: linear-gradient(160deg, #151a26 0%, #0d1017 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.legal-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
}

.legal-badge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.legal-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-amber);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.legal-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
}

.legal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Timeline/Workflow Steps Component */
.workflow-timeline-wrapper {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    position: relative;
}

.workflow-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s ease;
}

.workflow-step-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.step-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--brand-cyan);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.workflow-step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.workflow-step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Guarantee / Trust Banner Box */
.trust-banner-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}

.trust-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   FORMULARZE DLA PODSTRON (Wynajem & Prawo)
   ========================================================================== */
.form-container-card {
    background: rgba(21, 26, 38, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.form-container-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(6,182,212,0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-cyan);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-group.full-width {
    grid-column: 1 / -1;
}

.form-field-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e4e4e7;
}

.form-input-control {
    width: 100%;
    padding: 14px 18px;
    background: #090c14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.25s ease;
}

.form-input-control:focus {
    outline: none;
    border-color: var(--brand-blue-hover);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    background: #0d111c;
}

select.form-input-control {
    cursor: pointer;
}

textarea.form-input-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   7. Kontakt & Stopka
   ========================================================================== */
.contact-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-box {
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.main-contact {
    background: linear-gradient(145deg, var(--bg-card), #1e1e24);
    border-color: #3f3f46;
}

.sub-contact {
    background-color: var(--bg-main);
}

.contact-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--brand-blue);
}

.contact-details span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 36px 0;
    text-align: center;
    color: #52525b;
    font-size: 0.85rem;
    background-color: #05070a;
}

.footer-links-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links-nav a:hover {
    color: var(--brand-cyan);
}

@media (max-width: 992px) {
    .burger-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        padding: 24px 20px 32px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    }

    .nav.nav-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a:not(.btn) {
        font-size: 1.02rem;
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        display: block;
        transition: all 0.2s ease;
    }

    .nav a:not(.btn):hover,
    .nav a.active {
        background: rgba(37, 99, 235, 0.18);
        border-color: rgba(37, 99, 235, 0.4);
        color: #ffffff;
    }

    .nav .btn {
        width: 100%;
        margin-top: 6px;
        margin-left: 0; /* Resetuje wypychanie z wersji desktopowej */
        padding: 14px 24px;
        font-size: 1rem;
        justify-content: center;
    }

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

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

    .form-grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .top-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .top-info span {
        margin-right: 0;
    }

    .top-right-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .lang-switcher {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .lang-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .hero-bg-work,
    .banner-bg-workers {
        background-attachment: scroll;
    }

    .hero-bg-work {
        min-height: 480px;
        padding: 60px 0;
    }

    .form-container-card {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 14px 0;
    }

    .nav {
        top: 67px;
    }

    .logo-icon {
        height: 32px;
    }

    .logo-title {
        font-size: 1.6rem;
    }

    .hero-text-box h1 {
        font-size: 2rem;
    }

    .hero-text-box p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .service-card,
    .support-card,
    .contact-box,
    .legal-card,
    .equipment-card-body {
        padding: 22px 16px;
    }

    .equipment-card-header {
        padding: 18px 16px 12px 16px;
    }

    .equipment-specs-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .stats-container {
        gap: 24px;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .footer-links-nav {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   Wizualne Zdjęcia Kart (Subpage Card Images)
   ========================================================================== */
.card-image-box {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    background-color: #080b12;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-img {
    transition: transform 0.4s ease;
    display: block;
}

/* Zdjęcia Prawne (Ciemne / Wypełnienie Całej Karty) */
.legal-card .card-image-box {
    background-color: #080b12;
    padding: 0;
    border-color: var(--border-color);
}

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

/* Zdjęcia Maszyn (Białe Tło / Estetyczna Ramka) */
.equipment-card .card-image-box {
    background-color: #ffffff;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.equipment-card .card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.legal-card:hover .card-img,
.support-card:hover .card-img,
.equipment-card:hover .card-img {
    transform: scale(1.05);
}

/* ==========================================================================
   Modal Formularza Legalizacyjnego (Legal Services Modal)
   ========================================================================== */
.legal-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.legal-modal.active {
    display: flex;
    opacity: 1;
}

.legal-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--brand-red);
}

.legal-form .form-group {
    margin-bottom: 20px;
}

.legal-form .form-group-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.legal-form .form-group-row .form-group {
    margin-bottom: 0;
}

.legal-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.legal-form input[type="text"],
.legal-form input[type="email"],
.legal-form input[type="tel"],
.legal-form textarea {
    width: 100%;
    padding: 12px 14px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.legal-form textarea {
    resize: vertical;
}

.legal-form input:focus,
.legal-form textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.legal-form input::placeholder,
.legal-form textarea::placeholder {
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .legal-modal-content {
        padding: 24px 20px;
        width: 95%;
    }

    .legal-form .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .legal-form .form-group-row .form-group {
        margin-bottom: 20px;
    }
}

/* Modal Imigracyjny (Rozszerzony) */
.immigration-modal-content {
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 40px;
}

/* Własny scrollbar dla dużego modala */
.immigration-modal-content::-webkit-scrollbar {
    width: 8px;
}

.immigration-modal-content::-webkit-scrollbar-track {
    background: var(--bg-main);
    border-radius: 4px;
}

.immigration-modal-content::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

.immigration-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

.form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 12px;
}

.form-section h4 {
    color: var(--brand-blue);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.radio-group label input[type="radio"] {
    accent-color: var(--brand-blue);
    width: 16px;
    height: 16px;
}

/* Płynne przełączanie języka (i18n smooth transition) */
.hero-bg-work,
section,
.footer,
.nav a {
    transition: opacity 0.22s ease-in-out;
}

body.lang-switching .hero-bg-work,
body.lang-switching section,
body.lang-switching .footer,
body.lang-switching .nav a {
    opacity: 0;
}

/* Dane rejestrowe i godziny otwarcia w stopce */
.footer-info {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
}

.footer-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}