/* ═══════════════════════════════════════════════════
   PROMAT – Shared Styles · WERSJA 2 (Design 2026)
   Bento · Glassmorphism · Gradient accents · Motion
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Brand */
  --navy:   #0b2a1e;
  --navy-2: #123d2b;
  --blue:   #1f8f4f;
  --blue-2: #34b96a;
  --accent: #e8a020;
  --accent-2:#f6c453;

  /* Neutrals */
  --light:  #f5f8fd;
  --light-2:#eef3fa;
  --text:   #14213a;
  --muted:  #5d6b80;
  --white:  #ffffff;
  --border: #e3eaf3;

  /* Shape */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  /* Elevation */
  --shadow:    0 10px 40px -12px rgba(13,34,64,.18);
  --shadow-lg: 0 30px 70px -20px rgba(13,34,64,.32);
  --shadow-sm: 0 4px 18px -6px rgba(13,34,64,.16);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, var(--blue-2) 100%);
  --grad-accent: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-text: linear-gradient(120deg, var(--blue-2), var(--accent));

  /* Glass */
  --glass-bg: rgba(255,255,255,.72);
  --glass-brd: rgba(255,255,255,.6);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--navy); }

/* ── SCROLL PROGRESS ─────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-accent); z-index: 200;
  box-shadow: 0 0 12px rgba(232,160,32,.6);
  transition: width .08s linear;
}

/* ── SCROLL REVEAL ───────────────────────────────── */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── TOPBAR ──────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #a7c7b4;
  font-size: .8rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .inner {
  max-width: 1240px; margin: auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.topbar a { color: #a7c7b4; text-decoration: none; transition: color .18s; }
.topbar a:hover { color: var(--accent); }
.topbar .contact-items { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar .contact-items span { display: flex; align-items: center; gap: .4rem; }

/* ── NAV (glass, sticky) ─────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s, background .25s;
}
nav.scrolled { box-shadow: 0 8px 30px -12px rgba(13,34,64,.22); background: rgba(255,255,255,.9); }
.nav-inner {
  max-width: 1240px; margin: auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 48px; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: .15rem; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: .55rem .95rem;
  font-size: .88rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: 10px; position: relative;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.nav-links > li > a::after {
  content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .35rem;
  height: 2px; background: var(--grad-accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--blue); background: var(--light); }
.nav-links .active > a { color: var(--blue); }
.nav-links .active > a::after { transform: scaleX(1); }

/* Dropdown */
.nav-links li .dropdown { display: none; }
.nav-links li.open .dropdown { display: block; animation: ddIn .2s ease; }
@keyframes ddIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 230px; overflow: hidden; padding: 6px;
}
.dropdown a { border-radius: 10px; padding: .6rem .9rem; font-size: .85rem; font-weight: 500; display: block; }
.dropdown a:hover { background: var(--light); }
.dropdown-arrow { font-size: .7rem; opacity: .6; margin-left: .3rem; transition: transform .2s; display: inline-block; }
.nav-links li.open .dropdown-arrow { transform: rotate(180deg); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.8rem; font-size: .92rem; font-weight: 600;
  border-radius: 12px; text-decoration: none; font-family: inherit;
  transition: transform .2s, box-shadow .22s, opacity .18s, background .2s;
  cursor: pointer; border: none; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-accent); color: var(--navy); box-shadow: 0 10px 30px -8px rgba(232,160,32,.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(232,160,32,.7); }
.btn-outline { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.4); color: var(--white); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.btn-dark-outline { background: var(--white); border: 1.5px solid var(--border); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-dark-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ── SECTION UTILITIES ───────────────────────────── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1240px; margin: auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
  background: var(--light-2); border: 1px solid var(--border);
  padding: .4rem .9rem; border-radius: 50px;
}
.section-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-accent); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); margin-bottom: 1rem; line-height: 1.12; }
.section-title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin-bottom: 3.5rem; line-height: 1.75; }

/* ── PAGE HERO (subpages) ────────────────────────── */
.page-hero {
  background: var(--grad-brand);
  padding: 4.5rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(232,160,32,.22), transparent 60%),
    radial-gradient(500px 320px at 5% 120%, rgba(52,185,106,.35), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px; -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero-inner { max-width: 1240px; margin: auto; position: relative; z-index: 1; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .18s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .45rem; }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); line-height: 1.15; }
.page-hero p { color: rgba(255,255,255,.78); margin-top: .8rem; font-size: 1.02rem; max-width: 560px; }

