/* ==================================================
   CLEAN PREMIUM FOOTER SYSTEM (PRODUCTION FIXED)
==================================================== */

.site-footer {
  background: #0f0f12;
  padding: 5rem 2rem 2rem;
  color: #aaa;
  overflow-x: hidden; /* ✅ prevent horizontal scroll */
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ================= GRID ================= */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* ================= TYPOGRAPHY ================= */

.footer-col h4 {
  color: #D4AF37;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 0.6rem;
  color: #bbb;
  transition: 0.3s ease;
  word-break: break-word; /* ✅ prevent overflow */
}

.footer-col a:hover {
  color: #D4AF37;
  transform: translateX(4px);
}

.footer-about p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(212,175,55,0.85);
  line-height: 1.6;
}

/* ================= SOCIAL ================= */

.social-links {
  display: flex;
  flex-wrap: wrap; /* ✅ prevent overflow */
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(6, 38px); /* 3 per row for footer social icons*/
  justify-content: start;
  gap: 0.6rem;
}

/* ===============================================
💎 Alternative (auto-fit clean system)

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(38px, max-content));
  gap: 0.6rem;
}

/* ================================================
CENTER FOOTER SOCIAL icons

.social-links {
  display: grid;
  grid-template-columns: repeat(3, 38px);
  justify-content: center;
  gap: 0.6rem;
}

=================================================*/

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #120a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b301;
  transition: 0.3s;
}

.social-links a:hover {
  background: #f5b301;
  color: #120a1f;
  transform: translateY(-3px);
}

/* ================= LOGO ================= */

.footer-logo svg {
  fill: #D4AF37;
  transition: 0.3s ease;
}

.footer-logo:hover svg {
  fill: #fff;
}

.footer-brand img {
  max-width: 220px;
  width: 100%; /* ✅ responsive */
  height: auto;
  margin-bottom: 1.2rem;
}

/* ================= BOTTOM ================= */

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245,179,1,0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245,179,1,0.7);
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ==================================================
   ✅ RESPONSIVE SYSTEM (FIXED + ACTIVE)
==================================================== */

/* Tablets */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .site-footer {
    padding: 3rem 1.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding-top: 1rem;
  }
}

/* ==================================================
   SUBSCRIBE FORM
==================================================== */

.footer-growth input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,215,0,0.4) !important;
  background: #1a1328;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s ease;
}

.footer-growth .fluent_form_5 .ff-btn-submit {
  width: 100%;
  padding: 0.7rem;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #f5b301, #ff8c42);
  color: #120a1f;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer-growth .fluent_form_5 .ff-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,179,1,0.4);
}

/* ================= SUCCESS MESSAGE ================= */

.fluentform .ff-message-success {
  background: rgba(212,175,55,0.1);
  border: 1px solid #D4AF37;
  color: #D4AF37;
  border-radius: 20px;
  padding: 10px;
  margin-top: 10px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   COOKIE BANNER
==================================================== */

.cs-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  background: rgba(0,0,0,0.9);
  color: #fff;
  border-radius: 12px;
  display: none;
  z-index: 9999;
}

.cs-cookie-banner button {
  margin-left: 15px;
  background: gold;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}

/* ==================================================
   WAVEFORM
==================================================== */

.cs-waveform {
  display: flex;
  gap: 4px;
}

.cs-waveform span {
  width: 3px;
  height: 10px;
  background: #f5b301;
  animation: wave 1s infinite ease-in-out;
}

.cs-waveform span:nth-child(2) { animation-delay: .2s; }
.cs-waveform span:nth-child(3) { animation-delay: .4s; }

@keyframes wave {
  0%,100% { height: 6px; }
  50% { height: 18px; }
}