/* GD4 header/footer chrome — used on every front-end page. */
.ac-gd4-chrome,
.ac-gd4-chrome * { box-sizing: border-box; }
.ac-gd4-chrome {
  --ink: #111;
  --body: #444;
  --muted: #767676;
  --line: #D6D6D6;
  --canvas: #fff;
  --surface: #F5F7F8;
  --teal: #063A41;
  --max: 1180px;
  --radius: 22px;
  --pill: 999px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--body);
  line-height: 1.5;
}
.ac-gd4-chrome img { max-width: 100%; height: auto; display: block; border: 0; }
.ac-gd4-chrome a { color: var(--teal); text-decoration: none; }
.ac-gd4-chrome a:hover { text-decoration: underline; }
.ac-gd4-chrome .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.ac-gd4-chrome .site-header {
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10000;
}
body.admin-bar .ac-gd4-chrome .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .ac-gd4-chrome .site-header { top: 46px; }
}
.ac-gd4-chrome .header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ac-gd4-chrome .logo img { width: 158px; height: auto; }
.ac-gd4-chrome .nav { display: flex; flex: 1; align-items: center; min-width: 0; }
.ac-gd4-chrome .nav .ac-gd4-menu,
.ac-gd4-chrome .nav .ac-gd4-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-gd4-chrome .nav > .ac-gd4-menu {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.ac-gd4-chrome .nav a,
.ac-gd4-chrome .nav .ac-gd4-menu a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  padding: 8px 0;
}
.ac-gd4-chrome .nav a:hover,
.ac-gd4-chrome .nav .current-menu-item > a { text-decoration: none; color: #fff; }
.ac-gd4-chrome .nav .menu-item-has-children { position: relative; }
.ac-gd4-chrome .nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #1a1a1a;
  border-radius: 14px;
  padding: 8px 0;
  z-index: 60;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.ac-gd4-chrome .nav .menu-item-has-children:hover > .sub-menu,
.ac-gd4-chrome .nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.ac-gd4-chrome .nav .sub-menu a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
}
.ac-gd4-chrome .nav .sub-menu a:hover { background: #2a2a2a; }

.ac-gd4-chrome .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-shrink: 0;
}
.ac-gd4-chrome .phone {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.ac-gd4-chrome .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: opacity .15s;
}
.ac-gd4-chrome .btn:hover { opacity: .88; }
.ac-gd4-chrome .btn-white {
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
}

.ac-gd4-chrome .hamburger {
  width: 26px;
  height: 16px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.ac-gd4-chrome .hamburger span { display: block; height: 2px; background: #fff; width: 100%; }
.ac-gd4-chrome .mobile-panel { display: none; padding: 8px 24px 20px; background: #1a1a1a; }
.ac-gd4-chrome .mobile-panel.open { display: block; }
.ac-gd4-chrome .mobile-panel .ac-gd4-menu,
.ac-gd4-chrome .mobile-panel .ac-gd4-menu ul { list-style: none; margin: 0; padding: 0; }
.ac-gd4-chrome .mobile-panel a {
  display: block;
  padding: 12px 0;
  color: #fff;
  border-bottom: 1px solid #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.ac-gd4-chrome .mobile-panel .sub-menu {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 0 16px;
  min-width: 0;
}
.ac-gd4-chrome .mobile-panel .sub-menu a { font-weight: 400; color: rgba(255,255,255,.88); }

.ac-gd4-chrome .site-footer {
  background: #111;
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.ac-gd4-chrome .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  padding-bottom: 28px;
  align-items: start;
}
.ac-gd4-chrome .footer-brand img { width: 150px; height: auto; margin-bottom: 14px; }
.ac-gd4-chrome .footer-brand p { font-size: 14px; line-height: 1.55; margin: 0; }
.ac-gd4-chrome .footer-navs { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.ac-gd4-chrome .footer-nav .ac-gd4-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-gd4-chrome .footer-nav a {
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.ac-gd4-chrome .footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  font-size: 13px;
}

/* Hide the Acheron/Elementor site chrome when the GD4 header/footer are injected. */
body.ac-gd4-site:not(.ac-gd4-body) #qodef-page-header,
body.ac-gd4-site:not(.ac-gd4-body) #qodef-page-mobile-header,
body.ac-gd4-site:not(.ac-gd4-body) #qodef-top-area,
body.ac-gd4-site:not(.ac-gd4-body) #qodef-side-area,
body.ac-gd4-site:not(.ac-gd4-body) #qodef-side-area-close,
body.ac-gd4-site:not(.ac-gd4-body) #qodef-page-footer,
body.ac-gd4-site:not(.ac-gd4-body) .qodef-mobile-header-opener,
body.ac-gd4-site:not(.ac-gd4-body) a.qodef-mobile-header-opener {
  display: none !important;
}

@media (max-width: 980px) {
  .ac-gd4-chrome .nav,
  .ac-gd4-chrome .header-actions { display: none; }
  .ac-gd4-chrome .hamburger { display: flex; }
  .ac-gd4-chrome .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ac-gd4-chrome a[href^="tel:"] { white-space: nowrap; }
}

/* Beat theme/global link color on the dark chrome. */
body.ac-gd4-site .ac-gd4-chrome .nav a,
body.ac-gd4-site .ac-gd4-chrome .nav .ac-gd4-menu a,
body.ac-gd4-site .ac-gd4-chrome .phone,
body.ac-gd4-site .ac-gd4-chrome .mobile-panel a,
body.ac-gd4-site .ac-gd4-chrome .footer-nav a,
body.ac-gd4-site .ac-gd4-chrome .footer-brand a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
body.ac-gd4-site .ac-gd4-chrome .nav a:hover,
body.ac-gd4-site .ac-gd4-chrome .mobile-panel a:hover,
body.ac-gd4-site .ac-gd4-chrome .footer-nav a:hover,
body.ac-gd4-site .ac-gd4-chrome .phone:hover {
  color: #fff;
  text-decoration: none;
}
body.ac-gd4-site .ac-gd4-chrome .btn-white {
  color: #111;
  background: #fff;
}
body.ac-gd4-site .ac-gd4-chrome .qodef-menu-item-arrow {
  margin-left: 6px;
  vertical-align: middle;
}
body.ac-gd4-site .ac-gd4-chrome .mobile-panel .sub-menu a {
  color: rgba(255,255,255,.88);
}
