/* ── Секція — Контракт 18-24 та Переведення діючих військових ── */

.contract {
  position: relative;
  background-color: transparent;
  padding: 15px 0 30px;
}

.contract__inner {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.contract__card {
  width: min(1100px, 100%);
  padding: 56px 40px;
  background: rgba(21, 40, 48, 0.9);
  border: 1px solid rgba(255, 231, 186, 0.3);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contract__content {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 780px;
}

.contract__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: rgba(255, 166, 0, 0.15);
  border-radius: 50%;
}

.contract__icon img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.contract__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.contract__title {
  font-family: "u3", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #ffa600;
  margin: 0;
  line-height: 1.3;
}

.contract__text {
  font-family: "u3", sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: rgba(255, 231, 186, 0.85);
  line-height: 1.6;
  margin: 0;
}

.contract__action {
  margin-top: 6px;
}

.contract__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffe7ba;
  border: 1px solid rgba(255, 231, 186, 0.4);
  height: 44px;
  padding: 0 24px;
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.contract__btn:hover {
  background: rgba(255, 231, 186, 0.12);
  border-color: #ffa600;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 166, 0, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .contract__body {
    align-items: center;
    text-align: center;
  }
  .contract__title {
    text-align: center;
  }
  .contract__btn {
    align-self: center;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
