/**
 * Geo Company – główne style
 * Kolory: Czarny, Biały, Żółty (#FCEC25)
 * BEM
 */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-yellow: #FCEC25;
  --font-sans: system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-black);
  background: var(--color-white);
}

/* ========== HEADER: Top Bar + Main Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease;
}
.site-header.is-shrunk .site-header__main {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-header.is-shrunk .site-header__logo-img--main {
  max-height: 40px;
}

/* Pasek górny (Top Bar) – żółty #FCEC25, czarny tekst */
.site-header__topbar {
  background: var(--color-yellow);
  color: var(--color-black);
}
.site-header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}
.site-header__topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header__topbar-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.site-header__topbar-link {
  color: var(--color-black);
  text-decoration: underline;
  font-weight: 600;
}
.site-header__topbar-link:hover {
  color: var(--color-black);
  opacity: 0.85;
}
.site-header__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-header__topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-black);
  text-decoration: none;
}
.site-header__topbar-contact:hover {
  color: var(--color-black);
  opacity: 0.85;
}
.site-header__topbar-contact-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.site-header__topbar-sep {
  width: 1px;
  height: 1em;
  background: rgba(0, 0, 0, 0.3);
}

/* Pasek główny – głęboka czerń */
.site-header__main {
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.75rem 0;
  transition: padding 0.25s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-header__logo {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}
.site-header__logo:hover {
  color: var(--color-yellow);
}
.site-header__logo-img--main {
  max-height: 50px;
  width: auto;
  display: block;
  transition: max-height 0.25s ease;
}
.site-header__logo-text {
  color: inherit;
}

/* Menu główne – białe linki, hover żółty */
.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__menu > li {
  position: relative;
}
.site-header__menu > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-header__menu > li > a:hover {
  color: var(--color-yellow);
}
/* Dropdown (Usługi itd.) */
.site-header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--color-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.site-header__menu > li:hover > .sub-menu,
.site-header__menu > li.menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header__menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-header__menu .sub-menu a:hover {
  color: var(--color-yellow);
  background: rgba(255, 255, 255, 0.05);
}
/* Strzałka przy pozycjach z podmenu */
.site-header__menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 0.35rem;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}

/* Akcje: CTA, wyszukiwarka, hamburger */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header__cta {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.site-header__cta:hover {
  box-shadow: 0 4px 12px rgba(252, 236, 37, 0.4);
  filter: brightness(1.05);
}
.site-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-yellow);
}
.site-header__hamburger {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.site-header__hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.site-header__hamburger.is-active .site-header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobilne (overlay) */
.site-header__mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-black);
  z-index: 99;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.site-header__mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.site-header__mobile-nav-inner {
  padding: 5rem 1.5rem 2rem;
  max-width: 400px;
  margin: 0 auto;
}
.site-header__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.site-header__mobile-contact a {
  color: var(--color-yellow);
  text-decoration: none;
}
.site-header__mobile-menu {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.site-header__mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header__mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.1rem;
}
.site-header__mobile-menu a:hover {
  color: var(--color-yellow);
}
.site-header__mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  display: none;
}
.site-header__mobile-menu .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.site-header__mobile-menu .sub-menu a {
  padding: 0.5rem 0;
  font-size: 1rem;
}
.site-header__mobile-cta {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Responsywność: ukrycie top bara na małych ekranach, hamburger zamiast menu */
@media (max-width: 991px) {
  .site-header__topbar {
    display: none;
  }
  .site-header__nav {
    display: none;
  }
  .site-header__actions .site-header__cta {
    display: none;
  }
}
@media (min-width: 992px) {
  .site-header__hamburger {
    display: none;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-yellow);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-loader.is-active {
  opacity: 1;
  pointer-events: auto;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-yellow);
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* --- Hero (zwarta wysokość, kontener wyrównany do headera) --- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--color-black);
  color: var(--color-white);
  padding: 2rem 1.5rem 3rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* YouTube jako tło – iframe wypełnia obszar (cover) */
.hero__bg-youtube-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}
.hero__bg-fallback,
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Na mobile: wideo/YouTube ukryte, pokazujemy tylko obraz (oszczędność danych) */
@media (max-width: 768px) {
  .hero__bg-video,
  .hero__bg-youtube-wrap {
    display: none;
  }
  .hero__bg-fallback {
    display: block;
  }
}
@media (min-width: 769px) {
  .hero__bg-fallback {
    display: none;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-black);
  opacity: 0.5;
  pointer-events: none;
}
/* Kontener treści: ta sama szerokość co header (1200px), wyrównanie do logo, większy odstęp od krawędzi */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}
@media (min-width: 768px) {
  .hero__inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
/* Fluid typography */
.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
}
.hero__title-accent {
  color: #FCEC25;
}
.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 520px;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.hero__cta--primary {
  background: #FCEC25;
  color: var(--color-black);
  border: 2px solid #FCEC25;
}
.hero__cta--primary:hover {
  box-shadow: 0 4px 16px rgba(252, 236, 37, 0.45);
  filter: brightness(1.05);
}
.hero__cta--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.hero__cta--outline:hover {
  border-color: #FCEC25;
  color: #FCEC25;
}

/* --- Sekcja Statystyk / Liczniki (między Hero a O nas) --- */
.counters {
  background: var(--color-black);
  color: var(--color-white);
  padding: 3rem 1.5rem;
}
.counters__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .counters__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.counters__item {
  text-align: center;
}
.counters__number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  flex-wrap: wrap;
}
.counters__prefix {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #FCEC25;
}
.counters__number {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: #FCEC25;
}
.counters__label {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-white);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Sections --- */
.section { padding: 4rem 1.5rem; }
.section__inner { max-width: 1200px; margin: 0 auto; }
.section__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: var(--color-black);
}
.section__lead { margin: 0 0 2rem; color: #333; }
.section__cta { margin: 2rem 0 0; }

/* ========== BLOG – 3 najnowsze wpisy w siatce ========== */
.section-blog.blog {
  background: #fafafa;
  padding: 4rem 1.5rem;
}
.blog__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.blog__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0;
}
.blog__overtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCEC25;
}
.blog__overtitle-dash {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #FCEC25;
}
.blog__overtitle-text { white-space: nowrap; }
.blog__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
}
@media (min-width: 768px) {
  .blog__title { font-size: 2.5rem; }
}

.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.blog__card {
  margin: 0;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}
.blog__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.blog__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0;
}
.blog__card-thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}
.blog__card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog__card-link:hover .blog__card-thumb {
  transform: scale(1.05);
}
.blog__card-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: #e0e0e0;
}
.blog__card-cat {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.4rem 0.75rem;
  background: #FCEC25;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.blog__card-meta {
  display: block;
  margin-top: 1rem;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: #666;
}
.blog__card-title {
  margin: 0.5rem 1.25rem 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  transition: color 0.2s ease;
}
.blog__card-link:hover .blog__card-title {
  color: #c4b000;
}
.blog__card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FCEC25;
}
.blog__card-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.blog__card-link:hover .blog__card-arrow {
  transform: translateX(4px);
}
.blog__empty {
  text-align: center;
  color: #666;
  margin: 0;
  padding: 2rem;
}

/* Archiwum bloga – przycisk Załaduj więcej + paginacja */
.blog-archive__nav {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}
.blog-archive__load-more-wrap {
  margin-bottom: 1.5rem;
}
.blog-archive__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-archive__load-more:hover {
  background: #FCEC25;
  color: #000;
  border-color: #FCEC25;
}
.blog-archive__load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.blog-archive__pagination-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.blog-archive__pagination-links a {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: #000;
  color: #FCEC25;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-archive__pagination-links a:hover {
  background: #FCEC25;
  color: #000;
  border-color: #FCEC25;
}

