/* ===============================================
   ISUZU MIGORI — FOOTER & FLOATING ACTIONS
   Navy footer with a booking call-to-action strip,
   gold-striped column headings, back-to-top + WhatsApp.
   =============================================== */

.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  font-size: .875rem;
}
.footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: #FFFFFF; }

/* ── CTA strip ── */
.footer-cta {
  position: relative;
  background: var(--navy-2);
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-red) 0 70%, var(--gold) 70% 100%);
}
.footer-cta::after {
  content: '';
  position: absolute;
  right: -60px; top: 0; bottom: 0;
  width: 38%;
  background: repeating-linear-gradient(-66deg, rgba(255,255,255,.035) 0 14px, transparent 14px 34px);
  pointer-events: none;
}
/* Two classes so a page's own `.container { padding: 0 … }` (blog.css
   loads after this file) can't flatten the strip */
.footer-cta .footer-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding-block: clamp(36px, 5vw, 56px);
}
.footer-cta .eyebrow { color: var(--gold); margin-bottom: 8px; }
.footer-cta-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
}
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Columns ── */
.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px) 40px;
}
.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.footer-col h4::before {
  content: '';
  width: 20px;
  height: 4px;
  background: var(--gold);
  transform: skewX(-24deg);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; line-height: 1.5; }
.footer-col li a:hover { color: var(--gold); }

.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-isuzu img { filter: brightness(0) invert(1); }
.footer-brand .brand-place { color: #FFFFFF; }
.footer-brand p { max-width: 330px; margin: 0 0 22px; line-height: 1.75; }
/* Authorised by Isuzu East Africa: links to their site */
.footer-authorised {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px;
  text-decoration: none;
}
.footer-authorised span {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.footer-authorised img { width: auto; height: 40px; transition: opacity .25s var(--ease); }
.footer-authorised:hover img { opacity: .8; }

.footer-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 162, 63, .45);
  border-radius: var(--radius);
  font-size: .78rem;
  line-height: 1.4;
}
.footer-partner-link .fi { font-size: 26px; color: var(--gold); }
.footer-partner-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.footer-partner-link:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .fi { color: var(--gold); font-size: 18px; margin-top: 1px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* "Built by Byteframe" — its own centred row under the legal bar */
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}
.footer-credit a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.footer-credit a:hover { color: var(--gold); }
.footer-credit .fi { font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer-credit a:hover .fi { color: var(--gold); }

@media (max-width: 960px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-actions .btn { flex: 1 1 100%; }
}

/* ===============================================
   FLOATING ACTIONS
   =============================================== */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.whatsapp-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(11, 29, 46, .25);
  transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .brand-icon { width: 28px; height: 28px; }

.float-top {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(11, 29, 46, .25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background .2s;
}
.float-top .fi { font-size: 18px; }
.float-top:hover { background: var(--brand-red-dark); }
.float-actions.show-top .float-top {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s ease, transform .3s ease, background .2s;
}

/* Shop has its own cart button bottom-right — lift the floating actions */
body.page-shop .float-actions { bottom: 96px; }

