/* =========================================================
   ACROSS BORDERS — HEADER
   FLEXBOX ONLY
========================================================= */

.ihpc-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(18, 52, 92, 0.08);
  box-shadow: 0 6px 22px rgba(18, 52, 92, 0.05);
}

.ihpc-header.elementor-sticky--active {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.ihpc-header__inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.ihpc-header .elementor-widget,
.ihpc-header .elementor-widget-container {
  margin-bottom: 0;
}

/* =========================================================
   BRAND
========================================================= */

.ihpc-header__brand {
  min-width: 0;
  flex: 0 0 350px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.ihpc-header__brand > a,
.ihpc-header__brand .elementor-widget-container > a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.ihpc-header__logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.ihpc-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ihpc-header__identity {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.ihpc-header__title {
  margin: 0;
  padding: 0;

  color: var(--ihpc-navy, #12345c);

  font-size: 23px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.ihpc-header__title h1,
.ihpc-header__title h2,
.ihpc-header__title h3,
.ihpc-header__title p,
.ihpc-header__title a {
  margin: 0;
  padding: 0;

  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
}

.ihpc-header__subtitle {
  max-width: 300px;
  margin: 0;
  padding: 0;

  color: #667384;

  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
}

.ihpc-header__subtitle p {
  margin: 0;
}

/* =========================================================
   NAVIGATION
========================================================= */

.ihpc-header__nav {
  min-width: 0;
  flex: 1 1 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.ihpc-header__nav .elementor-widget-container,
.ihpc-header__nav nav {
  width: 100%;
}

.ihpc-header__nav .elementor-nav-menu,
.ihpc-header__nav .elementor-nav-menu--main,
.ihpc-header__nav ul {
  width: 100%;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;

  list-style: none;
}

.ihpc-header__nav .menu-item {
  margin: 0;
  padding: 0;
}

.ihpc-header__nav .elementor-item,
.ihpc-header__nav .menu-item > a {
  min-height: 42px;
  padding: 10px 4px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--ihpc-navy, #12345c);
  background: transparent;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  border: 0;
  border-radius: 8px;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.ihpc-header__nav .elementor-item::before,
.ihpc-header__nav .elementor-item::after {
  display: none;
}

.ihpc-header__nav .elementor-item:hover,
.ihpc-header__nav .menu-item > a:hover {
  color: var(--ihpc-blue, #4267d5);
  background: transparent;
  transform: translateY(-1px);
}

.ihpc-header__nav .elementor-item-active,
.ihpc-header__nav .current-menu-item > a,
.ihpc-header__nav .current_page_item > a {
  color: var(--ihpc-blue, #4267d5);
  background: transparent;
}

/* =========================================================
   ACTIONS
========================================================= */

.ihpc-header__actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* =========================================================
   CONTACT ICON BUTTON
========================================================= */

.ihpc-header__contact {
  width: 52px;
  height: 48px;
  min-width: 52px;

  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: var(--ihpc-navy, #12345c);

  border: 0;
  border-radius: 14px;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.ihpc-header__contact:hover {
  color: #ffffff;
  background: var(--ihpc-blue, #4267d5);
  transform: translateY(-2px);
}

.ihpc-header__contact .elementor-button {
  width: 100%;
  height: 100%;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.ihpc-header__contact .elementor-button-text {
  display: none;
}

.ihpc-header__contact .elementor-button-icon {
  margin: 0;
}

.ihpc-header__contact svg,
.ihpc-header__contact i {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.ihpc-header__language {
  min-height: 48px;
  padding: 4px 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid rgba(18, 52, 92, 0.14);
  border-radius: 999px;
}

.ihpc-header__language .ihpc-language-switcher,
.ihpc-header__language .ih-language-switcher,
.ihpc-header__language .language-switcher {
  display: flex;
  align-items: center;
  gap: 0;
}

.ihpc-header__language a {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #687384;
  background: transparent;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;

  border-radius: 999px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.ihpc-header__language a:hover {
  color: var(--ihpc-navy, #12345c);
  background: #f2f5f8;
}

.ihpc-header__language a.is-active,
.ihpc-header__language a.current-language,
.ihpc-header__language .current-language a {
  color: #ffffff;
  background: var(--ihpc-navy, #12345c);
}

.ihpc-header__language .separator,
.ihpc-header__language .ihpc-language-separator {
  color: #a7afb9;
  font-size: 10px;
}

/* =========================================================
   DROPDOWN
========================================================= */

.ihpc-header__nav .sub-menu,
.ihpc-header .elementor-nav-menu--dropdown {
  min-width: 210px;
  margin-top: 8px;
  padding: 10px;

  background: #ffffff;

  border: 1px solid rgba(18, 52, 92, 0.1);
  border-radius: 14px;

  box-shadow: 0 20px 45px rgba(18, 52, 92, 0.14);
}

.ihpc-header__nav .sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;

  justify-content: flex-start;

  font-size: 13px;
  border-radius: 9px;
}

/* =========================================================
   MENU TOGGLE
========================================================= */

.ihpc-header .elementor-menu-toggle {
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;

  align-items: center;
  justify-content: center;

  color: var(--ihpc-navy, #12345c);
  background: #f4f6f8;

  border: 1px solid rgba(18, 52, 92, 0.12);
  border-radius: 13px;
}

.ihpc-header .elementor-menu-toggle.elementor-active {
  color: #ffffff;
  background: var(--ihpc-navy, #12345c);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .ihpc-header__inner {
    width: calc(100% - 32px);
    min-height: 72px;
    gap: 20px;
  }

  .ihpc-header__brand {
    flex-basis: 300px;
  }

  .ihpc-header__logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .ihpc-header__title {
    font-size: 20px;
  }

  .ihpc-header__subtitle {
    max-width: 230px;
    font-size: 8px;
  }

  .ihpc-header__nav .elementor-nav-menu,
  .ihpc-header__nav ul {
    gap: 14px;
  }

  .ihpc-header__nav .elementor-item,
  .ihpc-header__nav .menu-item > a {
    font-size: 12px;
  }

  .ihpc-header__contact {
    width: 48px;
    min-width: 48px;
  }
}

/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 850px) {
  .ihpc-header__brand {
    flex: 1 1 auto;
  }

  .ihpc-header__subtitle {
    display: none;
  }

  .ihpc-header__contact {
    display: none;
  }

  .ihpc-header .elementor-nav-menu--dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;

    width: auto;
    margin: 0;
    padding: 10px;
  }

  .ihpc-header .elementor-nav-menu--dropdown .elementor-item {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;

    justify-content: flex-start;
    border-radius: 10px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .ihpc-header__inner {
    width: calc(100% - 22px);
    min-height: 64px;
    gap: 10px;
  }

  .ihpc-header__brand {
    min-width: 0;
    gap: 9px;
  }

  .ihpc-header__logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .ihpc-header__title {
    font-size: 16px;
  }

  .ihpc-header__language {
    display: none;
  }

  .ihpc-header .elementor-menu-toggle {
    display: flex;
  }

  .ihpc-header .elementor-nav-menu--dropdown {
    right: 11px;
    left: 11px;
  }
}