/* =========================================================
   OUR SERVICES — SECTION 2 (CTA BANNER)
   Reference: screenshot CTA with image bg + 80% white overlay
   ========================================================= */

.os-cta-banner{
  position: relative;
  width: 100%;
  overflow: hidden;

  background-image: url("https://dealerglassandcalibrations.com/wp-content/uploads/2026/01/Operational-Efficiency-Benefits.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* height similar to reference */
  min-height: clamp(260px, 26vw, 460px);

  display: flex;
  align-items: center;
}

/* ✅ 80% white overlay */
.os-cta-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.80);
  pointer-events:none;
  z-index: 0;
}

.os-cta-banner .container{
  position: relative;
  z-index: 1;
}

/* left content block like screenshot */
.os-cta-banner__content{
  max-width: 740px;
  padding: var(--space-xl) 0;
}

/* heading (uses your global h2 sizing but ensure color + spacing) */
.os-cta-banner__title{
  color: var(--gc-dark-blue);
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.02em;
}

/* paragraph */
.os-cta-banner__desc{
  margin: 0 0 var(--space-md);
  max-width: 620px;
  color: var(--gc-muted);
  line-height: 1.55;
}

/* button tweaks (keeps your .btn styles) */
.os-cta-banner__btn{
  width: fit-content;
  padding: 12px 22px; /* slightly bigger like reference */
}

.os-cta-banner__arrow{
  display: inline-block;
  margin-left: 6px;
  transform: translateY(-1px);
}

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

@media (max-width: 900px){
  .os-cta-banner__content{
    max-width: 680px;
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 640px){
  .os-cta-banner{
    min-height: 280px;
    background-position: center right;
  }

  .os-cta-banner__content{
    max-width: 100%;
    padding: var(--space-lg) 0;
  }

  .os-cta-banner__desc{
    max-width: 100%;
  }

  .os-cta-banner__btn{
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
