/* =========================================================
   LECH-BUD — style pierwszego ekranu
   Etap 1: topbar, header, hero, CTA, responsywność
   Kolejne sekcje dobudujemy w osobnych blokach.
========================================================== */

/* ---------- Zmienne / paleta (na bazie logo) ---------- */
:root {
  --navy-900: #0b1a3a;   /* najciemniejszy granat — header, tekst */
  --navy-800: #102550;   /* granat główny */
  --navy-700: #163166;   /* granat jaśniejszy — hover */
  --yellow:   #ffc400;   /* akcent (żółty z logo) */
  --yellow-d: #f0b000;   /* żółty — hover */
  --ink:      #17203a;   /* grafit / tekst */
  --muted:    #5a6478;   /* tekst drugorzędny */
  --bg:       #ffffff;
  --bg-soft:  #f4f5f7;   /* bardzo jasny szary */
  --line:     #e3e6ec;

  --container: 1240px;
  --header-h: 76px;

  --radius: 4px;         /* niewielki promień — solidny, nie „miękki” look */
  --shadow-sm: 0 2px 8px rgba(11, 26, 58, 0.08);
  --shadow-md: 0 12px 30px rgba(11, 26, 58, 0.16);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / baza ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1 { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Ikony inline */
.ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* =========================================================
   PASEK INFORMACYJNY (topbar)
========================================================== */
.topbar {
  background: var(--navy-900);
  color: #c9d2e4;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Kotwica początku strony — zawsze na pozycji 0, także na mobile
   (topbar bywa ukryty, więc #start jest osobnym, niewidocznym elementem). */
#start {
  display: block;
  height: 0;
  scroll-margin-top: 0; /* końcowa pozycja scrolla = dokładnie 0 (łącznie z topbarem/headerem) */
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__contact { display: flex; align-items: center; gap: 26px; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9d2e4;
  white-space: nowrap;
}

.topbar__item .ico { width: 15px; height: 15px; }
.topbar__area .ico,
.topbar a.topbar__item:hover { color: var(--yellow); }
.topbar a.topbar__item { transition: color 0.2s var(--ease); }

/* =========================================================
   HEADER / NAWIGACJA
========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(4px);
  transition: box-shadow 0.25s var(--ease);
}

/* Cień pojawia się po scrollu (dodawany w JS) */
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Logo
   Plik logo ma szeroki biały margines (grafika zajmuje ~21% wysokości pliku),
   dlatego kadrujemy go w CSS (overflow) — bez modyfikacji samej grafiki.
   Skala jest jednolita (ustawiamy tylko wysokość obrazu), więc proporcje
   pozostają oryginalne. Zmienne pozwalają łatwo dostroić rozmiar na mobile. */
.brand {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  height: var(--logo-box-h, 46px);
  width: var(--logo-box-w, 208px);
}
.brand__logo {
  display: block;
  height: var(--logo-img-h, 188px);   /* powiększony obraz — kadr pokaże tylko znak */
  width: auto;
  max-width: none;                     /* nadpisujemy globalne img{max-width:100%} */
  margin: var(--logo-offset, -60px 0 0 -49px); /* dosunięcie znaku do lewego-górnego rogu kadru */
}

/* Nawigacja desktop */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-800);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}

/* Podkreślenie akcentem żółtym */
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy-900); }

/* Akcje po prawej */
.header__actions { display: flex; align-items: center; gap: 14px; }

/* =========================================================
   PRZYCISKI
========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Przycisk telefonu w headerze */
.btn--call {
  background: var(--navy-800);
  color: #fff;
  padding: 12px 18px;
  font-size: 0.98rem;
}
.btn--call:hover { background: var(--navy-700); }
.btn--call .ico { color: var(--yellow); }

/* Główne CTA — żółte (najmocniejszy akcent) */
.btn--primary {
  background: var(--yellow);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.28);
}
.btn--primary:hover {
  background: var(--yellow-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 196, 0, 0.34);
}

/* CTA drugorzędne — jasny kontur na zdjęciu */
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy-900);
  border-color: #fff;
}
.btn--ghost .ico--arrow { transition: transform 0.2s var(--ease); }
.btn--ghost:hover .ico--arrow { transform: translateX(3px); }

.btn--block { width: 100%; }

