/* --- GLOBAL DESIGN SYSTEM & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

:root {
    --primary: #004C97;
    --primary-light: #e6f0fa;
    --primary-dark: #003366;
    --accent: #E30613;
    --accent-hover: #b8050f;
    --accent-light: #fdebee;
    --dark-bg: #0B0F19;
    --dark-card: #151D30;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-white: #F8FAFC;
    
    --border-color: #E2E8F0;
    --border-dark: #263350;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08), 0 2px 10px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 76, 151, 0.25);
    --shadow-glow-red: 0 0 20px rgba(227, 6, 19, 0.3);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --max-width: 1280px;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Header jest position:fixed (68px desktop / 60px mobile), więc bez tego
       każdy skok do kotwicy (#kontakt, #faq) chowa tytuł sekcji pod menu. */
    scroll-padding-top: 84px;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.header-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 76, 151, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 76, 151, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

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

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    padding: 0;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 51, 102, 0.1);
    border-bottom-color: rgba(226, 232, 240, 0.9);
}

.header-container.nav-container {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 32px;
    max-width: 100%;
}

/* LOGO */
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: opacity 0.2s;
}

.logo-img:hover { opacity: 0.85; }

/* Hidden on desktop — only shown inside @media (max-width: 900px) */
.nav-close-btn { display: none; }
.hamburger     { display: none; }

/* ---- DESKTOP NAV ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #374151;
    padding: 7px 13px;
    border-radius: 8px;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

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

.nav-item:hover {
    color: var(--primary);
    background-color: #EEF4FF;
}

.nav-item.active {
    color: var(--primary);
    background-color: #EEF4FF;
}

.nav-item i.fa-chevron-down {
    font-size: 9px;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-item i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}

/* NAV CTA (right side) */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.phone-cta {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    white-space: nowrap;
    padding: 7px 13px;
    border-radius: 8px;
    border: 1.5px solid #E5E7EB;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.phone-cta i { color: var(--accent); font-size: 12px; }

.phone-cta:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #EEF4FF;
}

/* HAMBURGER — hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: 1.5px solid #E5E7EB;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.hamburger:hover {
    border-color: var(--primary);
    background-color: #EEF4FF;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.25s;
}

/* ---- DROPDOWN MENUS (desktop only) ---- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .nav-item { cursor: default; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #FFFFFF;
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 14px;
    box-shadow: 0 12px 40px -4px rgba(0,51,102,0.16), 0 2px 8px rgba(0,0,0,0.05);
    padding: 8px 6px;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1002;
}

/* Arrow tip */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background: #fff;
    border: 1px solid rgba(226,232,240,0.9);
    border-bottom: none;
    border-right: none;
    border-radius: 2px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-radius: 8px;
    transition: background-color 0.12s, color 0.12s, padding-left 0.12s;
    position: relative;
}

.dropdown-menu a:first-child {
    font-weight: 700;
    color: var(--primary-dark);
    border-bottom: 1px solid #F1F5F9;
    border-radius: 8px 8px 0 0;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.dropdown-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E2E8F0;
    border: 1.5px solid #CBD5E1;
    flex-shrink: 0;
    transition: background-color 0.12s, border-color 0.12s;
}

.dropdown-menu a:first-child::before {
    background-color: var(--accent);
    border-color: var(--accent);
}

.dropdown-menu a:hover {
    background-color: #EEF4FF;
    color: var(--primary);
    padding-left: 18px;
}

