/* Griffin On The Go, LLC — frosted-glass header v6
   Brand: navy #06295d · secondary #3b5382 · white #ffffff · Barlow
   Static HTML header — fully clickable native anchors, zero JS for links
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --gotg-navy:  #06295d;
  --gotg-blue:  #3b5382;
  --gotg-white: #ffffff;
  --gotg-ease:  cubic-bezier(0.22,1,0.36,1);
  --gotg-font:  "Barlow","Barlow Fallback","Work Sans",system-ui,sans-serif;
}

/* ── Kill builder overflow so fixed header isn't clipped ─────────────────── */
html, body, body#dmRoot {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* ── White body bg (builder sets gray #eee) ───────────────────────────────── */
body#dmRoot {
  background-color: #ffffff !important;
}

/* ── Hide original builder header entirely ────────────────────────────────── */
#hcontainer,
.dmHeaderContainer,
.fHeader,
.d-header-wrapper,
.stickyHeaderSpacer,
#stickyHeaderSpacer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER SHELL — fixed, transparent, full-width, no background of its own
   The frosted glass lives on #gotg-pill only
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2147483647 !important;
  background: transparent !important;
  /* v7: full-width bar — no outer gutter around the glass */
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-family: var(--gotg-font) !important;
  /* shell is see-through — only pill captures clicks */
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLASS PILL — the visible, clickable navigation bar
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  /* v7: edge-to-edge bar; content gutters scale with the viewport */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 clamp(32px, 4.5vw, 80px) !important;
  min-height: 112px !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;

  /* Frosted glass */
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
          backdrop-filter: blur(18px) saturate(180%) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 10px 30px -12px rgba(6, 41, 93, 0.28) !important;
  transition: box-shadow 0.35s var(--gotg-ease), background 0.3s, min-height 0.3s var(--gotg-ease) !important;

  gap: 24px !important;
  pointer-events: auto !important;
}

/* Slightly more opaque + stronger shadow once user scrolls */
#gotg-header.is-scrolled #gotg-pill {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.98) inset,
    0 14px 36px -10px rgba(6, 41, 93, 0.28),
    0 3px 8px  -2px rgba(6, 41, 93, 0.10) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-logo {
  flex: 0 0 auto !important;
  line-height: 0 !important;
  pointer-events: auto !important;
}

#gotg-logo a {
  display: block !important;
  border-radius: 6px !important;
  line-height: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  transition: opacity 0.2s !important;
}
#gotg-logo a:hover { opacity: 0.85 !important; }

#gotg-logo img {
  width: 260px !important;
  max-width: 260px !important;
  height: auto !important;
  display: block !important;
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAV — centered flex list
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-nav {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}

#gotg-nav > ul {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2px !important;
}

#gotg-nav > ul > li {
  position: relative !important;
  pointer-events: auto !important;
}

/* Top-level links */
#gotg-nav > ul > li > a {
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 0 22px !important;
  color: var(--gotg-navy) !important;
  font-family: var(--gotg-font) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  border-radius: 12px !important;
  background: transparent !important;
  transition: color 0.18s, background 0.18s !important;
  position: relative !important;
  pointer-events: auto !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

#gotg-nav > ul > li > a:hover,
#gotg-nav > ul > li:hover > a,
#gotg-nav > ul > li.is-open > a {
  color: var(--gotg-blue) !important;
  background: rgba(59, 83, 130, 0.09) !important;
}

/* Active indicator */
#gotg-nav > ul > li > a.is-active {
  font-weight: 600 !important;
}
#gotg-nav > ul > li > a.is-active::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 6px !important;
  width: 20px !important;
  height: 2.5px !important;
  border-radius: 2px !important;
  background: var(--gotg-navy) !important;
  transform: translateX(-50%) !important;
  display: block !important;
}

/* Chevron arrow on Services */
#gotg-nav > ul > li > a .gotg-chevron {
  display: inline-block !important;
  margin-left: 5px !important;
  width: 7px !important;
  height: 7px !important;
  border-top: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
  transform: rotate(135deg) translateY(-2px) !important;
  transition: transform 0.22s var(--gotg-ease) !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}
