/* BIBMOT v3 · „Strona główna wersja 2” (Figma 458:5431) + Kontakt (578:9454) + menu mobilne (578:8904/8976) */
:root {
  --czerwien: #df222f;
  --czerwien-ciemna: #b81822;
  --czarny: #1e1e1e;
  --grafit: #282828;
  --karta-ciemna: #333;
  --szary: #f4f4f4;
  --ramka: #bdbdbd;
  --tekst-wtorny: #5c5c5c;
  --tekst-jasny-wtorny: #c4c4c4;
  --szary-tekst: #737b83;
  --r: 10px;
  --szer: 1440px;
  --bok: max(16px, calc((100vw - var(--szer)) / 2));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--czarny); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--czerwien); outline-offset: 3px; }
@media (max-width: 1540px) { :root { --bok: clamp(16px, 5vw, 64px); } }

.h1 { font-size: clamp(36px, 3.4vw, 56px); line-height: 1.14; font-weight: 600; color: #fff; }
.h1 .lekki { font-weight: 300; display: block; }
.h2 { font-size: clamp(28px, 2.2vw, 36px); line-height: 1.22; font-weight: 500; }
.lead { font-size: clamp(16px, 1.2vw, 20px); line-height: 1.6; color: var(--tekst-wtorny); }
.ciemna .lead { color: var(--tekst-jasny-wtorny); }

/* Przyciski (Figma: 320×35, promień 10) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: min(320px, 100%); height: 42px; padding: 0 24px; border-radius: var(--r); font-size: 16px; font-weight: 400; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn-czerwony { background: var(--czerwien); color: #fff; }
.btn-czerwony::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-czerwony:hover { background: var(--czerwien-ciemna); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(223,34,47,.8); }
.btn-czerwony:hover::after { transform: translateX(120%); }
.btn-obrys { border: 2px solid currentColor; font-weight: 500; }
.btn-obrys:hover { background: #fff; color: var(--czarny); border-color: #fff; transform: translateY(-2px); }
.btn-obrys.ciemny:hover { background: var(--czarny); color: #fff; border-color: var(--czarny); }
.btn .strz { transition: transform .3s var(--ease); }
.btn:hover .strz { transform: translateX(4px); }
.kolo-strz { width: 32px; height: 32px; flex-shrink: 0; transition: transform .4s var(--ease); }
a:hover .kolo-strz, button:hover .kolo-strz { transform: translateX(4px); }

/* Menu */
.menu { position: sticky; top: 0; z-index: 60; height: 90px; background: var(--czarny); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--bok); transition: height .3s var(--ease), box-shadow .3s; }
.menu.zwiniete { height: 70px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.menu .logo img { width: 196px; height: auto; }
.menu nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); font-size: 15px; }
.menu nav > div { position: relative; }
.menu nav > div > a, .menu nav > div > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; position: relative; }
.menu nav > div > a::after, .menu nav > div > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--czerwien); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu nav > div:hover > a::after, .menu nav > div:hover > button::after, .menu nav a.tu::after { transform: scaleX(1); }
.menu .dol { font-size: 9px; transition: transform .25s; }
.menu nav > div:hover .dol, .menu nav > div.otwarte .dol { transform: rotate(180deg); }
.podmenu { position: absolute; top: 100%; left: -18px; min-width: 260px; padding: 10px; background: #fff; color: var(--czarny); border-radius: var(--r); box-shadow: 0 24px 48px -16px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.menu nav > div:hover .podmenu, .menu nav > div.otwarte .podmenu { opacity: 1; visibility: visible; transform: none; }
.podmenu a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; transition: background .2s; }
.podmenu a::after { content: "→"; color: var(--czerwien); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.podmenu a:hover { background: var(--szary); }
.podmenu a:hover::after { opacity: 1; transform: none; }
.menu > .btn { min-width: 146px; height: 38px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }

/* Menu mobilne (Figma 578:8904 / 578:8976) */
.mobilne { position: fixed; inset: 0; z-index: 100; background: #fff; padding: 24px 40px 40px; overflow-y: auto; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .55s var(--ease), visibility 0s .55s; visibility: hidden; }
.mobilne.otwarte { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .55s var(--ease); }
.mobilne .gora { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.mobilne .gora img { width: 36px; }
.mobilne .gora button { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -10px; }
.mobilne .gora button img { width: 14px; }
.mobilne ul { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.mobilne li > a, .mobilne li > button { font-size: 20px; line-height: 26px; font-weight: 600; text-transform: uppercase; width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.mobilne li > button img { width: 8px; transition: transform .35s var(--ease); }
.mobilne li.rozwiniete > button img { transform: rotate(90deg); }
.mobilne .dzialy { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mobilne li.rozwiniete .dzialy { grid-template-rows: 1fr; }
.mobilne .dzialy > div { overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.mobilne .dzialy a { font-size: 16px; line-height: 26px; color: var(--tekst-wtorny); text-transform: uppercase; }
.mobilne .dzialy a:first-child { margin-top: 24px; }
.mobilne li { opacity: 0; transform: translateY(14px); transition: .45s var(--ease); }
.mobilne.otwarte li { opacity: 1; transform: none; }
.mobilne.otwarte li:nth-child(2) { transition-delay: .06s; } .mobilne.otwarte li:nth-child(3) { transition-delay: .12s; } .mobilne.otwarte li:nth-child(4) { transition-delay: .18s; } .mobilne.otwarte li:nth-child(5) { transition-delay: .24s; }
.mobilne .tel { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }

/* Hero */
.hero { position: relative; min-height: min(1069px, calc(100svh - 90px)); color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--czarny); padding: 80px var(--bok) 64px; }
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30,30,30,.9) 0%, rgba(30,30,30,.55) 45%, rgba(30,30,30,0) 72%), linear-gradient(180deg, rgba(30,30,30,0) 50%, rgba(30,30,30,.9)); }
.hero > div { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.hero .lead { color: #e2e2e2; max-width: 657px; }
.przyciski { display: flex; gap: 20px; flex-wrap: wrap; }
.kafle-hero { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.kafel-hero { width: 287px; height: 169px; border-radius: var(--r); background: rgba(92,92,92,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; border: 1px solid rgba(255,255,255,.08); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.kafel-hero:hover { transform: translateY(-6px); background: rgba(223,34,47,.85); border-color: transparent; }
.kafel-hero .ikona { width: 55px; height: 55px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; transition: transform .5s var(--ease); }
.kafel-hero:hover .ikona { transform: rotate(-10deg) scale(1.08); border-color: #fff; }
.kafel-hero .ikona img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.kafel-hero b { font-size: 20px; line-height: 28px; font-weight: 500; }
.kafel-hero span { font-size: 14px; color: var(--tekst-jasny-wtorny); }
.kafel-hero:hover span { color: #fff; }

/* Zaufali nam */
.zaufali { background: var(--grafit); color: #fff; padding: 40px 0 44px; overflow: hidden; }
.zaufali h2 { padding: 0 var(--bok); margin-bottom: 24px; }
.tasma { display: flex; width: max-content; animation: tasma 45s linear infinite; }
.zaufali:hover .tasma { animation-play-state: paused; }
@keyframes tasma { to { transform: translateX(-50%); } }
.tasma > div { display: flex; gap: 16px; padding-right: 16px; }
.znaczek { display: flex; align-items: center; gap: 14px; height: 110px; padding: 0 32px; border-radius: var(--r); background: #333; white-space: nowrap; transition: background .3s; }
a.znaczek:hover { background: #3d3d3d; }
.znaczek b { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.znaczek span { font-size: 14px; line-height: 20px; color: var(--tekst-jasny-wtorny); }
.znaczek.marka { font-size: 22px; font-weight: 600; letter-spacing: .02em; color: #e6e6e6; }
.znaczek .gw { color: #fbbc04; font-size: 24px; }
.znaczek img { height: 30px; width: auto; filter: brightness(0) invert(.9); }

/* Sekcje */
.sekcja { padding: 92px var(--bok); display: flex; flex-direction: column; gap: 40px; }
.sekcja.ciemna { background: var(--czarny); color: #fff; }
.sekcja.szara { background: var(--szary); }
.naglowek-sekcji { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; }
.naglowek-sekcji > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 815px; }
.naglowek-sekcji .przyciski { gap: 16px; }

/* Bento działów (Figma 519:5727) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 194px; gap: 16px; }
.dzial { position: relative; overflow: hidden; border-radius: var(--r); background: var(--szary); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.dzial:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.4); }
.dzial .gora { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 2; }
.dzial .ikona { width: 55px; height: 55px; border-radius: 50%; border: 1px solid var(--czarny); display: grid; place-items: center; transition: transform .5s var(--ease); }
.dzial .ikona img { width: 32px; height: 32px; object-fit: contain; }
.dzial:hover .ikona { transform: rotate(-10deg); }
.dzial .opis { position: relative; z-index: 2; }
.dzial .opis b { display: block; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dzial .opis span { font-size: 13px; color: var(--szary-tekst); }
.dzial.foto { color: #fff; }
.dzial.foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dzial.foto:hover > img { transform: scale(1.06); }
.dzial.foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24,24,27,.2), rgba(24,24,27,.8)); }
.dzial.foto .ikona { border-color: #fff; }
.dzial.foto .ikona img { filter: brightness(0) invert(1); }
.dzial.foto .opis span { color: #e6e6e6; }
.dzial.duzy { grid-column: span 2; grid-row: span 2; }
.dzial.duzy .opis b { font-size: 36px; line-height: 44px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.dzial.duzy .opis { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dzial.duzy .opis span { font-size: 15px; }
.dzial.duzy .btn { min-width: 0; margin-top: 4px; }
.dzial.szeroki { grid-column: span 2; }
.dzial.cta { background: var(--czerwien); color: #fff; justify-content: center; gap: 12px; align-items: flex-start; padding: 24px 28px; }
.dzial.cta::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 44px solid rgba(255,255,255,.08); transition: transform .9s var(--ease); }
.dzial.cta:hover::after { transform: scale(1.3) translate(-24px, 24px); }
.dzial.cta .btn { min-width: 0; position: relative; z-index: 2; }

/* Zabudowy: przed / po */
.etykiety-pp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.etykiety-pp span { background: #5c5c5c; border-radius: var(--r); height: 35px; display: grid; place-items: center; font-size: 18px; font-weight: 500; letter-spacing: .08em; transition: background .3s; }
.etykiety-pp span.aktywna { background: var(--czerwien); }
.suwak { position: relative; aspect-ratio: 1440 / 761; border-radius: var(--r); overflow: hidden; background: #e9e9e9; --x: 50%; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.suwak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.suwak .po { clip-path: inset(0 0 0 var(--x)); }
.suwak .linia { position: absolute; top: 0; bottom: 0; left: var(--x); width: 11px; margin-left: -5.5px; background: var(--czarny); }
.suwak .uchwyt { position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); width: 69px; height: 35px; border-radius: var(--r); background: var(--czarny); color: #fff; display: grid; place-items: center; font-size: 16px; letter-spacing: 2px; transition: transform .2s; }
.suwak:hover .uchwyt { transform: translate(-50%, -50%) scale(1.1); }
.suwak input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; }
.klasy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.klasa { border-radius: var(--r); overflow: hidden; background: #fff; color: var(--czarny); display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.klasa:hover { transform: translateY(-6px); }
.klasa .zdj { aspect-ratio: 456 / 286; overflow: hidden; }
.klasa .zdj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.klasa:hover .zdj img { transform: scale(1.06); }
.klasa .pod { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; gap: 12px; }
.klasa .pod b { font-size: 20px; font-weight: 700; display: block; }
.klasa .pod small { display: block; font-size: 13px; color: var(--szary-tekst); font-weight: 400; }

/* Zakładki z podkreśleniem */
.zakladki { display: flex; justify-content: center; gap: clamp(20px, 4.5vw, 64px); flex-wrap: wrap; }
.zakladki button { font-size: 18px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 4px 0 10px; position: relative; color: var(--tekst-wtorny); transition: color .25s; }
.zakladki button::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 4px; border-radius: 4px; background: var(--czerwien); transform: translateX(-50%); transition: width .35s var(--ease); }
.zakladki button:hover, .zakladki button.aktywna { color: var(--czarny); }
.zakladki button.aktywna::after { width: 81px; max-width: 100%; }
.zakladki .ile { font-size: 12px; color: var(--czerwien); vertical-align: super; margin-left: 3px; }

/* Karty aut */
.karty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.karta-auta { border-radius: var(--r); display: flex; flex-direction: column; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.karta-auta:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -28px rgba(0,0,0,.4); }
.karta-auta .zdj { aspect-ratio: 456 / 331; background: #e8e8e8; overflow: hidden; border-radius: var(--r); position: relative; z-index: 1; }
.karta-auta .zdj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.karta-auta.produkt .zdj { background: linear-gradient(180deg, #f8f8f8, #e2e2e2); }
.karta-auta.produkt .zdj img { object-fit: contain; padding: 6% 5%; }
.karta-auta:hover .zdj img { transform: scale(1.05); }
.karta-auta .znacznik { position: absolute; left: 14px; top: 14px; background: var(--czarny); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.karta-auta .dane { border: 2px solid var(--ramka); border-top: 0; border-radius: 0 0 var(--r) var(--r); margin-top: -10px; padding: 30px 32px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.karta-auta .tyt { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.karta-auta .tyt b { font-size: 20px; font-weight: 700; line-height: 28px; }
.karta-auta p { font-size: 16px; color: var(--szary-tekst); }
.karta-auta .cena { color: var(--czerwien); font-weight: 700; font-size: 20px; margin-top: 4px; }
.karta-auta .cena small { font-size: 13px; font-weight: 400; color: var(--szary-tekst); }
.dongfeng-logo { height: 40px; width: auto; }
.przypis { font-size: 13px; color: var(--szary-tekst); }
.przypis a { color: var(--czerwien); }

/* Serwis */
.serwis-ukl { display: grid; grid-template-columns: 647fr 750fr; gap: 42px; align-items: stretch; }
.akordeon { display: flex; flex-direction: column; }
.pozycja { border-bottom: 1px solid var(--ramka); }
.pozycja:last-child { border-bottom: 0; }
.pozycja > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; text-align: left; font-size: 20px; font-weight: 500; transition: color .25s; }
.pozycja > button svg { width: 22px; height: 12px; transition: transform .4s var(--ease); flex-shrink: 0; }
.pozycja.otwarta > button svg { transform: rotate(180deg); }
.pozycja.otwarta > button, .pozycja > button:hover { color: var(--czerwien); }
.pozycja .tresc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.pozycja.otwarta .tresc { grid-template-rows: 1fr; }
.pozycja .tresc > div { overflow: hidden; }
.pozycja .tresc p { font-size: 16px; line-height: 26px; color: var(--tekst-wtorny); max-width: 588px; }
.pozycja .tresc a { display: inline-flex; align-items: center; gap: 12px; margin: 12px 0 20px; font-weight: 500; }
.foto-uslugi { border-radius: var(--r); overflow: hidden; position: relative; min-height: 460px; }
.foto-uslugi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.foto-uslugi img.widoczne { opacity: 1; transform: none; }
.pomoc { background: var(--czerwien); color: #fff; border-radius: var(--r); padding: 26px; display: flex; align-items: center; gap: 20px; }
.pomoc .ikona { width: 55px; height: 55px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; flex-shrink: 0; position: relative; }
.pomoc .ikona img { width: 32px; filter: brightness(0) invert(1); }
.pomoc .ikona::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid #fff; animation: puls 2s var(--ease) infinite; }
@keyframes puls { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.pomoc > div { flex: 1; }
.pomoc b { font-size: 20px; font-weight: 500; display: block; }
.pomoc .btn-obrys { min-width: 0; }

/* Realizacje */
.realizacje { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.realizacja { border-radius: var(--r); background: #fff; display: flex; flex-direction: column; text-align: left; transition: transform .45s var(--ease), box-shadow .45s; }
.realizacja:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -28px rgba(0,0,0,.35); }
.realizacja .zdj { aspect-ratio: 308 / 265; overflow: hidden; border-radius: var(--r); position: relative; z-index: 1; width: 100%; }
.realizacja .zdj img, .realizacja .zdj video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.realizacja:hover .zdj img { transform: scale(1.07); }
.realizacja .pod { border: 2px solid var(--ramka); border-top: 0; border-radius: 0 0 var(--r) var(--r); margin-top: -10px; padding: 24px 24px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex: 1; }
.realizacja .pod b { font-size: 16px; font-weight: 600; display: block; }
.realizacja .pod small { font-size: 13px; color: var(--szary-tekst); }
.realizacja.duza { grid-column: span 2; }
.realizacja.duza .zdj { aspect-ratio: auto; flex: 1; min-height: 300px; }
.realizacja.duza .zdj span { position: absolute; left: 16px; bottom: 16px; background: rgba(30,30,30,.85); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 13px; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,10,10,.92); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.lightbox.otwarty { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; border-radius: var(--r); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.otwarty img { transform: none; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: #333; color: #fff; font-size: 20px; }

/* Opinie */
.cytat-ikona { width: 44px; height: 33px; }
.opinie-ramka { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: stretch; }
.ocena { background: var(--czarny); color: #fff; border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.ocena .g i { font-style: normal; font-size: 22px; font-weight: 500; }
.ocena .g i:nth-child(1), .ocena .g i:nth-child(4) { color: #4285f4; } .ocena .g i:nth-child(2), .ocena .g i:nth-child(6) { color: #ea4335; } .ocena .g i:nth-child(3) { color: #fbbc04; } .ocena .g i:nth-child(5) { color: #34a853; }
.ocena .liczba { font-size: 72px; line-height: 1; font-weight: 600; }
.ocena .liczba small { font-size: 20px; color: var(--tekst-jasny-wtorny); font-weight: 400; }
.gwiazdki { position: relative; font-size: 26px; letter-spacing: 4px; color: #4a4a4a; width: fit-content; line-height: 1; }
.gwiazdki .pelne { position: absolute; inset: 0; overflow: hidden; color: #fbbc04; white-space: nowrap; width: 0; transition: width 1.6s var(--ease) .3s; }
.ocena.widoczne .gwiazdki .pelne { width: 82%; }
.ocena p { font-size: 14px; color: var(--tekst-jasny-wtorny); }
.ocena .btn { margin-top: auto; min-width: 0; }
.karuzela { overflow: hidden; min-width: 0; }
.tor { display: flex; gap: 36px; transition: transform .7s var(--ease); }
.opinia { flex: 0 0 calc((100% - 36px) / 2); background: var(--szary); border-radius: var(--r); padding: 34px 39px; display: flex; flex-direction: column; gap: 18px; min-height: 284px; position: relative; transition: background .3s; }
.opinia:hover { background: #ececec; }
.opinia .kto { display: flex; align-items: center; gap: 24px; padding-right: 40px; }
.opinia .awatar { width: 65px; height: 65px; border-radius: 50%; background: var(--czerwien); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 600; flex-shrink: 0; }
.opinia .kto b { font-size: 20px; font-weight: 400; color: var(--tekst-wtorny); display: block; }
.opinia .kto small { font-size: 13px; color: var(--szary-tekst); }
.opinia .gw5 { color: #fbbc04; letter-spacing: 3px; }
.opinia blockquote { font-size: 18px; line-height: 28px; color: var(--czarny); flex: 1; }
.opinia .cudz { position: absolute; right: 30px; top: 34px; width: 22px; }
.opinia a.zrodlo { font-size: 14px; color: var(--czerwien); width: fit-content; }
.opinia.dodaj { background: #fff; border: 2px dashed var(--ramka); justify-content: center; }
.sterowanie { display: flex; align-items: center; gap: 24px; }
.postep { flex: 1; max-width: 991px; height: 8px; background: var(--szary); border-radius: 10px; overflow: hidden; }
.postep i { display: block; height: 100%; background: var(--czerwien); border-radius: 10px; transition: width .6s var(--ease), margin .6s var(--ease); }
.strzalki { display: flex; gap: 16px; margin-left: auto; }
.strzalki button { width: 32px; height: 32px; border-radius: 50%; transition: transform .25s, opacity .25s; }
.strzalki button:disabled { opacity: .3; cursor: default; }
.strzalki button:not(:disabled):hover { transform: scale(1.12); }
.strzalki .wstecz img { transform: rotate(180deg); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 619fr 790fr; gap: 36px; }
.karta-ciemna { background: var(--czarny); color: #fff; border-radius: var(--r); padding: 32px clamp(24px, 3.5vw, 54px); display: flex; flex-direction: column; gap: 24px; }
.karta-ciemna .h2 { font-weight: 600; }
.karta-ciemna .h2 .lekki { font-weight: 300; display: block; }
.adres { display: flex; gap: 16px; align-items: center; }
.adres img { width: 43px; height: 43px; flex-shrink: 0; }
.adres b { font-size: 20px; font-weight: 500; display: block; line-height: 28px; }
.adres span, .godziny p { font-size: 14px; line-height: 22px; color: var(--tekst-jasny-wtorny); }
.godziny { display: flex; flex-direction: column; gap: 6px; }
.linki-kontakt { display: flex; flex-direction: column; gap: 14px; }
.linki-kontakt a { display: flex; align-items: center; gap: 16px; font-size: 15px; color: #e2e2e2; transition: color .2s, transform .2s; width: fit-content; }
.linki-kontakt a:hover { color: #fff; transform: translateX(3px); }
.linki-kontakt img { width: 24px; height: 24px; filter: brightness(0) invert(.8); }
.karta-ciemna > .btn { margin-top: auto; align-self: flex-start; }
.formularz { position: relative; overflow: hidden; }
.pola { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pole { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pole.cale { grid-column: 1 / -1; }
.pole input, .pole select, .pole textarea { background: var(--karta-ciemna); border: 1.5px solid transparent; border-radius: var(--r); color: #fff; padding: 11px 16px; font: 400 16px/26px "Poppins", sans-serif; width: 100%; transition: border-color .25s, box-shadow .25s; }
.pole select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bdbdbd' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.pole textarea { min-height: 120px; resize: vertical; }
.pole ::placeholder { color: var(--ramka); }
.pole input:focus, .pole select:focus, .pole textarea:focus { outline: none; border-color: var(--czerwien); box-shadow: 0 0 0 4px rgba(223,34,47,.25); }
.pole.blad input, .pole.blad select, .pole.blad textarea { border-color: #ff6b75; animation: drgniecie .4s; }
.pole .komunikat { font-size: 12px; color: #ff8f97; }
@keyframes drgniecie { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.zgoda { display: flex; gap: 10px; font-size: 14px; color: var(--tekst-jasny-wtorny); align-items: flex-start; }
.zgoda input { width: 18px; height: 18px; accent-color: var(--czerwien); margin-top: 2px; flex-shrink: 0; }
.formularz .btn { width: 100%; }
.sukces { position: absolute; inset: 0; background: var(--czarny); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: .5s var(--ease); }
.sukces.pokaz { opacity: 1; visibility: visible; }
.sukces svg { width: 72px; }
.sukces path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.sukces.pokaz path { animation: kreska .8s .2s var(--ease) forwards; }
@keyframes kreska { to { stroke-dashoffset: 0; } }
.formularz .sukces .btn { width: auto; }
.mapa { border-radius: var(--r); overflow: hidden; background: #f2f2f2; aspect-ratio: 1440 / 372; position: relative; }
.mapa video { width: 100%; height: 100%; object-fit: cover; }
.mapa .przyciski { position: absolute; right: 20px; bottom: 20px; gap: 10px; }
.mapa .btn { min-width: 0; height: 38px; font-size: 14px; }

/* Podstrona kontaktu */
.naglowek-strony { background: var(--grafit); color: #fff; padding: 72px var(--bok) 80px; display: flex; flex-direction: column; gap: 14px; }
.okruszki { font-size: 13px; color: var(--tekst-jasny-wtorny); }
.okruszki a:hover { color: #fff; }
.naglowek-strony .lead { color: var(--tekst-jasny-wtorny); max-width: 760px; }
.dzialy-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wiersz-dzialu { background: var(--szary); border-radius: var(--r); padding: 28px 32px; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px 28px; align-items: start; transition: transform .4s var(--ease), box-shadow .4s; }
.wiersz-dzialu:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(0,0,0,.35); }
.wiersz-dzialu.cale { grid-column: 1 / -1; }
.wiersz-dzialu h3 { color: var(--czerwien); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: .04em; }
.wiersz-dzialu h3 small { display: block; font-size: 13px; color: var(--szary-tekst); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.wiersz-dzialu h3 img { height: 22px; }
.wiersz-dzialu .info { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.wiersz-dzialu .info a { display: inline-flex; align-items: center; gap: 12px; color: var(--tekst-wtorny); width: fit-content; transition: color .2s; }
.wiersz-dzialu .info a:hover { color: var(--czerwien); }
.wiersz-dzialu .info img { width: 22px; opacity: .7; }
.wiersz-dzialu.podswietl { animation: podswietl 1.6s var(--ease); }
@keyframes podswietl { 0%, 40% { box-shadow: 0 0 0 3px var(--czerwien); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Stopka (Figma 519:4494) */
.stopka { background: var(--grafit); color: #fff; padding: 72px var(--bok) 0; overflow: hidden; }
.stopka .kolumny { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px; padding-bottom: 56px; border-bottom: 1px solid #e0e0e0; }
.stopka .kol { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.stopka .kol > img { width: 273px; margin-bottom: 4px; }
.stopka .kol b { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.stopka .kol a { width: fit-content; transition: color .2s, transform .2s; }
.stopka .kol a:hover { color: var(--czerwien); transform: translateX(3px); }
.stopka .prawa { display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; color: var(--tekst-jasny-wtorny); gap: 12px; flex-wrap: wrap; }
.stopka .prawa a:hover { color: #fff; }
.znak-wodny { display: flex; gap: 2vw; width: max-content; margin: 24px 0 -1.2vw; opacity: .07; animation: tasma 70s linear infinite; }
.znak-wodny img { width: 19vw; min-width: 200px; }

/* Ujawnianie */
.ujawnij { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.ujawnij.widoczne { opacity: 1; transform: none; }
.pasek-postepu { position: fixed; top: 0; left: 0; z-index: 70; height: 3px; width: 100%; background: var(--czerwien); transform: scaleX(0); transform-origin: left; }

@media (max-width: 1200px) {
  .menu nav, .menu > .btn { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .karty, .klasy { grid-template-columns: 1fr 1fr; gap: 24px; }
  .realizacje { grid-template-columns: 1fr 1fr; }
  .serwis-ukl, .kontakt, .opinie-ramka { grid-template-columns: 1fr; }
  .foto-uslugi { order: -1; min-height: 300px; }
  .dzialy-lista { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .menu, .menu.zwiniete { height: 64px; }
  .menu .logo img { width: 140px; }
  .hero { min-height: calc(100svh - 64px); padding: 48px 16px 28px; justify-content: flex-end; }
  .przyciski .btn { flex: 1; min-width: 0; padding: 0 12px; }
  .kafle-hero { gap: 8px; margin-top: 20px; flex-wrap: nowrap; }
  .kafel-hero { flex: 1; width: auto; height: 112px; padding: 8px; }
  .kafel-hero .ikona { width: 40px; height: 40px; } .kafel-hero .ikona img { width: 22px; height: 22px; }
  .kafel-hero b { font-size: 14px; line-height: 18px; } .kafel-hero span { display: none; }
  .sekcja { padding: 64px 16px; gap: 28px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .dzial, .dzial.szeroki, .dzial.duzy { grid-column: auto; grid-row: auto; min-height: 160px; gap: 28px; }
  .dzial.duzy { min-height: 380px; }
  .dzial.duzy .opis b { font-size: 28px; line-height: 36px; }
  .karty, .klasy, .realizacje { grid-template-columns: 1fr; }
  .realizacja.duza { grid-column: auto; } .realizacja.duza .zdj { min-height: 220px; }
  .suwak { aspect-ratio: 4 / 5; }
  .etykiety-pp { gap: 8px; } .etykiety-pp span { font-size: 14px; }
  .zakladki { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 24px; padding-bottom: 4px; scrollbar-width: none; }
  .zakladki button { font-size: 15px; white-space: nowrap; }
  .opinia { flex-basis: 100%; padding: 28px 24px; }
  .pola { grid-template-columns: 1fr; }
  .pomoc { flex-direction: column; align-items: flex-start; }
  .wiersz-dzialu { grid-template-columns: 1fr; padding: 24px; }
  .stopka .kolumny { grid-template-columns: 1fr; gap: 36px; }
  .stopka .kol > img { width: 200px; }
  .mapa { aspect-ratio: 4 / 3; }
  .mapa .przyciski { left: 12px; right: 12px; bottom: 12px; }
  .btn { min-width: 0; }
  .zaufali .znaczek { height: 88px; padding: 0 22px; } .znaczek b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ujawnij { opacity: 1; transform: none; }
}
