/* F31 — CTA banner with factory background image */

#cta.section-cta {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(60px, 7.5vw, 92px) 0;
  background-image:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(26, 54, 93, 0.88) 50%,
      rgba(255, 87, 34, 0.42) 100%
    ),
    var(--cta-bg, url('/static/img/factory_farazbam.webp'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

#cta.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 87, 34, 0.16) 0%,
    transparent 70%
  );
  pointer-events: none;
}

#cta.section-cta .cta-banner {
  padding: clamp(36px, 5vw, 54px);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--section-gap);
  align-items: center;
  background-image:
    linear-gradient(
      135deg,
      rgba(26, 54, 93, 0.84) 0%,
      rgba(15, 23, 42, 0.88) 50%,
      rgba(255, 87, 34, 0.4) 100%
    ),
    var(--cta-bg, url('/static/img/factory_farazbam.webp'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 50px rgba(255, 87, 34, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

#cta.section-cta .cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

#cta.section-cta .cta-banner > * {
  position: relative;
  z-index: 1;
}

#cta.section-cta .cta-banner h3 {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  margin-bottom: 10px;
  color: var(--text-primary);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

#cta.section-cta .cta-banner p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: var(--font-body);
}

#cta.section-cta .cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  #cta.section-cta .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #cta.section-cta .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  #cta.section-cta .cta-actions {
    flex-direction: column;
  }

  #cta.section-cta .cta-actions .btn {
    width: 100%;
  }
}
