:root {
  --site-shell-black: #0a0a0a;
  --site-shell-deep: #0d0f14;
  --site-shell-gold: #c9a84c;
  --site-shell-fog: #aeb0b7;
  --site-shell-bone: #e8e4dc;
  --site-shell-white: #f5f2eb;
  --site-shell-header-height: 74px;
}

.site-shell-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 12050;
  padding: 10px 14px;
  color: var(--site-shell-black);
  background: var(--site-shell-gold);
  font: 600 13px/1.2 Raleway, Arial, sans-serif;
  transform: translateY(-160%);
}

.site-shell-skip-link:focus { transform: translateY(0); }

.site-shell-header,
.site-shell-header * { box-sizing: border-box; }

.site-shell-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 12000;
  height: var(--site-shell-header-height);
  color: var(--site-shell-bone);
  background: linear-gradient(180deg, rgba(6, 7, 9, .96), rgba(8, 9, 12, .88));
  border-bottom: 1px solid rgba(201, 168, 76, .18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-shell-header.is-scrolled {
  background: rgba(6, 7, 9, .97);
  border-bottom-color: rgba(201, 168, 76, .28);
}

/* На первом экране главной сохраняем исходный прозрачный градиент:
   панорама остаётся видимой под навигацией, а после прокрутки фон
   становится плотнее для читаемости. Внутренние страницы не затронуты. */
.site-shell-home .site-shell-header:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(10, 10, 10, .70) 0%, rgba(10, 10, 10, 0) 100%);
  border-bottom-color: rgba(201, 168, 76, .08);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-shell-home .site-shell-header.is-scrolled {
  background: rgba(10, 10, 10, .85);
  border-bottom-color: rgba(201, 168, 76, .08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-shell-header__inner {
  width: min(100%, 1600px);
  height: 100%;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-shell-logo {
  flex: 0 0 auto;
  color: var(--site-shell-white);
  font: 400 20px/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 5px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-shell-logo__accent { color: var(--site-shell-gold); }

.site-shell-desktop-nav {
  min-width: 0;
  margin-left: auto;
}

.site-shell-desktop-nav__list,
.site-shell-dropdown,
.site-shell-mobile-nav,
.site-shell-mobile-subnav,
.site-shell-footer__links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-shell-desktop-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 25px);
}

.site-shell-desktop-nav__item { position: relative; }

.site-shell-desktop-nav__cluster {
  display: flex;
  align-items: center;
}

.site-shell-desktop-nav__link,
.site-shell-desktop-nav__section,
.site-shell-desktop-nav__toggle {
  border: 0;
  color: var(--site-shell-bone);
  background: none;
  font: 500 10.5px/1.25 Raleway, Arial, sans-serif;
  letter-spacing: 1.25px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-shell-desktop-nav__link,
.site-shell-desktop-nav__section { padding: 27px 0 25px; }
.site-shell-desktop-nav__section { cursor: pointer; }
.site-shell-desktop-nav__toggle {
  width: 26px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.site-shell-desktop-nav__link:hover,
.site-shell-desktop-nav__link:focus-visible,
.site-shell-desktop-nav__section:hover,
.site-shell-desktop-nav__section:focus-visible,
.site-shell-desktop-nav__toggle:hover,
.site-shell-desktop-nav__toggle:focus-visible,
.site-shell-desktop-nav__link[aria-current="page"] { color: var(--site-shell-gold); }

.site-shell-desktop-nav__toggle::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.site-shell-desktop-nav__toggle[aria-expanded="true"]::before,
.site-shell-desktop-nav__section[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(225deg);
}

.site-shell-desktop-nav__section::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.site-shell-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: max-content;
  min-width: 245px;
  max-width: 340px;
  padding: 10px 0;
  border: 1px solid rgba(201, 168, 76, .24);
  border-radius: 4px;
  background: rgba(7, 8, 10, .985);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.site-shell-desktop-nav__item:hover > .site-shell-dropdown,
.site-shell-desktop-nav__item:focus-within > .site-shell-dropdown,
.site-shell-dropdown[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-shell-dropdown a {
  display: block;
  padding: 10px 19px;
  color: rgba(232, 228, 220, .82);
  font: 500 11px/1.45 Raleway, Arial, sans-serif;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-shell-dropdown a:hover,
.site-shell-dropdown a:focus-visible,
.site-shell-dropdown a[aria-current="page"],
.site-shell-dropdown__highlight a { color: var(--site-shell-gold); }

.site-shell-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.site-shell-phone {
  color: var(--site-shell-white);
  font: 500 14px/1 Inter, Arial, sans-serif;
  letter-spacing: .4px;
  text-decoration: none;
  white-space: nowrap;
}

.site-shell-contact-button,
.site-shell-phone-icon,
.site-shell-menu-button,
.site-shell-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.site-shell-contact-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--site-shell-black);
  background: var(--site-shell-gold);
}

.site-shell-contact-button svg,
.site-shell-phone-icon svg { width: 19px; height: 19px; }

.site-shell-mobile-actions { display: none; margin-left: auto; align-items: center; gap: 12px; }
.site-shell-phone-icon { width: 42px; height: 42px; color: var(--site-shell-white); background: transparent; }
.site-shell-menu-button { width: 44px; height: 44px; padding: 10px 8px; flex-direction: column; gap: 6px; background: transparent; }
.site-shell-menu-button span { width: 27px; height: 1px; background: var(--site-shell-white); transition: transform .2s, opacity .2s; }
.site-shell-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-shell-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-shell-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-shell-mobile-menu[hidden] { display: none !important; }
.site-shell-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 12020;
  min-height: 100dvh;
  overflow-y: auto;
  padding: 78px 24px 30px;
  color: var(--site-shell-bone);
  background: rgba(6, 7, 9, .995);
}

.site-shell-mobile-close {
  position: absolute;
  top: 15px;
  right: 21px;
  width: 46px;
  height: 46px;
  color: var(--site-shell-white);
  background: transparent;
  font-size: 25px;
}

.site-shell-mobile-menu__inner { width: min(100%, 620px); margin: 0 auto; }
.site-shell-mobile-nav__item { border-bottom: 1px solid rgba(201, 168, 76, .18); }
.site-shell-mobile-nav__item:first-child { border-top: 1px solid rgba(201, 168, 76, .18); }
.site-shell-mobile-nav__link,
.site-shell-mobile-nav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border: 0;
  color: var(--site-shell-white);
  background: transparent;
  font: 500 13px/1.35 Raleway, Arial, sans-serif;
  letter-spacing: 2.5px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-shell-mobile-nav__link:hover,
.site-shell-mobile-nav__link:focus-visible,
.site-shell-mobile-nav__toggle:hover,
.site-shell-mobile-nav__toggle:focus-visible,
.site-shell-mobile-nav__toggle[aria-expanded="true"],
.site-shell-mobile-nav__link[aria-current="page"] { color: var(--site-shell-gold); }

.site-shell-mobile-nav__toggle::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: 14px;
  font-size: 18px;
  font-weight: 300;
}
.site-shell-mobile-nav__toggle[aria-expanded="true"]::after { content: "−"; }
.site-shell-mobile-subnav[hidden] { display: none !important; }
.site-shell-mobile-subnav { padding: 0 0 13px 16px; }
.site-shell-mobile-subnav a {
  display: block;
  padding: 9px 0;
  color: rgba(232, 228, 220, .78);
  font: 500 11.5px/1.45 Raleway, Arial, sans-serif;
  letter-spacing: 1.45px;
  text-decoration: none;
  text-transform: uppercase;
}
.site-shell-mobile-subnav a:hover,
.site-shell-mobile-subnav a:focus-visible,
.site-shell-mobile-subnav a[aria-current="page"],
.site-shell-mobile-subnav__highlight a { color: var(--site-shell-gold); }

.site-shell-mobile-menu__contact {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  text-align: center;
}
.site-shell-mobile-menu__phone { color: var(--site-shell-gold); font: 500 17px/1.3 Inter, Arial, sans-serif; text-decoration: none; }
.site-shell-mobile-menu__contacts { color: var(--site-shell-fog); font: 500 12px/1.4 Raleway, Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }

.site-shell-footer,
.site-shell-footer * { box-sizing: border-box; }
.site-shell-footer {
  padding: 62px 0 38px;
  color: var(--site-shell-bone);
  background: var(--site-shell-black);
  border-top: 1px solid rgba(201, 168, 76, .13);
}
.site-shell-footer__inner { width: min(100% - 48px, 1440px); margin: 0 auto; }
.site-shell-footer__grid { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(6, minmax(112px, 1fr)); gap: 26px; }
.site-shell-footer__brand { color: var(--site-shell-white); font: 400 24px/1.2 "Cormorant Garamond", Georgia, serif; letter-spacing: 5px; text-transform: uppercase; }
.site-shell-footer__tagline { max-width: 310px; margin: 16px 0 0; color: var(--site-shell-fog); font: 400 15px/1.7 "EB Garamond", Georgia, serif; }
.site-shell-footer__heading { margin: 0 0 18px; color: var(--site-shell-gold); font: 600 10px/1.3 Raleway, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.site-shell-footer__links li { margin: 0 0 11px; }
.site-shell-footer__links a { color: var(--site-shell-fog); font: 400 13px/1.45 Raleway, Arial, sans-serif; text-decoration: none; }
.site-shell-footer__links a:hover,
.site-shell-footer__links a:focus-visible { color: var(--site-shell-white); }
.site-shell-footer__bottom { margin-top: 52px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.07); color: var(--site-shell-fog); font: 400 12px/1.7 Raleway, Arial, sans-serif; }
.site-shell-footer__legal-links { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 5px; }
.site-shell-footer__legal-links a { color: inherit; text-decoration: none; }
.site-shell-footer__legal-links a:hover,
.site-shell-footer__legal-links a:focus-visible { color: var(--site-shell-white); }

.site-shell-header :focus-visible,
.site-shell-footer :focus-visible,
.site-shell-skip-link:focus-visible { outline: 2px solid var(--site-shell-gold); outline-offset: 3px; }

body.site-shell-mobile-open { overflow: hidden !important; }

@media (max-width: 1319px) {
  .site-shell-desktop-nav,
  .site-shell-header__actions { display: none; }
  .site-shell-mobile-actions { display: flex; }
  .site-shell-header__inner { padding: 0 22px; }
}

@media (max-width: 1180px) {
  .site-shell-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-shell-logo { font-size: 17px; letter-spacing: 3.5px; }
  .site-shell-header__inner { padding: 0 14px 0 20px; gap: 10px; }
  .site-shell-phone-icon { width: 38px; }
  .site-shell-footer__inner { width: min(100% - 40px, 1440px); }
  .site-shell-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .site-shell-footer__bottom { margin-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell-header *,
  .site-shell-mobile-menu * { transition-duration: .01ms !important; }
}
