@import url('/gfonts/nav-fonts.css');

/* ============================================================
   Global typography normalization
   Match the devices/ page: League Spartan headings + Lato body.
   ============================================================ */
html, body, body * {
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
h1, h2, h3, h4, h5, h6,
.x-el-h1, .x-el-h2, .x-el-h3, .x-el-h4, .x-el-h5, .x-el-h6 {
  font-family: 'League Spartan', 'Lato', system-ui, sans-serif !important;
  letter-spacing: -0.01em;
}
/* Our own nav/FAB/cookie chrome stays on Lato (override the heading rule
   in case a heading lives inside them) */
.ht-nav, .ht-nav *,
.ht-fab, .ht-fab *,
.ht-cookie, .ht-cookie * {
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  letter-spacing: 0;
}

:root {
  --ht-bg: #0b0b0d;
  --ht-bg-glass: rgba(11, 11, 13, 0.72);
  --ht-bg-glass-solid: rgba(11, 11, 13, 0.94);
  --ht-fg: #ffffff;
  --ht-muted: rgba(255, 255, 255, 0.66);
  --ht-border: rgba(255, 255, 255, 0.08);
  --ht-accent: #ffa600;
  --ht-accent-hot: #ff7a00;
  --ht-accent-glow: rgba(255, 166, 0, 0.45);
  --ht-nav-h: 132px;
  --ht-nav-h-scrolled: 76px;
}

/* Hide pre-existing nav/headers/footers from any of the imported pages */
body > div > div > nav,
nav.x-el-nav,
header.site-header,
footer.site-footer,
.widget-footer,
[id^="footer-"][class*="widget-footer"] { display: none !important; }

body { margin: 0; padding-top: var(--ht-nav-h); }

/* The GoDaddy export forces every page to fill the viewport
   (.page-inner { min-height:100vh }) because its own footer sat inside the
   page. Our ht-footer is appended to <body> instead, so that rule turns
   into a huge blank band between short content and the footer (about-us).
   Let the page shrink to its content and pin the footer to the viewport
   bottom with a body flex column instead. */
.page-inner { background: transparent !important; min-height: 0 !important; }
body { display: flex; flex-direction: column; min-height: calc(100vh - var(--ht-nav-h)); }
.ht-footer { margin-top: auto; }

.ht-nav,
.ht-nav * { box-sizing: border-box; }

.ht-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99999;
  height: var(--ht-nav-h);
  background: var(--ht-bg-glass);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid var(--ht-border);
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ht-fg);
  transition: height 260ms cubic-bezier(.22,1,.36,1),
              background 260ms ease,
              border-color 260ms ease;
  transform: translateY(-100%);
  animation: ht-nav-in 700ms cubic-bezier(.22,1,.36,1) 120ms forwards;
}

@keyframes ht-nav-in {
  to { transform: translateY(0); }
}

.ht-nav.is-scrolled {
  height: var(--ht-nav-h-scrolled);
  background: var(--ht-bg-glass-solid);
}

.ht-nav__inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ---------- Logo ---------- */
.ht-nav__logo {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  isolation: isolate;
}

.ht-nav__logo-img {
  height: 102px;
  width: auto;
  display: block;
  transition: height 260ms cubic-bezier(.22,1,.36,1),
              transform 300ms cubic-bezier(.22,1,.36,1),
              filter 400ms ease;
  filter: drop-shadow(0 0 0 rgba(255, 166, 0, 0));
}

.ht-nav.is-scrolled .ht-nav__logo-img { height: 52px; }

.ht-nav__logo:hover .ht-nav__logo-img {
  filter: drop-shadow(0 0 14px rgba(255, 166, 0, 0.4));
}

.ht-nav__logo:hover .ht-nav__logo-img {
  transform: scale(1.02);
}


/* ---------- Links ---------- */
.ht-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.ht-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--ht-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.015em;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 200ms ease;
}

.ht-nav__link:hover,
.ht-nav__link.is-active { color: var(--ht-fg); }

.ht-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--ht-accent), var(--ht-accent-hot));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(.65,0,.35,1);
  opacity: 0.95;
}

.ht-nav__link:hover::after,
.ht-nav__link.is-active::after { transform: scaleX(1); }