/* ── DOCUMENT CARDS ──────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 1rem; }
.doc-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.doc-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.doc-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.doc-icon.pdf { background: rgba(220,38,38,.1); }
.doc-icon.xlsx { background: rgba(22,163,74,.1); }
.doc-icon svg { width: 22px; height: 22px; }
.doc-body { flex: 1; min-width: 0; }
.doc-date { font-size: .76rem; color: var(--muted); margin-bottom: .2rem; }
.doc-title { font-size: .94rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.doc-download {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.2rem; background: var(--light);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .84rem; font-weight: 600; color: var(--blue);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  transition: background .18s, border-color .18s, color .18s;
}
.doc-download:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.doc-download svg { width: 14px; height: 14px; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  font-size: .84rem;
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent);
}
.footer-inner {
  max-width: 1240px; margin: auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; position: relative;
}
.footer-inner a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .18s; }
.footer-inner a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; }

/* ── MOBILE ──────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: .75rem; gap: .15rem; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { padding: .8rem 1rem; }
  .nav-links > li > a::after { display: none; }
  .dropdown { position: static; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 .6rem; background: transparent; }
  .hamburger { display: flex; }
  nav { position: sticky; }
  section { padding: 4rem 1.5rem; }
  .doc-card { flex-wrap: wrap; }
  .doc-download { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .topbar .contact-items { gap: .85rem; }
  .nav-inner { padding: 0 1.25rem; }
}

/* ═══════════════════════════════════════════════════
   VIDEO WIDGET
   ═══════════════════════════════════════════════════ */
.vw {
  position: fixed; bottom: 2rem; right: 2rem; width: 340px;
  background: var(--navy);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  z-index: 9000; overflow: hidden;
  transform: translateY(120px); opacity: 0;
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s;
}
.vw.vw-visible { transform: translateY(0); opacity: 1; }
.vw.vw-gone { transform: translateY(120px); opacity: 0; pointer-events: none; }
.vw-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 .8rem; height: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08); user-select: none;
}
.vw-bar-left {
  display: flex; align-items: center; gap: .6rem;
  color: var(--white); font-size: .8rem; font-weight: 600;
  font-family: 'Inter', sans-serif; flex: 1; min-width: 0;
}
.vw-bar-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-bar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: vw-pulse 2.2s ease-in-out infinite;
}
@keyframes vw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(232,160,32,.5); }
  50%      { opacity: .7; transform: scale(.9); box-shadow: 0 0 0 5px rgba(232,160,32,0); }
}
.vw-bar-btns { display: flex; gap: .3rem; flex-shrink: 0; }
.vw-ibtn {
  width: 28px; height: 28px; border-radius: 8px;
  border: none; background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.75); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; transition: background .15s, color .15s; padding: 0;
}
.vw-ibtn:hover { background: rgba(255,255,255,.2); color: var(--white); }
.vw-ibtn svg { width: 13px; height: 13px; }
.vw-close-btn:hover { background: rgba(220,38,38,.65) !important; }
.vw-body { position: relative; height: 191px; overflow: hidden; background: #000; transition: height .38s cubic-bezier(.4,0,.2,1); }
.vw.vw-minimized .vw-body { height: 0; }
.vw-facade { position: absolute; inset: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vw-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .22s; }
.vw-facade:hover img { opacity: 1; }
.vw-play-ring {
  position: absolute; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 2.5px solid rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  transition: transform .22s, background .22s, border-color .22s; pointer-events: none;
}
.vw-facade:hover .vw-play-ring { transform: scale(1.14); background: var(--accent); border-color: transparent; }
.vw-play-ring svg { width: 22px; height: 22px; margin-left: 3px; }
.vw-facade-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem .8rem .7rem; pointer-events: none;
  font-size: .82rem; font-weight: 700; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(10,28,56,.92));
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.vw-iframe { width: 100%; height: 100%; border: none; display: none; }
.vw-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); z-index: 8999; display: none; }
.vw-overlay.active { display: block; }
.vw.vw-fullscreen {
  position: fixed !important; top: 50% !important; left: 50% !important;
  bottom: auto !important; right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(880px, 94vw) !important; border-radius: 18px; z-index: 9001;
}
.vw.vw-fullscreen .vw-body,
.vw.vw-fullscreen.vw-minimized .vw-body { height: calc(min(880px, 94vw) * 9 / 16) !important; }
.vw-restore-btn {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--navy); border: 1px solid rgba(255,255,255,.12);
  color: var(--white); border-radius: 50px;
  padding: .6rem 1.15rem; font-size: .8rem; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  display: none; align-items: center; gap: .55rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.4); z-index: 9000;
  transform: translateY(20px); opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .4s, background .15s;
}
.vw-restore-btn.vw-restore-visible { display: flex; transform: translateY(0); opacity: 1; }
.vw-restore-btn:hover { background: var(--navy-2); transform: translateY(-2px) !important; }
.vw-restore-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 400px) {
  .vw { width: calc(100vw - 2rem); right: 1rem; bottom: 1rem; }
  .vw-restore-btn { right: 1rem; bottom: 1rem; }
}