/* =========================================================
   PRZEŁĄCZNIK MENU MOBILNEGO (hamburger)
========================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--navy-800);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
/* Animacja w „X” gdy otwarte */
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   MENU MOBILNE (panel)
========================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 26px 24px calc(26px + env(safe-area-inset-bottom));
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s var(--ease);
}
/* JS zdejmuje atrybut [hidden] przy starcie — widocznością steruje klasa .is-open */
.mobile-menu[hidden] { display: none; }

.mobile-menu__nav { margin-top: calc(var(--header-h) - 20px); }
.mobile-menu__nav ul { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: block;
  padding: 15px 6px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #eef2fa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.mobile-menu__nav a:hover { color: var(--yellow); padding-left: 12px; }

.mobile-menu__footer { margin-top: auto; padding-top: 22px; }
.mobile-menu__hours {
  margin: 14px 2px 0;
  font-size: 0.85rem;
  color: #9fabc6;
  text-align: center;
}

/* Przyciemnienie tła */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(6, 14, 30, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
.scrim[hidden] { display: none; }

/* =========================================================
   HERO
========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  min-height: calc(100svh - var(--header-h) - 38px);
  overflow: hidden;
  background: var(--navy-900);
}

/* Zdjęcie tła */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center; /* dom w prawej części kadru */
  z-index: -2;
}

/* Ciemny gradient — mocniejszy z lewej (pod tekstem), lżejszy z prawej (widać dom) */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 17, 38, 0.74) 0%, rgba(8, 17, 38, 0.54) 28%, rgba(8, 17, 38, 0.26) 56%, rgba(8, 17, 38, 0.05) 84%, rgba(8, 17, 38, 0) 100%),
    linear-gradient(0deg, rgba(8, 17, 38, 0.40) 0%, rgba(8, 17, 38, 0) 38%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding-block: 64px 0;
  width: 100%;
}

.hero__content { max-width: 660px; color: #fff; }

/* Nadtytuł */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dfe6f2;
}
.hero__eyebrow-mark {
  width: 34px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Nagłówek */
.hero__title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.hero__title-line { display: block; }        /* każda część nagłówka w osobnej linii */
.hero__title .hl { color: var(--yellow); }

/* Opis */
.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: #dbe1ee;
}

/* CTA */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Pasek wyróżników — „dane techniczne” firmy */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--yellow);
  background: rgba(9, 18, 40, 0.62);
  backdrop-filter: blur(3px);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 26px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.fact:first-child { border-left: none; }
.fact__value {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
}
.fact__label {
  font-size: 0.9rem;
  color: #b9c2d6;
}

/* =========================================================
   RESPONSYWNOŚĆ
========================================================== */

/* Na desktop/tablecie druga linia nagłówka trzyma się w całości.
   Na mobile (poniżej) pozwalamy jej się zawinąć naturalnie. */
@media (min-width: 721px) {
  .hero__title-line--keep { white-space: nowrap; }
}

/* ---- Tablet / mniejszy desktop (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .nav { display: none; }              /* pełną nawigację chowamy */
  .nav-toggle { display: flex; }       /* pokazujemy hamburger */
  .btn--call__label { display: none; } /* przycisk telefonu skrócony do numeru */

  .hero__facts { background: rgba(9, 18, 40, 0.72); }
  .fact { padding: 18px 22px; }
  .fact__value { font-size: 1.35rem; }
}

/* ---- Duży telefon / mały tablet (≤ 720px) ---- */
@media (max-width: 720px) {
  .topbar { display: none; }           /* topbar tylko na większych ekranach */

  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__inner { padding-block: 40px 0; gap: 30px; }

  /* Wyróżniki w 2 kolumnach */
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .fact:nth-child(odd) { border-left: none; }
  .fact:nth-child(3),
  .fact:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

/* ---- Telefon (≤ 520px) ---- */
@media (max-width: 520px) {
  .container { padding-inline: 18px; }

  /* Nieco mniejszy kadr logo na telefonie (te same proporcje) */
  .brand {
    --logo-box-h: 40px;
    --logo-box-w: 176px;
    --logo-img-h: 160px;
    --logo-offset: -52px 0 0 -42px;
  }
  /* Na telefonie przycisk telefonu zwijamy do samej ikony (okrągły),
     pełny numer pozostaje w menu mobilnym. Dzięki temu logo może być
     wyraźne, a rząd headera mieści się bez poziomego scrolla. */
  .btn--call {
    padding: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
  }
  .btn--call__num { display: none; }
  .btn--call .ico { width: 20px; height: 20px; }

  .hero__bg { object-position: 64% center; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 17, 38, 0.80) 0%, rgba(8, 17, 38, 0.62) 55%, rgba(8, 17, 38, 0.38) 100%),
      linear-gradient(0deg, rgba(8, 17, 38, 0.52) 0%, rgba(8, 17, 38, 0) 46%);
  }

  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; }   /* przyciski na pełną szerokość — wygodny tap */

  .fact { padding: 15px 16px; }
  .fact__value { font-size: 1.25rem; }
  .fact__label { font-size: 0.82rem; }
}

