

/* ============================
   PREMIUM GLASS FOOTER
============================ */

/* ============================
   PREMIUM GLASS FOOTER
============================ */

/* Container + Glass effect */
.footer-container {
    position: relative;
    background: linear-gradient(180deg, rgba(25,28,34,0.92) 0%, rgba(15,17,22,0.95) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    padding: 0;
    overflow: hidden;
    transition: background 0.5s ease;
  }
  
  /* Ambient glow for container */
  .footer-container::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 20% 30%, rgba(76,175,80,0.18), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(0,91,143,0.2), transparent 45%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
  }
  
  /* Footer grid content */
  .footer {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px 40px; /* top + sides + bottom */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 56px;
  }
  
  /* Section headings */
  .footer-heading h2,
  .footer-email-form h2 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
  }
  
  .footer-heading h2::after,
  .footer-email-form h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4CAF50, transparent);
  }
  
  /* Footer links */
  .footer-heading a,
  .footer-cookie-link {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .footer-heading a:hover,
  .footer-cookie-link:hover {
    color: #ffffff;
    transform: translateX(6px);
  }
  
  /* Mailing list input */
  #footer-email {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
  
  #footer-email-btn {
    margin-top: 18px;
    width: 100%;
    padding: 14px 0;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #4CAF50, #2ecc71);
  }
  
  /* Mobile adjustments for main footer */
  @media (max-width: 768px) {
    .footer {
      padding: 40px 24px 24px;
      gap: 36px;
    }
  }
  
  /* ============================
     FOOTER LEGAL - GLASS MATCH
  ============================ */
  .footer-legal {
    position: relative;       /* for ::before glow */
    z-index: 2;               /* above glow */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 24px 40px;
  
    /* Match main footer background */
    background: linear-gradient(180deg, rgba(25,28,34,0.92) 0%, rgba(15,17,22,0.95) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    overflow: hidden;
    position: relative;
    z-index: 3; /* above container glow */
  }
  
  /* Ambient glow for legal */
  .footer-legal::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 20% 30%, rgba(76,175,80,0.18), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(0,91,143,0.2), transparent 45%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
  }
  
  /* Ensure all children are above the glow */
  .footer-legal * {
    position: relative;
    z-index: 1;
  }
  
  /* Legal links */
  .footer-legal .legal-links {
    display: flex;
    gap: 24px;
  }
  
  .footer-legal .legal-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .footer-legal .legal-links a:hover {
    color: #ffffff;
  }
  
  /* Mobile adjustments */
  @media (max-width: 768px) {
    .footer-legal {
      flex-direction: column;
      text-align: center;
      gap: 16px;
      padding: 20px 24px;
    }
  
    .footer-legal .legal-links {
      justify-content: center;
      gap: 12px;
    }
  }