/* Strona główna v2 — lifting 2026-09 (Redmine #5627). Ładowany tylko na index przy fladze gf_hdr=2.
   Sekcja 1: hero wg makiety V7 (zastępuje slider 4 kafli). */

.hero2 { position: relative; background: #0b0909; color: #fff; overflow: hidden; isolation: isolate; }
.hero2-bg { position: absolute; inset: 0; z-index: 0; } /* nie -1: przy isolation:isolate ladowalo pod tlem sekcji */
.hero2-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero2-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 6, .97) 0%, rgba(8, 6, 6, .94) 42%, rgba(8, 6, 6, .62) 62%, rgba(8, 6, 6, .25) 80%, rgba(8, 6, 6, .08) 100%); } /* przyciemnienie siega do ~45% szerokosci (uwaga 18.09) */
.hero2-in { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(340px, 30vw, 440px); padding-top: 36px; padding-bottom: 36px; } /* niższy baner na desktopie (uwaga 18.09) */
.hero2-text { max-width: 640px; display: grid; gap: 14px; }
.hero2-title { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.hero2-lead { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #e9e3e4; max-width: 44ch; }
.hero2-ready { margin: 0; font-size: 15px; color: #d6cfd0; }
.hero2-ready strong { color: var(--primary); font-weight: 700; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero2-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 3px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.hero2-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero2-btn--primary { background: var(--primary); color: #fff; }
.hero2-btn--primary:hover { background: #E81919; color: #fff; }
.hero2-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .04); }
.hero2-btn--ghost:hover { background: #fff; color: #0b0909; border-color: #fff; }

@media (max-width: 991.98px) {
  .hero2-in { min-height: 380px; }
}
@media (max-width: 767.98px) {
  .hero2-bg img { object-position: 50% 50%; }
  .hero2-bg::after { background: linear-gradient(180deg, rgba(8, 6, 6, .74) 0%, rgba(8, 6, 6, .86) 100%); }
  .hero2-in { min-height: 0; align-items: center; padding-top: 30px; padding-bottom: 30px; } /* mobile: tekst podciągnięty do góry, bez pustego zdjęcia (uwaga 18.09) */
  .hero2-text { gap: 14px; }
  .hero2-title { font-size: 34px; }
  .hero2-actions { flex-direction: column; align-items: stretch; }
  .hero2-btn { justify-content: center; }
}

/* Sekcja 2: pasek social proof (makieta V7, 03) */
.proof2 { background: #0b0909; color: #fff; border-top: 1px solid #221c1c; }
.proof2-in { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 20px; padding-top: 22px; padding-bottom: 22px; }
.proof2-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.proof2-ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; } /* bez obwódek, jak w makiecie (uwaga 18.09) */
.proof2-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.proof2-ic--flag svg { width: 28px; height: 19px; stroke: none; }
.proof2-txt { display: block; font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; color: #fff; } /* uwaga 18.09: 10+/500+ tą samą czcionką co reszta */
.proof2-num { font: inherit; letter-spacing: inherit; margin-right: 4px; }
.proof2-label { font: inherit; color: inherit; }
@media (max-width: 1199.98px) {
  .proof2-in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
}
@media (max-width: 575.98px) {
  .proof2-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-top: 18px; padding-bottom: 18px; }
  .proof2-ic { width: 26px; height: 26px; }
  .proof2-ic svg { width: 24px; height: 24px; }
  .proof2-txt { font-size: 11px; }
}
