/* =========================================================
   FOOTER  —  Animaze Graphic
   Background is #ff6752 (brand accent orange).
   Already included inside index.css — this file is just a
   standalone copy for reference / reuse on other pages.
========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #ff6752;
  color: #ffffff;
  padding: clamp(28px, 3.5vw, 44px) 0 0;
}

/* ---------------------------------------------------------
   DESKTOP DECORATION — a fine dot texture only, so the flat
   orange panel isn't completely bare. The circle blobs were
   removed: on a business footer they read as decorative
   filler rather than intentional design.
--------------------------------------------------------- */
@media (min-width: 861px) {
  .site-footer {
    background-color: #ff6752;
    background-image: radial-gradient(rgba(20, 8, 4, 0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
  }

  .site-footer .wrap { position: relative; z-index: 1; }
}

.site-footer .foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

/* ---------------------------------------------------------
   BRAND COLUMN
--------------------------------------------------------- */
.site-footer .foot-brand p {
  max-width: 34ch;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer .foot-social {
  display: flex;
  gap: 8px;
}

.site-footer .foot-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.site-footer .foot-social a:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #140804;
}

/* ---------------------------------------------------------
   LINK COLUMNS
--------------------------------------------------------- */
.site-footer h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer .foot-links,
.site-footer .foot-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer .foot-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  transition: color .2s ease;
}
.site-footer .foot-links a:hover { color: #140804; }

.site-footer .foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer .foot-contact i {
  margin-top: 2px;
  width: 15px;
  color: #ffffff;
  font-size: 13px;
}

.site-footer .foot-contact a {
  color: rgba(255, 255, 255, 0.88);
  transition: color .2s ease;
}
.site-footer .foot-contact a:hover { color: #140804; }

/* ---------------------------------------------------------
   BOTTOM BAR
--------------------------------------------------------- */
.site-footer .foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .foot-bottom nav {
  display: flex;
  gap: 18px;
}

.site-footer .foot-bottom nav a {
  color: rgba(255, 255, 255, 0.75);
  transition: color .2s ease;
}
.site-footer .foot-bottom nav a:hover { color: #140804; }

/* ---------------------------------------------------------
   FLOATING WHATSAPP BUTTON (sits right after </footer> in
   footer.html, outside the <footer> tag)
--------------------------------------------------------- */
.wa-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9990;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.wa-btn:hover { transform: scale(1.07); }

/* ---------------------------------------------------------
   RESPONSIVE
   NOTE: 860px matches the breakpoint the hero, services,
   testimonials and FAQ sections already switch to their
   mobile layout at. Keeping the footer on a different
   breakpoint (it used to be 640px) let it stay a 4-column
   desktop grid on real phones wider than 640px — a grid
   that can't shrink small enough, so it forced the WHOLE
   page wider than the screen (that's what was causing the
   page to drag sideways).
--------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-footer .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-footer            { padding-top: 20px; }
  .site-footer .foot-top   {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 18px;
    padding-bottom: 16px;
  }
  .site-footer .foot-brand p { font-size: 14.5px; }

  /* Brand intro (1st) and "Talk to us" (4th, longer lines
     with icons) get the full width; Services (2nd) and
     Company (3rd) sit side-by-side to shorten the footer. */
  .site-footer .foot-top > :nth-child(1),
  .site-footer .foot-top > :nth-child(4) {
    grid-column: 1 / -1;
  }

  .wa-btn {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}