/* TechParadise – styl „mapa sieci” (2026-11-15)
   Jedna rodzina kroju: Archivo (oś szerokości: nagłówki rozciągnięte, tekst normalny).
   Kolor marki: granat + niebiesko-fioletowy sygnał – ten sam co na wizytówkach i w stopce e-mail. */

:root {
    --ink: #060913;          /* tło */
    --deep: #0a1020;         /* tło sekcji naprzemiennych */
    --panel: #0d1428;        /* panele */
    --line: #1a2440;         /* linie podziału */
    --line-strong: #2a3961;
    --signal: #60a5fa;       /* sygnał – akcent główny */
    --signal-soft: #93c5fd;
    --violet: #8b5cf6;       /* drugi kolor sygnału */
    --text: #eef2f9;
    --text-2: #b6c2d6;       /* tekst akapitów */
    --muted: #8a99b4;        /* opisy, etykiety */
    --ok: #4ade80;
    --error: #fca5a5;

    --font: 'Archivo', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --wide: 118%;            /* szerokość kroju dla nagłówków */

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --nav-h: 72px;
}

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

html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    background: var(--ink);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
    outline: 2px solid var(--signal-soft);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: .75rem 1rem;
    background: var(--signal);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--r-sm);
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Typografia ---------- */
h1, h2, h3, .logo, .partner-logos span, .hero-facts dt, .step-num {
    font-stretch: var(--wide);
}

h1 {
    font-size: clamp(2.3rem, 4.1vw, 3.75rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 650;
    letter-spacing: -0.005em;
    font-stretch: 108%;
}

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

.lead {
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--text-2);
    max-width: 34em;
}

