/* Resetowanie domyślnych styli */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 12px;
}

#onas {
  scroll-margin-top: 90px;
}

#realizacje {
  scroll-margin-top: 60px;
}

/* Główna nawigacja */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.top-nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

/* Pionowa linia obok logo */
.vertical-line {
    position: fixed;
    top: 0;
    left: 120px; /* Dostosuj w zależności od pozycji logo */
    width: 2px;
    height: 100vh; /* Pełna wysokość ekranu */
    background: white;
    z-index: 10;
}


.logo img {
    transform: translateX(-10px);
    width: 60px;
    height: auto;

}

.menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.menu ul li a {
    text-decoration: none;
    color: white; /* lub inny pasujący do tła */
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 100;
    transition: color 0.3s;
}

/* Opcjonalny efekt hover — tylko zmiana koloru tekstu */
.menu ul li a:hover {
    color: #e6c81e;
}


/* CTA i przycisk językowy */
/* Przycisk CTA */
/* Sekcja CTA (przycisk + wybór języka) */
.cta {
    display: flex;
    align-items: center;
    gap: 20px; /* Odstęp między elementami */
    height: 100%; /* Dopasowanie do wysokości menu */
}

/* Przycisk CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid white;
    background-color: transparent; /* czerwony */
    color: white;
    transition: background 0.3s ease, transform 0.2s ease;
    position: relative;       /* <--- DODANE */
    z-index: 1;               /* <--- DODANE */
}


/* Okrągła ikona w przycisku */
.cta-button::after {
    content: none;
    font-size: 18px;
    display: inline-block;
}

/* Efekt hover */
.cta-button:hover {
    background-color:rgb(230, 200,30);
}

/* Ikona języka */
.lang-switch {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.lang-switch img {
    width: 100%;
    height: auto;
}

/* Kontener na ikony */
.social-links {
  position: fixed; /* zmiana z fixed */
  bottom: 20px;
  left: 38px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 8;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: white;
  background: none;
  border: 2px solid white;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Efekt hover */
.social-links a:hover {
    background: rgb(230, 200, 30);
    color: white;
}
/* Kontener na główną treść */
/* Główny kontener na treść */


/* Usunięcie marginesów body dla pełnego ekranu */
body {
    margin: 0;
    overflow-x: hidden; /* Zapobiega poziomemu przewijaniu */
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -10; /* Bardzo nisko w tle */
    pointer-events: none; /* Zapobiega blokowaniu kliknięć */
}

.top-nav,
.top-nav::after
.vertical-line,
.social-links,
.content-container {
    position: relative;
    z-index: 1;
}

/* 1) Ustal maksymalną szerokość “prawych” kolumn i wycentruj */
.uslugi-prawa,
.onas-prawa,
.realizacje-prawa,
.klienci-prawa,
.kontakt-prawa {
  max-width: 1200px;   /* możesz dać 1280px jeśli wolisz szerzej */
  margin: 0 auto;
}

/* 2) Usługi – max 3 kolumny, niżej 2, a na mobile 1 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* stały max 3 */
  gap: 40px;
  row-gap: 80px;
}

@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* 3) Kafelki rosną proporcjonalnie — zamiast sztywnego height */
.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;   /* proporcje zdjęcia */
  height: auto;
  object-fit: cover;
}

