/* =========================================================
   STERIQ - landing page
   style.css
   ---------------------------------------------------------
   Zawartość:
   1. Reset i zmienne CSS
   2. Typografia, kontenery, narzędzia
   3. Przyciski
   4. Header / nawigacja
   5. Hero
   6. Sekcje (oferta, dlaczego, kroki, obszar, regiony, CTA)
   7. Kontakt
   8. Stopka
   9. Animacje pojawiania się (reveal)
   10. Responsywność (media queries)
   ========================================================= */


/* ============== 1. RESET I ZMIENNE ============== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* paleta - granat / grafit / akcent turkusowy */
    --bg:           #0a1020;
    --bg-2:         #0f172a;
    --bg-3:         #111a2e;
    --surface:      #131c33;
    --surface-2:    #182240;
    --border:       rgba(255, 255, 255, 0.08);
    --border-2:     rgba(255, 255, 255, 0.14);

    --text:         #eaf0ff;
    --text-muted:   #9aa6c3;
    --text-soft:    #c6cee0;

    --accent:       #00d4ff;
    --accent-2:     #2b8cff;
    --accent-glow:  rgba(0, 212, 255, 0.35);

    --danger:       #ff6b6b;
    --success:      #5ee0a0;

    --radius-sm:    10px;
    --radius:       16px;
    --radius-lg:    22px;
    --radius-xl:    28px;

    --shadow-sm:    0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow:       0 18px 40px -12px rgba(0, 0, 0, 0.55);
    --shadow-glow:  0 0 0 1px rgba(0, 212, 255, 0.25), 0 22px 60px -20px rgba(0, 212, 255, 0.45);

    --maxw:         1180px;

    /* Bezpieczne fonty systemowe - bez Google Fonts */
    --font-sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                    Arial, "Noto Sans", "Liberation Sans", sans-serif,
                    "Apple Color Emoji", "Segoe UI Emoji";
    --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    /* delikatny radialny "wash" za sekcjami */
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(43, 140, 255, 0.10), transparent 60%),
        radial-gradient(1000px 500px at -10% 30%, rgba(0, 212, 255, 0.07), transparent 60%);
}


/* ============== 2. TYPOGRAFIA / KONTENERY ============== */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }

p { color: var(--text-soft); }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: #6fe3ff; }

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

.section {
    padding: 110px 0;
    position: relative;
}

.section + .section { border-top: 1px solid var(--border); }

.section-head {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-head h2 { margin-bottom: 14px; }
.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

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

.mobile-only { display: none; }

/* widoczne fokusy dla dostępności */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}


/* ============== 3. PRZYCISKI ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.97rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.22s ease,
                background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    will-change: transform;
    min-width: 0;
    white-space: normal;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #04131c;
    box-shadow:
        0 12px 28px -10px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 36px -10px rgba(0, 212, 255, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #04131c;
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 30px; font-size: 1.02rem; }

.btn-block { width: 100%; }


/* ============== 4. HEADER / NAWIGACJA ============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 16, 32, 0.65);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(10, 16, 32, 0.85);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 78px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.6), transparent 60%),
        linear-gradient(135deg, #0e1830, #1a2a55);
    border: 1px solid rgba(0, 212, 255, 0.35);
    position: relative;
    flex-shrink: 0;
    box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.18);
}

.logo-mark::before,
.logo-mark::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-glow);
}

.logo-mark::before { top: 11px; }
.logo-mark::after  { bottom: 11px; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.primary-nav ul a {
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.primary-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.22s ease;
}

.primary-nav ul a:hover { color: var(--text); }
.primary-nav ul a:hover::after { width: 100%; }

.btn-nav-cta { padding: 11px 20px; font-size: 0.9rem; }

/* hamburger */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============== 5. HERO ============== */
.hero {
    position: relative;
    padding: 130px 0 110px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* delikatna siatka techniczna w tle */
.hero-grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.hero-glow-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.45), transparent 65%);
    top: -160px; left: -120px;
}

