/*--------------------------------------------------------------
# ZEDIX Header & Footer (glass)
# Markup lives in header.php / footer.php (zx- classes).
# .main-menu / .main-menu__list / .mobile-nav__toggler are kept
# because script.js clones them into the sticky header and mobile menu.
--------------------------------------------------------------*/

/*----------------------------------------
  Top bar
----------------------------------------*/
.zx-topbar {
  position: relative;
  background: #0b0820;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.4;
}

.zx-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.zx-topbar__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.zx-topbar__note i {
  margin-right: 6px;
  color: #7fe3ff;
}

.zx-topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.zx-topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.zx-topbar__links a:hover {
  color: #fff;
}

.zx-topbar__links i {
  color: #b9a8ff;
}

/*----------------------------------------
  Main nav (also styles the sticky clone)
----------------------------------------*/
.zx-header {
  position: relative;
  z-index: 99;
}

.zx-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(110, 84, 243, 0.10);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

.zx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.zx-nav__logo img {
  display: block;
  width: 168px;
  height: auto;
}

/* Menu */
.zx-nav .zx-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zx-nav .zx-nav__list > li {
  position: relative;
  margin: 0 !important;
  padding: 22px 0;
}

.zx-nav .zx-nav__list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--itzone-font);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  color: #1b2140;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.zx-nav .zx-nav__list > li > a::before,
.zx-nav .zx-nav__list > li > a::after {
  display: none !important;
}

.zx-nav .zx-nav__list > li.dropdown > a::after {
  content: "\f107";
  display: inline-block !important;
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  font-family: "Font Awesome 5 Pro";
  font-size: 12px;
  font-weight: 900;
  background: none;
  transform: none;
  opacity: 0.6;
  transition: transform 0.25s ease;
}

.zx-nav .zx-nav__list > li:hover > a,
.zx-nav .zx-nav__list > li.current > a {
  color: var(--itzone-base);
  background: rgba(110, 84, 243, 0.09);
}

.zx-nav .zx-nav__list > li.dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Dropdown */
.zx-nav .zx-nav__list > li > ul {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  z-index: 10;
  min-width: 270px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(31, 22, 92, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transform-origin: top;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.zx-nav .zx-nav__list > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zx-nav .zx-nav__list > li > ul > li {
  margin: 0;
  padding: 0;
  border: 0;
}

.zx-nav .zx-nav__list > li > ul > li + li {
  margin-top: 2px;
  border: 0;
}

.zx-nav .zx-nav__list > li > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: var(--itzone-font);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.35;
  color: #1b2140;
  background: transparent;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.zx-nav .zx-nav__list > li > ul > li > a::before,
.zx-nav .zx-nav__list > li > ul > li > a::after {
  display: none !important;
}

.zx-nav .zx-nav__list > li > ul > li > a:hover {
  padding-left: 18px;
  color: var(--itzone-base);
  background: rgba(110, 84, 243, 0.08);
}

/* Right side */
.zx-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zx-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1b2140;
}

.zx-nav__phone-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--itzone-base);
  background: rgba(110, 84, 243, 0.10);
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease;
}

.zx-nav__phone:hover .zx-nav__phone-icon {
  color: #fff;
  background: var(--itzone-base);
}

.zx-nav__phone-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #1b2140;
}

.zx-nav__phone-text small {
  font-size: 12px;
  font-weight: 400;
  color: #6b7190;
}

.zx-nav__cta.glass-btn {
  padding: 12px 22px;
  font-size: 15px;
}

/* Hamburger */
.zx-nav .zx-nav__toggler {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(110, 84, 243, 0.10);
  border-radius: 14px;
}

.zx-nav .zx-nav__toggler span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--itzone-base);
  border-radius: 2px;
}

.zx-nav .zx-nav__toggler span:nth-child(2) {
  width: 14px;
  margin-left: 6px;
}

/* Sticky clone */
.stricky-header.zx-nav--sticky {
  position: fixed;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 40px rgba(31, 22, 92, 0.10);
}

.stricky-header.zx-nav--sticky .zx-nav__inner {
  min-height: 70px;
}

.stricky-header.zx-nav--sticky .zx-nav__list > li {
  padding: 16px 0;
}

.stricky-header.zx-nav--sticky .zx-nav__logo img {
  width: 148px;
}

/*----------------------------------------
  Mobile drawer
----------------------------------------*/
.mobile-nav__content {
  background: linear-gradient(160deg, #15103a 0%, #0b0820 60%, #0a2233 100%) !important;
}

.mobile-nav__content .main-menu__list > li > a,
.mobile-nav__content .main-menu__list > li > ul > li > a {
  font-family: var(--itzone-font);
  font-weight: 400;
}

.mobile-nav__content .main-menu__list > li > a::after {
  display: none;
}

/*----------------------------------------
  Footer
----------------------------------------*/
.zx-footer {
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.68);
  background: #0b0820;
  isolation: isolate;
}