#gotg-nav > ul > li.is-open  > a .gotg-chevron,
#gotg-nav > ul > li:hover    > a .gotg-chevron {
  transform: rotate(-45deg) translateY(2px) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DROPDOWN PANEL
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-nav > ul > li > ul.gotg-drop {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  width: 228px !important;
  padding: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  -webkit-backdrop-filter: blur(20px) !important;
          backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-radius: 14px !important;
  box-shadow:
    0 20px 40px -12px rgba(6, 41, 93, 0.24),
    0 4px 12px  -4px rgba(6, 41, 93, 0.08) !important;
  /* Hidden by default */
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(6px) !important;
  pointer-events: none !important;
  transition:
    opacity    0.2s var(--gotg-ease),
    transform  0.22s var(--gotg-ease),
    visibility 0s linear 0.22s !important;
  z-index: 99999 !important;
}

/* Invisible bridge — mouse can travel from nav link into panel */
#gotg-nav > ul > li > ul.gotg-drop::before {
  content: "" !important;
  position: absolute !important;
  top: -10px !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
}

/* Show on hover OR .is-open */
#gotg-nav > ul > li:hover    > ul.gotg-drop,
#gotg-nav > ul > li.is-open  > ul.gotg-drop {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition:
    opacity   0.2s var(--gotg-ease),
    transform 0.22s var(--gotg-ease),
    visibility 0s !important;
}

/* Dividers between items */
#gotg-nav > ul > li > ul.gotg-drop > li + li {
  border-top: 1px solid rgba(6, 41, 93, 0.07) !important;
}

/* Dropdown links */
#gotg-nav > ul > li > ul.gotg-drop > li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  margin: 2px 0 !important;
  color: var(--gotg-navy) !important;
  font-family: var(--gotg-font) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: background 0.15s, color 0.15s !important;
}

/* Right-arrow icon on dropdown items */
#gotg-nav > ul > li > ul.gotg-drop > li > a::after {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 6px !important;
  height: 6px !important;
  opacity: 0.35 !important;
  border-top: 1.5px solid currentColor !important;
  border-right: 1.5px solid currentColor !important;
  transform: rotate(45deg) !important;
  transition: transform 0.16s, opacity 0.15s !important;
}

#gotg-nav > ul > li > ul.gotg-drop > li > a:hover {
  background: rgba(59, 83, 130, 0.09) !important;
  color: var(--gotg-blue) !important;
}
#gotg-nav > ul > li > ul.gotg-drop > li > a:hover::after {
  opacity: 0.80 !important;
  transform: translateX(3px) rotate(45deg) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GET RATES CTA BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-cta {
  flex: 0 0 auto !important;
  pointer-events: auto !important;
}

#gotg-cta > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 58px !important;
  padding: 0 36px !important;
  background: var(--gotg-navy) !important;
  color: #ffffff !important;
  font-family: var(--gotg-font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border-radius: 13px !important;
  border: 0 !important;
  box-shadow:
    0 8px 20px -8px rgba(6, 41, 93, 0.46),
    0 1px 0 rgba(255,255,255,0.12) inset !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition:
    transform   0.24s var(--gotg-ease),
    box-shadow  0.24s var(--gotg-ease),
    background  0.2s !important;
}
#gotg-cta > a:hover {
  background: var(--gotg-blue) !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 12px 26px -8px rgba(6, 41, 93, 0.50),
    0 1px 0 rgba(255,255,255,0.15) inset !important;
}
#gotg-cta > a:active { transform: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HAMBURGER BUTTON (hidden on desktop)
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-burger {
  display: none !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: rgba(6, 41, 93, 0.08) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  flex-shrink: 0 !important;
  transition: background 0.2s !important;
}
#gotg-burger:hover { background: rgba(6, 41, 93, 0.16) !important; }

