/* rc-footer.css — extracted & namespaced from the site stylesheet
   Safe to use without loading style.css on provider pages. */

/* Local variables scoped to the footer only */
.rc-footer {
  --rc-purple: #3C1EB7;
  --rc-ink: #1B1F3A;
  --gutter: 24px;
  --container: 1300px;

  background: #F3F1FA;
  color: var(--rc-ink);
  border-top: 1px solid rgba(27, 31, 58, .06);
  margin-top: 56px;
  width: 100%;

  /* Full-bleed background without causing horizontal scroll */
  box-shadow: 0 0 0 100vmax #F3F1FA;
  clip-path: inset(0 -100vmax);
  position: relative;
}

/* Inner containers share the same centered max width + gutters */
.rc-footer .rc-footer-wrap,
.rc-footer .rc-foot-bottom {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Main layout: brand left, three link columns right (desktop) */
.rc-footer .rc-footer-wrap {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 1.9fr; /* left brand / right columns */
  padding-top: 40px;
  padding-bottom: 28px;
}

/* Right column grid */
.rc-foot-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}

/* Brand + text */
.rc-foot-left .rc-foot-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 200;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--rc-purple);
  display: inline-block;
  margin-bottom: 8px;
}

.rc-foot-tag {
  margin: 6px 0 14px;
  font: 700 1.05rem/1.45 'Proxima Nova', system-ui, sans-serif;
  color: #15182e;
}

.rc-foot-made {
  margin: 0;
  color: #5c6385;
  font: 400 .98rem/1.6 'Proxima Nova', system-ui, sans-serif;
}

/* Link columns */
.rc-foot-col h4 {
  margin: 0 0 8px;
  font: 600 1rem/1.2 'Montserrat', system-ui, sans-serif;
  color: #2a2c42;
}
.rc-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rc-foot-col a {
  font-size: .94rem;
  color: #3c3f57;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(60, 30, 183, .35);
  transition: color .15s ease, text-decoration-color .15s ease;
}
.rc-foot-col a:hover {
  color: var(--rc-purple);
  text-decoration-color: currentColor;
}

/* Bottom bar */
.rc-foot-bottom {
  border-top: 1px solid rgba(27, 31, 58, .08);
  margin-top: 8px;
  padding: 14px 16px 22px;
  text-align: center;
  color: #6a7195;
  font: 400 .92rem/1.5 'Proxima Nova', system-ui, sans-serif;
}
.rc-foot-bottom p {
  margin: 0;
  font-size: .9rem;
  color: #5f6180;
}

/* Focus states for accessibility */
.rc-footer a:focus-visible {
  outline: 3px solid rgba(60, 30, 183, .35);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive: stack + center on tablet/mobile */
@media (max-width: 900px) {
  .rc-footer .rc-footer-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    text-align: center;
  }
  .rc-foot-left { display: grid; justify-items: center; }
  .rc-foot-right {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }
  .rc-foot-col { text-align: center; }
  .rc-foot-col ul { display: grid; place-items: center; gap: 8px; }
}

/* Desktop refinement: keep 3 cols on the right */
@media (min-width: 901px) {
  .rc-foot-right {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
  }
}
