/* ==========================================================================
   Bridge Department — arkusz stylów
   Kolory marki (z obecnej strony): granat #04202F / #091841, pomarańcz #EF9F1F,
   błękit #2FA3E1, szarości #7A7A7A / #939597 / #E7E7E7.
   Typografia marki: PT Sans + PT Sans Caption (hostowane lokalnie).
   ========================================================================== */

:root {
  --navy: #04202f;
  --navy-2: #091841;
  --orange: #ef9f1f;
  --orange-dark: #d88a0c;
  --sky: #2fa3e1;
  --gray: #686b6e;          /* przyciemniony szary marki — kontrast AA */
  --gray-2: #939597;
  --text: #5c5f62;
  --light: #e7e7e7;
  --soft: #f6f6f7;
  --white: #fff;
  --line: #e3e3e3;
  --wrap: 1140px;
  --header-h: 96px;
  --font: 'PT Sans', 'Trebuchet MS', Arial, sans-serif;
  --font-caption: 'PT Sans Caption', 'PT Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 18px/1.7 var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; }
h2 { font-size: clamp(30px, 3vw, 43px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
strong { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.center { text-align: center; }

/* Nagłówek sekcji w stylu marki: wersaliki, bez pogrubienia */
.title {
  font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; text-transform: uppercase;
  letter-spacing: .02em; color: var(--navy); margin-bottom: 22px;
}
.title::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 16px; background: var(--orange); }
.center .title::before, .title.center::before { margin-inline: auto; }
.stripe-row { padding-block: 0; }
.section:has(+ .stripe-row) { padding-bottom: clamp(36px, 4vw, 52px); }
.stripe-row + .section { padding-top: clamp(36px, 4vw, 52px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--gray); }

/* Ukośna, pomarańczowa linia — element z obecnej strony */
.stripe {
  height: 12px; border: 0; margin: 0;
  background: repeating-linear-gradient(-55deg, var(--orange) 0 2px, transparent 2px 7px);
  opacity: .55;
}
.stripe--short { width: 120px; margin: 0 0 24px; }
.center .stripe--short { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Przyciski
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 30px;
  font: 700 15px/1 var(--font-caption); letter-spacing: .5px; text-transform: uppercase;
  text-decoration: none; color: #fff; background: var(--orange);
  border: 2px solid var(--orange); border-radius: 2px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn--outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.btn--outline:hover { background: var(--navy-2); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.more { font: 700 14px/1 var(--font-caption); text-transform: uppercase; letter-spacing: .5px; color: var(--orange-dark); text-decoration: none; }
.more:hover { color: var(--navy-2); }

/* --------------------------------------------------------------------------
   Górny pasek i nagłówek
   -------------------------------------------------------------------------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 15px; color: var(--navy-2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar a:hover { color: var(--orange-dark); }
.topbar svg { width: 15px; height: 15px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.yt { display: inline-grid !important; place-items: center; width: 26px; height: 26px; background: #c4302b; color: #fff !important; border-radius: 3px; }
.yt svg { width: 15px; height: 15px; }
.lang { display: flex; gap: 4px; font-family: var(--font-caption); font-size: 13px; font-weight: 700; }
.lang a, .lang span { padding: 3px 7px; border: 1px solid transparent; }
.lang span[aria-current] { border-color: var(--navy-2); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(4, 32, 47, .12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .25s; }
.brand img { width: 250px; transition: width .25s; }
@media (min-width: 1101px) {
  .site-header.is-scrolled .wrap { height: 74px; }
  .site-header.is-scrolled .brand img { width: 210px; }
}

.nav ul { list-style: none; display: flex; gap: clamp(14px, 2.1vw, 34px); }
.nav a {
  display: block; padding: 8px 0; position: relative;
  font-size: 18px; text-transform: uppercase; text-decoration: none; color: var(--navy-2);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover { color: var(--orange-dark); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__extra { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; color: var(--navy-2); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: currentColor; transition: transform .25s, background .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .brand img { width: 190px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 20px 32px;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 16px 0; font-size: 20px; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange-dark); }
  .nav__extra { display: grid; gap: 6px; margin-top: 24px; }
  .nav__extra a { text-decoration: none; font-size: 18px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) { .topbar__left .hide-sm { display: none; } }

/* --------------------------------------------------------------------------
   Slider (hero) — hasła jak na obecnej stronie
   -------------------------------------------------------------------------- */
.hero { position: relative; height: clamp(420px, 62vh, 620px); overflow: hidden; background: var(--navy); }
/* Zdjęcie tła jako <img> (srcset: telefon pobiera mniejszą wersję) */
.bg-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; isolation: isolate; opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 32, 47, .55) 0%, rgba(4, 32, 47, .1) 60%, rgba(4, 32, 47, 0) 100%); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .wrap { position: relative; }
.slide__title {
  margin: 0 0 30px; color: #fff; text-transform: uppercase; line-height: 1;
  font-size: clamp(44px, 7vw, 92px); font-weight: 700; letter-spacing: .01em;
}
.slide__title span { display: block; }
.slide__title .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
@supports not (-webkit-text-stroke: 1px #fff) { .slide__title .outline { color: #fff; } }
.slide.is-active .slide__title span { animation: rise .9s both; }
.slide.is-active .slide__title span + span { animation-delay: .15s; }
.slide.is-active .btn { animation: rise .9s .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__nav { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; }
.hero__nav .wrap { display: flex; align-items: center; gap: 10px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: rgba(255, 255, 255, .5); transition: background .3s; }
.hero__dots button[aria-pressed="true"]::before { background: var(--orange); }
.hero__arrows { margin-left: auto; display: flex; gap: 8px; }
.hero__arrows button {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px;
  transition: background .2s;
}
.hero__arrows button:hover { background: var(--orange); border-color: var(--orange); }
.hero__arrows svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .hero__prev, .hero__next { display: none; } .slide__title .outline { -webkit-text-stroke-width: 1.5px; } }

/* --------------------------------------------------------------------------
   Nagłówek podstrony — gradient pomarańcz → błękit (jak na obecnej stronie)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 6vw, 76px); text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .72;
  background: linear-gradient(0deg, var(--sky) 0%, var(--orange) 100%);
}
.page-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 50px); font-weight: 400; color: var(--navy); }
.breadcrumb { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 15px; color: var(--navy); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--navy); }

/* --------------------------------------------------------------------------
   Układy treści
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--tall { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .photo--tall { aspect-ratio: 4 / 3; } }

.intro { max-width: 900px; }
.intro p { color: var(--gray); }

.list { list-style: none; display: grid; gap: 6px; margin: 4px 0 18px; }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--orange); }

/* Pas zdjęcia (paralaksa) */
.band { position: relative; isolation: isolate; overflow: hidden; height: clamp(240px, 36vw, 460px); background-color: var(--navy); }

/* Zakres działalności — ikony jak na obecnej stronie */
.scope { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 48px; text-align: center; }
.scope__icon { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--orange); }
.scope h3 { font-size: 19px; text-transform: uppercase; font-weight: 400; letter-spacing: .02em; margin-bottom: 10px; }
.scope p { font-size: 16px; color: var(--gray); margin-bottom: 14px; }
@media (max-width: 960px) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .scope { grid-template-columns: 1fr; } }

/* Usługi — bloki tekst / zdjęcie */
.service + .service { margin-top: clamp(56px, 7vw, 88px); }
.service__icon { width: 52px; height: 52px; color: var(--orange); margin-bottom: 14px; }

/* Cytat / zasada */
.motto { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; color: var(--navy); max-width: 30ch; margin: 0 auto; }
.motto em { font-style: normal; color: var(--orange-dark); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; text-align: center; }
.trio h3 { text-transform: uppercase; font-weight: 400; font-size: 20px; letter-spacing: .03em; }
.trio p { color: var(--gray); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 20px; } }

/* Realizacje */
.projects { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.project { background: #fff; border: 1px solid var(--line); }
.project__img {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(0deg, rgba(47, 163, 225, .28), rgba(239, 159, 31, .28)), var(--soft);
  display: grid; place-items: center;
}
.project__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__img svg { width: 72%; color: var(--navy); opacity: .35; }
.project__body { padding: 22px 26px 26px; }
.project__meta { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray); margin-bottom: 8px; }
.project h3 { font-size: 21px; margin-bottom: 4px; }
.project p { font-size: 16px; color: var(--gray); }
.project__soon { font-size: 15px; font-style: italic; color: var(--gray-2); margin-top: 10px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }

/* Oznaczenia dróg wg polskich znaków (A, S, DK — czerwone; DW — żółte) */
.road {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 62px; height: 26px; padding: 0 4px;
  font: 700 14px/1 var(--font-caption); color: #fff; background: #c8102e;
  border: 2px solid #fff; outline: 1px solid #c8102e; border-radius: 3px;
}
.road--dw { color: #111; background: #f6c400; outline-color: #c9a000; }

.project-rows { list-style: none; border-top: 1px solid var(--line); }
.project-rows li { border-bottom: 1px solid var(--line); }
.project-rows a { display: flex; align-items: center; gap: 18px; padding: 16px 0; text-decoration: none; transition: padding .2s; }
.project-rows a:hover { padding-left: 8px; }
.project-rows strong { display: block; font-size: 18px; }
.project-rows span.loc { font-size: 15px; color: var(--gray); }

/* Sprzęt */
.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.equip__item { border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 28px 26px; background: #fff; }
.equip__icon { width: 46px; height: 46px; color: var(--orange); margin-bottom: 14px; }
.equip__item h3 { font-size: 19px; text-transform: uppercase; font-weight: 400; letter-spacing: .02em; }
.equip__item .list { font-size: 16px; margin: 0; }
@media (max-width: 960px) { .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .equip { grid-template-columns: 1fr; } }

/* Kariera */
.values { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.values li { padding: 8px 18px; border: 1px solid var(--light); background: #fff; font-size: 16px; color: var(--navy); }

/* --------------------------------------------------------------------------
   Formularze i kontakt
   -------------------------------------------------------------------------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; color: var(--navy); }
.req { color: var(--orange-dark); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--font); color: var(--navy);
  background: #fff; border: 1px solid #cfcfcf; border-radius: 2px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 159, 31, .25); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--gray); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 12px 16px; display: none; font-size: 16px; }
.form__status.is-ok { display: block; background: #e8f5ec; color: #1d5b2c; }
.form__status.is-error { display: block; background: #fdecea; color: #8a1f12; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.form-box { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); }

.contact-list { list-style: none; display: grid; gap: 16px; margin: 24px 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; }
.contact-list .ico svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: 14px; color: var(--gray); line-height: 1.3; }
.contact-list a { font-size: 19px; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--orange-dark); }
.company { font-size: 16px; color: var(--gray); }

/* --------------------------------------------------------------------------
   CTA i stopka
   -------------------------------------------------------------------------- */
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; max-width: 22ch; }
.cta p { color: var(--gray); }

.site-footer { background: var(--light); color: var(--text); font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; padding-block: 60px 44px; }
.footer__logo { width: 230px; margin-bottom: 18px; }
.site-footer h2 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--orange-dark); }
.footer__bottom { background: #dcdcdc; padding-block: 14px; font-size: 14px; color: var(--gray); }
.footer__bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Delikatne pojawianie się treści */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .slide.is-active .slide__title span, .slide.is-active .btn { transition: none; animation: none; }
}

.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.btn svg { width: 18px; height: 18px; }

/* Filmy YouTube — miniatura, odtwarzacz ładowany dopiero po kliknięciu */
.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video img { object-fit: cover; transition: transform .4s ease; }
.video:hover img { transform: scale(1.04); }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(4, 32, 47, .18); transition: background .25s; }
.video:hover::after { background: rgba(4, 32, 47, .05); }
.video__play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .25s;
}
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .video__play { transform: scale(1.08); }
.video.is-playing::after, .video.is-playing .video__play { display: none; }
.videos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.videos h3 { font-size: 19px; margin: 16px 0 4px; }
.videos p { font-size: 15px; color: var(--gray); }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.project__img--video { display: block; }

/* Realizacje z filmami */
.films { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: 36px; }
.film { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.film.split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.film__title { font-size: clamp(22px, 2.2vw, 28px); margin: 6px 0 8px; }
.film p { color: var(--gray); }
@media (max-width: 860px) { .film, .film.split--reverse { grid-template-columns: 1fr; } }

/* Pauza slidera */
.hero__pause .ico-play, .hero__pause[aria-pressed="true"] .ico-pause { display: none; }
.hero__pause[aria-pressed="true"] .ico-play { display: block; }

/* Przycisk „Zadzwoń” na telefonie */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff;
  box-shadow: 0 8px 24px rgba(4, 32, 47, .3);
}
.call-fab svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .call-fab { display: grid; } .site-footer { padding-bottom: 72px; } }
.nav-open .call-fab { display: none; }

