/* =========================================================
   JTA GLOBAL HEADER
========================================================= */

.jta-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.jta-header__container {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

/* BRAND */

.jta-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #0f172a;
  text-decoration: none;
}

.jta-header__logo{

    display:flex;

    align-items:center;

    width:auto;

    flex-shrink:0;

}

.jta-header__logo img{

    display:block;

    width:15%;

    height:auto;

}


/* NAVIGATION */

.jta-header__nav {
  justify-self: center;
}

.jta-header__menu {
  display: flex;
  align-items: center;
  gap: 30px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.jta-header__menu li {
  position: relative;
  margin: 0;
}

.jta-header__menu a {
  position: relative;

  display: inline-flex;
  align-items: center;

  min-height: 44px;

  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

.jta-header__menu a:hover,
.jta-header__menu a:focus-visible {
  color: #0b5fd8;
}

.jta-header__menu > li > a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;

  height: 2px;

  background: #1671f8;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 180ms ease;
}

.jta-header__menu > li > a:hover::after,
.jta-header__menu > li > a:focus-visible::after,
.jta-header__menu > li.current-menu-item > a::after,
.jta-header__menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* SUBMENUS */

.jta-header__menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 100;

  min-width: 230px;
  margin: 0;
  padding: 10px;

  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;

  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);

  list-style: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.jta-header__menu li:hover > .sub-menu,
.jta-header__menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jta-header__menu .sub-menu li {
  width: 100%;
}

.jta-header__menu .sub-menu a {
  width: 100%;
  min-height: auto;
  padding: 10px 12px;

  border-radius: 9px;

  color: #475569;
  font-size: 0.86rem;
  font-weight: 650;
}

.jta-header__menu .sub-menu a:hover,
.jta-header__menu .sub-menu a:focus-visible {
  background: #f1f6ff;
  color: #0b5fd8;
}

/* CTA */

.jta-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 12px 18px;

  border-radius: 999px;

  background: #1671f8;
  color: #ffffff;

  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 10px 24px rgba(22, 113, 248, 0.2);

  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.jta-header__cta:hover {
  background: #0b5fd8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 113, 248, 0.26);
}

/* MOBILE TOGGLE */

.jta-header__toggle {
  display: none;

  width: 44px;
  height: 44px;
  padding: 10px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.jta-header__toggle span {
  display: block;

  width: 24px;
  height: 2px;
  margin: 5px auto;

  background: #0f172a;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.jta-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.jta-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.jta-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HIDE NEVE HEADER */

header.header,
#header-grid,
.nv-navbar,
.site-header:not(.jta-global-header) {
  display: none !important;
}

/* TABLET */

@media (max-width: 1050px) {
  .jta-header__container {
    gap: 18px;
  }

  .jta-header__menu {
    gap: 20px;
  }

  .jta-header__brand-copy span {
    display: none;
  }

  .jta-header__cta {
    display: none;
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .jta-header__container {
    grid-template-columns: auto 1fr auto;
    min-height: 70px;
  }

  .jta-header__toggle {
    display: block;
    justify-self: end;
  }

  .jta-header__nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;

    justify-self: stretch;

    padding: 14px 20px 22px;

    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .jta-header__nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .jta-header__menu {
    display: grid;
    gap: 0;
  }

  .jta-header__menu > li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .jta-header__menu > li > a {
    width: 100%;
    min-height: 50px;
  }

  .jta-header__menu > li > a::after {
    display: none;
  }

  .jta-header__menu .sub-menu {
    position: static;

    display: grid;

    min-width: 0;
    padding: 0 0 10px 14px;

    border: 0;
    box-shadow: none;

    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .jta-header__menu .sub-menu a {
    padding: 8px 10px;
  }
}

@media (max-width: 520px) {
  .jta-header__container {
    width: min(100% - 24px, 1240px);
  }

  .jta-header__brand-copy {
    display: none;
  }

  .jta-header__logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}