/* ==========================================================================
   PropNetwork - CTA Banner Section CSS
   Scoped Class Prefix: cta-banner-
   Uses variables.css tokens only — no hardcoded colors
   Placed before footer, dark teal wave background with dual CTA buttons
   ========================================================================== */

.cta-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b1f2e;
  /* Deep navy base in case image fails to load */
}

/* Full-bleed background image */
.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Subtle dark overlay on left to ensure text legibility */
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 31, 46, 0.82) 0%,
      rgba(11, 31, 46, 0.62) 55%,
      rgba(11, 31, 46, 0.10) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Content Container */
.cta-banner-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 2.5rem 0;
  max-width: 620px;
}

/* Eyebrow label */
.cta-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1.25rem;
}

.cta-banner-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}

/* Headline */
.cta-banner-headline {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.cta-banner-headline span {
  color: var(--blue-400);
}

/* Description */
.cta-banner-desc {
  font-family: var(--font-body);
  font-size: clamp(0.97rem, 1.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.25rem;
  max-width: 480px;
}

/* Button Row */
.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Primary CTA — teal outlined, white text */
.cta-banner-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  border: 1.5px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.cta-banner-btn-primary:hover {
  background: #ffffff;
  color: #0b1f2e;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.cta-banner-btn-primary svg {
  transition: transform 0.18s ease;
}

.cta-banner-btn-primary:hover svg {
  transform: translateX(4px);
}

/* Secondary CTA — outlined teal */
.cta-banner-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.cta-banner-btn-secondary:hover {
  border-color: var(--blue-400);
  color: var(--blue-400);
  background: rgba(20, 184, 166, 0.08);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767.98px) {
  .cta-banner-inner {
    padding: 3.75rem 0;
    max-width: 100%;
  }

  .cta-banner-headline {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .cta-banner-btn-primary,
  .cta-banner-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* On mobile, image is less visible so push overlay heavier */
  .cta-banner-overlay {
    background: linear-gradient(90deg,
        rgba(11, 31, 46, 0.92) 0%,
        rgba(11, 31, 46, 0.78) 100%);
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

  .cta-banner-btn-primary,
  .cta-banner-btn-secondary {
    transition: none !important;
  }
}