/* ==========================================================================
   Zasuń: wspólne style dla wszystkich wersji językowych
   ========================================================================== */

:root {
    --blue: #0C56BC;
    --blue-dark: #00308F;
    --blue-light: #8fb6ef;
    --ink: #1a1a1a;
    --text: #4a4a4a;
    --muted: #6f6f6f;
    --line: #e4e6ea;
    --soft: #f3f6fb;
    --max: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero-bg picture { height: 100%; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Icons (inline SVG sprite) */
.i { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Typography */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 24px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text); max-width: 60ch; }
.accent { border-left: 2px solid var(--blue); padding-left: 16px; color: var(--text); }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .i-chevron { transition: transform .2s; }
.btn:hover .i-chevron { transform: translateX(4px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav .logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.menu { display: flex; gap: 28px; }
.menu a, .lang a { text-decoration: none; font-weight: 600; position: relative; }
.menu a { color: var(--ink); }
.menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--blue); transition: width .3s ease-out; }
.menu a:hover { color: var(--blue); }
.menu a:hover::after { width: 100%; }
.lang { display: flex; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line); }
.lang a { font-size: 14px; color: var(--muted); padding: 4px 8px; border-radius: 4px; }
.lang a:hover { color: var(--blue); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; padding: 8px; color: var(--ink); line-height: 0; }
.burger .i-close { display: none; }
.nav.open .burger .i-menu { display: none; }
.nav.open .burger .i-close { display: block; }

/* Hero */
.hero { position: relative; color: #fff; padding: clamp(96px, 14vw, 176px) 0 0; background: #0d1410; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,12,18,.92) 0%, rgba(8,12,18,.75) 50%, rgba(8,12,18,.35) 100%); }
.hero .eyebrow { color: var(--blue-light); }
.hero h1 { max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,.85); margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.trust { margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid rgba(255,255,255,.15); }
.trust ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust li { padding: 28px 24px 32px 0; display: flex; gap: 14px; align-items: flex-start; }
.trust li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.15); }
.trust .i { color: var(--blue-light); font-size: 22px; margin-top: 2px; }
.trust strong { display: block; font-size: 17px; }
.trust span { font-size: 15px; color: rgba(255,255,255,.75); }

/* About */
.about .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about .lead { margin-bottom: 32px; }
.facts { display: grid; gap: 20px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.brands li { font-size: 14px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.badge { position: absolute; left: -24px; bottom: 32px; background: var(--blue); color: #fff; padding: 20px 24px; border-radius: 8px; box-shadow: 0 12px 32px rgba(12,86,188,.3); }
.badge strong { display: block; font-size: 32px; line-height: 1; }
.badge span { font-size: 14px; opacity: .9; }

/* Services */
.services { background: var(--soft); }
.services-head { max-width: 760px; margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16,24,40,.08); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 28px; }
.card-num { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.card h3 { font-size: 20px; font-weight: 600; margin: 8px 0 10px; }
.card p { color: var(--text); }

/* Process */
/* Jedna ciągła linia bazowa; kropka każdego kroku przesuwa się po niej w prawo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 0; row-gap: 48px; margin-top: 56px; counter-reset: step; }
.step { position: relative; border-top: 2px solid var(--line); padding: 32px 32px 0 0; }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #fff; }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 32px; left: 0; font-weight: 700; color: var(--blue); font-size: 14px; letter-spacing: .1em; line-height: 1; }
.step h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.step p { color: var(--text); font-size: 16px; }

/* Contact */
.contact { padding-top: 0; }
.contact-box { background: var(--ink); color: #fff; border-radius: 12px; padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact-box .eyebrow { color: var(--blue-light); }
.contact-box .lead { color: rgba(255,255,255,.78); }
.contact-links { display: grid; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.contact-link:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.contact-link .icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--blue); border-radius: 50%; font-size: 18px; flex-shrink: 0; }
.contact-link small { display: block; color: rgba(255,255,255,.65); font-size: 14px; }
.contact-link strong { font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 600; overflow-wrap: anywhere; }
.contact-note { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.65); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 15px; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer .company { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
footer .company img { height: 14px; width: auto; }
footer a { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
    .burger { display: block; }
    .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px var(--gutter) 32px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(16,24,40,.08); }
    .nav.open .nav-links { display: flex; }
    .menu { flex-direction: column; gap: 18px; font-size: 18px; }
    .lang { padding-left: 0; border-left: 0; }
    .about .container, .contact-box { grid-template-columns: 1fr; }
    .badge { left: 16px; bottom: 16px; }
    .cards, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .trust ul, .cards, .steps { grid-template-columns: 1fr; }
    .trust li, .trust li + li { padding: 20px 0; border-left: 0; }
    .trust li + li { border-top: 1px solid rgba(255,255,255,.15); }
    .hero-cta .btn { width: 100%; justify-content: center; }
    /* Na telefonie oś czasu biegnie pionowo */
    .steps { row-gap: 0; margin-top: 40px; }
    .step { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 36px 28px; }
    .step:last-child { border-left-color: transparent; padding-bottom: 0; }
    .step::before { top: 0; left: -7px; }
    .step::after { top: 1px; left: 28px; }
    .step h3 { margin-top: 24px; }
    .contact-link { padding: 16px; gap: 14px; }
}
