.group-navtop {
  --navtop-red: #c0152a;
  --navtop-red-dark: #a01020;
  --navtop-text: #333;
  --navtop-border: #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.group-navtop * {
  box-sizing: border-box;
}

.group-navtop__inner {
  width: 100%;
  max-width: 1320px;
  height: 78px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.group-navtop__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.group-navtop__logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.group-navtop__logo-pd {
  height: 48px;
}

.group-navtop__logo-pmg {
  height: 54px;
}

.group-navtop__divider {
  width: 1px;
  height: 48px;
  background: var(--navtop-border);
}

.group-navtop__menu {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-navtop__menu a {
  position: relative;
  display: block;
  padding: 8px 10px;
  color: var(--navtop-text);
  border-radius: 3px;
  font: 300 0.82rem/1.6 'Prompt', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.group-navtop__menu a:hover,
.group-navtop__menu a.active {
  color: var(--navtop-red);
}

.group-navtop__menu a.active::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--navtop-red);
}

.group-navtop__right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
}

.group-navtop__contact {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 17px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--navtop-red);
  color: #fff;
  font: 400 0.82rem/1.6 'Prompt', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.group-navtop__contact:hover {
  background: var(--navtop-red-dark);
}

.group-navtop .site-language-switcher {
  min-height: 38px;
  padding: 3px 5px;
  border-color: var(--navtop-border);
  border-radius: 6px;
  box-shadow: none;
}

.group-navtop .site-language-switcher .gtranslate_wrapper {
  min-height: 30px;
}

.group-navtop .site-language-switcher a {
  margin: 0 2px !important;
}

.group-navtop .site-language-switcher img {
  width: 24px !important;
}

.group-navtop__toggle {
  display: none;
  padding: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.group-navtop__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--navtop-text);
}

@media (max-width: 1180px) and (min-width: 1061px) {
  .group-navtop__inner {
    gap: 14px;
    padding: 0 20px;
  }

  .group-navtop__menu a {
    padding-inline: 7px;
    font-size: 0.76rem;
  }

  .group-navtop__contact {
    padding-inline: 12px;
    font-size: 0.76rem;
  }
}

@media (max-width: 1060px) {
  .group-navtop__inner {
    height: 72px;
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
  }

  .group-navtop__menu {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 72px);
    padding: 10px 14px 16px;
    gap: 4px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .group-navtop__menu.open {
    display: flex;
  }

  .group-navtop__menu a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 400;
  }

  .group-navtop__menu a.active {
    background: rgba(192, 21, 42, 0.08);
  }

  .group-navtop__menu a.active::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
  }

  .group-navtop__contact {
    display: none;
  }

  .group-navtop__toggle {
    display: inline-flex;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 7px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navtop-border);
    border-radius: 7px;
    background: #fff;
  }

  .group-navtop__toggle span {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .group-navtop__inner {
    padding: 0 14px;
  }

  .group-navtop__logo {
    gap: 7px;
  }

  .group-navtop__logo-pd {
    height: 38px;
  }

  .group-navtop__logo-pmg {
    height: 43px;
  }

  .group-navtop__divider {
    height: 38px;
  }

  .group-navtop__right {
    gap: 5px;
  }

  .group-navtop .site-language-switcher {
    min-height: 34px;
    padding: 2px 3px;
  }

  .group-navtop .site-language-switcher img {
    width: 21px !important;
  }
}

@media (max-width: 360px) {
  .group-navtop__inner {
    padding-inline: 10px;
  }

  .group-navtop__logo-pd {
    height: 34px;
  }

  .group-navtop__logo-pmg {
    height: 38px;
  }

  .group-navtop__divider {
    height: 34px;
  }

  .group-navtop .site-language-switcher img {
    width: 19px !important;
  }
}
