
/* ===============================
   TOKENS AND SCOPED RESET
================================ */
.tkp-gh {
  --tkp-ink: #05071d;
  --tkp-navy: #05082d;
  --tkp-navy-2: #081451;
  --tkp-blue: #1b4da1;
  --tkp-gold: #d4aa6a;
  --tkp-gold-light: #f0d49d;
  --tkp-text: #f7f9ff;
  --tkp-muted: #c8d4ef;
  --tkp-line: rgba(212, 170, 106, .22);
  --tkp-shadow: 0 18px 48px rgba(0, 3, 28, .28);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100000;
  width: 100%;
  color: var(--tkp-text);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tkp-gh,
.tkp-gh *,
.tkp-gh *::before,
.tkp-gh *::after {
  box-sizing: border-box;
}

.tkp-gh a {
  text-decoration: none !important;
}

.tkp-gh button,
.tkp-gh a {
  -webkit-tap-highlight-color: transparent;
}

.tkp-gh button {
  font-family: inherit;
}

.tkp-gh ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tkp-gh__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tkp-gh :focus-visible {
  outline: 3px solid var(--tkp-gold-light) !important;
  outline-offset: 3px !important;
}

body.admin-bar .tkp-gh {
  top: 32px;
}

/* The spacer is resized by the script to prevent content overlap. */
.tkp-gh-spacer {
  display: block;
  width: 100%;
  height: 110px;
}

/* ===============================
   UTILITY BAR
================================ */
.tkp-gh__utility {
  max-height: 38px;
  overflow: hidden;
  background: #020421;
  border-bottom: 1px solid var(--tkp-line);
  opacity: 1;
  transition: max-height .25s ease, opacity .18s ease, border-color .2s ease;
}

.tkp-gh__utility-inner,
.tkp-gh__nav-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.tkp-gh__utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .25s ease;
}

.tkp-gh__contact-list,
.tkp-gh__utility-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.tkp-gh__utility-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  color: var(--tkp-muted) !important;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .025em;
  white-space: nowrap;
  transition: color .18s ease;
}

.tkp-gh__utility-link:hover {
  color: #fff !important;
}

.tkp-gh__utility-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.tkp-gh__wa {
  padding: 5px 11px;
  color: #fff !important;
  background: #128c7e;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-weight: 700;
}

.tkp-gh__wa:hover {
  color: #fff !important;
  background: #20aa8e;
}

.tkp-gh__store {
  padding: 5px 11px;
  color: var(--tkp-gold-light) !important;
  border: 1px solid rgba(212,170,106,.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tkp-gh__store:hover {
  color: #fff !important;
  background: rgba(212,170,106,.12);
  border-color: var(--tkp-gold);
}

/* ===============================
   MAIN NAVIGATION
================================ */
.tkp-gh__nav {
  position: relative;
  background:
    radial-gradient(circle at 24% -80%, rgba(48, 93, 184, .38), transparent 46%),
    linear-gradient(100deg, #030525 0%, #07104a 54%, #061241 100%);
  border-bottom: 1px solid rgba(212,170,106,.24);
  box-shadow: var(--tkp-shadow);
  backdrop-filter: blur(16px);
}

.tkp-gh__nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  transition: min-height .25s ease;
}

/*
  The horizontal transparent logo has black text, so a restrained white
  brand panel preserves its original colours against the dark header.
*/
.tkp-gh__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 218px;
  height: 56px;
  padding: 7px 13px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 10px;
  box-shadow: 0 7px 22px rgba(0,0,22,.2);
  transition: width .25s ease, height .25s ease, padding .25s ease, box-shadow .2s ease;
}

.tkp-gh__brand img {
  position: static;
  width: auto !important;
  height: 40px !important;
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: contain;
  display: block;
  border: 0;
}

.tkp-gh__desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 1px;
  min-width: 0;
  margin: 0 !important;
  justify-self: end;
  width: max-content;
  flex-wrap: nowrap;
}

.tkp-gh__nav-item {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: stretch;
}