/* ========== DLACZEGO MY – tło na całą sekcję, boks z atutami lekko z lewej (żółty #FCEC25) ========== */
.dlaczego-my {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
/* Tło (obraz/wideo) na całą szerokość i wysokość sekcji */
.dlaczego-my__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.dlaczego-my__bg-video,
.dlaczego-my__bg-image,
.dlaczego-my__bg-fallback,
.dlaczego-my__bg-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dlaczego-my__bg-video {
  object-position: center;
}
.dlaczego-my__bg-image,
.dlaczego-my__bg-fallback {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.dlaczego-my__bg-placeholder {
  background: #1a1a1a;
}
.dlaczego-my__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.dlaczego-my__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 480px;
  padding: 2.5rem 1.5rem 0;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .dlaczego-my__wrap {
    flex-direction: row;
    align-items: stretch;
    padding-top: 4rem;
    padding-bottom: 0;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
.dlaczego-my__box {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  background: #000000;
  padding: 3rem 1.5rem 3.5rem;
  margin-top: 0;
}
.dlaczego-my__spacer {
  flex: 0 0 0;
  min-height: 0;
  display: none;
}
@media (min-width: 992px) {
  /* Spacer po lewej (tło), czarny boks po prawej – boks dochodzi do samego dołu (padding-bottom: 0) */
  .dlaczego-my__spacer {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
  }
  .dlaczego-my__box {
    flex: 0 0 42%;
    max-width: 42%;
    padding: 3.5rem 3rem 4rem;
  }
}
.dlaczego-my__header {
  margin-bottom: 2rem;
}
.dlaczego-my__overtitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCEC25;
}
.dlaczego-my__overtitle-dash {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #FCEC25;
}
.dlaczego-my__overtitle-text { white-space: nowrap; }
.dlaczego-my__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .dlaczego-my__title { font-size: 2.25rem; }
}
.dlaczego-my__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.dlaczego-my__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  /* Odrobina rezerwy na rozwinięty panel, bez nadmiernej wysokości sekcji */
  min-height: 340px;
}
.dlaczego-my__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dlaczego-my__item-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s ease;
}
.dlaczego-my__item-trigger:hover {
  color: #FCEC25;
}
.dlaczego-my__item-title {
  flex: 1 1 auto;
}
.dlaczego-my__item-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  transform: rotate(0deg);
  transition: transform 0.35s ease, background 0.2s ease, color 0.2s ease;
}
.dlaczego-my__item.is-open .dlaczego-my__item-icon {
  background: #FCEC25;
  color: #000000;
  transform: rotate(180deg);
}
.dlaczego-my__item.is-open .dlaczego-my__item-trigger {
  color: #ffffff;
}
.dlaczego-my__item-content {
  overflow: hidden;
  max-height: 0;
  padding-bottom: 0;
  transition: max-height 0.4s ease-out, padding-bottom 0.3s ease;
}
.dlaczego-my__item.is-open .dlaczego-my__item-content {
  max-height: 400px;
  padding-bottom: 1rem;
}
.dlaczego-my__item-desc {
  margin: 0;
  padding: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

/* ========== ZAUFALI NAM – logotypy klientów (infinite ticker) ========== */
.zaufali-nam {
  background: #ffffff;
  padding: 3rem 0 4rem;
}
.zaufali-nam__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.zaufali-nam__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.zaufali-nam__overtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCEC25;
}
.zaufali-nam__overtitle-dash {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #FCEC25;
}
.zaufali-nam__overtitle-text { white-space: nowrap; }
.zaufali-nam__title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
}
.zaufali-nam__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .zaufali-nam__title { font-size: 2.5rem; }
  .zaufali-nam { padding: 4rem 0 5rem; }
}

/* Ticker – jeden rząd, nieskończona pętla */
.zaufali-nam__ticker {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.zaufali-nam__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: zaufali-nam-ticker 50s linear infinite;
}
.zaufali-nam__track:hover {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .zaufali-nam__track { animation: none; }
}
@keyframes zaufali-nam-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.zaufali-nam__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: 0 0.5rem;
}
.zaufali-nam__logo {
  max-height: 100%;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.zaufali-nam__item:hover .zaufali-nam__logo {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 767px) {
  .zaufali-nam__track { gap: 2rem; animation-duration: 35s; }
  .zaufali-nam__item { height: 130px; }
  .zaufali-nam__logo { max-width: 280px; }
}

/* ========== GEODEZJA BRANŻOWA – twarde wymuszenie proporcji i kolorów ========== */

/* 1. STRUKTURA KOLORYSTYCZNA */
#branze.section-branze {
  padding: 0;
  background: transparent !important;
  display: block !important;
}
#branze .branze--carousel {
  background: transparent !important;
}

/* Nagłówek: wyłącznie białe tło */
#branze .branze__header-wrap {
  background: #ffffff !important;
  padding: 3rem 1.5rem 3rem;
}
#branze .branze__header {
  text-align: center;
  padding: 0;
  margin: 0;
}
#branze .branze__overtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCEC25;
}
#branze .branze__overtitle-dash {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #FCEC25;
}
#branze .branze__overtitle-text { white-space: nowrap; }
#branze .branze__header-wrap .branze__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #000000 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  #branze .branze__header-wrap .branze__title { font-size: 2.5rem; }
}
#branze .branze__empty-msg {
  text-align: center;
  color: #666;
  margin: 0;
  padding: 2rem 1rem;
  background: #fff;
}

/* Body karuzeli: górna połowa slajdów na białym tle, dolna + nawigacja w czerni (krawędź czerni = środek wysokości slajdów) */
#branze .branze__carousel-zone {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: #ffffff !important;
  padding-top: 1rem;
  padding-bottom: 10rem;
  --branze-slide-half: 0px;
}
@media (max-width: 767px) {
  #branze .branze__carousel-zone {
    padding-bottom: 2.5rem;
  }
  #branze .branze__nav-wrap {
    padding-bottom: 1.5rem;
  }
}
/* Ciemna sekcja karuzeli: czerń (#000) lub obrazek z ACF (cover); nagłówek pozostaje na białym tle powyżej */
#branze .branze__carousel-bg {
  position: absolute;
  top: var(--branze-slide-half);
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}
#branze .branze-swiper,
#branze .branze__nav-wrap {
  position: relative;
  z-index: 1;
}

/* 2. GEOMETRIA SLAJDÓW – 3 poziome prostokąty z wyraźnymi odstępami (spaceBetween w JS) */
#branze .branze-swiper {
  overflow: hidden;
  width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
#branze .branze__slide {
  height: auto;
  box-sizing: border-box;
}
#branze .branze__slide-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
#branze .branze__slide-link:focus {
  outline: 2px solid #FCEC25;
  outline-offset: 2px;
}
#branze .branze__slide-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
}
#branze .branze__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
#branze .branze__slide:not(.swiper-slide-active) .branze__slide-img {
  filter: grayscale(0.5) brightness(0.7);
}
#branze .branze__slide-link:hover .branze__slide-img {
  transform: scale(1.04);
}
#branze .branze__slide-placeholder {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}

/* Podświetlenie: niski żółty pasek (#FCEC25) tylko przy dolnej krawędzi aktywnego slajdu – zdjęcie w pełni widoczne */
#branze .branze__slide-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22% !important;
  max-height: 22% !important;
  top: auto !important;
  pointer-events: none;
  background: linear-gradient(to top, #FCEC25 0%, transparent 100%) !important;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#branze .swiper-slide-active .branze__slide-gradient {
  opacity: 1;
}
#branze .branze__slide:not(.swiper-slide-active) .branze__slide-gradient {
  opacity: 0 !important;
}

/* Kontener tekstowy z nazwą branży: obniżony o połowę, przy dolnej krawędzi – nie zasłania zdjęcia */
#branze .branze__slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22% !important;
  max-height: 22% !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  box-sizing: border-box;
}
#branze .swiper-slide-active .branze__slide-caption {
  transform: translateY(0);
  opacity: 1;
}
#branze .branze__slide:not(.swiper-slide-active) .branze__slide-caption {
  visibility: hidden !important;
  pointer-events: none;
  opacity: 0 !important;
}
#branze .branze__slide-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.5rem 1rem 0.75rem;
  background: transparent !important;
  border-radius: 0;
  text-align: center;
  box-sizing: border-box;
}
#branze .branze__slide-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  width: 100%;
}
@media (min-width: 768px) {
  #branze .branze__slide-title { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  #branze .branze__slide-title { font-size: 2.35rem; }
}

/* 3. NAWIGACJA: dwa żółte kwadraty z czarnymi strzałkami na środku, zwiększony odstęp od dołu */
#branze .branze__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0 1.5rem 2.5rem;
  width: 100%;
  box-sizing: border-box;
}
#branze .branze__nav-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}
/* Krótka pozioma żółta kreska z wskaźnikiem (kropka) – jak w projekcie referencyjnym */
#branze .branze__nav-line {
  position: relative;
  display: block;
  width: 40px;
  height: 2px;
  background: #FCEC25;
  flex-shrink: 0;
}
#branze .branze__nav-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #FCEC25;
  border-radius: 0;
}
#branze .branze__arrows {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}
#branze .branze__arrows .swiper-button-prev,
#branze .branze__arrows .swiper-button-next {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
  flex-shrink: 0;
}
#branze .branze__arrow.swiper-button-prev::after,
#branze .branze__arrow.swiper-button-next::after {
  content: none !important;
  display: none !important;
}
/* Dwa małe żółte kwadraty, zaokrąglone rogi, bez ramek – żaden niebieski */
#branze .branze__arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: #FCEC25 !important;
  color: #000000 !important;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
  border-radius: 6px;
}
#branze .branze__arrow:hover {
  background: #f5e01e !important;
  color: #000000 !important;
}
#branze .branze__arrow.branze__next:hover {
  background: #ffffff !important;
  color: #000000 !important;
}
#branze .branze__arrow:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}
/* Żółte kwadraty, wewnątrz wyłącznie czarne strzałki – bez niebieskiego (nadpisanie Swiper) */
#branze .branze__arrow,
#branze .branze__arrow * {
  color: #000000 !important;
}
#branze .branze__arrow svg,
#branze .branze__arrow svg path {
  stroke: #000000 !important;
  fill: none !important;
  color: #000000 !important;
}
#branze .branze__arrow svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* O nas – 50/50: pionowe zdjęcie + skaner (lewa), taby Misja/Wizja/Historia (prawa) */
.o-nas .section__inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.o-nas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 992px) {
  .o-nas__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}