.dropdown-menu a:hover::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ---- MOBILE SIDE PANEL (<= 900px) ---- */
@media (max-width: 900px) {
    .header-container.nav-container {
        padding: 0 20px;
        height: 60px;
    }

    .logo-img { height: 38px; }

    .hamburger { display: flex; flex-direction: column; }

    /* Full nav hidden by default — slides in from right */
    .nav-links {
        position: fixed;
        top: 0;
        right: -340px;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 80px 0 40px;
        box-shadow: -8px 0 40px rgba(0,0,0,0.12);
        transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        backdrop-filter: blur(2px);
        z-index: 998;
    }

    .nav-overlay.open { display: block; }

    /* Mobile nav items */
    .nav-item {
        font-size: 15px;
        padding: 13px 28px;
        border-radius: 0;
        border-bottom: 1px solid #F1F5F9;
        justify-content: space-between;
        width: 100%;
    }

    .nav-item:hover {
        background-color: #F8FAFF;
        padding-left: 32px;
    }

    /* Dropdown on mobile — accordion */
    .nav-dropdown { width: 100%; }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #F8FAFF;
        padding: 4px 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .dropdown-menu::before { display: none; }

    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 11px 28px 11px 44px;
        border-radius: 0;
        font-size: 14px;
        border-bottom: 1px solid #F1F5F9;
        color: #4B5563;
    }

    .dropdown-menu a:first-child {
        font-weight: 700;
        color: var(--primary-dark);
        border-bottom: 1px solid #E5E7EB;
        border-radius: 0;
        padding-bottom: 11px;
        margin-bottom: 0;
    }

    .dropdown-menu a:hover {
        padding-left: 48px;
        background-color: #EEF4FF;
    }

    .nav-cta { display: none; }

    /* Close button inside panel */
    .nav-close-btn {
        position: absolute;
        top: 18px;
        right: 20px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F1F5F9;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        color: #374151;
        transition: background-color 0.15s;
    }

    .nav-close-btn:hover { background: #E5E7EB; }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background-color: var(--dark-bg);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Fallback: gdy hero-bg.mp4 nie dojedzie, zostaje zdjęcie zamiast czerni */
    background: url('../assets/images/optimized/IMG_0016.jpeg') center center / cover no-repeat;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* POKRĘTŁO KADRU. Wideo jest 16:9, sekcja ma wysokość okna — coś musi
       zostać przycięte. Ta wartość decyduje, KTÓRA część kadru przetrwa.
       center center = środek (domyślnie). Akcja wyżej? -> center 30%.
       Niżej? -> center 70%. Zmień tylko drugą wartość. */
    object-position: center center;
}

/* Dostępność: użytkownik z włączonym ograniczeniem animacji w systemie
   nie dostaje ruchomego tła — zostaje poster i zdjęcie z kontenera. */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

/* Anty-klatkowanie: wideo jest przezroczyste, dopóki skrypt nie doda klasy
   -ready (zdarzenie canplaythrough = "mam bufor na płynną grę"). Wcześniej
   widać poster i zdjęcie z kontenera — użytkownik nigdy nie ogląda zacięć. */
.hero-video {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-video.hero-video-ready {
    opacity: 1;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.85) 0%, rgba(0, 40, 80, 0.75) 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    max-width: 720px;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(227, 6, 19, 0.15);
    border: 1px solid rgba(227, 6, 19, 0.3);
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    color: #ff5e68;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: #ff5e68;
    background: linear-gradient(90deg, var(--accent) 0%, #ff858d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

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

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.hero-feat-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

/* --- STATS SECTION --- */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-number span {
    color: #ff5e68;
}

.stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* --- PROCESS SECTION --- */
.process {
    background-color: var(--white);
}

.process-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Process Left: Navigation Steps */
.process-steps-nav {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--border-color);
}

.process-step-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    left: -3px; /* Align with border-left */
}

.process-step-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: transparent;
    transition: var(--transition);
}

.process-step-btn:hover {
    background-color: var(--light-bg);
}

.process-step-btn.active {
    background-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.process-step-btn.active::before {
    background-color: var(--primary);
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.process-step-btn.active .step-num {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 10px rgba(0, 76, 151, 0.3);
}

.step-title-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    transition: var(--transition);
}

.process-step-btn.active .step-title-text {
    color: var(--primary);
}

/* Process Right: Dynamic Content Card */
.process-content-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 520px;
}

.process-media {
    position: relative;
    height: 280px;
    background-color: var(--light-bg);
    overflow: hidden;
}

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

