/* Footer — professional, matches the Abu Khaled Sweets warm bakery identity */

.site-footer {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--brand-strong) 0%, #5c260f 100%);
  color: #fdf3e9;
  font-weight: 400;
}

/* ---------- Trust strip ---------- */
.footer-trust {
  background: rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: #fdf3e9; }
.trust-item svg { color: var(--honey); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 13.5px; font-weight: 800; }
.trust-item span { display: block; font-size: 11.5px; color: #e7c9ac; margin-top: 1px; }

/* ---------- Main grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 42px 0 26px;
  align-items: start;
}

.footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 14px; }
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.footer-brand span { display: flex; flex-direction: column; gap: 1px; }
.footer-brand strong { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand em { font-style: normal; font-size: 12px; color: var(--honey); font-weight: 600; }

.footer-about p { color: #f0d9c4; font-size: 13.5px; line-height: 1.85; margin: 0 0 16px; max-width: 320px; }

.footer-col h4,
.footer-about + .footer-col h4 { margin: 0 0 14px; color: var(--honey); font-weight: 800; font-size: 14px; }
.footer-col a { display: block; margin-bottom: 10px; color: #f3ddc9; text-decoration: none; font-size: 13.5px; transition: color .12s ease, transform .12s ease; }
.footer-col a:hover { color: #fff; transform: translateX(-4px); }

/* Contact rows */
.footer-contact h4 { margin-bottom: 14px; }
.footer-info-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f3ddc9;
  font-size: 13.5px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-info-row svg { color: var(--honey); flex-shrink: 0; }
a.footer-info-row:hover { color: #fff; }

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transition: transform .15s ease;
}
.footer-whatsapp-btn:hover { transform: translateY(-2px); }
.footer-whatsapp-btn img { width: 18px; height: 18px; border-radius: 50%; }

/* Social icons */
.social-icons { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; align-items: center; }
.icon-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.icon-link .icon-img { width: 58%; height: 58%; object-fit: contain; }
.icon-link:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3); }

/* ---------- Bottom bar ---------- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e7c9ac;
  font-size: 12.5px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fdf3e9;
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.back-to-top:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

@media (max-width: 1024px) {
  .footer-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer-trust-grid { grid-template-columns: 1fr; }
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    padding-top: 32px; 
  }
  .footer-about { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