.hero-glow-2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(43, 140, 255, 0.45), transparent 65%);
    bottom: -180px; right: -120px;
}

.hero-inner {
    text-align: center;
    position: relative;
    max-width: 920px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    color: var(--text-soft);
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
    text-align: center;
}

.hero-eyebrow .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s ease-in-out infinite;
    flex: 0 0 auto;
}

.hero-eyebrow-text {
    flex: 1 1 180px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.hero-eyebrow-short { display: none; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero-title {
    margin-bottom: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #c4d3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    overflow-wrap: break-word;
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 0.6vw + 0.9rem, 1.18rem);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-2);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-soft);
    backdrop-filter: blur(6px);
    min-width: 0;
}

.hero-pills li span {
    color: var(--accent);
    font-size: 1.05rem;
}


/* ============== 6. SEKCJE ============== */

/* ---------- karty oferty ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.45), transparent 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: var(--shadow);
}

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

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
    margin-bottom: 22px;
}

.card h3 { margin-bottom: 10px; color: #fff; }
.card p  { color: var(--text-muted); font-size: 0.96rem; }


/* ---------- przewagi ---------- */
.adv-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.adv-item {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.adv-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: var(--shadow);
}

.adv-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 212, 255, 0.22);
}

.adv-item h3 { margin-bottom: 6px; color: #fff; }
.adv-item p  { color: var(--text-muted); }


/* ---------- kroki ---------- */
.steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px 26px;
    text-align: left;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: var(--shadow);
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #04131c;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.step h3 { margin-bottom: 6px; color: #fff; font-size: 1.05rem; }
.step p  { color: var(--text-muted); font-size: 0.95rem; }


/* ---------- obszar - chmura miast ---------- */
.area-intro { text-align: center; }

.city-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    max-width: 880px;
    margin: 0 auto;
}

.city-cloud li {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-2);
    color: var(--text-soft);
    font-size: 0.93rem;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.city-cloud li:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}


/* ---------- regiony - rozbudowane SEO ---------- */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.region-card {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.region-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: var(--shadow);
}

.region-card header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.region-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
    padding: 6px 10px;
    border-radius: 10px;
}

.region-card h3 { color: #fff; font-size: 1.18rem; }

.region-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.region-cities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.region-cities li {
    font-size: 0.87rem;
    color: var(--text-soft);
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.region-note {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.98rem;
    font-style: italic;
}


/* ---------- systemy i urządzenia ---------- */
.systems-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
}

.systems-grid span {
    min-width: 118px;
    text-align: center;
    color: var(--text-soft);
    font-weight: 600;
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-2);
    border-radius: 12px;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.systems-grid span:hover {
    border-color: rgba(0, 212, 255, 0.38);
    color: #fff;
    transform: translateY(-2px);
}


/* ---------- FAQ ---------- */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-weight: 700;
    padding: 20px 24px;
    position: relative;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.35rem;
    line-height: 1;
}

.faq-item[open] summary::after { content: "-"; }

.faq-item p {
    color: var(--text-muted);
    padding: 0 24px 22px;
}


/* ---------- polityka prywatności ---------- */
.section-privacy { padding: 70px 0; }

.privacy-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
}

.privacy-box h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.privacy-box p + p { margin-top: 12px; }


/* ---------- Zakres prac (info block) ---------- */
.section-scope {
    padding: 30px 0 70px;
    border-top: none !important;
}

.scope-card {
    background:
        radial-gradient(600px 200px at 0% 50%, rgba(0, 212, 255, 0.10), transparent 60%),
        linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 28px 34px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.scope-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--shadow);
}

.scope-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.10);
    border: 1px solid rgba(0, 212, 255, 0.28);
    box-shadow: inset 0 0 14px rgba(0, 212, 255, 0.15);
}

.scope-text h2 {
    font-size: 1.18rem;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: -0.005em;
}

.scope-text p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin: 0;
    line-height: 1.55;
}