.process-content-card:hover .process-media img {
    transform: scale(1.03);
}

.process-text-pane {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeIn 0.4s ease-in-out;
}

.process-text-pane h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 800;
}

.process-text-pane p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.process-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.process-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.process-bullet-item i {
    color: var(--accent);
    margin-top: 4px;
}

.process-bullet-item strong {
    color: var(--text-main);
}

/* --- INFRASTRUCTURE (AUTOMATION & SCALE) SECTION --- */
.infra {
    background-color: var(--white);
}

.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.infra-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.infra-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    background-color: var(--white);
    border-color: var(--primary-light);
}

.infra-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.infra-card h3 i {
    color: var(--accent);
}

.infra-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.infra-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.infra-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.infra-item-icon {
    color: var(--accent);
    margin-top: 4px;
    font-size: 16px;
}

.infra-item-text strong {
    color: var(--text-main);
}

.infra-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.infra-badge {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.infra-card:hover .infra-badge {
    background-color: var(--primary-light);
    border-color: rgba(0, 76, 151, 0.15);
}

.infra-badge span {
    display: block;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 900;
}

.infra-card:hover .infra-badge span {
    color: var(--accent);
}

/* --- SERVICES (VAS) SECTION --- */
.vas {
    background-color: var(--light-bg);
}

.vas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.vas-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vas-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition);
}

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

.vas-card:hover::before {
    background-color: var(--accent);
}

.vas-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.vas-card:hover .vas-icon {
    background-color: var(--accent);
    color: var(--white);
}

.vas-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.vas-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* --- INTEGRATIONS SECTION --- */
.integrations {
    background-color: var(--white);
}

.integrations-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integrations-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.integrations-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.integrations-visual {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.integration-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 15px 0;
    flex-wrap: wrap;
}

.integration-item {
    padding: 10px 18px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.connector-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    box-shadow: var(--shadow-glow);
    z-index: 2;
    border: 4px solid var(--white);
}

.connector-center span {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

/* --- CALCULATOR SECTION --- */
.calculator {
    background-color: var(--light-bg);
}

.calculator-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-controls h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.calc-controls p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.range-slider-container {
    margin-bottom: 40px;
}

.range-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.range-label span:last-child {
    color: var(--primary);
    font-size: 20px;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    accent-color: var(--primary);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: var(--shadow-glow-red);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-results {
    background-color: var(--primary-light);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calc-res-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 76, 151, 0.1);
    padding-bottom: 15px;
}

.calc-res-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-res-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
}

.calc-res-val {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.calc-res-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 76, 151, 0.7);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-size: 24px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--dark-bg);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(0, 76, 151, 0.2);
    border: 1px solid rgba(0, 76, 151, 0.4);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-text h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}

.contact-text p {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
}

/* Form Styling with Floating Labels */
.contact-form-wrapper {
    background-color: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 50px;
    border: 1px solid var(--border-dark);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.08);
    box-shadow: 0 0 10px rgba(0, 76, 151, 0.2);
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: var(--transition);
}

/* Floating Label Animation */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
    font-size: 12px;
    color: var(--accent);
    background-color: var(--dark-card);
    padding: 0 8px;
    transform: translateY(-50%);
}

/* Textarea specifically */
textarea.form-control {
    height: 120px;
    resize: none;
}

textarea.form-control ~ .form-label {
    top: 24px;
}

textarea.form-control:focus ~ .form-label,
textarea.form-control:not(:placeholder-shown) ~ .form-label {
    top: 0;
}

.form-select {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    appearance: none;
    cursor: pointer;
}

.form-select option {
    background-color: var(--dark-card);
    color: var(--white);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    margin-top: 3px;
}

.checkbox-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent);
}

/* Pole-pułapka na boty: poza ekranem, niewidoczne i nieosiągalne dla ludzi,
   ale obecne w DOM — boty wypełniające wszystko po kolei zdradzają się same. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.form-status {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* --- FOOTER --- */
