/* ===== BRANDS WALL ===== */
#brands-wall{
  padding: 56px 0;
  /* jasne tło jak na grafice */
  background: #FCFCFC; /* możesz też użyć .section-bg z motywu */
}

/* Nagłówek z cienką czerwoną kreską */
#brands-wall .brands-header h2{
  margin: 0 0 26px;
  font: 600 13px/1.2 "Poppins", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b6bcc7; /* szary z grafiki */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
#brands-wall .brands-header h2::after{
  content:"";
  display:inline-block;
  height: 2px;
  width: clamp(48px, 10vw, 120px);
  background: #ed502e; /* brand red */
  border-radius: 2px;
}

/* Siatka logotypów */
.brands-grid{
  --min: 140px;                 /* minimalna szerokość kafla */
  --gap: 18px;                  /* odstęp jak na grafice */
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 6px 0 0;
}

/* kafel logotypu */
.brands-grid .brand{
  background: #dddddd;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17,20,24,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;                 /* wspólna wysokość kafla jak na podglądzie */
  padding: 10px 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brands-grid .brand:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17,20,24,.12);
}

/* obrazek wewnątrz kafla */
.brands-grid .brand img{
  height: 100%;
  width: -webkit-fill-available;
  display: block;
  object-fit: contain;
  filter: grayscale(18%);       /* delikatna desaturacja jak na grafice */
  transition: filter .2s ease, opacity .2s ease;
}
.brands-grid .brand:hover img{ filter: none; }

/* responsywność */
@media (max-width: 1199.98px){
  .brands-grid{ --min: 130px; }
}
@media (max-width: 767.98px){
  #brands-wall{ padding: 44px 0; }
  .brands-grid{ --min: 120px; --gap: 14px; }
  .brands-grid .brand{ height: 78px; padding: 10px; }
  .brands-grid .brand img{ max-height: 56px; }
}

/* tryb z ograniczoną animacją */
@media (prefers-reduced-motion: reduce){
  .brands-grid .brand{ transition: none; }
  .brands-grid .brand img{ transition: none; }
}

/*--------------------------------------------------------------
# Sections H1
--------------------------------------------------------------*/
#page-intro{
  position: relative;
  padding: clamp(24px, 4vw, 56px) 0;
  border-bottom: 1px solid transparent;
  /* żeby kotwice nie chowały tytułu pod sticky headerem */
  scroll-margin-top: 90px;
}
#page-intro .container{ max-width: 1140px; }
#page-intro h1{
  margin: 0 0 .35em;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: .2px;
}
#page-intro .page-intro-sub{
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
}

/* Delikatne wejście tytułu */
@media (prefers-reduced-motion: no-preference){
  #page-intro h1, #page-intro .page-intro-sub{
    animation: introFade .6s ease-out both;
  }
  #page-intro .page-intro-sub{ animation-delay: .08s; }
  @keyframes introFade{
    from{ opacity:0; transform: translateY(6px); }
    to{ opacity:1; transform: translateY(0); }
  }
}
/* === SOLID DARK === */
#page-intro.variant-solid{
  background: #0f172a;          /* ciemny granat */
  color: #fff;
  border-bottom-color: rgba(255,255,255,.08);
}
#page-intro.variant-solid h1{ color: #fff; }
#page-intro.variant-solid .page-intro-sub{
  color: rgba(255,255,255,.92);
}