#tkpGlobalHeader .tkp-gh__nav-link,
#tkpGlobalHeader .tkp-gh__nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 0 8px;
  color: #fff !important;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, min-height .25s ease;
}

.tkp-gh__nav-link::after,
.tkp-gh__nav-toggle::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tkp-gold), transparent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.tkp-gh__nav-link:hover,
.tkp-gh__nav-toggle:hover,
.tkp-gh__nav-toggle[aria-expanded="true"],
.tkp-gh__nav-item:focus-within > .tkp-gh__nav-toggle {
  color: var(--tkp-gold-light) !important;
  background: rgba(255,255,255,.035);
}

.tkp-gh__nav-link:hover::after,
.tkp-gh__nav-toggle:hover::after,
.tkp-gh__nav-toggle[aria-expanded="true"]::after,
.tkp-gh__nav-item:focus-within > .tkp-gh__nav-toggle::after {
  transform: scaleX(1);
}

.tkp-gh__nav-link.is-current,
.tkp-gh__nav-toggle.is-current {
  color: var(--tkp-gold-light) !important;
  background: rgba(255,255,255,.035);
}

.tkp-gh__nav-link.is-current::after,
.tkp-gh__nav-toggle.is-current::after {
  transform: scaleX(1);
}

.tkp-gh__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
  opacity: .8;
}

.tkp-gh__nav-toggle[aria-expanded="true"] .tkp-gh__chevron {
  transform: rotate(225deg) translateY(-2px);
}

.tkp-gh__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  color: #05071d !important;
  background: linear-gradient(135deg, #f0d49d 0%, #d4aa6a 48%, #b9853d 100%);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(212,170,106,.24);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tkp-gh__nav-inner > .tkp-gh__quote {
  justify-self: end;
}

.tkp-gh__quote:hover {
  color: #05071d !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 11px 28px rgba(212,170,106,.34);
}

.tkp-gh__quote svg {
  width: 15px;
  height: 15px;
}

/* ===============================
   DESKTOP DROPDOWNS
================================ */
.tkp-gh__dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: min(650px, calc(100vw - 32px));
  padding: 18px;
  color: #fff;
  background: rgba(4, 9, 50, .985);
  border: 1px solid rgba(212,170,106,.25);
  border-top: 2px solid var(--tkp-gold);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 26px 70px rgba(0,0,24,.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 9px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.tkp-gh__dropdown--right {
  right: 0;
  left: auto;
  transform: translate(0, 9px);
}

.tkp-gh__dropdown--compact {
  width: 330px;
}

.tkp-gh__dropdown--services {
  width: min(780px, calc(100vw - 32px));
}

/* Centre the Odoo dropdown within the navigation bar. */
.tkp-gh__nav-item--odoo {
  position: static;
}

.tkp-gh__dropdown--odoo {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
}

.tkp-gh__dropdown--tekkchat {
  left: -90px;
  width: min(900px, calc(100vw - 32px));
  transform: translate(0, 9px);
}

.tkp-gh__nav-item:hover > .tkp-gh__dropdown,
.tkp-gh__nav-item:focus-within > .tkp-gh__dropdown,
.tkp-gh__nav-item.is-open > .tkp-gh__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.tkp-gh__nav-item:hover > .tkp-gh__dropdown--right,
.tkp-gh__nav-item:focus-within > .tkp-gh__dropdown--right,
.tkp-gh__nav-item.is-open > .tkp-gh__dropdown--right {
  transform: translate(0, 0);
}

.tkp-gh__nav-item:hover > .tkp-gh__dropdown--tekkchat,
.tkp-gh__nav-item:focus-within > .tkp-gh__dropdown--tekkchat,
.tkp-gh__nav-item.is-open > .tkp-gh__dropdown--tekkchat {
  transform: translate(0, 0);
}

.tkp-gh__dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.tkp-gh__dropdown-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tkp-gh__group-title {
  display: block;
  margin: 4px 8px 8px;
  padding-bottom: 7px;
  color: var(--tkp-gold-light);
  border-bottom: 1px solid rgba(212,170,106,.18);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tkp-gh__drop-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  color: #dbe5fb !important;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.tkp-gh__drop-link:hover {
  color: #fff !important;
  background: rgba(212,170,106,.11);
  transform: translateX(2px);
}

.tkp-gh__drop-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  background: var(--tkp-gold);
  border-radius: 50%;
}

