/* ==========================================================================
   Growth Firstly — Header & Primary Navigation
   Dedicated stylesheet (do not fold into ogf-redesign.css)
   ========================================================================== */

/* Kill default list bullets / markers everywhere in the header nav */
#menu.gf-nav ul,
#menu.gf-nav ol,
#menu.gf-nav li,
.gf-nav__list,
.gf-nav__list li,
.gf-nav__panel,
.gf-nav__panel li,
.gf-nav__sub,
.gf-nav__sub li,
#gf-primary-menu,
#gf-primary-menu li,
#gf-primary-menu ul,
header.new__custom--header--header-cont-info ul,
header.new__custom--header--header-cont-info li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}

#menu.gf-nav li::marker,
.gf-nav__list li::marker,
.gf-nav__panel li::marker,
#gf-primary-menu li::marker {
  content: none !important;
  display: none !important;
}

#menu.gf-nav li::before,
.gf-nav__list > li::before,
.gf-nav__panel > li::before {
  content: none !important;
  display: none !important;
}

/* Override legacy style.css padding on #navbar / .sticky */
header.new__custom--header--header-cont-info,
header#navbar.new__custom--header--header-cont-info {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  z-index: 1000;
  transition:
    background var(--transition, 0.35s cubic-bezier(0.16, 1, 0.3, 1)),
    border-color var(--transition, 0.35s cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow var(--transition, 0.35s cubic-bezier(0.16, 1, 0.3, 1));
}

header.new__custom--header--header-cont-info .container > nav,
header.new__custom--header--header-cont-info nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding: 0.35rem 0 !important;
  position: relative;
}

header.new__custom--header--header-cont-info.sticky,
header.new__custom--header--header-cont-info.sticky#navbar,
header#navbar.sticky {
  position: fixed !important;
  padding: 0 !important;
  background: rgba(8, 8, 10, 0.94) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid var(--gf-dark-border, rgba(255, 255, 255, 0.1)) !important;
}

header.sticky.new__custom--header--header-cont-info nav {
  min-height: 4.25rem;
}

.nav__top-heading {
  display: none !important;
}

/* Brand */
.ogf-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.25s ease;
}

.ogf-brand-lockup:hover {
  opacity: 0.88;
}

.ogf-brand-lockup img {
  max-width: 148px;
  width: auto;
  height: auto;
  display: block;
}

.nav__img {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ogf-brand-wordmark {
  display: none !important;
}

header.sticky .ogf-brand-lockup img.scrolled_back__img {
  display: inline-block !important;
}

header.sticky .ogf-brand-lockup img.scrolled__img {
  display: none !important;
}

/* Desktop nav shell */
#menu.gf-nav,
.gf-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gf-nav__burger {
  display: none;
}

.gf-nav__toggle {
  display: none;
}

.gf-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.15rem, 0.8vw, 0.55rem);
}

.gf-nav__item--top {
  position: relative;
}

.gf-nav__link {
  font-family: var(--font-body), "Manrope", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  font-size: 0.875rem !important;
  line-height: 1.2 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  text-transform: none !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem !important;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
}

.gf-nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--gf-yellow, #ffcc00);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.95;
}

.gf-nav__link:hover,
.gf-nav__item--top:hover > .gf-nav__link,
.gf-nav__item--top.current-menu-item > .gf-nav__link,
.gf-nav__item--top.current-menu-ancestor > .gf-nav__link,
.gf-nav__item--top.is-open > .gf-nav__link {
  color: var(--gf-yellow, #ffcc00) !important;
  background: rgba(255, 255, 255, 0.04);
}

.gf-nav__item--top:hover > .gf-nav__link::after,
.gf-nav__item--top.current-menu-item > .gf-nav__link::after,
.gf-nav__item--top.current-menu-ancestor > .gf-nav__link::after,
.gf-nav__item--top.is-open > .gf-nav__link::after {
  transform: scaleX(1);
}

.gf-nav__caret {
  width: 0.32rem;
  height: 0.32rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.12rem;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
  flex: 0 0 auto;
}

.gf-nav__item--top:hover > .gf-nav__link .gf-nav__caret,
.gf-nav__item--top.is-open > .gf-nav__link .gf-nav__caret {
  transform: rotate(225deg);
  margin-top: 0.12rem;
  opacity: 1;
}

/* Dropdowns & mega — beat legacy style.css (ul.sub-menu li a { color:#000 }) */
header.new__custom--header--header-cont-info #menu.gf-nav ul.sub-menu,
header.new__custom--header--header-cont-info #menu.gf-nav ul.gf-nav__panel,
header.new__custom--header--header-cont-info #menu.gf-nav ul.gf-nav__sub {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  min-width: 0 !important;
}

header.new__custom--header--header-cont-info #menu.gf-nav ul.sub-menu li,
header.new__custom--header--header-cont-info #menu.gf-nav .gf-nav__item--child {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  list-style: none !important;
  float: none !important;
  width: auto !important;
}