/* ---- Bardzo małe ekrany (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero__title { font-size: 2.1rem; }

  /* Ciaśniejszy header: minimalnie mniejsze logo + mniejszy odstęp,
     aby rząd mieścił się bez poziomego scrolla na najwęższych telefonach. */
  .header__inner { gap: 12px; }
  .brand {
    --logo-box-w: 152px;
    --logo-img-h: 140px;
    --logo-offset: -43px 0 0 -36px;
  }
}

/* =========================================================
   SEKCJA: USŁUGI (#uslugi)
   Jasne tło, kafle fotograficzne. Delikatne obramowanie,
   żółte numery, subtelny hover (zoom zdjęcia + akcent).
========================================================== */
.services {
  background: var(--bg-soft);
  border-top: 1px solid #e7eaf0;
  padding-block: clamp(56px, 6.5vw, 92px);
  scroll-margin-top: calc(var(--header-h) + 12px); /* zapas pod sticky header przy skoku do #uslugi */
}

/* Nagłówek sekcji — tytuł po lewej, wprowadzenie po prawej */
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-bottom: clamp(20px, 2.4vw, 32px); /* ciaśniej: mniej „portfolio spacing” */
}
.services__head-main { max-width: 640px; }

/* Eyebrow — jak w hero, ale w wersji na jasnym tle */
.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.services__eyebrow-mark {
  width: 34px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

.services__title {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.services__intro {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ---------- Siatka ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop 3×2 */
  gap: 22px;
}

/* ---------- Karta usługi ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(16, 37, 80, 0.20); /* mocniejsza granatowa linia — bardziej techniczny charakter */
  border-radius: 4px;                    /* maks. delikatne zaokrąglenie */
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.service-card:hover {
  border-color: rgba(16, 37, 80, 0.45);
  box-shadow: 0 6px 16px rgba(11, 26, 58, 0.08); /* hover pozostaje subtelny, bez masywnego cienia */
  transform: translateY(-2px);
}

/* Zdjęcie */
.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900); /* tło zanim zdjęcie się doczyta */
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* poprawne kadrowanie bez deformacji */
  object-position: center;
  transition: transform 0.5s var(--ease);
}
.service-card__img--equipment { object-position: 50% 20%; } /* koparko-ładowarka: maszyna u góry, łyżka nieucięta, bez betonu na dole */
.service-card__img--bathroom { object-position: 42% 42%; }  /* łazienka: kadr na prysznic i marmur */
.service-card:hover .service-card__img { transform: scale(1.04); } /* delikatny zoom */

/* Żółty numer na zdjęciu */
.service-card__num {
  position: absolute;
  top: 10px;
  left: 13px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

/* Podpis pod zdjęciem */
.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}
/* Krótki żółty akcent nad tytułem (rośnie przy hover) */
.service-card__body::before {
  content: "";
  width: 44px;
  height: 4px;                 /* wyraźniejszy żółty akcent pod zdjęciem */
  margin-bottom: 4px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.service-card:hover .service-card__body::before { width: 66px; }

.service-card__title {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--navy-900);
}
.service-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
/* Dyskretna lista prac dla karty koparki/ładowarki */
.service-card__tags {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-700);
}

