/* ═══════════════════════════════════════════════════════════════
   V7 — FOOTER REDESIGN
═══════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--bg, #0D2230);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 60px 36px;
  position: relative;
  overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%,   rgba(111,217,194,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(184,224,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 0;
  position: relative;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  isolation: isolate;
}
/* B10 — soft lime dot-grid haze behind brand block. Pulls eye to logo + tagline; otherwise visually weak.
   Subtle fade-out mask on edges so haze doesn't bleed into adjacent footer columns. 2026-04-29 Session 5. */
.footer-brand::after {
  content: ''; position: absolute; inset: -20px;
  background-image: radial-gradient(rgba(184,224,76,0.10) 1px, transparent 1px);
  background-size: 16px 16px; background-position: 0 0;
  opacity: 0.55; pointer-events: none; z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, black 30%, transparent 80%);
}
.footer-logo-link { display: inline-block; }
.footer-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 10px;
  max-width: 240px;
}
.footer-address {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(.16,1,.3,1);
  -webkit-tap-highlight-color: transparent;
}
.footer-social-btn:hover {
  background: rgba(184,224,76,0.1);
  border-color: rgba(184,224,76,0.3);
  color: var(--lime, #B8E04C);
  transform: translateY(-2px);
}
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--mint, #6FD9C2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s;
  line-height: 1.3;
}
.footer-col a:hover { color: #ECF2EE; }

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.08) 20%,
    rgba(255,255,255,0.08) 80%, transparent 100%);
  margin: 48px 0 28px;
  position: relative;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.footer-copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.28);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-dot {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════
   V7 — HAMBURGER MENU
═══════════════════════════════════════════════════════════════ */
#nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  z-index: 200;
}
#nav-hamburger:hover {
  background: rgba(184,224,76,0.1);
  border-color: rgba(184,224,76,0.3);
}
#nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
  transform-origin: center;
}
/* Open state */
#nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   V7 — COMPREHENSIVE MOBILE STYLES
═══════════════════════════════════════════════════════════════ */

/* ── Base mobile breakpoint ── */
@media (max-width: 900px) {

  /* NAV */
  #nav-hamburger { display: flex !important; }
  .nav-links {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6,14,24,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 28px !important;
    z-index: 150;
    padding: 80px 32px 40px;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links > a,
  .nav-links .nav-dropdown-trigger {
    font-size: 1.1rem !important;
    text-align: center;
  }
  .nav-links .nav-book-demo,
  .nav-links .nav-cta {
    width: 100%;
    max-width: 280px;
    text-align: center !important;
    display: block;
  }
  .nav-dropdown { flex-direction: column; align-items: center; }
  .nav-dropdown-menu {
    position: static !important;
    background: rgba(255,255,255,0.04) !important;
    border-radius: 12px !important;
    min-width: 200px !important;
    margin-top: 8px;
  }

  /* SECTIONS */
  section { padding: 64px 20px !important; }
  #contact { padding: 64px 20px !important; }

  /* HERO */
  .hero, #home { padding: 90px 20px 48px !important; }
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-photo-panel { height: 240px !important; }

  /* SEGMENTS */
  .pa-split { grid-template-columns: 1fr !important; }
  .seg-photo-card { height: auto !important; }

  /* WHY ENGAGEX */
  .wby-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
  }

  /* AI ENGINE */
  .ctx-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }

  /* ABOUT */
  .ab-wrap { grid-template-columns: 1fr !important; padding: 48px 20px !important; }
  .ab-visual, .about-visual { display: none !important; }

  /* MISSION */
  .ms-pillars { grid-template-columns: 1fr 1fr !important; }

  /* PHILOSOPHY */
  .ph-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }

  /* SECURITY */
  .sb-pillars { grid-template-columns: 1fr 1fr !important; }
  .sb-strip { grid-template-columns: repeat(2,1fr) !important; }

  /* PRICING */
  #pPanel-exhibitor,
  #pPanel-visitor,
  #pPanel-organizer {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .pricing-tab-row { flex-wrap: wrap; gap: 8px !important; }
  #pricing { padding: 64px 20px !important; }

  /* FAQ */
  #faqGrid { grid-template-columns: 1fr !important; }
  #faq { padding: 64px 20px !important; }

  /* BLOG */
  .bl-layout { grid-template-columns: 1fr !important; }
  #blog { padding: 64px 20px !important; }

  /* SCHEDULE DEMO */
  #demo-main-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .demo-form-row { grid-template-columns: 1fr !important; gap: 16px !important; }
  #schedule-demo { padding: 64px 20px !important; }

  /* CONTACT */
  #contact-main-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .contact-form-row { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }

  /* FOOTER */
  #site-footer { padding: 48px 24px 28px !important; }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .footer-sitemap {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .footer-tagline, .footer-address { max-width: 100% !important; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-legal { gap: 8px; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  section { padding: 52px 16px !important; }
  #pricing, #faq, #blog, #schedule-demo, #contact { padding: 52px 16px !important; }
  #site-footer { padding: 40px 16px 24px !important; }

  .wby-grid { grid-template-columns: 1fr !important; }
  .ms-pillars { grid-template-columns: 1fr !important; }
  .sb-pillars { grid-template-columns: 1fr !important; }
  .sb-strip { grid-template-columns: 1fr 1fr !important; }
  .footer-sitemap { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }

  /* Typography scaling */
  .section-title { font-size: clamp(1.5rem, 6vw, 2.4rem) !important; }
  .hero h1, .hero-title { font-size: clamp(2rem, 9vw, 3.5rem) !important; }
}