header.new__custom--header--header-cont-info #menu.gf-nav ul.sub-menu li a,
header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link,
header.new__custom--header--header-cont-info #menu.gf-nav .gf-nav__item--child > a {
  color: rgba(255, 255, 255, 0.92) !important;
  background: transparent !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

header.new__custom--header--header-cont-info #menu.gf-nav ul.sub-menu li a:hover,
header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link:hover,
header.new__custom--header--header-cont-info #menu.gf-nav .gf-nav__item--child > a:hover {
  color: var(--gf-black, #08080a) !important;
  background: var(--gf-yellow, #ffcc00) !important;
}

/* Unified submenu panels — all parents share container-width mega card */
.gf-nav__item--has-children,
.gf-nav__item--mega {
  position: static !important;
}

.gf-nav__panel-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  width: auto;
  min-width: 0;
  max-width: none;
  transform: translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.18s ease;
  z-index: 90;
  padding-top: 0.45rem; /* hover bridge — tight under header */
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gf-nav__item--has-children:hover > .gf-nav__panel-wrap,
.gf-nav__item--has-children:focus-within > .gf-nav__panel-wrap,
.gf-nav__item--has-children.is-open > .gf-nav__panel-wrap,
.gf-nav__item--mega:hover > .gf-nav__panel-wrap,
.gf-nav__item--mega:focus-within > .gf-nav__panel-wrap,
.gf-nav__item--mega.is-open > .gf-nav__panel-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.gf-nav__panel-card {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(255, 204, 0, 0.06) 0%, transparent 45%),
    #101016;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 24px 50px -14px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.gf-nav__mega-rail {
  width: min(250px, 26%);
  flex: 0 0 min(250px, 26%);
  padding: 1.65rem 1.4rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 204, 0, 0.16), transparent 58%),
    #0a0a0e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.gf-nav__mega-kicker {
  margin: 0 !important;
  font-family: var(--font-display), "Outfit", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gf-yellow, #ffcc00) !important;
  font-weight: 700;
}

