/* =========================================================
   Site footer (same dark textured look, cleaned up)
   ========================================================= */
footer.ft {
  background-color: #0d0d0d;
  background-image: url(../img/footer_bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 110px 0 0;
}
.ft a { text-decoration: none; }
.ft ul { list-style: none; margin: 0; padding: 0; }

.ft-main {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 24px 0 36px;
}
.ft-logo img { display: block; width: 240px; max-width: 70vw; height: auto; }
.ft-tagline { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .65); }

/* Social */
.ft-social { display: flex; gap: 12px; margin-top: 20px; }
.ft-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff; font-size: 17px;
  transition: background .2s, border-color .2s, transform .2s;
}
.ft-social a:hover { background: #f14f0f; border-color: #f14f0f; color: #fff; transform: translateY(-3px); }

/* Links */
.ft-nav { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; }
.ft-links a { color: #e8e8e8; font-size: 15px; font-weight: 500; transition: color .2s; }
.ft-links a:hover { color: #ff6a33; }
.ft-links-legal a { color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 400; }

/* Trust badges */
.ft-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.ft-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 112px; height: 44px; padding: 4px 6px;
  background: #fff; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ft-badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Disclaimer */
.ft-disclaimer {
  max-width: 880px;
  margin: 28px auto 0;
  font-size: 12px; line-height: 1.7; letter-spacing: .2px;
  color: rgba(255, 255, 255, .62);
}
.ft-disclaimer strong { color: #fff; font-weight: 600; }

/* Bottom bar */
.ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 18px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.ft-bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
.ft-top { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; }
.ft-top i { width: 28px; height: 28px; border-radius: 50%; background: #f14f0f; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: transform .2s; }
.ft-top:hover { color: #ff6a33; }
.ft-top:hover i { transform: translateY(-2px); }

@media (max-width: 767px) {
  footer.ft { padding-top: 80px; }
  .ft-main { padding-bottom: 28px; }
  .ft-links { gap: 6px 20px; }
  .ft-links a { font-size: 14px; }
  .ft-links-legal a { font-size: 13px; }
  .ft-badge { width: 96px; height: 40px; }
  .ft-badges { gap: 10px; }
  .ft-disclaimer { font-size: 11.5px; }
  .ft-bottom { flex-direction: column; text-align: center; padding-bottom: 26px; }
}
@media (max-width: 400px) {
  /* links as a tidy 2-column list on small phones */
  .ft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; width: 100%; max-width: 300px; }
  .ft-badge { width: calc(50% - 5px); max-width: 130px; }
}

/* Mobile bottom nav: let the dark footer fill the space reserved for it (no white strip) */
@media (max-width: 992px) {
  body:has(.bottom-nav) { padding-bottom: 0 !important; }
  body:has(.bottom-nav) footer.ft { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}