.o-nas__media-col {
  order: 1;
}
.o-nas__content-col {
  order: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.o-nas__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-black);
  min-height: 320px;
}
@media (min-width: 992px) {
  .o-nas__img-wrap {
    min-height: 480px;
  }
}
.o-nas__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.o-nas__placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.o-nas__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (min-width: 992px) {
  .o-nas__img-wrap:not(.o-nas__img-wrap--placeholder) .o-nas__img {
    min-height: 480px;
  }
}
/* Skaner laserowy – żółta linia w górę i w dół */
.o-nas__scanner {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #FCEC25;
  box-shadow: 0 0 12px rgba(252, 236, 37, 0.6);
  top: 0;
  pointer-events: none;
  animation: o-nas-scan 5s ease-in-out infinite;
}
@keyframes o-nas-scan {
  0%, 100% { top: 0; }
  50% { top: 100%; }
}
.o-nas__overline {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FCEC25;
  text-transform: uppercase;
}
.o-nas__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
}
.o-nas__title-accent {
  color: #FCEC25;
}
.o-nas__lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #333;
  max-width: 540px;
}
/* System zakładek */
.o-nas__tabs {
  margin-top: 0.25rem;
}
.o-nas__tab-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}
.o-nas__tab-btn {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.o-nas__tab-btn:hover {
  background: #eee;
  color: var(--color-black);
}
.o-nas__tab-btn.is-active {
  background: #FCEC25;
  color: var(--color-black);
}
/* Grot (trójkąt) wskazujący na aktywną zakładkę */
.o-nas__tab-grot {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #FCEC25;
  transition: left 0.25s ease;
  pointer-events: none;
}
.o-nas__panels {
  padding-top: 1.25rem;
  min-height: 120px;
}
.o-nas__panel {
  display: none;
}
.o-nas__panel.is-active {
  display: block;
}
.o-nas__panel .o-nas__text {
  margin: 0;
}
.o-nas__text {
  line-height: 1.65;
  color: #333;
}
.o-nas__text p {
  margin: 0 0 1rem;
}
.o-nas__text p:last-child {
  margin-bottom: 0;
}
.o-nas__cta-wrap {
  margin: 1.75rem 0 0;
  padding-top: 0.25rem;
}
.o-nas__cta {
  display: inline-block;
  background: #FCEC25;
  color: var(--color-black);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.o-nas__cta:hover {
  box-shadow: 0 4px 16px rgba(252, 236, 37, 0.45);
  filter: brightness(1.05);
}

@media (max-width: 767px) {
  .o-nas__tab-buttons {
    flex-direction: column;
  }
  .o-nas__tab-btn {
    width: 100%;
    text-align: left;
  }
  .o-nas__tab-grot {
    display: none;
  }
}

/* Oferta – karuzela: czarne tło, białe karty, żółte akcenty */
.oferta--carousel {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 1.5rem;
}
.oferta--carousel .section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.oferta__header {
  text-align: center;
  margin-bottom: 2rem;
}
.oferta__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
}
.oferta__subtitle::before,
.oferta__subtitle::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #FCEC25;
  flex-shrink: 0;
}
.oferta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
}
.oferta__title-accent {
  color: #FCEC25;
}
.oferta__lead {
  margin: 0 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.oferta__carousel {
  margin-bottom: 2rem;
}
.oferta__track-wrap {
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.oferta__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
  will-change: transform;
}
.oferta__card {
  flex: 0 0 100%;
  min-width: 0;
}
@media (min-width: 576px) {
  .oferta__card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (min-width: 992px) {
  .oferta__card { flex: 0 0 calc(33.333% - 1rem); }
}
.oferta__card-link {
  display: block;
  height: 100%;
  background: var(--color-white);
  border-radius: 4px;
  color: var(--color-black);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.oferta__card-link:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.oferta__card-link:hover .oferta__card-title {
  color: #FCEC25;
}
.oferta__card-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
  overflow: hidden;
}
.oferta__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.oferta__card-link:hover .oferta__card-img {
  transform: scale(1.08);
}
.oferta__card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
  transition: transform 0.4s ease;
}
.oferta__card-link:hover .oferta__card-img-placeholder {
  transform: scale(1.08);
}
.oferta__card-icon-box {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 52px;
  height: 52px;
  background: #FCEC25;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}
.oferta__card-icon-box .oferta__card-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.oferta__card-body {
  display: block;
  padding: 1.25rem 1.25rem 1.5rem;
}
.oferta__card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-black);
  transition: color 0.2s ease;
}
.oferta__card-desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.oferta__card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-black);
  text-transform: uppercase;
}
.oferta__card-arrow {
  flex-shrink: 0;
}
.oferta__card-link:hover .oferta__card-more {
  color: #FCEC25;
}
/* Pasek pod karuzelą: konsultacja | pasek postępu | strzałki */
.oferta__bottom-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.oferta__all-services-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #FCEC25;
  border: none;
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}
.oferta__all-services-btn:hover {
  box-shadow: 0 4px 14px rgba(252, 236, 37, 0.5);
  filter: brightness(1.05);
  color: var(--color-black);
}
.oferta__progress-wrap {
  flex: 1;
  min-width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.oferta__progress-fill {
  height: 100%;
  width: 0%;
  background: #FCEC25;
  border-radius: 2px;
  transition: width 0.35s ease;
}
.oferta__arrows {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.oferta__arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: #FCEC25;
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.oferta__arrow:hover {
  box-shadow: 0 4px 12px rgba(252, 236, 37, 0.5);
  filter: brightness(1.08);
}

/* ========== REALIZACJE (portfolio) – pełnoekranowe tło, ciemny boks off-center, karuzela ========== */
.realizacje {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.realizacje__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.realizacje__bg-video,
.realizacje__bg-image,
.realizacje__bg-fallback,
.realizacje__bg-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.realizacje__bg-video { object-position: center; }
.realizacje__bg-image,
.realizacje__bg-fallback {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.realizacje__bg-placeholder {
  background: #1a1a1a;
}
.realizacje__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.realizacje__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1.5rem 2rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .realizacje__inner {
    padding: 3rem 2rem 3rem;
  }
}

/* Ciemny boks nagłówka – off-center po lewej, biały tekst */
.realizacje__header-box {
  flex-shrink: 0;
  max-width: 520px;
  padding: 2rem 2rem 2.5rem;
  background: #1e1e1e;
  margin-bottom: 2rem;
  margin-right: auto;
  margin-left: 0;
}
@media (min-width: 768px) {
  .realizacje__header-box {
    padding: 2.5rem 2.5rem 3rem;
    margin-bottom: 2.5rem;
  }
}
.realizacje__overtitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCEC25;
}
.realizacje__overtitle-dash {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #FCEC25;
}
.realizacje__overtitle-text { white-space: nowrap; }
.realizacje__title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .realizacje__title { font-size: 2.25rem; }
}
.realizacje__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* Karuzela kart portfolio */
.realizacje__carousel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.realizacje__track-wrap {
  flex: 1 1 auto;
  overflow: hidden;
  margin-bottom: 1rem;
}
.realizacje__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
  will-change: transform;
}
.realizacje__card {
  flex: 0 0 280px;
}
@media (min-width: 576px) {
  .realizacje__card { flex: 0 0 320px; }
}
@media (min-width: 992px) {
  .realizacje__card { flex: 0 0 360px; }
}
.realizacje__card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  overflow: hidden;
}
.realizacje__card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #2a2a2a;
}
.realizacje__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.realizacje__card-link:hover .realizacje__card-img {
  transform: scale(1.05);
}
.realizacje__card-img-placeholder {
  position: absolute;
  inset: 0;
  background: #333;
}
/* Półprzezroczysty ciemny pasek + biały tekst z cieniem – czytelność na zdjęciach */
.realizacje__card-title-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  display: flex;
  align-items: flex-end;
}
.realizacje__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .realizacje__card-title { font-size: 1.1rem; }
}

/* Pasek dolny: CTA, postęp, strzałki */
.realizacje__bottom-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.realizacje__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #FCEC25;
  border: none;
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
}
.realizacje__cta-btn:hover {
  box-shadow: 0 4px 14px rgba(252, 236, 37, 0.5);
  filter: brightness(1.05);
  color: #000000;
}
.realizacje__progress-wrap {
  flex: 1;
  min-width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}
.realizacje__progress-fill {
  height: 100%;
  width: 0%;
  background: #FCEC25;
  border-radius: 2px;
  transition: width 0.35s ease;
}
.realizacje__arrows {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.realizacje__arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: #FCEC25;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.realizacje__arrow:hover {
  box-shadow: 0 4px 12px rgba(252, 236, 37, 0.5);
  filter: brightness(1.08);
}
.realizacje__empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
}
.realizacje__empty .realizacje__cta-btn {
  margin-top: 0.5rem;
}

/* Archiwum realizacji (lista) */
.realizacje__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.realizacje__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.realizacje__thumb { width: 100%; height: auto; display: block; }
.realizacje__item-title { margin: 0.5rem 0 0; font-size: 1.125rem; }

