/* =========================================================
   STYLES.CSS — ONE CLEAN FILE (TOP NAV + DRAWER) ✅
   - Top navbar fixed + drawer
   - Sidebar OFF
   - Watermark (OFF on HOME)
   - Buttons sheen
   - Hero / page-hero / about / marquee / portfolio / clients / contact
   - PROJEKTY:
     • sticky "Wyzwania" (desktop)
     • większy odstęp między "Wyzwania" a kartami
     • mobile: padding L/R + wyrównanie sekcji
     • H1 w projektach: desktop nigdy nie ucina, mobile mocno się skaluje
   - KLIENCI:
     • animacja poprawiona na mobile (mniej jitter/hover-pause)
   - PODSTRONY PROJEKTÓW:
     • hover zdjęć = żółta ramka (jak Klienci)
     • likwidacja lupki (cursor + ewentualne pseudo-elementy)
========================================================= */

/* =========================
   RESET / BASE
========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#0b0b0b;
  color:#f2f2f2;
  position: relative;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
:focus{ outline:none; }
:focus-visible{ outline: 3px solid rgba(215,230,0,.35); outline-offset: 3px; }

/* =========================
   LOCAL FONT — Audiowide
========================= */
@font-face{
  font-family: "Audiowide";
  src: url("/fonts/Audiowide-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.audiowide-regular{
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================
   HEADINGS SYSTEM (GLOBAL)
========================= */
h1, h2, h3{
  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .06em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1{ font-size: clamp(44px, 5vw, 86px); }
h2{ font-size: clamp(28px, 3.6vw, 56px); }
h3{ font-size: 18px; letter-spacing: .04em; }

/* =========================
   THEME / VARS
========================= */
:root{
  --acid:#d7e600;
  --ink:#0b0b0b;

  --muted:rgba(242,242,242,.72);
  --muted2:rgba(242,242,242,.60);

  --card-border:#262626;
  --radius:18px;
  --shadow: 0 18px 40px rgba(0,0,0,.45);

  /* NAV */
  --nav-h: 78px;
  --nav-gap: 14px;
  --nav-max: 1100px;

  /* KLIENCI */
  --clients-photo: url("img/klienci-sylwetka.png");
  --clients-show-acid-block: 0;

  /* ABOUT marquee */
  --about-gap: 14px;           /* odstęp jak w UI */
  --about-speed: 42s;          /* wolniej niż klienci */
}

/* =========================
   WATERMARK LOGO — OFF ON HOME
========================= */
.page:not(.page--home)::before{
  content:"";
  position: fixed;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(820px, 60vw);
  height: min(820px, 80vh);
  background: url("media/raj-logo.png") no-repeat center / contain;
  filter:
    drop-shadow(0 0 14px rgba(215,230,0,.55))
    drop-shadow(0 0 52px rgba(215,230,0,.28))
    drop-shadow(0 18px 90px rgba(215,230,0,.22));
  opacity: .14;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1279px){
  .page:not(.page--home)::before{
    right: -18%;
    width: min(680px, 88vw);
    height: min(680px, 66vh);
    opacity: .12;
  }
}
@media (max-width: 799px){
  .page:not(.page--home)::before{
    right: -30%;
    width: 92vw;
    height: 50vh;
    opacity: .10;
  }
}
.layout, .main{ position: relative; z-index: 1; }

/* =========================
   CONTAINER
========================= */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 28px;
}
@media (max-width: 799px){
  .container{ padding:0 18px; }
}

/* =========================
   LAYOUT (TOP NAV) — sidebar OFF
========================= */
.layout{ min-height:100vh; display:block; }
.sidebar{ display:none !important; }

.main{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding-top: calc(var(--nav-h) + var(--nav-gap) + 16px);
}
.page--home .main{ padding-top: 0; }

/* =========================
   BUTTONS + SHEEN
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:16px 18px;
  border-radius:14px;
  background:var(--acid);
  color:var(--ink);

  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;

  letter-spacing:.10em;
  border:1px solid rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  width: fit-content;
  cursor:pointer;

  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn--compact{ padding:14px 16px; }
.btn--wide{ width:100%; justify-content:center; }

.btn__arrow{
  width:28px; height:28px;
  border-radius:10px;
  background:rgba(0,0,0,.12);
  display:grid;
  place-items:center;
}

.btn::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-65%) rotate(18deg);
  opacity:.7;
  pointer-events:none;
  transition: transform .6s ease;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(215,230,0,.25),
    0 18px 55px rgba(215,230,0,.35),
    0 28px 70px rgba(0,0,0,.55);
  filter: saturate(1.08);
}
.btn:hover::after{ transform: translateX(65%) rotate(18deg); }
.btn:active{
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(215,230,0,.18),
    0 14px 40px rgba(0,0,0,.45);
}

.btn.ghost{
  background: rgba(255,255,255,.08);
  color: rgba(242,242,242,.90);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:none;
}
.btn.ghost::after{ opacity:.35; }

.btn.mini{
  padding:10px 12px;
  border-radius:14px;
  font-size:11px;
  letter-spacing:.10em;
  box-shadow:none;
}

/* =========================
   SHARED CARD
========================= */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.card__title{ margin:0 0 8px; font-size:18px; font-weight:900; }
.card__text{ margin:0; color:var(--muted); line-height:1.55; font-size:14px; }

/* =========================
   FOOTER
========================= */
.footer{
  background: var(--acid);
  color: var(--ink);
  padding: 26px 28px;
  margin-top: auto;
}
.footer__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  text-align: center;
}
.footer__item{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__label{
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 800;
  opacity: .7;
  margin-bottom: 6px;
}
.footer__value{
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 15px;
}
.footer__value:hover{ text-decoration: underline; }
@media (max-width: 799px){
  .footer{ padding: 22px 18px; }
  .footer__inner{ flex-direction: column; gap: 14px; }
}
.footer a,
.footer__value{
  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================
   NAV TOGGLE (drawer checkbox)
========================= */
.nav-toggle{ display:none; }

/* =========================================================
   NAVBAR (TOP)
========================================================= */
.navbar{
  position: fixed;
  top: var(--nav-gap);
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  will-change: transform;
  transition: transform .22s ease, opacity .22s ease;
}
.navbar.is-hidden{
  transform: translateY(-120%);
  opacity: 1;
}
.navbar__inner{
  height: var(--nav-h);
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 0 18px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: 18px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.navbar__brand{ display:flex; align-items:center; }
.navbar__logo,
.drawer__logo{
  height: 44px;
  width: auto;
  display:block;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 10px rgba(215,230,0,.35))
    drop-shadow(0 0 30px rgba(215,230,0,.18));
}
@media (max-width: 799px){
  .navbar__logo{ height: 40px; }
}

.navbar__nav{
  margin-left: auto;
  display:flex;
  align-items:center;
  gap: 10px;
}
.navbar__link{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;

  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;

  letter-spacing: .10em;
  font-size: 12px;

  color: rgba(242,242,242,.92);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);

  overflow:hidden;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.navbar__link::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.40), transparent);
  transform: translateX(-70%) rotate(18deg);
  opacity: 0;
  transition: transform .55s ease, opacity .18s ease;
  pointer-events:none;
}
.navbar__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(215,230,0,.35);
  color: #fff;
}
.navbar__link:hover::before{
  opacity: .75;
  transform: translateX(70%) rotate(18deg);
}
.navbar__link.is-active{
  background: var(--acid);
  border-color: rgba(0,0,0,.25);
  color: var(--ink);
}
.navbar__link.is-active:hover{ color:#fff; }
.navbar__cta.btn{
  margin-left: 12px;
  border-radius: 14px !important;
  transform: scale(.9);
  transform-origin: center right;
}

/* =========================================================
   HAMBURGER (navbar)
========================================================= */
.hamburger{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;

  width: 56px;
  height: 56px;
  border-radius: 18px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(215,230,0,.35);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);

  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span{
  display:block;
  width: 30px;
  height: 6px;
  background: rgba(242,242,242,.92);
  border-radius: 999px;
  transition: transform .18s ease, opacity .14s ease;
  transform-origin:center;
}
.nav-toggle:checked ~ .layout .hamburger span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked ~ .layout .hamburger span:nth-child(2){ opacity: 0; }
.nav-toggle:checked ~ .layout .hamburger span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   DRAWER (MOBILE/TABLET)
========================================================= */
.drawer{ display:none; }
.nav-toggle:checked ~ .layout .drawer{ display:block; }

.drawer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(10px);
  z-index: 10000;
}
.drawer__closearea{ position:absolute; inset:0; }

