/* =========================================================
   SITE FOOTER  (used on every main page)
   Edit the numbers marked DIAL to adjust.
   ========================================================= */

.site-footer {
  background: #0a0a0a;                 /* DIAL: footer background */
  color: #a8a8a8;                      /* DIAL: normal footer text */
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  padding: 60px 0 0;                   /* DIAL: space above the columns */
  margin: 0;
}

.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover,
.site-footer a:focus { color: #3B5998; }   /* DIAL: accent colour on hover (Facebook blue) */

/* ----- Four columns on desktop ----- */
.sf-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.6fr 1.3fr;
  gap: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }

/* ----- Brand column ----- */
.sf-logo {
  width: 140px; height: auto;
  filter: invert(1);                   /* the logo is black, this makes it white on the dark footer */
  mix-blend-mode: screen;              /* hides the logo's square background */
  margin-bottom: 14px;
}
.sf-brand p { margin: 0 0 18px; max-width: 260px; color: #a8a8a8; font-size: 14px; line-height: 1.7; }

.sf-social { display: flex; gap: 10px; }
.sf-social li { margin: 0; }
.sf-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #333; color: #fff; font-size: 15px;
}
.sf-social a:hover { border-color: #3B5998; }

/* ----- Contact column ----- */
.sf-contact a:not(.sf-price) { display: inline-flex; align-items: baseline; white-space: nowrap; }
.sf-contact i { width: 20px; flex: none; color: #3B5998; }   /* DIAL: icon colour (Facebook blue) */
.sf-price {
  display: inline-block; margin-top: 8px;
  background: #fff; color: #0a0a0a !important;
  font-weight: 600; padding: 9px 18px; border-radius: 6px;
}
.sf-price:hover { background: #3B5998; color: #fff !important; }   /* white text, as black is hard to read on the blue */

/* ----- Hours column ----- */
.sf-hours li { display: flex; flex-direction: column; }
.sf-hours strong { color: #fff; font-weight: 500; }

/* ----- Bottom bar: legal details ----- */
.sf-bottom {
  margin-top: 50px;
  border-top: 1px solid #222;
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  font-size: 12.5px; color: #8a8a8a;
}
.sf-bottom p { margin: 0; color: inherit; font-size: inherit; line-height: 1.6; }
.sf-bottom a { color: #a8a8a8; }
.sf-legal-links a + a { margin-left: 18px; }

/* ----- Tablet: two columns ----- */
@media (max-width: 991px) {
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 36px 30px; }
}

/* ----- Phone: one column, centred ----- */
@media (max-width: 575px) {
  .site-footer { padding-top: 44px; text-align: center; }
  .sf-grid { grid-template-columns: 1fr; gap: 30px; }
  .sf-brand p { margin-left: auto; margin-right: auto; }
  .sf-social { justify-content: center; }
  .sf-bottom { flex-direction: column; align-items: center; text-align: center; margin-top: 36px; }
}


/* =========================================================
   STICKY ACTION BAR on every page (phones only)
   ========================================================= */
.mobile-bar { display: none; }
@media (max-width: 767px) {
    .mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
        background: #0a0a0a; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        gap: 8px; box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
    }
    .mobile-bar a {
        flex: 1; text-align: center; padding: 11px 4px; border-radius: 8px;
        font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
        background: #2a2a2a;
    }
    .mobile-bar a.mb-price { background: #fff; color: #0a0a0a; }  /* the main action stands out */
    .mobile-bar a.mb-wa { background: #25d366; color: #fff; }
    .mobile-bar i { margin-right: 6px; }
    body .site-footer { padding-bottom: 66px; }  /* stops the bar covering the bottom of the footer */
    body .site-footer .sf-price { display: none; }  /* the bar already has Get price, so hide the footer button on phones */
}
