/* =============================================
   PREMIUM BENTO FOOTER – 2026 Modern Design
   ============================================= */
.premium-footer {
  position: relative;
  background: var(--bg-offwhite);    /* uses main theme variables */
  color: var(--text-dark);
  padding: 4rem 0 1.5rem;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  transition: background 0.4s, color 0.4s;
}

[data-theme="dark"] .premium-footer {
  background: #0d0d0d;
  border-top-color: rgba(255,255,255,0.05);
}

/* subtle animated background glow (optional) */
.footer-glow-bg {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(139,0,0,0.08), transparent 60%);
  pointer-events: none;
}

/* ---------- BENTO GRID ---------- */
.footer-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.bento-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.bento-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(139,0,0,0.08);
  border-color: rgba(139,0,0,0.2);
}

/* ---------- BRAND BOX ---------- */
.brand-logo .brand-text {
  font-size: 2rem;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-bio {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- FOOTER HEADINGS & LINKS ---------- */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: 0.8rem;
}

.footer-link-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-link-list a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* ---------- SOCIAL MAGNETIC BUTTONS ---------- */
.social-magnetic-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.magnetic-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1.2);
  border: 1px solid var(--glass-border);
  position: relative;
  text-decoration: none;
}

[data-theme="dark"] .magnetic-btn {
  background: #1a1a1a;
  border-color: #333;
}

.magnetic-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.15) translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(139,0,0,0.35);
}

/* Instagram gradient on hover (optional unique colour) */
.magnetic-btn[aria-label="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
}

/* ---------- WHATSAPP BUTTON ---------- */
.btn-whatsapp-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-premium:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  color: white;
}

.wa-icon-wrap {
  font-size: 1.4rem;
}

.wa-text {
  font-size: 1rem;
}

/* ---------- FOOTER BOTTOM BAR ---------- */
.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--primary);
}

.dot-separator {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .footer-bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .bento-box {
    padding: 1.5rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-bento-grid {
    grid-template-columns: 1fr;
  }
  .social-magnetic-group {
    justify-content: center;
  }
  .btn-whatsapp-premium {
    width: 100%;
    justify-content: center;
  }
}