.kalkulator-header {
  max-width: 1100px;
  margin: 0 auto 40px auto; /* jeszcze wyżej nad polami */
  padding: 8px 16px 0 16px;
  text-align: center;
  /* pudełko jak na stronie głównej 'Nasze oferty' */
  background: #fff;
  padding: 30px; /* nadpisuje wcześniejsze minimalne paddingi */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.kalkulator-header h2 {
  margin: 0 0 6px 0;
  font-size: 1.8em;
  color: #000;
}
.kalkulator-header p {
  margin: 0;
  font-size: 1.05em;
  color: #1f1f1f;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f2f2f2;
  color: #1b5e20;
  padding-top: 120px;
}

/* --- Kredyty: banner + intro + features --- */
.kredyty-banner {
  width: 100%;
  overflow: hidden;
  border-bottom: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  background: #f2f2f2;
}
.kredyty-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center center; /* przywrócone dla kredytów */
}
/* Inne kadrowanie tylko dla banera na stronie Zgłoś Ofertę */
.oferta-banner img { object-position: center 85%; }

.kredyty-intro {
  width: 100%;
  background: transparent;
}
.kredyty-intro .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 22px 16px;
  text-align: center;
}
.kredyty-intro h1 { margin: 0 0 10px 0; color: #000; font-size: 2em; }
.kredyty-intro p {
  margin: 0 0 6px 0;
  font-size: 1.05em;
  color: #1f1f1f;
}

/* Tytuł sekcji przed kafelkami */
.section-title .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px 6px 16px;
  text-align: center;
}
.section-title h2 {
  margin: 0 0 8px 0;
  font-size: 1.9em;
  color: #000;
}

.kredyty-features {
  max-width: 1200px;
  margin: 18px auto 0 auto;
  padding: 0 16px 8px 16px;
}
.kredyty-features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kredyt-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
}
.kredyt-card .thumb {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}
.kredyt-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tylko na podstronie kredyty: pokaż całe obrazy w kartach */
.kredyty-features--contain .kredyt-card .thumb img { object-fit: contain; }
@media (max-width: 640px) {
  .kredyty-features .grid { grid-template-columns: 1fr; }
  .kredyt-card .thumb { height: 220px; }
  .kredyt-card .thumb img { object-fit: cover; }
}
.kredyt-card h3 {
  margin: 6px 0 10px 0;
  color: #000;
  font-size: 1.2em;
  position: relative;
}
.kredyt-card h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  margin: 8px auto 0 auto;
}
.kredyt-card p {
  margin: 0;
  color: #222;
  font-size: 0.98em;
}

.kredyt-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 4px auto 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #e8f5e9, #f1f8e9);
  border: 2px solid #a5d6a7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.kredyt-card .icon svg {
  width: 32px;
  height: 32px;
  fill: #000;
}

@media (max-width: 1000px) { .kredyty-features .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .kredyty-features .grid { grid-template-columns: 1fr; }
}

.top-bar {
  background: #1b5e20;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  min-height: 0;
  height: 0;
  border-bottom: none;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
  margin: 0 8px;
  transition: color 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
}
.top-bar a:hover {
  color: #a5d6a7;
}

.navbar {
  background: #1b5e20;
  color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  height: 120px;
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, height 0.25s ease;
}

/* Półprzezroczyste tło podczas scrolla */
.navbar.navbar--scrolled {
  background: rgba(27, 94, 32, 0.8); /* ~20% przezroczystości */
  backdrop-filter: saturate(120%) blur(4px);
  height: 80px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
}

.navbar .logo img:first-child {
  height: 80px;
  margin-right: 8px;
  border-radius: 16px;
  transition: height 0.25s ease;
}

.navbar .logo img:last-child {
  height: 64px;
  vertical-align: middle;
  transition: height 0.25s ease;
}

/* Zmniejszenie logotypów po scrollu */
.navbar.navbar--scrolled .logo img:first-child { height: 56px !important; }
.navbar.navbar--scrolled .logo img:last-child  { height: 44px !important; }

.navbar .nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.navbar .nav-links a {
  flex: 1 1 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.25em;
  transition: color 0.2s, border-bottom 0.2s;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
}
.navbar .nav-links a:hover {
  color: #a5d6a7;
  border-bottom: 3px solid #a5d6a7;
}

