/* ===== RESET I PODSTAWY ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; color: #1a1a2e;
  background: #fafbfd;
  background-image:
    /* Duże, rozmyte tło obrazkowe po lewej */
    linear-gradient(to right, rgba(250,251,253,0.95) 40%, rgba(250,251,253,1) 70%),
    url("obrazy/panorama-wspolnota.webp");
  background-size: 100% 100%, cover;
  background-attachment: fixed;
  background-position: left center;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2b6cb0; text-decoration: none; transition: color 0.2s; }
a:hover { color: #8b1a3a; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(43,108,176,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 90% 80%, rgba(139,26,58,0.02) 0%, transparent 70%);
  pointer-events: none;
}
.section-dark { background: #1a2a4a; color: #fff; }
.section-gray { background: #f8f9fa; position: relative; }
.section-gray::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 5% 30%, rgba(43,108,176,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 95% 70%, rgba(139,26,58,0.03) 0%, transparent 70%);
  pointer-events: none;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #1a2a4a; }
h1 { font-size: clamp(3.5rem, 10vw, 7rem); line-height: 0.9; }
.hero__h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  animation: typoWjezdza 0.9s ease-out 0.3s both;
}
@keyframes typoWjezdza {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animacje reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.pokaz {
  opacity: 1;
  transform: translateY(0);
}

/* Animacja plynna - petla */
@keyframes plynnaPozycja {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.anim-plynna {
  animation: plynnaPozycja 3s ease-in-out infinite;
}

/* Tasma wielka - animowany tekst */
.tasma-wielka {
  overflow: hidden;
  white-space: nowrap;
  background: #8b1a3a;
  padding: 16px 0;
}
.tasma-wielka__tekst {
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  animation: tasmaPrzewij 25s linear infinite;
  padding-right: 80px;
}
@keyframes tasmaPrzewij {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Staty - wielkie liczby */
.staty__liczba {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
}
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.etykieta {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8rem; font-weight: 700; color: #2b6cb0; margin-bottom: 8px;
}
.section-dark .etykieta { color: #6aabdf; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: linear-gradient(90deg, #2b6cb0, #4a8fd4);
  border-radius: 2px; margin: 20px auto 0;
}
.section-lead { font-size: 1.1rem; color: #5d6b7e; margin-top: 12px; }
.section-dark .section-lead { color: #b0c4de; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-weight: 600; font-size: 0.95rem;
  border-radius: 8px; transition: all 0.2s; cursor: pointer;
  border: none; font-family: inherit; text-decoration: none;
}
.btn-primary { background: #8b1a3a; color: #fff; }
.btn-primary:hover { background: #a01e45; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139,26,58,0.3); }
.btn-secondary { background: transparent; color: #2b6cb0; border: 2px solid #2b6cb0; }
.btn-secondary:hover { background: #2b6cb0; color: #fff; }
.btn-white { background: #fff; color: #1a2a4a; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== NAGŁÓWEK ===== */
.naglowek {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #1a2a4a; color: #fff; height: 72px;
  transition: box-shadow 0.2s;
}
.naglowek--cien { box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.naglowek__wewnatrz {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.naglowek__logo {
  display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
}
.naglowek__logo:hover { color: #fff; }
.naglowek__logo-tekst { display: flex; flex-direction: column; line-height: 1.2; }
.naglowek__logo-tekst strong { font-size: 1.15rem; }
.naglowek__logo-tekst small { font-size: 0.7rem; opacity: 0.8; letter-spacing: 0.05em; }
.naglowek__tel {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 0.9rem; white-space: nowrap;
}
.naglowek__tel:hover { color: #6aabdf; }
.naglowek__nav { display: flex; align-items: center; gap: 4px; }
.naglowek__link {
  padding: 8px 14px; color: #fff; font-size: 0.85rem; font-weight: 500;
  border-radius: 6px; transition: background 0.2s; text-decoration: none;
}
.naglowek__link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.naglowek__link--aktywny { background: rgba(255,255,255,0.15); font-weight: 600; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 4px; background: none;
  border: none; cursor: pointer; z-index: 1001;
}
.hamburger span { display: block; width: 100%; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }
.hamburger--aktywne span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger--aktywne span:nth-child(2) { opacity: 0; }
.hamburger--aktywne span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO SLAJDER ===== */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background: #1a2a4a; color: #fff; overflow: hidden; padding-top: 72px;
}
.hero__slajdy { position: absolute; inset: 0; z-index: 0; }
.hero__slajd {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}
.hero__slajd--aktywny {
  opacity: 1;
  animation: heroKenBurns 7s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__przyciemnienie {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(15,25,46,0.88) 30%, rgba(26,42,74,0.45) 75%, rgba(26,42,74,0.35));
}
.hero__tresc { position: relative; z-index: 2; max-width: 700px; padding: 90px 0 110px; }
.hero__strzalka {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.2rem;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.hero__strzalka:hover { background: rgba(43,108,176,0.85); transform: translateY(-50%) scale(1.08); }
.hero__strzalka--poprz { left: 20px; }
.hero__strzalka--nast { right: 20px; }
.hero__kropki {
  position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero__kropka {
  width: 34px; height: 4px; border: none; border-radius: 2px;
  background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
  transition: background 0.3s;
}
.hero__kropka--aktywna { background: #4a8fd4; }
.hero__h1 { font-size: clamp(3.5rem, 10vw, 7rem); color: #fff; margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero__tresc { position: relative; z-index: 1; max-width: 700px; padding: 60px 0; }
.hero__lead { font-size: 1.15rem; color: #cdd9e8; max-width: 560px; margin-bottom: 32px; line-height: 1.7; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__lista { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__lista span {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: #b0c4de;
}
.hero__lista span::before {
  content: ''; display: inline-block; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%234a8fd4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* ===== PRZED / PO ===== */
.przed-po { margin: 32px 0; }
.przed-po__item { margin: 0; border-radius: 16px; overflow: hidden; }
.przed-po__item img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

/* ===== OFERTA BANER ===== */
.oferta-baner {
  position: relative; padding: 64px 32px; margin-bottom: 32px;
  background-size: cover; background-position: center; border-radius: 16px;
  overflow: hidden; min-height: 240px; display: flex; align-items: flex-end;
}
.oferta-baner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,42,74,0.85) 20%, rgba(26,42,74,0.2) 70%);
}
.oferta-baner__tresc { position: relative; z-index: 1; color: #fff; max-width: 500px; }
.oferta-baner__tresc h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.oferta-baner__tresc p { color: #b0c4de; font-size: 0.95rem; }

/* ===== STRONA PODSTRONY (hero) ===== */
.strona-hero {
  position: relative; overflow: hidden;
  background: #1a2a4a; color: #fff;
  padding: 120px 0 60px; text-align: center;
}
.strona-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.28;
}
.strona-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(26,42,74,0.55), rgba(26,42,74,0.85));
}
.strona-hero .container { position: relative; z-index: 1; }
.strona-hero h1 { color: #fff; margin-bottom: 12px; }
.strona-hero__lead { color: #b0c4de; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== BANER PARALLAX ===== */
.baner {
  position: relative; padding: 96px 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  color: #fff; text-align: center;
}
.baner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(15,25,46,0.78), rgba(26,42,74,0.72));
}
.baner .container { position: relative; z-index: 1; }
.baner h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.baner p { color: #cdd9e8; font-size: 1.1rem; margin-bottom: 28px; }
@media (max-width: 900px) { .baner { background-attachment: scroll; } }

/* ===== KARTY USŁUG ===== */
.karty-2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.karty-2 .karta { width: calc(50% - 12px); max-width: 500px; }
@media (max-width: 900px) {
  .karty-2 .karta { width: 100%; max-width: none; }
}
.karta {
  background: #fff; border: 1px solid #e9ecef; border-radius: 12px;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.karta:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.karta__zdjecie { aspect-ratio: 16/9; overflow: hidden; }
.karta__zdjecie img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.karta:hover .karta__zdjecie img { transform: scale(1.05); }
.karta__tresc { padding: 24px; }
.karta__tresc h3 { margin-bottom: 8px; }
.karta__tresc p { font-size: 0.9rem; color: #5d6b7e; margin-bottom: 16px; line-height: 1.6; }
.karta__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; font-size: 0.85rem; color: #2b6cb0;
}

/* ===== ZAUFANIE ===== */
.zaufanie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.zaufanie-item {
  text-align: center; padding: 32px 16px;
  background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.zaufanie-item__liczba { font-size: 2rem; font-weight: 900; color: #2b6cb0; display: block; }
.zaufanie-item__opis { font-size: 0.85rem; color: #5d6b7e; margin-top: 4px; }

/* ===== PROCES ===== */
.proces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proces-krok { text-align: center; position: relative; }
.proces-krok:not(:last-child)::after {
  content: ''; position: absolute; top: 28px; left: calc(50% + 28px);
  right: calc(-50% + 28px); height: 2px; background: #dee2e6; z-index: 0;
}
.proces-krok__num {
  width: 56px; height: 56px; border-radius: 50%; background: #2b6cb0;
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.3rem; font-weight: 700; position: relative; z-index: 1;
}
.proces-krok h3 { font-size: 1rem; margin-bottom: 6px; }
.proces-krok p { font-size: 0.85rem; color: #5d6b7e; margin: 0; }

/* ===== FAQ ===== */
.faq-lista { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; }
.faq-item summary {
  padding: 18px 24px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #2b6cb0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__o { padding: 0 24px 18px; font-size: 0.9rem; color: #5d6b7e; }

/* ===== CTA ===== */
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content p { font-size: 1.1rem; color: #b0c4de; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== KONTAKT ===== */
.kontakt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.formularz { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formularz__pole { display: flex; flex-direction: column; gap: 4px; }
.formularz__pole--full { grid-column: 1 / -1; }
.formularz label { font-size: 0.85rem; font-weight: 600; color: #1a1a2e; }
.formularz input, .formularz select, .formularz textarea {
  padding: 12px 16px; border: 1px solid #ced4da; border-radius: 8px;
  font-size: 1rem; font-family: inherit; transition: border-color 0.2s;
}
.formularz input:focus, .formularz select:focus, .formularz textarea:focus {
  outline: none; border-color: #2b6cb0; box-shadow: 0 0 0 3px rgba(43,108,176,0.1);
}
.formularz__submit { grid-column: 1 / -1; justify-content: center; padding: 14px; }
.kontakt-dane { display: flex; flex-direction: column; gap: 16px; }
.kontakt-karta {
  background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 12px; padding: 24px;
}
.kontakt-karta h3 { margin-bottom: 16px; font-size: 1.1rem; }
.kontakt-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.kontakt-item svg { flex-shrink: 0; margin-top: 2px; }
.kontakt-item strong { display: block; font-size: 0.8rem; color: #5d6b7e; }
.kontakt-item a, .kontakt-item span { font-size: 0.95rem; font-weight: 600; }
.kontakt-godziny__row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid #dee2e6; }

/* ===== MAPA WOJEWÓDZTW ===== */
.mapa-uklad { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mapa-kontener { background: #f8f9fa; border-radius: 12px; padding: 24px; border: 1px solid #dee2e6; }
.mapa-svg { width: 100%; height: auto; }
.miasto-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px;
  background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px;
  font-size: 0.85rem; font-weight: 500; color: #1a1a2e; text-decoration: none;
  transition: all 0.2s;
}
.miasto-link:hover { background: #2b6cb0; color: #fff; border-color: #2b6cb0; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card {
  background: #fff; border: 1px solid #dee2e6; border-radius: 12px; padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.blog-card__meta { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.8rem; }
.blog-card__kat { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: #2b6cb0; }
.blog-card__data { color: #adb5bd; }
.blog-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-card h2 a { color: #1a2a4a; text-decoration: none; }
.blog-card h2 a:hover { color: #2b6cb0; }
.blog-card p { font-size: 0.9rem; color: #5d6b7e; margin-bottom: 16px; }

/* ===== KARIERA ===== */
.kariera-oferta {
  background: #fff; border: 1px solid #dee2e6; border-radius: 12px; padding: 24px; margin-bottom: 16px;
}
.kariera-oferta__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kariera-oferta__wymiar { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #2b6cb0; background: rgba(43,108,176,0.08); padding: 4px 10px; border-radius: 4px; font-weight: 600; }
.kariera-oferta__lokalizacja { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #5d6b7e; margin: 8px 0 12px; }

/* ===== OPINIE ===== */
.opinie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.opinia {
  background: #fff; border: 1px solid #dee2e6; border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column;
}
.opinia__tekst { font-size: 0.9rem; line-height: 1.7; color: #1a1a2e; flex: 1; margin-bottom: 16px; }
.opinia__autor { font-weight: 700; font-size: 0.85rem; color: #1a2a4a; }
.opinia__rola { font-size: 0.8rem; color: #5d6b7e; }

/* ===== STOPKA ===== */
.stopka { background: #1a2a4a; color: #fff; padding: 60px 0 0; }
.stopka__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.stopka h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.stopka p { font-size: 0.85rem; color: #b0c4de; line-height: 1.6; margin-bottom: 16px; }
.stopka a { color: #b0c4de; font-size: 0.85rem; }
.stopka a:hover { color: #fff; }
.stopka ul li { margin-bottom: 8px; }
.stopka__dol {
  margin-top: 40px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #6c757d;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 900px) {
  .grid-4, .zaufanie-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .karty-2 { grid-template-columns: 1fr; }
  .proces-grid { grid-template-columns: repeat(2, 1fr); }
  .proces-krok:not(:last-child)::after { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .opinie-grid { grid-template-columns: 1fr; }
  .mapa-uklad { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .stopka__grid { grid-template-columns: 1fr 1fr; }
  .naglowek__nav {
    position: fixed; top: 0; right: -100%; width: 300px; max-width: 80vw;
    height: 100vh; background: #1a2a4a; flex-direction: column;
    padding: 90px 24px 24px; transition: right 0.3s; box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    align-items: flex-start;
  }
  .naglowek__nav--otwarte { right: 0; }
  .naglowek__link { width: 100%; padding: 12px 16px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .naglowek__tel { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .grid-4, .zaufanie-grid, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .proces-grid { grid-template-columns: 1fr; }
  .karty-2 { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .formularz { grid-template-columns: 1fr; }
  .stopka__grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}

/* ===== PASEK GÓRNY (kontakt) ===== */
.pasek-gora { background: #0f1a30; color: #b0c4de; font-size: 0.78rem; padding: 6px 0; }
.pasek-gora .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pasek-gora a { color: #fff; font-weight: 600; }
.pasek-gora a:hover { color: #6aabdf; }
.pasek-gora__info { display: flex; gap: 16px; }
@media (max-width: 640px) { .pasek-gora__info span:first-child { display: none; } }

/* ===== PROMOCJE ===== */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo-karta {
  position: relative; background: linear-gradient(145deg, #1a2a4a, #25406e);
  border-radius: 14px; padding: 28px 24px; color: #fff; overflow: hidden;
  border: 1px solid rgba(106,171,223,0.25);
}
.promo-karta::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(139,26,58,0.5), transparent 70%); border-radius: 50%;
}
.promo-karta__odznaka {
  display: inline-block; background: #8b1a3a; color: #fff; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; position: relative; z-index: 1;
}
.promo-karta h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; position: relative; z-index: 1; }
.promo-karta p { color: #b0c4de; font-size: 0.88rem; margin: 0; position: relative; z-index: 1; }

/* ===== CENNIK ===== */
.cennik-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.cennik-karta {
  background: #fff; border: 1px solid #dee2e6; border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.cennik-karta:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,42,74,0.12); }
.cennik-karta--wyrozniony { border: 2px solid #8b1a3a; }
.cennik-karta__odznaka {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #8b1a3a; color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 6px 18px; border-radius: 20px; white-space: nowrap;
}
.cennik-karta__cena { font-size: 2.2rem; font-weight: 900; color: #1a2a4a; margin: 12px 0 4px; }
.cennik-karta__cena small { font-size: 0.9rem; font-weight: 600; color: #5d6b7e; }
.cennik-karta ul { margin: 20px 0 28px; flex: 1; }
.cennik-karta ul li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem;
  color: #1a1a2e; padding: 7px 0; border-bottom: 1px dashed #e9ecef;
}
.cennik-karta ul li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== GALERIA ===== */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galeria__item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.galeria__item:hover img { transform: scale(1.06); }
.galeria__item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(26,42,74,0.9)); color: #fff;
  font-size: 0.85rem; font-weight: 600;
}

/* ===== STATYSTYKI NA CIEMNYM ===== */
.staty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.staty__liczba { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #6aabdf; }
.staty__opis { font-size: 0.9rem; color: #b0c4de; margin-top: 4px; }

/* ===== ATUSTY/WSPOLPRACA - logotypy marek ===== */
.marki { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.marki span {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #b0c4de; padding: 8px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 600;
}

@media (max-width: 900px) {
  .promo-grid, .cennik-grid { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .staty { grid-template-columns: repeat(2, 1fr); }
}

/* ===== DODATKOWE ELEMENTY GRAFICZNE (zeby nie bylo "pusto") ===== */
/* Duze koła dekoracyjne w sekcjach */
.section { overflow: hidden; }
.section::before, .section::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.section::before {
  width: 600px; height: 600px; left: -300px; top: -300px;
  background: radial-gradient(circle, rgba(43,108,176,0.04) 0%, transparent 70%);
}
.section::after {
  width: 400px; height: 400px; right: -200px; bottom: -200px;
  background: radial-gradient(circle, rgba(139,26,58,0.03) 0%, transparent 70%);
}
.section-dark::before, .section-dark::after { opacity: 0.25; }
.section-gray::before {
  background: radial-gradient(circle, rgba(43,108,176,0.05) 0%, transparent 70%);
}
.section-gray::after {
  background: radial-gradient(circle, rgba(139,26,58,0.04) 0%, transparent 70%);
}

/* Akcentowa linia na górze kart */
.karta {
  position: relative;
}
.karta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2b6cb0, #8b1a3a);
  z-index: 1;
}

/* Cień pod nagłówkiem sekcji z gradientem */
.section-header {
  position: relative; z-index: 1;
}

/* Wszystkie elementy w kontenerze na wierzchu */
.container { position: relative; z-index: 2; }

/* ==== WIĘCEJ GRAFIKI W TLE - USUWANIE PUSTYCH MIEJSC ==== */
/* Tło obrazkowe strony - już jest w body, teraz wzmacniamy koła w sekcjach */
.section::before {
  width: 1000px !important; height: 1000px !important;
  left: -500px !important; top: -300px !important;
  background: radial-gradient(circle, rgba(43,108,176,0.12) 0%, transparent 70%) !important;
}
.section::after {
  width: 800px !important; height: 800px !important;
  right: -400px !important; bottom: -200px !important;
  background: radial-gradient(circle, rgba(139,26,58,0.1) 0%, transparent 70%) !important;
}
.section-gray {
  background: rgba(248,249,250,0.9) !important;
}
.section {
  background: rgba(250,251,253,0.92) !important;
}
.section-dark {
  background: #1a2a4a !important;
}

/* Dodatkowy wzór w tle body - siatka */
body {
  background-image:
    linear-gradient(to right, rgba(250,251,253,0.96) 35%, rgba(250,251,253,1) 65%),
    url("obrazy/panorama-wspolnota.webp"),
    radial-gradient(circle at 2px 2px, rgba(43,108,176,0.07) 1px, transparent 0) !important;
  background-size: 100% 100%, cover, 40px 40px !important;
}

/* ==== WYPEŁNIENIE BIAŁYCH MIEJSC PO BOKACH - WIDOCZNE ELEMENTY ==== */
/* Dodatkowe pseudo-elementy dla sekcji - widoczne kształty */
.section {
  background: 
    /* Wzór kropek w tle */
    radial-gradient(circle at 20px 20px, rgba(43,108,176,0.08) 2px, transparent 0),
    radial-gradient(circle at 60px 60px, rgba(139,26,58,0.06) 2px, transparent 0),
    linear-gradient(to bottom, rgba(250,251,253,0.95), rgba(250,251,253,0.98)) !important;
  background-size: 80px 80px, 80px 80px, 100% 100% !important;
  background-position: 0 0, 40px 40px, 0 0 !important;
}

.section-gray {
  background: 
    radial-gradient(circle at 20px 20px, rgba(43,108,176,0.1) 2px, transparent 0),
    radial-gradient(circle at 60px 60px, rgba(139,26,58,0.08) 2px, transparent 0),
    linear-gradient(to bottom, rgba(248,249,250,0.95), rgba(248,249,250,0.98)) !important;
  background-size: 80px 80px, 80px 80px, 100% 100% !important;
  background-position: 0 0, 40px 40px, 0 0 !important;
}

/* Dekoracyjne linie po bokach kontenera */
.container::before, .container::after {
  content: ''; position: fixed; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(43,108,176,0.15), transparent);
  pointer-events: none; z-index: 0;
}
.container::before { left: calc(50% - 600px); }
.container::after { right: calc(50% - 600px); 
  background: linear-gradient(to bottom, transparent, rgba(139,26,58,0.12), transparent);
}

/* Bardziej widoczne koła w rogach sekcji */
.section::before {
  width: 600px !important; height: 600px !important;
  left: -300px !important; top: -100px !important;
  background: radial-gradient(circle at 30% 40%, rgba(43,108,176,0.15) 0%, transparent 60%) !important;
  border-radius: 50% !important;
}

.section::after {
  width: 500px !important; height: 500px !important;
  right: -250px !important; bottom: -100px !important;
  background: radial-gradient(circle at 60% 50%, rgba(139,26,58,0.12) 0%, transparent 60%) !important;
  border-radius: 50% !important;
}

/* Tło body - bardziej widoczne */
body {
  background-image:
    linear-gradient(to right, rgba(250,251,253,0.9) 30%, rgba(250,251,253,0.96) 50%, rgba(250,251,253,0.9) 70%),
    url("obrazy/panorama-wspolnota.webp"),
    /* Siatka geometryczna */
    linear-gradient(rgba(43,108,176,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.03) 1px, transparent 1px) !important;
  background-size: 100% 100%, cover, 60px 60px, 60px 60px !important;
  background-position: center, left center, 0 0, 0 0 !important;
}

/* ==== NOWE GRAFIKI W TLE ==== */
body {
  background-image:
    linear-gradient(to right, rgba(250,251,253,0.92) 25%, rgba(250,251,253,0.96) 50%, rgba(250,251,253,0.92) 75%),
    url("obrazy/tlo-fale-niebieskie.webp"),
    linear-gradient(rgba(43,108,176,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.02) 1px, transparent 1px) !important;
  background-size: 100% 100%, cover, 50px 50px, 50px 50px !important;
}

/* Dodatkowe tło w sekcjach - wzór z ikonami */
.section {
  background: 
    /* Gradient przezroczystości */
    linear-gradient(to bottom, rgba(250,251,253,0.97), rgba(250,251,253,0.98)),
    /* Wzór z ikonami - mały, powtarzalny */
    radial-gradient(circle at 25px 25px, rgba(43,108,176,0.06) 3px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(139,26,58,0.04) 2px, transparent 0),
    /* Siatka */
    linear-gradient(rgba(43,108,176,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.015) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100px 100px, 100px 100px, 50px 50px, 50px 50px !important;
  background-position: 0 0, 0 0, 50px 50px, 0 0, 0 0 !important;
}

.section-gray {
  background: 
    linear-gradient(to bottom, rgba(248,249,250,0.95), rgba(248,249,250,0.97)),
    radial-gradient(circle at 25px 25px, rgba(43,108,176,0.08) 3px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(139,26,58,0.06) 2px, transparent 0),
    linear-gradient(rgba(43,108,176,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.02) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100px 100px, 100px 100px, 50px 50px, 50px 50px !important;
  background-position: 0 0, 0 0, 50px 50px, 0 0, 0 0 !important;
}

/* ==== RADYKALNA ZMIANA - WIDOCZNE TŁO ==== */
/* Ciało strony ma widoczny wzór, kontener jest biały */
body {
  background: #f0f4f8 !important;
  background-image:
    /* Widoczna siatka */
    linear-gradient(rgba(43,108,176,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.1) 1px, transparent 1px),
    /* Kropki */
    radial-gradient(circle at 30px 30px, rgba(139,26,58,0.15) 4px, transparent 0) !important;
  background-size: 80px 80px, 80px 80px, 60px 60px !important;
  background-position: 0 0, 0 0, 0 0 !important;
}

/* Kontener ma białe tło i jest oddzielony od wzoru w tle */
.container {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 0 40px rgba(0,0,0,0.06) !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin-bottom: 2px !important;
}

/* Sekcje nie mają już paddingu góra-dół, bo kontener ma */
.section {
  padding: 40px 0 !important;
  background: transparent !important;
}

.section::before, .section::after {
  display: none !important;
}

/* Nagłówek i hero są wyjęte z kontenera - ich tło jest normalne */
.hero, .strona-hero, .naglowek, .stopka {
  background: #1a2a4a !important;
}

.hero .container, .strona-hero .container, .naglowek .container, .stopka .container {
  background: transparent !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.section-dark {
  background: #1a2a4a !important;
}

.section-dark .container {
  background: transparent !important;
  box-shadow: none !important;
}

.section-gray {
  background: transparent !important;
}

/* Dodatkowe dekoracje po bokach strony */
body::before, body::after {
  content: ''; position: fixed; top: 80px; bottom: 0; width: 80px;
  pointer-events: none; z-index: 0;
}

body::before {
  left: 0;
  background: linear-gradient(to right, rgba(43,108,176,0.08), transparent);
}

body::after {
  right: 0;
  background: linear-gradient(to left, rgba(139,26,58,0.06), transparent);
}

/* ==== NAPRAWA - WIDOCZNE TŁO ==== */
/* Usuwam białe tło sekcji, żeby było widać wzór w tle body */
.section {
  background: transparent !important;
  padding: 60px 0 !important;
}

.section-gray {
  background: rgba(248,249,250,0.85) !important;
}

/* Kontener NIE ma białego tła - to błąd w poprzedniej zmianie */
.container {
  background: transparent !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Bardziej widoczne tło body */
body {
  background: #edf2f7 !important;
  background-image:
    /* Widoczne fale - tło obrazkowe */
    linear-gradient(to right, rgba(237,242,247,0.85), rgba(237,242,247,0.92), rgba(237,242,247,0.85)),
    url("obrazy/tlo-fale-niebieskie.webp"),
    /* Siatka */
    linear-gradient(rgba(43,108,176,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,176,0.12) 1px, transparent 1px),
    /* Kropki */
    radial-gradient(circle at 20px 20px, rgba(139,26,58,0.15) 3px, transparent 0) !important;
  background-size: 100% 100%, cover, 100px 100px, 100px 100px, 80px 80px !important;
  background-position: center, center, 0 0, 0 0, 0 0 !important;
  background-attachment: fixed !important;
}

/* Usuwam pseudo-elementy kontenera z liniami po bokach */
.container::before, .container::after {
  display: none !important;
}

/* Widoczne dekoracje po bokach */
body::before {
  content: ''; position: fixed; left: 0; top: 80px; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, rgba(43,108,176,0.15), transparent);
  pointer-events: none; z-index: 0;
}

body::after {
  content: ''; position: fixed; right: 0; top: 80px; bottom: 0;
  width: 120px;
  background: linear-gradient(to left, rgba(139,26,58,0.12), transparent);
  pointer-events: none; z-index: 0;
}
