.site-header {
  position: fixed;
  left: 50%;
  top: 35px;
  transition: 0.3s;
  padding: 11px 14px;
  transform: translateX(-50%);
  z-index: 99;
  max-width: 954px;
  width: 100%;
  border-radius: 30px;
  background: rgba(255, 255, 254, 0.92);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4.400000095367432px);
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
p a {
  text-decoration: underline !important;
}
.site__logo,
.header__right {
  flex: 1;
}
.main-navigation {
  flex: 3;
}
.site-logo {
  max-width: 143px;
  object-fit: contain;
}
.main-navigation > div > ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-navigation > div > ul > li > a {
  padding: 12px 16px;
  color: #1a3046;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 12px; /* 100% */
}
.header__right a {
  white-space: nowrap;
}
.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.header__button {
  padding: 14px 20px;
  border-radius: 32px;
  background: #1a3046;
  border: 1px solid #1a3046;
  color: #f6f3f0;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.header__button:hover {
  background: #253f57;
  border-color: #253f57;
}

/* Desktop nav links */
.nav-dropdown {
  flex: 3;
}
.nav-dropdown > div > ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-dropdown > div > ul > li > a {
  padding: 12px 16px;
  color: #1a3046;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
}

/* CTA u nav — sakriven na desktopu */
.nav-mobile-cta {
  display: none;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(26, 48, 70, 0.07);
  border: none;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 30px;
  transition: background 0.2s;
}
.menu-toggle:hover {
  background: rgba(26, 48, 70, 0.13);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a3046;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    width 0.3s ease;
}
.menu-toggle span:nth-child(2) {
  width: 13px;
}

/* ── Desktop sub-menu dropdown ── */
.nav-dropdown > div > ul > li.menu-item-has-children {
  position: relative;
}
.nav-dropdown > div > ul > li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > div > ul > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #1a3046;
  border-bottom: 1.5px solid #1a3046;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown > div > ul > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}
.nav-dropdown > div > ul > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fffcf4;
  border-radius: 0 16px 16px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 6px;
  list-style: none;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
  z-index: 10;
}
.nav-dropdown > div > ul > li.menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
@media only screen and (min-width: 992px) {
  .sub-menu-toggle {
    display: none;
  }
}
.home #page {
  overflow: unset !important;
}
.nav-dropdown > div > ul > li > .sub-menu > li > a {
  display: block;
  padding: 10px 20px;
  color: #1a3046;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.15s,
    padding-left 0.15s;
}
.nav-dropdown > div > ul > li > .sub-menu > li:not(:last-child) > a {
  border-bottom: 1px solid rgba(26, 48, 70, 0.06);
}
.nav-dropdown > div > ul > li > .sub-menu > li > a:hover {
  background: rgba(26, 48, 70, 0.05);
  padding-left: 26px;
}

/* ── TABLET (≤ 1100px) ── */
@media only screen and (max-width: 1100px) {
  .site-header {
    max-width: calc(100% - 40px);
  }
}