/* ---------- Dyskretny link na dole sekcji ---------- */
.services__more-wrap {
  display: flex;
  justify-content: flex-start;              /* bliżej siatki, naturalny link tekstowy */
  margin-top: clamp(16px, 1.8vw, 24px);
}
.services__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-800);
  transition: color 0.2s var(--ease);
}
.services__more .ico--arrow {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  transition: transform 0.2s var(--ease);
}
.services__more:hover { color: var(--navy-900); }
.services__more:hover .ico--arrow { transform: translateX(4px); }
/* Podkreślenie tekstu linku (pseudo-element rośnie przy hover) */
.services__more { position: relative; }
.services__more::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 26px;
  bottom: 3px;
  height: 2px;
  background: var(--navy-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.services__more:hover::before { transform: scaleX(1); }

/* ---------- Responsywność sekcji usług ---------- */
/* Tablet: 2 kolumny × 3 rzędy */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 1 kolumna */
@media (max-width: 640px) {
  .services__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .services__intro { max-width: none; }
  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card__media { aspect-ratio: 16 / 10; } /* nieco niższe kafle na telefonie */
  .service-card__title { font-size: 1.28rem; }
  .service-card__desc { font-size: 1rem; }
}

/* =========================================================
   SEKCJA: DLACZEGO LECH-BUD (#dlaczego-my)
   Białe tło, 2 kolumny (zdjęcie | treść), argumenty 2×2.
   Dużo granatu, żółty tylko jako akcent, techniczny charakter.
========================================================== */
.why {
  background: #fff;
  padding-block: clamp(52px, 6vw, 86px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.why__grid {
  display: grid;
  grid-template-columns: 48% 1fr;   /* ~45/55 — zdjęcie | treść */
  gap: clamp(28px, 3.4vw, 56px);
  align-items: stretch;
}

/* Zdjęcie — wypełnia wysokość kolumny z treścią (cover, bez deformacji) */
.why__media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-900);
}
.why__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%; /* kadr na bryłę domu i taras, mniej piachu na dole */
}
/* Subtelny żółty akcent przy zdjęciu (bez agencyjnej ramki) */
.why__media::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 6px;
  background: var(--yellow);
}

/* ---------- Treść ---------- */
.why__content { align-self: center; }

.why__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.why__eyebrow-mark {
  width: 34px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

.why__title {
  margin: 0 0 16px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.why__lead,
.why__text {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.62;
}
.why__text { color: var(--muted); }

/* ---------- Argumenty zaufania (2×2, cienkie separatory) ---------- */
.why__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(20px, 2.4vw, 40px);
  margin-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid rgba(16, 37, 80, 0.16);
}
.why__fact {
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(16, 37, 80, 0.12);
}
/* Małe żółte oznaczenie nad każdym argumentem */
.why__fact::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 11px;
  background: var(--yellow);
  border-radius: 2px;
}
.why__fact-num {
  display: block;
  margin-bottom: 3px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--navy-700);
}
.why__fact-title {
  margin: 0 0 4px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1.15;
  color: var(--navy-900);
}
.why__fact-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ---------- Niewielkie CTA ---------- */
.why__cta-wrap { margin-top: clamp(22px, 2.6vw, 30px); }
.why__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--navy-800);
  color: #fff;
  border: 2px solid var(--navy-800);
  border-radius: 4px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.why__cta .ico--arrow { width: 18px; height: 18px; color: var(--yellow); transition: transform 0.2s var(--ease); }
.why__cta:hover { background: var(--navy-700); border-color: var(--navy-700); }
.why__cta:hover .ico--arrow { transform: translateX(4px); }

/* ---------- Responsywność sekcji „Dlaczego” ---------- */
/* Tablet węższy / stack: zdjęcie na górze, treść pod spodem */
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; gap: 26px; }
  .why__media { min-height: 0; aspect-ratio: 16 / 10; }
  .why__content { align-self: auto; }
}

/* Mobile: argumenty w jednej kolumnie dla wygodnej czytelności */
@media (max-width: 520px) {
  .why__facts { grid-template-columns: 1fr; }
  .why__fact { padding: 14px 0 12px; }
  .why__fact:last-child { border-bottom: none; }
  .why__cta { width: 100%; justify-content: center; }
}

/* =========================================================
   SEKCJA: REALIZACJE (#realizacje) — galeria + lightbox
========================================================== */
.gallery {
  background: var(--bg-soft);
  border-top: 1px solid #e7eaf0;
  padding-block: clamp(56px, 6.5vw, 92px);
  scroll-margin-top: calc(var(--header-h) + 12px); /* zapas pod sticky header przy skoku do #realizacje */
}