#gotg-burger span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: var(--gotg-navy) !important;
  transition: transform 0.28s var(--gotg-ease), opacity 0.2s !important;
}
#gotg-header.menu-open #gotg-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
#gotg-header.menu-open #gotg-burger span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
#gotg-header.menu-open #gotg-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   SPACER — pushes page content below the fixed header
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-spacer {
  height: 112px !important;
  display: block !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOCUS RINGS — accessibility
   ═══════════════════════════════════════════════════════════════════════════ */
#gotg-header a:focus-visible,
#gotg-header button:focus-visible {
  outline: 2.5px solid var(--gotg-blue) !important;
  outline-offset: 2px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABLET  768 – 1100 px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1100px) {
  #gotg-header { padding: 0 !important; }
  #gotg-pill   { padding: 0 24px !important; min-height: 92px !important; gap: 12px !important; }
  #gotg-logo img { width: 200px !important; max-width: 200px !important; }
  #gotg-nav > ul > li > a { padding: 0 13px !important; font-size: 16px !important; }
  #gotg-cta > a  { height: 50px !important; padding: 0 24px !important; font-size: 15.5px !important; }
  #gotg-spacer   { height: 92px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE  ≤ 767 px
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  #gotg-header { padding: 0 !important; }

  #gotg-pill {
    /* Single row: logo | burger. Nav & CTA drop into the drawer. */
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding: 0 16px 0 18px !important;
    min-height: 80px !important;
    gap: 0 !important;
    border-radius: 0 !important;
  }

  /* Logo left */
  #gotg-logo {
    flex: 1 1 auto !important;
  }
  #gotg-logo img {
    width: 168px !important;
    max-width: 168px !important;
  }

  /* Show burger on the right */
  #gotg-burger {
    display: flex !important;
    margin-left: 8px !important;
  }

  /* Hide CTA from pill row on mobile — it lives in the drawer */
  #gotg-cta {
    display: none !important;
  }

  /* Nav becomes a drawer that drops below the pill */
  #gotg-nav {
    /* Take full width, sit below pill */
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition:
      max-height 0.38s var(--gotg-ease),
      opacity    0.24s,
      visibility 0s linear 0.38s !important;
  }

  /* Drawer inner UL */
  #gotg-nav > ul {
    flex-direction: column !important;
    align-items: stretch !important;
    background: rgba(255, 255, 255, 0.97) !important;
    -webkit-backdrop-filter: blur(18px) !important;
            backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.80) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px -8px rgba(6, 41, 93, 0.22) !important;
    padding: 8px !important;
    gap: 0 !important;
  }

  #gotg-nav > ul > li + li {
    border-top: 1px solid rgba(6, 41, 93, 0.06) !important;
  }

  /* Drawer links */
  #gotg-nav > ul > li > a {
    min-height: 52px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
  }

  /* Open state */
  #gotg-header.menu-open #gotg-nav {
    max-height: 80vh !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition:
      max-height 0.42s var(--gotg-ease),
      opacity    0.26s ease 0.04s,
      visibility 0s !important;
  }

  /* Mobile accordion dropdown — CSS hover OFF, .is-open controls it */
  #gotg-nav > ul > li > ul.gotg-drop {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: rgba(59, 83, 130, 0.07) !important;
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: max-height 0.32s var(--gotg-ease), padding 0.26s !important;
  }

  /* Disable CSS hover-open on mobile */
  #gotg-nav > ul > li:hover > ul.gotg-drop {
    max-height: 0 !important;
    pointer-events: none !important;
  }

  /* Only .is-open opens accordion */
  #gotg-nav > ul > li.is-open > ul.gotg-drop {
    max-height: 420px !important;
    padding: 4px 8px !important;
    pointer-events: auto !important;
  }

  #gotg-nav > ul > li > ul.gotg-drop > li > a {
    min-height: 46px !important;
    font-size: 15px !important;
    white-space: normal !important;
  }

  /* Get Rates — appended inside drawer via JS, full-width */
  #gotg-mobile-cta {
    display: block !important;
    padding: 8px 4px 4px !important;
    border-top: 1px solid rgba(6, 41, 93, 0.08) !important;
    margin-top: 4px !important;
  }
  #gotg-mobile-cta > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    background: var(--gotg-navy) !important;
    color: #ffffff !important;
    font-family: var(--gotg-font) !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.025em !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    box-shadow: 0 6px 16px -6px rgba(6,41,93,0.40) !important;
    transition: background 0.2s !important;
  }
  #gotg-mobile-cta > a:hover {
    background: var(--gotg-blue) !important;
  }

  #gotg-spacer { height: 80px !important; }
  #gotg-burger { width: 48px !important; height: 48px !important; min-width: 48px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION — accessibility
   @media (prefers-reduced-motion: reduce)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  #gotg-header *,
  #gotg-header *::before,
  #gotg-header *::after {
    transition: none !important;
    animation: none !important;
  }
  #gotg-cta > a:hover { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GOTG FOOTER — premium glassmorphism footer
   Griffin On The Go, LLC · Brand: #06295d navy · #3b5382 blue · #fff white
   Hides builder's original footer; custom footer sits in page flow above bar.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hide builder footer */