/* ── MOBILE (≤ 991px) ── */
@media only screen and (max-width: 991px) {
  .site-header {
    top: 15px;
    max-width: calc(100% - 30px);
    padding: 10px 14px;
    border-radius: 30px;
    transition:
      border-radius 0.25s ease,
      transform 0.3s;
  }
  .focus ul {
    max-height: 500px !important;
    transition: 0.3s;
  }
  .site-header:has(.main-navigation.toggled) {
    border-radius: 30px 30px 0 0;
  }

  /* Sakrij desktop CTA dugme */
  .header__right {
    display: none;
  }

  .main-navigation {
    flex: unset;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
  }
  .site__logo {
    flex: 1;
  }
  .menu-toggle {
    display: flex;
  }

  /* nav-dropdown postaje animated dropdown panel */
  .nav-dropdown {
    flex: unset;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 254, 0.98);
    border-radius: 0 0 30px 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.09);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0s linear 0.22s;
  }
  .main-navigation.toggled .nav-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
  }
  .nav-dropdown > div > ul {
    justify-content: flex-start !important;
    align-items: flex-start;
  }

  /* Nav linkovi */
  .nav-dropdown > div > ul {
    flex-direction: column;
  }
  .nav-dropdown > div > ul > li > a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a3046;
    border-bottom: 1px solid rgba(26, 48, 70, 0.06);
    transition:
      background 0.15s ease,
      padding-left 0.15s ease;
  }
  .nav-dropdown > div > ul > li:last-child > a {
    border-bottom: none;
  }
  .nav-dropdown > div > ul > li > a:hover {
    background: rgba(26, 48, 70, 0.04);
    padding-left: 26px;
  }

  /* Mobile CTA dugme na dnu menija */
  .nav-mobile-cta {
    display: block;
    padding: 12px 16px 20px;
  }
  .nav-mobile-cta .header__button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 13px;
    box-sizing: border-box;
  }

  /* Mobile sub-menu */
  .nav-dropdown > div > ul > li.menu-item-has-children > a::after {
    display: none;
  }
  .nav-dropdown > div > ul > li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid rgba(26, 48, 70, 0.06);
  }
  .nav-dropdown > div > ul > li.menu-item-has-children > a {
    flex: 1;
    border-bottom: none;
  }
  .nav-dropdown > div > ul > li.menu-item-has-children > .sub-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown > div > ul > li.menu-item-has-children.open > .sub-menu {
    max-height: 400px;
  }
  .sub-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    align-self: stretch;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(26, 48, 70, 0.08);
    cursor: pointer;
    padding: 0;
  }
  .sub-menu-toggle::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #1a3046;
    border-bottom: 2px solid #1a3046;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
  }
  .menu-item-has-children.open > .sub-menu-toggle::after {
    transform: rotate(-135deg) translateY(2px);
  }
  .nav-dropdown > div > ul > li > .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: rgba(26, 48, 70, 0.03);
    border-radius: 0;
    padding: 0;
    list-style: none;
    pointer-events: auto;
    transition: none;
  }
  .nav-dropdown > div > ul > li > .sub-menu > li > a {
    display: block;
    padding: 12px 20px 12px 36px;
    font-size: 13px;
    font-weight: 400;
    color: #1a3046;
    border-bottom: 1px solid rgba(26, 48, 70, 0.06);
    white-space: normal;
    transition:
      background 0.15s,
      padding-left 0.15s;
  }
  .nav-dropdown > div > ul > li > .sub-menu > li > a:hover {
    background: rgba(26, 48, 70, 0.04);
    padding-left: 42px;
  }

  /* Hamburger → X */
  .main-navigation.toggled .menu-toggle {
    background: rgba(26, 48, 70, 0.12);
  }
  .main-navigation.toggled .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
  }
  .main-navigation.toggled .menu-toggle span:nth-child(2) {
    opacity: 0;
    width: 20px;
    transform: translateX(-6px);
  }
  .main-navigation.toggled .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
  }
}
.home-form-list__item a,
.contact-info-item a {
  text-decoration: unset !important;
}

.wpml-language-dropdown {
  list-style-type: none;
  background: rgba(255, 255, 255, 0.83);
  padding: 10px 12px !important;
  border-radius: 7px;
  position: absolute;
  top: 47px;
  left: -36px;
  visibility: hidden;
  opacity: 0;
  width: 126px;
  transition: 0.4s ease-out;
}
.wpml-language-switcher {
  display: flex;
  align-items: center;
}

.wpml-language-switcher .icon-globe {
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
}

.wpml-language-switcher .language-label {
  color: #1a3046;
  font-family: "Parkinsans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  padding: 0 4px;
}
.wpml-language-dropdown .active-flag {
  transition: 0.3s;
  color: #fff;
  background: #1a3046;
}
.wpml-language-dropdown li:hover {
  background: #1a3046;
  color: #fff;
  transition: 0.3s;
}
.wpml-language-dropdown li:hover a {
  color: #fff;
  transition: 0.3s;
}
.wpml-language-dropdown .active-flag a {
  transition: 0.3s;
  color: #fff;
}
.wpml-language-dropdown li:not(:last-of-type) {
  margin-bottom: 5px;
}
.wpml-language-dropdown li {
  border-radius: 5px;
  transition: 0.3s;
}
.main-navigation > .mobile-only {
  display: none !important;
  align-items: center;
  margin-right: 10px;
}
@media only screen and (max-width: 991px) {
  .main-navigation > .mobile-only {
    display: flex !important;
  }
}
.wpml-language-dropdown li a {
  color: #1a3046;
  padding: 7px 12px;
	display: block;
  transition: 0.3s;
  font-size: 12px;
  cursor: pointer;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}
.wpml-language-switcher-wrap {
  position: relative;
  margin-left: 21px;
  cursor: pointer;
}
.wpml-language-switcher-wrap:hover .wpml-language-dropdown {
  visibility: visible;
  opacity: 1;
  display: block !important;
}
