/* =========================================================
   SB Global Solution — Footer — footer columns, contact list, bottom bar, social icons. Loaded on every page.
   Same rules as html-work/css/style.css.
   ========================================================= */
/* ---------- Social icons (footer + the phone top-bar panel) ---------- */
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; transition: background .2s; }
.footer__social a:hover { background: var(--orange-500); }
.footer__social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #A9B5CB; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 48px; }
.footer__logo { display: inline-block; margin-bottom: 20px; line-height: 0; border-radius: 10px; overflow: hidden; }
.footer__logo img { height: 84px; width: auto; }
.footer__brand p { margin: 0 0 12px; max-width: 320px; }
.footer__tagline { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-500); }
.footer__col h4 { margin: 0 0 18px; font-family: var(--font-head); font-size: 16px; color: #fff; }
.footer__col li a { display: inline-block; padding: 5px 0; transition: color .2s, transform .2s; }
.footer__col li a:hover { color: var(--orange-500); transform: translateX(3px); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__legal a:hover { color: #fff; }
@media (max-width: 1150px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
/* 4. Footer on tablet: brand on top, the four link columns in one row */
@media (max-width: 1150px) and (min-width: 601px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
/* Footer: contact details as simple text lines (the big contact strip was removed) */
/* ---- Fix footer link CSS (fixed number of link columns — replaced by "Auto footer link CSS" below) ----
.footer__grid { grid-template-columns: 1.3fr .8fr 1fr 1.15fr 1.4fr; gap: 32px; padding-top: 48px; }
@media (max-width: 1150px) and (min-width: 601px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}
---- end Fix footer link CSS ---- */

/* ---- Auto footer link CSS ----
   The link columns adjust to the number of footer menus assigned (Appearance → Menus →
   Footer columns 1–4): footer.php sets --ft-cols (menu columns) and --ft-cols-tab (menu
   columns + Reach Us, max 4) on .footer__grid. Desktop: brand | menu columns | Reach Us.
   Tablet: brand on top, then up to 4 columns per row. Phone: two columns, Reach Us full width. */
.footer__grid { grid-template-columns: 1.3fr repeat(var(--ft-cols, 3), minmax(0, 1fr)) 1.4fr; gap: 32px; padding-top: 48px; }
@media (max-width: 1150px) and (min-width: 601px) {
  .footer__grid { grid-template-columns: repeat(var(--ft-cols-tab, 4), minmax(0, 1fr)); }
  .footer__contact-list a, .footer__contact-list span { overflow-wrap: anywhere; } /* long email in a narrow column */
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}
/* ---- end Auto footer link CSS ---- */

.footer__contact-list li { margin-bottom: 12px; }
.footer__col .footer__contact-list a, .footer__col .footer__contact-list li > span {
  display: flex; align-items: flex-start; gap: 10px; padding: 0; color: #A9B5CB; transition: color .2s;
}
.footer__col .footer__contact-list a:hover { color: var(--orange-500); transform: none; }
.footer__contact-list .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--orange-500); }
/* (Tablet / phone link columns: see "Auto footer link CSS" above.) */
/* Footer office addresses (multi-line) */
.footer__addr { display: block; line-height: 1.65; }
.footer__addr b { display: block; margin-bottom: 2px; color: #fff; font-weight: 600; }
.footer__contact-list li:has(.footer__addr) { margin-bottom: 16px; }

/* ---------- Floating buttons (bottom-left: Call, WhatsApp, Back to Top) ----------
   Site Settings → Footer Settings → Floating Buttons. The reviews button sits bottom-right. */
.float-actions {
  position: fixed; left: 24px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.float-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  color: #fff; cursor: pointer;
  box-shadow: 0 10px 24px rgba(14,20,64,.28);
  transition: transform .2s, opacity .25s, visibility .25s, background .2s;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.float-btn--call { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.float-btn--wa { background: #25D366; }
.float-btn--wa:hover { background: #1EBE5A; }
.float-btn--top { width: 46px; height: 46px; background: var(--navy-900); opacity: 0; visibility: hidden; }
.float-btn--top svg { width: 20px; height: 20px; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }
.float-btn:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
@media (max-width: 767px) {
  .float-actions { left: 16px; bottom: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .float-btn svg { width: 21px; height: 21px; }
  .float-btn--top { width: 42px; height: 42px; }
}
/* ---------- "Let's Connect" floating button (bottom-right, above "Write a Review") ----------
   Site Settings → Footer Settings → Floating Buttons. js/main.js [data-connect]. */
.float-connect {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 28px rgba(232,101,10,.35);
  transition: transform .2s, filter .2s;
}
.float-connect--stack { bottom: 88px; } /* 24px + the 52px reviews button + 12px gap */
.float-connect:hover { color: #fff; filter: brightness(.95); transform: translateY(-3px); }
.float-connect:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.float-connect svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
  .float-connect { right: 16px; bottom: 16px; min-height: 46px; padding: 0 18px 0 14px; font-size: 14px; }
  .float-connect--stack { bottom: 72px; } /* 16px + the 46px reviews button + 10px gap */
}
/* ---------- Floating buttons: "Show As" (Footer Settings → Floating Buttons) ----------
   float-btn--text = icon + label (pill); float-connect--icon = icon only (circle). */
.float-btn--top:not(.float-btn--text) { margin-left: 3px; } /* centre the smaller circle on the 52px column */
.float-btn--text {
  display: inline-flex; align-items: center; gap: 8px; width: auto; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  font-family: var(--font-head); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.float-btn--top.float-btn--text { height: 46px; padding: 0 18px 0 14px; font-size: 14px; }
.float-connect--icon { width: 52px; padding: 0; justify-content: center; }
@media (max-width: 767px) {
  .float-btn--top:not(.float-btn--text) { margin-left: 2px; }
  .float-btn--text { height: 46px; padding: 0 16px 0 13px; font-size: 14px; }
  .float-btn--top.float-btn--text { height: 42px; padding: 0 15px 0 12px; font-size: 13px; }
  .float-connect--icon { width: 46px; padding: 0; }
}