/* ==========================================================================
   ataraxia.trade – „Harbour Night”
   Baza: prompt „Modern Dark” (Linear / Vercel) z designprompts.dev, przełożony
   na dom handlowy z Hongkongu: prawie czarne tło jak port nocą, miękkie plamy
   indygo jak światła nad Victoria Harbour, szkło, cienkie linie 1 px,
   precyzyjne mikro-interakcje. Zasady i tokeny: DESIGN.md. Mobile-first.
   ========================================================================== */

:root {
    --bg-deep: #020203;
    --bg: #050506;
    --bg-elev: #0A0A0C;
    --surface: rgba(255, 255, 255, .05);
    --surface-hover: rgba(255, 255, 255, .08);
    --fg: #EDEDEF;
    --muted: #8A8F98;
    --subtle: rgba(255, 255, 255, .6);
    --border: rgba(255, 255, 255, .06);
    --border-hover: rgba(255, 255, 255, .1);
    --border-strong: rgba(255, 255, 255, .14);

    --accent: #5E6AD2;
    --accent-bright: #6872D9;
    --accent-soft: #A5B4FC;
    --accent-glow: rgba(94, 106, 210, .3);
    --border-accent: rgba(94, 106, 210, .3);
    --seal: #B23A2E;
    --warn: #F5A524;
    --ok: #4ADE80;
    --err: #F87171;

    --shadow-card: 0 0 0 1px rgba(255, 255, 255, .06), 0 2px 20px rgba(0, 0, 0, .4), 0 0 40px rgba(0, 0, 0, .2);
    --shadow-card-hover: 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 40px rgba(0, 0, 0, .5), 0 0 80px rgba(94, 106, 210, .1);
    --shadow-btn: 0 0 0 1px rgba(94, 106, 210, .5), 0 4px 12px rgba(94, 106, 210, .3), inset 0 1px 0 rgba(255, 255, 255, .2);

    --sans: 'Geist', 'Inter', system-ui, sans-serif;
    --mono: 'Geist Mono', ui-monospace, Consolas, monospace;

    --radius: 16px;
    --wrap: 1200px;
    --gutter: 20px;
    --header: 64px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Podstawy ----------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 24px);
    background: var(--bg-deep);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: radial-gradient(ellipse at top, #0A0A0F 0%, #050506 50%, #020203 100%) fixed;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--fg); text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid rgba(94, 106, 210, .7); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; color: var(--fg); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong, b { color: var(--fg); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .92em; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 17px; height: 17px; }
.icon--xs { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }

/* ---------- Tło: warstwy światła ---------------------------------------- */

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient__blob { position: absolute; border-radius: 50%; animation: drift 10s ease-in-out infinite; }
.ambient__blob--a {
    left: 50%; top: -620px; width: 1100px; height: 1100px; margin-left: -550px;
    background: radial-gradient(closest-side, rgba(94, 106, 210, .32), transparent);
}
.ambient__blob--b {
    left: -320px; top: 30%; width: 760px; height: 900px;
    background: radial-gradient(closest-side, rgba(168, 85, 247, .12), rgba(236, 72, 153, .05) 55%, transparent);
    animation-duration: 12s; animation-delay: -4s;
}
.ambient__blob--c {
    right: -300px; top: 55%; width: 700px; height: 820px;
    background: radial-gradient(closest-side, rgba(56, 120, 255, .12), transparent);
    animation-duration: 9s; animation-delay: -2s;
}
.ambient__grid {
    position: absolute; inset: 0; opacity: .5;
    background-size: 64px 64px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .025) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(1deg); } }

/* ---------- Typografia --------------------------------------------------- */

.display, .headline, .cta__title, .footer__claim {
    background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, .95) 40%, rgba(255, 255, 255, .68));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.display em, .headline em, .cta__title em, .footer__claim em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft), #8B93E8, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }

