/* ============================================ */
/*                     CTA                      */
/* ============================================ */

#cta-brooklyn {
  padding: clamp(5rem, 10vw, 8rem) 1rem;
  position: relative;
  overflow: hidden;
}

#cta-brooklyn .cs-picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}

#cta-brooklyn .cs-picture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 22, 50, 0.92) 0%,
    rgba(10, 22, 50, 0.72) 55%,
    rgba(10, 22, 50, 0.35) 100%
  );
  z-index: 1;
}

#cta-brooklyn .cs-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#cta-brooklyn .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#cta-brooklyn .cs-topper {
  color: #D4AF37;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

#cta-brooklyn .cs-title {
  color: #ffffff;
  max-width: 33.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

#cta-brooklyn .cs-text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 32.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

#cta-brooklyn .cs-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Mobile styles */
@media only screen and (max-width: 480px) {
  #cta-brooklyn .cs-button-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  #cta-brooklyn .cs-button-group .cs-button-solid,
  #cta-brooklyn .cs-button-group .cs-button-outline,
  #cta-brooklyn .cs-button-group .cs-button-ghost {
    width: 100%;
    text-align: center;
  }
}