.dmFooterContainer,
#fcontainer,
.f_hcontainer,
.dmFooter,
.dmFooterResp {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* ── Footer tokens ────────────────────────────────────────────────────────── */
#gotg-footer {
  --gf-navy:    #06295d;
  --gf-navy2:   #04213f;
  --gf-blue:    #3b5382;
  --gf-blue2:   #223f71;
  --gf-white:   #ffffff;
  --gf-font:    Barlow, "Barlow Fallback", system-ui, sans-serif;
  font-family:  var(--gf-font);
  box-sizing:   border-box;
  width: 100%;
  overflow: hidden;
}

*, #gotg-footer *,
#gotg-footer *::before,
#gotg-footer *::after {
  box-sizing: border-box;
}

/* ── CTA BANNER ─────────────────────────────────────────────────────────────
   Wide glass card above the main footer body
   ─────────────────────────────────────────────────────────────────────────── */
#gotg-footer-cta {
  background: linear-gradient(120deg, #04213f 0%, #06295d 40%, #0c3470 70%, #1a4a8a 100%);
  padding: 48px clamp(20px, 5vw, 72px) 0;
  position: relative;
  overflow: hidden;
}

/* Glow orbs behind the CTA */
#gotg-footer-cta::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,104,180,0.28) 0%, transparent 65%);
  pointer-events: none;
}

#gotg-footer-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 40px 48px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 32px 64px -16px rgba(4,33,63,0.55),
    0 8px 24px -8px rgba(0,0,0,0.28);
  /* Top sheen */
  position: relative;
  overflow: hidden;
}
#gotg-footer-cta-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.50) 50%, transparent);
  pointer-events: none;
}

/* Wave shapes */
#gotg-footer-cta-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
#gotg-footer-cta-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

#gotg-footer-cta-text {
  flex: 1 1 auto;
  min-width: 0;
}

#gotg-footer-cta-text h2 {
  font-family: var(--gf-font);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

#gotg-footer-cta-text p {
  font-family: var(--gf-font);
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(255,255,255,0.80);
  margin: 0;
  line-height: 1.58;
  font-weight: 300;
}

#gotg-footer-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

/* "Get Rates" — dark navy */
.gf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 32px;
  background: var(--gf-navy);
  color: #ffffff;
  font-family: var(--gf-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 22px -8px rgba(4,33,63,0.50);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s cubic-bezier(0.22,1,0.36,1),
              background 0.18s;
}
.gf-btn-primary:hover {
  background: #0a3670;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(4,33,63,0.55);
}
.gf-btn-primary:active { transform: none; }

/* "Contact us" — white */
.gf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 32px;
  background: #ffffff;
  color: var(--gf-navy);
  font-family: var(--gf-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 100px;
  border: 0;
  box-shadow: 0 8px 22px -8px rgba(4,33,63,0.30);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s cubic-bezier(0.22,1,0.36,1),
              background 0.18s;
}
.gf-btn-secondary:hover {
  background: #eef3ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(4,33,63,0.32);
}
.gf-btn-secondary:active { transform: none; }

