/* ==========================================================================
   CTA SECTION ("Ready to Simplify Compliance?")
   Pozadina #242424 (nastavak iz prethodnih sekcija), sa plavim gradient
   boxom unutra (poslednja sekcija pre footera).
   ========================================================================== */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 100px 48px;
  background: #242424;
}

.cta__inner {
  width: 100%;
  max-width: var(--container-width);
}

.cta__box {
  display: flex;
  max-width: 1200px;
  padding: 80px 40px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  align-self: stretch;

  border-radius: 24px;
  background: linear-gradient(164deg, #5B8AE1 0%, #284887 100%);
}

.cta__heading {
  margin: 0;
  color: #FFF;
  text-align: center;
  font-family: var(--font-family);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 46px; /* 115% */
  letter-spacing: -0.8px;
}

.cta__text {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.cta__btn {
  display: flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;

  text-align: center;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px; /* 137.5% */

  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta__btn--primary {
  color: #353535;
  border: 1px solid rgba(0, 0, 0, 0.00);
  background: #FFF;
}

.cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta__btn--secondary {
  color: #FFF;
  border: 1px solid #FFF;
  background: transparent;
}

.cta__btn--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   TABLET (768px - 1023px)
   ========================================================================== */
@media (max-width: 1023px) {

  .cta {
    padding: 80px 24px;
  }

  .cta__box {
    padding: 64px 32px;
  }
}

/* ==========================================================================
   MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {

  .cta {
    padding: 80px 24px;
  }

  .cta__box {
    padding: 48px 24px;
    gap: 24px;
  }

  .cta__heading {
    font-size: 32px;
    line-height: 40px;
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .cta__btn {
    width: 100%;
  }
}
