/* FHU Transtom — arkusz stylów
   Kolory: asfalt (ink), aluminium naczepy (alu), czerwień z logo (signal).
   Krój: Saira (lokalnie), nagłówki w szerokości 125% jak liternictwo logo. */

@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #17212b;
  --ink-2: #212e3b;
  --ink-line: rgba(255, 255, 255, .14);
  --steel: #53606c;
  --mist: #b9c4ce;
  --line: #d3dae0;
  --alu: #ecf0f3;
  --paper: #fff;
  --signal: #d4231b;
  --signal-600: #b01c15;
  --cold: #1b5da6;
  --pallet: #d9e8f4;
  --pallet-edge: #7fa6c9;

  --font: "Saira", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 3px;
  --section: clamp(64px, 8vw, 120px);

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);
  --fs-2xl: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-stretch: 125%;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; background: #fff; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- Przyciski i linki ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .7em 1.3em;
  border: 2px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--signal { background: var(--signal); color: #fff; }
.btn--signal:hover { background: var(--signal-600); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: rgba(127, 127, 127, .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link:hover { color: var(--signal); }
.on-dark .link:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Nagłówek strony ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; }
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav { display: none; }
.nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(23, 33, 43, .35);
}
.nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--alu);
  font-weight: 500;
  text-decoration: none;
}
.nav a[aria-current="page"] { color: var(--signal); }
.nav__switch a { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); }
.header-call { display: none; }