.tkp-gh__drop-link--featured {
  margin-bottom: 7px;
  padding: 10px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(28,78,162,.32), rgba(212,170,106,.08));
  border: 1px solid rgba(212,170,106,.18);
  font-weight: 700;
}

/* ===============================
   COMPACT STICKY STATE
   Both the contact bar and main navigation remain visible.
================================ */
.tkp-gh.is-compact .tkp-gh__utility {
  max-height: 34px;
  opacity: 1;
  border-color: var(--tkp-line);
}

.tkp-gh.is-compact .tkp-gh__utility-inner {
  min-height: 34px;
}

.tkp-gh.is-compact .tkp-gh__utility-link {
  min-height: 26px;
  font-size: 11px;
}

.tkp-gh.is-compact .tkp-gh__wa,
.tkp-gh.is-compact .tkp-gh__store {
  padding-top: 4px;
  padding-bottom: 4px;
}

.tkp-gh.is-compact .tkp-gh__nav-inner,
.tkp-gh.is-compact .tkp-gh__nav-link,
.tkp-gh.is-compact .tkp-gh__nav-toggle {
  min-height: 62px;
}

.tkp-gh.is-compact .tkp-gh__brand {
  width: 196px;
  height: 46px;
  padding: 6px 12px;
}

.tkp-gh.is-compact .tkp-gh__brand img {
  height: 33px !important;
}

/* ===============================
   MOBILE CONTROLS AND DRAWER
================================ */
.tkp-gh__mobile-controls {
  display: none;
  align-items: center;
  gap: 9px;
  justify-self: end;
}

.tkp-gh__mobile-wa,
.tkp-gh__menu-button,
.tkp-gh__drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tkp-gold-light) !important;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(212,170,106,.38);
  border-radius: 8px;
  cursor: pointer;
}

.tkp-gh__mobile-wa,
.tkp-gh__menu-button {
  width: 40px;
  height: 40px;
}

.tkp-gh__mobile-wa svg {
  width: 18px;
  height: 18px;
}

.tkp-gh__hamburger {
  position: relative;
  width: 18px;
  height: 14px;
}

.tkp-gh__hamburger span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.tkp-gh__hamburger span:nth-child(1) { top: 0; }
.tkp-gh__hamburger span:nth-child(2) { top: 6px; width: 13px; }
.tkp-gh__hamburger span:nth-child(3) { top: 12px; }

.tkp-gh__overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0,2,20,.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.tkp-gh__overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tkp-gh__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 100002;
  width: min(390px, 92vw);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(32,82,174,.32), transparent 36%),
    #04072d;
  border-left: 1px solid rgba(212,170,106,.22);
  box-shadow: -20px 0 70px rgba(0,0,20,.5);
  visibility: hidden;
  transform: translateX(104%);
  transition: transform .28s cubic-bezier(.4,0,.2,1), visibility .28s ease;
}

.tkp-gh__drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

body.tkp-menu-open {
  overflow: hidden !important;
}

.tkp-gh__drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 8px 20px;
  background: rgba(4,7,45,.96);
  border-bottom: 1px solid rgba(212,170,106,.16);
  backdrop-filter: blur(16px);
}

.tkp-gh__drawer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 206px;
  height: 52px;
  padding: 7px 12px;
  overflow: hidden;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 10px;
  box-shadow: 0 7px 22px rgba(0,0,22,.2);
}

.tkp-gh__drawer-brand img {
  position: static;
  width: auto !important;
  height: 37px !important;
  max-width: 100% !important;
  object-fit: contain;
}

.tkp-gh__drawer-close {
  position: relative;
  width: 38px;
  height: 38px;
}