/* Kontakt */
.kontakt__grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .kontakt__grid { grid-template-columns: 1fr 1fr; }
}
.kontakt__field { margin: 0 0 1rem; }
.kontakt__field label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.kontakt__field input,
.kontakt__field textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  font-family: inherit;
}
.kontakt__feedback--success { color: #0a0; }
.kontakt__feedback--error { color: #c00; }

/* Mapa + Formularz (50/50): lewa – biała mapa, prawa – czarny box formularza */
.mapa-kontakt {
  background: #FFFFFF;
  color: var(--color-black);
  padding: 4rem 1.5rem;
}
@media (max-width: 767px) {
  .mapa-kontakt {
    padding-left: 0;
    padding-right: 0;
  }
  .mapa-kontakt__grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .mapa-kontakt__map-wrap {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    overflow: visible;
  }
  .mapa-kontakt__map {
    min-height: 280px;
    overflow: visible;
  }
  .mapa-kontakt__map svg {
    max-width: none;
  }
}
.mapa-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.mapa-kontakt__grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .mapa-kontakt__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .mapa-kontakt__form-wrap {
    display: flex;
  }
  .mapa-kontakt__form-box {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}
.mapa-kontakt__map-wrap {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
}
.mapa-kontakt__map {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
  aspect-ratio: 497 / 463;
  min-height: 400px;
}
.mapa-kontakt__map:focus-within {
  outline: none;
}
.mapa-kontakt__map .mapa-polska-svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.mapa-kontakt__map svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  vertical-align: top;
}
.mapa-kontakt__map svg:focus,
.mapa-kontakt__map svg:focus-within {
  outline: none;
}
/* Nagłówek nad mapą */
.map-heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* Stały punkt (żółta kropka) – bez animacji */
.mapa-kontakt__map .map-point-static {
  fill: #FCEC25;
  pointer-events: all;
  cursor: pointer;
}
/* Pulsująca obwódka pod punktem */
.mapa-kontakt__map .map-point-pulse {
  fill: rgba(252, 236, 37, 0.4);
  transform-origin: center;
  pointer-events: none;
  animation: marker-pulse 2s infinite ease-out;
}
@keyframes marker-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
/* Pozycjonowanie transformacji w SVG */
.mapa-kontakt__map circle {
  transform-box: fill-box;
}
/* Zaznaczony oddział (po kliknięciu) – kółko na czarno – wszystkie viewporty */
.mapa-kontakt__map .map-city-group.is-active .map-point-static,
.mapa-kontakt__map .map-city-group.is-active .map-point-pulse {
  fill: #000000;
  stroke: none;
}
.mapa-kontakt__map .map-city-group.is-active .map-point-pulse {
  fill: rgba(0, 0, 0, 0.3);
}
/* Grupa miasta – kropka + etykieta (centrowanie przez transform) */
.mapa-kontakt__map .map-city-group {
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}
.mapa-kontakt__map .map-city-group:focus,
.mapa-kontakt__map .map-city-group:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.mapa-kontakt__map .map-markers *:focus,
.mapa-kontakt__map .map-markers *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.mapa-kontakt__map .map-city-label {
  text-anchor: middle;
  dominant-baseline: hanging;
  font-size: 10px;
  fill: #333333;
  pointer-events: none;
  font-family: Arial, sans-serif;
}
.mapa-kontakt__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  background: var(--color-white);
}
.mapa-kontakt__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mapa-kontakt__markers .mapa-kontakt__marker {
  pointer-events: auto;
}
.mapa-kontakt__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.mapa-kontakt__marker-dot {
  width: 14px;
  height: 14px;
  background: #FCEC25;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(252, 236, 37, 0.6);
  animation: mapa-pulse 1.8s ease-in-out infinite;
}
.mapa-kontakt__marker:hover .mapa-kontakt__marker-dot,
.mapa-kontakt__marker:focus .mapa-kontakt__marker-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px rgba(252, 236, 37, 0.25);
}
@keyframes mapa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 236, 37, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(252, 236, 37, 0); }
}
.mapa-kontakt__tooltip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 280px;
  padding: 1rem 2.5rem 1rem 1.25rem;
  background: rgba(0,0,0,0.95);
  border: 1px solid rgba(252, 236, 37, 0.4);
  border-radius: 4px;
  color: var(--color-white);
  font-size: 0.9rem;
  line-height: 1.5;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mapa-kontakt__tooltip[hidden] { display: none !important; }
.mapa-kontakt__tooltip-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mapa-kontakt__tooltip-close:hover {
  background: #FCEC25;
  color: #000;
}
.mapa-kontakt__tooltip-miasto {
  display: block;
  font-weight: 700;
  color: #FCEC25;
  margin-bottom: 0.5rem;
}
.mapa-kontakt__tooltip-adres,
.mapa-kontakt__tooltip-telefon,
.mapa-kontakt__tooltip-email {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-white);
}
.mapa-kontakt__tooltip-telefon::before { content: ''; display: inline-block; width: 1em; height: 1em; margin-right: 0.35rem; vertical-align: -0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FCEC25' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.mapa-kontakt__tooltip-email::before { content: ''; display: inline-block; width: 1em; height: 1em; margin-right: 0.35rem; vertical-align: -0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FCEC25' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
/* Czarny box formularza */
.mapa-kontakt__form-box {
  background: #000000;
  padding: 40px;
  border-radius: 4px;
  border: 2px solid #333;
  color: var(--color-white);
}
.mapa-kontakt__form-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #FCEC25;
}
.mapa-kontakt__form .mapa-kontakt__row { display: flex; gap: 1rem; }
.mapa-kontakt__row--half .mapa-kontakt__field { flex: 1; min-width: 0; }
.mapa-kontakt__field { margin: 0 0 1rem; }
.mapa-kontakt__field label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; color: #FFFFFF; }
.mapa-kontakt__field input,
.mapa-kontakt__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--color-white);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mapa-kontakt__field input::placeholder,
.mapa-kontakt__field textarea::placeholder { color: #FFFFFF; opacity: 0.85; }
.mapa-kontakt__field input:focus,
.mapa-kontakt__field textarea:focus {
  outline: none;
  border-color: #FCEC25;
  box-shadow: 0 0 0 2px rgba(252, 236, 37, 0.2);
}
.mapa-kontakt__submit { margin: 1.5rem 0 0; }
.mapa-kontakt__btn {
  display: block;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #FCEC25;
  color: #000000;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
.mapa-kontakt__btn:hover {
  box-shadow: 0 4px 16px rgba(252, 236, 37, 0.45);
  filter: brightness(1.05);
}
.mapa-kontakt__feedback { margin-top: 1rem; font-size: 0.95rem; }
.mapa-kontakt__feedback--success { color: #8f8; }
.mapa-kontakt__feedback--error { color: #f88; }

/* Breadcrumbs */
.breadcrumbs-wrap {
  width: 100%;
  background: #f5f5f5;
  margin-bottom: 1.5rem;
}
.breadcrumbs-wrap__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.breadcrumbs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.9rem;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumbs__link { color: var(--color-black); }
.breadcrumbs__sep { color: #666; }
.breadcrumbs__current { font-weight: 600; }

/* Footer – 3 poziomy, mniejsza wysokość, ikony w kółkach jak na ref. */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 3.5rem 1.5rem 4rem;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* POZIOM 1: Ikona u góry (czarne kółko + biała ikona + cienka obwódka), pod nią etykieta, pod nią treść */
.site-footer__top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .site-footer__top-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0 0 2.75rem;
  }
}
.site-footer__top-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .site-footer__top-col {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 1rem;
  }
  .site-footer__top-col:last-child {
    border-right: none;
  }
}
.site-footer__top-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCEC25;
  margin-bottom: 0.9rem;
}
.site-footer__top-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.site-footer__top-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.5rem;
}
.site-footer__top-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer__top-text a {
  color: inherit;
  text-decoration: none;
}
.site-footer__top-text a:hover {
  color: #ffffff;
}

/* Tytuł nad paskiem oddziałów – wyśrodkowany, z oddechem */
.site-footer__bar-title {
  margin: 2rem 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FCEC25;
  text-align: center;
}
/* POZIOM 2: Pasek oddziałów – to samo tło #000, cienkie bordery, oddech od dołu */
.site-footer__bar {
  background: #000000;
  margin: 0 -1.5rem 2.5rem;
  padding-bottom: 0.5rem;
  border: none;
}
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 56px;
  padding: 0 1.5rem;
}
.site-footer__bar-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}
.site-footer__bar-item:last-of-type {
  border-right: none;
}
.site-footer__bar-item:hover {
  color: #FCEC25;
}
.site-footer__bar-sep {
  display: none;
}
@media (max-width: 767px) {
  .site-footer__bar {
    margin-bottom: 2rem;
  }
  .site-footer__bar-inner {
    flex-direction: column;
    min-height: 0;
  }
  .site-footer__bar-item {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
    padding-left: 1rem;
  }
  .site-footer__bar-item:last-of-type {
    border-bottom: none;
  }
}

