/* ── Join Zsu Contract Page Specific Styles ── */

/* ── Hero Section ── */
.join-zsu-contract-hero__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.join-zsu-contract-hero__content {
  max-width: 600px;
  padding-top: 340px;
  position: relative;
  z-index: 5;
  text-align: left;
}

.join-zsu-contract-hero__subtitle {
  font-size: 22px;
}

.join-zsu-contract-hero__title {
  margin-bottom: 0;
}

.join-zsu-contract-hero__desc {
}

/* ── Responsive: Phone + Tablet (below desktop) ── */
@media (max-width: 1279px) {
  .join-zsu-contract-hero__image-wrap {
    opacity: 1;
  }

  .join-zsu-contract-hero__content {
    padding-top: 0;
    max-width: 100%;
    text-align: center;
  }

  .hero__cta {
    align-items: center;
  }

  .join-zsu-contract-hero__title {
    font-size: 30px;
  }

  .join-zsu-contract-hero__desc {
    font-size: 16px;
  }
}

/* ── Tablet only: 768–1279px ── */
@media (min-width: 768px) and (max-width: 1279px) {
  .join-zsu-contract-hero__title {
    font-size: 30px;
  }

  .join-zsu-contract-hero__desc {
    font-size: 17px;
  }
}

/* ── Desktop: 1280px+ ── */
@media (min-width: 1280px) {
  .join-zsu-contract-hero__content {
    max-width: 640px;
  }

  .hero__cta-btn {
    padding: 0 70px;
  }
}

/* ── Що буде далі (Application Page Resolution) ── */
.next-steps-section {
  padding: 0 0 60px;
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.next-steps-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.next-steps-title {
  font-family: "u3", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff0d2;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.next-steps-subtitle {
  font-family: "u3", sans-serif;
  font-size: 16px;
  color: rgba(255, 231, 186, 0.75);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.next-step-card {
  background: rgba(19, 38, 47, 0.65);
  border: 1px solid rgba(255, 231, 186, 0.2);
  border-radius: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.next-step-card:hover {
  border-color: rgba(255, 166, 0, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.next-step-card__num {
  font-family: "u3", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold, #ffa600);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.next-step-card__title {
  font-family: "u3", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff0d2;
  margin-bottom: 10px;
  line-height: 1.3;
}

.next-step-card__desc {
  font-family: "u3", sans-serif;
  font-size: 14px;
  color: rgba(255, 231, 186, 0.72);
  line-height: 1.55;
  margin: 0;
}

/* ── "Чому програма 18–24" lighter variant ── */
.next-step-card--lighter {
  background: rgba(255, 231, 186, 0.06);
  border: 1px solid rgba(255, 231, 186, 0.18);
}

.next-step-card--lighter:hover {
  border-color: rgba(255, 166, 0, 0.55);
  background: rgba(255, 231, 186, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.next-step-card--lighter .next-step-card__num {
  color: var(--gold, #ffa600);
}

@media (max-width: 768px) {
  .next-steps-title {
    font-size: 24px;
  }
  .next-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .next-step-card {
    padding: 18px 16px;
  }
}


/* Watermark clearance pair: pull up into the hero under-box's reserved
   overhang so the 160 OMBr bg-text stays visible (desktop fixed pair,
@media (min-width: 1280px) {
  .join-zsu-contract-hero + .next-steps-section {
    margin-top: -220px;
  }
}

@media (max-width: 1279px) {
  .join-zsu-contract-hero + .next-steps-section {
    margin-top: calc(-1 * 0px);
  }
}
