/* ==========================================================================
   LAYOUT/FOOTER.CSS
   Site footer. Loaded on every page.
   ========================================================================== */

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: #EDE7DE;
  color: #2E2A4A;
  border-top: 1px solid #D2C8B8;
  padding-top: 60px;
}

.foot-brand p {
  color: var(--ink-soft);
  max-width: 340px;
  font-size: 14px;
  line-height: 1.6;
}

.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: #E2DBD0;
  border: 1px solid #D0C6B5;
  color: #2E2A4A;
  padding: 5px 12px;
  border-radius: 3px;
}

.foot-badge-svg {
  stroke: #2E2A4A;
}

.foot-col h4 {
  color: #2E2A4A;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.foot-col a {
  display: block;
  color: #5A5578;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color .15s ease;
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--coral);
}

.foot-contact-link svg {
  transition: stroke .15s ease;
}

.foot-contact-link:hover {
  color: var(--coral);
}

.foot-contact-link:hover svg {
  stroke: var(--coral);
}

.foot-quote-cta {
  display: inline-flex !important;
  background: #FCEFE3;
  border: 1px solid #FF8C69;
  padding: 7px 12px;
  border-radius: 3px;
  color: var(--coral) !important;
  font-weight: 600;
  margin-top: 4px;
}

.foot-quote-cta svg {
  stroke: #2E2A4A !important;
  margin-top: 0 !important;
}

.foot-quote-cta:hover {
  background: #FF8C69;
  color: #2E2A4A;
}

.foot-bottom {
  border-top: 1px solid #D5CCBE;
  padding: 24px 0;
  color: #7A7596;
  font-size: 13px;
}

.foot-bottom a:hover {
  color: var(--coral);
}

/* ==========================================================================
   FOOTER BADGES & CONTACT LINKS
   ========================================================================== */

/* [UNUSED] Not referenced by any page or script — safe to delete after review.

.foot-icon {
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--coral);
  flex-shrink: 0;
}
*/

.foot-badge-svg {
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--ink);
}

.foot-contact-link {
  gap: 8px;
  line-height: 1.5;
}

.foot-contact-link:hover {
  color: var(--coral);
}

/* ==========================================================================
   MOBILE (≤767px)
   ========================================================================== */

@media (max-width: 767px) {
  /* Footer: reduce spacing */
  footer {
    padding-top: 40px;
  }
}

/* ==========================================================================
   SMALL MOBILE (≤575px)
   ========================================================================== */

@media (max-width: 575px) {
  /* Footer bottom: stack links */
  .foot-bottom .d-flex {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   WHATSAPP BUTTON (fixed, every page; markup at the end of includes/footer.php)
   ========================================================================== */

.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 250;
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 42, 74, 0.2);
  cursor: pointer;
}

.wa-fab svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

@media (max-width: 767px) {
  .wa-fab {
    bottom: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
  }
}

/* keep the last footer links clear of the WhatsApp button */
.foot-bottom {
  padding-right: 80px;
}

@media (max-width: 767px) {
  .foot-bottom {
    padding-right: 0;
    padding-bottom: 72px;
  }
}