/* 4) Slidery – wysokość skalowana z ekranem */
.realizacja-swiper {
  width: 100%;
  height: clamp(280px, 28vw, 460px);  /* rośnie do sensownego limitu */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

/* 5) Akapity – elastyczna szerokość czytelna na dużych ekranach */
.uslugi-prawa p,
.realizacje-prawa p {
  max-width: 72ch;   /* ~65–75 znaków w wierszu */
}




.section-uslugi {
    background-color:transparent;
    color: black;
    padding: 0;
    position: relative;
    z-index: 1;
  }
  
  .uslugi-prawa h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
  
  .uslugi-prawa p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 40px; /* <-- Dodany odstęp pod tekstem */

  }
  
  .uslugi-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
  }

  .uslugi-lewa {
    width: 120px; /* dokładnie jak .vertical-line left: 120px */
    background-color: transparent; /* lub np. rgba(255,255,255,0.05) */
  }

  .uslugi-prawa {
    flex: 1;
    padding: 120px 60px;
    background-color: white;
  }
  


  .hero {
    height: 100vh;
    width: 100%;
    
  }

  .top-nav.nav-active {
    background-color: white;
  }
  .top-nav.nav-active a {
    color: black !important;
  }
  .cta-button.nav-active {
    border-color: black;
    color: black;
  }
  .cta-button.nav-active::after {
    color: black;
  }
  .top-nav.nav-active .menu ul li a:hover {
    color: #e6c81e !important;
}
  
  .vertical-blur-blur {
    position: relative;
    overflow: hidden;
}

.vertical-blur-blur::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    filter: blur(6px); /* klasyczny filtr zamiast backdrop */
    background-color: rgba(255, 255, 255, 0.15);
    z-index: -1; /* za tłem */
}

  .vertical-line.nav-active {
    background: black;
  }
  .top-nav.nav-active::after {
    background: black;
  }
  

  .hero.blur-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.1); /* opcjonalne przyciemnienie */
    z-index: -1;
  }
  

  .background-video.blurred {
    filter: blur(6px) brightness(1.1) contrast(0.95);
    opacity: 0.9;
    transition: filter 0.4s ease, opacity 0.4s ease;
  }

  .section-uslugi h2::after {
    content: "";
    display: inline;
    color: #e6c81e; /* żółty kolor */
    font-weight: bold;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    margin-left: 10px;
  }
  
  /* Kiedy navbar ma klasę .nav-active — pokazujemy kreski */
  .nav-active ~ #uslugi .section-uslugi h2::after {
    content: "\\\\";
    opacity: 1;
    transform: translateX(5px);
  }

/* Kreski po H2 "Usługi" */
#uslugi h2.kreseczki::after {
  content: " \\\\";
  color: #e6c81e; /* żółty */
  font-weight: bold;
  font-size: 36px;
  margin-left: 12px;
  opacity: 1;
  transition: all 0.3s ease;
}

.services {
  background: white;
  padding: 100px 60px;
  text-align: center;
}

.services-heading {
  font-size: 40px;
  margin-bottom: 60px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.services-grid {
  display: grid;
  gap: 40px;
  row-gap: 80px;
  margin-bottom: 20px;
}

.service-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #111;
}

.service-card p {
  font-size: 16px;
  padding: 0 20px 30px;
  color: #555;
}

.section-onas {
  background-color: transparent;
  color: black;
  padding: 0;
  position: relative;
  z-index: 1;
  margin-top: -80px;
}

.onas-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.onas-lewa {
  width: 120px;
  background-color: transparent;
  position: relative;
}

.onas-prawa {
  flex: 1;
  display: flex;
  flex-direction: row;
  padding: 20px 60px;
  background-color: white;
}

.onas-prawa h2 {
  font-size: 42px;
  margin-bottom: 30px;
  position: relative;
}

/* Efekt \\ */
#onas h2.kreseczki::after {
  content: " \\\\";
  color: #e6c81e;
  font-weight: bold;
  font-size: 36px;
  margin-left: 12px;
  opacity: 1;
  transition: all 0.3s ease;
}

.onas-tekst {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 40px;
}

.onas-tekst h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.onas-tekst p {
  font-size: 18px;
  line-height: 1.8;
  color: #111;
}