/* ---------- Nawigacja ---------- */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color .3s, border-color .3s;
}
.navbar.scrolled,
.navbar.menu-open {
    background: rgba(6, 9, 19, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.navbar.menu-open { background: var(--ink); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
}
.logo span { color: var(--signal); }

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: .975rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: var(--text); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.4rem;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn-primary {
    background: var(--signal);
    color: var(--ink);
    box-shadow: 0 0 0 1px rgba(147, 197, 253, .35), 0 10px 30px -10px rgba(96, 165, 250, .7);
}
.btn-primary:hover { background: var(--signal-soft); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--signal); background: rgba(96, 165, 250, .06); }
.nav-links .btn { min-height: 42px; padding: 0 1.1rem; font-size: .95rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1rem;
    color: var(--signal-soft);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.text-link:hover { color: var(--text); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 3rem) 0 4rem;
    isolation: isolate;
    overflow-x: clip;
}
.hero::before {
    /* jedna, delikatna poświata pod mapą */
    content: "";
    position: absolute;
    z-index: -1;
    top: 8%;
    right: -10%;
    width: min(900px, 80vw);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(96, 165, 250, .05), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .lead { margin-bottom: 2.25rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 3rem;
}

.hero-facts {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--line);
    max-width: 30rem;
}
.hero-facts > div {
    flex: 1;
    padding: 1rem 1.25rem 0 0;
}
.hero-facts > div + div {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}
.hero-facts dt {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.hero-facts dd {
    font-size: .875rem;
    color: var(--muted);
}

/* ---------- Hologram w hero ---------- */
.netmap {
    --holo: #7dd3fc;           /* jasny cyjan hologramu */
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    container-type: inline-size;
}
.hud {
    position: absolute;
    inset: 0;
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.netmap::before {
    /* poświata i siatka pod hologramem */
    content: "";
    position: absolute;
    inset: 2%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(125, 211, 252, .38) 1px, transparent 1.4px) center / 24px 24px,
        radial-gradient(closest-side, rgba(96, 165, 250, .14), rgba(96, 165, 250, .03) 70%, transparent);
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    pointer-events: none;
}
.netmap::after {
    /* cień „pod” unoszącym się hologramem */
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: -5%;
    height: 6%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(96, 165, 250, .28), transparent);
    filter: blur(6px);
    animation: shadow 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shadow {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(.85); opacity: .6; }
}
.hud-sweep {
    /* obracający się promień skanera */
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(125, 211, 252, .09), transparent 16%, transparent);
    animation: spin 9s linear infinite;
    opacity: 0;
    animation: spin 9s linear infinite, fadeIn 1s .4s forwards;
}
.netmap-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.hud-ring { transform-box: view-box; transform-origin: 50% 50%; opacity: 0; }
.spin-slow { animation: fadeIn .8s .1s forwards, spin 120s linear infinite; }
.spin-rev  { animation: fadeIn .8s .2s forwards, spin 70s linear infinite reverse; }
.spin-fast { animation: fadeIn .8s .3s forwards, spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.netmap-svg .r-thin { fill: none; stroke: rgba(125, 211, 252, .25); stroke-width: .12; }
.netmap-svg .r-ticks { fill: none; stroke: rgba(125, 211, 252, .45); stroke-width: .16; }
.netmap-svg .r-seg {
    fill: none;
    stroke: rgba(96, 165, 250, .55);
    stroke-width: .35;
    stroke-dasharray: 14 3 2 3 22 6 4 6 9 3 2 26;
}
.netmap-svg .r-faint { fill: none; stroke: rgba(125, 211, 252, .16); stroke-width: .15; }
.netmap-svg .r-core {
    fill: none;
    stroke: var(--holo);
    stroke-width: .45;
    stroke-dasharray: 20 5 10 5 30 5 20 5;
    filter: drop-shadow(0 0 .6px rgba(125, 211, 252, .9));
}

.netmap-svg .link {
    fill: none;
    stroke: rgba(96, 165, 250, .75);
    stroke-width: .3;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw .8s var(--ease) forwards;
    transition: stroke .25s, stroke-width .25s;
}
.netmap-svg .link[data-n="1"] { animation-delay: .4s; }
.netmap-svg .link[data-n="2"] { animation-delay: .55s; }
.netmap-svg .link[data-n="3"] { animation-delay: .7s; }
.netmap-svg .link[data-n="4"] { animation-delay: .85s; }
.netmap-svg .link[data-n="5"] { animation-delay: 1s; }
.netmap-svg .sublink {
    fill: none;
    stroke: rgba(125, 211, 252, .35);
    stroke-width: .14;
    stroke-dasharray: .5 .6;
    opacity: 0;
    animation: fadeIn .6s 1.6s forwards;
}
.netmap-svg .packet {
    fill: #e0f2fe;
    opacity: 0;
    animation: fadeIn .4s 2.4s forwards;
    filter: drop-shadow(0 0 1px rgba(125, 211, 252, 1));
}

/* podświetlenie po najechaniu na obszar */
.netmap:has(.node[data-n="1"]:is(:hover, :focus-visible)) :is(.link, .sublink)[data-n="1"],
.netmap:has(.node[data-n="2"]:is(:hover, :focus-visible)) :is(.link, .sublink)[data-n="2"],
.netmap:has(.node[data-n="3"]:is(:hover, :focus-visible)) :is(.link, .sublink)[data-n="3"],
.netmap:has(.node[data-n="4"]:is(:hover, :focus-visible)) :is(.link, .sublink)[data-n="4"],
.netmap:has(.node[data-n="5"]:is(:hover, :focus-visible)) :is(.link, .sublink)[data-n="5"] {
    stroke: var(--holo);
    stroke-width: .5;
}
.netmap:has(.node[data-n="1"]:is(:hover, :focus-visible)) .sat[data-n="1"] .slabel,
.netmap:has(.node[data-n="2"]:is(:hover, :focus-visible)) .sat[data-n="2"] .slabel,
.netmap:has(.node[data-n="3"]:is(:hover, :focus-visible)) .sat[data-n="3"] .slabel,
.netmap:has(.node[data-n="4"]:is(:hover, :focus-visible)) .sat[data-n="4"] .slabel,
.netmap:has(.node[data-n="5"]:is(:hover, :focus-visible)) .sat[data-n="5"] .slabel { color: #fff; }

/* węzły */
.node, .sat {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: 0;
    height: 0;
    z-index: 1;
    text-decoration: none;
    color: var(--text);
}
.node .dot {
    position: absolute;
    left: -9px;
    top: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--holo) 0 2.5px, var(--ink) 3px);
    border: 1.5px solid var(--holo);
    box-shadow: 0 0 0 4px rgba(125, 211, 252, .1), 0 0 16px rgba(125, 211, 252, .55);
    transform: scale(0);
    animation: pop .45s var(--ease) forwards;
    transition: box-shadow .2s, background-color .2s;
}
.node[data-n="1"] .dot { animation-delay: 1.15s; }
.node[data-n="2"] .dot { animation-delay: 1.25s; }
.node[data-n="3"] .dot { animation-delay: 1.35s; }
.node[data-n="4"] .dot { animation-delay: 1.45s; }
.node[data-n="5"] .dot { animation-delay: 1.55s; }
a.node:hover .dot,
a.node:focus-visible .dot {
    background: radial-gradient(circle, #fff 0 3px, var(--signal) 3.5px);
    box-shadow: 0 0 0 6px rgba(125, 211, 252, .2), 0 0 24px rgba(125, 211, 252, .9);
}

.label {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: max-content;
    max-width: 40cqw;
    opacity: 0;
    animation: fadeIn .5s 1.5s forwards;
    text-shadow: 0 0 10px var(--ink), 0 0 3px var(--ink);
    pointer-events: auto;
}
.label strong {
    font-size: clamp(12px, 2.55cqw, 16px);
    font-weight: 650;
    line-height: 1.2;
    font-stretch: 108%;
    letter-spacing: -0.005em;
}
.label > span {
    font-size: clamp(10.5px, 1.95cqw, 12.5px);
    color: var(--holo);
    opacity: .85;
    line-height: 1.3;
}
.pos-above { bottom: 15px; }
.pos-below { top: 15px; }
.al-c { left: 0; transform: translateX(-50%); text-align: center; align-items: center; }
.al-l { left: -9px; text-align: left; }
.al-r { right: -9px; text-align: right; align-items: flex-end; }
a.node:hover .label strong { color: var(--holo); }
a.node:focus-visible { outline: none; }
a.node:focus-visible .label { outline: 2px solid var(--signal-soft); outline-offset: 4px; border-radius: 4px; }

/* rdzeń */
.node-core .dot {
    left: -16px;
    top: -16px;
    width: 32px;
    height: 32px;
    border: 0;
    background:
        radial-gradient(circle, #fff 0 3px, var(--holo) 4px, rgba(96, 165, 250, .6) 8px, transparent 9px),
        radial-gradient(circle, transparent 0 12px, rgba(125, 211, 252, .9) 12.5px 13.5px, transparent 14px);
    box-shadow: 0 0 40px rgba(125, 211, 252, .5);
    animation-delay: .1s;
}
.node-core .label { top: calc(11cqw + 4px); animation-delay: .4s; }
.node-core .label strong { font-size: clamp(12px, 2.4cqw, 15px); letter-spacing: .01em; }

/* kropki technologii */
.sat .sdot {
    position: absolute;
    left: -3.5px;
    top: -3.5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--holo);
    box-shadow: 0 0 8px rgba(125, 211, 252, .9);
    transform: scale(0);
    animation: pop .35s var(--ease) forwards;
    animation-delay: var(--d);
}
.slabel {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: clamp(10px, 1.85cqw, 12.5px);
    font-weight: 500;
    color: rgba(186, 230, 253, .85);
    letter-spacing: .01em;
    text-shadow: 0 0 8px var(--ink), 0 0 2px var(--ink);
    opacity: 0;
    animation: fadeIn .4s forwards;
    animation-delay: var(--d);
    transition: color .2s;
}
.slabel.side-l { right: 9px; }
.slabel.side-r { left: 9px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }

/* ---------- Sekcje ---------- */
.section { padding: 7.5rem 0; }
.section-tight { padding: 5.5rem 0; }
.section-alt {
    background: var(--deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 4rem;
    align-items: end;
    margin-bottom: 3.5rem;
}
.section-intro {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 34em;
}
.section-intro a { color: var(--signal-soft); text-underline-offset: 4px; }

/* lista cech: krótka kreska zamiast kropki */
.spec-list {
    display: grid;
    gap: .5rem;
    margin-top: 1.25rem;
}
.spec-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: .95rem;
    color: var(--text-2);
    line-height: 1.5;
}
.spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: .7rem;
    height: 1.5px;
    background: var(--signal);
}

