/* ==========================================================================
   footer.css — Pro footer + socials + WhatsApp float
   ========================================================================== */

.site-footer{
  border-top: 1px solid var(--line);
  padding: 34px 0 18px;
  position: relative;
}

.footer-inner{
  display: grid;
  gap: 22px;
}

.footer-brand{
  display: grid;
  gap: 10px;
}

.footer-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.footer-logo-mark{
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}

.footer-logo-text{
  font-weight: 950;
  letter-spacing: -0.02em;
}

.footer-tag{
  max-width: 56ch;
}

.footer-social{
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-ico{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.social-ico:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.footer-cols{
  display: grid;
  gap: 16px;
}

@media (min-width: 860px){
  .footer-inner{
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
  .footer-cols{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    justify-items: start;
  }
}

.footer-col h3{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
}

.footer-col a{
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover{
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.footer-credit a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-credit a:hover{
  border-bottom-color: rgba(255,255,255,.55);
}

/* WhatsApp floating button */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);

  color: #fff;
  text-decoration: none;

  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.whatsapp-float:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.66);
  border-color: rgba(255,255,255,.28);
}

.whatsapp-float .wa-ico{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,211,102,.18);
  border: 1px solid rgba(37,211,102,.35);
  color: #fff;
}

.whatsapp-float .wa-text{
  font-weight: 900;
  letter-spacing: -0.01em;
}

@media (max-width: 520px){
  .whatsapp-float .wa-text{ display: none; }
  .whatsapp-float{ padding: 12px; }
}