.gallery__head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 640px; }
.gallery__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.gallery__eyebrow-mark { width: 34px; height: 4px; background: var(--yellow); border-radius: 2px; }
.gallery__title {
  margin: 0 0 10px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.gallery__intro { margin: 0; color: var(--muted); font-size: 1.04rem; }

/* ---------- Editorial grid ---------- */
.gallery__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "big big big big s1 s1"
    "big big big big s2 s2"
    "b1  b1  b2  b2  b3 b3";
}
.g-item--big { grid-area: big; }
.g-item--s1 { grid-area: s1; }
.g-item--s2 { grid-area: s2; }
.g-item--b1 { grid-area: b1; }
.g-item--b2 { grid-area: b2; }
.g-item--b3 { grid-area: b3; }
/* wysokości kafli (rezerwacja miejsca → brak CLS); „big” rozciąga się na 2 rzędy */
.g-item--s1, .g-item--s2 { aspect-ratio: 3 / 2; }
.g-item--b1, .g-item--b2, .g-item--b3 { aspect-ratio: 4 / 3; }

/* ---------- Kafel ---------- */
.g-item {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(16, 37, 80, 0.14);
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-900);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.g-item:hover { border-color: rgba(16, 37, 80, 0.40); box-shadow: 0 6px 16px rgba(11, 26, 58, 0.10); }
.g-item:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.g-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.g-item:hover .g-img { transform: scale(1.04); } /* subtelny zoom */

/* Podpis kategorii — mały, granatowy, z żółtym akcentem (bez pigułki) */
.g-cat {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 11px;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(9, 18, 40, 0.74);
  border-left: 3px solid var(--yellow);
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

/* ---------- Dyskretny link ---------- */
.gallery__more-wrap { display: flex; justify-content: center; margin-top: clamp(22px, 2.6vw, 34px); }
.gallery__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-800);
  transition: color 0.2s var(--ease);
}
.gallery__more .ico--arrow { width: 18px; height: 18px; color: var(--yellow); transition: transform 0.2s var(--ease); }
.gallery__more:hover { color: var(--navy-900); }
.gallery__more:hover .ico--arrow { transform: translateX(4px); }
.gallery__more::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 26px;
  bottom: 3px;
  height: 2px;
  background: var(--navy-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.gallery__more:hover::before { transform: scaleX(1); }

/* ---------- Responsywność galerii ---------- */
/* Tablet: 2 kolumny */
@media (max-width: 980px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "big big"
      "s1 s2"
      "b1 b2"
      "b3 b3";
  }
  .g-item--big { aspect-ratio: 16 / 9; }
  .g-item--s1, .g-item--s2, .g-item--b1, .g-item--b2 { aspect-ratio: 4 / 3; }
  .g-item--b3 { aspect-ratio: 16 / 9; }
}

/* Mobile: 1 kolumna, szerokie kafle */
@media (max-width: 620px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "big" "s1" "s2" "b1" "b2" "b3";
    gap: 12px;
  }
  .g-item--big { aspect-ratio: 16 / 10; }
  .g-item--s1, .g-item--s2, .g-item--b1, .g-item--b2, .g-item--b3 { aspect-ratio: 3 / 2; }
}