/* ---------- CTA ---------- */
.section-cta { padding: 60px 0; }

.cta-card {
    background:
        radial-gradient(800px 300px at 100% 0%, rgba(0, 212, 255, 0.20), transparent 60%),
        linear-gradient(135deg, #0f1a36, #131e3f);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 50px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
}

.cta-text { position: relative; z-index: 1; max-width: 640px; }
.cta-text h2 { margin-bottom: 10px; }
.cta-text p  { color: var(--text-soft); }

.cta-card .btn { position: relative; z-index: 1; flex-shrink: 0; }


/* ============== 7. FORMULARZ KONTAKTOWY ============== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    gap: 32px;
    align-items: start;
}

.contact-info h2 { margin: 14px 0 14px; }

.contact-list {
    list-style: none;
    margin: 32px 0 28px;
    display: grid;
    gap: 14px;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}

.contact-list li:hover { border-color: rgba(0, 212, 255, 0.3); }

.ci-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ci-value {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
}

/* ============== 8. STOPKA ============== */
.site-footer {
    border-top: 1px solid var(--border);
    background: #070c1a;
    padding: 60px 0 30px;
    margin-top: 30px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo-name { font-size: 1.4rem; }
.footer-brand p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 460px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-soft);
    font-size: 0.93rem;
}

.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ============== 9. ANIMACJE POJAWIANIA SIĘ ============== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Szanowanie preferencji użytkowników wrażliwych na ruch */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}


/* ============== 10. RESPONSYWNOŚĆ ============== */
@media (max-width: 1024px) {
    .cards-grid     { grid-template-columns: repeat(2, 1fr); }
    .steps-grid     { grid-template-columns: repeat(2, 1fr); }
    .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
    .section        { padding: 90px 0; }
}

@media (max-width: 820px) {
    /* nawigacja mobilna - menu jako panel zjeżdżający */
    .nav-toggle { display: flex; }

    .primary-nav {
        position: fixed;
        inset: 78px 0 auto 0;
        background: rgba(10, 16, 32, 0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .primary-nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 14px;
    }

    .primary-nav ul a {
        display: block;
        padding: 14px 8px;
        font-size: 1.02rem;
        border-bottom: 1px solid var(--border);
    }

    .primary-nav ul a::after { display: none; }

    .btn-nav-cta {
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .logo-tagline { display: none; }

    .hero { padding: 90px 0 80px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 44px; }

    .adv-grid       { grid-template-columns: 1fr; }
    .regions-grid   { grid-template-columns: 1fr; }
    .systems-grid   { justify-content: flex-start; }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
        text-align: left;
    }

    .scope-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 24px;
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .container       { padding: 0 18px; }
    .section         { padding: 64px 0; }
    .hero            { padding: 70px 0 60px; }
    .mobile-only     { display: block; }
    .hero-title      { font-size: clamp(1.85rem, 8.5vw, 2.1rem); }
    .hero-title .accent { display: inline; }
    .hero-subtitle   { font-size: 1rem; max-width: 32ch; }
    .hero-eyebrow    { width: 100%; border-radius: 18px; }
    .hero-eyebrow-full { display: none; }
    .hero-eyebrow-short { display: inline; }
    .hero-actions    { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
    .hero-actions .btn { width: 100%; line-height: 1.25; }
    .hero-pills      { align-items: stretch; }
    .hero-pills li   { width: 100%; justify-content: center; border-radius: 14px; }

    .cards-grid      { grid-template-columns: 1fr; }
    .steps-grid      { grid-template-columns: 1fr; }
    .cta-card        { padding: 30px 22px; border-radius: 22px; }
    .card            { padding: 26px 22px; }
    .region-card     { padding: 24px 22px; }
    .systems-grid span { min-width: calc(50% - 6px); }
    .faq-item summary  { padding: 18px 46px 18px 20px; }
    .faq-item summary::after { right: 20px; }
    .faq-item p       { padding: 0 20px 20px; }
    .privacy-box      { padding: 26px 22px; }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