/* Usługi: jedna siatka 2×2 z liniami podziału */
.services {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--line);
    gap: 1px;
}
.service {
    position: relative;
    padding: 2.5rem 2.5rem 2.75rem;
    background: var(--ink);
    scroll-margin-top: calc(var(--nav-h) + 1rem);
    transition: background-color .3s;
}
.service:target,
.service.is-target { background: #0b1430; }
.service:target::after,
.service.is-target::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--signal);
    pointer-events: none;
}
.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1.5rem;
    fill: none;
    stroke: var(--signal);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#usl-net .service-icon { stroke: #a78bfa; }
#usl-ds .service-icon { stroke: #7dd3fc; }
.service { grid-column: span 2; }
.service:nth-child(n+4) { grid-column: span 3; }
.service-note { margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }
.service h3 { margin-bottom: .75rem; }
.service > p { max-width: 36em; }

/* Produkty */
.products {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.5rem;
}
.product {
    position: relative;
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
    overflow: hidden;
}
.product-main {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(96, 165, 250, .14), transparent 55%),
        var(--panel);
    border-color: var(--line-strong);
}
.product h3 {
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-stretch: var(--wide);
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
}
.product > p:not(.status) { max-width: 30em; }

.status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ok);
}
.status-muted { color: var(--muted); }
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .15);
}