/* Arrow icon */
.gf-arrow {
  display: inline-block;
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
}

/* ── MAIN FOOTER BODY ───────────────────────────────────────────────────────
   Navy gradient; four-column grid
   ─────────────────────────────────────────────────────────────────────────── */
#gotg-footer-main {
  background: linear-gradient(175deg, #06295d 0%, #05244f 40%, #041d3e 80%, #03182f 100%);
  padding: 64px clamp(20px, 5vw, 72px) 52px;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
#gotg-footer-main::before {
  content: "";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,83,130,0.20) 0%, transparent 65%);
  pointer-events: none;
}

#gotg-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1.3fr;
  gap: 0 40px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Thin vertical dividers between columns */
#gotg-footer-grid > div + div {
  border-left: 1px solid rgba(255,255,255,0.09);
  padding-left: 40px;
}

/* ── Column 1: Logo ─────────────────────────────────────────────────────── */
#gf-col-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

#gf-col-logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  /* Logo has navy bg — no need for filter */
}

#gf-col-logo p {
  font-family: var(--gf-font);
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.55;
  margin: 16px 0 0;
}

/* ── Column headings shared ─────────────────────────────────────────────── */
.gf-col-heading {
  font-family: var(--gf-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

/* ── Column 2: Company nav ──────────────────────────────────────────────── */
#gf-col-company ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#gf-col-company ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gf-font);
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  padding: 6px 0;
  border-radius: 6px;
  transition: color 0.18s;
}
#gf-col-company ul li a:hover { color: #ffffff; }
#gf-col-company ul li a::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.18s;
}
#gf-col-company ul li a:hover::before {
  opacity: 1;
  transform: rotate(45deg) translateX(2px);
}

/* ── Column 3: Contact Us ───────────────────────────────────────────────── */
#gf-col-contact {
  display: flex;
  flex-direction: column;
}

.gf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.gf-contact-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: 1px;
  flex-shrink: 0;
}

.gf-contact-text {
  flex: 1 1 auto;
}

.gf-contact-text a {
  font-family: var(--gf-font);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.16s;
}
.gf-contact-text a:hover { color: #ffffff; text-decoration: underline; }

.gf-contact-text span {
  font-family: var(--gf-font);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  display: block;
}

/* Hours divider */
.gf-hours-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 8px 0 14px;
  border: 0;
}

.gf-hours-label {
  font-family: var(--gf-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 6px;
}

/* ── Column 4: Affiliations ─────────────────────────────────────────────── */
#gf-col-affiliations {}

#gf-affil-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.gf-affil-badge {
  display: block;
  width: 90px;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 4px;
  transition: background 0.18s, border-color 0.18s;
}
.gf-affil-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}
.gf-affil-badge img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Social icons */
#gf-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.gf-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  color: rgba(255,255,255,0.70);
  font-size: 18px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.gf-social-link:hover {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border-color: rgba(255,255,255,0.26);
}

/* SVG inside social links */
.gf-social-link svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

/* ── SUB-FOOTER ─────────────────────────────────────────────────────────────
   Slightly darker band; copyright only
   ─────────────────────────────────────────────────────────────────────────── */
#gotg-footer-sub {
  background: #031528;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px clamp(20px, 5vw, 72px);
  text-align: center;
}

#gotg-footer-sub p {
  font-family: var(--gf-font);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  margin: 0;
  line-height: 1.6;
}

#gotg-footer-sub a {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.16s;
}
#gotg-footer-sub a:hover { color: rgba(255,255,255,0.75); }

/* ── Deduplicate footer — hide all #gotg-footer blocks except the LAST one.
   The last injected footer is always the most recent/correct version.
   :not(:last-of-type) targets every <footer> that isn't the final one.
   Using maximum specificity to override any conflicts. ─── */
footer#gotg-footer:not(:last-of-type) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
  max-height: 0 !important;
}
/* Also hide via sibling combinator for extra browser compatibility */
footer#gotg-footer ~ footer#gotg-footer,
footer[id="gotg-footer"] ~ footer[id="gotg-footer"],
footer#gotg-footer + footer#gotg-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
}