.display {
    font-size: clamp(2.6rem, 1.3rem + 5.4vw, 5.6rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}
.display--page { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.2rem); line-height: 1.06; }
.headline { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); letter-spacing: -.03em; line-height: 1.1; padding-bottom: .04em; }
.headline--sm { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }

.lead { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem); line-height: 1.65; }
.section-intro { max-width: 600px; margin: 18px 0 26px; color: var(--muted); font-size: 1.05rem; }
.headline + .prose, .headline + .checks, .headline + .specs { margin-top: 24px; }
.headline + .link { margin-top: 20px; }
.fineprint { margin: 16px 0 0; color: rgba(138, 143, 152, .8); font-size: 13.5px; line-height: 1.6; }

.label {
    display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
    color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.label::before { content: ''; width: 18px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.label .icon { color: var(--accent-soft); }
.label--warn { color: var(--warn); }
.label--warn::before { background: linear-gradient(90deg, var(--warn), transparent); }

.pill {
    display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
    margin: 0 0 26px; padding: 6px 14px 6px 12px;
    border: 1px solid var(--border-accent); border-radius: 999px; background: rgba(94, 106, 210, .1);
    color: #C7CBF5; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4;
}
.pill__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent); }

.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
    border: 1px solid var(--border-hover); border-radius: 999px;
    background: rgba(5, 5, 6, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: var(--fg); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; line-height: 1.3;
}
.chip--float { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: calc(100% - 32px); }

/* ---------- Przyciski i linki ------------------------------------------- */

.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 11px 20px;
    border: 0; border-radius: 8px;
    font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 52px; padding: 13px 24px; font-size: 15.5px; }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn--primary:hover { background: var(--accent-bright); color: #fff; box-shadow: 0 0 0 1px rgba(104, 114, 217, .7), 0 6px 20px rgba(94, 106, 210, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover::after { left: 120%; }
.btn--secondary { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border-hover), inset 0 1px 0 rgba(255, 255, 255, .06); }
.btn--secondary:hover { background: var(--surface-hover); color: #fff; box-shadow: inset 0 0 0 1px var(--border-strong), 0 0 24px rgba(94, 106, 210, .15); }
.btn--ghost { color: var(--muted); background: transparent; }
.btn--ghost:hover { background: var(--surface); color: var(--fg); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.actions--center { justify-content: center; }

.link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 500; text-decoration: none; }
.link .icon { color: var(--accent-soft); transition: transform .25s var(--ease); }
.link:hover { color: #fff; }
.link:hover .icon { transform: translateX(3px); }
.link--muted { color: var(--muted); }

/* ---------- Nagłówek ------------------------------------------------------ */

.header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 6, .72);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.brand:hover { color: var(--fg); }
.brand__seal { width: 34px; height: 34px; flex: none; border-radius: 6px; box-shadow: 0 0 20px rgba(178, 58, 46, .35); }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.brand__sub { color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; }

.menu-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
    border: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-hover); color: var(--fg); cursor: pointer;
}
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
    display: block; width: 17px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), background-color .2s;
}
.menu-toggle__icon { position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ''; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -5.5px; }
.menu-toggle__icon::after { top: 5.5px; }
.is-open .menu-toggle__icon { background: transparent; }
.is-open .menu-toggle__icon::before { transform: translateY(5.5px) rotate(45deg); }
.is-open .menu-toggle__icon::after { transform: translateY(-5.5px) rotate(-45deg); }

.nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; max-height: calc(100vh - var(--header)); overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--border-hover);
    background: rgba(5, 5, 6, .95); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.is-open .nav { display: block; animation: drop .2s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.nav__list { list-style: none; }
.nav__list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 17px; text-decoration: none; }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--fg); }
.nav__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }

.langs { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.langs a {
    display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 7px;
    color: var(--muted); font-family: var(--mono); font-size: 11.5px; text-decoration: none;
}
.langs a:hover { color: var(--fg); }
.langs a[aria-current] { background: rgba(255, 255, 255, .1); color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }

html.menu-open { overflow: hidden; }

/* ---------- Hero ---------------------------------------------------------- */

.hero { position: relative; padding: 72px 0 40px; }
.hero__copy { position: relative; z-index: 1; text-align: center; will-change: transform, opacity; }
.hero__copy .display { max-width: 980px; margin: 0 auto; }
.hero__copy .lead { margin-left: auto; margin-right: auto; }

.cinema {
    position: relative; margin: 56px 0 0; overflow: hidden;
    border-radius: 20px; background: var(--bg-elev);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(94, 106, 210, .14);
}
.cinema::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(5, 5, 6, .75), transparent 45%), linear-gradient(to bottom, rgba(255, 255, 255, .06), transparent 2px);
}
.cinema img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.9) brightness(.92); }
.cinema--wide { margin: 0 0 48px; }

/* ---------- Sekcje -------------------------------------------------------- */

.section { position: relative; padding: 80px 0; }
.section--flush { padding-top: 8px; }
.section--line::before {
    content: ''; position: absolute; top: 0; left: 50%; width: min(1100px, 90%); height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
}
.section--glow { isolation: isolate; }
.section--glow::after {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 100%); height: 520px; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(94, 106, 210, .1), transparent); pointer-events: none;
}
.section--cta { padding-top: 40px; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head--center .section-intro { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 16px; }
.split { display: grid; gap: 40px; align-items: start; }
.grid > *, .split > *, .bento > * { min-width: 0; }

/* ---------- Karty i światło ---------------------------------------------- */

.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
    content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(94, 106, 210, .16), transparent 45%);
    transition: opacity .3s var(--ease);
}
.spotlight:hover::before { opacity: 1; }

.card, .step, .panel {
    position: relative; overflow: hidden;
    padding: 26px; border-radius: var(--radius);
    background: linear-gradient(to bottom, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    box-shadow: var(--shadow-card);
}
.card::after, .step::after, .panel::after {
    content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}
.card, .step { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card > *, .step > *, .panel > * { position: relative; z-index: 2; }
.card p, .step p, .panel p { color: var(--muted); }
.card p:last-child, .step p:last-child, .panel p:last-child { margin-bottom: 0; }
.card__no { display: block; margin: 0 0 16px; color: var(--accent-soft); font-size: 12px; letter-spacing: .12em; }
.card__title { margin-bottom: 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.card__meta { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--border); color: var(--fg) !important; font-size: 14.5px; }
.card__meta .mono { margin-right: 6px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.card--compact { padding: 22px; }
.card--accent { box-shadow: 0 0 0 1px var(--border-accent), 0 8px 40px rgba(0, 0, 0, .5), 0 0 60px rgba(94, 106, 210, .12); background: linear-gradient(to bottom, rgba(94, 106, 210, .14), rgba(255, 255, 255, .02)); }

.icon-tile {
    display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    box-shadow: inset 0 0 0 1px var(--border-hover), 0 0 20px rgba(94, 106, 210, .15); color: var(--accent-soft);
}
.icon-tile--sm { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.icon-tile--sm .icon { width: 19px; height: 19px; }
.icon-tile--warn { color: var(--warn); box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .35), 0 0 20px rgba(245, 165, 36, .15); }
.icon-tile--muted { color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); }

.panel--warn { box-shadow: 0 0 0 1px rgba(245, 165, 36, .25), 0 2px 20px rgba(0, 0, 0, .4); background: linear-gradient(to bottom, rgba(245, 165, 36, .07), rgba(255, 255, 255, .02)); }
.panel--warn .prose p { color: var(--muted); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { padding: 3px 9px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--subtle); font-family: var(--mono); font-size: 11.5px; line-height: 1.5; }

/* ---------- Działy (bento) ----------------------------------------------- */

.bento { display: grid; gap: 16px; }
.division {
    position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden;
    border-radius: 18px; background: var(--bg-elev); box-shadow: var(--shadow-card);
    color: var(--fg); text-decoration: none;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.division:hover { color: var(--fg); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.division__media { position: absolute; inset: 0; }
.division__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.55); transition: transform .8s var(--ease), filter .6s var(--ease); }
.division:hover .division__media img { transform: scale(1.04); filter: saturate(1) brightness(.7); }
.division::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 5, 6, .92), rgba(5, 5, 6, .2) 60%, transparent); pointer-events: none; }
.division__body { position: relative; z-index: 2; display: grid; gap: 6px; padding: 24px; }
.division__no { color: var(--accent-soft); font-size: 12px; letter-spacing: .14em; }
.division__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.division__text { max-width: 460px; color: rgba(237, 237, 239, .75); font-size: 15px; line-height: 1.55; }
.division__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--fg); font-size: 14px; font-weight: 500; }
.division__more .icon { color: var(--accent-soft); transition: transform .25s var(--ease); }
.division:hover .division__more .icon { transform: translateX(4px); }
.division--1 .division__name { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }

/* ---------- Kroki ------------------------------------------------------- */

.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.step__no {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; margin-bottom: 22px; padding: 0 10px;
    border-radius: 999px; background: rgba(94, 106, 210, .12); box-shadow: inset 0 0 0 1px var(--border-accent); color: #C7CBF5; font-size: 12px;
}
.step__title { margin-bottom: 8px; font-size: 1.2rem; }

/* ---------- Zdjęcia ------------------------------------------------------- */

.photo {
    position: relative; margin: 0; overflow: hidden;
    border-radius: var(--radius); background: var(--bg-elev);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 60px rgba(0, 0, 0, .5);
}
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.88) brightness(.92); transition: transform .8s var(--ease), filter .8s var(--ease); }
.photo:hover img { transform: scale(1.03); filter: saturate(1) brightness(1); }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo figcaption:not(.chip) {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 44px 16px 14px;
    background: linear-gradient(to top, rgba(5, 5, 6, .9), transparent); color: rgba(237, 237, 239, .85); font-size: 13.5px; line-height: 1.5;
}
.gallery { display: grid; gap: 16px; }

.quote { position: relative; margin: 32px 0 0; padding: 26px 26px 26px 64px; border-radius: var(--radius); background: rgba(94, 106, 210, .08); box-shadow: inset 0 0 0 1px var(--border-accent); }
.quote__mark { position: absolute; left: 20px; top: 8px; color: var(--accent-soft); font-size: 64px; font-weight: 600; line-height: 1; }
.quote p { margin: 0; color: var(--fg); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }

.prose p { color: var(--muted); }
.prose--lead p:first-child { color: var(--fg); font-size: 1.15rem; }
.prose h2 { margin: 36px 0 12px; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose .checks { margin: 0 0 1em; }

/* ---------- Listy --------------------------------------------------------- */

.checks { list-style: none; display: grid; gap: 14px; margin: 0 0 28px; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--fg); }
.checks__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(94, 106, 210, .15); box-shadow: inset 0 0 0 1px var(--border-accent); color: var(--accent-soft); }
.checks__icon .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.checks--sm { gap: 10px; font-size: 15px; }
.checks--sm li { color: var(--muted); }

.specs { display: grid; margin: 0; }
.specs > div { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--fg); font-weight: 500; }
.specs dd { margin: 0; color: var(--muted); }
.specs.panel { padding: 10px 24px; }

.numbers { list-style: none; display: grid; gap: 8px; margin: 6px 0 0; font-size: 15px; }
.numbers li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.numbers__no { color: var(--accent-soft); font-size: 12px; line-height: 2; }

/* ---------- Oś czasu (sourcing) ----------------------------------------- */