/* fale NFC – element graficzny produktu */
.nfc-waves {
    position: absolute;
    top: 2.25rem;
    right: 2.25rem;
    width: 120px;
    height: 120px;
}
.nfc-waves span {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, .6);
    clip-path: polygon(50% 50%, 100% -10%, 100% 110%);
}
.nfc-waves span:nth-child(1) { width: 30%; height: 30%; border-color: rgba(147, 197, 253, .9); }
.nfc-waves span:nth-child(2) { width: 62%; height: 62%; }
.nfc-waves span:nth-child(3) { width: 96%; height: 96%; border-color: rgba(139, 92, 246, .45); }

.feature-defs {
    display: grid;
    gap: 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.feature-defs > div {
    display: grid;
    grid-template-columns: 10.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
}
.feature-defs dt { font-weight: 600; font-size: .95rem; color: var(--text); }
.feature-defs dd { font-size: .95rem; color: var(--text-2); }

/* Proces: oś czasu */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    counter-reset: step;
    position: relative;
}
.timeline li {
    position: relative;
    padding-top: 2.25rem;
}
.timeline li::before {
    /* linia osi */
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: -2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), var(--line-strong));
}
.timeline li:last-child::before { right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
.timeline li::after {
    /* węzeł osi */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--signal);
}
.step-num {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--signal);
    margin-bottom: .5rem;
    font-variant-numeric: tabular-nums;
}
.timeline h3 { margin-bottom: .5rem; }
.timeline p { font-size: .975rem; }

/* Dla kogo */
.audience {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}
.audience > div {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-strong);
}
.audience h3 { margin-bottom: .6rem; }
.audience p { font-size: .975rem; }

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
}
.faq-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-head .section-title { margin-bottom: 1rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
    position: relative;
    display: block;
    padding: 1.35rem 3rem 1.35rem 0;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    right: .4rem;
    top: 50%;
    width: 14px;
    height: 1.5px;
    background: var(--signal);
    transition: transform .25s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--signal-soft); }
.faq-item p {
    padding: 0 3rem 1.5rem 0;
    max-width: 38em;
    font-size: 1rem;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
}
.contact-intro .section-title { margin-bottom: 1rem; }
.contact-direct {
    display: grid;
    gap: .25rem;
    margin-top: 2rem;
}
.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 48px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    font-stretch: 108%;
}
.contact-direct a:hover { color: var(--signal-soft); }
.contact-direct svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--signal);
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.contact-form {
    padding: 2.25rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    background: var(--panel);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
}
.input-field {
    width: 100%;
    min-height: 48px;
    padding: .75rem .9rem;
    background: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.input-field:focus {
    outline: none;
    border-color: var(--signal);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .2);
}
select.input-field {
    appearance: none;
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--signal) 50%), linear-gradient(135deg, var(--signal) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}
select.input-field option { background: var(--panel); }
textarea.input-field { resize: vertical; }
.input-field.invalid { border-color: #f87171; }

.consent {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-size: .85rem;
    line-height: 1.5;
    color: var(--muted);
    margin: .5rem 0 1.25rem;
    cursor: pointer;
}
.consent input {
    margin-top: .15rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--signal);
}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.form-status { min-height: 1.5rem; margin-bottom: .75rem; font-size: .95rem; }
.form-status.error { color: var(--error); }
.form-status.success { color: #86efac; }
.contact-form .btn-primary { width: 100%; }

/* Dyktowanie głosem */
.textarea-wrap { position: relative; }
.textarea-wrap textarea { padding-right: 4rem; min-height: 140px; }
.mic-btn {
    position: absolute;
    right: .6rem;
    bottom: .75rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(147, 197, 253, .4);
    background: rgba(96, 165, 250, .14);
    color: var(--signal-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.mic-btn[hidden] { display: none; }
.mic-btn:hover { background: var(--signal); color: var(--ink); }
.mic-btn.recording {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    animation: micPulse 1.4s infinite;
}
@keyframes micPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.voice-hint { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.voice-hint.recording, .voice-hint.error { color: var(--error); }
.voice-interim { color: var(--text); font-style: italic; }

/* Dostawca technologii */
.partners {
    padding: 4.5rem 0;
    border-top: 1px solid var(--line);
}
.partners-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2rem 4rem;
    align-items: center;
}
.partners-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-stretch: var(--wide);
    letter-spacing: -0.015em;
    margin-bottom: .6rem;
}
.partners-desc { font-size: .975rem; max-width: 30em; }
.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    gap: 1px;
    background: var(--line);
}
.partner-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 1rem;
    background: var(--ink);
}
.partner-logos span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--muted);
    transition: color .2s;
}
.partner-logos li:hover span { color: var(--text); }
.partner-logos img {
    max-height: 36px;
    width: auto;
    filter: grayscale(1) brightness(1.6);
    opacity: .75;
    transition: filter .2s, opacity .2s;
}
.partner-logos li:hover img { filter: none; opacity: 1; }

