.header-10 {
  position: relative;
  z-index: 80;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(29, 31, 36, 0.05);
}

.header-10__inner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 132px;
}

.header-10__brand,
.header-10__cta,
.header-10__link,
.header-10__caret,
.header-10__cta-icon {
  display: inline-flex;
  align-items: center;
}

.header-10__brand img {
  display: block;
  width: min(100%, 260px);
}

.header-10__nav {
  justify-self: center;
  width: 100%;
}

.header-10__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-10__item {
  position: relative;
}

.header-10__link {
  gap: 10px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--site10-text);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.header-10__item.is-active > .header-10__link,
.header-10__link:hover,
.header-10__item.is-open > .header-10__link {
  color: var(--site10-gold-deep);
}

.header-10__caret svg {
  width: 14px;
  height: 14px;
}

.header-10__submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(29, 31, 36, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.header-10__submenu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #31343b;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.header-10__submenu-link:hover {
  background: #fff6e5;
  color: var(--site10-gold-deep);
}

.header-10__item--has-children.is-open > .header-10__submenu,
.header-10__item--has-children:focus-within > .header-10__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header-10__item--has-children.is-open .header-10__caret {
  transform: rotate(180deg);
}

.header-10__cta {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--site10-gold);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-10__cta-icon svg {
  width: 24px;
  height: 24px;
}

.header-10__toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.header-10__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--site10-text);
}

@media (max-width: 1100px) {
  .header-10__inner {
    grid-template-columns: minmax(160px, 1fr) 1fr auto;
    gap: 16px;
  }

  .header-10__brand img {
    width: min(100%, 220px);
  }
}

@media (max-width: 980px) {
  .header-10__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: auto;
    padding: 18px 0;
  }

  .header-10__toggle {
    display: block;
  }

  .header-10__nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header-10__menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
    padding: 18px;
    border-radius: 18px;
    background: var(--site10-cream);
  }

  .header-10__menu.is-open {
    display: flex;
  }

  .header-10__link {
    width: 100%;
    justify-content: space-between;
  }

  .header-10__item--call {
    margin-top: 4px;
  }

  .header-10__submenu {
    position: static;
    top: auto;
    left: auto;
    display: none;
    min-width: 0;
    padding: 8px 0 0 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .header-10__item--has-children.is-open > .header-10__submenu {
    display: flex;
  }

  .header-10__cta {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 12px;
    justify-content: center;
  }

  .header-10__cta-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  .header-10__brand img {
    width: min(100%, 180px);
  }
}