.ht-nav__link.is-active::after {
  box-shadow: 0 0 12px var(--ht-accent-glow);
}

/* ---------- CTA ---------- */
.ht-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--ht-accent) 0%, var(--ht-accent-hot) 100%);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(.22,1,.36,1),
              box-shadow 280ms ease;
  box-shadow: 0 0 0 0 var(--ht-accent-glow);
  flex-shrink: 0;
  line-height: 1;
}

.ht-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -4px var(--ht-accent-glow);
}

.ht-nav__cta:active { transform: translateY(0); }

.ht-nav__cta-arrow {
  width: 14px; height: 14px;
  transition: transform 220ms cubic-bezier(.22,1,.36,1);
}

.ht-nav__cta:hover .ht-nav__cta-arrow { transform: translateX(3px); }

/* Scroll-progress hairline at the bottom of the bar */
.ht-nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--ht-accent), var(--ht-accent-hot), transparent);
  pointer-events: none;
  transition: width 80ms linear;
}

/* ---------- Mobile: "Menu" text toggle that opens a full-screen overlay ----------
   No horizontal scrolling, no hamburger icon — a clear text label that reveals
   a clean vertical menu when tapped. */

.ht-nav__menu-btn {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ht-fg);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  margin-left: auto;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.ht-nav__menu-btn:hover,
.ht-nav__menu-btn[aria-expanded="true"] {
  border-color: var(--ht-accent);
  color: var(--ht-accent);
}
.ht-nav__menu-btn-label--close { display: none; }
.ht-nav__menu-btn[aria-expanded="true"] .ht-nav__menu-btn-label--open { display: none; }
.ht-nav__menu-btn[aria-expanded="true"] .ht-nav__menu-btn-label--close { display: inline; }

/* Full-screen overlay menu */
.ht-menu {
  position: fixed;
  inset: var(--ht-nav-h) 0 0 0;
  z-index: 99996;
  background: rgba(11, 11, 13, 0.96);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
.ht-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ht-menu__inner {
  padding: 28px 28px 36px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.ht-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ht-menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ht-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  color: var(--ht-fg);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-family: 'League Spartan', 'Lato', system-ui, sans-serif !important;
  transition: color 180ms ease, padding 220ms cubic-bezier(.22,1,.36,1);
}
.ht-menu__link:hover,
.ht-menu__link.is-active { color: var(--ht-accent); padding-left: 10px; }

.ht-menu__link-arrow {
  width: 18px; height: 18px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: color 180ms ease, transform 220ms cubic-bezier(.22,1,.36,1);
}
.ht-menu__link:hover .ht-menu__link-arrow {
  color: var(--ht-accent);
  transform: translateX(3px);
}

.ht-menu__contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ht-menu__contact a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  text-decoration: none;
}
.ht-menu__contact a:hover { color: var(--ht-accent); }

body.ht-menu-open { overflow: hidden; }
body.ht-menu-open .ht-cookie,
body.ht-menu-open .ht-fab { display: none; }

@media (max-width: 920px) {
  :root {
    --ht-nav-h: 78px;
    --ht-nav-h-scrolled: 64px;
  }

  .ht-nav {
    background: var(--ht-bg-glass-solid);
  }

  .ht-nav__inner {
    gap: 12px;
    padding: 0 16px;
  }

  .ht-nav__logo-img { height: 50px; }
  .ht-nav.is-scrolled .ht-nav__logo-img { height: 42px; }

  /* Replace horizontal list + always-visible Contact CTA with: Menu button + Contact CTA */
  .ht-nav__list { display: none; }
  .ht-nav__menu-btn { display: inline-flex; }

  .ht-nav__cta {
    margin-left: 0;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Above 920px, no overlay menu */
@media (min-width: 921px) {
  .ht-menu { display: none !important; }
}

/* Hide any per-page cookie banners shipped by the original export — we use our own */
.widget-cookie-banner { display: none !important; }

/* ============================================================
   Chat FAB (floating action button, bottom-right)
   ============================================================ */
.ht-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ht-accent) 0%, var(--ht-accent-hot) 100%);
  color: #1a1a1a;
  text-decoration: none;
  box-shadow:
    0 8px 22px -4px rgba(0, 0, 0, 0.35),
    0 0 0 0 var(--ht-accent-glow);
  transition: transform 220ms cubic-bezier(.22,1,.36,1),
              box-shadow 280ms ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
  animation: ht-fab-in 540ms cubic-bezier(.22,1,.36,1) 900ms forwards;
}