.onas-foto {
  flex: 1;
  background-image: url('../images/onas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* <<< efekt paralaksy */
  border-radius: 8px;
}


.section-statystyki {
  background-color: transparent;
  color: #1c3653;
  padding: 0;
  position: relative;
  z-index: 1;
}

.statystyki-wrapper {
  display: flex;
  flex-direction: row;
  height: 140px;
}

.statystyki-lewa {
  width: 120px;
  background-color: transparent;
}

.statystyki-prawa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px;
  background-color: #e6c81e;
}

.stat-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 60px;
}

.stat {
  text-align: center;
}

.stat .number {
  font-size: 52px;
  font-weight: bold;
}

.stat p {
  font-size: 20px;
  margin-top: 10px;
}

.divider {
  width: 2px;
  height: 80px;
  background-color: white;
  align-self: center;
}


.section-realizacje {
  background-color: transparent;
  color: black;
  padding: 0;
  position: relative;
  z-index: 1;
}

.realizacje-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.realizacje-lewa {
  width: 120px;
  background-color: transparent;
}

.realizacje-prawa {
  flex: 1;
  padding: 70px 60px;
  background-color: white;
}

.realizacje-prawa h2 {
  font-size: 42px;
  margin-bottom: 30px;
  position: relative;
}

.realizacje-prawa p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin-bottom: 40px;
}

/* Kreski jak w innych sekcjach */
#realizacje h2.kreseczki::after {
  content: " \\\\";
  color: #e6c81e;
  font-weight: bold;
  font-size: 36px;
  margin-left: 12px;
  opacity: 1;
  transition: all 0.3s ease;
}

/* Galeria realizacji */
.realizacje-galeria {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.realizacje-galeria img {
  width: calc(33.333% - 13.33px);
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.realizacje-galeria img:hover {
  transform: scale(1.05);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* dwie kolumny */
  gap: 40px;
  margin-top: 60px;
}


.realizacje-kolumna {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.realizacja-blok {
  display: grid;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.realizacja-blok img {
  width: 100%;
  height: 300px; /* lub inna stała wysokość */
  object-fit: cover; /* przytnij proporcjonalnie */
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}


.realizacja-blok img:hover {
  transform: scale(1.02);
}

.opis-realizacji {
  font-size: 18px;
  margin-top: 12px;
  color: #333;
  max-width: 700px;
}

.realizacja-blok {
  text-align: center;
}

.realizacja-swiper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.realizacja-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #e6c81e;
}

/* Pozycjonowanie slajdu */
.swiper-slide {
  position: relative;
}

/* Overlay (opis na hover) */
.realizacja-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

/* Pokaż overlay po najechaniu na slajd */
.realizacja-swiper.overlay-visible .realizacja-overlay {
  opacity: 1;
}

.swiper-pagination-bullet {
  background: #e6c81e !important; /* kolor kropek nieaktywnych */
  opacity: 0.4 !important;
}

.swiper-pagination-bullet-active {
  background: #e6c81e !important; /* aktywna kropka */
  opacity: 1 !important;
}

.section-klienci {
  background-color: transparent;
  color: black;
  padding: 0;
  position: relative;
  z-index: 1;
}

.klienci-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 50vh;
}

.klienci-lewa {
  width: 120px;
  background-color: transparent;
}

.klienci-prawa {
  flex: 1;
  padding: 30px 60px;
  background-color: white;
}

.klienci-prawa h2 {
  font-size: 42px;
  margin-bottom: 20;
  position: relative;
}

.klienci-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.klient-logo {
  position: relative;
  width: 160px;
  height: auto;
  aspect-ratio: 3 / 2; /* albo inna proporcja */
}

.klient-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}
.grid-margin-top {
  margin-top: -60px; /* lub np. 60px */
}
.logo-color {
  opacity: 0;
  z-index: 1;
}

.logo-grey {
  opacity: 1;
  z-index: 2;
}

.klient-logo:hover .logo-color {
  opacity: 1;
}

.klient-logo:hover .logo-grey {
  opacity: 0;
}

#klienci h2.kreseczki::after {
  content: " \\\\";
  color: #e6c81e;
  font-weight: bold;
  font-size: 36px;
  margin-left: 12px;
  opacity: 1;
  transition: all 0.3s ease;
}
.section-kontakt {
  background-color:transparent; /* żółte tło */
  color: #111;
  padding: 0;
  position: relative;
  z-index: 1;
}

