/* Self-hosted fonty (variable woff2, subsety latin + latin-ext). Generowane z Google Fonts. */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:400 500;
  font-display:swap;
  src:url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:400 500;
  font-display:swap;
  src:url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url(/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- TOKENS ---------- */
:root {
  --signo-cyan: #0E92CC;
  --signo-cyan-700: #0B75A3;
  --signo-cyan-50: #E7F4FA;
  --signo-red: #ED1F24;
  --signo-red-700: #BE191D;

  --ink: #0B1622;
  --ink-2: #1B2A3A;
  --muted: #5B6B7B;
  --muted-2: #8896A4;
  --line: #E6EBF0;
  --line-2: #F0F3F6;

  --bg: #ffffff;
  --surface: #F4F7FA;
  --surface-2: #ECF1F5;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(11,22,34,.04), 0 1px 1px rgba(11,22,34,.03);
  --shadow-2: 0 8px 28px -10px rgba(11,22,34,.18), 0 2px 6px rgba(11,22,34,.04);
  --shadow-cyan: 0 14px 40px -16px rgba(14,146,204,.55);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}

h1,h2,h3,h4,h5 { font-family: 'Manrope', 'Inter', sans-serif; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
h2,h3 { font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .25s ease, backdrop-filter .25s ease, color .2s ease;
  color: white;
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav__inner {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  color: inherit;
  opacity: .85;
  font-size: 14.5px; font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color .15s, opacity .15s;
}
.nav__links a:hover { opacity: 1; }
.nav.scrolled .nav__links a:hover { color: var(--signo-cyan-700); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--signo-cyan); width: 0%; transition: width .1s linear; }

/* Over-hero variant of ghost button = light outline */
.nav .btn--ghost {
  border-color: rgba(255,255,255,.25);
  color: white;
}
.nav .btn--ghost:hover { border-color: white; background: rgba(255,255,255,.06); }
.nav.scrolled .btn--ghost { border-color: var(--line); color: var(--ink); }
.nav.scrolled .btn--ghost:hover { border-color: var(--ink); background: transparent; }

/* ---- Burger + menu mobilne ---- */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 10px; margin-left: 4px;
  border: 0; background: transparent; color: inherit;
}
.nav__burger span {
  display: block; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 2px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 12px var(--gutter) 24px;
}
.nav__mobile a {
  color: var(--ink);
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 17px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-2);
}
.nav__mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.nav__mobile-cta a {
  border-bottom: none; justify-content: center; padding: 14px 20px; font-size: 15px;
}
.nav__mobile-cta a.btn--primary { color: #fff; }   /* biały tekst — wygrywa z .nav__mobile a */
.nav__mobile-cta .btn--ghost { border-color: var(--line); color: var(--ink); }

/* stan otwarty: pasek lity + widoczne menu */
.nav--open {
  background: rgba(255,255,255,.98); color: var(--ink);
  border-bottom-color: transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav--open .btn--ghost { border-color: var(--line); color: var(--ink); }
.nav--open .nav__mobile { display: flex; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .nav__quote { display: none; }   /* ukryj „Wycena" w headerze na mobile (specyficzność > .btn) */
  .nav__burger { display: flex; }
  .nav__cta { margin-left: auto; }  /* telefon + burger dosunięte do prawej */
}
@media (max-width: 560px) {
  .nav__phone-num { display: none; }       /* telefon → sama ikona */
  .nav__phone { padding: 11px 13px; }
}

/* ---- Ogólny tuning RWD ---- */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 116px 0 44px; min-height: 78vh; }
  .hero__strip { margin-top: 44px; }
  .section__head { margin-bottom: 36px; }
  .about__features { grid-template-columns: 1fr; }
  .about__stats { padding: 32px 26px; }
  .contact__form { padding: 24px; }
  .case { padding: 16px; }
  .case__body h3 { font-size: 22px; }
}
@media (max-width: 480px) {
  .contact__form .field--row { grid-template-columns: 1fr; gap: 0; }  /* specyficzność > bazowej .field--row */
  .contact__form .field--row .field { margin-bottom: 18px; }
  .stat__n { font-size: 44px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--primary { background: var(--signo-cyan); color: white; box-shadow: var(--shadow-cyan); }
.btn--primary:hover { background: var(--signo-cyan-700); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: white; }
.btn--dark:hover { background: var(--ink-2); }
.btn--red { background: var(--signo-red); color: white; }
.btn--red:hover { background: var(--signo-red-700); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- HERO (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 56px;
  margin-top: -76px; /* tuck under sticky nav */
  color: white;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 75% 30%, rgba(14,146,204,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 100%, rgba(14,146,204,.10) 0%, transparent 70%),
    linear-gradient(160deg, #060D14 0%, #0B1A28 50%, #060D14 100%);
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: #060D14 url("hero.webp") 60% 50% / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,13,20,.65) 0%, rgba(6,13,20,.35) 35%, rgba(6,13,20,.92) 88%, #060D14 100%),
    linear-gradient(90deg, rgba(6,13,20,.85) 0%, rgba(6,13,20,.55) 35%, rgba(6,13,20,.15) 65%, rgba(6,13,20,0) 100%);
}
/* tech grid overlay for atmosphere */
.hero__overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.hero__content { max-width: 920px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-size: 13px; font-weight: 600;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero__eyebrow .dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--signo-cyan); }
/* Pierścień animowany przez transform/opacity (kompozytowane na GPU, bez forced reflow/jank) */
.hero__eyebrow .dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(14,146,204,.35); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__eyebrow .dot::after { animation: none; } }

.hero h1 {
  color: white;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--signo-cyan); }
.hero h1 .red { color: var(--signo-red); }

.hero__sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.78);
  max-width: 640px;
  line-height: 1.6;
}
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn--hero-light {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.btn--hero-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }

/* Hero footer strip — inline trust badges */
.hero__strip {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__strip-item {
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero__strip-item:last-child { border-right: none; }
.hero__strip-item .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.hero__strip-item .val {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
  color: white;
}
.hero__strip-item .val .sub { color: rgba(255,255,255,.55); font-weight: 500; font-size: 14px; margin-left: 6px; }

@media (max-width: 880px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero__strip-item { padding-right: 0; border-right: none; }
}

/* ---------- TRUST BAR ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 28px 0;
}
.trust__inner {
  display: flex; align-items: center; gap: 40px;
  overflow: hidden;
}
.trust__label {
  font-size: 12px; font-weight: 600; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust__track {
  display: flex; gap: 48px; align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.trust__marquee {
  display: flex; gap: 48px; align-items: center;
  animation: marquee 38s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust__item {
  font-family: 'Manrope', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
  opacity: .75;
  transition: opacity .15s, color .15s;
}
.trust__item:hover { opacity: 1; color: var(--ink); }

/* ---------- SECTION GENERIC ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--ink); color: white; }
.section--dark h2, .section--dark h3 { color: white; }

.section__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section__title { max-width: 720px; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signo-cyan-700);
  margin-bottom: 18px;
}
.section--dark .section__eyebrow { color: var(--signo-cyan); }
.section__eyebrow .bar { width: 26px; height: 2px; background: var(--signo-cyan); }
.section h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.section__lead { font-size: 17px; color: var(--muted); margin-top: 18px; max-width: 580px; line-height: 1.6; }
.section--dark .section__lead { color: #98A8B7; }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.svc {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden;
}
.svc:hover { border-color: var(--signo-cyan); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc__num { position: absolute; top: 20px; right: 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted-2); }
.svc__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--signo-cyan-50); color: var(--signo-cyan-700);
  display: grid; place-items: center;
}
.svc h3 { font-size: 22px; letter-spacing: -0.015em; }
.svc p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.svc__link { color: var(--ink); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.svc__link:hover { color: var(--signo-cyan-700); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; gap: 50px; } }
.about__copy h2 { margin-bottom: 22px; }
.about__copy p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.about__feat { display: flex; gap: 12px; }
.about__feat .check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--signo-cyan); color: white; display: grid; place-items: center; }
.about__feat .t { font-weight: 600; font-size: 15px; }
.about__feat .d { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.about__stats { background: var(--ink); border-radius: var(--radius-xl); padding: 48px; color: white; position: relative; overflow: hidden; }
.about__stats::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,146,204,.35), transparent 70%);
}
.about__stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; position: relative; z-index: 1; }
.stat__n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 56px; line-height: 1; color: var(--signo-cyan); letter-spacing: -0.03em; }
.stat__l { font-size: 13.5px; color: #C2CFDB; margin-top: 8px; }
.about__stats-quote { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; color: #C2CFDB; line-height: 1.6; position: relative; z-index: 1; }

/* ---------- REALIZACJE (case study, naprzemienne wiersze) ---------- */
.cases { display: flex; flex-direction: column; gap: 28px; }
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.case:hover { border-color: var(--signo-cyan); box-shadow: var(--shadow-2); }
.case--rev .case__media { order: 2; }

/* media / zdjęcie obiektu (placeholder z możliwością podmiany na background-image) */
.case__media {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface-2) center/cover no-repeat;
  border: 1px solid var(--line);
  min-height: 320px;
  overflow: hidden;
}
.case__media::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(11,22,34,.04) 14px 15px);
}
.case__media[style*="url"]::before { display: none; }
.case__ph {
  position: absolute; top: 14px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted-2);
}