footer {
    background-color: #080B12;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-dark);
}

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

.footer-brand h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-dark);
    padding-top: 30px;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* --- KEYFRAMES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- INFRASTRUCTURE VIDEOS --- */
.infra-videos-section {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
}

.infra-videos-title {
    font-size: 26px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.infra-videos-title i {
    color: var(--accent);
}

.infra-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.infra-video-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.infra-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background-color: var(--white);
}

.video-wrapper {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: #000;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.infra-video-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
}

.infra-video-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .infra-videos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .infra-videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- RESPONSIVENESS (RWD) --- */
@media (min-width: 1201px) and (max-width: 1350px) {
    .nav-links {
        gap: 16px;
    }
    .nav-item {
        font-size: 13.5px;
    }
    .phone-cta {
        font-size: 14px;
    }
    .nav-cta {
        gap: 10px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    .hero-text h1 {
        font-size: 46px;
    }
    .process-container {
        gap: 40px;
    }
    .infra-grid {
        grid-template-columns: 1fr;
    }
    .infra-card {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        max-width: 600px;
        margin: 40px auto 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-container {
        grid-template-columns: 1fr;
    }
    
    .process-steps-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        border-left: none;
        border-bottom: 3px solid var(--border-color);
        gap: 5px;
    }
    
    .process-step-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 12px 16px;
        left: 0;
        border-radius: 8px 8px 0 0;
    }
    
    .process-step-btn::before {
        left: 0;
        bottom: -3px;
        top: auto;
        width: 100%;
        height: 3px;
    }
    
    .vas-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
    }
    
    .infra-card {
        padding: 30px;
    }
    
    .integrations-container {
        grid-template-columns: 1fr;
    }
    
    .calculator-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps-nav {
        padding-bottom: 10px;
    }
    
    .process-step-btn {
        padding: 10px 12px;
    }
    
    .step-num {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .step-title-text {
        font-size: 14px;
    }
    
    .process-media {
        height: 200px;
    }
    
    .process-text-pane {
        padding: 24px;
    }
    
    .process-text-pane h3 {
        font-size: 22px;
    }
    
    .vas-grid {
        grid-template-columns: 1fr;
    }
    
    .infra-badge-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .calc-results {
        padding: 24px;
    }
    
    .calc-res-val {
        font-size: 26px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* --- SUBPAGE DETAILS & STYLING --- */
.subpage-hero {
    position: relative;
    padding: 180px 0 110px;
    background: linear-gradient(135deg, #0B0F19 0%, #003366 55%, #004C97 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* Decorative mesh/glow background */
.subpage-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 76, 151, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.subpage-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
}

.subpage-hero h1 {
    font-size: 54px;
    color: var(--white);
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.subpage-hero h1 span {
    background: linear-gradient(90deg, #ffffff, #a8c8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subpage-hero p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto 36px;
    opacity: 0.82;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.subpage-hero-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(227,6,19,0.3));
    border-radius: 2px;
    margin: 0 auto 30px;
}

.subpage-section {
    padding: 90px 0;
}

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

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

.subpage-content h2 {
    font-size: 36px;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.2;
}

.subpage-content-eyebrow {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.subpage-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.8;
}

.subpage-content-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px 0 28px;
}

.subpage-bullets {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.subpage-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.subpage-section-alt .subpage-bullet-item {
    background: var(--white);
}

.subpage-bullet-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 14px rgba(0,76,151,0.08);
}

.subpage-bullet-item i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.subpage-bullet-item div {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.subpage-media {
    position: relative;
}

.subpage-media::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: calc(var(--border-radius) + 8px);
    background: linear-gradient(135deg, var(--primary-light), rgba(227,6,19,0.06));
    z-index: 0;
}

.subpage-media img {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.subpage-cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #004C97 100%);
    border-radius: var(--border-radius);
    padding: 64px 50px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.subpage-cta-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.subpage-cta-card h3 {
    font-size: 30px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.subpage-cta-card p {
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,0.75);
    position: relative;
    z-index: 1;
    line-height: 1.75;
}

.subpage-cta-card .btn-primary {
    position: relative;
    z-index: 1;
    font-size: 16px;
    padding: 16px 36px;
    box-shadow: 0 6px 24px rgba(227,6,19,0.4);
}

@media (max-width: 900px) {
    .subpage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .subpage-media img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 152px 0 70px;
    }

    .subpage-hero h1 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }
    
    .subpage-hero p {
        font-size: 15px;
    }

    .subpage-section {
        padding: 60px 0;
    }

    .subpage-cta-card {
        padding: 40px 24px;
    }

    .subpage-cta-card h3 {
        font-size: 24px;
    }
}

/* --- NAV DROPDOWN STYLING --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    box-shadow: 0 8px 40px -4px rgba(0, 51, 102, 0.18), 0 2px 10px -2px rgba(0, 0, 0, 0.06);
    padding: 10px 8px;
    min-width: 270px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s;
    z-index: 1002;
    backdrop-filter: blur(12px);
}

/* Arrow tip above dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: none;
    border-right: none;
    rotate: 45deg;
    border-radius: 2px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 8px;
    transition: background-color 0.15s, color 0.15s, padding-left 0.15s;
    text-align: left;
    position: relative;
}

.dropdown-menu a:first-child {
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    margin-bottom: 6px;
    padding-bottom: 14px;
}

.dropdown-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
    border: 1.5px solid var(--primary);
    flex-shrink: 0;
    transition: background-color 0.15s;
}

.dropdown-menu a:first-child::before {
    background-color: var(--accent);
    border-color: var(--accent);
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 20px;
}

.dropdown-menu a:hover::before {
    background-color: var(--primary);
}

/* Mobile dropdown adjustment */
@media (max-width: 1200px) {
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border-color);
        padding: 6px 0 6px 16px;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: auto;
        background-color: transparent;
        backdrop-filter: none;
        border-radius: 0;
        margin-top: 4px;
    }

    .dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 8px 0;
        font-size: 13px;
        color: var(--text-muted);
        border-radius: 0;
        gap: 8px;
    }

    .dropdown-menu a:first-child {
        border-bottom: none;
        margin-bottom: 0;
        font-weight: 600;
        color: var(--text-muted);
        padding-bottom: 8px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 6px;
        background-color: transparent;
        color: var(--primary);
    }
}

