/* RGR Hero Banner */

.rgr-hero-banner,
.rgr-hero-banner * { box-sizing: border-box; }

.rgr-hero-banner {
  --rgr-bg-url: none;
  position: relative;
  isolation: isolate;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  color: var(--rgr-white);
  background: var(--rgr-bg-dark);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

/* Transparent mode — no photo set, defers to Elementor section background */
.rgr-hero-banner--transparent {
  background: transparent;
  min-height: 0;
}

/* Photo layer */
.rgr-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--rgr-bg-url, none);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Gradient overlay */
.rgr-hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.94) 0%,
      rgba(0,0,0,0.80) 40%,
      rgba(0,0,0,0.40) 70%,
      rgba(0,0,0,0.18) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.30) 0%,
      rgba(0,0,0,0.15) 50%,
      rgba(0,0,0,0.55) 100%);
}

.rgr-hero-banner__content {
  position: relative;
  width: min(680px, 58vw);
  padding: clamp(48px, 5vw, 88px) clamp(24px, 3.6vw, 66px);
}

/* Eyebrow */
.rgr-hero-banner__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rgr-red);
}
.rgr-hero-banner__eyebrow-dash {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--rgr-red);
  border-radius: 999px;
}

/* Headline */
.rgr-hero-banner__headline {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.0vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--rgr-white);
}
.rgr-hero-banner__headline span { display: block; }

/* Subheadline */
.rgr-hero-banner__sub {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--rgr-soft-white);
}

/* Body */
.rgr-hero-banner__body {
  margin: 0 0 20px;
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.55;
  color: var(--rgr-muted-white);
  max-width: 580px;
}

/* Credential strip */
.rgr-hero-banner__creds {
  margin: 0 0 24px;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 500;
  color: var(--rgr-soft-white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* CTAs */
.rgr-hero-banner__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.rgr-hero-banner__cta-pipe {
  color: var(--rgr-line-light);
  font-weight: 300;
  font-size: 1.2em;
}
.rgr-hero-banner__phone {
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  color: var(--rgr-soft-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.35);
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.rgr-hero-banner__phone:hover {
  color: var(--rgr-white);
  text-decoration-color: rgba(255,255,255,0.7);
}

/* Location tag */
.rgr-hero-banner__location {
  margin: 0;
  font-size: 13px;
  color: var(--rgr-muted-white);
}

.rgr-hero-banner .rgr-cta-link {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rgr-hero-banner__content {
    width: min(600px, 72vw);
  }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .rgr-hero-banner__creds { white-space: normal; }
  .rgr-hero-banner {
    min-height: 100svh;
  }
  .rgr-hero-banner::before {
    background-position: 65% center;
  }
  .rgr-hero-banner__overlay {
    background:
      linear-gradient(180deg,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.75) 50%,
        rgba(0,0,0,0.65) 100%),
      linear-gradient(90deg,
        rgba(0,0,0,0.80) 0%,
        rgba(0,0,0,0.25) 100%);
  }
  .rgr-hero-banner__content {
    width: 100%;
    padding: 36px 20px 40px;
  }
  .rgr-hero-banner__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rgr-hero-banner__cta-pipe { display: none; }
}