/* treść case study */
.case__body { padding: 8px 14px 8px 6px; }
.case__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.case__body h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 14px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case__tag {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: var(--signo-cyan-50); color: var(--signo-cyan-700);
}
.case__block { margin-bottom: 16px; }
.case__block .h {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 5px;
}
.case__block p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.case__metrics {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case__metric { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.case__metric::before { content: '▸'; color: var(--signo-cyan); font-size: 12px; }

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 24px; }
  .case--rev .case__media { order: 0; }
  .case__media { min-height: 220px; }
  .case__body { padding: 0 4px; }
}

/* ---------- CLIENT WALL ---------- */
.clients-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
}
.clients-wall__item {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.35;
  transition: background .15s;
  display: flex; align-items: center;
  min-height: 96px;
}
.clients-wall__item:hover { background: var(--surface); }
.clients-wall__item:nth-child(4n) { border-right: none; }
@media (max-width: 900px) {
  .clients-wall { grid-template-columns: repeat(2, 1fr); }
  .clients-wall__item:nth-child(4n) { border-right: 1px solid var(--line); }
  .clients-wall__item:nth-child(2n) { border-right: none; }
}

/* ---------- BRANDS ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: white; }
.brand {
  padding: 32px 22px;
  display: grid; place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.brand img { max-height: 38px; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.brand:nth-child(4n) { border-right: none; }            /* koniec rzędu (4 kolumny) */
.brand:nth-last-child(-n+4) { border-bottom: none; }    /* ostatni rząd */
.brand:hover { background: var(--surface); }
@media (max-width: 720px) {
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand { padding: 28px 18px; }
  .brand:nth-child(4n) { border-right: 1px solid var(--line); }      /* reset reguły z 4 kolumn */
  .brand:nth-child(2n) { border-right: none; }                       /* prawa kolumna bez kreski */
  .brand:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } /* reset */
  .brand:nth-last-child(-n+2) { border-bottom: none; }               /* ostatni rząd (2 kolumny) */
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq__head {
  width: 100%;
  background: none; border: 0; padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 600; font-size: 19px; color: var(--ink);
  letter-spacing: -0.015em;
  gap: 24px;
}
.faq__head:hover { color: var(--signo-cyan-700); }
.faq__icon {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--surface); display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .15s, transform .25s ease, color .15s;
}
.faq__item.open .faq__icon { background: var(--signo-cyan); color: white; transform: rotate(45deg); }
.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__body-inner {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.contact__info, .contact__form { min-width: 0; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } }

.contact__info { display: flex; flex-direction: column; gap: 26px; }
.contact__row { display: flex; gap: 16px; padding: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); transition: background .15s, border-color .15s; }
.contact__row:hover { background: rgba(255,255,255,.06); border-color: rgba(14,146,204,.4); }
.contact__row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--signo-cyan); display: grid; place-items: center; color: white; flex-shrink: 0; }
.contact__row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #98A8B7; font-weight: 600; margin-bottom: 4px; }
.contact__row .val { font-size: 17px; font-weight: 600; color: white; font-family: 'Manrope', sans-serif; }
.contact__row .val a:hover { color: var(--signo-cyan); }

.contact__form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact__form h3 { font-size: 26px; margin-bottom: 8px; }
.contact__form .sub { color: #98A8B7; font-size: 14.5px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; color: #98A8B7; text-transform: uppercase; letter-spacing: 0.08em; }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  padding: 14px 16px;
  border-radius: 10px;
  font: inherit; font-size: 15px;
  transition: border-color .15s, background .15s;
  width: 100%; min-width: 0; max-width: 100%;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signo-cyan); background: rgba(14,146,204,.08); }
.field--err input, .field--err textarea, .field--err select { border-color: var(--signo-red); }
.field .err { font-size: 12px; color: #FF7A82; margin-top: 2px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--row .field { margin-bottom: 0; }

/* Custom dropdown (zamiennik natywnego <select>) — spójny z polami formularza */
.select { position: relative; }
.select__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  padding: 14px 16px;
  border-radius: 10px;
  font: inherit; font-size: 15px;
  text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.select__btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__btn:focus-visible { outline: none; border-color: var(--signo-cyan); background: rgba(14,146,204,.08); }
.select[data-open="true"] .select__btn { border-color: var(--signo-cyan); background: rgba(14,146,204,.08); }
.field--err .select__btn { border-color: var(--signo-red); }
.select__chev { flex-shrink: 0; color: #98A8B7; transition: transform .2s; }
.select[data-open="true"] .select__chev { transform: rotate(180deg); }
.select__menu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none;
  background: #0c1a26;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  max-height: 280px; overflow-y: auto;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.75);
}
.select__menu:focus-visible { outline: none; }
.select__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 7px;
  color: #fff; font-size: 15px; cursor: pointer;
}
.select__opt[data-active="true"] { background: rgba(14,146,204,.18); }
.select__opt[aria-selected="true"] { color: var(--signo-cyan); }