/* ============================================================
   MODERN SUBPAGE LAYOUT SYSTEM (sp-*)
   ============================================================ */

/* ---- Section base ---- */
.sp-section {
    padding: 100px 0;
}

.sp-section-dark {
    background: linear-gradient(135deg, #0B0F19 0%, #00285A 60%, #004C97 100%);
    color: #fff;
}

/* ---- Section header ---- */
.sp-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.sp-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sp-section-header p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
}

.sp-section-header-white h2 { color: #fff; }
.sp-section-header-white p  { color: rgba(255,255,255,0.7); }

/* ---- Eyebrow label ---- */
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    justify-content: center;
}

.sp-eyebrow-white {
    color: rgba(255,255,255,0.55);
}

/* ---- Hero stats bar ---- */
.sp-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 24px 40px;
    backdrop-filter: blur(8px);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.sp-hero-stat {
    flex: 1;
    text-align: center;
}

.sp-hero-stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.sp-hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
    margin: 0 24px;
}

/* ---- Split layout: content + image ---- */
.sp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sp-split-media {
    position: relative;
}

.sp-split-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 60px -8px rgba(0,51,102,0.25);
    display: block;
}

/* Decorative corner accent */
.sp-split-media::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-light);
    border-radius: 22px;
    z-index: -1;
}

/* Floating badge on image */
.sp-media-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sp-media-badge i {
    font-size: 24px;
    color: #198754;
}

