/* ============ DLA FIRM (B2B — tonacja zielona) ============ */

/* Kontener sekcji: tło zielone + linie graniczne (sygnał B2B) */
.firmy {
  background: linear-gradient(160deg, var(--green-bg), var(--green-bg-2));
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
}

/* Eyebrow i akcenty w zieleni zamiast miedzi */
.firmy .eyebrow { color: var(--green-text); }

/* --- Górny układ dwukolumnowy: treść | zdjęcie --- */
.firmy__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* --- Lewa kolumna: treść --- */
.firmy__eyebrow { margin-bottom: 14px; }
.firmy__title {
  font-size: 34px;
  margin-bottom: 16px;
  max-width: 15ch;
}
.firmy__lead {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}
.firmy__lead + .firmy__lead { margin-top: 14px; }
.firmy__cta { margin-top: 26px; }

/* --- Prawa kolumna: placeholder foto --- */
.firmy__frame {
  min-height: 320px;
  border-color: var(--green-line);
}

/* --- 4 zastosowania (siatka 2×2) --- */
.firmy__uses {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--green-line);
  padding-top: 40px;
}

/* --- Pojedyncze zastosowanie --- */
.firmy__use {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--green-line);
  border-radius: var(--r-card);
  padding: 22px 20px;
  transition: transform .16s ease, border-color .16s ease;
}
.firmy__use:hover {
  border-color: var(--green-text);
  transform: translateY(-3px);
}
.firmy__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--green-line);
  border-radius: var(--r-btn);
  color: var(--green-text);
  margin-bottom: 15px;
}
.firmy__icon svg {
  width: 22px;
  height: 22px;
}
.firmy__use-title {
  font-size: 17px;
  margin-bottom: 8px;
}
.firmy__use-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

/* --- Responsywność --- */
@media (max-width: 860px) {
  /* Dwie kolumny → pion */
  .firmy__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .firmy__title { font-size: 28px; max-width: none; }
  .firmy__frame { min-height: 240px; }
}

@media (max-width: 520px) {
  /* 4 zastosowania → 1 kolumna */
  .firmy__uses {
    grid-template-columns: 1fr;
  }
  .firmy__title { font-size: 24px; }
}