/* Stopka */
footer {
    border-top: 1px solid var(--line);
    padding: 3rem 0 2rem;
    background: var(--deep);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}
.footer-logo { display: inline-block; margin-bottom: 1rem; font-size: 1.35rem; }
.footer-address {
    font-style: normal;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--text-2);
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-heading {
    font-size: .95rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: .25rem;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover { color: var(--signal-soft); }
.footer-copy {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: .85rem;
    color: var(--muted);
}

/* 404 */
.page-404 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
}
.page-404 .code {
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 800;
    font-stretch: 125%;
    line-height: 1;
    color: var(--signal);
    margin-bottom: 1rem;
}
.page-404 p { margin: 1rem auto 2rem; max-width: 30em; }

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 2rem 1.5rem;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 52px;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
    }
    .nav-links a.btn {
        margin-top: 1rem;
        justify-content: center;
        border: 1px solid var(--line-strong);
    }
}

@media (max-width: 992px) {
    .hero { min-height: 0; padding-top: calc(var(--nav-h) + 2.5rem); }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .netmap { margin: 0 auto; max-width: 520px; }
    .section-head,
    .faq-grid,
    .contact-grid,
    .partners-inner { grid-template-columns: 1fr; gap: 1rem 2rem; }
    .faq-grid, .contact-grid { gap: 2.5rem; }
    .faq-head { position: static; }
    .products { grid-template-columns: 1fr; }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service, .service:nth-child(n+4) { grid-column: auto; }
    .service:last-child { grid-column: 1 / -1; }
    .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .timeline li:nth-child(2)::before { right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
    .audience { grid-template-columns: 1fr; gap: 1.75rem; }
    .section { padding: 5.5rem 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    body { font-size: 1rem; }
    .lead { font-size: 1.075rem; }
    .services { grid-template-columns: 1fr; }
    .service, .service:nth-child(n+4) { grid-column: auto; }
    .service { padding: 2rem 1.5rem; }
    .product { padding: 2rem 1.5rem; }
    .nfc-waves { top: 1.5rem; right: 1.25rem; width: 64px; height: 64px; }
    .feature-defs > div { grid-template-columns: 1fr; gap: .15rem; }
    .contact-form { padding: 1.5rem 1.25rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .partner-logos li { min-height: 72px; }
    .nav-links { padding: .5rem 1.25rem 1.5rem; }
    .footer-content { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 2.5rem; }
}

@media (max-width: 560px) {
    /* na wąskim ekranie krój w normalnej szerokości, żeby długie polskie słowa się mieściły */
    h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); font-stretch: 100%; }
    .section-title { font-size: clamp(1.7rem, 7.6vw, 2.1rem); font-stretch: 104%; }
    h1, .section-title { hyphens: auto; -webkit-hyphens: auto; }
    .timeline { grid-template-columns: 1fr; }
    .timeline li { padding: 0 0 0 2.25rem; }
    .timeline li::before,
    .timeline li:nth-child(2)::before,
    .timeline li:last-child::before {
        top: 13px; bottom: -2.5rem; left: 6px; right: auto; width: 1px; height: auto;
        background: var(--line-strong);
    }
    .timeline li:last-child::before { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-facts > div { padding-right: .75rem; }
    .hero-facts > div + div { padding-left: .75rem; }
    .hero-facts dt { font-size: 1.3rem; }
    .hero-facts dd { font-size: .8rem; }

}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-delay: 0s !important;
        transition-duration: .001ms !important;
    }
    .netmap-svg .packet, .hud-sweep { display: none; }
    .hud, .hud-ring, .netmap::after { animation: none !important; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* Hologram na wąskim ekranie: bez opisów pod nazwami obszarów (szczegóły są w kropkach i w sekcji Usługi) */
@container (max-width: 480px) {
    .label > span { display: none; }
    .label strong { font-size: 12px; }
    .slabel { font-size: 10px; }
    .node .dot { left: -7px; top: -7px; width: 14px; height: 14px; }
    .pos-above { bottom: 11px; }
    .pos-below { top: 11px; }
}