/* POZIOM 3: Główna siatka – więcej odstępu od góry i wewnątrz kolumn */
.site-footer__grid--main {
  display: grid;
  gap: 2.5rem 2rem;
  margin-bottom: 0;
  padding: 2.5rem 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid--main {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .site-footer__grid--main {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }
}
.site-footer__col {
  min-width: 0;
}
.site-footer__strefy-block {
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.site-footer__heading--strefy {
  margin-bottom: 0.75rem;
}
.site-footer__strefy-link {
  display: inline-flex;
  align-items: center;
  padding: 0.15em;
  color: var(--color-white);
  transition: opacity 0.2s;
}
.site-footer__strefy-link:hover {
  opacity: 0.85;
}
.site-footer__strefy-icon {
  display: inline-block;
  line-height: 0;
}
.site-footer__strefy-icon svg {
  display: block;
}
.site-footer__brand {
  margin-bottom: 1rem;
}
.site-footer__logo {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  filter: brightness(0) invert(1);
}
.site-footer__logo--alt {
  filter: none;
}
.site-footer__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}
.site-footer__desc {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 280px;
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-footer__social-link:hover {
  background: #FCEC25;
  color: #000000;
}
.site-footer__social-link svg {
  width: 20px;
  height: 20px;
}
.site-footer__heading {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__list li {
  margin-bottom: 0.5rem;
}
.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer__list a:hover {
  color: #FCEC25;
}
.site-footer__arrow {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid #FCEC25;
  border-bottom: 2px solid #FCEC25;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
/* Newsletter (kolumna 4) */
.site-footer__newsletter-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.site-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.site-footer__newsletter-input {
  width: 100%;
  max-width: 280px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 0;
  box-sizing: border-box;
}
.site-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.site-footer__newsletter-input:focus {
  outline: none;
  border-color: #FCEC25;
}
.site-footer__newsletter-btn {
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #FCEC25;
  color: #000000;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-footer__newsletter-btn:hover {
  background: #fff;
  color: #000;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Pasek copyright + wykonawca (space-between) */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__copyright {
  margin: 0;
}
.site-footer__credits {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.site-footer__credits:hover {
  color: #ffffff;
}
.site-footer__credits-label {
  flex-shrink: 0;
}
.site-footer__credits-logo {
  height: 18px;
  width: auto;
  max-width: 100px;
  display: block;
  object-fit: contain;
  opacity: 0.9;
}
.site-footer__credits:hover .site-footer__credits-logo {
  opacity: 1;
}

.page-content { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.entry-title { margin: 0 0 1rem; }
.entry-thumbnail { margin-bottom: 1.5rem; }
.entry-thumbnail img { width: 100%; height: auto; display: block; }
.page-header { margin-bottom: 2rem; }
.page-title { margin: 0; }
.services-archive-list,
.portfolio-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.services-archive-list a,
.portfolio-archive-list a {
  display: block;
  padding: 1rem;
  border: 1px solid #eee;
  color: inherit;
  text-decoration: none;
}
.services-archive-list a:hover,
.portfolio-archive-list a:hover { border-color: var(--color-yellow); }
.services-archive-list img,
.portfolio-archive-list img { width: 100%; height: auto; }

/* ==========================================================================
   Grid usług (CPT) – od zera, zgodnie z projektem
   Jedna przestrzeń nazw .geo-services-grid – brak fioletu, grid 3 kolumny, równe wysokości
   ========================================================================== */
.geo-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

/* Reset linków – zero niebieskiego/fioletowego */
.geo-services-grid a,
.geo-services-grid a:hover,
.geo-services-grid a:focus,
.geo-services-grid a:visited {
  color: #000000 !important;
  text-decoration: none !important;
}

.geo-services-grid__header {
  margin-bottom: 2.5rem;
}
.geo-services-grid__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #000000 !important;
}
@media (min-width: 768px) {
  .geo-services-grid__title { font-size: 2.5rem; }
}

/* Grid: 3 kolumny desktop, 1 mobile, równe odstępy i równe wysokości kart */
.geo-services-grid__list {
  list-style: none !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  grid-auto-rows: 1fr;
}
@media (min-width: 768px) {
  .geo-services-grid__list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
}
@media (min-width: 1024px) {
  .geo-services-grid__list {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }
}

.geo-services-grid__item {
  margin: 0;
  min-height: 0;
}

/* Karta: białe tło, flex column – równa wysokość w rzędzie */
.geo-service-card {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.geo-service-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}
.geo-service-card__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  text-decoration: none !important;
  color: #000000 !important;
}

/* Góra: kontener obrazu 3:2, object-fit cover */
.geo-service-card__img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
  background: #f0f0f0;
}
.geo-service-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.4s ease;
}
.geo-service-card__link:hover .geo-service-card__img {
  transform: scale(1.05);
}
.geo-service-card__img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #e5e5e5;
}

/* Overlay ikony: cienka żółta linia na górze + czarny kwadrat z białą ikoną */
.geo-service-card__icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  z-index: 1;
}
.geo-service-card__icon-stripe {
  width: 60px;
  height: 3px;
  background: #FCEC25 !important;
  margin-bottom: 0;
}
.geo-service-card__icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  background: #000000 !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
  border-radius: 0;
}
.geo-service-card__icon-box .geo-service-card__icon-img {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.geo-service-card__icon-box img.geo-service-card__icon-img {
  filter: brightness(0) invert(1);
}
.geo-service-card__icon-box svg.geo-service-card__icon-img {
  stroke: currentColor;
  color: #ffffff !important;
  fill: none;
}

/* Środek: treść – tytuł Extra Bold, opis szary, interlinię */
.geo-service-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0.5rem;
}
.geo-service-card__title {
  margin: 0 !important;
  font-size: 1.15rem;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .geo-service-card__title { font-size: 1.25rem; }
}
/* Opis: max 3 wiersze + wielokropek (...) na końcu */
.geo-service-card__desc {
  margin: 0 !important;
  font-size: 0.95rem;
  color: #666666 !important;
  line-height: 1.6;
  flex-grow: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dół: akcja – DOWIEDZ SIĘ WIĘCEJ + strzałka (czarny, nie fiolet) */
.geo-service-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000000 !important;
  margin-top: 0.25rem;
}
.geo-service-card__arrow {
  flex-shrink: 0;
  color: #000000 !important;
}
.geo-service-card__link:hover .geo-service-card__action,
.geo-service-card__link:hover .geo-service-card__arrow {
  color: #333333 !important;
}

.geo-services-grid__sentinel {
  min-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.geo-services-grid__empty {
  margin: 2rem 0;
  color: #555;
}
.geo-services-grid .pagination {
  margin-top: 2rem;
}

/* ==========================================================================
   Referencje – siatka referencji (PDF / grafiki)
   ========================================================================== */
.referencje-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.referencje-grid__header {
  margin-bottom: 2.5rem;
}
.referencje-grid__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
}
@media (min-width: 768px) {
  .referencje-grid__title { font-size: 2.5rem; }
}
.referencje-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .referencje-grid__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 992px) {
  .referencje-grid__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.referencje-grid__item {
  margin: 0;
  min-height: 0;
}
.referencje-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-black);
  height: 100%;
}
.referencje-card__preview {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  overflow: hidden;
  min-height: 220px;
}
.referencje-card__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.referencje-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.referencje-card__body {
  display: block;
  padding: 1rem 1rem 1.25rem;
  flex: 0 0 auto;
}
.referencje-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-black);
}
.referencje-card__open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-yellow);
  text-decoration: none;
  transition: color 0.2s ease;
}
.referencje-card__open:hover {
  color: var(--color-black);
}
.referencje-card__arrow {
  flex-shrink: 0;
}
.referencje-grid__empty {
  margin: 2rem 0;
  color: #555;
}

/* ==========================================================================
   Kariera – oferty pracy + formularz zgłoszeniowy
   ========================================================================== */
.kariera-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.kariera-page__header {
  margin-bottom: 2.5rem;
}
.kariera-page__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
}
@media (min-width: 768px) {
  .kariera-page__title { font-size: 2.5rem; }
}
.kariera-page__empty {
  margin: 0 0 2.5rem;
  color: #555;
  line-height: 1.6;
}
.kariera-oferty__heading {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-black);
}
.kariera-oferty__list {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
}
.kariera-oferty__item {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.kariera-oferty__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.kariera-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
}
.kariera-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #666;
}
.kariera-card__meta span + span[aria-hidden="true"] {
  margin: 0 0.35rem;
}
.kariera-card__content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-black);
}
.kariera-card__content p:first-child { margin-top: 0; }
.kariera-card__content p:last-child { margin-bottom: 0; }
.kariera-form-section {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.kariera-form-section__heading {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-black);
}
.kariera-form__row {
  margin: 0 0 1rem;
}
.kariera-form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 479px) {
  .kariera-form__row--half { grid-template-columns: 1fr; }
}
.kariera-form__field {
  margin: 0 0 1rem;
}
.kariera-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--color-black);
}
.kariera-form__field input,
.kariera-form__field select,
.kariera-form__field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.kariera-form__field textarea {
  min-height: 120px;
  resize: vertical;
}
.kariera-form__submit {
  margin: 1.25rem 0 0;
}
.kariera-form__btn { min-width: 180px; }
.kariera-form__feedback {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}
.kariera-form__feedback--success { color: #0a6b0a; }
.kariera-form__feedback--error { color: #b00; }

/* ==========================================================================
   Aktualności – lista (obrazek obok opisu, jedna pod drugą)
   ========================================================================== */
.aktualnosci-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.aktualnosci-page__header {
  margin-bottom: 2.5rem;
}
.aktualnosci-page__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
}
@media (min-width: 768px) {
  .aktualnosci-page__title { font-size: 2.5rem; }
}
.aktualnosci-page__empty {
  margin: 2rem 0;
  color: #555;
}
.aktualnosci-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aktualnosci-list__item {
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.aktualnosci-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.aktualnosci-card__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
@media (min-width: 640px) {
  .aktualnosci-card__link {
    grid-template-columns: 320px 1fr;
    gap: 2rem;
  }
}
.aktualnosci-card__link:hover .aktualnosci-card__title,
.aktualnosci-card__link:hover .aktualnosci-card__more {
  color: var(--color-yellow);
}
.aktualnosci-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}
.aktualnosci-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aktualnosci-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: #e8e8e8;
  color: #999;
}
.aktualnosci-card__placeholder-icon {
  display: block;
  opacity: 0.6;
}
.aktualnosci-card__body {
  min-width: 0;
}
.aktualnosci-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
  transition: color 0.2s;
}
.aktualnosci-card__date {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}
.aktualnosci-card__excerpt {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}
.aktualnosci-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  transition: color 0.2s;
}
.aktualnosci-card__arrow {
  flex-shrink: 0;
}

