footer.rr-public-footer {
  display: block;
  margin: 0;
  padding: clamp(28px, 4vw, 64px) 0 0;
  background: var(--rr-deep, #103e3a);
  color: var(--rr-surface, #fffdf8);
  font-family: var(--rr-font, Sora, Arial, sans-serif);
}

.rr-public-footer .rr-footer-shell {
  width: var(--rr-shell, min(94%, 1670px));
  margin-inline: auto;
}

.rr-public-footer .rr-footer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid #c8ede638;
  border-radius: var(--rr-card-radius, 18px);
  background: #1c504a;
}

.rr-public-footer .rr-footer-banner h2 {
  margin: 0 0 8px;
  color: var(--rr-surface, #fffdf8);
  font-size: clamp(23px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.04em;
}

.rr-public-footer p {
  margin: 0;
  color: #d2e5de;
  font-size: 14px;
  line-height: 1.65;
}

.rr-public-footer .rr-footer-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 48px;
  margin: 0;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--rr-mint, #bce7d5);
  color: var(--rr-deep, #103e3a);
  font: 650 14px/1.35 var(--rr-font, Sora, Arial, sans-serif);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease;
}

.rr-public-footer .rr-footer-cta:hover {
  background: var(--rr-surface, #fffdf8);
  color: var(--rr-deep, #103e3a);
}

.rr-public-footer .rr-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 68px);
  padding-block: clamp(24px, 4vw, 54px);
}

.rr-public-footer .rr-footer-logo {
  display: inline-block;
  width: min(100%, 254px);
  margin: 0 0 12px;
}

.rr-public-footer .rr-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.rr-public-footer .rr-footer-identity p { max-width: 36ch; }

.rr-public-footer :is(.rr-footer-links, .rr-footer-contact-details) h3 {
  margin: 0 0 10px;
  color: var(--rr-surface, #fffdf8);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 650;
}

.rr-public-footer .rr-footer-links ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-public-footer .rr-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #d2e5de;
  font-size: 14px;
  text-decoration: none;
}

.rr-public-footer .rr-footer-links a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rr-public-footer .rr-footer-contact {
  display: grid;
  align-items: start;
  gap: 18px clamp(20px, 4vw, 54px);
  margin-bottom: clamp(22px, 3vw, 36px);
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid #c8ede638;
  border-radius: var(--rr-card-radius, 18px);
  background: #1c504a;
}

.rr-public-footer .rr-footer-contact-details {
  min-width: 0;
  align-self: center;
}

.rr-public-footer .rr-footer-contact-details address {
  display: grid;
  justify-items: start;
  gap: 5px;
  margin: 0;
  color: #d2e5de;
  font: 400 14px/1.55 var(--rr-font, Sora, Arial, sans-serif);
  overflow-wrap: anywhere;
}

.rr-public-footer .rr-footer-contact-details address p { white-space: pre-line; }
.rr-public-footer .rr-footer-contact-details address a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.rr-public-footer .rr-footer-directions {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  color: var(--rr-mint, #bce7d5);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rr-public-footer .rr-footer-contact-details a:hover { color: white; }

.rr-public-footer .rr-footer-map {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c8ede638;
  border-radius: 12px;
  background: var(--rr-deep, #103e3a);
}

.rr-public-footer .rr-footer-map iframe {
  display: block;
  width: 100%;
  height: clamp(160px, 19vw, 210px);
  border: 0;
}

.rr-public-footer .rr-footer-contact [hidden],
.rr-public-footer .rr-footer-contact[hidden] { display: none; }

@media (min-width: 701px) {
  .rr-public-footer .rr-footer-contact:has(.rr-footer-map:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
}

.rr-public-footer :is(a, button):focus-visible {
  outline: 2px solid var(--rr-mint, #bce7d5);
  outline-offset: 4px;
}

.rr-public-footer .rr-footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 17px;
  border-top: 1px solid #c8ede638;
  color: #b8d0c7;
}

.rr-public-footer .rr-footer-legal small { font-size: 12px; }
.rr-public-footer:has(+ .whatsapp) .rr-footer-legal { padding-inline-end: 52px; }

@media (max-width: 650px) {
  .rr-public-footer .rr-footer-shell { width: 90%; }
  .rr-public-footer .rr-footer-banner { flex-direction: column; align-items: stretch; }
  .rr-public-footer .rr-footer-cta { align-self: flex-start; }
  .rr-public-footer .rr-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-public-footer .rr-footer-identity { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .rr-public-footer .rr-footer-cta { transition: none; }
}
