/* ============================================================
   Ricky's Gutters: closing call to action

   Light band between the navy service area and the navy footer. It carries a
   quiet echo of the Recent-work section's dot grid and cyan bloom, so the two
   light sections at the bottom of the page read as a matched pair rather than
   two unrelated gaps in the navy.
   ============================================================ */

.rg-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  text-align: center;
}
.rg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,58,147,.14) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(90% 120% at 50% 50%, transparent 30%, #000 88%);
  mask-image: radial-gradient(90% 120% at 50% 50%, transparent 30%, #000 88%);
}
.rg-cta::after {
  content: "";
  position: absolute;
  top: -55%;
  left: 50%;
  translate: -50% 0;
  width: min(120vw, 1100px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,200,255,.16) 0%, rgba(0,200,255,.06) 45%, transparent 68%);
}
.rg-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}
.rg-cta .rg-h2 {
  max-width: 22ch;
  font-size: clamp(1.875rem, 1.25rem + 2.4vw, 3rem);
}
.rg-cta .rg-lede {
  max-width: 56ch;
  margin-top: 18px;
}

.rg-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 32px;
}
/* The one loud thing on the page's last screen. */
.rg-cta__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 34px;
  border-radius: var(--rg-r-sm);
  background: var(--rg-action);
  color: var(--rg-action-ink);
  font-family: var(--rg-font-head);
  font-size: clamp(1.25rem, 1.05rem + .55vw, 1.625rem);
  font-weight: 900;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(249,168,37,.32);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.rg-cta__call:hover {
  background: var(--rg-action-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(249,168,37,.38);
}
.rg-cta__call svg { width: 22px; height: 22px; flex: 0 0 auto; }

.rg-cta__quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--rg-tap);
  color: var(--rg-navy);
  font-family: var(--rg-font-head);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0,58,147,.3);
}
.rg-cta__quote:hover { text-decoration-color: currentColor; }

.rg-cta__hours {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rg-hairline);
  color: var(--rg-text-muted);
  font-size: .875rem;
}
.rg-cta__hours b {
  color: var(--rg-text);
  font-family: var(--rg-font-head);
  font-weight: 800;
}

@media (max-width: 750px) {
  .rg-cta::after { top: -30%; width: 160vw; }
  .rg-cta .rg-lede { max-width: 42ch; line-height: 1.55; }
  .rg-cta__actions { margin-top: 26px; gap: 10px; width: 100%; }
  .rg-cta__call {
    width: 100%;
    justify-content: center;
    min-height: 60px;
    padding-inline: 20px;
  }
  .rg-cta__quote { justify-content: center; text-align: center; }
  .rg-cta__hours {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rg-cta__call { transition: none; }
  .rg-cta__call:hover { transform: none; }
}