.tkp-gh__drawer-close::before,
.tkp-gh__drawer-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.tkp-gh__drawer-close::before { transform: rotate(45deg); }
.tkp-gh__drawer-close::after { transform: rotate(-45deg); }

.tkp-gh__drawer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(212,170,106,.13);
}

.tkp-gh__drawer-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px;
  color: #dbe5fb !important;
  border: 1px solid rgba(212,170,106,.2);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.2;
}

.tkp-gh__drawer-contact a:first-child {
  color: #fff !important;
  background: #128c7e;
  border-color: rgba(255,255,255,.12);
  font-weight: 700;
}

.tkp-gh__drawer-nav {
  padding: 6px 0 20px;
}

.tkp-gh__mobile-home,
.tkp-gh__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  color: #fff !important;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(212,170,106,.11);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.tkp-gh__mobile-toggle .tkp-gh__chevron {
  color: var(--tkp-gold-light);
}

.tkp-gh__mobile-toggle.is-current,
.tkp-gh__mobile-toggle[aria-expanded="true"] {
  color: var(--tkp-gold-light) !important;
}

.tkp-gh__mobile-toggle[aria-expanded="true"] .tkp-gh__chevron {
  transform: rotate(225deg);
}

.tkp-gh__mobile-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,.12);
  transition: max-height .3s ease;
}

.tkp-gh__mobile-group {
  padding: 10px 20px 12px 28px;
}

.tkp-gh__mobile-group + .tkp-gh__mobile-group {
  padding-top: 2px;
}

.tkp-gh__mobile-link {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  color: #d6e1f8 !important;
  font-size: 14px;
  line-height: 1.45;
}

.tkp-gh__mobile-link:hover {
  color: #fff !important;
}

.tkp-gh__mobile-cta-wrap {
  padding: 18px;
}

.tkp-gh__mobile-cta-wrap .tkp-gh__quote {
  width: 100%;
  min-height: 48px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1320px) {
  .tkp-gh__nav-inner {
    grid-template-columns: 180px minmax(0, 1fr) auto;
  }
  .tkp-gh__utility-inner,
  .tkp-gh__nav-inner {
    width: min(1180px, calc(100% - 32px));
  }

  .tkp-gh__brand {
    width: 180px;
  }

  .tkp-gh__brand img {
    height: 36px !important;
  }

  #tkpGlobalHeader .tkp-gh__nav-link,
  #tkpGlobalHeader .tkp-gh__nav-toggle {
    padding: 0 8px;
    font-size: 13px;
  }

  .tkp-gh__quote {
    padding: 0 13px;
  }
}

@media (max-width: 1180px) {
  .tkp-gh__nav-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tkp-gh__desktop-nav,
  .tkp-gh__nav-inner > .tkp-gh__quote {
    display: none;
  }

  .tkp-gh__mobile-controls {
    display: flex;
  }

  .tkp-gh__nav-inner {
    min-height: 66px;
  }

  .tkp-gh.is-compact .tkp-gh__nav-inner {
    min-height: 60px;
  }
}

@media (max-width: 720px) {
  .tkp-gh__utility-inner,
  .tkp-gh__nav-inner {
    width: calc(100% - 24px);
  }

  .tkp-gh__contact-list {
    gap: 8px;
  }

  .tkp-gh__utility-link--email {
    display: none;
  }

  .tkp-gh__utility-actions {
    gap: 8px;
  }

  .tkp-gh__brand {
    width: 186px;
    height: 50px;
    padding: 6px 11px;
  }

  .tkp-gh__brand img {
    height: 35px !important;
  }
}

@media (max-width: 480px) {
  .tkp-gh__utility-link--phone {
    display: none;
  }

  .tkp-gh__store-text {
    display: none;
  }

  .tkp-gh__brand {
    width: 166px;
    height: 46px;
    padding: 5px 9px;
  }

  .tkp-gh__brand img {
    height: 32px !important;
  }

  .tkp-gh__mobile-wa {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .tkp-gh {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tkp-gh *,
  .tkp-gh *::before,
  .tkp-gh *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
