/* ==========================================================================
   CTA Split Block
   ========================================================================== */

.ctasp-section {
  padding: 2.5rem 0;
}

/* --- Inner Container --- */
.ctasp-inner {
  border-radius: 45px;
  border: 1px solid #000000;
  border-bottom-width: 6px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 543px;
  overflow: hidden;
}

/* --- Left Content --- */
.ctasp-content {
  flex: 0 0 55%;
  max-width: 714px;
  padding: 60px 40px 60px 70px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

/* --- Title --- */
.ctasp-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

/* --- Divider --- */
.ctasp-divider {
  border: none;
  border-top: 1px solid #000000;
  margin: 0;
}

/* --- Description --- */
.ctasp-desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  margin: 0;
}

/* --- Tagline --- */
.ctasp-tagline {
  font-family: "SpaceGrotesk-SemiBold", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}

/* --- Button --- */
.ctasp-btn {
  display: inline-block;
  background-color: #b9ff66;
  color: #000000;
  border-radius: 14px;
  padding: 20px 35px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 400;
  font-family: "SpaceGrotesk-Regular", sans-serif;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
}

.ctasp-btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.ctasp-btn--full {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* --- Right Image --- */
.ctasp-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px 40px 20px 20px;
}

.ctasp-image img {
  max-width: 100%;
  max-height: 380px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

/* --- Mobile Layout --- */
.ctasp-inner--mobile {
  flex-direction: column;
  align-items: stretch;
  min-height: auto;
  padding: 40px;
  gap: 20px;
  display: flex;
}

.ctasp-image--mobile {
  display: flex;
  justify-content: center;
  height: 252px;
  overflow: hidden;
}

.ctasp-image--mobile img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .ctasp-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 1023px) {
  .ctasp-inner {
    flex-direction: column;
    min-height: auto;
  }

  .ctasp-content {
    flex: none;
    max-width: 100%;
    padding: 50px 50px 30px;
  }

  .ctasp-image {
    padding: 0 50px 50px;
    justify-content: center;
    max-height: 300px;
  }

  .ctasp-image img {
    max-height: 260px;
  }
}

@media (max-width: 767px) {
  .ctasp-inner {
    border-radius: 35px;
    padding: 0;
  }

  .ctasp-content {
    padding: 40px 40px 24px;
    gap: 20px;
  }

  .ctasp-image {
    padding: 0 40px 40px;
  }

  .ctasp-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575px) {
  .ctasp-inner,
  .ctasp-inner--mobile {
    border-radius: 30px;
  }

  .ctasp-inner--mobile {
    padding: 28px;
  }

  .ctasp-content {
    padding: 28px 28px 20px;
  }

  .ctasp-image {
    padding: 0 28px 28px;
  }

  .ctasp-title {
    font-size: 1.5rem;
  }

  .ctasp-tagline {
    font-size: 1rem;
  }

  .ctasp-btn {
    padding: 16px 28px;
    font-size: 1.125rem;
  }
}