.drawer__nav{
  position:absolute;
  left: 12px;
  top: 12px;
  width: min(380px, 88vw);
  height: calc(100% - 24px);
  padding: 18px 16px;
  border-radius: 22px;

  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 22px 0 80px rgba(0,0,0,.65);
  color: rgba(242,242,242,.92);
}
.drawer__brand{
  display:flex;
  justify-content:flex-start;
  padding: 6px 6px 18px;
}
.drawer__item{
  display:flex;
  justify-content:space-between;
  align-items:baseline;

  padding: 14px 14px;
  margin-bottom: 10px;
  border-radius: 16px;

  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.drawer__item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(215,230,0,.35);
}
.drawer__item.is-active{
  background: rgba(215,230,0,.20);
  border-color: rgba(215,230,0,.35);
}
.drawer__label{
  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing:.10em;
  font-size: 12px;
}
.drawer__num{ font-weight: 900; opacity: .7; }
.drawer__cta{ margin-top: 14px; }

/* =========================================================
   MOBILE NAV: tylko LOGO + HAMBURGER (bez piguły)
========================================================= */
@media (max-width: 1024px){
  .navbar__nav{ display:none; }
  .navbar__cta{ display:none; }
  .hamburger{ display:flex; margin-left:auto; }

  .navbar__inner{
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0 14px;
    height: var(--nav-h);

    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .nav-toggle:checked ~ .layout .navbar__brand{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
  }
}
.nav-toggle:checked ~ .layout .navbar{ transform: translateY(-120%); }

/* =========================================================
   HERO + VIDEO BG (HOME)
========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:#000;
}
.hero__bgVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center center;
  z-index:0;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 700px at 40% 50%, rgba(0,0,0,.25), rgba(0,0,0,.75));
  z-index:1;
}
.hero__inner{
  max-width: 980px;
  margin-left: 56px;
  margin-right: 56px;
  display:flex;
  flex-direction:column;
  gap: 22px;
  position: relative;
  z-index:2;
}
.hero__inner--center{
  width:100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 799px){
  .hero__inner{ margin-left: 18px; margin-right: 18px; }
  .hero__inner--center{ padding: 0 18px; }
}
.kicker{
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  opacity: .86;
}
.hero__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: .95;
  text-transform: uppercase;
  font-size: clamp(44px, 5.2vw, 92px);
  text-shadow: 0 10px 35px rgba(0,0,0,.45);
}

/* =========================================================
   PAGE HERO
========================================================= */
.page-hero{ padding: 56px 28px 10px; }
.page-hero__inner{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.page-hero__title{
  margin: 0 0 26px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: .95;
  text-transform: uppercase;
  font-size: clamp(44px, 5vw, 86px);
}
@media (max-width: 799px){
  .page-hero{ padding: 18px 18px 0; }
}

.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 80px;
}
.about-col{ max-width: 520px; }

.about-text{
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.big-quote{
  margin-top: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(242,242,242,.38);
  line-height: 1.15;
  font-size: clamp(22px, 2.6vw, 36px);

  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================
   PAGE ABOUT — GRID AREAS
========================= */
.page--about .about-grid{
  grid-template-areas:
    "p1  p2"
    "btn p2";
  align-items: start;
}
.page--about .about-grid .about-col{ display: contents; }

.page--about .about-grid > .about-col:nth-child(1) > .about-text{
  grid-area: p1;
  max-width: 520px;
}
.page--about .about-grid > .about-col:nth-child(2) > .about-text{
  grid-area: p2;
  max-width: 520px;
}
.page--about .about-grid > .about-col:nth-child(1) > .btn{
  grid-area: btn;
  justify-self: start;
  align-self: start;
  margin-top: 20px;
}

@media (max-width: 1279px){
  .about-grid{ grid-template-columns: 1fr; }
  .page--about .about-grid{
    grid-template-areas:
      "p1"
      "p2"
      "btn";
  }
  .page--about .about-grid > .about-col:nth-child(1) > .btn{ margin-top: 20px; }
}

.page--about .about-col > .btn{ margin-top: 20px !important; }
.page--about .page-hero{ padding-bottom: 40px; }

.page--about .marquee-section{
  margin-top: 20px;
  padding-top: 20px;
}

@media (max-width: 799px){
  .page--about .page-hero{ padding-bottom: 32px; }
  .page--about .marquee-section{
    margin-top: 24px;
    padding-top: 24px;
  }
}

.page--about .about-grid{ margin-bottom: 40px; }
.page--about .big-quote{ margin-top: 0 !important; }

/* =========================================================
   ABOUT / MARQUEE — JAK KLIENCI (BEZ JS) + ZERO PRZERWY
   Wymaga: w HTML w .marquee__track są DWA IDENTYCZNE SETY kart (A + B)
========================================================= */

:root{
  --about-gap: 14px;
  --about-speed: 60s; /* wolniej */
}

@media (max-width: 799px){
  :root{
    --about-gap: 12px;
    --about-speed: 78s; /* jeszcze wolniej na mobile */
  }
}

.marquee-section{
  padding: 26px 0 60px;
  overflow: hidden;
}

.marquee-section .marquee{
  position: relative;
  width: 100%;
  padding: 0 18px;
}
@media (max-width: 799px){
  .marquee-section .marquee{ padding: 0 12px; }
}

.marquee-section .marquee__viewport{
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  contain: layout paint;
}

/* fade (lewo/prawo) */
.marquee-section .marquee__fade{
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 3;
}
.marquee-section .marquee__fade--left{
  left:0;
  background: linear-gradient(90deg, rgba(11,11,11,1), rgba(11,11,11,0));
}
.marquee-section .marquee__fade--right{
  right:0;
  background: linear-gradient(270deg, rgba(11,11,11,1), rgba(11,11,11,0));
}
@media (max-width: 1279px){
  .marquee-section .marquee__fade{ width: 70px; }
}
@media (max-width: 799px){
  .marquee-section .marquee__fade{ width: 56px; }
}

/* TRACK: 2 sety => przesuwamy o -50% */
.marquee-section .marquee__track{
  display:flex;
  flex-wrap: nowrap;
  align-items: stretch;

  /* klucz: gap jest na TRACKU, ale NIE dokładaj żadnych marginów na końcu setów */
  gap: var(--about-gap);
  width: max-content;

  will-change: transform;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  animation: about-marquee-horizontal var(--about-speed) linear infinite;
}

/* ✅ dokładnie jak Klienci */
@keyframes about-marquee-horizontal{
  from{ transform: translate3d(0,0,0); }
  to  { transform: translate3d(-50%,0,0); }
}

/* WAŻNE: sety NIE mogą mieć własnego gap/margin, bo robi “podwójny” odstęp i wrażenie przerwy */
.marquee-section .marquee__set{
  display:flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;          /* <-- reset */
  margin: 0;       /* <-- reset */
  padding: 0;      /* <-- reset */
}

/* karta (tylko w marquee) */
.marquee-section .marquee__card{
  flex: 0 0 auto;
  width: 360px;
}
@media (max-width: 1279px){
  .marquee-section .marquee__card{ width: 340px; }
}
@media (max-width: 799px){
  .marquee-section .marquee__card{ width: 300px; }
}

/* pauza tylko na desktop */
@media (hover:hover) and (pointer:fine){
  .marquee-section .marquee__viewport:hover .marquee__track{
    animation-play-state: paused;
  }
}
/* dotyk: nie pauzuj */
@media (hover:none) and (pointer:coarse){
  .marquee-section .marquee__viewport:hover .marquee__track{
    animation-play-state: running !important;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .marquee-section .marquee__track{ animation:none !important; }
}

/* =========================================================
   PORTFOLIO — GRID + CARDS
========================================================= */
.lead{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.projects{ padding: 18px 0 44px; }

/* ✅ AUTO-DOPASOWANIE SIATKI DO ILOŚCI KAFLI */
.projectsGrid{
  display: grid;
  gap: 18px;
  align-items: start;

  /* automatyczna liczba kolumn zależnie od szerokości i ilości kart */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  /* przy małej ilości kart wygląda naturalnie */
  justify-content: center;
}

@media (max-width: 1100px){
  .projectsGrid{ gap:16px; }
}
@media (max-width: 740px){
  .projects{ padding: 18px 0 40px; }
  .projectsGrid{ gap:14px; }
}

.pCard{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
  min-height: 210px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.pCard:hover{
  transform: translateY(-2px);
  border-color: rgba(215,230,0,.45);
  background: rgba(255,255,255,.05);
}
.pHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  cursor:pointer;
  user-select:none;
}
.pHeadText{ min-width:0; }
.pTitle{
  margin:0;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  opacity:.95;
}
.pSub{
  margin: 10px 0 0;
  color: rgba(242,242,242,.60);
  font-size: 12px;
  line-height: 1.65;
}
.pExpand{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition: max-height .35s ease, opacity .22s ease, transform .22s ease;
  border-top: 1px solid rgba(255,255,255,.10);
}
.pExpandInner{ padding: 14px 18px 18px; }
.pRow{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
}
.pRowTitle{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  opacity: .7;
}
.pRowText{
  font-size: 12px;
  color: rgba(242,242,242,.62);
  line-height: 1.6;
}
.actions{
  display:flex;
  gap: 10px;
  padding-top: 12px;
  flex-wrap: wrap;
}
@media (hover:hover) and (pointer:fine){
  .pCard:hover .pExpand{
    max-height: 700px;
    opacity: 1;
    transform: translateY(0);
  }
}
.pCard.is-open .pExpand{
  max-height: 700px;
  opacity: 1;
  transform: translateY(0);
}
.page--portfolio .pCard .btn.mini{
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: .08em;
  border-radius: 10px;
  gap: 8px;
}
.page--portfolio .pCard .btn.mini.ghost{ padding: 8px 12px; font-size: 10px; }

/* =========================================================
   KLIENCI — HERO + TŁO + KARUZELA
========================================================= */
.clients-hero{ position: relative; overflow: hidden; }
.clients-hero__bg{
  position:absolute;
  top: 0;
  right: 0;
  width: min(720px, 52vw);
  height: min(640px, 68vh);
  z-index: 0;
  background:
    var(--clients-photo) center bottom / contain no-repeat,
    linear-gradient(
      to bottom,
      rgba(215,230,0, calc(var(--clients-show-acid-block) * 1)) 0%,
      rgba(215,230,0, calc(var(--clients-show-acid-block) * 1)) 100%
    );
  opacity: .95;
  pointer-events:none;
}
.clients-hero .page-hero__inner{ position: relative; z-index: 1; }

.clients-carousel{
  margin-top: auto;
  padding: 36px 0 56px;
  position: relative;
  z-index: 2;
}
.clients-carousel__viewport{
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  -webkit-transform: translateZ(0);
}
.clients-carousel__fade{
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 3;
}
.clients-carousel__fade--top{ left:0; background: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0)); }
.clients-carousel__fade--bottom{ right:0; background: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0)); }
@media (max-width: 1279px){ .clients-carousel__fade{ width: 70px; } }
@media (max-width: 799px){ .clients-carousel__fade{ width: 56px; } }

/* track — animacja + stabilizacja */
.clients-carousel__track{
  display:flex;
  flex-wrap: nowrap;
  align-items:center;
  gap: 36px;
  width: max-content;

  will-change: transform;
  animation: clients-horizontal 18s linear infinite;

  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}
.clients-carousel__viewport:hover .clients-carousel__track{ animation-play-state: paused; }

@keyframes clients-horizontal{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce){ .clients-carousel__track{ animation:none; } }
@media (max-width: 1279px){ .clients-carousel__track{ animation-duration: 20s; } }
@media (max-width: 799px){ .clients-carousel__track{ animation-duration: 22s; } }

/* Na dotyku: nie pauzuj (hover jest losowy) + wolniej */
@media (hover: none) and (pointer: coarse){
  .clients-carousel__viewport:hover .clients-carousel__track{
    animation-play-state: running !important;
  }
}
@media (max-width: 768px){
  .clients-carousel__track{
    animation-duration: 28s !important;
    animation-timing-function: linear !important;
  }
}

/* KAFEL LOGO — większy */
.client-line{
  flex: 0 0 auto;
  width: clamp(220px, 20vw, 260px);
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;

  opacity: .96;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.client-line:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.10);
  border-color: rgba(215,230,0,.55);
}

