/* ==========================================================================
   SEKCJA: HERO
   ========================================================================== */
.systemo-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 190px;
  text-align: left; /* bez tego GeneratePress dziedziczy center */
  background:
    radial-gradient(circle at 8% 15%, rgba(242, 103, 34, .10), transparent 38%),
    linear-gradient(180deg, #fff 0%, var(--color-bg-cream) 100%);
}

.systemo-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.systemo-hero__pill {
  display: inline-block;
  padding: 9px 20px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  background: rgba(242, 103, 34, .06);
  border-radius: 999px;
  line-height: 1.5;
}

.systemo-hero__title {
  font-size: clamp(36px, 4.6vw, 56px);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 26px;
  text-wrap: balance;
}

.systemo-hero__lead {
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 38px;
  text-wrap: pretty;
}

.systemo-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.systemo-hero__visual { position: relative; }
.systemo-hero__visual::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(rgba(242, 103, 34, .35) 2px, transparent 2.5px);
  background-size: 18px 18px;
  z-index: 0;
}

.systemo-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 46px;
}

.systemo-hero__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: #d9dde1;
  box-shadow: var(--shadow-soft);
}
.systemo-hero__card:nth-child(even) { transform: translateY(32px); }
.systemo-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.systemo-hero__card:hover img { transform: scale(1.07); }

.systemo-hero__card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, .95);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.3;
}
.systemo-hero__card figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Plakietka leży POD siatką zdjęć – nie zasłania podpisów kart */
.systemo-hero__note {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  padding: 12px 26px 14px;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-hand);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(26, 37, 48, .18);
}

.systemo-hero__sep {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  display: block;
}
.systemo-hero__sep polygon { fill: var(--color-bg-light); }

@media (max-width: 1200px) {
  .systemo-hero__inner { gap: 48px; }
}

@media (max-width: 992px) {
  .systemo-hero { padding: 56px 0 150px; }
  .systemo-hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .systemo-hero__lead { max-width: 640px; }
  .systemo-hero__visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .systemo-hero__sep { height: 80px; }
}

@media (max-width: 768px) {
  .systemo-hero { padding: 40px 0 110px; }
  .systemo-hero__pill { font-size: 11px; letter-spacing: .1em; padding: 8px 16px; }
  .systemo-hero__lead { font-size: 16px; }
  .systemo-hero__note { font-size: 24px; padding: 10px 20px 12px; }
  .systemo-hero__visual::before { width: 140px; height: 140px; top: -18px; right: -12px; }
  .systemo-hero__sep { height: 56px; }
}

@media (max-width: 480px) {
  .systemo-hero__pill {
    display: block;
    text-align: center;
    border-radius: 16px;
    font-size: 10.5px;
    letter-spacing: .06em;
  }
  .systemo-hero__actions { flex-direction: column; }
  .systemo-hero__actions .systemo-btn { width: 100%; }
  .systemo-hero__grid { gap: 10px; padding-bottom: 44px; }
  .systemo-hero__card:nth-child(even) { transform: translateY(22px); }
  .systemo-hero__note { bottom: -38px; }
  .systemo-hero__card figcaption { left: 8px; bottom: 8px; font-size: 10.5px; padding: 5px 10px; }
  .systemo-hero__note { font-size: 20px; padding: 8px 16px 10px; }
}
