/* ==========================================================================
   Header + Mega Menu — masculine dark UI aligned to brand
   ========================================================================== */

.flwaste-site #masthead,
.flwaste-site #masthead .site-header-row-container-inner,
.flwaste-site #masthead .kadence-sticky-header.item-is-fixed,
.flwaste-site #masthead .kadence-sticky-header.item-is-stuck {
  background: rgba(10, 12, 8, 0.92) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(240, 180, 41, 0.18) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.flwaste-site .site-branding a.brand img {
  filter: brightness(1.05);
}

.flwaste-site .main-navigation .primary-menu-container > ul > li.menu-item > a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--flw-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.0625rem; /* ~17px */
  padding-top: 0.85em !important;
  padding-bottom: 0.85em !important;
}

.flwaste-site .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.flwaste-site .main-navigation .primary-menu-container > ul > li.current-menu-item > a {
  color: var(--flw-gold-soft) !important;
}

/* Mega-style dropdown panels — HIDDEN by default */
.flwaste-site .header-navigation .header-menu-container ul ul.sub-menu,
.flwaste-site .header-navigation .header-menu-container ul ul.submenu,
.flwaste-site .primary-menu-container ul ul.sub-menu {
  background: rgba(12, 14, 10, 0.98) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45) !important;
  padding: 0.85rem !important;
  min-width: 260px;
  overflow: hidden;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 1000;
}

@media (min-width: 1025px) {
  .flwaste-site .header-navigation .header-menu-container > ul > li.menu-item-has-children {
    position: relative;
  }

  .flwaste-site .header-navigation .header-menu-container > ul > li.menu-item-has-children:hover > ul.sub-menu,
  .flwaste-site .header-navigation .header-menu-container > ul > li.menu-item-has-children:focus-within > ul.sub-menu,
  .flwaste-site .header-navigation .header-menu-container > ul > li.menu-item-has-children.sfHover > ul.sub-menu,
  .flwaste-site .primary-menu-container > ul > li.menu-item-has-children:hover > ul.sub-menu,
  .flwaste-site .primary-menu-container > ul > li.menu-item-has-children:focus-within > ul.sub-menu {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Wide mega for Services / Areas (many children) */
  .flwaste-site .menu-item-has-children.flw-mega:hover > ul.sub-menu,
  .flwaste-site .menu-item-has-children.flw-mega:focus-within > ul.sub-menu,
  .flwaste-site #menu-item-services:hover > ul.sub-menu,
  .flwaste-site #menu-item-services:focus-within > ul.sub-menu,
  .flwaste-site .menu-item-object-page.menu-item-has-children:hover > ul.sub-menu,
  .flwaste-site .menu-item-object-page.menu-item-has-children:focus-within > ul.sub-menu {
    min-width: 480px;
    grid-template-columns: 1fr 1fr !important;
    padding: 1rem !important;
  }

  .flwaste-site .menu-item-object-page.menu-item-has-children > ul.sub-menu li.menu-item > a {
    width: auto !important;
  }
}

.flwaste-site .header-navigation .header-menu-container ul ul li.menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.flwaste-site .header-navigation .header-menu-container ul ul li.menu-item > a {
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: var(--flw-display) !important;
  font-size: 0.95rem !important; /* ~15px */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85em 1em !important;
  width: 260px !important;
}

.flwaste-site .header-navigation .header-menu-container ul ul li.menu-item > a:hover {
  background: rgba(240, 180, 41, 0.12) !important;
  color: var(--flw-gold-soft) !important;
}

.flwaste-site .mobile-toggle-open-container .menu-toggle-open {
  color: #fff !important;
}

/* Header phone chip — dark text on gold (never yellow-on-yellow) */
.flw-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  color: #0d0f0a !important;
  background: #f0b429 !important;
  font-family: var(--flw-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(240, 180, 41, 0.22);
  transition: transform 0.3s var(--flw-ease), background 0.25s ease;
  white-space: nowrap;
}

.flw-header-cta:hover,
.flw-header-cta:focus {
  transform: translateY(-2px);
  color: #0d0f0a !important;
  background: #ffd56a !important;
}

.flw-header-cta span,
.flw-header-cta small {
  color: inherit !important;
}

.flw-header-cta small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  opacity: 0.75;
  font-weight: 700;
}

.flw-topbar {
  background: #0a0c08;
  border-bottom: 1px solid rgba(240, 180, 41, 0.15);
  color: rgba(215, 227, 204, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.flw-topbar .flw-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  flex-wrap: wrap;
}

.flw-topbar a:not(.flw-header-cta) {
  color: var(--flw-gold-soft) !important;
  text-decoration: none !important;
  font-family: var(--flw-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.flw-topbar a.flw-header-cta {
  color: #0d0f0a !important;
}

/* --------------------------------------------------------------------------
   Hero — tighter stack, readable type, stronger CTAs
   -------------------------------------------------------------------------- */

.flwaste-site .flw-hero {
  min-height: min(72vh, 680px) !important;
  align-items: center !important;
}

.flwaste-site .flw-hero,
.flwaste-site .flw-hero h1,
.flwaste-site .flw-hero h2,
.flwaste-site .flw-hero .flw-hero__brand,
.flwaste-site .flw-hero .flw-hero__brand * {
  color: #fff !important;
}

.flwaste-site .flw-hero .flw-shimmer {
  background: linear-gradient(
    110deg,
    #f0b429 0%,
    #ffe08a 28%,
    #fff6d0 48%,
    #f0b429 70%,
    #ffd56a 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: flw-shimmer-move 4.5s linear infinite;
}

.flwaste-site .flw-hero .flw-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--flw-gold-soft);
}

.flwaste-site .flw-hero__inner {
  padding: clamp(5.25rem, 8vh, 6.5rem) var(--flw-pad) clamp(2.25rem, 5vh, 3.25rem) !important;
}

/* Keep home wordmark in sync with interior page-hero h1 */
.flwaste-site .flw-hero .flw-hero__wordmark,
.flwaste-site .flw-hero .flw-hero__brand {
  font-weight: 700 !important;
  font-size: clamp(2.4rem, 6.2vw, 4.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  max-width: 16ch;
  margin: 0 0 0.85rem;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.flwaste-site .flw-hero .flw-hero__seo-title {
  font-family: var(--flw-display) !important;
  font-weight: 700 !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88) !important;
}

.flwaste-site .flw-hero .flw-hero__support {
  max-width: 36rem;
  margin: 0 0 1.35rem;
}

/* Larger hero CTAs */
.flwaste-site .flw-hero .flw-btn {
  padding: 0.82rem 1.4rem;
  min-height: 2.9rem;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
}