/* ═══════════════════════════════════════════════════
   2026 MOTION TOOLKIT
   ═══════════════════════════════════════════════════ */

/* Reveal direction variants */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="blur"]  { filter: blur(10px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="scale"].revealed { transform: none; }
[data-reveal="blur"].revealed { filter: none; }

/* Animated gradient background (moving mesh) */
@keyframes meshShift {
  0%   { background-position: 0% 50%, 100% 0%, 0% 100%; }
  50%  { background-position: 100% 50%, 0% 100%, 100% 0%; }
  100% { background-position: 0% 50%, 100% 0%, 0% 100%; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes floatySlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(3deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.08); }
}
@keyframes gradText {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes shimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: 0; } }

.float { animation: floaty 6s ease-in-out infinite; }
.float-slow { animation: floatySlow 9s ease-in-out infinite; }

.grad-anim {
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--blue-2), var(--accent));
  background-size: 280% 280%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradText 6s ease infinite;
}

/* Mouse spotlight on cards */
.spotlight { position: relative; }
.spotlight::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(52,185,106,.16), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* 3D tilt */
[data-tilt] { transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }

/* Hero particle canvas */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Word rotator */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(20px); white-space: nowrap;
  transition: opacity .5s, transform .5s;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator:not(.js) > span:first-child { opacity: 1; transform: none; }
.rotator.js > span.active { opacity: 1; transform: none; }
.rotator.js > span.leaving { opacity: 0; transform: translateY(-20px); }

/* Infinite marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Process timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }
.timeline::before {
  content: ''; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  opacity: .35;
}
.tl-step { position: relative; text-align: center; padding: 0 .5rem; }
.tl-dot {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; z-index: 1; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.tl-step:hover .tl-dot { transform: translateY(-5px) scale(1.06); border-color: var(--accent); box-shadow: 0 14px 30px -10px rgba(232,160,32,.5); }
.tl-dot svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.tl-num { position: absolute; top: -8px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-accent); color: var(--navy); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tl-step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.tl-step p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* Scroll-down cue */
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; z-index: 2;
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scroll-cue .mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 100% { opacity: 0; top: 16px; } }

/* Back to top */
.to-top {
  position: fixed; bottom: 2rem; left: 2rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow); z-index: 90; opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }

@media (max-width: 1000px) { .timeline { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .timeline::before { display: none; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } .to-top { left: 1rem; bottom: 1rem; } }

/* ═══════════════════════════════════════════════════
   LIGHTBOX (galeria zdjęć)
   ═══════════════════════════════════════════════════ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(8,20,14,.93);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.lb-overlay.open { display: flex; opacity: 1; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: .7rem; max-width: 92vw; }
.lb-img {
  max-width: 92vw; max-height: 82vh; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); object-fit: contain; background: #000;
  animation: lbIn .3s cubic-bezier(.22,1,.36,1);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-cap { color: rgba(255,255,255,.85); font-size: .9rem; text-align: center; max-width: 80vw; }
.lb-counter { color: rgba(255,255,255,.5); font-size: .8rem; letter-spacing: .05em; }
.lb-ctl {
  position: fixed; z-index: 9501; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: background .2s, transform .2s, color .2s;
}
.lb-ctl:hover { background: var(--accent); color: var(--navy); }
.lb-close { top: 1.1rem; right: 1.3rem; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.5rem; }
.lb-prev { left: 1.3rem; } .lb-next { right: 1.3rem; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) {
  .lb-close { top: .8rem; right: .8rem; }
  .lb-prev { left: .5rem; } .lb-next { right: .5rem; }
  .lb-ctl { width: 42px; height: 42px; }
}