/* LOGOTYP */
.client-line__media{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-line__img{
  max-width: 88%;
  max-height: 78%;
  width: auto;
  height: auto;

  object-fit: contain;
  filter: grayscale(1) brightness(1.08);
  transition: filter .18s ease, transform .18s ease;
}
.client-line:hover .client-line__img{
  filter: grayscale(0) brightness(1.05);
  transform: scale(1.05);
}

/* tablet */
@media (max-width: 1200px){
  .client-line{
    width: clamp(200px, 24vw, 240px);
    height: 140px;
  }
}
/* mobile */
@media (max-width: 768px){
  .clients-carousel{ padding: 28px 0 40px; }
  .client-line{
    width: 78vw;
    max-width: 260px;
    height: 130px;
  }
  .client-line__img{
    max-width: 90%;
    max-height: 80%;
  }
}

/* =========================================================
   KONTAKT — FORM (NO OVERFLOW OUTSIDE)
========================================================= */
.contact-box{ margin-top: 18px; padding: 0 0 36px; }
.contact-form{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
  padding: 22px;
  max-width: 980px;
  overflow: hidden;
  overflow-x: hidden;
}
.contact-form *{ max-width: 100%; min-width: 0; }

.contact-grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-grid-2--tight{ margin-top: 10px; gap: 18px; }
.contact-grid-2 > .field{ margin-top: 0; }
.field{ margin-top: 14px; }
.field:first-child{ margin-top: 0; }

.field label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(242,242,242,.92);
  margin: 0 0 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width:100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.92);
  padding: 14px 14px;
  font-size: 14px;
  outline: none;
}
.contact-form textarea{ resize: vertical; min-height: 120px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: rgba(242,242,242,.45); }

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(215,230,0,.55);
  box-shadow: 0 0 0 3px rgba(215,230,0,.15);
}

