.clients-subhero .subhero-bg {
  background: url("../img/hero-klienci.webp") center 44% / cover no-repeat;
}

.clients-subhero .subhero-content {
  bottom: 11%;
}

.clients-lead {
  padding-top: 88px;
  padding-bottom: 40px;
}

.clients-lead-box {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.clients-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7a9d1e;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.clients-eyebrow::before,
.clients-eyebrow::after {
  content: "";
  width: clamp(42px, 10vw, 96px);
  height: 1px;
  border-radius: 999px;
  background: rgba(172, 207, 62, 0.88);
}

.clients-lead-box h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  font-weight: 300;
}

.clients-lead-box p {
  color: #4f555a;
  font-size: 1.08rem;
}

.clients-benefits {
  padding-top: 22px;
  padding-bottom: 94px;
  background: #fff;
}

.clients-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.clients-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(
    to bottom,
    rgba(172, 207, 62, 0.18),
    rgba(172, 207, 62, 0.8),
    rgba(172, 207, 62, 0.18)
  );
}

.client-benefit-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.client-benefit-content {
  width: min(100%, 620px);
  background: #fff;
  border: 1px solid #e2e7d6;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.client-benefit-item.is-left .client-benefit-content {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.client-benefit-item.is-right .client-benefit-content {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.client-benefit-spacer {
  display: none;
}

.client-benefit-content h3 {
  color: #16210d;
  font-size: clamp(1.22rem, 1.6vw, 1.62rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.client-benefit-content p {
  color: #52585d;
  line-height: 1.76;
  font-size: 1rem;
}

.client-benefit-icon {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  align-self: center;
  border-radius: 50%;
  border: 2px solid rgba(172, 207, 62, 0.8);
  background: #fff;
  color: #81a620;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.client-benefit-item.is-active .client-benefit-content {
  transform: translateY(-8px);
  border-color: rgba(172, 207, 62, 0.72);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.12);
}

.client-benefit-item.is-active .client-benefit-icon {
  animation: timeline-icon-pulse 1.35s ease-in-out infinite;
  box-shadow: 0 0 0 8px rgba(172, 207, 62, 0.18), 0 14px 24px rgba(0, 0, 0, 0.14);
}

@keyframes timeline-icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-benefit-content,
  .client-benefit-icon {
    transition: none;
  }

  .client-benefit-item.is-active .client-benefit-content {
    transform: none;
  }

  .client-benefit-item.is-active .client-benefit-icon {
    animation: none;
  }
}

.clients-form-section {
  padding-top: 70px;
  padding-bottom: 96px;
  background: #fafafa;
}

.clients-form-wrap {
  border: 1px solid #dde4cd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08);
  padding: clamp(20px, 4vw, 42px);
}

.clients-form-wrap .clients-eyebrow {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.clients-form-wrap h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  line-height: 1.15;
  font-weight: 400;
}

.clients-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.clients-form-grid label {
  display: grid;
  gap: 8px;
  color: #2f342f;
  font-size: 0.9rem;
  font-weight: 600;
}

.clients-form-grid input,
.clients-form-grid select,
.clients-form-grid textarea {
  width: 100%;
  border: 1px solid #d6decb;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-size: 0.96rem;
  padding: 12px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clients-form-grid input:focus,
.clients-form-grid select:focus,
.clients-form-grid textarea:focus {
  border-color: rgba(172, 207, 62, 0.9);
  box-shadow: 0 0 0 3px rgba(172, 207, 62, 0.2);
}

.field-full {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #4f555a !important;
}

.checkbox-line input {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0 !important;
}

.form-submit-wrap {
  display: flex;
}

.form-submit-btn {
  border: none;
  border-radius: 999px;
  background: var(--color-lime);
  color: #17220e;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.form-feedback {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: #1d6e4d;
}

.form-feedback.is-error {
  color: #a23b3b;
}

@media (max-width: 760px) {
  .clients-timeline::before {
    left: 28px;
    transform: none;
  }

  .client-benefit-item {
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
  }

  .client-benefit-icon,
  .client-benefit-item.is-left .client-benefit-icon,
  .client-benefit-item.is-right .client-benefit-icon {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: 6px;
  }

  .client-benefit-item .client-benefit-content,
  .client-benefit-item.is-left .client-benefit-content,
  .client-benefit-item.is-right .client-benefit-content {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .clients-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .clients-lead {
    padding-top: 66px;
    padding-bottom: 30px;
  }

  .clients-benefits {
    padding-bottom: 72px;
  }

  .client-benefit-content {
    padding: 18px 16px;
  }

  .client-benefit-content p {
    font-size: 0.95rem;
  }

  .clients-form-section {
    padding-top: 56px;
    padding-bottom: 70px;
  }
}