/* --- Zgody na cookies (CookieConsent) --------------------------------------- */
.cc-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--signo-cyan); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .15s, background .15s;
}
.cc-fab:hover { background: var(--signo-cyan-700); transform: translateY(-2px); }
.cc-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(5,12,18,.6); backdrop-filter: blur(2px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
}
.cc-panel {
  width: 100%; max-width: 560px;
  background: #0c1a26;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  color: #fff;
}
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cc-head h2 { font-size: 18px; margin: 0; color: #fff; }
.cc-logo { height: 24px; width: auto; }
.cc-text { color: #98A8B7; font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.cc-text a { color: var(--signo-cyan); text-decoration: underline; }
.cc-cats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.cc-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
}
.cc-cat--locked { cursor: default; opacity: .8; }
.cc-cat__info { display: flex; flex-direction: column; gap: 2px; }
.cc-cat__name { font-size: 14px; font-weight: 600; }
.cc-cat__desc { font-size: 12.5px; color: #98A8B7; }
.cc-cat input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--signo-cyan); cursor: pointer; }
.cc-cat--locked input { cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn {
  flex: 1 1 auto; min-width: 130px;
  padding: 13px 16px; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.cc-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.cc-btn--ghost:hover { border-color: var(--signo-cyan); }
.cc-btn--primary { background: var(--signo-cyan); color: #fff; border: 1px solid var(--signo-cyan); }
.cc-btn--primary:hover { background: var(--signo-cyan-700); border-color: var(--signo-cyan-700); transform: translateY(-1px); }
@media (min-width: 600px) { .cc-overlay { align-items: center; } }

.form__success {
  background: rgba(14,146,204,.1);
  border: 1px solid rgba(14,146,204,.4);
  color: white;
  padding: 20px;
  border-radius: 12px;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 18px;
  font-size: 14.5px;
}
/* atrybut hidden musi wygrać z display:flex powyżej */
.form__success[hidden], .form__error[hidden] { display: none; }
.form__error {
  background: rgba(237,31,36,.12);
  border: 1px solid rgba(237,31,36,.45);
  color: #FFC9CC;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px; line-height: 1.55;
}
.form__error a { color: #fff; text-decoration: underline; }

/* Zgoda RODO + klauzula */
.field--check { margin-bottom: 14px; }
.field--check label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: #C2CFDB; line-height: 1.5; cursor: pointer;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.field--check input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--signo-cyan); }
.field--check a { color: var(--signo-cyan); text-decoration: underline; }
.field--check.field--err label { color: #FF7A82; }
.contact__rodo { font-size: 12px; color: #8FA0B0; line-height: 1.55; margin: -2px 0 20px; }
.contact__rodo a { color: var(--signo-cyan); text-decoration: underline; }

/* ---------- STRONY PRAWNE ---------- */
.legalbar { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); z-index: 10; }
.legalbar__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legalbar__inner img { height: 34px; width: auto; display: block; }
.legalbar__back { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.legalbar__back:hover { color: var(--signo-cyan-700); }
.legal { padding: 56px 0 80px; }
.legal__doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; margin-bottom: 10px; }
.legal__updated { color: var(--muted-2); font-size: 13px; font-family: 'JetBrains Mono', monospace; margin-bottom: 32px; }
.legal__note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.015em; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--signo-cyan-700); text-decoration: underline; }
.legal__footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--signo-cyan);
  color: white;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-strip h2 { color: white; font-size: clamp(28px, 3vw, 40px); max-width: 720px; line-height: 1.1; }
.cta-strip::after {
  content: ''; position: absolute; right: -120px; top: -60px;
  width: 360px; height: 360px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='49' fill='none' stroke='white' stroke-opacity='.18' stroke-width='.5'/><circle cx='50' cy='50' r='38' fill='none' stroke='white' stroke-opacity='.18' stroke-width='.5'/><circle cx='50' cy='50' r='27' fill='none' stroke='white' stroke-opacity='.18' stroke-width='.5'/></svg>") center/contain no-repeat;
  animation: spin 40s linear infinite;
}

/* ---------- FOOTER ---------- */
.footer { background: #060D14; color: #98A8B7; padding: 72px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__grid > * { min-width: 0; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { display: none; }   /* nawigacja jest w hamburgerze — nie dublujemy w stopce */
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }   /* kontakt na pełną szerokość */
}
.footer__brand p { font-size: 14px; line-height: 1.6; margin-top: 18px; max-width: 320px; }
.footer h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 16px; font-family: 'Manrope', sans-serif; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: #98A8B7; transition: color .15s; overflow-wrap: break-word; }
.footer a:hover { color: white; }
.footer__legal { overflow-wrap: break-word; }
.footer__legal { padding-top: 24px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ---------- LOGO ---------- */
.signo-logo { display: block; height: 34px; width: auto; }
.signo-logo--footer { height: 40px; }
/* wiatraczek (litera O) — obracany scrollem przez JS */
.signo-rotor { transform-box: fill-box; transform-origin: center; will-change: transform; }

/* ---------- ANIMATIONS ---------- */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

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

/* ---------- GALERIA / ZDJĘCIA REALIZACJI ---------- */
.gallery { padding: 48px 0 80px; }
.gallery__head { margin-bottom: 40px; }
.gallery__head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.025em; margin: 12px 0 10px; }
.gallery__lead { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 640px; }
.gallery__group { margin-top: 56px; }
.gallery__group:first-of-type { margin-top: 40px; }
.gallery__group-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.gallery__group-head h2 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -0.015em; }
.gallery__group-head p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 8px; max-width: 680px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery__item {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-1); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0; background: rgba(11,22,34,0);
  transition: background .25s;
}
.gallery__item:hover::after { background: rgba(11,22,34,.08); }
.cases__more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(6,13,20,.94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  touch-action: none;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); user-select: none;
}
.lightbox__btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 640px) {
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__img { max-width: 96vw; max-height: 80vh; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__item img, .lightbox, .lightbox__btn { transition: none !important; }
}

/* ---------- FAQ: przycisk do tabeli gwarancji ---------- */
.faq__body-inner p { margin: 0; }
.faq__cta { margin-top: 18px; }

/* ---------- MODAL (tabela gwarancji) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(6,13,20,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal[hidden] { display: flex; }   /* zarządzamy widocznością klasą is-open, nie atrybutem */
.modal__panel {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  width: 100%; max-width: 720px; max-height: 88vh; display: flex; flex-direction: column;
  padding: 26px 28px; transform: translateY(8px); transition: transform .25s;
}
.modal.is-open .modal__panel { transform: translateY(0); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.modal__head h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.015em; }
.modal__lead { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 6px; max-width: 90%; }
.modal__close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.modal__close:hover { background: var(--surface); border-color: var(--ink-2); }
.modal__scroll { overflow: auto; margin: 16px -28px 0; padding: 0 28px; }
.modal__note { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- TABELA GWARANCJI ---------- */
.gwar-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.gwar-table th, .gwar-table td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gwar-table thead th {
  position: sticky; top: 0; background: var(--surface); color: var(--ink-2);
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .01em;
  text-transform: uppercase; white-space: nowrap;
}
.gwar-table tbody tr:last-child td { border-bottom: none; }
.gwar-table tbody tr:hover { background: var(--line-2); }
.gwar-table td { color: var(--muted); }
.gwar-table__brand { display: flex; align-items: center; gap: 12px; min-width: 150px; }
.gwar-table__brand img { height: 22px; width: auto; max-width: 84px; object-fit: contain; flex-shrink: 0; }
.gwar-table__brand span { font-weight: 600; color: var(--ink); font-size: 14px; }
@media (max-width: 560px) {
  .modal__panel { padding: 22px 16px; }
  .modal__scroll { margin: 14px -16px 0; padding: 0 16px; }
  .gwar-table { font-size: 13px; }
  .gwar-table th, .gwar-table td { padding: 10px 8px; }
  .gwar-table thead th { white-space: normal; font-size: 11px; }   /* nagłówki mogą się zawijać */
  .gwar-table__brand { min-width: 0; gap: 8px; }
  .gwar-table__brand span { font-size: 13px; }
  .gwar-table__brand img { display: none; }   /* na wąskich ekranach zostaje sama nazwa */
}
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__panel { transition: none !important; }
}

/* ============================================================ */
/* HERO SLIDER (Embla) — dodatki dla karuzeli.                  */
/* Z JEDNYM slajdem hero wygląda 1:1 jak wcześniej:            */
/* .hero__slide jest pełnej szerokości, a .hero__content       */
/* siedzi dokładnie tam gdzie wcześniej. Kontrolki             */
/* (.hero__nav / .hero__dots) renderują się tylko gdy >1 slajd.*/
/* ============================================================ */
.hero__slider { position: relative; }
.hero__viewport { overflow: hidden; }
.hero__track { display: flex; }
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}
/* opcjonalne tło per-slajd (dla przyszłych slajdów); slajd #1 go nie ma */
.hero__slide-media {
  position: absolute; inset: 0; z-index: -1;
  background-position: 60% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* strzałki — widoczne tylko gdy karuzela ma >1 slajd (renderowane warunkowo) */
.hero__nav {
  position: absolute; z-index: 3;
  right: 0; bottom: -8px;
  display: flex; gap: 10px;
}
.hero__nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: white;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hero__nav-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }

/* kropki — widoczne tylko gdy karuzela ma >1 slajd (renderowane warunkowo) */
.hero__dots {
  display: flex; gap: 10px;
  margin-top: 28px;
}
.hero__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero__dot:hover { background: rgba(255,255,255,.5); }
.hero__dot[aria-current] {
  background: var(--signo-cyan);
  transform: scale(1.25);
}