.timeline { list-style: none; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--accent), rgba(94, 106, 210, .05)); }
.timeline__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.timeline__node {
    position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg); box-shadow: 0 0 0 1px var(--border-accent), 0 0 20px rgba(94, 106, 210, .3); color: #C7CBF5; font-size: 12.5px;
}
.timeline__card {
    display: grid; gap: 14px; padding: 22px 24px; border-radius: 14px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: var(--shadow-card);
}
.timeline__card > * { position: relative; z-index: 2; }
.timeline__title { margin-bottom: 6px; font-size: 1.15rem; }
.timeline__card p { margin: 0; color: var(--muted); }
.timeline__out { padding: 10px 12px; border-radius: 8px; background: rgba(94, 106, 210, .08); box-shadow: inset 0 0 0 1px var(--border-accent); color: var(--fg) !important; font-size: 14px; }
.timeline__out .mono { display: block; color: var(--accent-soft); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Kopf podstrony ----------------------------------------------- */

.page-hero { padding: 56px 0 24px; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
.photo--hero img { aspect-ratio: 4 / 3; }
.page-head { padding: 72px 0 44px; }
.page-head--small { padding-bottom: 28px; }
.notfound { padding: 88px 0 110px; }
.notfound__code {
    margin: 0 0 8px; font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 600; line-height: .9; letter-spacing: -.06em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .9), rgba(94, 106, 210, .25)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Powiązane działy, biuro -------------------------------------- */

.related__list { list-style: none; display: grid; gap: 8px; }
.related__list a {
    display: grid; grid-template-columns: 56px auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px;
    border-radius: 12px; color: var(--fg); text-decoration: none; transition: background .2s;
}
.related__list a:hover { background: var(--surface-hover); }
.related__media { display: block; width: 56px; height: 44px; overflow: hidden; border-radius: 8px; }
.related__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.8); }
.related__no { color: var(--accent-soft); font-size: 11.5px; }
.related__name { font-weight: 500; }
.related__list .icon { color: var(--muted); }

.office__seal { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 8px; box-shadow: 0 0 30px rgba(178, 58, 46, .35); }
.office__name { margin: 0 0 2px; color: var(--fg) !important; font-size: 1.15rem; font-weight: 600; }
.office__alt { margin: 0 0 14px; color: var(--accent-soft) !important; font-size: 12px; }
.office address { margin-bottom: 14px; color: var(--muted); }

/* ---------- CTA ----------------------------------------------------------- */

.cta {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 64px 24px; border-radius: 24px; text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01));
    box-shadow: 0 0 0 1px var(--border-hover), 0 30px 80px rgba(0, 0, 0, .5);
}
.cta__glow {
    position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 560px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(94, 106, 210, .38), transparent);
}
.cta .pill { margin-bottom: 22px; }
.cta__title { max-width: 820px; margin: 0 auto; font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
.cta__text { max-width: 600px; margin: 20px auto 0; color: var(--muted); font-size: 1.08rem; }

/* ---------- FAQ ----------------------------------------------------------- */

.faq-layout { display: grid; gap: 32px; }
.faq-nav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-nav a {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 14.5px; text-decoration: none;
}
.faq-nav a .mono { color: var(--accent-soft); font-size: 11px; }
.faq-nav a:hover { color: var(--fg); background: var(--surface-hover); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-size: 1.6rem; }
.faq-group__title .mono { color: var(--accent-soft); font-size: 13px; }

.accordion { display: grid; gap: 8px; }
.acc { border-radius: 12px; background: linear-gradient(to bottom, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .3s; }
.acc:hover { box-shadow: inset 0 0 0 1px var(--border-hover); }
.acc[open] { box-shadow: inset 0 0 0 1px var(--border-accent), 0 0 40px rgba(94, 106, 210, .08); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--fg); font-weight: 500; cursor: pointer; list-style: none; }
.acc__q::-webkit-details-marker { display: none; }
.acc__icon { position: relative; flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-hover); }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; border-radius: 2px; background: var(--fg); transition: transform .3s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc[open] .acc__icon::after { transform: rotate(0deg); }
.acc__a { padding: 0 20px 18px; }
.acc__a p { margin: 0; color: var(--muted); }

/* ---------- Kontakt i formularz ------------------------------------------ */