@keyframes ht-fab-in {
  to { opacity: 1; transform: translateY(0); }
}

.ht-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 12px 30px -4px rgba(0, 0, 0, 0.45),
    0 0 26px 0 var(--ht-accent-glow);
}

.ht-fab:active { transform: translateY(-1px) scale(1); }

.ht-fab__icon {
  width: 28px;
  height: 28px;
}

/* Subtle "online" pulsing dot to suggest a live channel */
.ht-fab::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow:
    inset 0 0 0 2px var(--ht-accent),
    0 0 0 2px rgba(11, 11, 13, 0.92);
}

.ht-fab::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ht-accent);
  opacity: 0;
  z-index: -1;
  animation: ht-fab-pulse 2400ms cubic-bezier(.22,1,.36,1) 1800ms infinite;
}

@keyframes ht-fab-pulse {
  0%   { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(2.2);  opacity: 0; }
}

/* ============================================================
   Cookie banner (custom, brand-consistent, site-wide)
   ============================================================ */
.ht-cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  z-index: 99997;
  max-width: min(640px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(11, 11, 13, 0.96);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--ht-border);
  border-radius: 14px;
  color: var(--ht-fg);
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms cubic-bezier(.22,1,.36,1);
}

.ht-cookie.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ht-cookie__text {
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ht-cookie__text a {
  color: var(--ht-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}
.ht-cookie__text a:hover { border-bottom-color: var(--ht-accent); }

.ht-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }

.ht-cookie__btn {
  appearance: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 160ms ease;
  white-space: nowrap;
}

.ht-cookie__btn--decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ht-cookie__btn--decline:hover {
  color: var(--ht-fg);
  border-color: rgba(255, 255, 255, 0.35);
}

.ht-cookie__btn--accept {
  background: linear-gradient(135deg, var(--ht-accent) 0%, var(--ht-accent-hot) 100%);
  color: #1a1a1a;
}
.ht-cookie__btn--accept:hover { transform: translateY(-1px); }

/* ============================================================
   Global site footer
   ============================================================ */
.ht-footer {
  background: var(--ht-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 0;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
  isolation: isolate;
}

.ht-footer::before {
  /* Subtle warm halo top-right for depth */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 360px at 92% -20%, rgba(255, 166, 0, 0.08), transparent 60%);
  z-index: -1;
}

.ht-footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.ht-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

@media (max-width: 900px) {
  .ht-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
}
@media (max-width: 560px) {
  .ht-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

.ht-footer__brand-link {
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity 0.2s ease;
}
.ht-footer__brand-link:hover { opacity: 0.8; }

.ht-footer__brand-logo {
  height: 70px;
  width: auto;
  display: block;
}

.ht-footer__tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ht-footer__about {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.ht-footer__col-title {
  color: var(--ht-fg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-family: 'Lato', system-ui, sans-serif !important;
}

.ht-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ht-footer__link {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms ease;
  display: inline-block;
}

.ht-footer__link:hover { color: var(--ht-accent); }

.ht-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ht-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms ease;
}
.ht-footer__contact-item:hover { color: var(--ht-accent); }

.ht-footer__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ht-accent);
}

.ht-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.ht-footer__copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin: 0;
}

.ht-footer__copy-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ht-footer__copy-link:hover { color: var(--ht-accent); }

.ht-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.ht-footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 180ms ease;
}
.ht-footer__legal a:hover { color: var(--ht-accent); }

/* Lift the FAB above the cookie banner when both are visible on mobile */
@media (max-width: 720px) {
  .ht-cookie {
    flex-wrap: wrap;
    bottom: 100px;
  }
  .ht-cookie__actions { width: 100%; justify-content: flex-end; }
  .ht-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ht-nav,
  .ht-nav__logo::before,
  .ht-nav__logo::after,
  .ht-nav__link::after,
  .ht-nav__cta,
  .ht-nav__cta-arrow,
  .ht-nav__logo-img { animation: none !important; transition: none !important; }
  .ht-nav { transform: none; }
}
