/* Footer: dark panel with a bordered contact bar, three widget columns, copyright. */

.site-footer {
  padding-top: 90px;
  background: var(--rnx-bg-dark);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--rnx-accent);
}

/* ---- Contact bar --------------------------------------------------------- */

/* auto-fit rather than a fixed 3, because the email and address rows only
   render when site.json has real values for them. */
.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 30px;
  border: 1px solid var(--rnx-rule-dark);
  border-radius: var(--rnx-radius-card-all);
  overflow: hidden;
}

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 30px;
  border-left: 1px solid var(--rnx-rule-dark);
}

.footer-contact__item:first-child {
  border-left: 0;
}

.footer-contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rnx-accent);
  color: var(--rnx-ink);
  font-size: 20px;
}

.footer-contact__item strong {
  display: block;
  color: var(--rnx-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-contact__item em {
  font-style: normal;
  font-size: 14px;
  font-weight: 300;
}

/* ---- Widgets ------------------------------------------------------------- */

/* The reference pads each widget 45px top and bottom rather than padding the
   row — so the spacing holds at every width, including when the columns
   stack. */
.footer-widgets > [class*="col-"] {
  padding-top: 45px;
  padding-bottom: 45px;
}

/* The reference's footer wordmark is a 27px-tall lockup — smaller than the
   header logo, which is why the first widget column stays level with the
   other two. */
.logo--footer {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 21px;
}

.footer-about {
  max-width: 340px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--rnx-white);
  font-size: 21px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 5px;
  line-height: 27px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rnx-accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--rnx-accent);
  border-radius: 50%;
  color: var(--rnx-white);
  font-size: 17px;
  transition: background var(--rnx-dur) var(--rnx-ease);
}

.footer-social a:hover {
  background: var(--rnx-accent);
  color: var(--rnx-ink);
}

/* ---- WhatsApp CTA -------------------------------------------------------- */

/* Occupies the slot the reference gives its newsletter box, and keeps the same
   60px pill so the third column still balances the other two. */
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  min-height: 60px;
  padding: 6px 28px 6px 6px;
  border: 1px solid var(--rnx-accent);
  border-radius: var(--rnx-radius);
  transition: background var(--rnx-dur) var(--rnx-ease);
}

/* Matches the 48px circular icon on the contact rows above it. */
.footer-cta .ico {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 13px;
  border-radius: 50%;
  background: var(--rnx-accent);
  color: var(--rnx-ink);
}

.footer-cta strong {
  display: block;
  color: var(--rnx-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-cta em {
  font-style: normal;
  font-size: 14px;
  font-weight: 300;
}

.footer-cta:hover {
  background: rgba(245, 183, 84, 0.12);
}

.form-status {
  margin-top: 10px;
  min-height: 20px;
  font-size: 13px;
}

/* Reserve no space until there is actually a message to show. */
.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #ff8b8b;
}

.form-status.is-success {
  color: var(--rnx-accent);
}

/* ---- Bottom -------------------------------------------------------------- */

.footer-bottom {
  padding: 39px 0;
  border-top: 1px solid var(--rnx-rule-dark);
  font-size: 13px;
  font-weight: 300;
}

.footer-bottom p {
  margin: 0;
}
