/* ============================================================
   UNIT-X — arkusz stylów (vanilla)
   Odtworzenie 1:1 wersji React (Tailwind + framer-motion)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500&display=swap');

/* ---------- Tokeny ---------- */
:root {
  --black:  #090909;
  --dark:   #111111;
  --dark2:  #1a1a1a;
  --dark3:  #242424;
  --mid:    #555555;
  --muted:  #888888;
  --light:  #cccccc;
  --off:    #f2f1ef;
  --gold:   #c8a84b;
  --gold2:  #d8b65a;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border-radius: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--black);
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
@media (min-width:1024px){ .container { padding: 0 2rem; } }

.bg-black { background: var(--black); }
.bg-white { background: #fff; }
.bg-dark  { background: var(--dark); }
.bg-off   { background: var(--off); }

/* ---------- Etykieta sekcji (SectionLabel) ---------- */
.section-label {
  display: flex; align-items: center; gap: .625rem; margin-bottom: 1.5rem;
}
.section-label::before {
  content: ""; width: 1.5rem; height: 1px; background: var(--gold); display: block;
}
.section-label span {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .20em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; padding: 1rem 2rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--light); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: var(--dark2); }
.btn-outline { border: 1px solid rgba(255,255,255,.2); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
/* warianty rozmiaru wg oryginału */
.btn-nav { font-size: 12px; padding: .625rem 1.25rem; }      /* nav Kontakt / mega CTA */
.btn-mega { font-size: 11px; padding: .625rem 1.25rem; }
.btn-split { font-size: 11px; letter-spacing: .14em; padding: .875rem 1.5rem; } /* Omów zadanie */
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- PulseRule (separator z animacją) ---------- */
.pulse-rule { position: relative; height: 1px; overflow: hidden; margin: 3rem 0; width: 100%; }
.pulse-rule.dark  { background: rgba(0,0,0,.07); }
.pulse-rule.light { background: rgba(255,255,255,.07); }
.pulse-rule::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 50%;
  animation: pulse-sweep 3s ease-in-out infinite; animation-delay: 0s;
}
.pulse-rule.dark::after  { background: linear-gradient(90deg, transparent, rgba(0,0,0,.10), transparent); }
.pulse-rule.light::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent); }
@keyframes pulse-sweep { 0%{transform:translateX(-100%);} 60%,100%{transform:translateX(300%);} }

