/* Shared site header — kept identical across every page. */
.topbar {
  position: relative;
  z-index: 60;
  min-height: 38px;
  display: flex;
  align-items: center;
  background: #050505;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.topbar__inner {
  width: 100%;
  max-width: 1920px;
  min-height: 38px;
  margin: 0 auto;
  padding: 0 clamp(36px, 7vw, 136px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.topbar__rating,
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.topbar__address { color: #fff; white-space: nowrap; }
.topbar__contact { justify-self: end; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .stars { color: #f4c400; letter-spacing: .02em; }

.header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dedede;
  color: #050505;
}

.header__inner {
  width: 100%;
  max-width: 1920px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0 clamp(36px, 7vw, 136px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(245px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: clamp(205px, 15vw, 250px);
}

.brand img { display: block; width: 100%; height: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.6vw, 48px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav > a,
.nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #050505;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav > a::after,
.nav-dropdown > summary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s ease;
}

.nav > a:hover::after,
.nav > a:focus-visible::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown > summary:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav .nav-dropdown {
  position: relative;
  margin: 0;
  padding: 0;
  counter-increment: none;
  border: 0;
  background: transparent;
  transition: none;
}
.nav .nav-dropdown:hover,
.nav .nav-dropdown[open],
.nav .nav-dropdown:first-child { border: 0; background: transparent; }
.nav-dropdown > summary {
  gap: 10px;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::before {
  content: "";
  width: 9px;
  height: 6px;
  margin-left: 2px;
  background: currentColor;
  clip-path: polygon(0 8%, 50% 68%, 100% 8%, 100% 38%, 50% 98%, 0 38%);
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform .22s ease;
  order: 2;
}
.nav-dropdown[open] > summary::before { transform: rotate(180deg); }
.nav-dropdown > summary::after { content: none; }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 90;
  width: min(360px, 82vw);
  padding: 10px;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.nav-dropdown:not([open]) .nav-dropdown__menu { display: none; }
@media (hover: hover) and (min-width: 981px) {
  .nav-dropdown:hover > .nav-dropdown__menu,
  .nav-dropdown:focus-within > .nav-dropdown__menu {
    display: block;
  }
}
.nav-dropdown__menu a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e2e2;
  color: #050505;
  text-decoration: none;
  line-height: 1.35;
  transition: padding-left .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.nav-dropdown__menu a:last-child { border-bottom: 0; }
.nav-dropdown__menu a::after { content: none !important; display: none !important; }
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  padding-left: 20px;
  background: #f1f1ef;
  color: #050505;
  box-shadow: inset 2px 0 #050505;
}
.nav-dropdown__menu a[aria-current="page"] {
  padding-left: 20px;
  background: #f1f1ef;
  color: #050505;
  box-shadow: inset 2px 0 #050505;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2vw, 36px);
}

.social-link {
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.header .button {
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  border: 1px solid #050505;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.header .button::after { content: "↗"; margin-left: 14px; font-size: 15px; }
.header .button:hover,
.header .button:focus-visible { background: #fff; color: #050505; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid #050505;
  background: #fff;
  color: #050505;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

@media (max-width: 1260px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 28px; }
  .brand { width: 205px; }
  .nav { gap: 22px; }
  .social-link { display: none; }
}

@media (max-width: 980px) {
  .topbar__inner { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .topbar__address { display: none; }
  .header__inner { min-height: 82px; padding-inline: 24px; }
  .brand { width: 190px; }
  .menu-toggle { display: grid; }
  .header__actions { gap: 12px; }
  .header .button { min-height: 46px; padding-inline: 18px; }
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 80;
    display: none;
    align-items: stretch;
    padding: 20px 24px 28px;
    background: #fff;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
  }
  .nav.is-open { display: flex; flex-direction: column; gap: 0; }
  .nav > a,
  .nav-dropdown > summary { min-height: 48px; width: 100%; border-bottom: 1px solid #e5e5e5; }
  .nav-dropdown__menu {
    position: static;
    width: 100%;
    padding: 4px 0 10px 14px;
    border: 0;
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 620px) {
  .topbar { min-height: 34px; font-size: 9px; }
  .topbar__inner { min-height: 34px; padding-inline: 16px; }
  .topbar__contact span { display: none; }
  .topbar__rating { gap: 7px; }
  .header__inner { min-height: 72px; padding-inline: 16px; gap: 14px; }
  .brand { width: 155px; }
  .header .button { display: none; }
  .nav { padding-inline: 16px; }
}