.kontakt-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 80vh;
}

.kontakt-lewa {
  width: 120px;
  background-color: transparent;
}

.kontakt-prawa {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #e6c81e;
}

.kontakt-prawa h2 {
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
}

.kontakt-opis {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.6;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kontakt-item {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.kontakt-item i {
  font-size: 22px;
}

.kontakt-item a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.kontakt-item a:hover {
  color: #000;
}

.kontakt-dolny {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

.kontakt-info,
.kontakt-firma {
  flex: 1;
  min-width: 260px;
}

.kontakt-firma p {
  margin: 4px 0;
  font-size: 18px;
  color: #111;
}
.kontakt-info,
.kontakt-firma {
  align-self: flex-start;
}
.kontakt-dolny {
  align-items: flex-start;
}

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    padding: 12px 20px;
  }

  .vertical-line,
  .uslugi-lewa,
  .onas-lewa,
  .realizacje-lewa,
  .klienci-lewa,
  .kontakt-lewa {
    display: none;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .cta {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }

  .uslugi-prawa,
  .onas-prawa,
  .realizacje-prawa,
  .klienci-prawa,
  .kontakt-prawa {
    padding: 30px 20px;
  }

  .realizacje-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-box {
    flex-direction: column;
    gap: 20px;
  }

  .divider {
    display: none;
  }

  .kontakt-dolny {
    flex-direction: column;
    gap: 30px;
  }

  .service-card img {
    height: 160px;
  }

  .menu ul li a {
    font-size: 18px;
  }

  .top-nav::after {
    display: none;
  }

  .background-video {
    object-fit: cover;
    height: 100%;
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  height: 25px;
  z-index: 99;

  position: absolute;
  top: 20px;
  right: 20px;
}

.hamburger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  
}
.top-nav.nav-active .hamburger span {
  background: black;
}


/* Aktywna animacja hamburgera */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {

  .cta-button,
  .lang-switch {
    display: none !important;
}
  .hamburger {
    display: flex;
  }

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.4s ease-in-out;
  z-index: 99;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.menu.open {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  z-index: 100;
}

.onas-foto {
  display: none;
}

.onas-prawa {
  flex-direction: column;
  padding: 30px 20px;
}

.onas-tekst {
  padding-right: 0;
}
.section-statystyki {
  display: none;
}
  .klienci-grid {
    flex-direction: column;
    align-items: center;
    gap: 12px; /* mniejsze odstępy */
    padding: 0 10px;
  }

  
  .klient-logo {
    width: 150px;
    height: auto;
  }

  .klient-logo {
  position: relative;
  width: 150px;
  height: auto;
}

.klient-logo img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.logo-color {
  opacity: 0;
  z-index: 1;
}

.logo-grey {
  opacity: 1;
  z-index: 2;
}

.klient-logo:hover .logo-color {
  opacity: 1;
}

  #klienci {
    display: none !important;
  }

   .onas-wrapper {
    min-height: auto !important;
  }

 .klient-logo img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  display: block;
  position: relative; /* zmieniono z absolute */
}


.menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.menu ul li a {
  font-size: 22px;
  text-decoration: none;
  color: #111;
  font-weight: 300;
  transition: color 0.3s;
}

.menu ul li a:hover {
  color: #e6c81e;
}
  nav.menu ul li a[href="#klienci"] {
    display: none;
  }

   .mobile-only-hide {
    display: none !important;
  }
  
}

.kontakt-prawa h2,
.kontakt-opis {
  position: relative;
  top: -30px;
}



