/* Gamatechnik — phone first */
@import url(fonts/fonts.css);

:root {
  --red: #e31b23; --red-d: #b8141b;
  --ink: #121314; --ink-2: #1c1e20; --ink-3: #2a2d30;
  --bone: #f3f2ee; --line: #e2e0da; --mute: #6c6f73; --white: #fff;
  --pad: clamp(18px, 5vw, 64px);
  --max: 1400px;
  --r: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: 'Archivo', system-ui, sans-serif;
  --top-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 60px); }
body { margin: 0; font: 400 16px/1.55 var(--head); color: var(--ink); background: var(--bone); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* typografia: Archivo w wersji wąskiej (font-stretch) i ciężkiej */
h1, h2, h3, .h2, .h3, .kicker { font-family: var(--head); }
.h2, h1 { font-stretch: 64%; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; margin: 0; }
.h2 { font-size: clamp(40px, 9vw, 96px); }
.h3 { font-size: clamp(22px, 4.6vw, 30px); font-stretch: 80%; font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1; }
.kicker { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sub { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lead { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; max-width: 46ch; margin: 18px 0 0; }
.note { font-size: 13px; color: var(--mute); margin: 10px 0 0; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); padding-top: env(safe-area-inset-top); background: rgba(18,19,20,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--white); transition: background .35s, transform .35s var(--ease); view-transition-name: top; }
.top--over { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top--over.is-solid { background: rgba(18,19,20,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.top.is-hidden { transform: translateY(-100%); }
.logo img { width: 156px; height: auto; }
.nav { display: none; }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top .langs, .top-call span { display: none; }
.top-call { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--red); color: var(--white); text-decoration: none; }
.burger { width: 42px; height: 42px; border: 0; background: transparent; position: relative; padding: 0; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* menu pełnoekranowe */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--ink); color: var(--white); padding: calc(var(--top-h) + env(safe-area-inset-top) + 18px) var(--pad) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.menu-links { display: grid; }
.menu-links a { text-decoration: none; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: 1.12; opacity: 0; transform: translateY(14px); animation: link-in .45s var(--ease) forwards; }
.menu-links a.sub { font-size: 17px; font-stretch: 100%; font-weight: 500; text-transform: none; color: rgba(255,255,255,.7); line-height: 2; padding-left: 2px; }
.menu-links a:nth-child(n) { animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes link-in { to { opacity: 1; transform: none; } }
.menu-foot { display: grid; gap: 18px; margin-top: 30px; }
.menu-foot .langs { display: flex; gap: 8px; flex-wrap: wrap; }
.langs a { text-decoration: none; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8); }
.langs a[aria-current] { background: var(--white); color: var(--ink); border-color: var(--white); }
body.menu-open { overflow: hidden; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; color: var(--white); overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.hero-media, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-video { position: absolute; inset: 0; }
.hero-slide img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero-slide.is-on img { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding: 0 var(--pad) calc(56px + env(safe-area-inset-bottom)); width: 100%; max-width: 1100px; }
.hero .kicker { color: rgba(255,255,255,.85); }
.hero h1 { font-size: clamp(54px, 15vw, 168px); line-height: .86; max-width: 9ch; }
.hero-lead { margin: 18px 0 0; font-size: clamp(16px, 2vw, 21px); line-height: 1.45; max-width: 38ch; color: rgba(255,255,255,.88); }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-btns .btn { flex: 1 1 auto; }
.hero-dots { position: absolute; z-index: 2; right: var(--pad); bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; gap: 6px; }
.hero-dots i { width: 22px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; position: relative; }
.hero-dots i.is-on::after { content: ''; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: dot 6s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* sekcje */
.sec { padding: clamp(56px, 10vw, 130px) var(--pad); max-width: var(--max); margin: 0 auto; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.sec-head .sub { padding-bottom: 6px; }
.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; font-size: 15px; }

/* zakładki kategorii — przewijane w poziomie na telefonie */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 22px; padding: 2px var(--pad); scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; scroll-snap-align: start; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 11px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.tabs button small { font-size: 12px; color: var(--mute); margin-left: 3px; font-weight: 500; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tabs button[aria-selected="true"] small { color: rgba(255,255,255,.6); }
.tabs-sticky { position: sticky; top: var(--top-h); z-index: 20; background: rgba(243,242,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: 0; padding-top: 12px; padding-bottom: 12px; }

/* karty maszyn */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.mc { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.mc[hidden] { display: none; }
.mc-ph { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 6% 8% 0; background: var(--white); overflow: hidden; }
.mc-ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.mc--photo .mc-ph { padding: 0; }
.mc--photo .mc-ph img { object-fit: cover; }
.mc-tx { padding: 14px 18px 18px; border-top: 1px solid #f0efeb; }
.mc-cat { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.mc h3 { margin: 0; font-size: 21px; line-height: 1.12; font-stretch: 85%; font-weight: 750; }
.mc-facts { margin: 8px 0 0; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.mc:active { transform: scale(.985); }
@media (hover: hover) {
  .mc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
  .mc:hover .mc-ph img { transform: scale(1.05); }
}
.grid.is-filtering .mc { animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }

/* kategorie na stronie głównej */
.cats { display: grid; gap: 12px; }
.cat { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cat-ph { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 6% 10% 0; }
.cat-ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.cat-tx { padding: 16px 70px 20px 20px; }
.cat h3 { margin: 0; font-stretch: 64%; font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: .95; }
.cat p { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.cat-n { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 700; background: var(--ink); color: var(--white); border-radius: 999px; padding: 4px 10px; }
.cat-n::after { content: ' modeli'; font-weight: 500; opacity: .7; }
:lang(en) .cat-n::after { content: ' machines'; } :lang(de) .cat-n::after { content: ' Maschinen'; } :lang(es) .cat-n::after { content: ' máquinas'; }
.cat-go { position: absolute; right: 18px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; transition: transform .3s var(--ease); }
@media (hover: hover) { .cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); } .cat:hover .cat-ph img { transform: scale(1.05); } .cat:hover .cat-go { transform: translateX(4px); } }
.center { text-align: center; margin-top: 26px; }

/* dlaczego */
.sec-why { display: grid; gap: 34px; }
.why-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; }
.why-list li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.why-n { font-stretch: 72%; font-weight: 800; font-size: 22px; color: var(--red); line-height: 1.2; }
.why-list h3 { margin: 0; font-size: 20px; font-stretch: 85%; font-weight: 750; }
.why-list p { margin: 6px 0 0; color: var(--mute); }

/* liczby */
.sec-nums { max-width: none; background: var(--ink); color: var(--white); }
.sec-nums > * { max-width: calc(var(--max) - var(--pad) * 2); margin-left: auto; margin-right: auto; }
.sec-nums .sub { color: rgba(255,255,255,.55); }
.nums { display: grid; gap: 0; margin-top: 18px; }
.num { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; }
.num b { font-stretch: 72%; font-weight: 800; font-size: clamp(64px, 17vw, 150px); line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.num span { margin-top: 8px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }

/* wideo (YouTube ładowany po kliknięciu) */
.sec-video .h2 { margin-bottom: 24px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; inset: 0; border: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.05)); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-weight: 700; }
.yt-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .3s var(--ease); box-shadow: 0 0 0 0 rgba(227,27,35,.6); animation: pulse 2.4s infinite; }
.yt-btn .ic { width: 30px; height: 30px; margin-left: 4px; }
.yt-play:hover .yt-btn { transform: scale(1.08); }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(227,27,35,0); } 100% { box-shadow: 0 0 0 0 rgba(227,27,35,0); } }

/* opinie */
.reviews { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 24px calc(var(--pad) * -1) 0; padding: 0 var(--pad); }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 86%; scroll-snap-align: center; margin: 0; background: var(--white); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review blockquote { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; }
.review figcaption { font-size: 13px; color: var(--mute); font-weight: 600; }

/* katalog + na wymiar */
.sec-duo { display: grid; gap: 14px; padding-top: 0; }
.duo { border-radius: var(--r); padding: 32px 26px; display: grid; gap: 14px; justify-items: start; text-decoration: none; }
.duo h2 { margin: 0; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .95; }
.duo p { margin: 0 0 8px; max-width: 42ch; }
.duo > .ic { width: 38px; height: 38px; color: var(--red); }
.duo-dark { background: var(--ink); color: var(--white); }
.duo-dark p { color: rgba(255,255,255,.72); }
.duo-red { background: var(--red); color: var(--white); }

/* stopka */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px var(--pad) calc(96px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-grid { display: grid; gap: 34px; max-width: var(--max); margin: 0 auto; }
.foot-brand img { width: 200px; }
.foot-brand p { max-width: 34ch; }
.foot h2 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot p { margin: 0 0 10px; }
.eu { display: block; width: max-content; margin: 40px auto 0 0; }
.foot > .eu { max-width: var(--max); }
.eu img { width: 168px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.foot-grid + .eu { margin: 40px 0 0; }
@media (min-width: 1100px) { .foot-grid + .eu { margin-left: max(0px, calc((100% - var(--max)) / 2)); } }
.foot-bottom { margin-top: 18px !important; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* dolny pasek na telefonie */
.dock { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(18,19,20,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; color: var(--white); font-weight: 700; font-size: 15px; }
.dock-main { background: var(--red); }

/* podstrony */
.page-hero { padding: clamp(46px, 10vw, 120px) var(--pad) clamp(20px, 4vw, 40px); max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(50px, 13vw, 140px); }
.sec-list { padding-top: 22px; }
@media (max-width: 699px) {
  .sec-list .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sec-list .mc-ph { padding: 8% 6% 2%; }
  .sec-list .mc-tx { padding: 10px 12px 14px; }
  .sec-list .mc h3 { font-size: 16px; }
  .sec-list .mc-cat { display: none; }
  .sec-list .mc-facts { font-size: 12px; margin-top: 4px; }
}
.crumbs { padding: 16px var(--pad) 0; font-size: 13px; color: var(--mute); display: flex; gap: 8px; max-width: var(--max); margin: 0 auto; }
.crumbs a { text-decoration: none; }

/* strona maszyny */
.m-top { display: grid; gap: 0; max-width: var(--max); margin: 0 auto; }
.gal { position: relative; background: var(--white); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 4% 5%; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: contain; }
.gal--photo .gal-item { padding: 0; }
.gal--photo .gal-item img { object-fit: cover; }
.gal-ui { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: rgba(18,19,20,.78); color: var(--white); border-radius: 999px; padding: 4px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gal-ui button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; }
.gal-ui button:hover { background: rgba(255,255,255,.14); }
.gal-prev .ic { transform: rotate(180deg); }
.gal-count { font-size: 13px; font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }
.gal-thumbs { display: none; }
.m-info { padding: 28px var(--pad) 8px; }
.m-info h1 { font-size: clamp(44px, 11vw, 92px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 26px 0 0; }
.facts div { background: var(--white); padding: 14px 16px; }
.facts dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-size: 22px; font-weight: 750; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.m-btns { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.m-sec { padding-top: 40px; padding-bottom: 0; }
.m-sec .h3 { margin-bottom: 16px; }
.tbl-wrap { overflow-x: auto; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.tbl { border-collapse: collapse; width: 100%; min-width: 560px; font-variant-numeric: tabular-nums; font-size: 15px; }
.tbl th, .tbl td { padding: 13px 14px; text-align: left; border-bottom: 1px solid #efeee9; white-space: nowrap; }
.tbl thead th { hyphens: auto; overflow-wrap: anywhere; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; white-space: normal; min-width: 90px; vertical-align: bottom; }
.tbl tbody th { font-weight: 750; position: sticky; left: 0; background: var(--white); box-shadow: 1px 0 0 #efeee9; }
.tbl thead th:first-child { position: sticky; left: 0; background: var(--white); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover > * { background: #faf9f6; }
.tbl-hint { font-size: 13px; color: var(--mute); margin: 8px 0 0; }
.tbl-wrap.no-scroll + .tbl-hint { display: none; }
.m-eq { display: grid; gap: 12px; }
.eq { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.eq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 20px 20px; cursor: pointer; }
.eq summary::-webkit-details-marker { display: none; }
.eq summary .h3 { margin: 0; font-size: 20px; flex: 1; }
.eq-n { font-size: 13px; font-weight: 700; color: var(--mute); }
.eq summary::after { content: ''; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.eq[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.eq > ul { margin: 0; padding: 0 20px 20px 38px; display: grid; gap: 8px; }
.eq li::marker { color: var(--red); }
.eq li ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--mute); list-style: '– '; }
.m-ask { padding-top: 48px; }
.sec-related { padding-top: 40px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail .mc { flex: 0 0 78%; scroll-snap-align: start; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,11,.97); display: flex; flex-direction: column; }
.lb[hidden] { display: none; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 60px 10px; }
.lb-track img { max-height: 100%; width: auto; object-fit: contain; }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 26px; line-height: 1; }
.lb-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }

/* formularz */
.ask { background: var(--white); border-radius: var(--r); padding: 28px 22px; display: grid; gap: 14px; border: 1px solid var(--line); }
.ask h2 { margin: 0; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .95; }
.ask-lead, .ask-for { margin: 0; color: var(--mute); }
.ask-for b { color: var(--ink); }
.ask label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.ask input, .ask select, .ask textarea { font: inherit; font-size: 16px; width: 100%; padding: 14px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fbfaf8; color: var(--ink); transition: border-color .2s, background .2s; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.ask .btn { margin-top: 6px; }
.ask-msg { margin: 6px 0 0; font-weight: 700; grid-column: 1 / -1; }
.ask-msg.is-ok { color: #1d7a3a; }
.ask-msg.is-err { color: var(--red); }
.ask-rodo { margin: 0; font-size: 12px; color: var(--mute); }
.hp { position: absolute; left: -9999px; }

/* kontakt */
.contact { display: grid; gap: 14px; padding-top: 10px; }
.contact-cards { display: grid; gap: 12px; }
.cc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; justify-items: start; }
.cc h2 { margin: 0 0 6px; font-size: 20px; font-stretch: 85%; font-weight: 750; }
.cc a { text-decoration: none; }
.cc-big { font-size: 26px; font-weight: 750; font-stretch: 85%; color: var(--red); }
.cc-main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cc .btn { margin-top: 8px; }

.prose-wrap { display: grid; gap: 30px; padding-top: 10px; }
.prose { max-width: 68ch; font-size: 17px; }
.prose h2 { font-size: 20px; font-stretch: 85%; margin: 30px 0 8px; }
.prose p { margin: 0 0 16px; }
.about-photo { border-radius: var(--r); overflow: hidden; order: -1; }
@media (min-width: 1100px) { .about-photo { order: 0; position: sticky; top: calc(var(--top-h) + 20px); } }
/* jak dojechać */
.way { background: var(--ink); color: var(--white); padding: clamp(56px, 9vw, 110px) var(--pad); }
.way-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.way-map img { width: 100%; max-width: 640px; margin: 0 auto; }
@media (max-width: 899px) {
  .way-map { position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: 0 calc(var(--pad) * -1); }
  .way-map img { position: absolute; width: 190%; max-width: none; left: -53.5%; top: -33%; }
}
.way-addr { font-size: 19px; line-height: 1.5; margin: 18px 0 0; color: rgba(255,255,255,.85); }
.way .note { color: rgba(255,255,255,.5); }
.gmap { max-width: var(--max); margin: 30px auto 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.gmap iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .way-in { grid-template-columns: 1.3fr 1fr; gap: 60px; } .gmap { aspect-ratio: 21 / 8; } }
.eu-bar { width: 100%; max-width: 900px; }

/* animacje wejścia */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1s; }

/* przejścia między stronami */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-btns .btn { flex: 0 0 auto; }
  .nums { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .review { flex-basis: 46%; }
  .sec-duo { grid-template-columns: 1fr 1fr; }
  .m-btns { grid-template-columns: auto auto; justify-content: start; }
  .rail .mc { flex-basis: 42%; }
  .ask { padding: 36px; grid-template-columns: 1fr 1fr; }
  .ask > h2, .ask > p, .ask > .btn, .ask label:has(textarea), .ask label:has(select) { grid-column: 1 / -1; }
  .ask .btn { justify-self: start; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- desktop ---------- */
@media (min-width: 1100px) {
  :root { --top-h: 76px; }
  .cats { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .cat { grid-column: span 2; }
  .cat:nth-child(-n+2) { grid-column: span 3; }
  .cat:nth-child(-n+2) h3 { font-size: 46px; }
  .logo img { width: 190px; }
  .nav { display: flex; gap: 30px; margin-left: 40px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .top .langs { display: flex; gap: 4px; }
  .top .langs a { padding: 5px 8px; font-size: 12px; border-color: transparent; }
  .top .langs a[aria-current] { border-color: rgba(255,255,255,.3); background: transparent; color: var(--white); }
  .top-call { width: auto; height: 44px; padding: 0 18px; gap: 8px; border-radius: 999px; font-weight: 700; font-size: 14px; }
  .top-call span { display: inline; }
  .burger { display: none; }
  .dock { display: none; }
  .foot { padding-bottom: 40px; }
  .hero-in { padding-bottom: 90px; max-width: 1300px; }
  .hero h1 { font-size: clamp(90px, 9.5vw, 150px); max-width: 13ch; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .sec-why { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .why-photo { aspect-ratio: 4 / 5; }
  .review { flex-basis: 32%; }
  .reviews { overflow: visible; margin: 24px 0 0; padding: 0; }
  .m-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 50px; padding: 20px var(--pad) 0; align-items: start; }
  .gal { border-radius: var(--r); position: sticky; top: calc(var(--top-h) + 20px); }
  .gal-track { border-radius: var(--r); }
  .gal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
  .gal-thumbs button { flex: 0 0 84px; border: 2px solid transparent; border-radius: 8px; padding: 2px; background: var(--white); opacity: .6; transition: opacity .2s, border-color .2s; }
  .gal-thumbs button.is-on { opacity: 1; border-color: var(--ink); }
  .gal-thumbs img { aspect-ratio: 3 / 2; object-fit: contain; }
  .gal--photo .gal-thumbs img { object-fit: cover; }
  .gal-ui { bottom: 112px; }
  .m-info { padding: 20px 0 0; }
  .m-sec, .m-ask { max-width: var(--max); }
  .m-eq { grid-template-columns: 1fr 1fr; align-items: start; }
  .rail { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
  .rail .mc:nth-child(n+4) { display: none; }
  .contact { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 30px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .prose-wrap { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 60px; }
}
@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .sec-list .grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
.is-contact .foot { border-top: 1px solid rgba(255,255,255,.08); }
