/* ============================================================
   Sekcja 12c — „B2B" (pattern: b2b.php, klasa .tech-b2b)
   Intro (do lewej) + 2 karty równej wysokości (biała / ciemna). Resety Spectry/Astry.
   ============================================================ */

.tech-b2b { background: var(--tech-mist); padding-block: var(--tech-section-y-lg); }

/* Intro do lewej, własne marginesy */
.tech-b2b > .uagb-container-inner-blocks-wrap { align-items: flex-start !important; row-gap: 0 !important; }
.tech-b2b__eyebrow {
  margin: 0 0 1rem !important;
  font-size: var(--tech-fs-xs); font-weight: var(--tech-fw-semibold);
  letter-spacing: var(--tech-tracking-wide); text-transform: uppercase; color: var(--tech-slate);
}
.tech-b2b__title h2.uagb-heading-text {
  margin: 0 !important;
  font-size: clamp(1.875rem, 3.5vw, 2.25rem); font-weight: var(--tech-fw-bold);
  line-height: var(--tech-lh-snug); letter-spacing: var(--tech-tracking-tight); color: var(--tech-ink);
}
.tech-b2b__lead { margin: 1.25rem 0 0 !important; max-width: 48rem; font-size: var(--tech-fs-lg); color: var(--tech-slate); line-height: var(--tech-lh-normal); }

/* Siatka 2 kart równej wysokości */
.tech-b2b__grid {
  display: flex !important;
  align-items: stretch !important;
  column-gap: 1.5rem !important; row-gap: 1.5rem !important;
  margin-top: 3rem !important; padding: 0 !important;
}
@media (max-width: 1023px) { .tech-b2b__grid { flex-direction: column; } }

/* Karta */
.tech-b2b__card {
  display: flex !important; flex-direction: column;
  align-items: flex-start !important;
  row-gap: 0 !important;
  background: var(--tech-white);
  border-radius: var(--tech-radius-lg);
  padding: 2.5rem !important;
}
.tech-b2b__card--dark { background: var(--tech-ink); }

/* Badge — pigułka fit-content */
.tech-b2b__badge {
  align-self: flex-start !important; width: auto !important;
  margin: 0 0 1.25rem !important;
  padding: .375rem .75rem; border-radius: var(--tech-radius-pill);
  background: var(--tech-mist); color: var(--tech-slate);
  font-size: var(--tech-fs-xs); font-weight: var(--tech-fw-semibold);
  letter-spacing: .15em; text-transform: uppercase;
}
.tech-b2b__badge--light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }

/* Tytuł karty + lead */
.tech-b2b__cardtitle h3.uagb-heading-text {
  margin: 0 !important; font-size: var(--tech-fs-2xl); font-weight: var(--tech-fw-bold);
  letter-spacing: var(--tech-tracking-tight); color: var(--tech-ink);
}
.tech-b2b__cardlead { margin: 1rem 0 0 !important; color: var(--tech-slate); line-height: var(--tech-lh-normal); }

/* Lista ✓ */
.tech-b2b__list { list-style: none; margin: 1.5rem 0 0 !important; padding: 0 !important; }
.tech-b2b__list li {
  position: relative; padding-left: 1.5rem; margin-bottom: .75rem;
  font-size: var(--tech-fs-sm); color: var(--tech-slate);
}
.tech-b2b__list li::before { content: "✓"; position: absolute; left: 0; color: var(--tech-ink); font-weight: var(--tech-fw-bold); }

.tech-b2b__note { margin: 1.5rem 0 0 !important; font-size: var(--tech-fs-xs); color: var(--tech-slate); line-height: var(--tech-lh-normal); }

/* Przycisk dosunięty do dołu, do lewej (równa linia we wszystkich kartach) */
.tech-b2b__card .wp-block-uagb-buttons.uagb-buttons__outer-wrap {
  margin: auto 0 0 0 !important;   /* top:auto = dosuń do dołu, lewo */
  padding-top: 2rem !important;
  align-self: flex-start !important;
}
.tech-b2b .uagb-buttons__wrap { justify-content: flex-start; }

/* Wariant ciemny — kolory (wyższa specyficzność + !important) */
.tech-b2b__card--dark .tech-b2b__cardtitle h3.uagb-heading-text { color: var(--tech-white) !important; }
.tech-b2b__card--dark .tech-b2b__cardlead { color: rgba(255,255,255,.72) !important; }
.tech-b2b__card--dark .tech-b2b__list li { color: rgba(255,255,255,.72) !important; }
.tech-b2b__card--dark .tech-b2b__list li::before { color: var(--tech-white); }
.tech-b2b__card--dark .tech-b2b__note { color: rgba(255,255,255,.4) !important; }
