/* Shared home navigation: readable labels, grouped destinations and touch-friendly panels. */
.header.home-header {
  z-index: 60;
  column-gap: clamp(14px, 1.65vw, 28px);
}

.header .home-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid #b5cce638;
  border-radius: 999px;
  background: linear-gradient(120deg, #12304ddb, #0c203be8);
  box-shadow: inset 0 1px 0 #ffffff08, 0 8px 28px #020d221c;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-nav > a,
.home-nav .nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #f2f6fb;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .18s, color .18s;
}

.nav-group {
  position: relative;
}

.nav-group > summary {
  list-style: none;
  cursor: pointer;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
  transition: transform .18s;
}

.nav-group[open] > summary .nav-chevron {
  transform: rotate(180deg);
}

.header .home-nav > a:hover,
.home-nav .nav-group > summary:hover,
.home-nav .nav-group[open] > summary {
  color: #d4f76b;
  background: #ffffff0e;
}

.home-nav a:focus-visible,
.home-nav summary:focus-visible,
.home-mobile-nav a:focus-visible,
.home-mobile-nav summary:focus-visible,
.home-header .menu-toggle:focus-visible {
  outline: 2px solid #d4f76b;
  outline-offset: 3px;
}

.home-nav > .nav-news {
  gap: 8px;
  margin-left: 5px;
  padding-left: 15px;
  position: relative;
}

.home-nav > .nav-news::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #c2d5e62e;
}

.nav-news > svg {
  width: 17px;
  height: 17px;
  color: #d4f76b;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -7px;
  width: 420px;
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid #b9d2ee30;
  border-radius: 22px;
  color: #f3f7fc;
  background: linear-gradient(145deg, #122e49, #0a1c32 85%);
  box-shadow: 0 24px 64px #02091755, inset 0 1px 0 #ffffff07;
}

.nav-group--clients .nav-panel,
.nav-group--company .nav-panel {
  left: auto;
  right: -7px;
  width: 365px;
}

.nav-group[open] > .nav-panel {
  animation: nav-panel-in .16s ease-out;
}

.nav-panel-heading {
  padding: 7px 12px 13px;
}

.nav-panel-eyebrow {
  display: block;
  color: #b6c9dc;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nav-panel-heading p {
  margin: 4px 0 0;
  color: #e3edf7;
  font-size: .875rem;
  line-height: 1.5;
}

.header .home-nav .nav-card,
.home-mobile-nav .nav-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #f3f7fc;
  white-space: normal;
  transition: background .18s, border-color .18s;
}

.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #c1dfef1f;
  border-radius: 12px;
  background: #c1dfef09;
  color: #c6eaa0;
  transition: background .18s, border-color .18s;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-card-copy {
  display: block;
  min-width: 0;
}

.nav-card-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.nav-card-copy small {
  display: block;
  margin-top: 4px;
  color: #b8c9da;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
}

.header .home-nav .nav-card:hover,
.header .home-nav .nav-card:focus-visible,
.home-mobile-nav .nav-card:hover,
.home-mobile-nav .nav-card:focus-visible {
  color: #f4f9ff;
  background: #d9e8f70c;
  border-color: #d9e8f714;
}

.nav-card:hover .nav-icon,
.nav-card:focus-visible .nav-icon {
  background: #d4f76b14;
  border-color: #d4f76b40;
  color: #d4f76b;
}

.nav-panel-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 9px 10px 0;
  padding-top: 8px;
  border-top: 1px solid #c4d8eb20;
}

.header .home-nav .nav-panel-footer a,
.home-mobile-nav .nav-panel-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  color: #d4f76b;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}

.nav-panel-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-header .menu-toggle {
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #c2d6e635;
  border-radius: 50%;
  color: #f1f7fc;
  background: #122d46bf;
}

.home-header .menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.home-header .menu-toggle .menu-close,
.home-header .menu-toggle[aria-expanded='true'] .menu-open {
  display: none;
}

.home-header .menu-toggle[aria-expanded='true'] .menu-close {
  display: block;
}

.home-mobile-nav[hidden],
.home-menu-backdrop[hidden] {
  display: none;
}

.home-mobile-nav {
  position: fixed;
  z-index: 59;
  top: 97px;
  left: auto;
  right: 24px;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100dvh - 115px);
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #b9d2ee30;
  border-radius: 22px;
  color: #f3f7fc;
  background: #0d243d;
  box-shadow: 0 22px 60px #02091766;
}

.home-menu-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: #020c1b80;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.home-mobile-nav > .nav-group,
.home-mobile-nav > .nav-mobile-link {
  border-bottom: 1px solid #c4d8eb18;
}

.home-mobile-nav > .nav-group > summary,
.home-mobile-nav > .nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 13px;
  color: #f3f7fc;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 9px;
}

.home-mobile-nav .nav-group[open] > summary {
  color: #d4f76b;
}

.home-mobile-nav .nav-panel {
  position: static;
  width: auto;
  max-height: none;
  overflow: visible;
  padding: 2px 0 10px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.home-mobile-nav .nav-card {
  gap: 12px;
  padding: 12px 10px;
}

.home-mobile-nav .nav-card-copy strong {
  font-size: .9375rem;
}

.home-mobile-nav .nav-panel-heading {
  display: none;
}

.home-mobile-nav > .nav-news {
  justify-content: flex-start;
  gap: 10px;
}

.home-mobile-nav > .nav-mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 14px 4px 4px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #d4f76b;
  color: #10283e;
  font-size: .9375rem;
  font-weight: 700;
}

@keyframes nav-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 1181px) {
  .home-header .menu-toggle,
  .home-mobile-nav,
  .home-menu-backdrop {
    display: none;
  }
}

@media (max-width: 1180px) {
  .header .home-nav {
    display: none;
  }
  .home-header .menu-toggle {
    display: flex;
    margin-left: 0;
  }
  .home-header > .language-link {
    margin-left: auto;
  }
  .home-header > .button {
    margin-left: 0;
  }
  html.home-menu-open,
  html.home-menu-open body {
    overflow: hidden;
  }
  .home-header.scrolled + .home-mobile-nav {
    top: 86px;
    max-height: calc(100dvh - 102px);
  }
}

@media (max-width: 600px) {
  .header.home-header {
    gap: 12px;
    padding-inline: 20px;
  }
  .home-header > .button {
    display: none;
  }
  .home-mobile-nav {
    top: 88px;
    right: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 102px);
  }
  .home-header.scrolled + .home-mobile-nav {
    top: 81px;
    max-height: calc(100dvh - 95px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-group[open] > .nav-panel {
    animation: none;
  }
}
