/* ===== FOOTER — Black Background ===== */
.footer {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
}

.footer-top {
  padding: 70px 80px 50px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo img {
  height: 38px;
  filter: invert(1) brightness(2); /* white logo on black bg */
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Columns */
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 9px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Contact items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  font-size: 0.9rem;
  margin-top: 2px;
  opacity: 0.6;
}

.footer-contact-item p,
.footer-contact-item a {
  color: rgba(255,255,255,0.45);
  font-size: 0.83rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact-item a:hover { color: var(--white); }

/* Bhauu Brand Strip */
.footer-bhauu {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bhauu-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bhauu-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-bhauu-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-bhauu-logo:hover {
  opacity: 1;
}

/* Bottom */
.footer-bottom {
  padding: 20px 80px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer-bottom p span { color: #f472b6; }

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.25s;
}

.footer-bottom-links a:hover { color: var(--white); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--black);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  z-index: 8000;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; padding: 55px 50px 40px; }
  .footer-bottom { padding: 18px 50px; }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; padding: 44px 24px 30px; gap: 32px; }
  .footer-bhauu { padding: 14px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; text-align: center; }
}