@media (min-width: 700px) {
  .header-call { display: inline-flex; min-height: 44px; padding: .55em 1em; font-stretch: 112.5%; }
}
@media (min-width: 1200px) {
  .site-header__in { min-height: 76px; gap: 24px; }
  .brand img { width: 216px; }
  .nav-toggle { display: none; }
  .nav, .nav.is-open { display: block; position: static; margin-left: auto; box-shadow: none; border: 0; }
  .nav ul { display: flex; gap: 2px; padding: 0; }
  .nav a {
    padding: 10px 12px;
    border: 0;
    border-radius: var(--r);
    font-size: var(--fs-sm);
    white-space: nowrap;
  }
  .nav a:hover { background: var(--alu); }
  .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
  .nav__switch { margin-left: 8px; }
  .nav__switch a { border: 1px solid var(--signal); padding: 8px 12px; }
  .nav__switch a:hover { background: var(--signal); color: #fff; }
  .header-call { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  .nav a { padding: 10px 9px; }
  .header-call { padding: .55em .75em; }
  .header-call .num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Pasek „zadzwoń” na telefonach — kierowca z problemem ma numer pod kciukiem */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.callbar a:first-child { background: var(--signal); }
body { padding-bottom: 56px; }
@media (min-width: 700px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Sekcje ---------- */
.section { padding-block: var(--section); }
.section--alu { background: var(--alu); }
.section--ink { background: var(--ink); color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p { color: var(--steel); font-size: var(--fs-md); line-height: 1.5; }
.section--ink .section__head p, .on-dark .muted { color: var(--mist); }
.muted { color: var(--steel); }
.lead { font-size: var(--fs-md); line-height: 1.5; }

/* ---------- Hero strony głównej ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 43, .95) 0%, rgba(23, 33, 43, .86) 42%, rgba(23, 33, 43, .2) 78%, rgba(23, 33, 43, 0) 100%);
}
.hero__body { padding-block: clamp(48px, 8vw, 104px) clamp(128px, 13vw, 184px); }
.hero__meta { margin: 0 0 1.25rem; color: var(--mist); font-size: var(--fs-sm); }
.hero h1 { max-width: 17ch; margin-bottom: .45em; }
.hero__lead { max-width: 54ch; color: #dde4ea; font-size: var(--fs-md); line-height: 1.5; margin: 0; }

.routes {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: calc(-1 * clamp(96px, 10vw, 140px));
}
@media (min-width: 900px) {
  .routes { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.route {
  --pad: clamp(22px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--pad);
  border-radius: var(--r);
}
.route__photo { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 4px; aspect-ratio: 2 / 1; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.route__photo img { width: 100%; height: 100%; object-fit: cover; }
.route--shop .route__photo { border-radius: 0; }
.route h2 { font-size: var(--fs-lg); margin: 0; }
.route p { margin: 0; }
.route .btn-row { margin-top: auto; padding-top: 4px; }
.route--main {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(23, 33, 43, .55);
}
.route__aside { font-size: var(--fs-sm); color: var(--steel); }
.route__aside .link { margin-left: 4px; }
.route--shop { background: var(--ink-2); color: #fff; border-top: 4px solid var(--signal); box-shadow: 0 24px 48px -28px rgba(23, 33, 43, .55); }
.route--shop .svc li:first-child { padding-top: 0; }
.route--shop p { color: #d3dbe2; }
.route__hours { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--mist); }
.route__hours .icon { margin-top: .15em; }

/* ---------- Skala temperatury ---------- */
.tscale { --t: -18; --from: -25; --to: 25; }
.tscale__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tscale__value {
  display: block;
  font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem);
  font-weight: 700;
  font-stretch: 112.5%;
  font-variant-numeric: tabular-nums;
  line-height: .95;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.tscale__value--range { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.tscale__caption { font-size: var(--fs-sm); color: var(--steel); text-align: right; max-width: 22ch; line-height: 1.35; }
.tscale__track { position: relative; }
.tscale__bar {
  position: relative;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(90deg, #17508f 0%, #2f7fca 24%, #a9d3f0 46%, #eef2f4 52%, #f2b9a5 66%, #e5553f 84%, #c21f17 100%);
}
.tscale__range {
  position: absolute;
  top: 0; bottom: 0;
  left: calc((var(--from) + 25) * 2%);
  width: calc((var(--to) - var(--from)) * 2%);
  min-width: 4px;
  box-shadow: 0 0 0 100vw rgba(255, 255, 255, .62);
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  transition: left .35s ease, width .35s ease;
}
.tscale__marker {
  position: absolute;
  top: -7px; bottom: -7px;
  left: calc((var(--t) + 25) * 2%);
  width: 3px;
  margin-left: -1.5px;
  background: var(--ink);
}
.tscale__ticks { position: relative; height: 30px; margin: 8px 0 0; padding: 0; list-style: none; }
.tscale__ticks li {
  position: absolute;
  top: 0;
  left: calc((var(--v) + 25) * 2%);
  transform: translateX(-50%);
  padding-top: 9px;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--steel);
  white-space: nowrap;
}
.tscale__ticks li::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 6px; background: currentColor; }
.tscale__ticks li:first-child { transform: none; }
.tscale__ticks li:first-child::before { left: 0; }
.tscale__ticks li:last-child { transform: translateX(-100%); }
.tscale__ticks li:last-child::before { left: auto; right: 0; }
@media (max-width: 559px) { .tscale__ticks .minor { display: none; } }

/* Wybór ładunku na stronie transportu */
.cargo { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .cargo { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.cargo__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cargo__list button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #aab6c1;
  border-radius: var(--r);
  background: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.cargo__list button:hover { border-color: var(--ink); }
.cargo__list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel { margin: 0; padding: clamp(22px, 3vw, 36px); background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.cargo__desc { margin: 18px 0 0; color: var(--steel); min-height: 3.2em; }
.cargo__note { margin-top: 16px; font-size: var(--fs-sm); color: var(--steel); }

/* ---------- Lista „co dostajesz” ---------- */
.facts { display: grid; gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts--4 { grid-template-columns: repeat(4, 1fr); } }
.facts > div { padding: 18px 0 30px; border-top: 2px solid var(--ink); }
.facts dt { margin-bottom: 6px; font-size: var(--fs-md); font-weight: 700; font-stretch: 112.5%; line-height: 1.25; }
.facts dd { margin: 0; color: var(--steel); }

/* ---------- Flota ---------- */
.fleet { display: grid; gap: 0; }
.vehicle { display: grid; gap: 20px 48px; padding-block: 32px; border-top: 1px solid var(--line); }
.vehicle:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .vehicle { grid-template-columns: minmax(280px, 1fr) 1.6fr; align-items: center; } }
.vehicle h3 { font-size: var(--fs-lg); margin-bottom: 16px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; }
.specs dt { color: var(--steel); }
.specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan { margin: 0; }
.plan svg { width: 100%; }
.plan figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--steel); }
.plan .cab { fill: var(--ink); }
.plan .box { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.plan .pal { fill: var(--pallet); stroke: var(--pallet-edge); stroke-width: 1.5; }
.plan .lift { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
.plan .dim { stroke: var(--steel); stroke-width: 1.5; fill: none; }
.plan .win { fill: #9fb3c4; }
.plan .bar { stroke: var(--ink); stroke-width: 5; }
.plan .leg { fill: var(--steel); }
.plan .wheel { fill: var(--ink); }
.plan .hub { fill: var(--mist); }
.plan--tandem { margin: 0; }
.plan--tandem text { font-size: 22px; }
@media (min-width: 1000px) { .page-hero--split.page-hero--figure .page-hero__body { grid-template-columns: 1fr 1fr; align-items: center; } }
.plan--tandem figcaption { color: var(--steel); }
.plan text { fill: var(--steel); font-family: var(--font); font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .plan text, .plan .dim { display: none; } }

/* ---------- Warsztat ---------- */
.shop { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .shop { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.shop__cols { display: grid; gap: 32px clamp(24px, 4vw, 48px); }
@media (min-width: 700px) { .shop__cols { grid-template-columns: 1fr 1fr; } }
.shop__cols h3 { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--signal); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.on-dark .svc li { border-color: var(--ink-line); }
.svc strong { display: block; font-weight: 600; }
.svc span { display: block; font-size: var(--fs-sm); color: var(--steel); }
.on-dark .svc span { color: var(--mist); }

.infobox { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--ink-2); color: #fff; }
.infobox h3 { margin-bottom: 16px; }
.infobox .btn { width: 100%; margin-top: 8px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0 0 20px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--mist); }
.hours dd { margin: 0; font-weight: 600; }
.addr { display: flex; gap: 10px; margin: 0 0 20px; color: #dde4ea; font-style: normal; }
.addr .icon { margin-top: .2em; }

/* ---------- Kroki ---------- */
.steps { display: grid; gap: 24px clamp(24px, 3vw, 40px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  font-size: 2.25rem;
  font-weight: 700;
  font-stretch: 125%;
  line-height: 1;
  color: var(--signal);
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--steel); }

/* ---------- Opinie ---------- */
.quotes { display: grid; gap: 40px clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--signal); }
.quote p { margin: 0 0 14px; font-size: var(--fs-md); line-height: 1.5; }
.quote footer { font-size: var(--fs-sm); color: var(--steel); }
.quote cite { display: block; font-style: normal; font-weight: 600; color: var(--ink); }

/* ---------- Dwie kolumny tekstu ---------- */
.split { display: grid; gap: 32px clamp(32px, 6vw, 96px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split--wide { }
@media (min-width: 900px) { .split--wide { grid-template-columns: 1.25fr 1fr; } }

/* ---------- Pas kontaktowy ---------- */
.cta { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; } }
.cta h2 { margin-bottom: .35em; }
.cta p { margin: 0; color: var(--steel); font-size: var(--fs-md); line-height: 1.5; }
.contact-lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-lines a, .contact-lines span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-lines .big { font-size: var(--fs-lg); font-weight: 700; font-stretch: 112.5%; font-variant-numeric: tabular-nums; }
.contact-lines a:hover { color: var(--signal); }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 33, 43, .95) 0%, rgba(23, 33, 43, .82) 42%, rgba(23, 33, 43, .15) 85%); }
@media (max-width: 899px) {
  .hero__media::after, .page-hero__media::after { background: rgba(23, 33, 43, .78); }
}
.page-hero__body { padding-block: clamp(40px, 7vw, 96px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 58ch; color: #dde4ea; margin: 0; }
.crumbs { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: #fff; }
.page-hero--split .page-hero__body { display: grid; gap: 32px clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) { .page-hero--split .page-hero__body { grid-template-columns: 1.5fr 1fr; align-items: end; } }

/* ---------- Tekst redakcyjny ---------- */
.prose h2 { font-size: var(--fs-lg); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; max-width: 66ch; }
.prose li { margin-bottom: .35em; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 40px clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.contact__block + .contact__block { margin-top: 36px; }
.contact__block h2 { font-size: var(--fs-md); margin-bottom: 12px; }
.contact__block .hours dt { color: var(--steel); }
.legal { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0; font-size: var(--fs-sm); }
.legal dt { color: var(--steel); }
.legal dd { margin: 0; font-variant-numeric: tabular-nums; }

.map { position: relative; margin-top: 36px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--alu); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: var(--mist); font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; padding-block: 56px 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; } }
.site-footer h2 a { color: #fff; }
.site-footer li { line-height: 1.5; }
.site-footer img { width: 200px; margin-bottom: 18px; }
.site-footer h2 { font-size: var(--fs-base); font-stretch: 112.5%; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer p { margin: 0 0 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__bottom::before { content: ""; flex-basis: 100%; height: 1px; margin-top: -20px; margin-bottom: 12px; background: var(--ink-line); }

/* ---------- Film w nagłówku strony głównej ---------- */
.hero--video .hero__body { padding-block: clamp(64px, 10vw, 150px) clamp(140px, 14vw, 210px); }
.hero__actions { margin-top: 28px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.hero__video.is-playing { opacity: 1; }
.hero--video .hero__media::after { background: linear-gradient(90deg, rgba(23, 33, 43, .88) 0%, rgba(23, 33, 43, .62) 42%, rgba(23, 33, 43, .12) 72%, rgba(23, 33, 43, 0) 100%); }
.hero--video .hero__body { text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
@media (max-width: 899px) { .hero--video .hero__media::after { background: linear-gradient(180deg, rgba(23, 33, 43, .5) 0%, rgba(23, 33, 43, .8) 100%); } }
.hero__sound {
  position: absolute;
  right: var(--gutter);
  bottom: calc(clamp(96px, 10vw, 140px) + 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px 6px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(23, 33, 43, .65);
  color: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.hero__sound[hidden] { display: none; }
.hero__sound:hover { background: rgba(23, 33, 43, .95); }
.hero__sound .icon-sound, .hero__sound.is-on .icon-mute { display: none; }
.hero__sound.is-on .icon-sound { display: block; }
@media (max-width: 899px) { .hero__sound { top: 16px; right: 16px; bottom: auto; } }

/* ---------- Strona startowa: film na całym ekranie, boksy wyboru na dole ---------- */
.portal { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; background: var(--ink); }
.portal .hero__media::after { background: linear-gradient(180deg, rgba(23, 33, 43, .1) 0%, rgba(23, 33, 43, .2) 45%, rgba(23, 33, 43, .8) 100%); }
.portal__body { padding-block: 24px 14px; text-align: center; }
.portal__logo { display: block; margin-bottom: 4px; }
.portal__logo img { width: min(230px, 100%); height: auto; }
.portal__choice { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; text-align: left; }
@media (min-width: 760px) { .portal__choice { grid-template-columns: 1fr 1fr; gap: 20px; } }
.portal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-top: 4px solid var(--signal);
  border-radius: var(--r);
  background: rgba(23, 33, 43, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.portal__card:hover { background: rgba(23, 33, 43, .9); border-color: rgba(255, 255, 255, .5); }
.portal .hero__sound { top: 20px; right: 20px; bottom: auto; }
/* Komputer: film na cały ekran, boksy wystają do połowy spod dolnej krawędzi i dokańczają się po przewinięciu */
@media (min-width: 760px) {
  .site-start { --peek: 250px; }
  .portal { z-index: 1; height: 100svh; min-height: 560px; }
  .portal__body { position: relative; margin-bottom: calc(-1 * var(--peek)); }
  .site-start .site-footer { padding-top: var(--peek); }
}
/* Telefon: film jako własny blok u góry, boksy pod nim */
@media (max-width: 759px) {
  .portal { display: block; min-height: 0; }
  .portal .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; max-height: 70svh; }
  .portal .hero__media::after { background: linear-gradient(180deg, rgba(23, 33, 43, 0) 70%, var(--ink) 100%); }
  .portal__body { padding-block: 0 32px; }
  .portal__card { background: var(--ink-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.portal__card strong { font-size: var(--fs-md); font-stretch: 125%; font-weight: 750; line-height: 1.15; }
.portal__card p { margin: 0; flex: 1 0 auto; color: #dde4ea; font-size: var(--fs-sm); }
.portal__phone { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: var(--fs-lg); font-weight: 700; font-stretch: 112.5%; text-decoration: none; }
.portal__phone:hover { color: var(--signal); }
.portal__card .btn { align-self: flex-start; }
.portal__card .btn::after { content: ""; position: absolute; inset: 0; }
.portal__logo, .portal__phone { position: relative; z-index: 1; }
.portal__contact { margin: 12px 0 0; color: var(--mist); font-size: var(--fs-xs); }
.site-start .callbar { display: none; }
.site-start { padding-bottom: 0; }

.cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; overflow: hidden; }
.card picture { display: block; aspect-ratio: 3 / 2; min-height: 0; overflow: hidden; background: var(--ink-2); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover img { transform: scale(1.03); }
.card__body { display: block; padding: 20px 20px 24px; }
.card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card h3 .icon { color: var(--signal); }
.card:hover h3 { color: var(--signal); }
.card p { margin: 0; font-size: var(--fs-sm); color: var(--steel); }
.stack { display: grid; gap: 12px; align-content: start; }
.stack .photo { aspect-ratio: 4 / 3; }
.steps--list { grid-template-columns: 1fr; gap: 14px; }
.steps--list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: baseline; padding-top: 12px; }
.steps--list li::before { grid-row: 1 / span 2; margin: 0; font-size: 1.75rem; }
.steps--list h3 { margin: 0; }

/* ---------- Zdjęcia w treści ---------- */
.photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--alu); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.split--photo { align-items: center; }
.split--photo .photo { aspect-ratio: 4 / 3; }
.split--photo .photo--tall { aspect-ratio: 4 / 5; max-width: 520px; }
.tiles { display: grid; gap: 12px; margin: 0 0 clamp(32px, 4vw, 56px); padding: 0; list-style: none; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles picture { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.tiles img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galeria z powiększeniem ---------- */
.gallery { display: grid; gap: 12px; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform .25s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 14, 18, .95);
  color: #fff;
}
.lightbox::backdrop { background: rgba(10, 14, 18, .95); }
.lightbox__in { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 16px 16px; }
.lightbox__in img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--r);
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