/* =========================================================
   LIGHTBOX
========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 12, 26, 0.9);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__stage {
  margin: 0;
  max-width: 92vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.lightbox__cap {
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  color: #dbe1ee;
  text-align: center;
}

/* Przyciski lightboxa */
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__close svg,
.lightbox__nav svg { width: 24px; height: 24px; fill: currentColor; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.20); border-color: rgba(255, 255, 255, 0.5); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.lightbox__close { top: 18px; right: 18px; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

@media (max-width: 620px) {
  .lightbox { padding: 14px; }
  .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .lightbox__img { max-height: 70vh; }
}

/* =========================================================
   SEKCJA: O FIRMIE (#o-firmie)
   Białe tło, treść po lewej, kompozycja 2 zdjęć (proces) po prawej.
========================================================== */
.about {
  background: #fff;
  padding-block: clamp(56px, 6.2vw, 88px);
  scroll-margin-top: calc(var(--header-h) + 12px); /* zapas pod sticky header przy skoku do #o-firmie */
}

.about__grid {
  display: grid;
  grid-template-columns: 43% 1fr;   /* treść | kompozycja zdjęć */
  gap: clamp(28px, 3.6vw, 58px);
  align-items: start;
}

/* ---------- Treść ---------- */
.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.about__eyebrow-mark { width: 34px; height: 4px; background: var(--yellow); border-radius: 2px; }

.about__title {
  margin: 0 0 18px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.about__text {
  margin: 0 0 14px;
  max-width: 52ch;              /* rozsądna szerokość linii */
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.64;
}
.about__text--last { color: var(--muted); }

/* Zakres prac — jedna linia, cienkie separatory, mały żółty akcent */
.about__scope {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 37, 80, 0.14);
  color: var(--navy-700);
  font-size: 0.96rem;
  line-height: 1.5;
}
.about__scope-mark {
  align-self: center;
  width: 22px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
.about__scope-label { font-weight: 700; color: var(--navy-900); }

/* Dyskretny link tekstowy */
.about__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-800);
  transition: color 0.2s var(--ease);
}
.about__link .ico--arrow { width: 18px; height: 18px; color: var(--yellow); transition: transform 0.2s var(--ease); }
.about__link:hover { color: var(--navy-900); }
.about__link:hover .ico--arrow { transform: translateX(4px); }
.about__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  bottom: -2px;
  height: 2px;
  background: var(--navy-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.about__link:hover::before { transform: scaleX(1); }

/* ---------- Kompozycja 2 zdjęć ---------- */
.about__media {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.about__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 37, 80, 0.14);
  border-radius: 4px;
  background: var(--navy-900);
}
.about__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* bez deformacji */
}
.about__fig--main { grid-column: 1 / 13; aspect-ratio: 16 / 9; }   /* większe, pełna szerokość */
.about__fig--sub  { grid-column: 1 / 9;  aspect-ratio: 16 / 9; }   /* mniejsze, węższe, wyrównane do lewej */

/* ---------- Responsywność sekcji „O firmie” ---------- */
/* Jedna kolumna zanim tekst zrobi się za wąski; na mobile zdjęcia jedno pod drugim */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__fig--sub { grid-column: 1 / 13; }  /* pełna szerokość, bez mikro-kolumn */
}

/* =========================================================
   SEKCJA: KONTAKT (#kontakt)
   Ciemny granat, dane po lewej (telefon = główne CTA),
   formularz na jasnym panelu po prawej, mapa pod spodem.
========================================================== */
.contact {
  background: var(--navy-900);
  color: #eaeefb;
  padding-block: clamp(56px, 6.5vw, 92px);
  scroll-margin-top: calc(var(--header-h) + 12px); /* zapas pod sticky header przy skoku do #kontakt */
}

.contact__grid {
  display: grid;
  grid-template-columns: 44% 1fr;   /* dane | formularz */
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

/* ---------- Lewa: dane ---------- */
.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cdd6ea;
}
.contact__eyebrow-mark { width: 34px; height: 4px; background: var(--yellow); border-radius: 2px; }

.contact__title {
  margin: 0 0 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}
.contact__intro {
  margin: 0 0 26px;
  max-width: 46ch;
  color: #b9c2da;
  font-size: 1.03rem;
  line-height: 1.6;
}

/* Telefon — najmocniejszy element */
.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact__phone:hover { background: rgba(255, 255, 255, 0.08); }
.contact__phone-ico {
  display: inline-flex;
  flex: 0 0 auto;
}
.contact__phone-ico svg { width: 30px; height: 30px; fill: var(--yellow); }
.contact__phone-text { display: flex; flex-direction: column; line-height: 1.1; }
.contact__phone-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c2da;
  margin-bottom: 3px;
}
.contact__phone-num {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: #fff;
  letter-spacing: 0.01em;
}
.contact__phone:hover .contact__phone-num { color: var(--yellow); }

