/* === Fullwidth Pricing Intro Section with Overlay System === */
.snet-fullwidth .snet-pricing-intro-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem) 5%;
  background-color: #f8f9fa;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

/* Background image layer */
.snet-fullwidth .snet-pricing-intro-section.has-bg-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay layer */
.snet-fullwidth .snet-pricing-intro-section.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    rgba(var(--pricing-overlay-rgb, 0, 0, 0), 0.45),
    rgba(var(--pricing-overlay-rgb, 0, 0, 0), 0.45)
  );
}

/* Keep content above overlay */
.snet-fullwidth .snet-pricing-intro-section > * {
  position: relative;
  z-index: 1;
}

/* Title styling */
.snet-fullwidth .snet-pricing-intro-section .pricing-heading {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #004aad; /* brand blue by default */
}

/* Subtitle styling */
.snet-fullwidth .snet-pricing-intro-section .pricing-subheading {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #333; /* default dark text */
}

/* Fallbacks when background image is present */
.snet-fullwidth .snet-pricing-intro-section.has-bg-image .pricing-heading {
  color: #004aad; /* keep brand blue */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.snet-fullwidth .snet-pricing-intro-section.has-bg-image .pricing-subheading {
  color: #fff; /* switch to white only with bg image */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