/* ---------- PulseDot (pulsująca kropka) ---------- */
.pulse-dot {
  width: 6px; height: 6px; border-radius: 9999px; background: #4ade80; flex: 0 0 auto;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.3;transform:scale(.8);} }

/* ---------- Reveal (fade-in przy scrollu, zastępuje framer) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.left  { transform: translateX(-30px); }
.reveal.right { transform: translateX(30px); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled, .navbar.menu-open {
  background: rgba(9,9,9,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }

/* Logo */
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 24px;
  letter-spacing: .08em; color: #fff; display: inline-flex; align-items: baseline;
}
.logo .x { color: var(--gold); }
/* obniżony myślnik (Zmiana 14) */
.logo .dash { color: inherit; display: inline-block; transform: translateY(.2em); }
/* Logo SVG (wordmark UNIT-X, white-gold) — podmiana logo tekstowego */
.logo-img { height: 28px; width: auto; display: block; }
.footer .logo .logo-img { height: 22px; }
.ops-logo-center .brand .logo-img { height: 30px; }
@media (min-width:1024px){ .ops-logo-center .brand .logo-img { height: 34px; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width:1024px){ .nav-links { display: flex; } }
.nav-link {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 0 .25rem; transition: color .25s ease;
  display: inline-flex; align-items: center; gap: .25rem; background: none;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
}
.nav-link.active::after { transform: scaleX(1); }
.nav-link .chev { transition: transform .25s ease; width: 14px; height: 14px; }
.nav-link.open .chev { transform: rotate(180deg); }

.nav-right { display: none; align-items: center; gap: 1.25rem; }
@media (min-width:1024px){ .nav-right { display: flex; } }

/* dropdowny (24/7, język) */
.nav-dd { position: relative; }
.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); transition: color .25s ease;
}
.nav-dd-247 .nav-dd-trigger { color: #fff; }
.nav-dd:hover .nav-dd-trigger { color: #fff; }
.nav-dd-trigger .chev { width: 12px; height: 12px; transition: transform .25s ease; }
.nav-dd:hover .nav-dd-trigger .chev { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: 100%; right: 0; margin-top: .5rem; min-width: 220px;
  background: rgba(9,9,9,.95); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.1);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 60;
}
.nav-dd:hover .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-item {
  display: flex; align-items: center; gap: .75rem; padding: .625rem 1rem; width: 100%;
  font-family: var(--font-body); font-weight: 300; font-size: 14px; color: var(--muted);
  transition: background .15s ease, color .15s ease; text-align: left;
}
.nav-dd-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-dd-item svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
/* pozycje języka - font nagłówkowy, wersaliki */
.lang-item { font-family: var(--font-head); font-weight: 500; font-size: 13px; letter-spacing: .10em; text-transform: uppercase; }
.lang-item.active { color: var(--gold); }
.lang-current { display: inline-flex; align-items: center; gap: .4rem; }
.lang-current svg { width: 15px; height: 15px; }

/* Mega menu */
.mega {
  position: fixed;      /* było: absolute */
  top: 4rem;            /* było: top: 100% - wysokość navbaru */
  left: 0; right: 0;
  background: rgba(9,9,9,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.1);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  z-index: 55;
}
.mega.open { opacity: 1; visibility: visible; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.mega-card {
  display: flex; flex-direction: column; gap: .6rem; padding: 2rem 1.75rem;
  border-left: 1px solid rgba(255,255,255,.08); border-top: 2px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.mega-card:hover { background: rgba(255,255,255,.03); border-top-color: var(--gold); }
.mega-card .num { font-family: var(--font-head); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.mega-card .name { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: #fff; }
.mega-card .desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.mega-card .tag {
  align-self: flex-start; font-family: var(--font-head); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,168,75,.3); padding: .25rem .6rem; margin-top: .25rem;
}
.mega-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.75rem; border-top: 1px solid rgba(255,255,255,.08);
}
.mega-cta span { font-family: var(--font-head); font-size: 14px; color: var(--muted); }

/* mobile nav */
.nav-mobile-actions { display: flex; align-items: center; gap: 1rem; }
@media (min-width:1024px){ .nav-mobile-actions { display: none; } }
.nav-icon-btn { display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.nav-icon-btn svg { width: 22px; height: 22px; }
.nav-icon-btn .mini { font-family: var(--font-head); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--black);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; transform: none; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; height: 4rem; padding: 0 1.5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-body { flex: 1; overflow-y: auto; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
.mobile-247 { display: flex; flex-direction: column; gap: .25rem; border: 1px solid rgba(255,255,255,.1); padding: 1rem; }
.mobile-247 a { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; color: var(--light); font-family: var(--font-head); font-size: 15px; }
.mobile-247 a svg { width: 16px; height: 16px; color: var(--gold); }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list > a, .mobile-acc-trigger {
  font-family: var(--font-head); font-weight: 500; font-size: 21px; color: #fff;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
}
.mobile-acc-panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.mobile-acc-panel.open { max-height: 400px; }
.mobile-acc-panel a { display: block; font-family: var(--font-head); font-size: 16px; color: var(--muted); padding: .6rem 0 .6rem 1rem; }
.mobile-acc-trigger .chev { width: 18px; height: 18px; transition: transform .3s ease; }
.mobile-acc-trigger.open .chev { transform: rotate(180deg); }
.mobile-lang { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.07); }
.mobile-lang button { font-family: var(--font-head); font-size: 14px; color: var(--muted); }
.mobile-lang button.active { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; background: #000; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%) brightness(.35); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.hero-fade-b { position: absolute; inset: 0; background: linear-gradient(to top, #000, rgba(0,0,0,.2) 50%, transparent); }
.hero-fade-r { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7), transparent 50%); }
.hero-content { position: relative; z-index: 10; width: 100%; max-width: 1280px; margin: 0 auto; padding: 8rem 1.5rem 10rem; }
@media (min-width: 1024px){ .hero-content { padding: 8rem 2rem 10rem; } }  /* było 3rem -> ma być 2rem, jak .container */
.hero-inner { max-width: 42rem; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 5.5vw, 80px); line-height: 1.05; color: #fff; margin: 1rem 0 1.5rem; }
.hero p.lead { color: var(--muted); font-size: 16px; max-width: 36rem; line-height: 1.65; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Hero stats (Zmiana 06 — hasła słowne zamiast liczników) */
.hero-stats { position: absolute; z-index: 10; left: auto; right: 3rem; bottom: 10rem;
  display: flex; gap: 2.5rem; align-items: flex-start; text-align: right; }
.hero-stat { opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-stat.in { opacity: 1; transform: none; }
.hero-stat .rule { display: block; width: 28px; height: 2px; background: var(--gold); margin: 0 0 .75rem auto; }
.hero-stat .num { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1; color: #fff; }
.hero-stat .num span { color: var(--gold); }
.hero-stat .lbl { font-family: var(--font-head); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
@media (max-width: 1023px){
  .hero-stats { left: 1.5rem; right: 1.5rem; bottom: 2rem; justify-content: flex-start; text-align: left; gap: 1.5rem; }
  .hero-stat .rule { margin-left: 0; }
  .hero-stat .num { font-size: 24px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--dark); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: 1rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 2.5rem; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-item::after { content: ""; width: 4px; height: 4px; border-radius: 9999px; background: var(--muted); display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SLIDER SPLIT (Dlaczego Unit X)
   ============================================================ */
.split { padding: 5rem 0; }
@media (min-width:1024px){ .split { padding: 7rem 0; } }
.split-grid { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width:1024px){ .split-grid { flex-direction: row; gap: 5rem; } }
.split-left { flex: 1; }
.split-left h2 { color: #000; font-size: clamp(28px, 3vw, 42px); margin-bottom: 1.5rem; }
.split-left p { color: var(--mid); font-size: 16px; line-height: 1.7; margin-bottom: 2rem; max-width: 32rem; }
.split-right { flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,.06); }
.tile { background: #fff; padding: 1.5rem; border-top: 2px solid transparent; transition: background .3s ease, border-color .3s ease; }
.tile:hover { background: var(--off); border-top-color: var(--gold); }
.tile .num { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .18em; color: var(--gold); display: block; margin-bottom: .75rem; }
.tile h3 { font-family: var(--font-head); font-weight: 700; color: #000; font-size: 14px; margin-bottom: .5rem; }
.tile p { color: var(--mid); font-size: 13px; line-height: 1.6; }

/* ============================================================
   ABOUT + PHOTO WALL
   ============================================================ */
.about { padding: 5rem 0; }
@media (min-width:1024px){ .about { padding: 7rem 0; } }
.about-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width:1024px){ .about-grid { flex-direction: row; gap: 5rem; } }
.about-media { width: 100%; }
@media (min-width:1024px){ .about-media { width: 41.6667%; } }
.about-text { width: 100%; }
@media (min-width:1024px){ .about-text { width: 58.3333%; } }
.about-text h2 { color: #000; font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 1.5rem; }
.about-text p { color: var(--mid); font-size: 16px; line-height: 1.7; margin-bottom: 1.25rem; }
.about-stats { display: flex; gap: 0; border-top: 1px solid rgba(0,0,0,.09); margin-top: 1.5rem; padding-top: 1.5rem; align-items: center; }
.about-stat { padding-right: 2rem; }
.about-stat + .about-stat { border-left: 1px solid rgba(0,0,0,.09); padding-left: 2rem; }
.about-stat .val { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: #000; }
.about-stat .val .plus { color: var(--gold); }
.about-stat .lbl { font-family: var(--font-body); font-weight: 300; font-size: 14px; color: var(--mid); margin-top: .125rem; }

/* Photo wall */
.photo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; overflow: hidden; height: 560px; }
@media (min-width:1024px){ .photo-wall { height: 720px; } }
.wall-band { overflow: hidden; position: relative; }
.wall-track { display: flex; flex-direction: column; gap: 1rem; }
.wall-track-up   { animation: wall-up 30s linear infinite; }
.wall-track-down { animation: wall-down 40s linear infinite; }
.wall-band img { width: 100%; height: 260px; object-fit: cover; filter: grayscale(15%) brightness(.88); transition: filter .6s ease; }
@media (min-width:1024px){ .wall-band img { height: 320px; } }
.wall-band img:hover { filter: grayscale(0) brightness(1); }
@keyframes wall-up   { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* ============================================================
   OPERATIONAL FLOW
   ============================================================ */
.ops { padding: 6rem 0; }
@media (min-width:1024px){ .ops { padding: 8rem 0; } }
.ops-grid { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width:1024px){ .ops-grid { flex-direction: row; gap: 5rem; align-items: center; } }
.ops-logo-col { width: 100%; display: flex; justify-content: center; }
@media (min-width:1024px){ .ops-logo-col { width: 40%; } }
.ops-logo { position: relative; width: 100%; max-width: 220px; aspect-ratio: 1; }
@media (min-width:1024px){ .ops-logo { max-width: 360px; } }
.ops-logo svg { width: 100%; height: 100%; }
.ops-logo-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ops-logo-center .brand { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: .08em; color: #fff; }
@media (min-width:1024px){ .ops-logo-center .brand { font-size: 36px; } }
.ops-logo-center .brand .x { color: var(--gold); }
.ops-logo-center .sub { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .30em; text-transform: uppercase; color: var(--muted); margin-top: .75rem; }
.ops-cw  { animation: ops-rotate-cw 48s linear infinite; transform-origin: center; }
.ops-ccw { animation: ops-rotate-ccw 72s linear infinite; transform-origin: center; }
.ops-pulse { animation: ops-pulse-scale 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.ops-dot { animation: ops-dot-pulse 2.4s ease-in-out infinite; }
@keyframes ops-rotate-cw  { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ops-rotate-ccw { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes ops-pulse-scale { 0%,100% { transform: scale(1); opacity: .05; } 50% { transform: scale(1.08); opacity: .09; } }
@keyframes ops-dot-pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

.ops-text { width: 100%; }
@media (min-width:1024px){ .ops-text { width: 60%; } }
.ops-text h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); margin-bottom: 1rem; }
.ops-text > p { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 17px; margin: 1rem 0 3rem; max-width: 32rem; }
.ops-steps { position: relative; padding-left: 2rem; }
.ops-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.06); overflow: hidden; }
.ops-rail::after { content: ""; position: absolute; left: 0; width: 100%; height: 20%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6), transparent); animation: light-trail 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes light-trail { 0% { top: -20%; } 100% { top: 100%; } }
.ops-step { display: flex; gap: 1rem; padding: 1.1rem 1rem; margin-left: -1rem; transition: background .3s ease, padding-left .3s ease; }
.ops-step:hover { background: var(--dark2); padding-left: 1.5rem; }
.ops-step .num { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .16em; color: var(--gold); flex: 0 0 auto; min-width: 28px; padding-top: .25rem; }
.ops-step .icon { color: var(--muted); flex: 0 0 auto; padding-top: .35rem; }
.ops-step .icon svg { width: 14px; height: 14px; }
.ops-step h3 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 17px; margin-bottom: .375rem; line-height: 1.35; }
.ops-step p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 5rem 0; }
@media (min-width:1024px){ .services { padding: 7rem 0; } }
.services-head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3.5rem; }
@media (min-width:1024px){ .services-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.services-head h2 { color: #fff; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; }
.services-head p { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 17px; max-width: 24rem; line-height: 1.65; }
@media (min-width:1024px){ .services-head p { text-align: right; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.07); }
@media (min-width:768px){ .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px){ .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; background: var(--black); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; overflow: hidden; transition: background .3s ease; }
@media (min-width:1024px){ .service-card { padding: 2.5rem; } }
.service-card:hover { background: var(--dark2); }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.service-card:hover::before { transform: scaleY(1); }
.service-card .code { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: rgba(136,136,136,.6); }
.service-card h3 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 16px; line-height: 1.35; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.service-card .tag { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,168,75,.3); padding: .25rem .75rem; }
.service-card .more { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; transition: color .3s ease; }
.service-card:hover .more { color: #fff; }
.service-card .more .arrow { transition: transform .3s ease; }
.service-card:hover .more .arrow { transform: translateX(4px); }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.caps { padding: 5rem 0; }
@media (min-width:1024px){ .caps { padding: 7rem 0; } }
.caps h2 { color: #000; font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 1rem; }
.caps-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(0,0,0,.09); }
@media (min-width:768px){ .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px){ .caps-grid { grid-template-columns: repeat(3, 1fr); } }
.cap-card { background: var(--off); padding: 2rem; border: 1px solid rgba(0,0,0,.09); transition: background .3s ease; }
.cap-card:hover { background: #fff; }
.cap-card .code { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); }
.cap-card h3 { font-family: var(--font-head); font-weight: 700; color: #000; font-size: 15px; margin: 1rem 0 1rem; line-height: 1.35; }
.cap-card p { color: var(--mid); font-size: 14px; line-height: 1.6; }

/* ============================================================
   PHOTO GALLERY (marquee poziomy)
   ============================================================ */
.gallery { background: #000; overflow: hidden; }
.gallery-track { display: flex; gap: 2px; width: max-content; animation: gallery-scroll 60s linear infinite; }
.gallery-slide { width: 120px; flex: 0 0 auto; overflow: hidden; }
@media (min-width:1024px){ .gallery-slide { width: 14.3vw; } }
.gallery-slide .box { position: relative; height: 160px; overflow: hidden; }
@media (min-width:1024px){ .gallery-slide .box { height: 280px; } }
.gallery-slide img { position: absolute; left: 0; width: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s ease, transform .5s ease; }
.gallery-slide img.full { inset: 0; height: 100%; }
.gallery-slide img.crop { top: 0; height: 125%; object-position: top; }
.gallery-slide:hover img { filter: grayscale(0); transform: scale(1.03); }
@keyframes gallery-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   INTERNATIONAL (mapa)
   ============================================================ */
.intl { background: var(--dark); padding: 5rem 0; }
@media (min-width:1024px){ .intl { padding: 7rem 0; } }
.intl-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width:1024px){ .intl-grid { flex-direction: row; gap: 4rem; } }
.intl-left { width: 100%; }
@media (min-width:1024px){ .intl-left { width: 50%; } }
.intl-left h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); margin-bottom: 2rem; }
.regions { }
.region { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.07); transition: padding-left .3s ease; }
.region:hover { padding-left: .5rem; }
.region .r-name { display: flex; align-items: center; gap: .85rem; }
.region .r-name .flag { width: 24px; height: 16px; object-fit: cover; opacity: .8; }
.region .r-name span { color: #fff; font-size: 17px; }
.region .r-type { color: var(--muted); font-size: 13px; }
.intl-right { width: 100%; }
@media (min-width:1024px){ .intl-right { width: 50%; } }
.map-wrap { position: relative; width: 100%; aspect-ratio: 950 / 620; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: .13; filter: brightness(0) invert(1); }
.map-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Animowane punkty mapy (ripple + pulsujący rdzeń) — Zmiana 11 */
.map-dot { position: absolute; transform: translate(-50%, -50%); width: 0; height: 0; }
.map-dot .ring {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 9999px; border: 1.5px solid var(--gold);
  opacity: 0; animation: map-ripple 3s ease-out infinite;
}
.map-dot .ring:nth-child(1) { animation-delay: 0s; }
.map-dot .ring:nth-child(2) { animation-delay: .9s; }
.map-dot .ring:nth-child(3) { animation-delay: 1.8s; }
.map-dot .glow {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 9999px;
  background: radial-gradient(circle, rgba(200,168,75,.35), transparent 70%);
}
.map-dot .core {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 9999px; background: var(--gold2);
  box-shadow: 0 0 8px 2px rgba(216,182,90,.7); animation: map-core 2.4s ease-in-out infinite;
}
@keyframes map-ripple { 0% { width: 8px; height: 8px; opacity: .9; } 100% { width: 64px; height: 64px; opacity: 0; } }
@keyframes map-core { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }
.map-caption { text-align: center; color: var(--muted); font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 1rem; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: #fff; padding: 5rem 0; }
@media (min-width:1024px){ .partners { padding: 6rem 0; } }
.partners-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width:1024px){ .partners-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.partners-head h2 { color: #000; font-size: clamp(26px, 2.8vw, 40px); }
.partners-head p { font-family: var(--font-body); font-weight: 300; color: var(--mid); font-size: 17px; max-width: 20rem; line-height: 1.65; }
@media (min-width:1024px){ .partners-head p { text-align: right; } }
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,.09); }
@media (min-width:1024px){ .partners-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-cell { background: #fff; height: 8rem; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,.09); transition: border-color .3s ease; padding: 1.5rem; }
@media (min-width:1024px){ .partner-cell { height: 10rem; } }
.partner-cell:hover { border-color: var(--gold); }
.partner-cell img { max-height: 4rem; max-width: 88%; opacity: .8; object-fit: contain; filter: grayscale(100%); }
@media (min-width:1024px){ .partner-cell img { max-height: 6rem; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--off); padding: 5rem 0; }
@media (min-width:1024px){ .testimonials { padding: 7rem 0; } }
.testimonials h2 { color: #000; font-size: clamp(28px, 3vw, 44px); margin-bottom: 3rem; }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(0,0,0,.09); }
@media (min-width:768px){ .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: var(--off); padding: 2rem; border: 1px solid rgba(0,0,0,.09); transition: background .3s ease; }
@media (min-width:1024px){ .testi-card { padding: 2.5rem; } }
.testi-card:hover { background: #fff; }
.testi-card .quote-mark { font-family: var(--font-head); font-size: 72px; line-height: 1; color: rgba(0,0,0,.1); }
.testi-card .quote { color: var(--mid); font-size: 17px; line-height: 1.6; margin-top: -2rem; }
.testi-card .foot { border-top: 1px solid rgba(0,0,0,.09); margin-top: 1.5rem; padding-top: 1.25rem; }
.testi-card .author { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #000; }
.testi-card .role { font-family: var(--font-body); font-weight: 300; color: var(--mid); font-size: 14px; margin-top: .25rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--dark); padding: 5rem 0; }
@media (min-width:1024px){ .contact { padding: 7rem 0; } }
.contact-grid { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width:1024px){ .contact-grid { flex-direction: row; gap: 4rem; } }
.contact-left { width: 100%; }
@media (min-width:1024px){ .contact-left { width: 41.6667%; } }
.contact-left h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); margin-bottom: 1.5rem; }
.contact-left > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-info .item { display: flex; flex-direction: column; gap: .25rem; }
.contact-info .item .k { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted); }
.contact-info .item .v { font-family: var(--font-body); font-weight: 300; color: #fff; font-size: 17px; }
.contact-badge { background: var(--dark2); border: 1px solid rgba(255,255,255,.07); padding: 1.25rem; }
.contact-badge .t { display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: .5rem; }
.contact-badge p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-right { width: 100%; }
@media (min-width:1024px){ .contact-right { width: 58.3333%; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width:768px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea, .field select {
  width: 100%; background: var(--dark2); border: 1px solid rgba(255,255,255,.07); color: #fff;
  padding: .875rem 1rem; font-family: var(--font-body); font-weight: 300; font-size: 14px;
  transition: border-color .2s ease; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(255,255,255,.3); }
.field textarea { resize: none; min-height: 140px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888888' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field .err { color: #f87171; font-size: 14px; margin-top: .25rem; }
.form-success { background: var(--dark2); border: 1px solid rgba(255,255,255,.07); padding: 2.5rem; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; }
.form-success .fs-rule { width: 3rem; height: 1px; background: rgba(255,255,255,.2); }
.form-success h3 { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 17px; }
.form-success p { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 14px; }
.btn-submit { width: 100%; justify-content: center; padding: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.07); padding: 3.5rem 0; }
@media (min-width:1024px){ .footer { padding: 4rem 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width:768px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .logo { font-size: 19px; letter-spacing: .14em; color: var(--muted); font-weight: 800; }
.footer-brand .tagline { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 1rem 0; max-width: 20rem; }
.footer-status { display: flex; align-items: center; gap: .5rem; color: #4ade80; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: .10em; text-transform: uppercase; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-col a, .footer-col .line { display: block; font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 14px; padding: .3rem 0; transition: color .25s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width:768px){ .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom .copy { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 14px; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 14px; transition: color .25s ease; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; transform: translateY(120%); transition: transform .4s ease; }
.cookie.show { transform: none; }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width:768px){ .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cookie p { color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 46rem; }
.cookie p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex: 0 0 auto; }
.cookie-actions .btn { padding: .7rem 1.5rem; font-size: 13px; }

/* ---------- Zabezpieczenia układu mobilnego ---------- */
.hero-ctas { max-width: 100%; }
/* na desktopie H1 jak w referencji (overflow-wrap: normal, całe słowa);
   break-word tylko na mobile jako zabezpieczenie przed długimi słowami */
@media (max-width: 1023px){
  .hero h1 { overflow-wrap: break-word; }
  .hero-content, .hero-inner { max-width: 100%; }
}
/* min-width:0 zapobiega rozpychaniu przez elementy flex/grid */
.split-grid > *, .about-grid > *, .ops-grid > *, .intl-grid > *, .contact-grid > *,
.services-head > *, .partners-head > *, .footer-grid > * { min-width: 0; }
.about-stats { flex-wrap: wrap; gap: 1.25rem 0; }
/* mega menu to element wyłącznie desktopowy — nie może rozpychać layoutu na mobile */
@media (max-width: 1023px){ .mega { display: none; } }
/* minmax(0,1fr) zapobiega rozrywaniu siatek przez długie słowa (zachowana liczba kolumn) */
.tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
.services-grid, .caps-grid, .testi-grid { grid-template-columns: minmax(0,1fr); }
.partners-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width:768px){
  .services-grid, .caps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .testi-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width:1024px){
  .services-grid, .caps-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .partners-grid, .mega-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .about-stat { padding-right: 1.25rem; }
  .about-stat + .about-stat { padding-left: 1.25rem; }
}

/* ---------- Pomocnicze ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }

/* RODO checkbox w formularzu strony glownej (dodane 2026-08-19) */
.form-rodo { display: flex; gap: .75rem; align-items: flex-start; margin: 1rem 0 .25rem; cursor: pointer; }
.form-rodo input { margin-top: .3em; accent-color: var(--gold); flex: 0 0 auto; }
.form-rodo span { font-size: 12px; line-height: 1.6; color: var(--muted); }