/* Pozostałe dane — 2×2, proste ikony liniowe */
.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.contact__item { display: flex; gap: 13px; }
.contact__item-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: var(--yellow);
  margin-top: 2px;
}
.contact__item-body { display: flex; flex-direction: column; }
.contact__item-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fabc9;
  margin-bottom: 4px;
}
.contact__item-value { color: #eef2fb; font-size: 1rem; line-height: 1.45; }
a.contact__item-value { transition: color 0.2s var(--ease); word-break: break-word; }
a.contact__item-value:hover { color: var(--yellow); }

/* ---------- Prawa: formularz (jasny panel) ---------- */
.contact__form-wrap {
  background: #fff;
  border-radius: 4px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
}
.field .req { color: var(--yellow-d); }
.field .opt { color: var(--muted); font-weight: 400; }

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd5e0;
  border-radius: 3px;
  padding: 11px 13px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.contact__form textarea { resize: vertical; min-height: 96px; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.30); /* żółty focus-ring + granatowy border */
}
/* Czerwony border pokazujemy dopiero po próbie wysłania (klasa dodawana w JS) */
.contact__form.was-validated input:invalid,
.contact__form.was-validated select:invalid,
.contact__form.was-validated textarea:invalid { border-color: #d98b8b; }

.contact__submit {
  margin-top: 18px;
  width: 100%;
  padding: 14px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  background: var(--navy-800);
  border: 2px solid var(--navy-800);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.contact__submit:hover { background: var(--navy-700); border-color: var(--navy-700); }
.contact__submit:active { transform: translateY(1px); }
.contact__submit:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.contact__privacy {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.contact__status {
  margin: 12px 0 0;
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--navy-900);
  background: #fff7db;
  border-left: 3px solid var(--yellow);
  border-radius: 3px;
}
.contact__status[hidden] { display: none; }

/* ---------- Mapa ---------- */
.contact__map {
  margin-top: clamp(28px, 3.4vw, 44px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 380px);
  border: 0;
  filter: grayscale(0.15);
}

/* ---------- Responsywność sekcji Kontakt ---------- */
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 30px; } /* dane najpierw, formularz pod spodem */
}
@media (max-width: 560px) {
  .contact__details { grid-template-columns: 1fr; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }  /* pola pełnej szerokości */
  .contact__phone { width: 100%; }
}

/* =========================================================
   FOOTER
   Ciemniejszy granat niż Kontakt + separator u góry.
========================================================== */
.footer {
  background: #071022;                       /* ciemniejszy odcień niż sekcja Kontakt */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aab4cc;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr; /* marka najszersza, bez „równych kart” */
  gap: clamp(28px, 3.4vw, 56px);
  padding-block: clamp(40px, 5vw, 64px);
}

/* MARKA */
.footer__col--brand { max-width: 360px; }
/* Logo na biało (plik bez zmian) + to samo bezpieczne kadrowanie co w headerze */
.footer__logo {
  display: block;
  overflow: hidden;
  height: 46px;
  width: 208px;
  margin-bottom: 16px;
}
.footer__logo img {
  display: block;
  height: 188px;
  width: auto;
  max-width: none;
  margin: -60px 0 0 -49px;
  filter: brightness(0) invert(1); /* granatowo-żółte logo → czysta biel na ciemnym tle */
}
.footer__brand-text {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #aab4cc;
}
.footer__brand-area {
  margin: 0;
  font-size: 0.9rem;
  color: #8894b2;
}

/* NAGŁÓWKI KOLUMN */
.footer__heading {
  margin: 0 0 16px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}
.footer__heading::after {   /* krótki żółty akcent pod nagłówkiem */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* LISTY / LINKI */
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a {
  color: #aab4cc;
  font-size: 0.96rem;
  transition: color 0.18s var(--ease);
}
.footer__list a:hover { color: #fff; }
.footer__list a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Kontakt — długi e-mail nie może wychodzić poza ekran */
.footer__contact li { color: #aab4cc; font-size: 0.96rem; line-height: 1.45; }
.footer__contact a { word-break: break-word; }
.footer__contact li:first-child a {
  font-weight: 700;
  color: #fff;
  font-size: 1.02rem;
}

/* DOLNY PASEK */
.footer__bottom-sep { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-block: 18px;
}
.footer__copy,
.footer__meta { margin: 0; font-size: 0.86rem; color: #8894b2; }
.footer__meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer__dot { color: #4b587a; }
.footer__privacy { color: #8894b2; }      /* przygotowane, bez href (TODO) */
.footer__wertus {
  color: var(--yellow);
  font-weight: 600;
  transition: color 0.18s var(--ease);
}
.footer__wertus:hover { color: var(--yellow-d); }
.footer__wertus:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }

/* ---------- Responsywność footera ---------- */
/* Tablet: 2×2 */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .footer__col--brand { max-width: none; }
}
/* Mobile: 1 kolumna */
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { justify-content: flex-start; }
}

/* ---- Dostępność: ograniczenie animacji ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