/* Single Aktualność */
.single-aktualnosc {
  background: var(--color-white);
  color: var(--color-black);
}
.single-aktualnosc__hero {
  width: 100%;
  height: 45vh;
  min-height: 280px;
  max-height: 500px;
  position: relative;
  overflow: hidden;
}
.single-aktualnosc__hero-img,
.single-aktualnosc__hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  color: #999;
}
.single-aktualnosc__placeholder-icon {
  display: block;
  opacity: 0.5;
}
.single-aktualnosc__header {
  padding: 2rem 1.5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.single-aktualnosc__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.25;
}
.single-aktualnosc__date {
  display: block;
  font-size: 0.95rem;
  color: #666;
}
.single-aktualnosc__content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}
.single-aktualnosc__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-black);
}
.single-aktualnosc__content p:first-child { margin-top: 0; }
.single-aktualnosc__content p { margin: 0 0 1em; }
.single-aktualnosc__gallery-wrap {
  padding: 0 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.single-aktualnosc__gallery-heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
}
.single-aktualnosc__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .single-aktualnosc__gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.single-aktualnosc__gallery-item {
  display: block;
  position: relative;
  padding-bottom: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}
.single-aktualnosc__gallery-item-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.single-aktualnosc__gallery-item:hover .single-aktualnosc__gallery-item-inner {
  transform: scale(1.05);
}
.single-aktualnosc__nav {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}
.single-aktualnosc__back {
  color: var(--color-black);
  font-weight: 600;
  text-decoration: none;
}
.single-aktualnosc__back:hover {
  color: var(--color-yellow);
}
.single-aktualnosc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  box-sizing: border-box;
}
.single-aktualnosc-lightbox.is-open {
  display: flex;
}
.single-aktualnosc-lightbox__img-wrap {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-aktualnosc-lightbox__img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.single-aktualnosc-lightbox__close,
.single-aktualnosc-lightbox__prev,
.single-aktualnosc-lightbox__next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 1rem;
}
.single-aktualnosc-lightbox__close {
  top: 1rem;
  right: 1rem;
}
.single-aktualnosc-lightbox__prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.single-aktualnosc-lightbox__next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.error-404__title { margin-top: 2rem; }
.error-404__link { margin-top: 1rem; }

/* ==========================================================================
   Single Service (65% / 35% layout)
   ========================================================================== */
.service-single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.service-single-layout {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .service-single-layout {
    grid-template-columns: 1fr;
  }
}

/* Left column – main content */
.service-single__main {
  min-width: 0;
}
.service-single__featured {
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.service-single__featured img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.service-single__content-1 {
  margin-bottom: 2rem;
}
.service-single__body {
  color: #555;
  line-height: 1.6;
}
.service-single__body h1 {
  margin: 0 0 1rem;
  color: #000;
  font-weight: 700;
}
.service-single__body p { margin: 0 0 1em; }
.service-single__body p:last-child { margin-bottom: 0; }

.service-single__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.service-single__gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-single__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-single__content-2 {
  margin-bottom: 2.5rem;
  color: #555;
  line-height: 1.6;
}
.service-single__content-2 h2,
.service-single__content-2 h3 {
  color: #000;
  font-weight: 700;
  margin: 0 0 0.5em;
}
.service-single__content-2 p { margin: 0 0 1em; }
.service-single__content-2 p:last-child { margin-bottom: 0; }

/* FAQ accordion – dark style */
.service-faq {
  background: #000000;
  padding: 1.5rem 1.25rem;
}
.service-faq__heading,
.service-faq__title {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
}
.service-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.service-faq__item:last-child { border-bottom: none; }
.service-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}
.service-faq__trigger:hover {
  background: #252525;
  color: #fff;
}
.service-faq__trigger:hover .service-faq__icon {
  color: #FCEC25;
}
.service-faq__item.is-open .service-faq__trigger {
  color: #FCEC25;
}
.service-faq__item.is-open .service-faq__trigger .service-faq__icon {
  color: #FCEC25;
}
.service-faq__icon {
  flex-shrink: 0;
  margin-left: 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  color: #FCEC25;
  transition: color 0.2s;
}
.service-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease-out;
  background: #000000;
}
.service-faq__item.is-open .service-faq__answer {
  max-height: 500px;
}
.service-faq__answer-inner {
  padding: 0 1.25rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Right column – sidebar */
.service-single__sidebar {
  position: sticky;
  top: 2rem;
  min-width: 0;
}
@media (max-width: 768px) {
  .service-single__sidebar { position: static; }
}

.service-sidebar__widget {
  margin-bottom: 2rem;
}
.service-sidebar__widget:last-child { margin-bottom: 0; }
.service-sidebar__heading {
  margin: 0 0 1rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.service-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-sidebar__list-item { margin: 0; }
.service-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: #f5f5f5;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.service-sidebar__link:hover {
  background: rgba(252, 236, 37, 0.3);
  color: #000;
}
.service-sidebar__link.is-active {
  background: var(--color-yellow, #FCEC25);
  color: #000;
}
.service-sidebar__arrow {
  flex-shrink: 0;
  color: var(--color-yellow, #FCEC25);
  font-size: 1.1rem;
  line-height: 1;
}
.service-sidebar__arrow::after {
  content: '\2192';
}
.service-sidebar__link.is-active .service-sidebar__arrow {
  color: #000;
}

/* Sidebar form – dark premium */
.service-sidebar__form-wrap {
  margin-top: 0;
  background: #000000;
  padding: 1.25rem 1rem;
}
.service-sidebar__form-wrap .service-sidebar__heading {
  color: #FCEC25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.service-sidebar__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-sidebar__form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-sidebar__form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .service-sidebar__form-row--half {
    grid-template-columns: 1fr;
  }
}
.service-sidebar__form .service-sidebar__field {
  margin: 0;
}
.service-sidebar__form label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
}
.service-sidebar__form input,
.service-sidebar__form textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.service-sidebar__form input::placeholder,
.service-sidebar__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.service-sidebar__form input:focus,
.service-sidebar__form textarea:focus {
  outline: none;
  border-color: #FCEC25;
  box-shadow: 0 0 0 1px #FCEC25;
}
.service-sidebar__form textarea {
  min-height: 52px;
  resize: vertical;
}
.service-sidebar__submit {
  margin: 0.25rem 0 0;
}
.service-sidebar__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #FCEC25;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.15s;
}
.service-sidebar__btn:hover {
  background: #fdee3a;
}
.service-sidebar__btn:disabled { opacity: 0.7; cursor: not-allowed; }
.service-sidebar__feedback {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.service-sidebar__form-wrap .service-sidebar__feedback--success { color: #8bc34a; }
.service-sidebar__form-wrap .service-sidebar__feedback--error { color: #f44336; }
.service-sidebar__feedback[hidden] { display: none; }

/* ==========================================================================
   O nas – wprowadzenie (podstrona O nas): układ asymetryczny + liczniki
   ========================================================================== */
.o-nas-intro {
  padding: 3rem 0 0;
}
.o-nas-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.o-nas-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 992px) {
  .o-nas-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.o-nas-intro__overline {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FCEC25;
}
.o-nas-intro__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #000;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .o-nas-intro__title { font-size: 2.25rem; }
}
.o-nas-intro__text {
  margin: 0 0 1.5rem;
  color: #555;
  line-height: 1.65;
}
.o-nas-intro__text p { margin: 0 0 0.75em; }
.o-nas-intro__text p:last-child { margin-bottom: 0; }

/* 3 punkty ze strzałką – jedna kolumna, pogrubiony tekst */
.o-nas-intro__points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.o-nas-intro__point-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.o-nas-intro__point-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FCEC25;
}
.o-nas-intro__point-icon svg {
  width: 20px;
  height: 20px;
}
.o-nas-intro__point-text {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

/* Prawa kolumna – zdjęcie + CTA box */
.o-nas-intro__media {
  position: relative;
}
.o-nas-intro__img-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f0f0;
}
.o-nas-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.o-nas-intro__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.o-nas-intro__placeholder {
  color: #999;
  font-size: 0.9rem;
  padding: 1rem;
}

/* CTA box – lewy dolny róg zdjęcia */
.o-nas-intro__cta-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
}
.o-nas-intro__cta-icon {
  display: block;
  color: #FCEC25;
  margin-bottom: 0.5rem;
}
.o-nas-intro__cta-text {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.o-nas-intro__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FCEC25;
  text-decoration: none;
  transition: opacity 0.2s;
}
.o-nas-intro__cta-link:hover {
  opacity: 0.9;
  color: #FCEC25;
}
.o-nas-intro__cta-arrow {
  font-size: 1.1em;
}