.contact-layout { display: grid; gap: 20px; }
.contact-aside { display: grid; gap: 12px; align-content: start; }
.info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px; }
.info__title { margin-bottom: 6px; font-size: 1rem; }
.info address { margin-bottom: 8px; color: var(--fg); }
.info .fineprint { margin: 0; }
.info--quiet { align-items: center; background: transparent; box-shadow: inset 0 0 0 1px var(--border); }
.info__quote { margin: 0 !important; color: var(--fg) !important; font-size: 15.5px; }
.contact-mail { margin: 0 0 6px; font-size: 1.1rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-mail a { color: #C7CBF5; text-decoration: none; }

.form-panel {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 28px 20px; border-radius: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    box-shadow: 0 0 0 1px var(--border-hover), 0 30px 80px rgba(0, 0, 0, .5);
}
.form-panel__glow { position: absolute; z-index: -1; right: -220px; top: -220px; width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(94, 106, 210, .2), transparent); }
.form-panel .headline { margin-bottom: 24px; }

.form__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { color: var(--fg); font-size: 14px; font-weight: 500; }
.field__req { color: var(--accent-soft); }
.field__control {
    width: 100%; min-height: 48px; padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background: #0F0F12;
    color: #F3F4F6; font: inherit; font-size: 15.5px;
    transition: border-color .2s, box-shadow .2s;
}
.field__control::placeholder { color: #6B7280; }
.field__control:hover { border-color: rgba(255, 255, 255, .16); }
.field__control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 106, 210, .3); }
textarea.field__control { min-height: 150px; resize: vertical; line-height: 1.55; }
select.field__control {
    -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5B4FC' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
}
select.field__control option { background: #0F0F12; color: #F3F4F6; }
.field__hint { color: #6B7280; font-size: 13px; line-height: 1.5; }

.field--file { position: relative; }
.field__file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.field__filebox {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px;
    border: 1px dashed rgba(255, 255, 255, .16); border-radius: 10px; background: #0B0B0E; transition: border-color .2s, background-color .2s;
}
.field--file:hover .field__filebox { border-color: var(--border-accent); background: rgba(94, 106, 210, .06); }
.field__filebtn { padding: 7px 14px; border-radius: 7px; background: var(--surface-hover); box-shadow: inset 0 0 0 1px var(--border-hover); color: var(--fg); font-size: 13.5px; font-weight: 500; }
.field__filelist { min-width: 0; color: var(--muted); font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.field--file:focus-within .field__filebox { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 106, 210, .3); }
.field--file .field__label, .field--file .field__hint { position: relative; z-index: 3; pointer-events: none; }
.field__file.is-invalid + .field__filebox { border-color: var(--err); border-style: solid; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-hover); cursor: pointer; font-size: 14px; color: var(--fg); }
.choice input { accent-color: var(--accent); }

.consent { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 14.5px; cursor: pointer; }
.consent input { flex: none; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: #C7CBF5; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.guard { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.guard::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4B5563; }
.guard[data-state="run"]::before { background: var(--accent-soft); animation: blink 1s steps(2) infinite; }
.guard[data-state="ok"]::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.guard[data-state="fail"] { color: var(--err); }
.guard[data-state="fail"]::before { background: var(--err); }
@keyframes blink { 50% { opacity: .25; } }

.notice { margin: 0 0 22px; padding: 14px 18px; border-radius: 10px; font-size: 15px; }
.notice--ok { background: rgba(74, 222, 128, .08); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .3); color: #BBF7D0; }
.notice--err { background: rgba(248, 113, 113, .08); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .35); color: #FECACA; }

/* ---------- Strony prawne ------------------------------------------------- */

.legal { display: grid; gap: 32px; }
.legal__text { max-width: 760px; }

/* ---------- Stopka -------------------------------------------------------- */

.footer { position: relative; margin-top: 40px; padding: 64px 0 28px; border-top: 1px solid var(--border); background: rgba(2, 2, 3, .85); font-size: 15px; }
.footer__top { display: grid; gap: 22px; align-items: end; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer__claim { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.footer__grid { display: grid; gap: 34px; }
.footer__about { margin: 18px 0 0; max-width: 340px; }
.footer__head { margin-bottom: 14px; color: var(--fg); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--fg); }
.footer__links .mono { margin-right: 6px; color: var(--accent-soft); font-size: 11px; }
.footer__address { line-height: 1.8; }
.footer__mail { color: #C7CBF5; font-weight: 500; text-decoration: none; }
.footer__note { margin: 10px 0 0; font-size: 13.5px; color: rgba(138, 143, 152, .8); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: rgba(138, 143, 152, .75); font-size: 13px; }

/* ---------- Pojawianie się przy przewijaniu ------------------------------ */

.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ==========================================================================
   Breakpointy
   ========================================================================== */

@media (max-width: 599px) {
    .display, .headline, .cta__title, .footer__claim { -webkit-hyphens: auto; hyphens: auto; }
    .actions .btn { width: 100%; }
    .related__list a { grid-template-columns: 48px minmax(0, 1fr) auto; }
    .related__no { display: none; }
}

@media (min-width: 640px) {
    :root { --gutter: 28px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .cinema img { aspect-ratio: 16 / 9; }
    .form__grid { grid-template-columns: 1fr 1fr; }
    .field { grid-column: span 2; }
    .field--half { grid-column: span 1; }
    .form-panel { padding: 36px 32px; }
    .specs > div { grid-template-columns: minmax(140px, 34%) 1fr; gap: 18px; align-items: baseline; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .cta { padding: 80px 40px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .division--1, .division--4 { grid-column: span 2; }
}

@media (min-width: 960px) {
    :root { --header: 68px; }
    .section { padding: 112px 0; }
    .section--flush { padding-top: 8px; }
    .section--cta { padding-top: 40px; }
    .hero { padding: 104px 0 56px; }
    .cinema { margin-top: 72px; }
    .cinema img { aspect-ratio: 21 / 9; }
    .page-hero { padding: 80px 0 32px; }
    .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
    .page-head { padding: 96px 0 56px; }

    .split--text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
    .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
    .split--media { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
    .split--flip > :first-child { order: 2; }
    .split--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .grid--top { gap: 56px; }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .gallery__offset { transform: translateY(48px); }
    .gallery { padding-bottom: 48px; }

    .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px; }
    .division { min-height: 0; }
    .division--1 { grid-column: span 4; grid-row: span 2; }
    .division--2, .division--3 { grid-column: span 2; }
    .division--4 { grid-column: span 6; }
    .division--1 .division__body { padding: 36px; }

    .timeline::before { left: 25px; }
    .timeline__item { grid-template-columns: 52px minmax(0, 1fr); gap: 20px; }
    .timeline__node { width: 52px; height: 52px; }
    .timeline__card { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; align-items: center; padding: 24px 28px; }

    .cta { padding: 104px 64px; }

    .faq-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
    .faq-nav { position: sticky; top: calc(var(--header) + 40px); }
    .faq-nav ol { display: grid; gap: 6px; }
    .faq-nav a { display: flex; }

    .contact-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: start; }
    .form-panel { padding: 44px 40px; }
    .legal { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
    .legal__aside { position: sticky; top: calc(var(--header) + 40px); }

    .footer__top { grid-template-columns: minmax(0, 1fr) auto; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}

@media (min-width: 1180px) {
    .menu-toggle { display: none; }
    .nav {
        position: static; display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end;
        max-height: none; overflow: visible; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    .nav__list { display: flex; gap: 4px; margin-right: auto; margin-left: 28px; }
    .nav__list a { padding: 6px 11px; border: 0; border-radius: 7px; font-size: 14px; transition: background .2s, color .2s; }
    .nav__list a:hover { background: var(--surface); }
    .nav__list a[aria-current] { background: var(--surface-hover); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border); }
    .nav__foot { margin: 0; gap: 12px; flex-wrap: nowrap; }
    html.menu-open { overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal-pending { opacity: 1; transform: none; }
}