/* kolor tekstu nagłówka */
/* Kolor samego słowa "kontakt" */
#kontakt h2.kreseczki {
  color: black; /* lub inny */
}

/* Kolor kreseczek */
#kontakt h2.kreseczki .kreseczki-biale {
  color: white;
  font-size: 35px;
}


.realizacja-swiper .swiper-slide img {
  filter: blur(2px);
  transition: filter 0.4s ease;
}

.realizacja-swiper.hover-active .swiper-slide img {
  filter: blur(0);
}


.blur-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.realizacja-swiper.hover-active .blur-title {
  opacity: 0;
}

/* Domyślnie overlay ukryty, gdy slider ma blur */
.realizacja-swiper:not(.hover-active) .realizacja-overlay {
  opacity: 0 !important;
}

/* Po najechaniu (hover-active) pokazujemy overlay */
.realizacja-swiper.hover-active .realizacja-overlay {
  opacity: 1 !important;
}


:root { --content-max: 1200px; } /* jedna gałka szerokości */

.uslugi-prawa,
.onas-prawa,
.realizacje-prawa,
.klienci-prawa,
.kontakt-prawa {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* USŁUGI – stały układ na desktopie */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  row-gap: 80px;
}

/* REALIZACJE – dwa słupki na desktopie, wysokość płynna */
.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.realizacja-swiper {
  height: clamp(280px, 28vw, 460px);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

/* Czytelna szerokość akapitów */
.uslugi-prawa p,
.realizacje-prawa p,
.onas-prawa p,
.kontakt-opis {
  max-width: 100%;
}

/* Obrazki w kartach usług proporcjonalnie */
.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* Breakpointy spójne */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .realizacje-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ====== USTAWIENIA GLOBALNE DLA DESKTOP (WSZYSTKIE MONITORY) ====== */
:root { --content-max: 1200px; } /* stała szerokość treści na desktop */

.uslugi-prawa,
.onas-prawa,
.realizacje-prawa,
.klienci-prawa,
.kontakt-prawa {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Karty usług – stały układ na desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* zawsze 3 kolumny */
  gap: 40px;
  row-gap: 80px;
}

/* Realizacje – stały układ na desktop */
.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* zawsze 2 kolumny */
  gap: 40px;
}

/* Slider – jedna wysokość niezależnie od monitora */
.realizacja-swiper {
  height: 420px;      /* stała wysokość na desktop */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

/* Obrazki w kartach – jedna logika (usuń inne definicje z height:200px) */
.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* Wyrównanie wysokości kart, żeby nic nie "podskakiwało" */
.services-grid { align-items: stretch; }
.service-card { display: flex; flex-direction: column; }
.service-card h3, .service-card p { margin: 0 20px; }
.service-card h3 { margin-top: 20px; }
.service-card p  { margin-top: 10px; margin-bottom: 30px; }

/* ====== MOBILE (TELEFONY) – JEDEN WIDOK ====== */
@media (max-width: 768px) {
  /* Jeden słupek na telefonie */
  .services-grid { grid-template-columns: 1fr; }
  .realizacje-grid { grid-template-columns: 1fr; }
  
  /* Slider na telefonie – niższy */
  .realizacja-swiper { height: 260px; }

  /* Reszta Twoich istniejących mobile-reguł może zostać bez zmian */
}
.uslugi-prawa,
.onas-prawa,
.realizacje-prawa,
.klienci-prawa,
.kontakt-prawa {
  width: 100%;            /* pełna szerokość monitora */
  max-width: none;        /* usunięcie ograniczenia */
  margin: 0;              /* brak auto-centrowania */
  padding-left: 120px;    /* dokładnie jak linia po lewej */
  padding-right: 60px;    /* trochę luzu po prawej */
  background-color: white;
  box-sizing: border-box; /* żeby padding liczył się do szerokości */
}
.kontakt-prawa {
  background-color: #e6c81e !important;
}
