/* Total-Truck Tir Serwis — style.css
   Kierunek: tablica warsztatowa / drogowa. Asfalt, żółty znak, błękit znaku „serwis". Proste krawędzie, gruba typografia, zdjęcia bez ozdób. */
:root {
  --asphalt: #17191c;
  --asphalt-2: #22262b;
  --paper: #f3f1ea;
  --paper-2: #e9e6dc;
  --white: #fff;
  --yellow: #ffc906;
  --blue: #0b4ba6;
  --red: #d6291d;
  --ink: #17191c;
  --muted: #5d6168;
  --line: #cfcbbd;
  --head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Nagłówek ---------- */
.top { position: sticky; top: 0; z-index: 60; background: var(--asphalt); border-bottom: 4px solid var(--yellow); }
.top-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font: 700 19px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 12px 14px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--yellow); }
.nav a[aria-current] { border-bottom-color: var(--yellow); }
.top-tel { display: flex; align-items: center; gap: 10px; background: var(--yellow); color: #000; text-decoration: none; font: 800 25px/1 var(--head); letter-spacing: .03em; padding: 12px 18px; }
.top-tel:hover { background: #fff; color: #000; }
.mn-chk, .mn-btn, .mn { display: none; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--asphalt); color: #fff; text-decoration: none; font: 800 22px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 16px 22px; }
.btn:hover { background: var(--yellow); color: #000; }
.tel-btn { display: flex; align-items: center; gap: 14px; background: var(--yellow); color: #000; text-decoration: none; padding: 14px 22px; min-width: 270px; }
.tel-btn .i { width: 30px; height: 30px; }
.tel-btn small { display: block; font: 600 14px/1.2 var(--body); letter-spacing: .02em; opacity: .8; }
.tel-btn b { display: block; font: 800 34px/1 var(--head); letter-spacing: .03em; }
.tel-btn:hover { background: #fff; color: #000; }
.tel-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #ffffff80; }
.tel-btn.ghost:hover { background: #fff; color: #000; }

/* ---------- Hero ---------- */
.hero { background: var(--asphalt); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 5fr 7fr; align-items: stretch; min-height: 560px; }
.hero-photo { position: relative; margin-left: calc((100vw - min(1180px, 100vw - 40px)) / -2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 98%), linear-gradient(180deg, #000 48%, transparent 78%); mask-image: linear-gradient(90deg, #000 62%, transparent 98%), linear-gradient(180deg, #000 48%, transparent 78%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-copy { padding: 64px 0 64px 28px; align-self: center; }
.kicker { margin: 0 0 18px; font: 700 17px/1 var(--head); text-transform: uppercase; letter-spacing: .16em; color: var(--yellow); }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); margin-bottom: 22px; }
.lead { max-width: 52ch; color: #cfd2d6; font-size: 20px; margin: 0 0 32px; }
.hero-tels { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pasek faktów ---------- */
.facts { background: var(--yellow); color: #000; }
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 22px 22px 0; display: grid; gap: 2px; }
.facts li + li { padding-left: 22px; border-left: 2px solid #0003; }
.facts b { font: 800 34px/1 var(--head); text-transform: uppercase; }
.facts span { font-size: 15px; line-height: 1.3; font-weight: 500; }

/* ---------- Sekcje ---------- */
.sec { padding: 84px 0; }
.sec.tint { background: var(--paper-2); }
.sec.dark { background: var(--asphalt); color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2, .h-sm { font-size: clamp(36px, 4.4vw, 56px); }
.sec-head p { margin: 14px 0 0; color: var(--muted); }
.h-sm { font-size: clamp(30px, 3.4vw, 42px); }
.muted { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }

/* ---------- Wiersze usług ---------- */
.rows { border-top: 3px solid var(--asphalt); }
.row { display: grid; grid-template-columns: 56px 260px 1fr 56px; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .2s, padding .2s; }
.row:hover { background: var(--white); padding-inline: 16px; margin-inline: -16px; color: inherit; }
.row-n { font: 800 38px/1 var(--head); color: var(--muted); }
.row img { width: 260px; height: 130px; object-fit: cover; }
.row-t b { display: block; font: 800 32px/1.05 var(--head); text-transform: uppercase; margin-bottom: 6px; }
.row-t span { color: var(--muted); font-size: 17px; display: block; max-width: 52ch; }
.row-go { width: 52px; height: 52px; background: var(--asphalt); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.row-go .i { width: 24px; height: 24px; }
.row:hover .row-go { background: var(--yellow); color: #000; }

/* ---------- O firmie / treść ---------- */
.about-in, .art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: start; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1.15em; }
.prose h1 { display: none; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 1.5em 0 .55em; padding-top: 18px; position: relative; }
.prose h2::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 6px; background: var(--yellow); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 26px; margin: 1.6em 0 .5em; color: var(--blue); }
.prose ul { margin: 0 0 1.3em; padding: 0; list-style: none; }
.prose li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); }
.prose li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; background: var(--yellow); outline: 2px solid var(--asphalt); outline-offset: -2px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 8px solid var(--yellow); font-size: 20px; line-height: 1.5; font-weight: 500; }
.sign-line { font-size: 22px; line-height: 1.35; margin-top: 1.6em !important; }
.signs { display: flex; gap: 32px; margin-top: 10px; align-items: end; }
.signs img { width: 150px; opacity: .85; }

/* Karta „Zadzwoń" */
.callcard { position: sticky; top: 100px; background: var(--asphalt); color: #fff; padding: 28px; }
.cc-h { margin: 0 0 16px; font: 800 30px/1 var(--head); text-transform: uppercase; color: var(--yellow); }
.cc-tel { display: block; text-decoration: none; color: #fff; padding: 14px 0; border-top: 1px solid #ffffff2e; }
.cc-tel small { display: block; font-size: 14px; color: #aeb2b8; }
.cc-tel b { font: 800 34px/1.1 var(--head); letter-spacing: .03em; }
.cc-tel:hover { color: var(--yellow); }
.cc-addr { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid #ffffff2e; color: #cfd2d6; font-size: 16px; }
.trust { display: inline-block; margin-top: 18px; background: #fff; padding: 6px; }

.signs + * { margin-top: 0; }

/* ---------- Ciemny panel list ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cols3 h2 { font-size: 38px; color: var(--yellow); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px solid currentColor; }
.cols3.light h2 { color: var(--ink); border-bottom-color: var(--yellow); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid #ffffff22; font-size: 19px; }
.cols3.light .ticks li { border-bottom-color: var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; background: var(--yellow); clip-path: polygon(0 55%, 15% 40%, 40% 62%, 85% 10%, 100% 25%, 40% 95%); }
.cols3.light .ticks li::before { background: var(--blue); }

/* ---------- Zdjęcia ---------- */
.shots { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.shots img { width: 100%; height: 340px; object-fit: cover; }

/* ---------- Logotypy ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos img { width: 100%; height: 96px; object-fit: contain; padding: 22px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Linki do artykułów / zobacz także ---------- */
.links, .more ul { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--asphalt); }
.links a, .more a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 23px/1.15 var(--head); text-transform: uppercase; letter-spacing: .015em; }
.links a:hover, .more a:hover { color: var(--blue); padding-left: 10px; }
.links .i, .more .i { width: 24px; height: 24px; }
.more { margin-top: 72px; max-width: 760px; }
.more h2 { font-size: 34px; margin-bottom: 16px; }

/* ---------- Nagłówek podstron ---------- */
.phead { background: var(--asphalt); color: #fff; padding: 40px 0 46px; border-bottom: 4px solid var(--yellow); }
.phead h1 { font-size: clamp(40px, 5.4vw, 72px); max-width: 20ch; }
.phead p { margin: 14px 0 0; color: #bfc3c9; font-size: 20px; }
.crumbs { margin: 0 0 18px; font-size: 14px; color: #9a9ea5; letter-spacing: .02em; }
.crumbs a { color: #cfd2d6; }
.crumbs a:hover { color: var(--yellow); }
.banner { margin: 0; background: var(--asphalt); }
.banner img { width: min(1180px, 100%); height: 360px; margin-inline: auto; object-fit: cover; }

/* ---------- Części ---------- */
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.parts li { display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; font-size: 15px; line-height: 1.35; color: var(--muted); min-height: 160px; }
.parts .lg { height: 78px; display: grid; place-items: center; margin-bottom: 14px; }
.parts .lg img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.parts li > span:last-child { margin-top: auto; text-align: center; color: var(--ink); font-weight: 500; }

/* ---------- Kontakt / dojazd ---------- */
.kontakt { display: grid; gap: 36px; max-width: 900px; }
.kt-tels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kt-big { display: block; background: var(--yellow); color: #000; text-decoration: none; padding: 28px; }
.kt-big small { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.kt-big b { display: flex; align-items: center; gap: 12px; font: 800 clamp(34px, 4.6vw, 54px)/1 var(--head); letter-spacing: .03em; }
.kt-big:hover { background: var(--asphalt); color: var(--yellow); }
.kt-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin: 0; }
.kt-info > div { border-top: 3px solid var(--asphalt); padding-top: 12px; }
.kt-info dt { font: 700 16px/1 var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.kt-info dd { margin: 0; font-size: 20px; }
.dojazd { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.map iframe { width: 100%; height: 520px; display: block; }

/* ---------- Pasek CTA ---------- */
.band { background: var(--blue); color: #fff; padding: 56px 0; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.band h2 { font-size: clamp(40px, 5vw, 64px); }
.band p { margin: 10px 0 0; max-width: 46ch; color: #dbe6f8; }
.band-tels { display: grid; gap: 10px; }
.band-tels a { display: flex; align-items: center; gap: 14px; background: var(--yellow); color: #000; text-decoration: none; font: 800 38px/1 var(--head); letter-spacing: .03em; padding: 14px 22px; }
.band-tels small { margin-left: auto; font: 600 14px var(--body); opacity: .75; letter-spacing: 0; }
.band-tels a:hover { background: #fff; }

/* ---------- Stopka ---------- */
.foot { background: var(--asphalt); color: #cfd2d6; border-top: 4px solid var(--yellow); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 56px 0 24px; }
.foot-h { margin: 0 0 14px; font: 800 22px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }
.foot address { font-style: normal; margin-bottom: 14px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--yellow); }
.foot-tels a { font: 800 28px/1.2 var(--head); text-decoration: none; letter-spacing: .03em; }
.foot-tels small { color: #9a9ea5; margin-left: 6px; }
.marki { width: 245px; filter: grayscale(1) brightness(1.5); }
.foot-map { display: block; text-decoration: none; }
.foot-map img { width: 100%; max-width: 300px; background: #fff; padding: 6px; }
.foot-map span { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 20px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }
.copy { text-align: center; margin: 0; padding: 20px; font-size: 14px; color: #8b8f96; border-top: 1px solid #ffffff1c; }

.callbar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { margin: 0 -20px; height: 280px; order: 2; }
  .hero-photo img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hero-copy { padding: 44px 0 8px; order: 1; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 2px solid #0003; }
  .about-in, .art-grid, .dojazd { grid-template-columns: 1fr; gap: 40px; }
  .callcard { position: static; }
  .cols3 { grid-template-columns: 1fr; gap: 36px; }
  .two { grid-template-columns: 1fr; gap: 24px; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .parts { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 44px 200px 1fr 48px; gap: 20px; }
  .row img { width: 200px; height: 110px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

/* ---------- Telefon ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .sec { padding: 56px 0; }
  .top-in { height: 62px; gap: 14px; }
  .brand img { height: 38px; }
  .nav, .top-tel { display: none; }
  .mn-chk { display: block; position: absolute; opacity: 0; pointer-events: none; }
  .mn-btn { display: block; position: absolute; right: 12px; top: 8px; height: 46px; padding: 0 16px; background: var(--yellow); color: #000; font: 800 20px/46px var(--head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
  .mn { background: var(--asphalt); border-top: 1px solid #ffffff2e; }
  .mn-chk:checked ~ .mn { display: grid; }
  .mn a { color: #fff; text-decoration: none; font: 700 24px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 18px 20px; border-bottom: 1px solid #ffffff1c; }
  .mn a:hover { color: var(--yellow); }
  .hero-copy { padding-top: 32px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .lead { font-size: 18px; }
  .tel-btn { width: 100%; min-width: 0; }
  .tel-btn b { font-size: 32px; }
  .hero-photo { height: 220px; }
  .facts b { font-size: 26px; }
  .facts li { padding: 16px 12px 16px 0; }
  .facts li + li { padding-left: 14px; }
  .row { grid-template-columns: 1fr 48px; grid-template-areas: 'img img' 'txt go'; gap: 14px; padding: 18px 0; }
  .row-n { display: none; }
  .row img { grid-area: img; width: 100%; height: 190px; }
  .row-t { grid-area: txt; }
  .row-go { grid-area: go; align-self: start; }
  .row:hover { padding-inline: 0; margin-inline: 0; background: none; }
  .shots { grid-template-columns: 1fr; }
  .shots img { height: 220px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos img { height: 76px; padding: 14px; }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .banner img { height: 200px; }
  .kt-tels, .kt-info { grid-template-columns: 1fr; }
  .band-tels, .band-tels a { width: 100%; }
  .band-tels a { font-size: 32px; }
  .foot-in { grid-template-columns: 1fr; gap: 32px; }
  .prose blockquote { font-size: 18px; }
  .map iframe { height: 380px; }
  .callbar { position: fixed; inset: auto 0 0 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: var(--asphalt); border-top: 3px solid var(--yellow); }
  .callbar a { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 8px 12px; color: #fff; text-decoration: none; }
  .callbar a + a { border-left: 1px solid #ffffff2e; }
  .callbar .i { grid-row: span 2; width: 22px; height: 22px; color: var(--yellow); }
  .callbar span { font-size: 12px; color: #aeb2b8; line-height: 1.1; }
  .callbar b { font: 800 22px/1.1 var(--head); letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Baner cookies (Consent Mode v2) ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--yellow); }
.cc[hidden] { display: none; }
.cc { position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--asphalt); color: #fff; border-top: 4px solid var(--yellow); box-shadow: 0 -10px 30px #0006; }
.cc-in { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 20px 0; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.cc-txt { max-width: 70ch; font-size: 15px; line-height: 1.5; color: #d4d7dc; }
.cc-txt p { margin: 0; }
.cc-title { font: 800 26px/1 var(--head); text-transform: uppercase; color: var(--yellow); margin-bottom: 8px !important; }
.cc-opts { display: grid; gap: 8px; margin-top: 12px; }
.cc-opts label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cc-opts input { width: 20px; height: 20px; accent-color: var(--yellow); margin: 2px 0 0; flex: none; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cc-b { font: 800 19px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 15px 20px; background: var(--yellow); color: #000; border: 2px solid var(--yellow); cursor: pointer; }
.cc-b:hover { background: #fff; border-color: #fff; }
.cc-b.cc-sec { background: transparent; color: #fff; border-color: #ffffff80; }
.cc-b.cc-sec:hover { background: #fff; color: #000; }
@media (max-width: 760px) {
  .cc { max-height: 92vh; overflow: auto; }
  .cc-in { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 0; }
  .cc-btns { flex-direction: column; }
  .cc-b { width: 100%; padding: 16px; }
}
.cc-txt a { color: #fff; }
.cc-txt a:hover { color: var(--yellow); }
.foot .copy a { color: #fff; }
.prose mark { background: #fff2a8; color: #000; padding: 0 4px; }
.prose ol { padding-left: 1.3em; }
.prose ol li { padding-left: 6px; }
.prose ol li::before { display: none; }
.prose .note { background: var(--paper-2); border-left: 6px solid var(--blue); padding: 14px 18px; font-size: 16px; }
