/* ===========================================
   INSTALACJE WENTYLACJI (B2B) — style specyficzne
   Komponenty współdzielone (hero, eyebrow, section-head, proc-timeline,
   cta-form, breadcrumbs, btn-*) są w subpages.css i santier.css.
   Tokeny: --navy, --navy-deep, --accent, --gray-*, --white z santier.css.
   =========================================== */

/* ===== Segmenty klientów (2×2 siatka kart ze zdjęciem) ===== */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.seg-card {
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, #e6e9ef);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.seg-card:hover {
  border-color: var(--gray-300, #d4d9e2);
  box-shadow: 0 18px 42px -26px rgba(10, 31, 56, 0.42);
  transform: translateY(-3px);
}
.seg-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.seg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.seg-card:hover .seg-card-img img { transform: scale(1.04); }
.seg-card-body {
  padding: 24px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seg-badge {
  align-self: flex-start;
  background: rgba(232, 78, 27, 0.09);
  color: var(--accent, #E84E1B);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.seg-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.seg-features li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-700, #3A4252);
}
.seg-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, #E84E1B);
  opacity: 0.55;
}

/* ===== Zakres prac — siatka edu-card 4×2 (port z wentylacja.css) ===== */
.biz-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200, #e6e9ef);
  border: 1px solid var(--gray-200, #e6e9ef);
}
.edu-card {
  background: var(--white, #fff);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.edu-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(232, 78, 27, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #E84E1B);
}
.edu-icon svg { width: 24px; height: 24px; }
.edu-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep, #0a1f38);
  letter-spacing: -0.2px;
}
.edu-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700, #3A4252);
}

/* ===== Nasi klienci — logo-wall (logotypy lub wordmark tekstowy) ===== */
.logo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200, #e6e9ef);
  border: 1px solid var(--gray-200, #e6e9ef);
}
.logo-cell {
  background: var(--white, #fff);
  min-height: 124px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.logo-cell:hover { background: var(--gray-50, #f5f7fa); }
/* Logotyp: szarość → kolor na hover. Wysokość dostrajana per-logo (niżej),
   bo logotypy mają różne proporcje i grubość — równa wysokość != równy odbiór. */
.client-logo {
  max-height: 46px;
  max-width: 82%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.logo-cell:hover .client-logo { filter: grayscale(0); opacity: 1; }
/* Optyczne wyrównanie rozmiaru: kwadratowe/lekkie → wyższe, szerokie/grube → niższe */
.client-logo--dom-development  { max-height: 58px; }
.client-logo--laris-hotel      { max-height: 56px; }
.client-logo--atal             { max-height: 50px; }
.client-logo--hsd              { max-height: 46px; }
.client-logo--buma             { max-height: 42px; }
.client-logo--core-development { max-height: 40px; }
.client-logo--ruko             { max-height: 40px; }
.client-logo--novmar           { max-height: 36px; }
/* Fallback tekstowy gdy brak pliku logo */
.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--navy-deep, #0a1f38);
  text-align: center;
  transition: color 0.2s ease;
}
.logo-cell:hover .logo-text { color: var(--accent, #E84E1B); }

/* ===== Wybrane realizacje — kontener kart .real-card (z realizacje.css) ===== */
.biz-real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.biz-real-cta { text-align: center; }

/* ===== Oś czasu — 5 kroków (section-alt: pierścień dopasowany do bg) ===== */
.section-alt .proc-timeline .proc-num {
  box-shadow: 0 0 0 6px var(--gray-50, #f5f7fa);
}

/* ===== Responsywność ===== */
@media (max-width: 1100px) {
  .biz-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall    { grid-template-columns: repeat(2, 1fr); }
}

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

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

@media (max-width: 640px) {
  .biz-cap-grid { grid-template-columns: 1fr; }
  .logo-wall    { grid-template-columns: 1fr 1fr; }
  .biz-real-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ: odstęp pod akapitem intro, bo po nim jest przycisk „Masz inne pytanie?"
   (subpages.css ustawia .faq-intro p { margin: 0 }) ===== */
.faq-intro p { margin-bottom: 24px; }