/* Pasek liczników – jasny pasek pod sekcją */
.o-nas-intro__counters-wrap {
  margin-top: 3rem;
  padding: 2rem 0;
  background: #f8f8f8;
}
.o-nas-intro__counters-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.o-nas-intro__counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
@media (min-width: 768px) {
  .o-nas-intro__counters {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
.o-nas-intro__counter-item {
  text-align: center;
}
.o-nas-intro__counter-value {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .o-nas-intro__counter-value {
    font-size: 3.25rem;
  }
}
.o-nas-intro__counter-number,
.o-nas-intro__counter-suffix {
  display: inline;
}
.o-nas-intro__counter-label {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.3;
}

/* ========== O nas – sekcja 2 (ciemna: tło + żółty gradient, asymetria) ========== */
.o-nas-s2 {
  background: #000000;
  background-image: radial-gradient(ellipse 90% 60% at 0% 0%, rgba(252, 236, 37, 0.12), transparent 55%);
  color: #fff;
  padding: 4rem 0;
}
.o-nas-s2__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.o-nas-s2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .o-nas-s2__grid {
    grid-template-columns: 42% 1fr;
    gap: 3rem;
  }
}
.o-nas-s2__media {
  position: relative;
}
.o-nas-s2__img-wrap {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
}
.o-nas-s2__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.o-nas-s2__content {}
.o-nas-s2__overline {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCEC25;
}
.o-nas-s2__title {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
@media (min-width: 768px) {
  .o-nas-s2__title {
    font-size: 2.25rem;
  }
}
.o-nas-s2__title-accent {
  color: #FCEC25;
}
.o-nas-s2__text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}
.o-nas-s2__text p {
  margin: 0 0 0.75rem;
}
.o-nas-s2__text p:last-child {
  margin-bottom: 0;
}

/* ========== O nas – sekcja 3 (FAQ: akordeon + prawa kolumna) ========== */
.o-nas-faq {
  background: #000000;
  color: #fff;
  padding: 4rem 0;
}
.o-nas-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.o-nas-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.o-nas-faq__overline {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCEC25;
}
.o-nas-faq__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 768px) {
  .o-nas-faq__title {
    font-size: 2.5rem;
  }
}
.o-nas-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 992px) {
  .o-nas-faq__grid {
    grid-template-columns: 60% 1fr;
    gap: 3rem;
  }
}

