/* ==========================================================================
   Detailing — arkusz stylów strony publicznej
   Kolory i odstępy zdefiniowane są jako zmienne poniżej — zmieniając je,
   zmieniasz wygląd całej strony.
   ========================================================================== */

@font-face { font-family: "Display"; src: url("../fonts/adventor-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --surface-2: #17171a;
  --surface-3: #1f1f23;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f4f5;
  --muted: #a7a7b0;
  --accent: #e01b1b;
  --accent-hover: #f23030;
  --accent-text: #ff5a52;
  --ok: #3ccf7c;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --f-display: "Display", "Avenir Next", "Century Gothic", "Futura", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.todo { display: inline-block; border: 1px dashed rgba(255, 90, 82, .55); color: #ffb3ae; border-radius: 8px; padding: 1px 8px; font-size: .82rem; }
.ic { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------- typografia */
.eyebrow { margin: 0 0 10px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.h2, .hero-title, .h3, .brand-text, .price-name, .stats dd { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
.h3 { font-size: 1.22rem; line-height: 1.25; margin: 0 0 10px; }
.lead { font-size: 1.12rem; color: #dcdce2; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 1.1em; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--accent-text); }

/* ------------------------------------------------------------- przyciski */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-light { background: #fff; color: #0b0b0c; }
.btn-light:hover { background: #ececef; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost { color: #fff; border-color: var(--line-2); background: rgba(10, 10, 11, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .4); }
.btn-sm { --h: 44px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- nagłówek */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: border-color .3s; border-bottom: 1px solid transparent; }
/* tło z rozmyciem na pseudo-elemencie — backdrop-filter na samym nagłówku psułby menu mobilne (position: fixed) */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 11, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); opacity: 0; transition: opacity .3s; }
.site-header.is-solid, .is-sub .site-header, .nav-open .site-header { border-color: var(--line); }
.site-header.is-solid::before, .is-sub .site-header::before, .nav-open .site-header::before { opacity: 1; }
.header-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand-link { text-decoration: none; display: flex; align-items: center; margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: auto; max-width: 240px; object-fit: contain; }
.brand-text { font-size: 1.15rem; letter-spacing: .01em; }
.brand-mark { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav ul { position: relative; isolation: isolate; }
/* przesuwające się podświetlenie aktywnej pozycji menu */
.nav-ink { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .09); opacity: 0; pointer-events: none; z-index: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav-ink.is-on { opacity: 1; }
.nav-ink.no-anim { transition: none; }
.nav li { position: relative; z-index: 1; }
@media (min-width: 981px) { .nav:has(.nav-ink.is-on) a[data-navlink].is-current { background: none; } }
.nav a[data-navlink] { display: block; padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; text-decoration: none; color: #dedee3; transition: color .2s, background .2s; }
.nav a[data-navlink]:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[data-navlink].is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-call, .nav-social { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 10, 11, .4); cursor: pointer; place-items: center; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 980px) {
  .burger { display: grid; }
  .header-call span { display: none; }
  .header-call { --h: 46px; width: 46px; padding: 0; }
  .header-call:not(:has(.ic)) { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0; background: #0a0a0b; padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a[data-navlink] { font-family: var(--f-display); font-size: 1.5rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .nav-call { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: #fff; }
  .nav-social { display: flex; gap: 10px; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------ pasek social */
.soc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; border: 1px solid var(--line-2); background: rgba(17, 17, 19, .7); backdrop-filter: blur(8px); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.soc .ic { width: 19px; height: 19px; }
.soc:hover { background: var(--accent); border-color: var(--accent); transform: translateX(-2px); }
.social-rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 10px; padding: 10px 6px; border-radius: 999px; background: rgba(10, 10, 11, .4); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.social-rail::before, .social-rail::after { content: ""; width: 1px; height: 26px; margin: 0 auto; background: linear-gradient(var(--line-2), transparent); }
.social-rail::before { background: linear-gradient(transparent, var(--line-2)); }
@media (min-width: 1360px) { .social-rail { right: 22px; } }
/* Na mniejszych ekranach pasek boczny ukrywamy — ikony są w menu, w stopce i nad formularzem. */
@media (max-width: 1100px) { .social-rail { display: none; } }

/* --------------------------------------------------------------- hero */
.hero { padding: calc(var(--header-h) + 4px) clamp(8px, 1.6vw, 22px) 0; }
.hero-card { position: relative; isolation: isolate; min-height: min(86vh, 860px); border-radius: clamp(16px, 2vw, 28px); overflow: hidden; display: flex; align-items: flex-end; background: #111; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-empty { background: radial-gradient(80% 60% at 30% 30%, #2a2a30, #0b0b0d); }
.hero-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(5, 5, 6, .88) 0%, rgba(5, 5, 6, .62) 42%, rgba(5, 5, 6, .15) 75%, rgba(5, 5, 6, .1) 100%),
  linear-gradient(0deg, rgba(5, 5, 6, .85) 0%, rgba(5, 5, 6, 0) 45%); }
.hero-content { position: relative; z-index: 2; padding: clamp(28px, 6vw, 84px); padding-bottom: clamp(70px, 9vw, 110px); max-width: 860px; }
.hero-logo { margin-bottom: 26px; }
.brand-hero img { max-width: 320px; }
.hero-title { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 22px; text-wrap: balance; }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.14rem); color: #d4d4da; max-width: 560px; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-controls { position: absolute; z-index: 3; right: clamp(20px, 4vw, 48px); bottom: clamp(22px, 3vw, 36px); display: flex; align-items: center; gap: 14px; }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.dot.is-active::before { background: #fff; }
.hero-pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); cursor: pointer; display: grid; place-items: center; }
.hero-pause .ic { width: 16px; height: 16px; }
.hero-pause .ic-play, .hero-pause.is-paused .ic-pause { display: none; }
.hero-pause.is-paused .ic-play { display: block; }

.highlights { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 34px; padding-bottom: 10px; }
.highlights li { display: flex; gap: 16px; align-items: flex-start; padding: 6px 26px; border-left: 1px solid var(--line); }
.highlights li:first-child { border-left: 0; padding-left: 0; }
.highlights strong { display: block; font-weight: 600; }
.highlights span { color: var(--muted); font-size: .9rem; }
.hl-ic { color: var(--accent-text); flex: none; margin-top: 2px; }
.hl-ic .ic { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .highlights { grid-template-columns: 1fr; gap: 18px; }
  .highlights li { border-left: 0; padding: 0; }
  .hero-card { min-height: 82svh; }
  .hero-shade { background: linear-gradient(0deg, rgba(5, 5, 6, .95) 0%, rgba(5, 5, 6, .55) 55%, rgba(5, 5, 6, .35) 100%); }
  .hero-controls { left: clamp(28px, 6vw, 84px); right: auto; bottom: 24px; }
}

/* ------------------------------------------------------------- sekcje */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .h2 { margin: 0; max-width: 720px; }
.head-note { max-width: 340px; margin: 0; }
.anchor-wrap { scroll-margin-top: var(--header-h); }

/* -------------------------------------------------------------- usługi */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.svc:hover { border-color: var(--line-2); }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-2); }
.svc-noimg .ic { width: 48px; height: 48px; }
.svc-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-body > .muted { margin: 0 0 16px; font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .92rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.svc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-size: 1.15rem; white-space: nowrap; }
.price small { font-family: var(--f-body); font-size: .78rem; color: var(--muted); font-weight: 500; }
.price-ind { font-family: var(--f-body); font-size: .86rem; font-weight: 500; color: #d4d4da; white-space: normal; }

.svc-cta { padding: 30px 28px; justify-content: flex-end; background: var(--surface-2); min-height: 280px; }
.svc-cta .muted { margin: 0 0 22px; }
.svc-cta .btn { align-self: flex-start; }

/* -------------------------------------------------------------- cennik */
.section-glow { background: var(--surface); border-block: 1px solid var(--line); }
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.pricing-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.pricing-intro .muted { margin: 0 0 28px; }
.price-list { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.price-row:hover { background: rgba(255, 255, 255, .025); }
.price-row p { margin: 4px 0 0; }
.price-name { font-size: 1.05rem; margin: 0; }
.price-row .price { text-align: right; }
.price-row .price-ind { max-width: 170px; }
.price-note { margin: 0; padding: 16px 26px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .pricing-intro { position: static; } }
@media (max-width: 520px) { .price-row { flex-direction: column; align-items: flex-start; gap: 8px; } .price-row .price { text-align: left; } .price-row .price-ind { max-width: none; } }

/* ------------------------------------------------------------- galeria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 30px; }
.chip { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 9px 16px; font-size: .88rem; font-weight: 500; cursor: pointer; color: #dcdce2; transition: all .2s; }
.chip:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.chip.is-active { background: #fff; color: #0b0b0c; border-color: #fff; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); animation: gIn .5s var(--ease) both; }
.g-item.is-hidden { display: none; }
@keyframes gIn { from { opacity: 0; transform: translateY(10px); } }
.g-link { display: block; position: relative; height: 100%; aspect-ratio: 4 / 3; }
.g-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.03); }
.g-cap { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; flex-direction: column; gap: 2px; }
.g-title { font-weight: 600; }
.g-cat { font-size: .8rem; color: #c8c8cf; }
.badge { position: absolute; top: -170%; left: 14px; display: none; }
.g-cap .badge { position: static; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 10px 4px 8px; margin-bottom: 6px; }
.g-cap .badge .ic { width: 14px; height: 14px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- lightbox */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 6, .98); color: #fff; }
.lb::backdrop { background: rgba(0, 0, 0, .7); }
.lb[open] { display: flex; flex-direction: column; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); }
.lb-meta { margin: 0; display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.lb-count { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.lb-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tools { display: flex; gap: 10px; align-items: center; }
.lb-toggle { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lb-toggle[hidden] { display: none; }
.lb-toggle button { border: 0; background: none; border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 500; cursor: pointer; color: #cfcfd5; }
.lb-toggle button[aria-pressed="true"] { background: #fff; color: #0b0b0c; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 20, 22, .7); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.lb-stage { position: relative; flex: 1; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px) clamp(12px, 3vw, 28px); min-height: 0; touch-action: pan-y; }
.lb-fig { margin: 0; position: relative; max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lb-fig > img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-stage { padding-bottom: 84px; } .lb-toggle button { padding: 6px 10px; } }

/* przed / po */
.ba { position: relative; overflow: hidden; border-radius: 12px; max-width: 100%; user-select: none; }
.ba[hidden] { display: none; }
.ba img { display: block; max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #0b0b0c; display: grid; place-items: center; box-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible ~ .ba-handle span, .ba:focus-within .ba-handle span { outline: 3px solid var(--accent-text); }
.ba-tag { position: absolute; top: 14px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: rgba(0, 0, 0, .65); padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.ba-tag-b { left: 14px; }
.ba-tag-a { right: 14px; }
.ba.view-before .ba-before { clip-path: none; }
.ba.view-after .ba-before { clip-path: inset(0 100% 0 0); }
.ba.view-before .ba-handle, .ba.view-after .ba-handle, .ba.view-before .ba-range, .ba.view-after .ba-range, .ba.view-before .ba-tag-a, .ba.view-after .ba-tag-b { display: none; }

/* ---------------------------------------------------------------- o nas */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-img { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img { aspect-ratio: 4 / 3; }
.about-img-1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.about-media:has(> :nth-child(2):last-child) .about-img-1 { grid-column: auto; aspect-ratio: 4 / 3; }
.ticks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 18px 16px 0 0; display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-size: 2.2rem; line-height: 1.1; }
.stats dt { color: var(--muted); font-size: .88rem; }
.methods { margin-top: clamp(50px, 7vw, 80px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.methods .prose ul { columns: 2; column-gap: 40px; margin: 0; }
.methods .prose li { break-inside: avoid; }
@media (max-width: 900px) {
  .about, .methods { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .methods .prose ul { columns: 1; }
}
@media (max-width: 520px) { .ticks-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- kontakt */
.section-contact { background: linear-gradient(180deg, transparent, var(--surface) 30%); }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-social { display: flex; gap: 8px; align-items: center; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.c-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.c-list > li { display: flex; gap: 16px; align-items: flex-start; }
.c-list > li > .ic { width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.c-list > li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-l { font-size: .85rem; color: var(--muted); }
.c-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.c-list a:hover { color: var(--accent-text); }
.c-list a.small { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.hours { border-collapse: collapse; margin: 4px 0; font-size: .95rem; }
.hours th { text-align: left; font-weight: 400; color: #d4d4da; padding: 3px 24px 3px 0; }
.hours td { padding: 3px 0; font-weight: 500; }
.form-card { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.cform .h3 { margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .86rem; font-weight: 500; margin-bottom: 7px; color: #dedee3; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; font-size: 1rem; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(-45deg, transparent 50%, #aaa 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255, 255, 255, .5); background: var(--surface-3); }
.field input::placeholder, .field textarea::placeholder { color: #75757e; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--accent-text); }
.f-err { margin: 6px 0 0; font-size: .82rem; color: #ff8a84; min-height: 0; }
.f-err:empty { display: none; }
.f-hint { margin: -6px 0 16px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 8px 0 22px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-size: .84rem; font-weight: 400; color: var(--muted); margin: 0; }
.check .f-err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .92rem; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert-ok, .form-status.is-ok { background: rgba(60, 207, 124, .1); border: 1px solid rgba(60, 207, 124, .35); color: #b6f0cd; padding: 14px 16px; border-radius: 12px; }
.alert-err, .form-status.is-err { background: rgba(255, 90, 82, .08); border: 1px solid rgba(255, 90, 82, .35); color: #ffc2be; padding: 14px 16px; border-radius: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* -------------------------------------------------------------- stopka */
.site-footer { border-top: 1px solid var(--line); background: #070708; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 40px; }
.f-brand .muted { max-width: 360px; margin: 16px 0 20px; font-size: .9rem; }
.f-h { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--muted); margin: 6px 0 16px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-col a, .f-col .linklike { text-decoration: none; color: #dcdce2; }
.f-col a:hover, .f-col .linklike:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.f-contact li a, .f-contact li span { display: inline-flex; gap: 10px; align-items: flex-start; }
.f-contact .ic { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.footer-social { display: flex; gap: 8px; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: #8d8d96; font-size: .82rem; }
.footer-legal p { margin: 4px 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- dialog cookies */
.cookie-dlg { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 28px; }
.cookie-dlg::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.cookie-dlg h2 { font-family: var(--f-display); font-size: 1.35rem; margin: 0 0 12px; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cookie-row > div { display: flex; flex-direction: column; }
.cookie-row .muted { font-size: .85rem; }
.pill { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(60, 207, 124, .12); color: #9ce7bd; white-space: nowrap; }
.pill-off { background: rgba(255, 255, 255, .06); color: var(--muted); }
.cookie-dlg .btn { margin-top: 10px; }

/* --------------------------------------------------------- podstrona */
.subpage { padding: calc(var(--header-h) + 60px) 0 90px; }
.legal-text h3 { font-family: var(--f-display); font-size: 1.25rem; margin: 36px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-text { color: #d4d4da; margin-bottom: 40px; }

/* ----------------------------------------------- animacje przy przewijaniu */
/* Używamy właściwości translate/scale (nie transform), żeby nie kolidowały z efektami najechania. */
[data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .7s ease-out var(--rd, 0ms), translate .7s var(--ease) var(--rd, 0ms), border-color .3s, transform .4s var(--ease); }
[data-reveal][data-from="top"] { translate: 0 -22px; }
[data-reveal].is-in { opacity: 1; translate: 0 0; }
[data-reveal].no-anim { transition: none !important; }


/* Pasek postępu przewijania */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--accent), var(--accent-text)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; will-change: transform; }

/* Paralaksa banera */
.hero-slides { will-change: transform; }


@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
  .nav-ink { transition: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
}
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