.sp-media-badge span {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.sp-media-badge strong {
    font-size: 20px;
    color: #198754;
}

/* ---- Feature list (vertical) ---- */
.sp-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sp-feature-item:hover {
    box-shadow: 0 8px 24px rgba(0,76,151,0.1);
    border-color: #c7dcf7;
    transform: translateX(4px);
}

.sp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: color-mix(in srgb, var(--icon-color, var(--primary)) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-feature-icon i {
    font-size: 18px;
    color: var(--icon-color, var(--primary));
}

.sp-feature-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.sp-feature-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ---- Shuttle stats grid ---- */
.sp-shuttle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.sp-shuttle-stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}

.sp-shuttle-stat-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.sp-shuttle-stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sp-shuttle-stat-icon i {
    font-size: 22px;
    color: #7ab8ff;
}

.sp-shuttle-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.sp-shuttle-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* Description row below stats */
.sp-shuttle-desc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sp-shuttle-desc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 24px;
}

.sp-shuttle-desc-item i {
    font-size: 20px;
    color: #7ab8ff;
    margin-top: 2px;
    flex-shrink: 0;
}

.sp-shuttle-desc-item p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0;
}

/* ---- CTA Banner ---- */
.sp-cta-banner {
    background: linear-gradient(135deg, #003366 0%, #004C97 100%);
    border-radius: 24px;
    padding: 72px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sp-cta-banner::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sp-cta-banner-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sp-cta-banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

.sp-cta-banner-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-cta-phone {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s;
}

.sp-cta-phone:hover { color: #fff; }
.sp-cta-phone i { color: var(--accent); }

.sp-cta-banner-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sp-cta-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 70%);
    border: 1px solid rgba(255,255,255,0.12);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sp-cta-icon-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-cta-icon-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
}

.sp-cta-icon-list i {
    width: 22px;
    height: 22px;
    background: rgba(25, 135, 84, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    font-size: 10px;
    flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .sp-shuttle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .sp-section { padding: 70px 0; }

    .sp-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-split-media { order: -1; }
    .sp-split-media img { height: 300px; }
    .sp-split-media::before { display: none; }

    .sp-hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .sp-hero-stat-divider {
        width: 40px;
        height: 1px;
        margin: 0;
    }

    .sp-section-header h2 { font-size: 30px; }
    .sp-section-header { margin-bottom: 40px; }

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

    .sp-cta-banner {
        grid-template-columns: 1fr;
        padding: 44px 32px;
        gap: 32px;
    }

    .sp-cta-banner-visual { display: none; }
    .sp-cta-banner-content h3 { font-size: 26px; }
}

@media (max-width: 640px) {
    .sp-shuttle-grid { grid-template-columns: 1fr 1fr; }
    .sp-cta-banner-actions { flex-direction: column; align-items: flex-start; }
}


/* --- FAQ SECTION --- */
.faq {
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item[open]::before {
    background-color: var(--accent);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 26px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.faq-item[open] .faq-icon {
    background-color: var(--accent);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    margin: 0 32px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

.faq-answer strong {
    color: var(--text-main);
    font-weight: 700;
}

.faq-footnote {
    text-align: center;
    margin-top: 50px;
    font-size: 15px;
    color: var(--text-muted);
}

.faq-footnote a {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.faq-footnote a:hover {
    border-bottom-color: var(--accent);
}

@media (max-width: 640px) {
    .faq-question {
        padding: 22px 24px;
        font-size: 16px;
        gap: 16px;
    }
    .faq-answer {
        margin: 0 24px;
        padding-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-item::before,
    .faq-question,
    .faq-icon {
        transition: none;
    }
    .faq-item[open] .faq-icon {
        transform: none;
    }
}

/* ============================================================
   KONIEC PLIKU style.css  (marker integralności)
   Jeśli w view-source:https://logistyka.domino.pl/css/style.css
   NIE widzisz tej linii na samym dole — plik na serwerze jest
   UCIĘTY (przerwany transfer FTP). Wgraj ponownie, tryb binarny.
   ============================================================ */