/* Akordeon – lewa kolumna */
.o-nas-faq__accordion {
  display: flex;
  flex-direction: column;
}
.o-nas-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.o-nas-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.o-nas-faq__trigger:hover {
  color: #FCEC25;
}
.o-nas-faq__item.is-open .o-nas-faq__trigger {
  color: #FCEC25;
}
.o-nas-faq__trigger-text {
  flex: 1;
  padding-right: 1rem;
}
.o-nas-faq__icons {
  flex-shrink: 0;
  position: relative;
  width: 28px;
  height: 28px;
}
.o-nas-faq__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: #FCEC25;
  transition: opacity 0.2s ease;
}
.o-nas-faq__icon--close {
  opacity: 0;
}
.o-nas-faq__item.is-open .o-nas-faq__icon--plus {
  opacity: 0;
}
.o-nas-faq__item.is-open .o-nas-faq__icon--close {
  opacity: 1;
}
.o-nas-faq__answer-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.o-nas-faq__item.is-open .o-nas-faq__answer-wrap {
  max-height: 400px;
}
.o-nas-faq__answer {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Prawa kolumna – zdjęcie w kwadracie (przycięcie, bez rozciągania) */
.o-nas-faq__media {
  position: relative;
}
.o-nas-faq__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #1a1a1a;
}
.o-nas-faq__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ========== Strona Kontakt (page-kontakt.php) – jasne sekcje, formularz czarny, akcenty #FCEC25 ========== */
.kontakt-page {
  color: #333;
}
.kontakt-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sekcja 1: Nasze oddziały – jasne tło, grid 4 kolumny */
.kontakt-page--oddzialy {
  padding: 4rem 0;
  background: #f8f8f8;
}
.kontakt-page--oddzialy .kontakt-page__title {
  color: #000;
}
.kontakt-page__title {
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
@media (min-width: 768px) {
  .kontakt-page__title {
    font-size: 2.5rem;
  }
}
.kontakt-page__empty {
  color: #666;
  text-align: center;
}
.kontakt-oddzialy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .kontakt-oddzialy {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .kontakt-oddzialy {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.kontakt-oddzialy__card {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.kontakt-oddzialy__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
  background: #FCEC25;
  border-radius: 2px;
}
.kontakt-oddzialy__miasto {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.kontakt-oddzialy__line {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.kontakt-oddzialy__line:last-child {
  margin-bottom: 0;
}
.kontakt-oddzialy__icon {
  flex-shrink: 0;
  color: #FCEC25;
  margin-top: 0.15rem;
}
.kontakt-oddzialy__line a {
  color: #000;
  text-decoration: none;
}
.kontakt-oddzialy__line a:hover {
  color: #FCEC25;
}

/* Sekcja 2: Formularz + Informacje – cała sekcja czarna */
.kontakt-page--form {
  padding: 3rem 0 4rem;
  background: #000;
  color: #fff;
}
.kontakt-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 992px) {
  .kontakt-form-grid {
    grid-template-columns: 60% 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.kontakt-form-box {
  padding: 2rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.kontakt-form-box__title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FCEC25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kontakt-form-box__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.kontakt-form-box__row--half .kontakt-form-box__field {
  flex: 1;
  min-width: 0;
}
@media (min-width: 576px) {
  .kontakt-form-box__row--half .kontakt-form-box__field {
    flex: 1;
    min-width: 140px;
  }
}
.kontakt-form-box__field {
  margin: 0 0 1rem;
}
.kontakt-form-box__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.kontakt-form-box__field input,
.kontakt-form-box__field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kontakt-form-box__field input::placeholder,
.kontakt-form-box__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.kontakt-form-box__field input:focus,
.kontakt-form-box__field textarea:focus {
  outline: none;
  border-color: #FCEC25;
  box-shadow: 0 0 0 2px rgba(252, 236, 37, 0.25);
}
.kontakt-form-box__submit {
  margin: 1.5rem 0 0;
}
.kontakt-form-box__btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  background: #FCEC25;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.kontakt-form-box__btn:hover {
  opacity: 0.9;
}
.kontakt-form-box__feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
}
.kontakt-form-box__feedback--success {
  color: #8f8;
}
.kontakt-form-box__feedback--error {
  color: #f88;
}
.kontakt-info__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.kontakt-info__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.kontakt-info__data {
  font-size: 1rem;
}
.kontakt-info__item {
  margin: 0 0 1rem;
}
.kontakt-info__item:last-child {
  margin-bottom: 0;
}
.kontakt-info__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FCEC25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kontakt-info__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.kontakt-info__value a {
  color: #fff;
  text-decoration: none;
}
.kontakt-info__value a:hover {
  color: #FCEC25;
}

/* Sekcja 3: Mapa full width */
.kontakt-page--mapa {
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  background: #f0f0f0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.kontakt-mapa-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  height: 550px;
  overflow: hidden;
}
.kontakt-mapa-wrap iframe {
  display: block;
  width: 100% !important;
  height: 550px !important;
  border: 0;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .kontakt-mapa-wrap {
    height: 400px;
  }
  .kontakt-mapa-wrap iframe {
    height: 400px !important;
    min-width: 100%;
  }
}

/* ========== Archiwum realizacji – grid ========== */
.realizacje-arch {
  padding-bottom: 3rem;
}
@media (max-width: 767px) {
  .realizacje-arch .section__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
.realizacje-arch__header {
  padding: 2rem 0 1rem;
}
.realizacje-arch__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.realizacje-arch__filter {
  background: #000;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}
.realizacje-arch__filter-outer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.realizacje-arch__filter-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.realizacje-arch__filter-arrow:hover {
  background: #FCEC25;
  color: #000;
  border-color: #FCEC25;
}
.realizacje-arch__filter-swiper {
  flex: 1;
  overflow: hidden;
  padding: 0.5rem 0;
}
.realizacje-arch__filter-inner {
  align-items: stretch;
}
.realizacje-arch__filter-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.realizacje-arch__filter-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: none;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.realizacje-arch__filter-item:hover {
  color: #FCEC25;
}
.realizacje-arch__filter-item.is-active,
.realizacje-arch__filter-item[aria-pressed="true"] {
  border-color: #FCEC25;
  color: #FCEC25;
}
.realizacje-arch__filter-img-wrap {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #333;
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) {
  .realizacje-arch__filter-img-wrap {
    max-width: 140px;
  }
}
.realizacje-arch__filter-img--all {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.realizacje-arch__filter-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #444;
  border-radius: 4px;
}
.realizacje-arch__filter-label {
  max-width: 100%;
  line-height: 1.2;
}
.realizacje-arch__content {
  position: relative;
  min-height: 200px;
}
.realizacje-arch__grid-wrap {
  position: relative;
}
.realizacje-arch__loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 3px solid rgba(252, 236, 37, 0.3);
  border-top-color: #FCEC25;
  border-radius: 50%;
  animation: realizacje-arch-spin 0.8s linear infinite;
  z-index: 5;
}
.realizacje-arch__loader[hidden] {
  display: none !important;
}
@keyframes realizacje-arch-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.realizacje-arch__grid-ajax {
  transition: opacity 0.25s ease;
}
.realizacje-arch__grid-ajax.is-loading {
  opacity: 0.4;
  pointer-events: none;
}
.realizacje-arch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 576px) {
  .realizacje-arch__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 992px) {
  .realizacje-arch__grid {
    gap: 2.25rem;
  }
}
.realizacje-arch__card {
  margin: 0;
}
.realizacje-arch__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.realizacje-arch__card-img-wrap {
  display: block;
  position: relative;
  padding-bottom: 65%;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
}
@media (min-width: 576px) {
  .realizacje-arch__card-img-wrap {
    padding-bottom: 68%;
  }
}
.realizacje-arch__card-placeholder {
  position: absolute;
  inset: 0;
  background: #333;
}
.realizacje-arch__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  text-align: center;
}
.realizacje-arch__card-link:hover .realizacje-arch__card-overlay,
.realizacje-arch__card-link:focus .realizacje-arch__card-overlay {
  opacity: 1;
}
.realizacje-arch__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
@media (min-width: 768px) {
  .realizacje-arch__card-title {
    font-size: 1.35rem;
  }
}
.realizacje-arch__card-location {
  font-size: 0.95rem;
  opacity: 0.9;
}
.realizacje-arch__empty {
  text-align: center;
  padding: 2rem;
  color: #666;
}

/* ========== Single Realizacja (portfolio detail) ========== */
.single-realizacja {
  background: #000;
  color: #fff;
}
.single-realizacja__hero {
  width: 100%;
  height: 65vh;
  min-height: 320px;
  max-height: 720px;
  position: relative;
  overflow: hidden;
}
.single-realizacja__hero-img,
.single-realizacja__hero-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
@media (min-width: 1024px) {
  .single-realizacja__hero-img {
    background-attachment: fixed;
  }
}
.single-realizacja__hero-placeholder {
  background: #1a1a1a;
}
.single-realizacja__header {
  padding: 2rem 1.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.single-realizacja__header-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.5rem;
}
.single-realizacja__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.single-realizacja__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: #FCEC25;
  font-size: 1.1rem;
  font-weight: 600;
}
.single-realizacja__location-icon {
  flex-shrink: 0;
  color: #FCEC25;
}
.single-realizacja__location-icon svg {
  display: block;
}
.single-realizacja__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.single-realizacja__meta-item strong {
  color: #fff;
}
.single-realizacja__content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.single-realizacja__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}
.single-realizacja__content h2,
.single-realizacja__content h3,
.single-realizacja__content h4 {
  color: #fff;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
}
.single-realizacja__content h2 { font-size: 1.5rem; }
.single-realizacja__content h3 { font-size: 1.25rem; }
.single-realizacja__content h4 { font-size: 1.1rem; }
.single-realizacja__content p:first-child { margin-top: 0; }
.single-realizacja__content p { margin: 0 0 1em; }
.single-realizacja__content a {
  color: #FCEC25;
  text-decoration: underline;
}
.single-realizacja__content a:hover {
  color: #fff;
}
.single-realizacja__gallery-wrap {
  padding: 0 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.single-realizacja__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .single-realizacja__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.single-realizacja__gallery-item {
  display: block;
  position: relative;
  padding-bottom: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1a;
}
.single-realizacja__gallery-item-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.single-realizacja__gallery-item:hover .single-realizacja__gallery-item-inner,
.single-realizacja__gallery-item:focus .single-realizacja__gallery-item-inner {
  transform: scale(1.05);
  filter: brightness(1.15);
}
.single-realizacja__nav {
  background: #000;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.single-realizacja__nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.single-realizacja__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #000;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  max-width: 45%;
}
.single-realizacja__nav-btn .single-realizacja__nav-arrow {
  color: #FCEC25;
  flex-shrink: 0;
}
.single-realizacja__nav-btn:hover {
  border-color: #FCEC25;
  color: #fff;
}
.single-realizacja__nav-btn--next {
  flex-direction: row-reverse;
  margin-left: auto;
}
.single-realizacja__nav-btn--empty {
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
}
.single-realizacja__nav-back {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  text-decoration: none;
  order: 2;
  flex: 1;
  text-align: center;
}
.single-realizacja__nav-back:hover {
  color: #FCEC25;
}
@media (max-width: 767px) {
  .single-realizacja__nav-inner {
    flex-direction: column;
  }
  .single-realizacja__nav-btn { max-width: 100%; }
  .single-realizacja__nav-back { order: 0; }
}

/* Lightbox single realizacja */
.single-realizacja-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  box-sizing: border-box;
}
.single-realizacja-lightbox.is-open {
  display: flex;
}
.single-realizacja-lightbox__img-wrap {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-realizacja-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
.single-realizacja-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.single-realizacja-lightbox__close:hover {
  background: #FCEC25;
  color: #000;
}
.single-realizacja-lightbox__prev,
.single-realizacja-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FCEC25;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  left: 1rem;
}
.single-realizacja-lightbox__next {
  left: auto;
  right: 1rem;
}
.single-realizacja-lightbox__prev:hover,
.single-realizacja-lightbox__next:hover {
  background: #FCEC25;
  color: #000;
}

/* ========== Single Post (blog wpis) – białe tło, węższa kolumna treści, żółte akcenty ========== */
.single-post {
  background: #ffffff;
  color: #1a1a1a;
  padding: 0 0 5rem;
}
.single-post__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .single-post__inner {
    padding-left: 0;
    padding-right: 0;
  }
}
.single-post__layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 992px) {
  .single-post__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
  .single-post__main {
    flex: 0 0 58%;
    min-width: 0;
  }
  .single-post__sidebar {
    flex: 0 0 calc(42% - 4rem);
    min-width: 0;
    position: sticky;
    top: 2rem;
  }
}
.single-post__featured {
  margin: 0 0 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.single-post__featured-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
@media (min-width: 992px) {
  .single-post__featured {
    margin-bottom: 4rem;
  }
}
.single-post__header {
  margin-bottom: 2rem;
}
.single-post__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #000;
  line-height: 1.2;
}
.single-post__meta {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.single-post__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}
.single-post__content p {
  margin: 0 0 1.25em;
}
.single-post__content p:first-child {
  margin-top: 0;
}
.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
  color: #000;
  font-weight: 700;
  margin: 2em 0 0.5em;
}
.single-post__content h2 { font-size: 1.5rem; }
.single-post__content h3 { font-size: 1.25rem; }
.single-post__content h4 { font-size: 1.1rem; }
.single-post__content a {
  color: #b89f00;
  text-decoration: underline;
}
.single-post__content a:hover {
  color: #000;
}
.single-post__content ul,
.single-post__content ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}
.single-post__content blockquote {
  margin: 2em 0;
  padding-left: 1.5rem;
  border-left: 4px solid #FCEC25;
  color: #333;
}
.single-post__gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .single-post__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.single-post__gallery-item {
  display: block;
  position: relative;
  padding-bottom: 75%;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.single-post__gallery-item-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.single-post__gallery-item:hover .single-post__gallery-item-inner {
  transform: scale(1.03);
}
.single-post__tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.single-post__tags-label {
  font-size: 0.9rem;
  color: #666;
  margin-right: 0.25rem;
}
.single-post__tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.single-post__tag:hover {
  border-color: #FCEC25;
  color: #b89f00;
}
.single-post__nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.single-post__nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.single-post__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  max-width: 45%;
}
.single-post__nav-btn .single-post__nav-arrow {
  color: #b89f00;
  flex-shrink: 0;
}
.single-post__nav-btn:hover {
  border-color: #FCEC25;
  background: #FCEC25;
  color: #000;
}
.single-post__nav-btn:hover .single-post__nav-arrow {
  color: #000;
}
.single-post__nav-btn--next {
  flex-direction: row-reverse;
  margin-left: auto;
}
.single-post__nav-btn--empty {
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
}
.single-post__nav-back {
  color: #666;
  font-size: 0.95rem;
  text-decoration: none;
  order: 2;
  flex: 1;
  text-align: center;
}
.single-post__nav-back:hover {
  color: #b89f00;
}
@media (max-width: 767px) {
  .single-post__nav-inner {
    flex-direction: column;
  }
  .single-post__nav-btn { max-width: 100%; }
  .single-post__nav-back { order: 0; }
}

/* Sidebar „Inne wpisy” */
.single-post-sidebar__title {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b89f00;
}
.single-post-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.single-post-sidebar__item {
  margin: 0 0 1.25rem;
}
.single-post-sidebar__item:last-child {
  margin-bottom: 0;
}
.single-post-sidebar__link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.2s;
}
.single-post-sidebar__link:hover .single-post-sidebar__item-title {
  color: #b89f00;
}
.single-post-sidebar__thumb {
  flex-shrink: 0;
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.single-post-sidebar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-post-sidebar__new {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #FCEC25;
  color: #000;
}
.single-post-sidebar__item-title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
  transition: color 0.2s;
}
.single-post-sidebar__empty {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