/* Pozostałe realizacje — lista */
.project-rows--static li { display: flex; align-items: center; gap: 18px; padding: 16px 0; }

/* Schemat nasuwania */
.steps { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; font-size: 16px; color: var(--gray); border-top: 3px solid var(--orange); padding-top: 14px; }
.steps strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.steps strong::before { content: counter(step) ". "; color: var(--orange-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.launch { margin: 28px 0 0; background: #fff; border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); }
.launch svg { width: 100%; height: auto; display: block; }
.launch figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }
.launch__label { font: 400 18px var(--font); fill: var(--navy); }
@media (max-width: 700px) { .launch__label { font-size: 26px; } }
.launch__deck { animation: launch 14s ease-in-out infinite; }
.launch__jack { animation: jack 14s ease-in-out infinite; transform-box: fill-box; transform-origin: right center; }
@keyframes launch {
  0%, 12% { transform: translateX(0); }
  25%, 37% { transform: translateX(130px); }
  50%, 62% { transform: translateX(260px); }
  75%, 90% { transform: translateX(390px); opacity: 1; }
  94% { transform: translateX(390px); opacity: 0; }
  95% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes jack {
  0%, 12%, 25%, 37%, 50%, 62%, 75%, 100% { transform: scaleX(1); }
  18%, 43%, 68% { transform: scaleX(1.6); }
}
@media (prefers-reduced-motion: reduce) { .launch__deck, .launch__jack { animation: none; } }

/* Galeria z budów + podgląd zdjęć */
.gallery__title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin: 36px 0 16px; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 1; background: var(--light); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4, 32, 47, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 72px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px;
}
.lightbox button:hover { background: var(--orange); border-color: var(--orange); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; font-size: 15px; }
@media (max-width: 600px) { .lightbox__inner { padding: 64px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; margin: 0; } }

/* Paralaksa pasa ze zdjęciem: obraz przypięty do okna, przycinany do pasa (tylko komputery) */
@media (hover: hover) and (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .band { clip-path: inset(0); }
  .band .bg-img { position: fixed; inset: 0; width: 100vw; height: 100vh; }
}
