/* RGR Hero — loaded by the RGR Hero plugin */

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

.rgr-hero {
  --rgr-red: #e10808;
  --rgr-red-dark: #b90707;
  --rgr-white: #ffffff;
  --rgr-soft-white: rgba(255, 255, 255, 0.88);
  --rgr-muted-white: rgba(255, 255, 255, 0.72);
  --rgr-line: rgba(255, 255, 255, 0.24);
  --rgr-black: #030405;
  --rgr-bg-url: none;

  position: relative;
  isolation: isolate;
  min-height: 780px;
  width: 100%;
  overflow: hidden;
  color: var(--rgr-white);
  background: #050608;
  font-family:
    Inter,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

/* Photo lives here — isolated from the gradient layers above it */
.rgr-hero::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;
}

.rgr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.86) 30%,
      rgba(0, 0, 0, 0.52) 58%,
      rgba(0, 0, 0, 0.36) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0.70) 100%
    ),
    radial-gradient(circle at 76% 42%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 20% 30%, rgba(225, 8, 8, 0.08), transparent 24%);
}

.rgr-hero__inner {
  width: min(100%, 1720px);
  margin-inline: auto;
  padding: clamp(28px, 3.4vw, 56px) clamp(24px, 3.6vw, 66px);
}

.rgr-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 3.6vw, 54px);
}

.rgr-hero__logo {
  display: inline-flex;
  width: clamp(250px, 23vw, 405px);
  max-width: 52vw;
  text-decoration: none;
}

.rgr-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42));
}

.rgr-hero__top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rgr-location-pill,
.rgr-location-pill:visited {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.rgr-location-pill svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}


.rgr-hero__content {
  width: min(920px, 60vw);
}

.rgr-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 2.8vw, 54px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.52);
}

.rgr-hero__title span {
  display: block;
}

.rgr-text-red {
  color: var(--rgr-red);
}

.rgr-hero__title::after {
  content: "";
  display: block;
  width: clamp(130px, 12vw, 205px);
  height: 3px;
  margin-top: 22px;
  background: linear-gradient(90deg, rgba(225, 8, 8, 0.45), rgba(225, 8, 8, 0));
  border-radius: 999px;
}

.rgr-hero__copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--rgr-soft-white);
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.27;
  font-weight: 400;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.62);
}

.rgr-hero__copy a {
  color: var(--rgr-red);
  font-weight: 800;
  text-decoration: none;
}

.rgr-hero__copy a:hover,
.rgr-hero__copy a:focus {
  text-decoration: underline;
}

.rgr-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(86px, 1fr));
  gap: 0;
  width: min(920px, 63vw);
  margin-top: 28px;
}

.rgr-trust-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  min-height: 110px;
  padding: 0 18px;
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.12;
  font-weight: 500;
}

.rgr-trust-item + .rgr-trust-item {
  border-left: 1px solid var(--rgr-line);
}

.rgr-trust-item__icon {
  display: grid;
  place-items: center;
  width: clamp(48px, 4.2vw, 68px);
  height: clamp(48px, 4.2vw, 68px);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
}

.rgr-trust-item__icon svg {
  width: 56%;
  height: 56%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rgr-trust-item__icon img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.rgr-trust-item__icon svg {
  width: 65%;
  height: 65%;
}

.rgr-hero__cta {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.rgr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 15px 26px;
  border-radius: 7px;
  background: linear-gradient(180deg, #f12a2a 0%, #c80707 100%);
  color: #fff !important;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.rgr-button:hover,
.rgr-button:focus {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.rgr-button span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.rgr-button svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rgr-button--estimate {
  min-width: 370px;
}

.rgr-button--phone {
  min-width: 330px;
}

/* ── Medium desktop ───────────────────────────────────────── */

@media (max-width: 1280px) {
  .rgr-hero {
    min-height: 720px;
  }
  .rgr-hero__content {
    width: min(820px, 62vw);
  }
  .rgr-trust-grid {
    width: min(820px, 68vw);
  }
  .rgr-trust-item {
    padding-inline: 12px;
  }
}

/* ── Tablet ───────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .rgr-hero {
    min-height: auto;
  }
  .rgr-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.94) 0%,
        rgba(0, 0, 0, 0.78) 48%,
        rgba(0, 0, 0, 0.55) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.40) 0%,
        rgba(0, 0, 0, 0.62) 100%
      );
  }
  .rgr-hero__inner {
    padding: 30px 28px 46px;
  }
  .rgr-hero__content {
    width: min(720px, 100%);
  }
  .rgr-hero__title {
    font-size: clamp(34px, 5.6vw, 55px);
  }
  .rgr-hero__copy {
    max-width: 680px;
  }
  .rgr-trust-grid {
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
  .rgr-trust-item {
    min-height: 104px;
  }
  .rgr-trust-item:nth-child(4) {
    border-left: 0;
  }
  .rgr-hero__cta {
    max-width: 760px;
  }
  .rgr-button {
    flex: 1;
    min-width: 0;
  }
}

/* ── Mobile ───────────────────────────────────────────────── */

@media (max-width: 767px) {
  .rgr-hero {
    min-height: 100svh;
  }
  .rgr-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.86) 38%,
        rgba(0, 0, 0, 0.60) 66%,
        rgba(0, 0, 0, 0.78) 100%
      ),
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.34) 100%
      );
  }
  .rgr-hero::before {
    background-position: 67% center;
  }
  .rgr-hero__inner {
    padding: 16px 20px 20px;
  }
  .rgr-hero__top {
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .rgr-hero__logo {
    width: min(58vw, 320px);
    max-width: none;
  }
  .rgr-hero__top-actions {
    gap: 12px;
  }
  .rgr-location-pill {
    min-height: 42px;
    padding: 10px 15px;
    gap: 8px;
    font-size: 15px;
  }
  .rgr-location-pill svg {
    width: 19px;
    height: 19px;
  }
  .rgr-hero__title {
    font-size: clamp(34px, 9.2vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }
  .rgr-hero__title::after {
    display: none;
  }
  .rgr-hero__copy {
    margin-top: 10px;
    max-width: 100%;
    font-size: clamp(15px, 3.8vw, 20px);
    line-height: 1.25;
  }
  .rgr-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px;
    max-width: none;
    row-gap: 0;
  }
  .rgr-trust-item,
  .rgr-trust-item + .rgr-trust-item {
    border: 0;
    min-height: 80px;
    padding: 8px 6px 8px;
    font-size: clamp(11px, 2.8vw, 14px);
  }
  .rgr-trust-item__icon {
    width: 38px;
    height: 38px;
  }
  .rgr-hero__cta {
    display: grid;
    gap: 10px;
    margin-top: 10px;
  }
  .rgr-button {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    border-radius: 7px;
    font-size: clamp(18px, 5vw, 26px);
    white-space: normal;
  }
  .rgr-button--estimate,
  .rgr-button--phone {
    min-width: 0;
  }
  .rgr-button svg {
    width: 28px;
    height: 28px;
  }
}

/* ── Small mobile ─────────────────────────────────────────── */

@media (max-width: 430px) {
  .rgr-hero__inner {
    padding-inline: 16px;
  }
  .rgr-hero__logo {
    width: 55vw;
  }
  .rgr-location-pill {
    font-size: 13px;
    padding-inline: 12px;
  }
  .rgr-hero__title {
    font-size: clamp(29px, 8.8vw, 41px);
  }
  .rgr-hero__copy {
    font-size: 17px;
  }
  .rgr-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rgr-button {
    min-height: 56px;
    font-size: 18px;
    gap: 12px;
  }
}