.fieldset{ border: 0; padding: 0; margin: 18px 0 0; }
.fieldset legend{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(242,242,242,.92);
  margin-bottom: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.opt{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 7px 0;
  color: rgba(242,242,242,.88);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  user-select:none;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.opt input{
  width: 14px;
  height: 14px;
  accent-color: var(--acid);
}

.form-actions{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.form-msg{
  margin: 0;
  font-size: 13px;
  color: rgba(242,242,242,.70);
}

@media (max-width: 900px){
  .contact-form{ padding: 18px; }
  .contact-grid-2{ grid-template-columns: 1fr; }
  .contact-grid-2--tight{ grid-template-columns: 1fr; }
}
@media (max-width: 799px){
  .contact-box{ padding-bottom: 26px; }
  .contact-form{ border-radius: 18px; padding: 16px; }
  .field label{ font-size: 12px; }
  .opt{ font-size: 13px; }
  .contact-form textarea{ min-height: 110px; }
}

/* =========================================================
   RODO (NO OVERFLOW OUTSIDE)
========================================================= */
.field--rodo{ margin-top: 14px; }
.rodo-consent{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  line-height: 1.35;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.rodo-consent input{
  width: 14px;
  height: 14px;
  accent-color: var(--acid);
  margin-top: 3px;
}
.rodo-consent span{
  font-weight: 900;
  color: rgba(242,242,242,.92);
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.rodo-consent a{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.rodo-consent:hover span{ color: rgba(242,242,242,1); }
.rodo-consent:hover a{ text-decoration-thickness: 2px; }

/* =========================================================
   PRIVACY PAGE — odstęp przed footerem
========================================================= */
.page--privacy .card{ margin-bottom: 36px; }

/* =========================================================
   CONTACT — szerokość jak PORTFOLIO (1100px)
========================================================= */
.page--contact .contact-form{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   PROJECT PAGE (case study)
========================================================= */
.page--project .main{
  padding-top: calc(var(--nav-h) + var(--nav-gap) + 16px);
}

/* ✅ Sticky-killer guard: nie dawaj overflow:hidden na rodzicach sticky */
.page--project{ overflow-x: clip; }
@supports not (overflow: clip){
  .page--project{ overflow-x: hidden; }
}
.page--project .page-hero__inner,
.page--project .project-hero,
.page--project .container,
.page--project .main{ min-width: 0; }

/* ✅ PROJEKTY: MOBILE padding L/R + wyrównanie sekcji */
@media (max-width: 799px){
  .page--project .container{ padding-left: 20px; padding-right: 20px; }
  .page--project .page-hero{ padding-left: 20px; padding-right: 20px; }
  .page--project .project-challenges{ padding-left: 20px; padding-right: 20px; }
  .page--project .project-gallery{ padding-left: 20px; padding-right: 20px; }
  .page--project .project-next{ padding-left: 20px; padding-right: 20px; }
}

.project-hero{ padding-top: 56px; }
.project-title{ font-size: clamp(54px, 6vw, 96px); }

.project-lead{
  margin: 0;
  max-width: 860px;
  color: rgba(242,242,242,.55);
  line-height: 1.75;
  font-size: 18px;
}
@media (max-width: 799px){
  .project-lead{ font-size: 15px; }
}

/* =========================================================
   PROJEKTY — WYZWANIA (STICKY + GAP + NO HYPHENS)
========================================================= */
.project-challenges{ padding: 34px 0 20px; }

.project-challenges__inner{
  display: grid;
  grid-template-columns: 420px 1fr;
  column-gap: 64px;
  row-gap: 28px;
  align-items: start;
  overflow: visible;
}
.project-challenges,
.project-challenges__inner{ overflow: visible; }

.project-challenges__side{
  position: sticky;
  top: calc(var(--nav-h) + var(--nav-gap) + 18px);
  align-self: start;
  z-index: 5;
}

.project-challenges__title{
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  text-transform: uppercase;
  font-size: clamp(34px, 3.2vw, 52px);

  white-space: normal;
  overflow: visible;
  text-overflow: clip;

  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.project-challenges__cta{ margin-top: 10px; }

.project-challenges__cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.project-card{
  padding: 22px 22px;
  border-radius: 18px;
}
.project-card__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(242,242,242,.92);
}
.project-card__text{
  margin: 0;
  color: rgba(242,242,242,.65);
  line-height: 1.7;
  font-size: 13px;
}

@media (max-width: 900px){
  .project-challenges__inner{ grid-template-columns: 1fr; }
  .project-challenges__side{ position: static; top: auto; }
  .project-challenges__cards{ margin-top: 22px; }
}

@media (max-width: 799px){
  .project-challenges__title br{ display:none; }
  .project-challenges__title{
    font-size: clamp(16px, 5.2vw, 30px);
    letter-spacing: .02em;
    line-height: 1.06;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
}
@media (max-width: 420px){
  .project-challenges__title{ font-size: clamp(14px, 5vw, 26px); }
}
@media (max-width: 360px){
  .project-challenges__title{ font-size: clamp(13px, 4.8vw, 24px); }
}

/* =========================================================
   PROJECT GALLERY / NEXT
========================================================= */
.project-gallery{ padding: 26px 0 20px; }

/* ✅ AUTO-DOPASOWANIE DO ILOŚCI "FRAME'ÓW" (zdjęć) */
.project-gallery__grid{
  display: grid;
  gap: 18px;

  /* automatyczna liczba kolumn zależnie od miejsca */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  /* przy 1–2 zdjęciach wygląda naturalnie */
  justify-content: center;
}

/* Kafel zdjęcia */
.project-shot{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;

  /* ✅ rekomendacja: równe ramki / spójny wygląd */
  aspect-ratio: 16 / 10;
  display: grid;
}

/* ✅ HOVER: żółta ramka jak Klienci */
@media (hover:hover) and (pointer:fine){
  .project-shot:hover{
    transform: translateY(-2px);
    border-color: rgba(215,230,0,.55);
    background: rgba(255,255,255,.05);
    box-shadow:
      0 0 0 1px rgba(215,230,0,.22),
      0 18px 55px rgba(215,230,0,.16),
      0 28px 70px rgba(0,0,0,.55);
  }
}

.project-shot img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .project-shot:hover img{
    filter: brightness(1.05);
    transform: scale(1.01);
  }
}

/* ✅ jeśli gdzieś był pseudo-element z lupką — ubij */
.project-shot::after{ content: none !important; }
.project-shot .zoom,
.project-shot .zoom-icon,
.project-shot .loupe,
.project-shot .magnifier{ display:none !important; }

.project-next{ padding: 36px 0 56px; }
.project-next__inner{ display: flex; justify-content: center; }
.project-next__btn{
  min-width: min(520px, 92vw);
  justify-content: center;
}

/* tablet / mobile */
@media (max-width: 900px){
  .project-gallery__grid{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce){
  .btn, .navbar__link, .drawer__item, .project-shot, .project-shot img{ transition:none !important; }
  .btn::after, .navbar__link::before{ display:none !important; }
  .clients-carousel__track, .marquee-section .marquee__track{ animation:none !important; }
}

/* =========================================================
   LIGHTBOX PRO — arrows + swipe
========================================================= */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox__stage{
  position: relative;
  width: min(92vw, 1400px);
  height: 88vh;
  display: grid;
  place-items: center;
}
.lightbox__img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 120px rgba(0,0,0,.75);
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}
.lightbox__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(215,230,0,.35);
  background: rgba(255,255,255,.08);
  color: rgba(242,242,242,.95);
  display: grid;
  place-items: center;
  cursor: pointer;

  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}
.lightbox__btn:hover{
  transform: translateY(-50%) scale(1.04);
  background: rgba(255,255,255,.12);
  border-color: rgba(215,230,0,.55);
}
.lightbox__btn--prev{ left: -14px; }
.lightbox__btn--next{ right: -14px; }
@media (max-width: 799px){
  .lightbox__btn--prev{ left: 8px; }
  .lightbox__btn--next{ right: 8px; }
}
.lightbox__btn svg{ width: 22px; height: 22px; }
.lightbox__close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(242,242,242,.95);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.lightbox__close:hover{ border-color: rgba(215,230,0,.45); }
.lightbox__counter{
  position: fixed;
  left: 18px;
  top: 20px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(242,242,242,.92);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 800;
}
@media (max-width: 799px){
  .lightbox__counter{
    top: auto;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================================
   PROJEKTY — H1 / nazwa projektu (FIX: desktop nie ucina)
========================================================= */
.page--project .page-hero__title,
.page--project .project-title,
.page--project h1{
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;

  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.page--project .page-hero__title.title--domain,
.page--project .project-title.title--domain,
.page--project h1.title--domain{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
@media (max-width: 799px){
  .page--project .page-hero__title br,
  .page--project .project-title br,
  .page--project h1 br{ display:none !important; }

  .page--project .page-hero__title,
  .page--project .project-title,
  .page--project h1{
    font-size: clamp(14px, 4.8vw, 28px) !important;
    letter-spacing: .01em !important;
    line-height: 1.06 !important;
  }
}
@media (max-width: 420px){
  .page--project .page-hero__title,
  .page--project .project-title,
  .page--project h1{ font-size: clamp(12px, 4.4vw, 24px) !important; }
}
@media (max-width: 360px){
  .page--project .page-hero__title,
  .page--project .project-title,
  .page--project h1{ font-size: clamp(11px, 4.1vw, 22px) !important; }
}

/* =========================================================
   PROJEKTY — pRowTitle font Audiowide
========================================================= */
.pRowTitle{
  font-family: "Audiowide", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: .14em;
}

/* =========================
   COOKIE MODAL (minimal)
========================= */
.cookie-modal-open{ overflow: hidden; }

#cookieModal[aria-hidden="true"]{ display:none; }

#cookieModal{
  position: fixed;
  inset: 0;
  z-index: 30000;
}

.cookie-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}

.cookie-modal__panel{
  position: relative;
  width: min(560px, 92vw);
  margin: 8vh auto 0;
  border-radius: 18px;
  background: rgba(20,20,20,.96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 120px rgba(0,0,0,.6);
  padding: 18px;
  color: #f2f2f2;
}

.cookie-modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-modal__title{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
}

.cookie-modal__x{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.cookie-modal__desc{
  margin: 0 0 14px;
  color: rgba(242,242,242,.75);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-modal__list{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cookie-toggle{
  display:flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.cookie-toggle input{ margin-top: 3px; accent-color: var(--acid); }

.cookie-toggle__text{ display:flex; flex-direction:column; gap: 2px; }
.cookie-toggle__name{ font-weight: 900; letter-spacing: .04em; }
.cookie-toggle__note{ font-size: 12px; opacity: .75; }

.cookie-toggle--locked{ opacity: .75; }

.cookie-modal__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor:pointer;
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .08em;
  font-size: 11px;
  text-transform: uppercase;
}

.cookie-btn--primary{
  background: var(--acid);
  color: var(--ink);
  border-color: rgba(0,0,0,.20);
}
.cookie-btn:hover{ filter: brightness(1.05); }

/* =========================
   COOKIE BANNER (first visit)
========================= */
.cookie-banner{
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 25000;
  padding: 14px;
  pointer-events: none; /* aktywne dopiero jak visible */
}

.cookie-banner.is-visible{
  pointer-events: auto;
}

.cookie-banner__inner{
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(0,0,0,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);

  padding: 16px;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  transform: translateY(16px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.cookie-banner.is-visible .cookie-banner__inner{
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__title{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}

.cookie-banner__desc{
  color: rgba(242,242,242,.72);
  font-size: 13px;
  line-height: 1.45;
  max-width: 62ch;
}

.cookie-banner__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* mobile */
@media (max-width: 900px){
  .cookie-banner__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions{
    width: 100%;
    justify-content: stretch;
  }
  .cookie-banner__actions .cookie-btn{
    flex: 1 1 auto;
    text-align: center;
  }
}

/* =========================================================
   FOOTER CONTACT — YELLOW / ACID (SPÓJNY + MOBILE FIX)
========================================================= */
.footer-contact{
  background: var(--acid);
  color: var(--ink);
  padding: 40px 28px 18px;
}

/* INNER */
.footer-contact__inner{
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* BRAND */
.footer-contact__brand{
  display:flex;
  flex-direction:column;
  gap: 12px;

  order: 1;
  align-items: flex-start;
  text-align: left;
}

.footer-contact__logo{
  width: 150px;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.35));
}

.footer-contact__tagline{
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  font-family: "Audiowide", ui-sans-serif, system-ui;
}

/* CONTACT DATA */
.footer-contact__data{
  display:flex;
  align-items: center;
  gap: 26px;

  order: 2;
  min-width: 0;
}

/* ITEM (kafel) */
.footer-contact__item{
  display:flex;
  flex-direction:column;
  gap: 6px;

  padding: 14px 16px;
  border-radius: 18px;

  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.18);

  text-decoration: none;
  color: var(--ink);

  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;

  /* ✅ FIX: nigdy nie wymuszaj szerokości na mobile */
  min-width: 240px;
  max-width: 520px;
  overflow: hidden; /* nic nie wyjdzie poza ramkę */
}

.footer-contact__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  background: rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.24);
}

.footer-contact__label{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .75;
}

/* ✅ FIX: value (mail/telefon) mieści się w ramce */
.footer-contact__value{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  font-size: 18px;
  letter-spacing: .08em;
  line-height: 1.15;

  display:block;
  width: 100%;
  max-width: 100%;
  min-width: 0;

  /* łamanie bez nachodzenia na border */
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* BOTTOM BAR */
.footer-contact__bottom{
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.18);

  display:flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-contact__sep{ opacity:.55; }

/* COOKIE BUTTON */
.footer-contact__cookies{
  background: transparent;
  border: 0;
  padding: 0;

  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;

  cursor: pointer;
  color: var(--ink);

  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-contact__cookies:hover{ opacity: .75; }

/* =========================================================
   MOBILE — kontakt nad logo + centrowanie + dopasowanie fontów
========================================================= */
@media (max-width: 900px){
  .footer-contact{ padding: 34px 18px 16px; }

  .footer-contact__inner{
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  /* kontakt NA GÓRZE */
  .footer-contact__data{
    order: 1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }

  /* ✅ Kafel: pełna szerokość, ale bez wymuszania min-width */
  .footer-contact__item{
    min-width: 0;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 16px;
  }

  .footer-contact__label{
    font-size: 11px;
    letter-spacing: .20em;
  }

  /* ✅ Telefon = mail (ten sam sizing), mniej “tracking” żeby nie nachodziło */
  .footer-contact__value{
    text-align: center;
    font-size: clamp(14px, 4.2vw, 18px);
    letter-spacing: clamp(.02em, 0.7vw, .07em);
    line-height: 1.15;
  }

  /* logo POD spodem */
  .footer-contact__brand{
    order: 2;
    align-items: center;
    text-align: center;
  }
  .footer-contact__logo{ margin: 0 auto; }

  /* bottom bar na kolumnę */
  .footer-contact__bottom{
    flex-direction: column;
    gap: 6px;
    text-align:center;
  }
}

/* ultra-małe ekrany */
@media (max-width: 380px){
  .footer-contact__value{
    font-size: 14px;
    letter-spacing: .03em;
  }
}

/* =========================================================
   MOBILE ONLY — kontakt nad logo + centrowanie logo
========================================================= */
@media (max-width: 900px){

  .footer-contact__inner{
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  /* kontakt NA GÓRZE */
  .footer-contact__data{
    order: 1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }

  /* logo POD spodem + centrowanie */
  .footer-contact__brand{
    order: 2;
    align-items: center;
    text-align: center;
  }

  .footer-contact__logo{ margin: 0 auto; }

  /* bottom bar na kolumnę */
  .footer-contact__bottom{
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   CONSULTATION / BOOKING — CLEAN (page--consultation)
   Wklej do styles.css (na końcu)
========================================================= */

.page--consultation .booking{
  padding: 18px 0 56px;
}

.page--consultation .booking__wrap{
  position: relative;
}

.page--consultation .booking-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.page--consultation .booking-col{ min-width: 0; }

.page--consultation .booking-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  padding: 18px;
  overflow: hidden;
}

/* Header in card */
.page--consultation .booking-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page--consultation .booking-head--tight{
  margin-bottom: 10px;
}

.page--consultation .booking-head__left{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.page--consultation .booking-ic{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.page--consultation .booking-kicker{
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 900;
  opacity: .85;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.page--consultation .booking-h{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.05;
}

.page--consultation .booking-datebadge{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .10em;
  opacity: .85;
  padding-top: 10px;
  white-space: nowrap;
}

/* Month bar (new row) */
.page--consultation .booking-monthbar{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 2px;
  margin-bottom: 8px;
}

.page--consultation .booking-month{
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .08em;
  opacity: .92;
  min-width: 180px;
  text-align:center;
}

.page--consultation .booking-navbtn{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.95);
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size: 28px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.page--consultation .booking-navbtn:hover{
  border-color: rgba(215,230,0,.35);
}

/* Calendar */
.page--consultation .booking-dow{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 8px 4px 2px;
  opacity: .75;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 12px;
  text-align:center;
}

.page--consultation .booking-days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 10px 4px 6px;
}

/* day cell */
.page--consultation .cal-day{
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(242,242,242,.92);
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .06em;
  cursor:pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, opacity .12s ease;
}

.page--consultation .cal-day:hover{
  border-color: rgba(215,230,0,.35);
  transform: translateY(-1px);
}

.page--consultation .cal-day.is-selected{
  background: rgba(215,230,0,.95);
  color: #0b0b0b;
  border-color: rgba(0,0,0,.25);
}

.page--consultation .cal-day.is-disabled{
  opacity: .30;
  cursor: not-allowed;
  transform: none;
}

.page--consultation .cal-day.is-outside{
  opacity: .60;
}

/* Legend */
.page--consultation .booking-legend{
  display:flex;
  gap: 18px;
  align-items:center;
  padding: 10px 4px 0;
  opacity: .75;
}

.page--consultation .legend-dot{
  width: 18px; height: 18px;
  border-radius: 6px;
  display:inline-block;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  margin-right: 8px;
  vertical-align: middle;
}
.page--consultation .legend-dot.is-selected{
  background: rgba(0,0,0,1);
  border-color: rgba(0,0,0,.5);
}
.page--consultation .legend-dot.is-available{ background: rgba(255,255,255,.10); }
.page--consultation .legend-dot.is-disabled{ background: rgba(255,255,255,.02); opacity:.5; }

/* Right column hints */
.page--consultation .booking-hint{
  margin: 8px 0 14px;
  color: rgba(242,242,242,.72);
  line-height: 1.6;
  font-size: 15px;
}
.page--consultation .booking-note{
  margin: 12px 0 0;
  color: rgba(242,242,242,.60);
  font-size: 13px;
}

/* Times */
.page--consultation .booking-times{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* pills (time) */
.page--consultation .pill{
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.95);
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .06em;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, opacity .12s ease;
}
.page--consultation .pill:hover{
  border-color: rgba(215,230,0,.35);
  transform: translateY(-1px);
}
.page--consultation .pill.is-selected{
  background: rgba(0,0,0,.92);
  border-color: rgba(215,230,0,.40);
  box-shadow: 0 0 0 1px rgba(215,230,0,.18);
}
.page--consultation .pill.is-disabled{
  opacity: .28;
  cursor: not-allowed;
  transform: none;
}

/* Topics */
.page--consultation .booking-topics{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page--consultation .topic{
  height: 72px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.95);
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .06em;
  cursor:pointer;
  text-align:left;
  padding: 0 18px;
  display:flex;
  align-items:center;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.page--consultation .topic:hover{
  border-color: rgba(215,230,0,.35);
  transform: translateY(-1px);
}
.page--consultation .topic.is-selected{
  background: rgba(0,0,0,.92);
  border-color: rgba(215,230,0,.40);
  box-shadow: 0 0 0 1px rgba(215,230,0,.18);
}

/* Form section spacing */
.page--consultation .booking-formwrap{
  margin-top: 18px;
}

.page--consultation .booking-fields{
  margin-top: 16px;
  display: grid;
  gap: 18px;
}

.page--consultation .booking-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Make fields feel “less tight” */
.page--consultation .field{ margin-top: 0; }
.page--consultation .field label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(242,242,242,.92);
  margin: 0 0 10px;
}

.page--consultation .booking-form input[type="text"],
.page--consultation .booking-form input[type="email"],
.page--consultation .booking-form input[type="tel"],
.page--consultation .booking-form textarea{
  width:100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.92);
  padding: 16px 16px;
  font-size: 14px;
  outline: none;
}

.page--consultation .booking-form textarea{
  resize: vertical;
  min-height: 170px;
}

.page--consultation .booking-form input::placeholder,
.page--consultation .booking-form textarea::placeholder{
  color: rgba(242,242,242,.45);
}

.page--consultation .booking-form input:focus,
.page--consultation .booking-form textarea:focus{
  border-color: rgba(215,230,0,.55);
  box-shadow: 0 0 0 3px rgba(215,230,0,.15);
}

/* Summary box */
.page--consultation .booking-finalsummary{
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(242,242,242,.82);
  display:grid;
  gap: 8px;
}

/* Responsive */
@media (max-width: 1024px){
  .page--consultation .booking-grid{ grid-template-columns: 1fr; }
  .page--consultation .booking-times{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page--consultation .booking-grid2{ grid-template-columns: 1fr; }
}

@media (max-width: 540px){
  .page--consultation .booking-times{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page--consultation .booking-h{ font-size: 24px; }
}

/* =========================================================
   BONUS: LEPSZY UKŁAD DLA 1 i 2 ZDJĘĆ (progressive enhancement)
   - działa w Chrome/Edge/Safari (zależnie od wersji)
   - fallback: auto-fit zadziała wszędzie
========================================================= */
.project-gallery__grid:has(> :nth-child(1):last-child){
  grid-template-columns: minmax(280px, 980px);
  justify-content: center;
}
.project-gallery__grid:has(> :nth-child(2):last-child){
  grid-template-columns: repeat(2, minmax(260px, 520px));
  justify-content: center;
}


/* =========================================================
   HOW — CAROUSEL (scroll-snap + arrows) ✅
   - Safari safe (no <li> counters)
   - No fades here (nie zasłania treści)
   - CTA centered on desktop
   - Track padding aligns with .container
========================================================= */

.how--carousel{
  padding: 18px 0 44px; /* jak portfolio */
}

.how--carousel .how__head{ margin-bottom: 18px; }
.how--carousel .how__title{ margin: 0 0 18px; }
.how--carousel .how__lead{
  margin: 0;
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Safari guard: jeśli ktoś użyje ul/ol w środku — nie pokazuj numeracji */
.how--carousel ul,
.how--carousel ol{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* top bar */
.howc__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.howc__hint{
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: .65;
}

.howc__nav{
  display:flex;
  gap: 10px;
}

.howc__btn{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(215,230,0,.35);
  background: rgba(255,255,255,.06);
  color: rgba(242,242,242,.95);
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size: 22px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.howc__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(215,230,0,.55);
  background: rgba(255,255,255,.10);
}
.howc__btn:active{ transform: translateY(0); }

/* viewport (bez fade/ciemnych masek) */
.howc__viewport{
  position: relative;
  overflow: hidden;
  padding: 12px 0 16px;
}

/* ❌ usuń pseudo-fade jeśli gdzieś zostało */
.howc__viewport::before,
.howc__viewport::after{ display:none !important; }

/* scroll area — padding jak .container */
.howc__track{
  display:flex;
  gap: 18px;
  align-items: stretch;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* MOBILE (.container = 18px) */
  padding: 8px 18px;
  margin: 0 -18px;
  scroll-padding-left: 18px;
  scroll-padding-right: 18px;

  scrollbar-width: none;
}
.howc__track::-webkit-scrollbar{ display:none; }

/* DESKTOP (.container = 28px) */
@media (min-width: 800px){
  .howc__track{
    padding: 10px 28px;
    margin: 0 -28px;
    scroll-padding-left: 28px;
    scroll-padding-right: 28px;
  }
}

/* karta */
.howCard{
  flex: 0 0 auto;
  width: min(520px, 86vw); /* mobile: prawie pełna */
  min-height: 220px;

  border-radius: 18px;
  padding: 18px;
  overflow: hidden;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);

  scroll-snap-align: start;
  scroll-margin-left: 28px;
  scroll-margin-right: 28px;

  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
@media (hover:hover) and (pointer:fine){
  .howCard:hover{
    transform: translateY(-2px);
    border-color: rgba(215,230,0,.45);
    background: rgba(255,255,255,.05);
  }
}

/* top */
.howCard__top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.howCard__num{
  width: 54px;
  height: 34px;
  border-radius: 16px;
  background: rgba(215,230,0,.14);
  border: 1px solid rgba(215,230,0,.28);
  color: rgba(242,242,242,.92);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family: "Audiowide", ui-sans-serif, system-ui;
  letter-spacing: .10em;
  font-size: 12px;
}

.howCard__h{
  margin: 0;
  font-family: "Audiowide", ui-sans-serif, system-ui;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  line-height: 1.15;
}

.howCard__p{
  margin: 0;
  color: rgba(242,242,242,.62);
  line-height: 1.65;
  font-size: 13px;
}

/* ostatnia karta jako link — bez podkreśleń */
a.howCard{ text-decoration: none; color: inherit; }

/* CTA */
.how--carousel .how__cta{ margin-top: 14px; }
@media (min-width: 900px){
  .how--carousel .how__cta{
    display:flex;
    justify-content: center; /* desktop: wyśrodkuj */
  }
}

/* desktop: karty mniejsze */
@media (min-width: 1024px){
  .howCard{ width: 420px; }
}

/* mobile: odstępy H2 jak H1/Klienci + CTA full width */
@media (max-width: 799px){
  .how--carousel .how__title{
    margin: 0 0 26px; /* jak page-hero__title spacing */
  }
  .howc__hint{ display:none; }
  .howc__btn{ width: 52px; height: 52px; }
  .how--carousel .how__cta .btn{ width: 100%; justify-content: center; }
}

/* =========================================================
   CLIENTS — MOVE FADES HERE (viewport) ✅
   - wykorzystujemy cień tutaj (nie w HOW)
========================================================= */

/* jeśli masz w HTML .clients-carousel__fade — wyłącz, żeby nie było podwójnie */
.clients-carousel__fade{ display:none !important; }

.clients-carousel__viewport{
  position: relative;
}

/* fade left/right */
.clients-carousel__viewport::before,
.clients-carousel__viewport::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 3;
}
.clients-carousel__viewport::before{
  left:0;
  background: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0));
}
.clients-carousel__viewport::after{
  right:0;
  background: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0));
}
@media (max-width: 1279px){
  .clients-carousel__viewport::before,
  .clients-carousel__viewport::after{ width: 70px; }
}
@media (max-width: 799px){
  .clients-carousel__viewport::before,
  .clients-carousel__viewport::after{ width: 56px; }
}

/* =========================================================
   LIGHTBOX — CAPTION ON IMAGE (only after open)
   - overlay na dole, wyśrodkowany
   - nie wychodzi poza obręb "stage" (a praktycznie: poza zdjęcie)
========================================================= */

.lightbox__stage{
  position: relative; /* już masz, ale zostawiam jako pewnik */
}

/* domyślnie: overlay na dole (w obrębie lightbox stage) */
.lightbox__caption{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);

  /* nie wychodź poza obszar obrazu/stage */
  max-width: calc(100% - 120px); /* zostawia miejsce na strzałki */
  width: fit-content;

  padding: 12px 14px;
  border-radius: 16px;

  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);

  color: rgba(242,242,242,.92);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .10em;
  text-transform: uppercase;

  text-align: center;
  overflow-wrap: anywhere;

  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  pointer-events: none;

  z-index: 2; /* nad obrazem */
}

/* Mobile: zmniejsz margines na strzałki */
@media (max-width: 799px){
  .lightbox__caption{
    bottom: 16px;
    max-width: calc(100% - 72px);
    font-size: 11px;
    letter-spacing: .08em;
  }
}