/* ==========================================================================
   LUMEDEKOR – arkusz stylów strony
   Odpowiednik dotychczasowej strony na WordPressie (Oxygen), bez wtyczek.
   Kolory i typografia: patrz sekcja ZMIENNE poniżej.
   Po każdej zmianie tego pliku podbij numer wersji (?v=...) w plikach HTML.
   ========================================================================== */

/* ---------- Czcionka Poppins (pliki lokalne, bez Google Fonts) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/poppins-200-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/poppins-200-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/poppins-900-latin.woff2') format('woff2'); 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; }

/* ---------- ZMIENNE ---------- */
:root {
  --c-text: #2b2c28;        /* podstawowy tekst */
  --c-heading: #2b2c27;     /* nagłówki */
  --c-text-alt: #3b3c38;    /* tekst w sekcjach */
  --c-teal: #002e4a;        /* akcent: granat z logo (do 03.12.2026 turkus #65bec2) (linki, aktywne menu, punktory) */
  --c-blue: #6799b2;        /* niebieski (hover menu, e-mail) */
  --c-navy: #566d8f;        /* granat (ikony, tytuły kart) */
  --c-menu: #adadad;        /* szare pozycje menu */
  --c-line: #dddddd;        /* linie w nagłówku */
  --c-bg-light: #eff4f7;    /* jasnoniebieskie tło sekcji */
  --c-bg-grey: #ededed;     /* szare tło sekcji "Zaufali Nam" */
  --c-bg-ref: #c9c9c9;      /* tło sekcji z listami referencyjnymi */
  --c-facebook: #3b5998;
  --container: 1250px;      /* maksymalna szerokość treści */
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: inherit; font-weight: 400; line-height: 1.1; }
h1 { font-size: 64px; }
h2 { font-size: 48px; }
h3, h4, h5, h6 { font-size: 36px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; }
a:hover { color: var(--c-blue); }
iframe { border: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2147483647; background: #fff; color: var(--c-navy); padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Sekcje i kolumny (odpowiednik Oxygen) ---------- */
.section { width: 100%; position: relative; background-size: cover; }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 75px 20px; position: relative; }
.stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cols { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.col { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }

/* Tło sekcji jako zdjęcie (<img class="section-bg">) + półprzezroczysta nakładka */
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.has-overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.has-overlay > .section-inner, .has-overlay > .hero-content { z-index: 2; }

/* ---------- Typografia (klasy z dawnego motywu) ---------- */
.h-primary { color: var(--c-heading); font-size: 64px; font-weight: 400; line-height: 1.1; margin-top: 0; }
.h-secondary { color: var(--c-heading); font-size: 56px; font-weight: 400; line-height: 1.1; }
.subheading { color: var(--c-heading); font-size: 24px; line-height: 1.6; font-weight: 200; max-width: 480px; }
.subheading b { font-weight: 400; }

/* ==========================================================================
   NAGŁÓWEK I MENU
   ========================================================================== */
.site-header { position: relative; z-index: 100; background: #fff; }
.header-row { border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.header-left { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
.logo-link { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; opacity: .8; transition: all .5s ease; }
.logo-link:hover { opacity: 1; }
.logo-link img { height: 30px; width: auto; }
.nav-block { display: flex; align-items: center; border-top: 1px solid var(--c-line); }
.main-nav { margin-right: 16px; }
.menu { display: flex; margin: 0; padding: 0; list-style: none; }
.menu li { display: flex; flex-direction: column; position: relative; }
.menu a {
  display: flex; align-items: center;
  padding: 24px 20px;
  color: var(--c-menu);
  font-size: 14px; font-weight: 300; line-height: 1.6;
  letter-spacing: 1px; text-transform: uppercase;
  border: 0 solid transparent;
}
.menu li.current a { color: var(--c-teal); padding-bottom: 22px; border-bottom-width: 2px; border-color: currentColor; }
.menu li:hover a, .menu li:focus-within a { background-color: var(--c-blue); color: #fff; padding-bottom: 24px; border-bottom-width: 0; }

/* Przycisk "hamburger" (widoczny na mniejszych ekranach) */
.menu-toggle { display: none; cursor: pointer; background: none; border: 0; padding: 0; margin: 0; font: inherit; }
.hamburger-wrap { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 19px; }
.hamburger span { display: block; height: 3px; border-radius: 2px; background-color: var(--c-blue); }
.menu-toggle:hover .hamburger span { background-color: var(--c-navy); }

@media (max-width: 1250px) {
  .menu { display: none; }
  .menu-toggle { display: block; }
  .main-nav { padding: 22px; }
}
/* Otwarte menu – pełny ekran */
.main-nav.is-open {
  position: fixed; inset: 0; width: 100%; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: auto; background: #fff; z-index: 2147483642;
}
.main-nav.is-open .menu { display: flex; flex-direction: column; width: 100%; max-height: 100%; overflow: auto; padding: 2em 0; }
.main-nav.is-open .menu a {
  justify-content: center; text-align: center; color: var(--c-blue);
  padding: 12px 20px; border: 0; background: transparent;
}
.main-nav.is-open .menu a:hover { color: var(--c-navy); }
.main-nav.is-open .menu-toggle { position: absolute; top: 20px; right: 20px; z-index: 1; }
.main-nav.is-open .hamburger { transform: rotate(45deg); }
.main-nav.is-open .hamburger span { display: none; }
.main-nav.is-open .hamburger span:first-child { display: block; position: relative; top: 8px; }
.main-nav.is-open .hamburger span:last-child { display: block; position: relative; top: -8px; transform: rotate(90deg); }
html.menu-open, html.menu-open body { overflow: hidden; height: 100%; }

@media (max-width: 767px) {
  .header-inner { flex-direction: column; }
  .header-left, .header-right { justify-content: center; margin-left: 0; }
  .header-left .logo-link { margin: 12px 0 24px; }
  .nav-block { flex-direction: column; }
  .main-nav { margin-right: 0; }
}

/* ==========================================================================
   STOPKA
   ========================================================================== */
.site-footer { background: #fff; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 40px 0 0; }
.footer-bar { display: flex; align-items: center; width: 100%; padding: 18px 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-copy-wrap { margin-left: auto; display: flex; align-items: center; justify-content: center; text-align: center; }
.footer-copy { color: #7c7c7c; font-size: 12px; line-height: 1.6; text-align: right; margin-left: 24px; transition: all .5s ease; }
.footer-copy:hover { color: var(--c-blue); }
@media (max-width: 767px) {
  .footer-inner { padding-top: 20px; }
  .footer-bar { flex-direction: column; justify-content: center; text-align: center; }
  .footer-bar .logo-link { margin-bottom: 18px; }
  .footer-copy-wrap { margin-left: -18px; }
}
@media (max-width: 479px) { .footer-copy-wrap { flex-direction: column; } }

/* ==========================================================================
   ELEMENTY WSPÓLNE: suwak, strzałki, przyciski
   ========================================================================== */
.slider { position: relative; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; transition: transform .75s ease; will-change: transform; }
.slider-track > * { flex: 0 0 100%; min-width: 100%; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 100;
  display: block; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0;
  border-radius: 32px; overflow: hidden;
  background: rgba(0, 0, 0, .2) url("../img/ikony/strzalka.png") no-repeat 50% 50% / 7px 11px;
  opacity: .6; cursor: pointer; transition: opacity .2s ease;
}
.slider-arrow:hover { opacity: 1; }
.slider-arrow.prev { left: 10px; transform: rotate(-180deg); }
.slider-arrow.next { right: 10px; }
.slider-dots { display: flex; justify-content: center; align-items: center; height: 26px; margin: 0; padding: 0; }
.slider-dots button {
  box-sizing: content-box; width: 6px; height: 6px; margin: 0 4px; padding: 0;
  border: 2px solid #fff; border-radius: 5px; background: transparent; cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, .2), inset 0 0 1px rgba(0, 0, 0, .2);
}
.slider-dots button.is-active { background: #fff; cursor: default; box-shadow: 0 0 4px rgba(0, 0, 0, .2); }

.btn-outline {
  display: block; margin: 0 20px; padding: 13px 34px;
  border: 2px solid currentColor; color: #fff;
  font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: .2em; text-align: center;
  transition: all .5s ease;
}
.btn-outline:hover { color: #fff; }
.btn-blue {
  display: block; padding: 10px 16px; border: 1px solid #1e73be; border-radius: 3px;
  background: #1e73be; color: #fff; text-align: center; font-size: 16px; line-height: 1.6;
}
.btn-blue:hover { color: #fff; }

/* ==========================================================================
   STRONA GŁÓWNA
   ========================================================================== */
/* --- Duży suwak --- */
.hero-slide { position: relative; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-slide .section-bg { object-position: 0 0; }
.hero-slide::before { background: rgba(12, 37, 63, .51); }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-title { color: #fff; margin: 0 20px 12px; }
.hero-sub { color: #fff; margin: 0 20px 49px; }
.hero-btn-wrap { display: flex; align-items: center; }

/* --- Witamy --- */
.welcome {
  background-image: linear-gradient(rgba(255, 255, 255, .26), rgba(255, 255, 255, .26)), url("../img/home/tynk-dekoracyjny.jpg");
  background-size: cover, cover; background-position: 0 0;
  text-align: center;
}
.welcome .section-inner { padding-top: 120px; padding-bottom: 120px; }
.welcome-media { width: 50%; align-items: center; justify-content: center; text-align: center; }
.welcome-media img { margin-bottom: 12px; }
.welcome-text { width: 50%; justify-content: center; text-align: left; }
.welcome-title { font-size: 28px; margin-bottom: 12px; }
.welcome-text p { margin: 0 0 24px; color: var(--c-text-alt); font-size: 18px; font-weight: 300; line-height: 1.6; }
.welcome-title-sm { font-size: 24px; margin-bottom: 12px; }
@media (max-width: 991px) {
  .welcome-cols { flex-direction: column-reverse; }
  .welcome-media, .welcome-text { width: 100%; }
  .welcome-text { align-items: center; text-align: center; }
  .welcome-text p { max-width: 480px; }
}
@media (max-width: 767px) { .welcome .section-inner { padding-top: 20px; padding-bottom: 40px; } }

/* --- Zaufali Nam (logotypy jak na slajdzie 4 portfolio) --- */
.clients-section { background: var(--c-bg-grey); text-align: center; }
.clients-section .section-inner { padding-top: 120px; padding-bottom: 120px; }
.clients-section .h-secondary { margin-bottom: 24px; }
.trust-logos { display: flex; flex-direction: column; align-items: center; gap: 44px; width: 100%; margin-top: 40px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 64px; }
.trust-more { margin: 56px 0 0; max-width: none; }
@media (max-width: 767px) {
  .trust-logos { gap: 28px; margin-top: 28px; }
  .trust-row { gap: 24px 32px; }
  .trust-row img { max-width: 140px; }
  .trust-more { margin-top: 36px; }
}

/* --- Kontakt (strona główna i podstrona Kontakt) --- */
.contact { background: var(--c-bg-light); }
.contact .section-inner { padding: 100px 0 120px; display: flex; flex-direction: column; }
.contact-info { width: 50%; padding-right: 20px; }
.contact-map { width: 50%; }
.contact .h-secondary { margin-bottom: 12px; }
.contact-address { margin: 0 0 24px; }
.contact-row { display: flex; align-items: flex-start; width: 100%; margin-bottom: 18px; }
.contact-icon { display: inline-flex; margin-right: 12px; color: var(--c-navy); border-radius: 50%; }
.contact-icon svg { width: 24px; height: 24px; fill: currentColor; }
.contact-value { font-size: 18px; font-weight: 400; line-height: 1.4; color: var(--c-text-alt); }
a.contact-value { color: var(--c-blue); }
a.contact-value:hover { color: var(--c-navy); }
.social { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -12px -12px 0; }
.social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 12px 12px 0; background-color: var(--c-facebook); color: #fff; line-height: 1; }
.social a:hover { background-color: #5b79b8; color: #fff; }
.social a.is-linkedin { background-color: #007bb6; }
.social a.is-linkedin:hover { background-color: #209bd6; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.map-wrap { width: 100%; }
.contact-map iframe { width: 100%; height: 420px; }
@media (max-width: 991px) {
  .contact-cols { flex-direction: column; }
  .contact-info, .contact-map { width: 100%; }
}
@media (max-width: 767px) { .contact .section-inner { padding-top: 30px; padding-bottom: 20px; } }

/* ==========================================================================
   PODSTRONY: nagłówki ze zdjęciem
   ========================================================================== */
.page-hero-onas { height: 70vh; background-color: var(--c-navy); text-align: left; }
.page-hero-onas .section-bg { object-position: 0 50%; }
.page-hero-onas .section-inner { padding-top: 105px; padding-bottom: 125px; }

.page-hero-oferta { text-align: center; }
.page-hero-oferta .section-bg { object-position: 0 50%; }
.page-hero-oferta .section-inner { padding-top: 120px; padding-bottom: 120px; }
.page-hero-oferta h1 { color: #fff; margin: 0 20px 30px; }
.page-hero-oferta .subheading { color: #fff; margin: 0 20px 18px; }
@media (max-width: 767px) { .page-hero-oferta .section-inner { padding-top: 60px; padding-bottom: 60px; } }

/* --- Treść artykułu (O nas, Oferta, realizacje) --- */
.article-section .section-inner { padding-top: 120px; padding-bottom: 120px; }
.article { width: 100%; max-width: 720px; font-size: 18px; font-weight: 400; line-height: 1.4; color: var(--c-text); text-align: left; }
.article h1 { font-size: 64px; margin: 18px 0 12px; }
.article p { margin: 18px 0; }
.article strong, .article b { font-weight: 700; }
.article ul { margin: 18px 0; padding-left: 40px; }
.article ul li { position: relative; list-style: none; margin: 0 0 12px 12px; line-height: 1.6; }
.article ul li::before { content: "•"; position: absolute; left: -2.3em; width: 1.5em; text-align: right; font-weight: 900; color: var(--c-teal); }
.article .spacer { height: 19px; }
.article blockquote { margin: 18px 40px 18px 32px; padding-left: 24px; border-left: 2px solid var(--c-teal); font-style: italic; line-height: 1.6; color: var(--c-text); }

/* ==========================================================================
   REALIZACJE
   ========================================================================== */
.realizacje-top .section-inner { padding-top: 60px; padding-bottom: 120px; }
.realizacje-top .h-secondary { margin: 0 20px 12px; }
.posts { display: flex; flex-wrap: wrap; width: 100%; }
.post-card { width: 50%; }
/* Kafel realizacji: pionowy (4:5), żeby po najechaniu zmieścił się cały opis.
   Rozmiar tekstu i odstępów dopasowuje się do szerokości kafla (jednostki cqi). */
.post-card-link { position: relative; display: flex; flex-direction: column; margin: 1em; overflow: hidden; color: var(--c-teal); container-type: inline-size; }
.post-card-img {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  background-color: grey;
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 10px, rgba(0, 0, 0, .1) 10px, rgba(0, 0, 0, .1) 20px);
}
.post-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.post-card-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; text-align: left;
  padding: 200px clamp(16px, 5.5cqi, 32px) clamp(16px, 5.5cqi, 32px); pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 300px);
}
.post-card-title { font-size: 20px; line-height: 1.1em; color: #fff; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; }
.post-card-more { opacity: 0; max-height: 0; overflow: hidden; transition: opacity 1s ease-in-out, max-height 1s ease-in-out; }
.post-card-link:hover .post-card-more, .post-card-link:focus-visible .post-card-more { opacity: 1; max-height: 600px; }
.post-card-more p { margin: 6px 0 0; font-size: clamp(13px, 3.2cqi, 18px); line-height: 1.6; color: #fff; }
@media (max-width: 767px) { .post-card { width: 100%; } }

.others { background: var(--c-bg-light); text-align: center; }
.others .section-inner { padding-top: 120px; padding-bottom: 120px; }
.others .h-secondary { margin: 0 20px 80px; }
/* karty układają się w 3 kolumnach jedna pod drugą (różne wysokości bez pustych miejsc) */
.others-grid { column-count: 3; column-gap: 0; width: 100%; }
.others-cell { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; break-inside: avoid; page-break-inside: avoid; }
.card { width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 40px; text-align: left; background: #fff; box-shadow: 0 12px 24px rgba(86, 109, 143, .1); }
.card-icon { display: inline-flex; margin-bottom: 12px; color: var(--c-navy); border-radius: 50%; }
.card-icon svg { width: 30px; height: 30px; fill: currentColor; }
.card-title { max-width: 200px; margin: 0 0 12px; color: var(--c-navy); font-size: 20px; font-weight: 500; line-height: 1.1; letter-spacing: .12em; text-align: left; }
.card-text { margin-bottom: 32px; color: var(--c-text-alt); font-size: 18px; font-weight: 400; line-height: 1.6; }
.card-text p { margin: 0 0 12px; }
.card-text p:last-child { margin-bottom: 0; }
.card-text ul { margin: 0; padding: 0 0 0 18px; list-style: none; }
.card-text li { position: relative; margin-bottom: 6px; }
.card-text li::before { content: "•"; position: absolute; left: -18px; font-weight: 900; color: var(--c-teal); }
@media (max-width: 991px) { .others-grid { column-count: 1; } }
@media (max-width: 767px) { .others .section-inner { padding-top: 60px; padding-bottom: 20px; } }

/* --- Pojedyncza realizacja --- */
.post-hero { background-color: var(--c-navy); text-align: center; }
.post-hero .section-bg { object-position: 0 50%; }
.post-hero::before { background: rgba(86, 109, 143, .8); }
.post-hero .section-inner { padding-top: 120px; padding-bottom: 120px; }
.post-title { color: #fff; margin: 0 20px; }
.post-body .section-inner { max-width: 850px; padding-top: 60px; padding-bottom: 60px; }
.post-body .article { max-width: none; }
@media (max-width: 991px) { .post-body .section-inner { padding-top: 30px; padding-bottom: 40px; } }
@media (max-width: 767px) { .post-body .section-inner { padding-bottom: 20px; } }

/* ==========================================================================
   GALERIE
   ========================================================================== */
/* Galeria w rzędach (zdjęcia przycięte do wysokości rzędu) – realizacje, referencje */
.gallery { display: flex; flex-wrap: wrap; align-items: normal; gap: .5em; margin: 1em 40px; padding: 0; }
.gallery figure {
  position: relative; display: flex; flex-direction: column; flex-grow: 1; justify-content: center;
  margin: 0; max-width: 100%; width: calc(33.33333% - .5em * .66667);
}
.gallery a { display: flex; flex-direction: column; flex-grow: 1; cursor: zoom-in; }
.gallery img { display: block; flex: 1 0 0%; width: 100%; height: 100%; max-width: 100%; object-fit: cover; vertical-align: bottom; }
@media (max-width: 600px) { .gallery figure { width: calc(50% - .5em / 2); } }

/* Galeria kafelkowa (kwadraty) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; margin: 18px 0; }
.tiles.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tiles a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; }
.tiles img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .tiles, .tiles.cols-2 { grid-template-columns: 1fr; } }

/* Podgląd zdjęcia na pełnym ekranie */
.lightbox { position: fixed; inset: 0; z-index: 2147483646; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; user-select: none; }
.lb-btn { position: absolute; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #fff; opacity: .75; cursor: pointer; }
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; }
.lb-btn svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.lb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
.lb-prev, .lb-next { top: 50%; width: 48px; height: 48px; margin-top: -24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter { position: absolute; top: 22px; left: 20px; color: #fff; font-size: 14px; opacity: .7; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-counter { display: none; }

/* ==========================================================================
   REFERENCJE
   ========================================================================== */
.ref-hero { min-height: 400px; background-color: var(--c-navy); text-align: left; }
.ref-hero .section-bg { object-position: 0 50%; }
.ref-hero::before { background: rgba(12, 37, 63, .51); }
.ref-hero .section-inner { padding-top: 105px; padding-bottom: 125px; }
.ref-hero .h-secondary { color: #fff; margin: 0 20px 12px; }
.ref-letters { background: var(--c-bg-ref); }
.ref-brillux {
  background-image: linear-gradient(rgba(239, 244, 251, .61), rgba(239, 244, 251, .61)), url("../img/referencje/tlo-brillux.jpg");
  background-size: cover, cover; background-position: 0 0; text-align: center;
}
.ref-brillux .section-inner { padding-top: 120px; padding-bottom: 120px; }
.ref-brillux-logo { height: 100px; width: auto; max-width: 640px; margin-bottom: 60px; }
.ref-brillux .h-secondary { margin: 0 20px 8px; }
.ref-brillux .subheading { margin: 0 20px; }
.ref-brillux .btn-blue { margin-top: 50px; }

/* --- Materiały wideo: miniatura z przyciskiem, film YouTube wczytuje się po kliknięciu --- */
.ref-video { background: #fff; text-align: center; }
.ref-video .section-inner { padding-top: 120px; padding-bottom: 120px; }
.ref-video .h-secondary { margin: 0 20px 48px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; width: 100%; text-align: left; }
.video { margin: 0; }
.video-facade, .video-frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1e22; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-facade:hover img { transform: scale(1.03); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(12, 37, 63, .25); transition: background .3s ease; }
.video-facade:hover::after { background: rgba(12, 37, 63, .1); }
.video-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .3s ease;
}
.video-play::before {
  content: ""; position: absolute; left: 30px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--c-navy);
}
.video-facade:hover .video-play { transform: scale(1.08); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 16px; }
.video figcaption strong { display: block; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--c-heading); }
.video figcaption span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: #6b6b6b; }
@media (max-width: 767px) {
  .ref-video .section-inner { padding-top: 60px; padding-bottom: 60px; }
  .ref-video .h-secondary { margin-bottom: 32px; }
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   STRONA 404
   ========================================================================== */
.notfound .section-inner { padding-top: 120px; padding-bottom: 120px; }
.notfound p { margin: 18px 0 0; font-size: 18px; }

/* ==========================================================================
   RESPONSYWNE ROZMIARY NAGŁÓWKÓW
   ========================================================================== */
@media (max-width: 1120px) { .h-secondary { font-size: 52px; } }
@media (max-width: 767px) {
  .h-primary { font-size: 56px; }
  .h-secondary { font-size: 44px; }
  .subheading { font-size: 20px; }
}
@media (max-width: 479px) {
  .h-primary { font-size: 44px; }
  .h-secondary { font-size: 40px; }
  .subheading { font-size: 18px; }
}
.welcome-title { font-size: 28px; }
.welcome-title-sm { font-size: 24px; }

/* ==========================================================================
   ODŚWIEŻENIE v14 – lekkie poprawki wyglądu (struktura strony bez zmian)
   ========================================================================== */
/* Suwak: kropki na zdjęciu zamiast pustego paska pod nim */
.hero-slider .slider-dots { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 100; }
.hero-slide .section-bg.is-center { object-position: 50% 50%; }

/* Przyciski w kolorach strony (turkus / granat) */
.btn-solid, .btn-blue {
  display: inline-block; padding: 12px 28px; border: 2px solid var(--c-teal); border-radius: 0;
  background: var(--c-teal); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4;
  letter-spacing: .15em; text-transform: uppercase; text-align: center; transition: all .3s ease;
}
.btn-solid:hover, .btn-blue:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.btn-line {
  display: inline-block; padding: 12px 28px; border: 2px solid var(--c-teal); color: var(--c-heading);
  font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase;
  text-align: center; transition: all .3s ease;
}
.btn-line:hover { background: var(--c-teal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.section-lead { max-width: 640px; margin: 0 auto 48px; color: var(--c-text-alt); font-size: 18px; font-weight: 300; line-height: 1.6; }

/* Strona główna: przyciski pod powitaniem */
.welcome-text .btn-row { margin-top: 12px; }
@media (max-width: 991px) { .welcome-text .btn-row { justify-content: center; } }

/* Strona główna: wybrane realizacje */
.works { background: #fff; text-align: center; }
.works .section-inner { padding-top: 110px; padding-bottom: 110px; }
.works .h-secondary { margin: 0 20px 12px; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; margin: 0; padding: 0; list-style: none; text-align: left; }
.work { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-navy); }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .85)); }
.work:hover img, .work:focus-visible img { transform: scale(1.05); }
.work-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.work-cat { display: block; margin-bottom: 6px; color: #bbc7d5; font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.work-title { display: block; color: #fff; font-size: 20px; font-weight: 500; line-height: 1.25; }
.works .btn-line { margin-top: 48px; }
@media (max-width: 991px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .works .section-inner { padding-top: 60px; padding-bottom: 60px; } }
@media (max-width: 479px) { .works-grid { grid-template-columns: 1fr; } .work { aspect-ratio: 4 / 3; } }

/* O nas: wstęp i najważniejsze atuty */
.article .lead { font-size: 21px; font-weight: 300; line-height: 1.55; color: var(--c-heading); }
.article ul.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 36px 0 40px; padding: 0; }
.article ul.highlights li { margin: 0; padding: 20px 22px; background: var(--c-bg-light); border-left: 3px solid var(--c-teal); line-height: 1.5; }
.article ul.highlights li::before { content: none; }
.highlights strong { display: block; margin-bottom: 4px; font-weight: 600; color: var(--c-heading); }
.highlights span { display: block; font-size: 15px; color: var(--c-text-alt); }

/* Oferta: usługi w grupach */
.article .services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 36px; }
.service { padding: 24px 24px 18px; background: var(--c-bg-light); }
.service-num { display: block; color: var(--c-teal); font-size: 14px; font-weight: 600; letter-spacing: .15em; }
.service-title { margin: 4px 0 10px; color: var(--c-heading); font-size: 21px; font-weight: 500; line-height: 1.25; }
.article .service ul { margin: 0; padding-left: 1.1em; }
.article .service li { margin: 0 0 6px; font-size: 16px; line-height: 1.5; }
.article .service li::before { left: -1.1em; width: auto; }
@media (max-width: 600px) { .article .services, .article ul.highlights { grid-template-columns: 1fr; } }

/* Realizacje: czytelniejsze tytuły kart */
.card-title { max-width: none; font-size: 21px; line-height: 1.25; letter-spacing: .02em; }
.others .h-secondary { margin-bottom: 16px; }
.others .section-lead { margin-bottom: 60px; }

/* Referencje: nagłówek listów i czytelny opis Brillux */
.ref-letters .h-secondary { margin: 0 20px 8px; }
.ref-letters .section-lead { margin-bottom: 32px; color: var(--c-text); }
.ref-brillux .subheading { color: var(--c-text); font-weight: 300; }

/* Pasek „Planujesz inwestycję?” na końcu podstron */
.cta { background: var(--c-navy); color: #fff; }
.cta .section-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 64px; padding-bottom: 64px; }
.cta-title { margin: 0 0 6px; color: #fff; font-size: 36px; font-weight: 300; }
.cta-text { margin: 0; color: rgba(255, 255, 255, .85); font-size: 18px; font-weight: 300; }
.cta-btn { display: inline-block; padding: 13px 26px; border: 2px solid #fff; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .03em; transition: all .3s ease; }
.cta-btn:hover { background: #fff; color: var(--c-navy); }
.cta-btn.is-main { background: #fff; border-color: #fff; color: var(--c-teal); }
.cta-btn.is-main:hover { background: transparent; border-color: #fff; color: #fff; }
@media (max-width: 767px) {
  .cta .section-inner { flex-direction: column; align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
  .cta-title { font-size: 28px; }
}

/* Stopka: telefon i e-mail */
.footer-contact { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.footer-contact a { color: #7c7c7c; }
.footer-contact a:hover { color: var(--c-blue); }
.footer-contact + .footer-copy-wrap { margin-left: 0; }
@media (max-width: 767px) {
  .footer-contact { margin: 0 0 8px; justify-content: center; }
  .footer-contact + .footer-copy-wrap { margin-left: -18px; }
}

/* v15: powitanie bez zdjęcia – tekst na środku */
.welcome-text { width: 100%; max-width: 760px; align-items: center; text-align: center; }
.welcome-text .btn-row { justify-content: center; }

/* v15: obszary działalności pod „Wybrane realizacje” */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; width: 100%; margin: 36px 0 64px; padding: 0; list-style: none; text-align: left; }
.sectors li { padding-top: 18px; border-top: 2px solid var(--c-teal); }
.sector-title { margin: 0 0 8px; color: var(--c-heading); font-size: 21px; font-weight: 500; line-height: 1.25; }
.sectors p { margin: 0; color: var(--c-text-alt); font-size: 16px; font-weight: 300; line-height: 1.6; }
@media (max-width: 991px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sectors { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; } }

/* v16: mocniejsze przyciemnienie na jasnych zdjęciach w suwaku */
.hero-slide.is-bright::before { background: rgba(12, 37, 63, .64); }

/* v17: „Pozostałe realizacje” w grupach, karty w równych rzędach */
.others-groups { display: flex; flex-direction: column; gap: 72px; width: 100%; text-align: left; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--c-teal); }
.group-title { margin: 0; color: var(--c-heading); font-size: 30px; font-weight: 400; line-height: 1.2; }
.group-desc { margin: 0; color: var(--c-text-alt); font-size: 16px; font-weight: 300; }
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.group-grid .card { padding: 28px 30px; }
.group-grid .card.is-wide { grid-column: 1 / -1; }
.group-grid .card-text { margin-bottom: 0; font-size: 16px; line-height: 1.55; }
.group-grid .card-text .card-label { margin: 14px 0 6px; color: var(--c-navy); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.group-grid .card-text .card-label:first-child { margin-top: 0; }
.card-text ul.loc-list { padding-left: 14px; }
.card-text .loc-list li { margin-bottom: 4px; break-inside: avoid; }
.card-text .loc-list li::before { content: ""; top: .7em; left: -14px; width: 5px; height: 5px; border-radius: 50%; background: #b9c3cc; }
.card.is-wide .loc-list { column-count: 3; column-gap: 32px; }
@media (max-width: 991px) {
  .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.is-wide .loc-list { column-count: 2; }
}
@media (max-width: 767px) {
  .others-groups { gap: 48px; }
  .group-grid { grid-template-columns: 1fr; }
  .group-title { font-size: 26px; }
  .card.is-wide .loc-list { column-count: 1; }
}

/* v20: strona główna – „Wybrane realizacje” w układzie 3 + 2 */
.works-grid { grid-template-columns: repeat(6, 1fr); }
.works-grid > li { grid-column: span 2; }
.works-grid > li:nth-child(n+4) { grid-column: span 3; }
.works-grid .work { aspect-ratio: auto; height: 360px; }
@media (max-width: 991px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid > li, .works-grid > li:nth-child(n+4) { grid-column: span 1; }
  .works-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .works-grid .work { height: 320px; }
}
@media (max-width: 479px) { .works-grid { grid-template-columns: 1fr; } .works-grid > li, .works-grid > li:nth-child(n+4), .works-grid > li:last-child:nth-child(odd) { grid-column: auto; } .works-grid .work { height: 260px; } }

/* v20: Realizacje – piąty kafel na całą szerokość, niższy */
.post-card.is-wide { width: 100%; }
.post-card.is-wide .post-card-img { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .post-card.is-wide .post-card-img { aspect-ratio: 4 / 5; } }

/* v25: ukryta podstrona portfolio – książka z przewracanymi stronami */
.pf-intro .section-inner { padding-top: 56px; padding-bottom: 8px; }
.pf-intro .h-secondary { margin: 0 20px 8px; font-size: 44px; }
.pf-intro .section-lead { margin-bottom: 0; }
.pf-book .section-inner { padding-top: 32px; padding-bottom: 90px; }
.flipbook { width: 100%; }
.fb-stage { position: relative; width: 100%; aspect-ratio: 32 / 9; perspective: 2600px; cursor: pointer; user-select: none; }
.flipbook.is-single .fb-stage { aspect-ratio: 16 / 9; }
.flipbook:not(.is-single):not(.is-cover) .fb-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 20px); width: 40px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .14) 50%, rgba(0, 0, 0, 0));
}
.fb-face { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(20, 35, 55, .18); }
.fb-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-face.is-empty { background: transparent; box-shadow: none; }
.fb-left { left: 0; }
.fb-right { left: 50%; }
.fb-full { left: 0; width: 100%; }
.fb-leaf { position: absolute; top: 0; width: 50%; height: 100%; z-index: 5; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.45, .05, .3, 1); }
.fb-leaf.on-right { left: 50%; transform-origin: left center; }
.fb-leaf.on-left { left: 0; transform-origin: right center; }
.fb-leaf.is-full { left: 0; width: 100%; transform-origin: left center; }
.fb-leaf .fb-face { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fb-leaf .fb-back { transform: rotateY(180deg); background: #f4f6f8; }
.fb-leaf .fb-back.is-empty { background: #f4f6f8; box-shadow: none; }
.fb-leaf.on-right.is-turning, .fb-leaf.is-full.is-turning, .fb-leaf.is-full.is-turned { transform: rotateY(-180deg); }
.fb-leaf.on-left.is-turning { transform: rotateY(180deg); }
.fb-leaf.is-full.is-turned.is-back { transform: rotateY(0deg); }
.fb-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; }
.fb-btn { width: 48px; height: 48px; border: 2px solid var(--c-teal); border-radius: 50%; background: #fff; color: var(--c-heading); font-size: 22px; line-height: 1; cursor: pointer; transition: all .3s ease; }
.fb-btn:hover:not(:disabled) { background: var(--c-teal); color: #fff; }
.fb-btn:disabled { opacity: .35; cursor: default; }
.fb-count { min-width: 150px; color: var(--c-text-alt); font-size: 15px; letter-spacing: .05em; text-align: center; }
.flipbook.is-ready .fb-source { display: none; }
.fb-source { display: flex; flex-direction: column; gap: 16px; }
.flipbook:not(.is-ready) .fb-stage, .flipbook:not(.is-ready) .fb-controls { display: none; }
@media (max-width: 767px) { .pf-intro .h-secondary { font-size: 32px; } .pf-book .section-inner { padding-bottom: 60px; } }
.pf-download { margin-top: 22px; }

/* v27: ukryta podstrona dla podwykonawców (one-pager + formularz Microsoft Forms) */
.pw-hero { background: var(--c-bg-light); }
.pw-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.pw-kicker { margin: 0 0 14px; color: var(--c-blue); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pw-hero .h-secondary { margin: 0 0 20px; font-size: 48px; }
.pw-lead { margin: 0 0 22px; color: var(--c-text-alt); font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 560px; }
.pw-claim { margin: 0 0 30px; padding: 2px 0 2px 16px; border-left: 4px solid var(--c-teal); color: var(--c-navy); font-size: 17px; font-weight: 600; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }
.pw-hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 920 / 1016; object-fit: cover; }
.pw-stats { background: var(--c-navy); }
.pw-stats .section-inner { padding-top: 0; padding-bottom: 0; }
.pw-stats-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.pw-stats-list li { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.18); color: #fff; }
.pw-stats-list li:last-child { border-right: 0; }
.pw-stats-list strong { display: block; font-size: 30px; font-weight: 600; line-height: 1.1; }
.pw-stats-list span { display: block; margin-top: 6px; color: #dce6ee; font-size: 14px; }
.pw-about .section-inner { padding-bottom: 40px; }
.pw-about-text { max-width: 900px; margin: 0 0 48px; color: var(--c-text-alt); font-size: 17px; font-weight: 300; line-height: 1.7; }
.pw-about-text strong { font-weight: 600; color: var(--c-heading); }
.pw-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.pw-h { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); color: var(--c-navy); font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pw-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.pw-list li { position: relative; padding-left: 20px; color: var(--c-text); font-size: 15px; line-height: 1.4; }
.pw-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; background: var(--c-teal); }
.pw-list.is-navy li::before { background: var(--c-navy); }
.pw-process .section-inner { padding-top: 24px; }
.pw-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pw-steps li { display: flex; flex-direction: column; gap: 10px; }
.pw-step-no { display: block; padding: 8px 12px; background: var(--c-teal); color: #fff; font-size: 16px; font-weight: 600; }
.pw-steps li:first-child .pw-step-no, .pw-steps li:last-child .pw-step-no { background: var(--c-navy); }
.pw-step-name { color: var(--c-text); font-size: 14px; line-height: 1.35; }
.pw-cta { background: var(--c-navy); color: #fff; }
.pw-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.pw-cta h2 { margin: 0 0 10px; color: #fff; font-size: 30px; font-weight: 500; line-height: 1.2; }
.pw-cta p { margin: 0 0 24px; color: #dce6ee; font-size: 16px; font-weight: 300; line-height: 1.6; max-width: 620px; }
.pw-qr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 10px 8px; background: #fff; }
.pw-qr img { display: block; width: 150px; height: 150px; }
.pw-qr span { color: var(--c-navy); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 1120px) { .pw-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 991px) {
  .pw-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .pw-hero-img { max-width: 520px; }
  .pw-stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-stats-list li:nth-child(2) { border-right: 0; }
  .pw-stats-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .pw-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .pw-hero .h-secondary { font-size: 34px; }
  .pw-hero-inner { padding-top: 40px; padding-bottom: 40px; }
  .pw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .pw-qr { display: none; }
}
@media (max-width: 479px) {
  .pw-list { grid-template-columns: 1fr; }
  .pw-stats-list li { padding: 20px 16px; }
  .pw-stats-list strong { font-size: 24px; }
  .pw-hero .btn-row a { width: 100%; }
}

/* v28: sekcja Kontakt – nowy układ (karty telefon/e-mail, spółki, mapa w ramce) */
.contact .section-inner { padding: 90px 0 100px; }
.contact-cols { align-items: stretch; gap: 0; }
.contact-info { padding-right: 56px; }
.contact .h-secondary { margin-bottom: 14px; }
.contact-lead { margin: 0 0 32px; color: var(--c-text-alt); font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 480px; }
.contact-actions { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; max-width: 520px; margin-bottom: 32px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border-left: 4px solid var(--c-teal); color: var(--c-heading); box-shadow: 0 2px 14px rgba(43,44,40,.06); transition: border-color .25s ease, box-shadow .25s ease; }
.contact-card:hover { border-left-color: var(--c-navy); box-shadow: 0 6px 22px rgba(43,44,40,.12); }
.contact-card .contact-icon { flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; background: var(--c-bg-light); color: var(--c-navy); }
.contact-card .contact-icon svg { width: 20px; height: 20px; }
.contact-card-text { display: flex; flex-direction: column; min-width: 0; }
.contact-card-label { display: block; margin-bottom: 4px; color: var(--c-blue); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.contact-card-value { color: var(--c-heading); font-size: 20px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.contact-companies { width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 24px 0; margin-bottom: 28px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.contact-hq { grid-column: 1 / -1; margin: 0; color: var(--c-text-alt); font-size: 16px; font-weight: 400; line-height: 1.5; }
.contact-company { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; color: var(--c-text-alt); font-weight: 300; }
.contact-company b { color: var(--c-heading); font-weight: 500; }
.contact .social a { width: 38px; height: 38px; }
.contact-map { display: flex; }
.contact-map .map-wrap { flex: 1; display: flex; padding: 8px; background: #fff; box-shadow: 0 2px 14px rgba(43,44,40,.06); }
.contact-map iframe { flex: 1; height: auto; min-height: 420px; display: block; }
@media (max-width: 991px) {
  .contact-info { padding-right: 20px; margin-bottom: 20px; }
  .contact-map iframe { min-height: 340px; }
}
@media (max-width: 767px) { .contact .section-inner { padding-top: 40px; padding-bottom: 40px; } }
@media (max-width: 600px) { .contact-actions, .contact-companies { grid-template-columns: 1fr; } .contact-card { padding: 16px 18px; } }

/* v29: sekcja Kontakt – wersja kompaktowa */
.contact .section-inner { padding: 70px 0 80px; }
.contact-lead { margin-bottom: 22px; font-size: 17px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px 32px; max-width: none; margin-bottom: 22px; }
.contact-card { gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
.contact-card:hover { box-shadow: none; }
.contact-card:hover .contact-card-value { color: var(--c-blue); }
.contact-card .contact-icon { width: 36px; height: 36px; background: #fff; }
.contact-card .contact-icon svg { width: 16px; height: 16px; }
.contact-card-value { font-size: 18px; transition: color .25s ease; }
.contact-companies { display: block; max-width: none; padding: 16px 0 0; margin-bottom: 18px; border-bottom: 0; }
.contact-hq { margin-bottom: 6px; font-size: 15px; }
.contact-company { display: block; font-size: 14px; line-height: 1.7; }
.contact-company b { font-weight: 500; }
.contact-company span::before { content: " · "; }
.contact .social a { width: 32px; height: 32px; }
.contact .social svg { width: 16px; height: 16px; }
.contact-map iframe { min-height: 340px; }
@media (max-width: 991px) { .contact-map iframe { min-height: 300px; } }
@media (max-width: 479px) { .contact-company span { display: block; } .contact-company span::before { content: none; } .contact-company { margin-bottom: 6px; } }

/* v31: podstrona Kariera z formularzem CV */
.kr-hero { background: var(--c-bg-light); }
.kr-hero .section-inner { padding-top: 64px; padding-bottom: 56px; }
.kr-hero .h-secondary { margin: 0 0 18px; font-size: 48px; }
.kr-lead { max-width: 720px; margin: 0 0 26px; color: var(--c-text-alt); font-size: 18px; font-weight: 300; line-height: 1.6; }
.kr-result .section-inner { padding-top: 80px; padding-bottom: 100px; }
.kr-why { background: var(--c-navy); }
.kr-why .section-inner { padding-top: 0; padding-bottom: 0; }
.kr-why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.kr-why-list li { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.18); color: #fff; }
.kr-why-list li:last-child { border-right: 0; }
.kr-why-list strong { display: block; font-size: 18px; font-weight: 600; }
.kr-why-list span { display: block; margin-top: 6px; color: #dce6ee; font-size: 14px; line-height: 1.5; }
.kr-positions .section-inner { padding-bottom: 32px; }
.kr-pos-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.kr-pos { padding: 22px 22px 20px; background: var(--c-bg-light); border-top: 3px solid var(--c-teal); }
.kr-pos h3 { margin: 0 0 8px; color: var(--c-heading); font-size: 17px; font-weight: 500; line-height: 1.3; }
.kr-pos p { margin: 0; color: var(--c-text-alt); font-size: 14px; font-weight: 300; line-height: 1.55; }
.kr-note { margin: 18px 0 0; color: var(--c-text-alt); font-size: 15px; }
.kr-form-section .section-inner { padding-top: 32px; }
.kr-form { max-width: 880px; }
.kr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.kr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kr-wide { grid-column: 1 / -1; }
.kr-field label, .kr-field legend { color: var(--c-heading); font-size: 14px; font-weight: 500; }
.kr-field legend { padding: 0; margin-bottom: 6px; }
.kr-hint { display: block; color: #6f7378; font-size: 12.5px; font-weight: 300; }
.kr-form input[type=text], .kr-form input[type=email], .kr-form input[type=tel], .kr-form input[type=url], .kr-form select, .kr-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c9d2d9; border-radius: 0; background: #fff; color: var(--c-text);
  font: inherit; font-size: 15px; font-weight: 400; }
.kr-form textarea { resize: vertical; min-height: 110px; }
.kr-form input[type=file] { font: inherit; font-size: 14px; padding: 8px 0; }
.kr-form input:focus-visible, .kr-form select:focus-visible, .kr-form textarea:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 1px; border-color: var(--c-teal); }
.kr-radio { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.kr-radio legend { width: 100%; }
.kr-radio label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.kr-form > .kr-hint { margin: 14px 0 0; }
.kr-consents { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.kr-consents label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--c-text-alt); font-size: 14px; line-height: 1.5; }
.kr-consents input { margin: 3px 0 0; width: 16px; height: 16px; }
.kr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kr-msg-box { margin: 0 0 16px; padding: 12px 16px; background: #fbeee4; border-left: 4px solid #b4541a; color: #6b2f0c; font-size: 14px; }
.kr-submit { min-width: 240px; cursor: pointer; font-family: inherit; }
.kr-submit[disabled] { opacity: .65; cursor: wait; }
.kr-rodo { margin-top: 26px; color: var(--c-text-alt); font-size: 13px; line-height: 1.6; }
.kr-rodo summary { cursor: pointer; color: var(--c-navy); font-weight: 500; font-size: 14px; }
.kr-rodo p { margin: 10px 0 0; max-width: 820px; }
.kr-alt { margin: 26px 0 0; color: var(--c-text-alt); font-size: 14px; }
.kr-alt a, .kr-result a:not([class]) { color: var(--c-blue); }
.onas-kariera { background: var(--c-bg-light); }
.onas-kariera .section-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 36px; padding-bottom: 36px; }
.onas-kariera p { margin: 0; color: var(--c-text-alt); font-size: 17px; }
.onas-kariera strong { color: var(--c-heading); font-weight: 500; }
.pw-cross { margin: 18px 0 0; color: #dce6ee; font-size: 14px; }
.pw-cross a { color: #fff; text-decoration: underline; }
@media (max-width: 991px) {
  .kr-why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kr-why-list li:nth-child(2) { border-right: 0; }
  .kr-why-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .kr-pos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .kr-hero .h-secondary { font-size: 34px; }
  .kr-hero .section-inner { padding-top: 40px; padding-bottom: 40px; }
  .kr-grid, .kr-pos-list { grid-template-columns: 1fr; }
  .kr-submit { width: 100%; }
}
@media (max-width: 479px) { .kr-why-list { grid-template-columns: 1fr; } .kr-why-list li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); } }
.contact .h-secondary { margin-bottom: 24px; }
html.menu-open .site-header { z-index: 2147483640; }
.pw-cta .pw-cross { margin: 18px 0 0; }
.kr-rodo-list { margin: 10px 0 0; padding-left: 20px; max-width: 820px; }
.kr-rodo-list li { margin: 8px 0 0; }
.kr-rodo-list ol { margin: 4px 0 0; padding-left: 20px; }
.kr-field .kr-hint { margin-top: 2px; }

/* v40: statyczna mapa zamiast osadzonej Mapy Google (bez połączeń z Google przed kliknięciem) */
.map-static { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; padding: 32px 20px; text-align: center; color: var(--c-heading);
  background-color: #f4f7f9;
  background-image: linear-gradient(rgba(86,109,143,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(86,109,143,.10) 1px, transparent 1px), linear-gradient(rgba(86,109,143,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(86,109,143,.05) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; background-position: center; }
.map-static.has-img { background-size: cover; }
.map-pin { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(43,44,40,.12); }
.map-pin svg { width: 30px; height: 30px; fill: var(--c-navy); }
.map-addr { display: flex; flex-direction: column; font-size: 15px; line-height: 1.5; color: var(--c-text-alt); }
.map-addr strong { color: var(--c-heading); font-size: 18px; font-weight: 500; }
.map-cta { display: inline-block; margin-top: 4px; padding: 12px 22px; background: var(--c-teal); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .25s ease; }
.map-static:hover .map-cta, .map-static:focus-visible .map-cta { background: var(--c-navy); }
.map-static:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 2px; }
@media (max-width: 991px) { .map-static { min-height: 280px; } }

/* v41: polityka prywatności */
.pp .section-inner { padding-top: 64px; padding-bottom: 80px; }
.pp .h-secondary { max-width: 900px; margin: 0 0 28px; font-size: 38px; }
.pp-list { max-width: 900px; margin: 0; padding-left: 22px; color: var(--c-text-alt); font-size: 15px; font-weight: 300; line-height: 1.7; }
.pp-list > li { margin: 0 0 16px; }
.pp-list ol { margin: 8px 0 0; padding-left: 22px; }
.pp-list ol li { margin: 0 0 8px; }
.pp-list strong { color: var(--c-heading); font-weight: 500; }
.pp-list a { color: var(--c-blue); }
.pp-date { margin: 28px 0 0; color: #6f7378; font-size: 13px; }
.footer-copy-wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
@media (max-width: 767px) { .pp .h-secondary { font-size: 28px; } .pp .section-inner { padding-top: 40px; } }
/* v42: dane rejestrowe spółek w stopce strony (art. 206 KSH) */
.footer-legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e6eaee; }
.footer-legal p { margin: 0 0 4px; color: #7a7e83; font-size: 11.5px; line-height: 1.6; font-weight: 300; }
.footer-legal { padding: 14px 20px 0; }
@media (max-width: 767px) { .footer-legal { text-align: center; } }

/* v45: „Zaufali Nam” – logotypy przewijają się płynnie w jednym wierszu (pauza po najechaniu) */
.trust-marquee { position: relative; width: 100%; margin-top: 44px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.trust-track { display: flex; width: max-content; animation: trust-scroll 45s linear infinite; }
.trust-marquee:hover .trust-track, .trust-marquee:focus-within .trust-track { animation-play-state: paused; }
.trust-set { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.trust-set li { flex: none; display: flex; align-items: center; height: 70px; }
.trust-set img { display: block; width: auto; max-width: 180px; max-height: 66px; height: auto; }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .trust-marquee { margin-top: 28px; }
  .trust-set { gap: 44px; padding: 0 22px; }
  .trust-set img { max-width: 130px; max-height: 50px; }
  .trust-track { animation-duration: 32s; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-marquee { -webkit-mask-image: none; mask-image: none; }
  .trust-track { animation: none; width: 100%; }
  .trust-set { flex-wrap: wrap; justify-content: center; gap: 28px 48px; }
  .trust-set[aria-hidden="true"] { display: none; }
}
.clients-section .trust-marquee { margin-bottom: 0; }

/* ---------- Mapa realizacji (/realizacje/) – blok generowany przez tools/build_map.py ---------- */
.rm { background: #fff; text-align: center; }
.rm .section-inner { padding-top: 100px; padding-bottom: 100px; }
.rm .h-secondary { margin: 0 20px 16px; }
.rm .section-lead { margin-bottom: 28px; }
.rm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 20px 36px; }
.rm-chip { padding: 9px 16px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; color: var(--c-text-alt); font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rm-chip:hover { border-color: var(--c-teal); }
.rm-chip.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.rm-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; width: 100%; padding: 0 20px; align-items: stretch; text-align: left; }
.rm-map { position: relative; }
.rm-svg { display: block; width: 100%; height: auto; overflow: visible; }
.rm-outline { fill: none; stroke: #b9cad6; stroke-width: 3.2; stroke-linejoin: round; }
.rm-woj { fill: #e9f0f5; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; transition: fill .25s; }
.rm-woj:hover { fill: #dde8ef; }
.rm-pt { cursor: pointer; outline: none; transition: opacity .25s; }
.rm-dot, .rm-halo { transform-box: fill-box; transform-origin: center; }
.rm-dot { fill: var(--c-navy); stroke: #fff; stroke-width: 1.5; transition: transform .25s cubic-bezier(.2,.8,.3,1.4), fill .2s; }
.rm-halo { fill: var(--c-teal); opacity: 0; }
.rm-hit { fill: transparent; }
.rm-num { fill: #fff; font-size: 10px; font-weight: 600; text-anchor: middle; pointer-events: none; }
.rm-name { fill: var(--c-heading); font-size: 12px; font-weight: 500; opacity: 0; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; transition: opacity .2s; }
.rm-name.is-left { text-anchor: end; }
.rm-pt.is-labelled .rm-name { opacity: .75; }
.rm-pt.is-active .rm-dot, .rm-pt:focus-visible .rm-dot { fill: var(--c-teal); transform: scale(1.45); }
.rm-pt.is-active .rm-halo { animation: rm-pulse 1.6s ease-out infinite; }
.rm-pt.is-active .rm-name, .rm-pt:focus-visible .rm-name { opacity: 1; font-weight: 600; }
.rm-svg.has-active .rm-pt:not(.is-active) .rm-name { opacity: 0; }
.rm-pt.is-off { opacity: .15; pointer-events: none; }
@keyframes rm-pulse { from { transform: scale(1.3); opacity: .55; } to { transform: scale(3.2); opacity: 0; } }
.rm-panel { position: relative; min-height: 420px; border: 1px solid #dfe8ee; background: #fff; box-shadow: 0 10px 40px rgba(86,109,143,.10); overflow: hidden; }
.rm-intro, .rm-card { position: absolute; inset: 0; padding: 32px; overflow-y: auto; }
.rm-intro { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.rm-intro-big { color: var(--c-navy); font-size: 26px; font-weight: 300; line-height: 1.2; }
.rm-intro-big strong { display: inline-block; min-width: 1.9em; color: var(--c-heading); font-size: 64px; font-weight: 400; }
.rm-intro-hint { margin-top: 20px; max-width: 340px; color: var(--c-text-alt); font-size: 14px; font-weight: 300; line-height: 1.6; }
.rm-card[hidden], .rm-intro[hidden] { display: none; }
.rm-card { animation: rm-in .28s ease-out; }
@keyframes rm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rm-card-title { color: var(--c-heading); font-size: 34px; font-weight: 400; line-height: 1.15; }
.rm-card-meta { margin: 6px 0 18px; color: var(--c-teal); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rm-feat { position: relative; display: block; margin-bottom: 22px; overflow: hidden; color: #fff; }
.rm-feat img { display: block; width: 100%; height: 170px; object-fit: cover; transition: transform .5s; }
.rm-feat:hover img { transform: scale(1.04); }
.rm-feat-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(20,30,45,.82)); font-size: 15px; line-height: 1.3; }
.rm-feat-more { flex: none; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.rm-invs { display: flex; flex-direction: column; gap: 14px; }
.rm-inv-name { color: var(--c-navy); font-size: 16px; font-weight: 500; }
.rm-inv-n { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--c-bg-light); color: var(--c-navy); font-size: 12px; font-weight: 500; vertical-align: 2px; }
.rm-locs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; list-style: none; padding: 0; }
.rm-locs li { padding: 4px 10px; border: 1px solid #e3eaef; color: var(--c-text-alt); font-size: 13px; line-height: 1.4; }
@media (max-width: 991px) {
  .rm .section-inner { padding-top: 60px; padding-bottom: 60px; }
  .rm-layout { grid-template-columns: 1fr; gap: 20px; }
  .rm-panel { min-height: 0; height: 400px; }
  .rm-intro { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
  .rm-intro-big strong { font-size: 44px; }
  .rm-intro-hint { flex-basis: 100%; margin-top: 10px; }
  .rm-name { font-size: 15px; } .rm-num { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .rm-pt.is-active .rm-halo, .rm-card { animation: none; } .rm-dot { transition: none; } }


/* ===== v48: 2) liczby na stronie głównej ===== */
.hs .section-inner { padding-top: 96px; padding-bottom: 96px; align-items: center; text-align: center; }
.hs .hs-title { max-width: 1000px; margin: 0 20px 18px; color: var(--c-navy); font-size: 68px; font-weight: 300; line-height: 1.08; letter-spacing: -.01em; }
.hs .hs-title strong { display: block; color: var(--c-heading); font-weight: 600; }
.hs-sub { max-width: 760px; margin: 0 20px 18px; color: var(--c-heading); font-size: 24px; font-weight: 400; line-height: 1.35; }
.hs-lead { max-width: 660px; margin: 0 20px 48px; color: var(--c-text-alt); font-size: 17px; font-weight: 300; line-height: 1.6; }
.hs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 1080px; margin: 0 0 48px; padding: 0; list-style: none; }
.hs-stats li { padding: 8px 24px; border-left: 1px solid #cfdbe3; text-align: left; }
.hs-num { display: block; color: var(--c-navy); font-size: 68px; font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.hs-stats span { display: block; margin-top: 12px; max-width: 170px; color: var(--c-text-alt); font-size: 14px; line-height: 1.45; }
@media (max-width: 991px) {   .hs .hs-title { font-size: 50px; } .hs-sub { font-size: 21px; } .hs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; max-width: 520px; } .hs-num { font-size: 52px; } }
.hs .btn-row { justify-content: center; }
@media (max-width: 767px) { .hs .section-inner { padding-top: 56px; padding-bottom: 56px; }  .hs .hs-title { font-size: 34px; } .hs-sub { font-size: 18px; } .hs-stats li { padding: 4px 16px; } .hs-num { font-size: 44px; } }

/* ===== v48: 3) koniec strony realizacji – zakres prac, następna realizacja ===== */
.cs-scope { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; padding: 28px 32px; background: var(--c-bg-light); text-align: left; }
.cs-scope-label { color: #7b8794; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cs-scope ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-scope li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #d5e0e8; color: var(--c-text-alt); font-size: 14px; }
.cs-next .section-inner { max-width: 1040px; padding: 0 20px 72px; text-align: center; }
.cs-next-link[hidden] { display: none; }
.cs-next-link { display: flex; align-items: stretch; gap: 0; border: 1px solid #dfe8ee; color: inherit; text-align: left; transition: box-shadow .3s, transform .3s; }
.cs-next-link:hover { box-shadow: 0 14px 40px rgba(86,109,143,.16); transform: translateY(-2px); }
.cs-next-link img { width: 260px; height: 150px; object-fit: cover; flex: none; }
.cs-next-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px 28px; flex: 1; }
.cs-next-label { color: var(--c-teal); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cs-next-title { color: var(--c-heading); font-size: 30px; line-height: 1.2; }
.cs-next-desc { color: var(--c-text-alt); font-size: 15px; font-weight: 300; }
.cs-next-arrow { display: flex; align-items: center; padding: 0 32px; color: var(--c-navy); font-size: 30px; transition: transform .3s; }
.cs-next-link:hover .cs-next-arrow { transform: translateX(6px); }
.cs-all { display: inline-block; margin-top: 22px; color: var(--c-navy); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
@media (max-width: 767px) { .cs-scope { padding: 22px 20px; } .cs-next-link { flex-direction: column; } .cs-next-link img { width: 100%; height: 160px; } .cs-next-arrow { display: none; } }

/* ===== v48: 7) spokojny ruch – pojawianie się sekcji, cienka linia pod nagłówkami, przejścia między stronami ===== */
@view-transition { navigation: auto; }
html.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.anim .rv.is-in { opacity: 1; transform: none; }
html.anim .hl::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 18px; background: var(--c-teal); transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.2,.7,.2,1) .25s; }
html.anim .hl.hl-center::after { margin-left: auto; margin-right: auto; transform-origin: center; }
html.anim .hl.is-in::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { html.anim .rv { opacity: 1; transform: none; transition: none; } html.anim .hl::after { transform: none; transition: none; } }
@media (max-width: 767px) { .rm-feat-cap { flex-direction: column; align-items: flex-start; gap: 4px; } .rm-intro, .rm-card { padding: 22px; } }

/* 03.12.2026: przyciski na ciemnych pasach – białe z granatowym tekstem (granat na granatowoszarym tle był za ciemny) */
.pw-cta .btn-solid, .kr-why .btn-solid { background: #fff; border-color: #fff; color: var(--c-teal); }
.pw-cta .btn-solid:hover, .kr-why .btn-solid:hover { background: transparent; border-color: #fff; color: #fff; }

/* 03.12.2026: Proces współpracy – trzy etapy w strzałkach (zamiast 7 kafelków) */
.pw-phases { display: flex; margin: 0; padding: 0; list-style: none; }
.pw-phase { flex: 1 1 0; min-width: 0; margin-left: -14px; padding: 24px 34px 26px 42px; color: #fff;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%); }
.pw-phase:first-child { margin-left: 0; padding-left: 26px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); }
.pw-phase.is-1 { background: #002e4a; }
.pw-phase.is-2 { background: #54829d; }
.pw-phase.is-3 { background: #bbc7d5; color: #002e4a; }
.pw-phase-eye { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.pw-phase-name { display: block; margin: 2px 0 14px; font-size: 28px; font-weight: 300; line-height: 1.2; }
.pw-phase-steps { margin: 0; padding: 0; list-style: none; }
.pw-phase-steps li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.28); font-size: 15px; font-weight: 400; }
.pw-phase.is-3 .pw-phase-steps li { border-top-color: rgba(0,46,74,.22); }
.pw-phase-steps li span { min-width: 22px; font-weight: 600; opacity: .75; }
@media (max-width: 760px) {
  .pw-phases { flex-direction: column; }
  .pw-phase, .pw-phase:first-child { margin: -12px 0 0; padding: 34px 22px 38px;
    clip-path: polygon(0 0, 50% 18px, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); }
  .pw-phase:first-child { margin-top: 0; padding-top: 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); }
  .pw-phase-name { font-size: 24px; }
}