.zx-footer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 10% 0%, rgba(110, 84, 243, 0.35), transparent 70%),
    radial-gradient(520px 360px at 95% 30%, rgba(34, 193, 238, 0.20), transparent 70%),
    radial-gradient(500px 300px at 50% 110%, rgba(255, 107, 179, 0.14), transparent 70%);
}

.zx-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.zx-footer a:hover {
  color: #fff;
}

/* CTA band */
.zx-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
  padding: 38px 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.zx-footer__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9a8ff;
  background: rgba(110, 84, 243, 0.18);
  border: 1px solid rgba(185, 168, 255, 0.25);
  border-radius: 999px;
}

.zx-footer__cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
}

.zx-footer__cta p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.zx-footer__cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.zx-footer__cta-actions .glass-btn,
.zx-footer__cta-actions .glass-btn:hover {
  color: #fff;
}

/* Columns */
.zx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr 1.3fr;
  gap: 36px;
  padding-bottom: 54px;
}

.zx-footer__logo img {
  width: 170px;
  height: auto;
}

.zx-footer__brand p {
  margin: 18px 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

.zx-footer__social {
  display: flex;
  gap: 10px;
}

.zx-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.zx-footer__social a:hover {
  color: #fff;
  background: var(--glass-grad, #6e54f3);
  border-color: transparent;
  transform: translateY(-3px);
}

.zx-footer__col h3 {
  margin: 4px 0 18px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
}

.zx-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zx-footer__col li {
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.5;
}

.zx-footer__col li a:hover {
  color: #fff;
}

.zx-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.zx-footer__contact i {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #b9a8ff;
  background: rgba(110, 84, 243, 0.16);
  border-radius: 10px;
}

.zx-footer__contact span,
.zx-footer__contact a {
  padding-top: 5px;
  word-break: break-word;
}

/* Bottom bar */
.zx-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.zx-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  font-size: 14px;
}

.zx-footer__bottom-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.zx-footer__bottom-inner strong {
  color: #fff;
}

.zx-footer__bottom-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*----------------------------------------
  Responsive
----------------------------------------*/
@media (max-width: 1199px) {
  .zx-nav .zx-nav__list {
    display: none;
  }

  .zx-nav .zx-nav__toggler {
    display: inline-flex;
  }

  .zx-nav__inner {
    min-height: 74px;
  }

  .zx-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .zx-footer__brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 991px) {
  .zx-topbar__note {
    display: none;
  }

  .zx-topbar__inner {
    justify-content: center;
  }

  .zx-nav__phone-text {
    display: none;
  }

  .zx-footer__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  /* Slim strip that continues the dark Android address bar (theme-color) */
  .zx-topbar {
    font-size: 12.5px;
  }

  .zx-topbar__inner {
    padding: 7px 0;
  }

  .zx-topbar__links {
    gap: 16px;
  }

  .zx-topbar__links a[href="faq"] {
    display: none;
  }

  .zx-nav__inner {
    gap: 12px;
    min-height: 66px;
  }

  .zx-nav__logo img,
  .stricky-header.zx-nav--sticky .zx-nav__logo img {
    width: 132px;
  }

  .zx-nav__actions {
    gap: 8px;
  }

  .zx-nav__phone-icon {
    width: 40px;
    height: 40px;
  }

  .zx-nav__cta.glass-btn {
    width: auto;
    padding: 10px 16px;
    font-size: 14px;
  }

  .zx-footer {
    padding-top: 44px;
  }

  .zx-footer__cta {
    margin-bottom: 40px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .zx-footer__cta-actions {
    width: 100%;
  }

  .zx-footer__cta-actions .glass-btn {
    flex: 1 1 0;
    width: auto;
    justify-content: center;
  }

  .zx-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 36px;
  }

  .zx-footer__contact {
    grid-column: 1 / -1;
  }

  .zx-footer__col li {
    margin-bottom: 9px;
    font-size: 14px;
  }

  .zx-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .zx-footer__bottom-inner {
    padding: 18px 0 26px;
    font-size: 13px;
  }

  .zx-footer__bottom-inner ul {
    justify-content: center;
    gap: 8px 14px;
    padding: 0 40px; /* keep clear of the floating call/WhatsApp buttons */
  }
}

@media (max-width: 380px) {
  .zx-nav__cta.glass-btn {
    display: none;
  }
}

/*----------------------------------------
  Transparent header over the dark hero
  (the sticky clone stays solid white glass)
----------------------------------------*/
.zx-logo-light { display: none !important; }

.zx-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.zx-header .zx-topbar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zx-header .zx-nav {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.zx-header .zx-logo-dark { display: none !important; }
.zx-header .zx-logo-light { display: block !important; }

.zx-header .zx-nav .zx-nav__list > li > a {
  color: rgba(255, 255, 255, 0.88);
}

.zx-header .zx-nav .zx-nav__list > li:hover > a,
.zx-header .zx-nav .zx-nav__list > li.current > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.zx-header .zx-nav__phone,
.zx-header .zx-nav__phone-text {
  color: #fff;
}

.zx-header .zx-nav__phone-text small {
  color: rgba(255, 255, 255, 0.6);
}

.zx-header .zx-nav__phone-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.zx-header .zx-nav .zx-nav__toggler {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.zx-header .zx-nav .zx-nav__toggler span {
  background: #fff;
}

/* Make room for the overlaid header (topbar + nav) */
.glass-hero {
  padding-top: 210px !important;
}

.zx-home-hero {
  padding-top: 190px !important;
}

@media (max-width: 1199px) {
  .glass-hero { padding-top: 190px !important; }
  .zx-home-hero { padding-top: 170px !important; }
}

@media (max-width: 767px) {
  .glass-hero,
  .zx-home-hero {
    padding-top: 136px !important;
  }
}

.zx-header .zx-nav .zx-nav__list > li.dropdown > a::after {
  color: #fff;
  opacity: 0.75;
}

.zx-nav__phone-text,
.zx-nav__cta.glass-btn {
  white-space: nowrap;
}

.zx-nav__phone-icon {
  flex-shrink: 0;
}

/* Medium laptops: keep only the phone icon so menu + CTA fit on one line */
@media (min-width: 1200px) and (max-width: 1399px) {
  .zx-nav__phone-text { display: none; }
  .zx-nav .zx-nav__list > li > a { padding: 9px 12px; }
}

/*----------------------------------------
  Floating capsule header (v3)
----------------------------------------*/
.zx-header {
  top: 18px;
}

.zx-header .zx-topbar {
  display: none;
}

.zx-header .zx-nav {
  border-bottom: 0;
}

.zx-header .zx-nav__inner,
.stricky-header.zx-nav--sticky .zx-nav__inner {
  min-height: 70px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

.zx-header .zx-nav__inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.zx-header .zx-nav .zx-nav__list > li,
.stricky-header.zx-nav--sticky .zx-nav__list > li {
  padding: 14px 0;
}

.zx-header .zx-nav__logo img,
.stricky-header.zx-nav--sticky .zx-nav__logo img {
  width: 140px;
}

.zx-header .zx-nav__cta.glass-btn,
.stricky-header.zx-nav--sticky .zx-nav__cta.glass-btn {
  padding: 13px 24px;
}

/* Active page gets a soft gradient pill */
.zx-header .zx-nav .zx-nav__list > li.current > a {
  background: linear-gradient(135deg, rgba(110, 84, 243, 0.55), rgba(34, 193, 238, 0.35));
}

/* Sticky clone: same capsule, light glass */
.stricky-header.zx-nav--sticky {
  top: 12px;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.stricky-header.zx-nav--sticky .zx-nav__inner {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(31, 22, 92, 0.16);
}

/* Hero spacing for the floating header */
.glass-hero { padding-top: 170px !important; }
.zx-home-hero { padding-top: 150px !important; }

@media (max-width: 1199px) {
  .zx-header .zx-nav__inner,
  .stricky-header.zx-nav--sticky .zx-nav__inner {
    min-height: 64px;
    padding: 0 8px 0 20px;
  }

  .glass-hero { padding-top: 150px !important; }
  .zx-home-hero { padding-top: 130px !important; }
}

@media (max-width: 767px) {
  .zx-header { top: 10px; }
  .stricky-header.zx-nav--sticky { top: 8px; }

  .zx-header .container,
  .stricky-header.zx-nav--sticky .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .zx-header .zx-nav__inner,
  .stricky-header.zx-nav--sticky .zx-nav__inner {
    min-height: 58px;
    padding: 0 6px 0 16px;
  }

  .zx-header .zx-nav__logo img,
  .stricky-header.zx-nav--sticky .zx-nav__logo img {
    width: 118px;
  }

  .zx-nav__phone-icon,
  .zx-nav .zx-nav__toggler {
    width: 40px;
    height: 40px;
  }

  .zx-header .zx-nav__cta.glass-btn,
  .stricky-header.zx-nav--sticky .zx-nav__cta.glass-btn {
    padding: 10px 14px;
    font-size: 13.5px;
  }

  .glass-hero,
  .zx-home-hero {
    padding-top: 110px !important;
  }
}

/* Logo readable on the purple glow: render it pure white + slightly darker capsule */
.zx-header .zx-logo-light {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.zx-header .zx-nav__inner {
  background: linear-gradient(135deg, rgba(11, 8, 32, 0.55), rgba(11, 8, 32, 0.35));
}

/* Sticky: only the capsule is visible – no full-width band, blur or shadow behind it */
.stricky-header.zx-nav--sticky,
.stricky-header.stricky-fixed.zx-nav--sticky {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.stricky-header.zx-nav--sticky .zx-nav__inner {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}