.gf-nav__mega-copy {
  margin: 0 !important;
  color: rgba(226, 232, 240, 0.78) !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

header.new__custom--header--header-cont-info a.gf-nav__mega-cta,
header.new__custom--header--header-cont-info .current-menu-ancestor a.gf-nav__mega-cta,
header.new__custom--header--header-cont-info .current-menu-item a.gf-nav__mega-cta,
header.new__custom--header--header-cont-info .current-page-ancestor a.gf-nav__mega-cta,
.gf-nav__mega-cta {
  margin-top: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 2.4rem;
  padding: 0.5rem 1.2rem !important;
  background: var(--gf-yellow, #ffcc00) !important;
  color: #08080a !important;
  font-family: var(--font-body), "Manrope", sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(255, 204, 0, 0.3);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

header.new__custom--header--header-cont-info a.gf-nav__mega-cta:hover,
.gf-nav__mega-cta:hover {
  transform: translateY(-1px);
  background: var(--gf-yellow-hover, #e6b800) !important;
  color: #08080a !important;
  box-shadow: 0 6px 16px rgba(255, 204, 0, 0.4);
}

.gf-nav__panel--mega,
header.new__custom--header--header-cont-info #menu.gf-nav ul.gf-nav__panel--mega {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 1.15rem 1.25rem !important;
  flex: 1;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  align-content: start;
  list-style: none !important;
}

.gf-nav__panel--cols-1 {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 380px;
}

.gf-nav__panel--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.gf-nav__panel--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.gf-nav__child-link,
header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link,
header.new__custom--header--header-cont-info .current-menu-ancestor a.gf-nav__child-link,
header.new__custom--header--header-cont-info .current-page-ancestor a.gf-nav__child-link {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem !important;
  min-height: 3.85rem;
  color: rgba(255, 255, 255, 0.94) !important;
  text-decoration: none !important;
  font-family: var(--font-body), "Manrope", sans-serif !important;
  text-transform: none !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gf-nav__child-media {
  flex: 0 0 2.65rem;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-nav__child-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gf-nav__child-media-fallback {
  font-family: var(--font-display), "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gf-yellow, #ffcc00);
  line-height: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gf-nav__child-link--no-image .gf-nav__child-media {
  background: rgba(255, 204, 0, 0.08);
  border-color: rgba(255, 204, 0, 0.2);
}

.gf-nav__child-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gf-nav__child-title {
  display: block;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: inherit !important;
}

.gf-nav__child-blurb {
  display: block;
  font-size: 0.76rem !important;
  font-weight: 450 !important;
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.58) !important;
}

.gf-nav__child-arrow {
  width: 0.38rem;
  height: 0.38rem;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.4;
  flex: 0 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gf-nav__child-link:hover,
header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link:hover,
header.new__custom--header--header-cont-info .current-menu-ancestor a.gf-nav__child-link:hover {
  color: #08080a !important;
  background: var(--gf-yellow, #ffcc00) !important;
  border-color: var(--gf-yellow, #ffcc00) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.25);
}

.gf-nav__child-link:hover .gf-nav__child-blurb,
.gf-nav__child-link:hover .gf-nav__child-media-fallback {
  color: rgba(8, 8, 10, 0.7) !important;
}

.gf-nav__child-link:hover .gf-nav__child-media {
  border-color: rgba(8, 8, 10, 0.12);
  background: rgba(8, 8, 10, 0.06);
}

.gf-nav__child-link:hover .gf-nav__child-arrow {
  transform: translateX(3px) rotate(45deg);
  opacity: 1;
}

/* CTA */
.contact-us__cont {
  display: flex;
  align-items: center;
}

.contact-us__cont button {
  background: var(--gf-yellow, #ffcc00) !important;
  border: none !important;
  color: var(--gf-black, #08080a) !important;
  font-family: var(--font-body), "Manrope", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  border-radius: 9999px !important;
  padding: 0.55rem 1.15rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  box-shadow: 0 3px 14px rgba(255, 204, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  cursor: pointer;
  min-height: 2.4rem;
}

.contact-us__cont button:hover {
  transform: translateY(-1px);
  background: var(--gf-yellow-hover, #e6b800) !important;
  box-shadow: 0 6px 18px rgba(255, 204, 0, 0.4);
}

.contact-us__cont button i {
  font-size: 0.85rem;
}

.contact-us__cont button:before {
  display: none !important;
}

body.gf-nav-lock {
  overflow: hidden;
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 991px) {
  header.new__custom--header--header-cont-info nav {
    min-height: 4rem;
    padding: 0.25rem 0 !important;
    gap: 0.75rem;
  }

  .gf-nav__burger {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    cursor: pointer;
    z-index: 30;
    order: 3;
  }

  .gf-nav__burger span {
    display: block;
    width: 1.1rem;
    height: 1.5px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  header.sticky .gf-nav__burger {
    border-color: rgba(255, 255, 255, 0.14);
  }

  header.sticky .gf-nav__burger span {
    background: #ffffff;
  }

  .gf-nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .gf-nav__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .gf-nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  #contact--anchor {
    order: 2;
  }

  .nav__img {
    order: 1;
    flex: 1;
  }

  .contact-us__cont button {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.7rem !important;
    min-height: 2.15rem;
  }

  .contact-us__cont button span {
    display: none;
  }

  #menu.gf-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem 1.25rem !important;
    z-index: 70;
    max-height: min(78vh, 580px);
    overflow: auto;
  }

  #menu.gf-nav.is-open {
    display: block;
  }

  .gf-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .gf-nav__item--top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .gf-nav__item--top > .gf-nav__link {
    flex: 0 1 auto;
    width: auto;
    padding: 0.85rem 0 !important;
    font-size: 0.95rem !important;
    border-radius: 0;
    background: transparent !important;
  }

  .gf-nav__item--top > .gf-nav__link::after {
    display: none;
  }

  .gf-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
    flex: 0 0 auto;
  }

  .gf-nav__toggle span {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg);
    margin-top: -0.15rem;
    transition: transform 0.25s ease;
  }

  .gf-nav__item--top.is-open > .gf-nav__toggle span {
    transform: rotate(225deg);
    margin-top: 0.15rem;
  }

  .gf-nav__panel-wrap {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    flex: 1 1 100%;
    padding: 0 0 0.85rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
  }

  .gf-nav__item--has-children.is-open > .gf-nav__panel-wrap,
  .gf-nav__item--mega.is-open > .gf-nav__panel-wrap {
    display: block;
  }

  .gf-nav__panel-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 14px;
  }

  .gf-nav__mega-rail {
    width: 100% !important;
    flex: none !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 1.1rem;
  }

  .gf-nav__panel--mega,
  .gf-nav__panel--cols-1,
  .gf-nav__panel--cols-2,
  .gf-nav__panel--cols-3 {
    display: flex !important;
    flex-direction: column;
    grid-template-columns: none !important;
    max-width: none !important;
    padding: 0.75rem !important;
    gap: 0.55rem;
  }

  header.new__custom--header--header-cont-info #menu.gf-nav ul.sub-menu li a,
  header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link {
    color: rgba(255, 255, 255, 0.92) !important;
    min-height: 3.75rem !important;
    padding: 0.85rem 0.95rem !important;
  }

  header.new__custom--header--header-cont-info #menu.gf-nav a.gf-nav__child-link:hover {
    color: var(--gf-black, #08080a) !important;
  }
}

/* Design-system chrome polish */
#main-content:focus {
  outline: none;
}

.contact-us__cont button {
  font-family: var(--font-display), sans-serif;
  letter-spacing: 0.06em;
  transition: transform 0.35s var(--gf-ease, cubic-bezier(0.16, 1, 0.3, 1)), background 0.3s ease;
}

.contact-us__cont button:hover {
  transform: translateY(-1px);
}

.gf-nav__link {
  border-radius: var(--radius-sm, 2px) !important;
}