/* ── Also hard-hide the builder's footer container with maximum specificity ── */
html body .dmFooterContainer,
html body #fcontainer,
html body .f_hcontainer,
html body .dmFooter,
html body .dmFooterResp,
html body div.dmFooterContainer,
html body div#fcontainer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
}

/* ── Mighty bar link — remove blue, match bar text ────────────────────────── */
[data-mw-bar] a {
  color: inherit !important;
  text-decoration: none !important;
}
[data-mw-bar] a:hover {
  text-decoration: underline !important;
  opacity: 0.85 !important;
}

/* ── Builder copyright link override ──────────────────────────────────────── */
.dmFooterContainer .copyright a,
#fcontainer .copyright a,
.u_1280351186 .copyright a {
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none !important;
}
.dmFooterContainer .copyright a:hover,
#fcontainer .copyright a:hover,
.u_1280351186 .copyright a:hover {
  color: rgba(255,255,255,0.85) !important;
}

/* ── Sub-footer pipe separator — remove blue color ────────────────────────── */
#gotg-footer-sub p,
#gotg-footer-sub span {
  color: rgba(255,255,255,0.42) !important;
}
#gotg-footer-sub a {
  color: rgba(255,255,255,0.42) !important;
  text-decoration: none !important;
}
#gotg-footer-sub a:hover {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: underline !important;
}
#gotg-footer-sub .gf-pipe {
  color: rgba(255,255,255,0.20) !important;
  margin: 0 6px;
  display: inline;
}

/* ── Affiliation links section ─────────────────────────────────────────────── */
#gf-affil-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.gf-affil-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--gf-font);
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  word-break: break-word;
}
.gf-affil-link:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
}
.gf-affil-link-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gf-affil-link-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.80;
}
.gf-affil-link-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* @media (prefers-reduced-motion: reduce) — required accessibility guard */
@media (prefers-reduced-motion: reduce) {
  .gf-affil-link {
    transition: none !important;
  }
}

/* ── FOCUS RINGS ────────────────────────────────────────────────────────── */
#gotg-footer a:focus-visible {
  outline: 2.5px solid rgba(255,255,255,0.70);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet 768 – 1100px ────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1100px) {
  #gotg-footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 32px;
  }
  #gotg-footer-cta-btns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }
  #gotg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 40px;
  }
  #gotg-footer-grid > div + div {
    border-left: 0;
    padding-left: 0;
  }
  #gotg-footer-grid > div:nth-child(2n) {
    border-left: 1px solid rgba(255,255,255,0.09);
    padding-left: 40px;
  }
}

/* ── Mobile ≤ 767px ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  #gotg-footer-cta {
    padding: 32px 16px 0;
  }
  #gotg-footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 22px;
    border-radius: 18px;
  }
  #gotg-footer-cta-text h2 { font-size: clamp(18px, 5.5vw, 26px); }
  #gotg-footer-cta-text p  { font-size: 14px; }
  #gotg-footer-cta-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .gf-btn-primary,
  .gf-btn-secondary {
    width: 100%;
    justify-content: center;
    height: 50px;
  }
  #gotg-footer-main {
    padding: 48px 16px 40px;
  }
  #gotg-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px 0;
  }
  #gotg-footer-grid > div + div {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.09);
    padding-top: 32px;
  }
  #gf-col-logo img { width: 160px; }
  #gf-affil-logos { gap: 12px; }
  .gf-affil-badge { width: 76px; }
  #gotg-footer-sub { padding: 16px 16px; }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
/* @media (prefers-reduced-motion: reduce) — required accessibility guard */
@media (prefers-reduced-motion: reduce) {
  .gf-btn-primary,
  .gf-btn-secondary,
  .gf-affil-badge,
  .gf-social-link,
  #gf-col-company ul li a,
  .gf-contact-text a,
  #gotg-footer-sub a {
    transition: none !important;
  }
  .gf-btn-primary:hover,
  .gf-btn-secondary:hover {
    transform: none !important;
  }
}