.main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  background: #f8f9fa;
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
}

/* Biały box na opis i logo */
.main-section .main-box {
  display: flex;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 32px 64px;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  min-width: 600px;
  min-height: 260px;
  margin: 0 auto;
  border: none;
}

.main-section .desc {
  flex: 1;
  padding: 0 24px 0 0;
  font-size: 1.25em;
  line-height: 1.8;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 320px;
  color: #111;
}

.main-section .desc h1 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 2.2em;
  color: #111;
}

.main-section .logo-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.main-section .logo-img img {
  max-width: 420px;
  max-height: 340px;
  filter: drop-shadow(0 4px 32px #a5d6a7);
  border-radius: 24px;
  background: transparent;
  padding: 0;
  transition: box-shadow 0.3s;
}

@media (max-width: 900px) {
  .main-section {
    flex-direction: column;
    text-align: center;
    min-height: 0;
    padding: 30px 0 20px 0;
  }
  .main-section .main-box {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px;
    max-width: 98vw;
  }
  .main-section .desc, .main-section .logo-img {
    padding: 0;
    min-height: unset;
  }
  .main-section .logo-img img {
    max-width: 80vw;
    max-height: 180px;
  }
}

@media (max-width: 600px) {
  .main-section {
    padding: 12px 0 12px 0;
    min-height: unset;
  }
  .main-section .main-box {
    flex-direction: column;
    gap: 12px;
    padding: 10px 2vw;
    max-width: 98vw;
    min-width: unset;
    min-height: unset;
    box-sizing: border-box;
  }
  .main-section .desc {
    padding: 0;
    min-height: unset;
    font-size: 1em;
  }
  .main-section .logo-img {
    padding: 0;
    min-height: unset;
  }
  .main-section .logo-img img {
    max-width: 90vw;
    max-height: 120px;
  }
}

.latest-offers {
  background: #f1f8e9;
  padding: 32px 0 40px 0;
}
.latest-offers h2 {
  color: #1b5e20;
  text-align: center;
  margin-bottom: 24px;
  font-size: 2em;
  font-weight: 600;
}
.latest-offers .offers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.latest-offers .offer {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #c8e6c9;
  width: 270px;
  padding: 18px;
  text-align: left;
  transition: box-shadow 0.2s;
}
.latest-offers .offer:hover {
  box-shadow: 0 4px 24px #a5d6a7;
}
.latest-offers .offer img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.latest-offers .offer .title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 6px;
  color: #388e3c;
}
.latest-offers .offer .desc {
  font-size: 0.98em;
  color: #333;
  margin-bottom: 8px;
}
.latest-offers .offer .price {
  font-size: 1.08em;
  color: #1b5e20;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}

.kontakt-bg {
  background: #f2f2f2;
  min-height: 100vh;
  padding: 48px 0 0 0;
}

.kontakt-adres {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 1.5em;
  color: #000;
  text-align: center;
  margin-bottom: 18px;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.kontakt-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  align-items: stretch;
}

.kontakt-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: stretch;
  padding: 0;
  width: 700px;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 240px;
}

.kontakt-card img {
  width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  flex: 1;
}

.kontakt-info h2 {
  margin: 0 0 4px 0;
  font-size: 1.5em;
  color: #1b5e20;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.kontakt-info .tytul {
  font-style: italic;
  font-size: 1.02em;
  color: #000;
  margin: 0 0 2px 0;
  padding: 0;
  line-height: 1.2;
}

.kontakt-info p {
  margin: 8px 0 0 0;
  font-size: 1.05em;
  color: #000;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  word-break: break-all;
}
.kontakt-info span {
  font-weight: 500;
  margin-right: 8px;
  letter-spacing: 0.5px;
}
.kontakt-info a {
  color: #000;
  text-decoration: none;
  font-size: 0.95em;
  word-break: break-all;
  overflow-wrap: break-word;
}
.kontakt-info a:hover {
  text-decoration: underline;
}

.kontakt-mapa {
  width: 100vw;
  max-width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  margin-top: 24px;
  padding: 0 20px;
  box-sizing: border-box;
}

.kontakt-mapa iframe {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 2px 24px #bdbdbd44;
  border: 5px solid #a5d6a7;
  width: 100%;
  height: 450px;
  max-width: 100%;
}

