/* Site footer (markup: functions/includes/site_footer.php) - builds on style.css variables.
   Navy like the header bar; the logo's wordmark is white, so it needs the dark background. */

.site-footer {
  margin-top: 40px;
  background: var(--bg-navyblue, #252b61);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }

.sf-wrap { padding-left: 20px; padding-right: 20px; }

/* Four columns on desktop; brand on top + three columns on tablets; brand, then two columns on phones */
.sf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  padding: 44px 0 36px;
}
@media (max-width: 991.98px) {
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 36px; }
}

/* Brand + contact */
.sf-logo img { height: 40px; width: auto; }
.sf-tagline { margin: 14px 0 16px; max-width: 420px; }
.sf-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.sf-contact .mdi { font-size: 18px; line-height: 1.2; color: #f08ae9; flex: none; }
.sf-contact a { overflow-wrap: anywhere; }

.sf-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 19px;
  transition: background 0.15s;
}
.sf-social a:hover,
.sf-social a:focus-visible { background: rgba(192, 8, 183, 0.9); text-decoration: none; }

/* Link columns */
.sf-head {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sf-col li { margin-bottom: 8px; }
.sf-col a { display: inline-block; padding: 2px 0; }
.sf-more { font-weight: 600; color: #fff !important; }

/* Bottom bar: copyright, payment, legal links */
.sf-bottom { background: rgba(0, 0, 0, 0.18); font-size: 13px; }
.sf-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.sf-pay { display: inline-flex; align-items: center; gap: 10px; }
.sf-pay img { height: 34px; width: auto; background: #fff; border-radius: 4px; padding: 2px 6px; }
.sf-legal { display: inline-flex; gap: 18px; }
@media (max-width: 767.98px) {
  .sf-bottom-row { flex-direction: column; text-align: center; }
}

/* Pages with the WhatsApp chat button: keep the bottom bar clear of it on phones */
@media (max-width: 575.98px) {
  .sf-bottom-row { padding-bottom: 80px; }
}