@media (max-width: 900px) {
  .kontakt-cards {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .kontakt-card {
    max-width: 98vw;
    width: 100% !important;
    min-width: unset;
    padding: 18px 8px;
    gap: 18px;
  }
  .kontakt-mapa iframe {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .kontakt-cards {
    gap: 16px;
  }
  .kontakt-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 4vw;
    max-width: 98vw;
    min-width: unset;
    min-height: unset;
    box-sizing: border-box;
  }
  .kontakt-card img {
    width: 90vw;
    max-width: 220px;
    height: auto;
    margin: 0 auto 8px auto;
    display: block;
  }
  .kontakt-info {
    max-width: 100%;
    word-break: break-word;
    font-size: 1em;
    padding: 0;
  }
}

/* --- FORMULARZ ZGŁOSZENIA OFERTY --- */
.oferta-main {
  max-width: 1200px;
  margin: 48px auto 48px auto;
  padding: 24px 16px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
/* Obramowanie całego kalkulatora jak na screenie */
.kredyty-form {
  border: 3px solid #1b5e20;
  border-radius: 14px;
  padding: 18px 18px;
  background: #f5f5f5;
}
.oferta-desc {
  text-align: center;
  margin-bottom: 32px;
}
.oferta-desc h1 {
  color: #1b5e20;
  font-size: 2.1em;
  margin-bottom: 10px;
}
.oferta-desc p {
  color: #222;
  font-size: 1.15em;
  margin: 0 auto;
  max-width: 700px;
}
.oferta-form {
  display: block;
}
.form-grid { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-cell { display: flex; flex-direction: column; }
.oferta-box {
  flex: 1;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-width: 260px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: none;
}
.oferta-box h2 {
  text-align: center;
  color: #111;
  margin-bottom: 18px;
  font-size: 1.3em;
  letter-spacing: 0.5px;
}
.oferta-box label,
.form-cell label {
  font-weight: 700;
  color: #000;
  display: block;
  height: 28px;           /* stała wysokość etykiet dla wyrównania wierszy */
  line-height: 28px;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oferta-box input,
.oferta-box select,
.oferta-main textarea {
  padding: 12px 48px; /* miejsce na przyciski +/- */
  border-radius: 12px;
  border: 2px solid #1b5e20;
  font-size: 1.02em;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
}
.oferta-main textarea { text-align: left; }
.field-emph {
  /* styl bazowy już odpowiada */
}
.field-emph-label {
  font-weight: 700 !important;
  color: #000 !important;
}

/* Stepper (plus/minus) dla pól formularza */
.input-group {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: stretch;
  width: 100%;
  height: 56px;
  border: 2px solid #1b5e20;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.input-group input {
  border: 0 !important;
  height: 100% !important;
  line-height: 56px;
  padding: 0 12px !important;
  width: 100%;
  text-align: center;
  font-weight: 600;
}
.form-cell input,
.form-cell select {
  height: 56px;
  border: 2px solid #1b5e20;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 1.02em;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
  font-weight: 600;
}
.form-cell input:focus,
.form-cell select:focus { outline: none; box-shadow: 0 0 0 2px rgba(0,0,0,0.06); }
.input-group .btn-step {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  color: #000;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;          /* dokładne centruję glif */
  transform: translateY(-1px); /* lekki optyczny lifting znaku */
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.input-group .btn-step.minus { border-right: 1px solid #1b5e20; }
.input-group .btn-step.plus  { border-left: 1px solid #1b5e20; }
.input-group .btn-step:hover { background: #2a7a2a; color: #fff; }
.oferta-box input:focus,
.oferta-box select:focus,
.oferta-main textarea:focus {
  border-color: #1b5e20;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}
.oferta-form-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.oferta-rodo {
  font-size: 0.98em;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.oferta-btn {
  background: #2a7a2a;
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 16px 48px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(42,122,42,0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  letter-spacing: 1px;
}
.oferta-btn:hover {
  background: #1f5f1f;
  box-shadow: 0 4px 15px rgba(42,122,42,0.30);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .oferta-form-boxes { display: block; }
  .oferta-box {
    max-width: 100%;
    min-width: unset;
  }
  .oferta-main {
    padding: 12px 2vw;
  }
}

/* Widok mobilny: telefon */
@media (max-width: 640px) {
  .form-grid { gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-cell label,
  .oferta-box label { height: 24px; line-height: 24px; margin-bottom: 4px; }
  .form-cell input,
  .form-cell select { height: 52px; font-size: 1em; border-radius: 10px; }
  .input-group { height: 52px; grid-template-columns: 40px 1fr 40px; border-radius: 10px; }
  .input-group .btn-step { font-size: 20px; }
  .kredyty-form { padding: 10px; border-width: 2px; }
}

/* --- HAMBURGER MENU --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 900px) {
  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 70px !important;
    padding: 0 8px !important;
  }
  .navbar .logo {
    margin-right: 0 !important;
    width: auto !important;
    padding: 0 !important;
  }
  .navbar .logo img:first-child {
    height: 48px !important;
    margin-right: 4px !important;
    border-radius: 10px !important;
  }
  .navbar .logo img:last-child {
    height: 36px !important;
  }
  .social-icons {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
    position: static !important;
    margin-left: auto !important;
    z-index: 1100 !important;
  }
  .nav-links {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    background: #1b5e20 !important;
    z-index: 1001 !important;
    border-bottom: 5px solid #a5d6a7 !important;
    box-shadow: 0 2px 12px #1b5e2020 !important;
    padding: 12px 0 18px 0 !important;
    gap: 0 !important;
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    background: #1b5e20 !important;
    z-index: 1001 !important;
    border-bottom: 5px solid #a5d6a7 !important;
    box-shadow: 0 2px 12px #1b5e2020 !important;
    padding: 12px 0 18px 0 !important;
    gap: 0 !important;
  }
  .nav-links.open a {
    display: block !important;
    width: 100% !important;
    min-width: unset !important;
    padding: 22px 0 !important;
    font-size: 1.25em !important;
    border-bottom: 1px solid #a5d6a7 !important;
    text-align: center !important;
    background: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transition: background 0.2s, color 0.2s !important;
  }
  .nav-links.open a:active {
    background: #a5d6a7 !important;
    color: #1b5e20 !important;
  }
}

/* --- O FIRMIE: wersja bez białego prostokąta, nagłówki i opisy na tle gradientowym --- */
.about-bg {
  background: #f2f2f2;
  min-height: 100vh;
  padding: 48px 0 0 0;
}

.about-title, .about-why h2, .about-team h2 {
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 2.2em;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 18px;
  position: relative;
  color: #000;
  background: none;
  text-align: left;
}
.about-title {
  font-size: 2.7em;
  color: #000;
  margin-top: 48px;
  text-align: left;
  margin-left: auto;
}
.about-why h2, .about-team h2 {
  color: #000;
  text-align: left;
  margin-left: auto;
}

.about-title::after, .about-why h2::after, .about-team h2::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #bdbdbd;
  border-radius: 1px;
  width: 100%;
  z-index: 1;
}

.about-underline {
  display: none;
}

.about-desc, .about-why, .about-team {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.about-why {
  margin: 36px 0 24px 0;
  text-align: left;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.about-why h2 {
  color: #1b5e20;
  font-size: 1.6em;
  margin-bottom: 12px;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  text-align: left;
  padding-bottom: 8px;
}
.about-why ul {
  list-style: disc inside;
  padding-left: 18px;
  margin: 0;
  max-width: 700px;
}
.about-why li {
  background: none;
  margin: 8px 0;
  padding: 0 0 0 0;
  border-radius: 0;
  font-size: 1.12em;
  color: #000;
  border: none;
  text-align: left;
  box-shadow: none;
}

.about-team {
  margin-top: 48px;
  margin-bottom: 32px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: left;
}
.about-team h2 {
  color: #000;
  font-size: 1.5em;
  margin-bottom: 24px;
  text-align: left;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  padding-bottom: 8px;
}
.about-hero { max-width: 1300px; margin: 40px auto 24px auto; padding: 0 16px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: start; }
.about-hero .left h1 { margin: 0 0 28px 0; font-size: 2.2em; color: #000; text-transform: uppercase; }
.about-hero .left p { margin: 0 0 10px 0; font-size: 1.18em; color: #1f1f1f; }
.about-hero .right { display: flex; align-items: flex-start; justify-content: flex-end; padding-right: 16px; }
.about-hero .about-logo { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 2px 16px rgba(0,0,0,0.12)); border-radius: 16px; margin-top: -80px; }
.about-hero .left { text-align: left; }
.about-hero .left ul { display: block; text-align: left; margin: 0 0 10px 0; }
.about-hero .left ul li { font-size: 1.18em; color: #000; }
/* Zazielenienie nagłówków w opisie (pogrubione fragmenty) */
.about-hero .left p b { color: #000; }

.team-cards { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; }
.team-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 22px; box-shadow: 0 2px 14px rgba(0,0,0,0.06); display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.team-card .left { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.team-card .avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: center; border: 3px solid #f0f0f0; }
.team-card .mini { width: 100%; }
.team-card .mini h3 { margin: 6px 0 4px 0; color: #1b5e20; font-size: 1.1em; text-align: center; }
.team-card .mini .role { margin: 0 0 6px 0; font-weight: 700; color: #000; font-size: 0.95em; text-align: center; }
.team-card .mini .contact { margin: 6px 0 0 0; color: #333; line-height: 1.5; text-align: center; }
.team-card .mini .contact a { color: #388e3c; text-decoration: none; }
.team-card .mini .contact a:hover { text-decoration: underline; }
/* Opis Waldemara - mniejsza czcionka, żeby się zmieścił */
.team-card .desc { margin: 2px 0 0 0; color: #222; line-height: 1.6; font-size: 0.95em; }
.team-card .desc b { color: #1b5e20; font-weight: 700; }
.about-team .team-card .desc { font-size: 1.08em; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; gap: 18px; } .about-hero .right { order: -1; } .team-cards { grid-template-columns: 1fr; } .team-card { grid-template-columns: 1fr; } .team-card .avatar { max-width: 100%; height: auto; } }
.team-cards,
.team-cards-no-bg {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
  background: none;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
}
.team-card,
.team-card-no-bg {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-width: unset;
  max-width: unset;
  margin-bottom: 18px;
  text-align: left;
}
.team-card h3 {
  color: #1b5e20;
  margin-bottom: 8px;
  font-size: 1.22em;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}
.team-card p {
  color: #222;
  font-size: 1.09em;
  margin: 6px 0 10px 0;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .about-title {
    font-size: 2em;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 24px;
    text-align: left;
    margin-left: auto;
  }
  .about-desc, .about-why, .about-team {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100vw;
  }
  .about-title, .about-why h2, .about-team h2 {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100vw;
    text-align: left;
    margin-left: auto;
  }
  .about-why ul {
    max-width: 98vw;
  }
  .team-cards,
  .team-cards-no-bg {
    gap: 18px;
  }
}

.about-desc {
  color: #111;
  font-size: 1.18em;
  margin-bottom: 22px;
  text-align: left;
  line-height: 1.8;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- MENU MOBILNE: domyślnie ukryte, pojawia się po kliknięciu hamburgera --- */
@media (max-width: 900px) {
  .navbar {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 70px !important;
    padding: 0 8px !important;
  }
  .navbar .logo {
    margin-right: 0 !important;
    width: auto !important;
    padding: 0 !important;
  }
  .navbar .logo img:first-child {
    height: 48px !important;
    margin-right: 4px !important;
    border-radius: 10px !important;
  }
  .navbar .logo img:last-child {
    height: 36px !important;
  }
  .social-icons {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
    position: static !important;
    margin-left: auto !important;
    z-index: 1100 !important;
  }
  .nav-links {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    background: #1b5e20 !important;
    z-index: 1001 !important;
    border-bottom: 5px solid #a5d6a7 !important;
    box-shadow: 0 2px 12px #1b5e2020 !important;
    padding: 12px 0 18px 0 !important;
    gap: 0 !important;
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    background: #1b5e20 !important;
    z-index: 1001 !important;
    border-bottom: 5px solid #a5d6a7 !important;
    box-shadow: 0 2px 12px #1b5e2020 !important;
    padding: 12px 0 18px 0 !important;
    gap: 0 !important;
  }
  .nav-links.open a {
    display: block !important;
    width: 100% !important;
    min-width: unset !important;
    padding: 22px 0 !important;
    font-size: 1.25em !important;
    border-bottom: 1px solid #a5d6a7 !important;
    text-align: center !important;
    background: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transition: background 0.2s, color 0.2s !important;
  }
  .nav-links.open a:active {
    background: #a5d6a7 !important;
    color: #1b5e20 !important;
  }
}

/* --- Przywrócenie: linki rozciągnięte na całą szerokość na desktopie --- */
@media (min-width: 901px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  .logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    gap: 0;
  }
  .nav-links a {
    flex: unset !important;
    text-align: center !important;
    font-size: 1.15em;
    padding: 0 18px;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
  }
}

/* --- KLUCZOWE STYLE MOBILNE: NA SAMYM KOŃCU PLIKU --- */
@media (min-width: 901px) {
  .hamburger {
    display: none !important;
  }
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    gap: 24px !important;
  }
  .nav-links a {
    flex: unset !important;
    text-align: right !important;
  }
} 

.oferta h2 {
  font-weight: bold;
  font-size: 1.2em;
  color: #1b232e;
  margin: 0 0 6px 0;
} 

/* Hero Section - duże zdjęcie na górze */
.hero-section {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

/* Mocniejszy cień przy dolnej krawędzi slajdów dla miękkiego przejścia */
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.28) 40%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Slideshow crossfade */
.slideshow { position: relative; }
.slideshow img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}
.slideshow img:first-child { opacity: 1; object-position: center 67%; }
/* Dla ostatniego slajdu pokaż nieco niższą część kadru (bardziej ucięta góra) */
.slideshow img:last-child { object-position: center 90%; }
/* Trzeci slajd (gl6) – mocniej w górę */
.slideshow img:nth-child(3) { object-position: center 75%; }
/* 4. slajd (gl7) – w dół o ~15% */
.slideshow img:nth-child(4) { object-position: center 90%; }

.hero-overlay { display: none; }

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.4em;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Search Section - pasek z kryteriami */
.search-section {
  background: transparent;
  padding: 0 0 30px 0;
  margin-top: -80px; /* nachodzenie na hero */
  position: relative;
  z-index: 20; /* nad slideshow */
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.search-title {
  color: #000;
  margin: 0 0 28px 0; /* większy odstęp od tytułu do pól */
  font-size: 1.4em;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}

.search-box {
  width: 92%;
  max-width: 1080px;
  background: #f5f6f7;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 26px 20px 20px;
}

.search-row {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  min-width: 160px;
}

.search-field.price-field,
.search-field.area-field {
  flex: 0 0 110px;
  min-width: 110px;
}

.search-field label {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #cfd8dc;
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
  color: #000;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.search-field input::placeholder { color: #888; }

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: #1b5e20;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.12);
}

.search-button {
  flex-shrink: 0;
  margin-left: 10px;
}

.szukaj-btn {
  background: #2a7a2a; /* jak Pokaż więcej */
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.szukaj-btn:hover,
.szukaj-btn:focus-visible {
  background: #1f5f1f; /* hover jak Pokaż więcej */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 122, 42, 0.3);
}

/* Zapobiegnij wybielaniu na focus/active */
.szukaj-btn:focus {
  background: #2a7a2a;
  color: #fff;
}
.szukaj-btn:active {
  background: #1f5f1f;
  color: #fff;
  transform: translateY(-1px);
}

/* usunięto dawne wybielanie hover dla spójności ze 'Pokaż więcej' */

/* Offers Section */
.offers-section {
  padding: 60px 0;
  background: #f2f2f2;
}

.offers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.offers-header {
  text-align: center;
  margin-bottom: 50px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -30px;
  position: relative;
  z-index: 5;
}

.offers-header h2 {
  font-size: 2.5em;
  color: #1b232e;
  margin: 0 0 10px 0;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.offers-header p {
  font-size: 1.1em;
  color: #666;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.offer-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.offer-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.offer-card:nth-child(1) { animation-delay: 0.4s; }
.offer-card:nth-child(2) { animation-delay: 0.6s; }
.offer-card:nth-child(3) { animation-delay: 0.8s; }

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.offer-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.offer-card:hover .offer-image img {
  transform: scale(1.05);
}

.offer-content {
  padding: 20px;
}

.offer-content h3 {
  font-size: 1.2em;
  font-weight: 600;
  color: #1b232e;
  margin: 0 0 8px 0;
  line-height: 1.3;
  /* Wyrównanie kart: rezerwuj dokładnie 3 linie wysokości tytułu */
  min-height: calc(1.3em * 3);
  max-height: calc(1.3em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-location {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 12px;
}

.offer-details {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.offer-details span {
  background: #f0f0f0;
  color: #555;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 500;
}

.offer-price {
  font-size: 1.4em;
  font-weight: 700;
  color: #2a7a2a;
  margin: 0;
}

.show-more-container {
  text-align: center;
  margin-top: 40px;
}

.show-more-btn {
  display: inline-block;
  background: #2a7a2a;
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-more-btn:hover {
  background: #1f5f1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 122, 42, 0.3);
}

.no-offers, .error {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1.1em;
}

/* Animacje */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile layout: search bar stacked fields */
@media (max-width: 640px) {
  .search-section { padding: 0 0 18px 0; margin-top: -40px; }
  .search-container { padding: 0 10px; }
  .search-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    justify-content: stretch;
  }
  .search-field { flex: none; min-width: unset; }
  .search-field.price-field,
  .search-field.area-field { flex: none; min-width: unset; }
  .szukaj-btn { width: 100%; padding: 12px 16px; }
  .search-button { margin-left: 0; }
}

/* --- ABOUT: wymuszenie kart zespołu w osobnych prostokątach na środku --- */
.about-team .team-cards { 
  display: grid !important; 
  grid-template-columns: 1fr; 
  gap: 28px; 
  max-width: 980px; 
  margin: 0 auto; 
}
.about-team .team-card { 
  background: #fff !important; 
  border: 1px solid #e6e6e6 !important; 
  border-radius: 12px !important; 
  padding: 22px !important; 
  box-shadow: 0 2px 14px rgba(0,0,0,0.06) !important; 
  display: grid !important; 
  grid-template-columns: 1fr 2fr !important; 
  gap: 24px !important; 
  align-items: center !important; 
}
.about-team .team-card .left { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.about-team .team-card .avatar { 
  width: 180px; 
  height: 180px; 
  border-radius: 50%; 
  object-fit: cover; 
  object-position: center; 
  border: 3px solid #f0f0f0; 
}
.about-team .team-card .mini h3 { text-align: center; font-size: 1.1em; }
.about-team .team-card .mini .role { text-align: center; font-style: italic; font-weight: 400; }
.about-team .team-card .mini .contact { text-align: center; }
.about-team .team-card .desc .member-name { 
  margin: 0 0 12px 0; 
  font-size: 1.7em; 
  color: #000; 
  display: flex; 
  align-items: center; 
}
.about-team .team-card .desc .member-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 22px;
  background: #1b5e20;
  border-radius: 2px;
  margin-right: 10px;
}

@media (max-width: 900px) {
  .about-team .team-card { grid-template-columns: 1fr !important; padding: 18px !important; }
}

@media (max-width: 600px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
  
  .offers-header h2 {
    font-size: 2em;
  }
} 

.sticky-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  width: 320px;
  min-width: 320px;
}

.sticky-sidebar h3 {
  margin: 0 0 15px 0;
  font-size: 1.2em;
  color: #1b232e;
  font-weight: 600;
}

.kryteria-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kryteria-form label {
  font-size: 0.8em;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.kryteria-form input,
.kryteria-form select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.85em;
  background: white;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.kryteria-form input:focus,
.kryteria-form select:focus {
  outline: none;
  border-color: #2a7a2a;
  box-shadow: 0 0 0 3px rgba(42, 122, 42, 0.1);
}

.kryteria-form .szukaj-btn {
  background: #2a7a2a;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 6px;
}

.kryteria-form .szukaj-btn:hover {
  background: #1f5f1f;
} 

/* Nagłówki w treści opisu jako zielone */
.lead b { color: #1b5e20 !important; }

/* Logo w prawej kolumnie większe i wyżej */
.about-hero .about-logo { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 2px 16px rgba(0,0,0,0.12)); border-radius: 16px; margin-top: -40px; }

/* Upewnij się, że kolumna z logo nie nachodzi na tekst */
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: 18px; }
  .about-hero .right { order: -1; }
  .about-hero .about-logo { margin-top: 0; max-width: 60vw; }
} 

/* Wyjątek: pogrubienie czarne zamiast zielonego w lead */
.lead b.no-green { color: #000 !important; } 