@font-face {
  font-family: "Druk Cyr";
  src: url('/local/templates/samovar/assets/fonts/DrukCyr-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Brand marks and the Mekenzi image viewer
   Keep each logo on its own optical scale; the source files have very
   different aspect ratios and must never inherit a shared fluid width. */
.index-page :is(
  .samovar-main__logo,
  .mekenzi-main__logo,
  .lunamarket-main__logo,
  .alphaprom-main__logo
) {
  flex: 0 0 auto;
  height: auto;
  max-width: 100%;
  max-height: none;
}
.index-page :is(
  .samovar-main__logo,
  .mekenzi-main__logo,
  .lunamarket-main__logo,
  .alphaprom-main__logo
) img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.index-page #samovar .samovar-main__logo { width: 174px; }
.index-page #mekenzi .mekenzi-main__logo { width: 176px; }
.index-page #lunamarket .lunamarket-main__logo { width: 184px; }
.index-page #alphaprom .alphaprom-main__logo { width: 176px; }

/* The light editorial panels need dark wordmarks. Restore the two coloured
   brand symbols as clipped overlays instead of stretching or recolouring them. */
.index-page #lunamarket .lunamarket-main__logo,
.index-page #alphaprom .alphaprom-main__logo {
  position: relative;
}
.index-page #lunamarket .lunamarket-main__logo::after,
.index-page #alphaprom .alphaprom-main__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.index-page #lunamarket .lunamarket-main__logo::after {
  background-image: url('/local/templates/samovar/assets/img/logo-lunamarket.png');
  clip-path: inset(0 55.4% 0 0);
}
.index-page #alphaprom .alphaprom-main__logo::after {
  background-image: url('/local/templates/samovar/assets/img/logo-alphaprom.png');
  clip-path: inset(0 75.3% 0 0);
}

/* Progressive enhancement: without JavaScript the original ten-image mosaic
   remains intact; once enhanced it becomes a controlled gallery. */
.index-page #mekenzi .mekenzi-gallery__stage,
.index-page #mekenzi .mekenzi-gallery__thumb {
  appearance: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-color: #c7cac4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.index-page #mekenzi .mekenzi-gallery__stage {
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(17,22,25,.08);
}
.index-page #mekenzi .mekenzi-gallery__stage::before {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  z-index: 0;
  background: linear-gradient(180deg,transparent,rgba(6,10,12,.58));
  pointer-events: none;
}
.index-page #mekenzi .mekenzi-gallery__stage-ui {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-family: "Vela Sans",Verdana,sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}
.index-page #mekenzi .mekenzi-gallery__stage-action,
.index-page #mekenzi .mekenzi-gallery__stage-count {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(9,14,17,.46);
  backdrop-filter: blur(10px);
}
.index-page #mekenzi .mekenzi-gallery__stage-action::after {
  content: "+";
  margin-left: 8px;
  font-size: 18px;
  font-weight: 300;
}
.index-page #mekenzi .mekenzi-gallery__thumbs {
  display: grid;
  min-width: 0;
  gap: 10px;
}
.index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb {
  position: relative;
  inset: auto;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  opacity: .68;
  transform: translateZ(0);
  transition:
    opacity .24s ease,
    transform .3s cubic-bezier(.22,1,.36,1),
    box-shadow .24s ease;
}
.index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb.__house6 {
  grid-column: auto;
}
.index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color .24s ease;
}
.index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb[aria-pressed="true"] {
  opacity: 1;
  box-shadow: 0 8px 22px rgba(17,22,25,.2);
}
.index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb[aria-pressed="true"]::after {
  border-color: #20c9e5;
}
.index-page #mekenzi .mekenzi-gallery__stage:focus-visible,
.index-page #mekenzi .mekenzi-gallery__thumb:focus-visible,
.mekenzi-lightbox button:focus-visible {
  outline: 3px solid #20c9e5;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .index-page #mekenzi .mekenzi-gallery__stage:hover {
    box-shadow: inset 0 0 0 1px rgba(17,22,25,.08),0 16px 34px rgba(17,22,25,.18);
  }
  .index-page #mekenzi .mekenzi-gallery__thumbs .mekenzi-gallery__thumb:hover {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.mekenzi-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(6,10,12,.96);
  color: #fff;
}
.mekenzi-lightbox::backdrop { background: rgba(6,10,12,.82); backdrop-filter: blur(10px); }
.mekenzi-lightbox[open] { display: block; }
.mekenzi-lightbox__frame {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 72px;
  grid-template-rows: minmax(0,1fr) auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: max(28px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  gap: 12px;
}
.mekenzi-lightbox__figure {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  min-width: 0;
  min-height: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
}
.mekenzi-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.mekenzi-lightbox__control {
  appearance: none;
  align-self: center;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: Arial,sans-serif;
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  transition: background-color .2s ease,transform .2s ease;
}
.mekenzi-lightbox__prev { grid-column: 1; grid-row: 1; justify-self: center; }
.mekenzi-lightbox__next { grid-column: 3; grid-row: 1; justify-self: center; }
.mekenzi-lightbox__close {
  position: absolute;
  top: max(20px,env(safe-area-inset-top));
  right: max(20px,env(safe-area-inset-right));
  z-index: 3;
}
.mekenzi-lightbox__counter {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  color: rgba(255,255,255,.78);
  font-family: "Vela Sans",Verdana,sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
}
@media (hover: hover) and (pointer: fine) {
  .mekenzi-lightbox__control:hover { background: rgba(255,255,255,.16); transform: scale(1.05); }
}
body.__mekenzi-gallery-open { overflow: hidden; }
.sg-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 1121px) {
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] {
    display: contents;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__stage {
    grid-column: 1 / 10;
    grid-row: 3;
    aspect-ratio: 16 / 9;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__thumbs {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: repeat(10,minmax(0,1fr));
    margin-top: 10px;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-main__link-cooperation {
    grid-column: 1 / 5;
    grid-row: 5;
    margin-top: 26px;
  }
}

@media (max-width: 1120px) {
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-auto-rows: auto;
    gap: 16px;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__thumbs {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(10,minmax(82px,1fr));
    margin: 0;
    padding: 3px 3px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] .mekenzi-gallery__thumbs .mekenzi-gallery__thumb {
    grid-column: auto;
    grid-row: auto;
    width: 82px;
    height: auto;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-main__link-cooperation {
    grid-column: 1;
    grid-row: 3;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .index-page #samovar .samovar-main__logo { width: 164px; }
  .index-page #mekenzi .mekenzi-main__logo { width: 164px; }
  .index-page #lunamarket .lunamarket-main__logo { width: 172px; }
  .index-page #alphaprom .alphaprom-main__logo { width: 164px; }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] {
    grid-template-columns: minmax(0,1fr);
    grid-auto-rows: auto;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__stage {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-gallery__thumbs {
    grid-column: 1;
    grid-row: 2;
  }
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"] > .mekenzi-main__link-cooperation {
    grid-column: 1;
    grid-row: 3;
  }
  .index-page #mekenzi .mekenzi-gallery__stage-ui { right: 12px; bottom: 12px; left: 12px; }
  .index-page #mekenzi .mekenzi-gallery__stage-action,
  .index-page #mekenzi .mekenzi-gallery__stage-count { min-height: 30px; padding: 0 10px; font-size: 11px; }
  .mekenzi-lightbox { height: 100dvh; }
  .mekenzi-lightbox__frame {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0,1fr) 48px auto;
    padding: max(68px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom));
    gap: 12px;
  }
  .mekenzi-lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .mekenzi-lightbox__image { border-radius: 10px; }
  .mekenzi-lightbox__prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .mekenzi-lightbox__next { grid-column: 2; grid-row: 2; justify-self: start; }
  .mekenzi-lightbox__counter { grid-column: 1 / -1; grid-row: 3; }
  .mekenzi-lightbox__control { width: 46px; height: 46px; }
  .mekenzi-lightbox__close { top: max(12px,env(safe-area-inset-top)); right: 12px; }
}

@media (max-width: 360px) {
  .index-page #samovar .samovar-main__logo { width: 152px; }
  .index-page #mekenzi .mekenzi-main__logo { width: 154px; }
  .index-page #lunamarket .lunamarket-main__logo { width: 160px; }
  .index-page #alphaprom .alphaprom-main__logo { width: 152px; }
}

/* Gallery defect guard: generated thumbnails keep thumbnail geometry even
   though their source classes still carry the legacy house1–house10 layout. */
.index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"]
  .mekenzi-gallery__thumbs > .mekenzi-gallery__thumb {
  position: relative;
  inset: auto;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
}

/* The Alphaprom source PNG contains a low-alpha halo. The inline SVG filter
   installed by script.js removes only that halo and keeps the opaque mark. */
.index-page #alphaprom .alphaprom-main__logo img,
.index-page #alphaprom .alphaprom-main__logo::after {
  filter: url('#sg-alphaprom-clean-alpha') !important;
}

@media (min-width: 1121px) {
  .index-page #alphaprom .alphaprom-main__logo img {
    filter: url('#sg-alphaprom-clean-alpha') brightness(0) !important;
  }
}

@media (max-width: 1120px) {
  .index-page #mekenzi .mekenzi-main__cooperation[data-gallery-enhanced="true"]
    .mekenzi-gallery__thumbs > .mekenzi-gallery__thumb {
    width: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page #mekenzi .mekenzi-gallery__stage,
  .index-page #mekenzi .mekenzi-gallery__thumb,
  .mekenzi-lightbox__control,
  .mekenzi-lightbox__image { transition: none !important; animation: none !important; }
}
@font-face {
  font-family: "Vela Sans";
  src: url('/local/templates/samovar/assets/fonts/VelaSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url('/local/templates/samovar/assets/fonts/VelaSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vela Sans";
  src: url('/local/templates/samovar/assets/fonts/VelaSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sg-ink: #0c1115;
  --sg-surface: #171d21;
  --sg-surface-2: #222a2f;
  --sg-paper: #f5f6f3;
  --sg-muted: #aab4b9;
  --sg-cyan: #27cbe8;
  --sg-stone: #c7beb6;
  --sg-violet: #8d39ff;
  --sg-green: #48ca57;
  --sg-line: rgba(255,255,255,.14);
  --sg-line-dark: rgba(12,17,21,.18);
  --sg-control-radius: 14px;
  --sg-media-radius: 20px;
  --sg-panel-radius: 30px;
  --sg-shell: min(1440px, calc(100vw - 96px));
  --sg-display-hero: clamp(72px,6.6vw,108px);
  --sg-display-section: clamp(52px,4.4vw,72px);
  --sg-display-quote: clamp(38px,3.6vw,56px);
}

html { scroll-behavior: smooth; background: var(--sg-ink); }
body.site-page {
  display: flex;
  align-items: stretch;
  background: var(--sg-ink);
  color: var(--sg-paper);
  overflow-x: clip;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body.site-page,
body.site-page > .main,
body.site-page .main__body,
body.site-page .index-page,
body.site-page .index-page__bottom,
body.site-page .all-contacts { max-width: 100vw; }
body.__menuOpen { overflow: hidden; }
.main { width: 100%; max-width: none; min-width: 0; }
.main__body { width: 100%; margin-top: 76px; }
.main__header {
  min-height: 76px;
  background: rgba(12,17,21,.94);
  border-bottom: 1px solid var(--sg-line);
  backdrop-filter: blur(18px);
}
.header {
  flex: 1 1 auto;
  width: var(--sg-shell);
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding: 14px 0;
}
.header__logo { width: 46px; flex: 0 0 46px; }
.header__left { flex: 1 1 auto; width: auto; gap: clamp(24px,3.8vw,68px); }
.header__menu,.header__right,.header__lang-switch { flex: 0 0 auto; width: auto; }
.main-menu { width: auto; gap: clamp(2px,1vw,16px); }
.main-menu__item { flex: 0 0 auto; width: auto; }
.main-menu__link {
  position: relative;
  padding: 10px 8px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .02em;
}
.main-menu__link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 8px;
  height: 1px;
  background: var(--sg-cyan);
  transition: right .25s ease;
}
.main-menu__link:hover { text-decoration: none; }
.main-menu__link:hover::after,.main-menu__link:focus-visible::after { right: 8px; }
.lang-switch {
  position: relative;
  width: 168px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.lang-switch__item {
  width: 100%;
  min-height: 42px;
  padding: 7px 10px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
}
.lang-switch__botton { display: flex; cursor: pointer; }
.lang-switch__botton:focus-visible { outline: 2px solid var(--sg-cyan); outline-offset: 3px; }
.lang-switch__flag {
  flex: 0 0 30px;
  width: 30px;
  height: 22px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.lang-switch__flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lang-switch__name { flex: 1 1 auto; width: auto; font-size: 13px; line-height: 1.2; }
.lang-switch__action {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  transition: transform .18s cubic-bezier(.22,1,.36,1);
}
.lang-switch__botton .lang-switch__action img { width: 10px; height: 10px; opacity: .72; }
.lang-switch.__active .lang-switch__botton .lang-switch__action { transform: rotate(180deg); }
.lang-switch__items {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  padding: 5px;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(17,24,28,.98);
  box-shadow: 0 18px 48px rgba(0,0,0,.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity .18s ease,transform .18s cubic-bezier(.22,1,.36,1),visibility 0s linear .18s;
}
.lang-switch.__active .lang-switch__items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-delay: 0s;
}
.lang-switch__items .lang-switch__item { min-height: 40px; cursor: pointer; }
.lang-switch__items .lang-switch__item:hover { background: rgba(255,255,255,.08); }
.lang-switch__items .lang-switch__action img { width: 15px; height: 15px; }
.header__hamburger { border: 0; background: transparent; color: #fff; }

.index-page,.index-page__tab,.index-page__bottom { display: block; }
.index-page { background: var(--sg-ink); }
.index-page__tab,.index-page__tab > div,.index-page__tab[data-position="fixed"] > div {
  position: relative !important;
  inset: auto !important;
}
.index-page__tab { min-height: 0 !important; scroll-margin-top: 76px; }
.index-page .shared__container {
  width: var(--sg-shell);
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding: 0;
  align-items: stretch;
  gap: clamp(44px,5vw,80px);
  overflow: visible;
}
.index-page .shared__container-left,.index-page .shared__container-right {
  min-width: 0;
  max-width: none;
  overflow: visible;
}

/* Hero */
.index-page #home .group-main {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  isolation: isolate;
  background-color: #10161a;
  background-image:
    linear-gradient(90deg,rgba(8,13,16,.98) 0%,rgba(8,13,16,.89) 42%,rgba(8,13,16,.28) 75%,rgba(8,13,16,.08) 100%),
    var(--sg-hero-image,url('/local/templates/samovar/assets/img/samovar-group-hero-v2.webp'));
  background-position: center,60% center;
  background-size: cover;
  background-repeat: no-repeat;
}
.index-page #home .group-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg,rgba(8,13,16,.92),transparent);
}
.index-page #home .group-main__logotypes { display: none; }
.index-page #home .group-main .shared__container {
  min-height: calc(100svh - 76px);
  padding: 56px 0 118px;
  align-items: flex-start;
  background: none;
}
.index-page #home .shared__container-left {
  z-index: 2;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  padding: 0;
  align-items: flex-start;
  gap: 0;
}
.index-page #home .group-main__logo { width: min(280px,100%); margin-bottom: 24px; }
.index-page #home .group-main__statement { width: 100%; max-width: 1120px; }
.index-page #home .group-main__eyebrow {
  margin-bottom: 16px;
  color: var(--sg-muted);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.index-page #home .group-main__statement h1 {
  margin: 0;
  color: var(--sg-paper);
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  max-width: min(820px,72vw);
  font-size: var(--sg-display-hero);
  font-weight: 500;
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.index-page #home .group-main__menu { width: min(760px,100%); margin-top: 26px; }
.index-page #home .group-menu { flex-flow: row wrap; gap: 10px; }
.index-page #home .group-menu__item { flex: 0 0 auto; width: auto; }
.index-page #home .group-menu__link {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  background: rgba(12,17,21,.64);
  font-family: "Vela Sans",Verdana,sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .01em;
  text-transform: none;
  backdrop-filter: blur(10px);
}
.index-page #home .group-menu__link:hover,.index-page #home .group-menu__link:focus-visible {
  background: var(--sg-cyan);
  color: #071114;
  text-decoration: none;
}
.index-page #home .group-menu > .socials-contacts {
  flex: 0 0 auto;
  width: auto;
  align-self: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 7px;
}
.index-page #home .group-menu > .socials-contacts a {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  aspect-ratio: 1;
  align-self: flex-start;
  padding: 0;
  border: 1px solid var(--sg-line);
  border-radius: 50%;
  background: rgba(12,17,21,.64);
}
.index-page #home .group-menu > .socials-contacts img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}
.index-page #home .group-main .shared__container-right {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  width: 100%;
  min-height: 0;
  gap: 0;
  background: none;
}
.index-page #home .group-main__link,.index-page #home .group-main__link:hover {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: auto 48px 1fr;
  align-items: center;
  width: auto;
  height: 88px;
  padding: 14px clamp(18px,3vw,46px);
  border-top: 1px solid var(--sg-line);
  border-right: 1px solid var(--sg-line);
  background: rgba(12,17,21,.82);
  backdrop-filter: blur(12px);
  transform: none;
}
.index-page #home .group-main__link:last-child { border-right: 0; }
.index-page #home .group-main__link:hover,.index-page #home .group-main__link:focus-visible {
  background: rgba(39,203,232,.2);
  text-decoration: none;
}
.index-page #home .group-main__link img {
  width: auto;
  height: auto;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}
.index-page #home .group-main__link span {
  font-family: "Vela Sans",Verdana,sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .02em;
}
.index-page #home .group-main__link .group-main__link-index {
  align-self: start;
  margin-top: 2px;
  color: var(--sg-cyan);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
}

/* Company sections */
.index-page__tab:not(#home) { position: relative; }
.index-page__route {
  position: absolute;
  top: 18px;
  right: max(48px,calc((100vw - 1440px)/2));
  left: max(48px,calc((100vw - 1440px)/2));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.index-page .index-page__tab > .index-page__route {
  position: absolute !important;
  top: 18px !important;
  right: max(48px,calc((100vw - 1440px)/2)) !important;
  left: max(48px,calc((100vw - 1440px)/2)) !important;
}
.index-page__route span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: var(--sg-ink);
  color: var(--sg-cyan);
  font-family: "Vela Sans",Verdana,sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .06em;
}
.index-page__route i { flex: 1; height: 1px; background: rgba(39,203,232,.28); }
.index-page #mekenzi .index-page__route span {
  border-color: rgba(12,17,21,.22);
  background: var(--sg-stone);
  color: #0c1115;
}
.index-page #mekenzi .index-page__route i { background: rgba(12,17,21,.2); }
.index-page #samovar .samovar-main,.index-page #mekenzi .mekenzi-main,
.index-page #lunamarket .lunamarket-main,.index-page #alphaprom .alphaprom-main {
  min-height: 0;
  margin-top: 0;
  padding: clamp(88px,8vw,128px) 0;
  overflow: visible;
  border-radius: 0;
}
.index-page #samovar .samovar-main { background: #20272b; }
.index-page #mekenzi .mekenzi-main { background: var(--sg-stone); color: #151719; }
.index-page #lunamarket .lunamarket-main {
  background-image:
    linear-gradient(90deg,rgba(19,18,37,.9),rgba(28,20,59,.7)),
    url('/local/components/lunamarket/main/templates/.default/assets/img/StarField.png'),
    radial-gradient(circle at 82% 35%,#4b2484,#211945 35%,#151721 72%);
}
.index-page #alphaprom .alphaprom-main {
  background-color: #102a2b;
  background-image:
    linear-gradient(110deg,rgba(16,42,43,.98),rgba(16,42,43,.82) 58%,rgba(16,42,43,.7)),
    url('/local/components/alphaprom/main/templates/.default/assets/img/background.svg');
  background-position: center,calc(100% + 90px) 42%;
  background-size: cover,min(44vw,620px) auto;
  background-repeat: no-repeat;
}
.index-page :is(.samovar-main,.mekenzi-main,.lunamarket-main,.alphaprom-main) .shared__container-left {
  flex: 1 1 0;
  align-self: stretch;
}
.index-page :is(
  .samovar-main__logo,.mekenzi-main__logo,.lunamarket-main__logo,.alphaprom-main__logo,
  .samovar-main__title,.mekenzi-main__title,.lunamarket-main__title,
  .samovar-main__title2,.mekenzi-main__title2,.lunamarket-main__title2,.alphaprom-main__title,
  .samovar-main__title3,.lunamarket-main__title3,.alphaprom-main__title2
) { margin-left: 0; }
.index-page .shared__title-sm {
  max-width: 46ch;
  color: #c7d0d4;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.index-page #mekenzi .shared__title-sm { color: #303437; }
.index-page #mekenzi .mekenzi-main__logo img { filter: brightness(0); }
.index-page .shared__title-lg {
  max-width: 11ch;
  margin-block-start: 0;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: var(--sg-display-section);
  font-weight: 500;
  line-height: .9;
  letter-spacing: 0;
  text-wrap: balance;
}
.index-page .shared__title-md {
  max-width: 54ch;
  margin-block-start: 0;
  color: #c7d0d4;
  font-family: "Vela Sans","Verdana",sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
.index-page #mekenzi .shared__title-md { color: #303437; }
.index-page .shared__slogan {
  max-width: 16ch;
  margin: 0;
  color: var(--sg-paper);
  background: none !important;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  white-space: normal;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: var(--sg-display-quote);
  font-weight: 500;
  line-height: .94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.index-page .shared__external-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  flex: 0 0 auto;
  align-self: flex-start;
  width: 280px;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  height: auto;
  justify-content: space-between;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: "Vela Sans",Verdana,sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: none;
  white-space: normal;
  transition:
    transform .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s cubic-bezier(.22,1,.36,1),
    border-color .28s cubic-bezier(.22,1,.36,1);
}
.index-page .shared__external-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg,transparent 28%,rgba(255,255,255,.25) 50%,transparent 72%);
  opacity: .9;
  transform: translateX(-112%);
  transition: transform .58s cubic-bezier(.22,1,.36,1);
}
.index-page .shared__external-link > span {
  position: relative;
  z-index: 1;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.index-page .shared__external-link::after {
  position: relative;
  z-index: 1;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 18px;
  background-size: contain;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.index-page :is(.samovar-main__logo,.mekenzi-main__logo,.lunamarket-main__logo,.alphaprom-main__logo) {
  margin-bottom: 38px;
}
.index-page :is(.samovar-main__logo,.mekenzi-main__logo,.lunamarket-main__logo,.alphaprom-main__logo) img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.index-page :is(.samovar-main__title,.mekenzi-main__title,.lunamarket-main__title) { margin-bottom: 16px; }
.index-page :is(.samovar-main__title2,.mekenzi-main__title2,.lunamarket-main__title2,.alphaprom-main__title) {
  margin-bottom: 28px;
}
.index-page :is(.samovar-main__title3,.lunamarket-main__title3,.alphaprom-main__title2) { margin-bottom: 38px; }
.index-page :is(.samovar-main__cooperation,.lunamarket-main__supply,.alphaprom-main__cooperation) {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: flex-start;
}
.index-page .embed-video { width: 100%; }
.index-page .embed-video__container {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 20px;
  background-size: cover;
}
.index-page .embed-video__video video { object-fit: cover; }
.index-page .embed-video__control { width: 64px; height: auto; }

.index-page #samovar .samovar-main__video { margin: 0; }
.index-page #samovar .samovar-main__cooperation { margin-top: 6px; }

.index-page #mekenzi .mekenzi-main__cooperation {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 132px;
  width: 100%;
  min-height: 0;
  gap: 12px;
  padding: 0;
  align-items: stretch;
  overflow: visible;
}
.index-page #mekenzi .mekenzi-main__house {
  position: relative;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  border-radius: var(--sg-control-radius);
  background-position: center;
  background-size: cover;
}
.index-page #mekenzi .mekenzi-main__house.__house1 {
  grid-column: span 2;
  grid-row: span 2;
}
.index-page #mekenzi .mekenzi-main__house.__house6 { grid-column: span 2; }
.index-page #mekenzi .mekenzi-main__link-cooperation {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  grid-column: 1/-1;
  justify-self: start;
  margin-top: 14px;
  background: #171d21;
  color: #fff;
}
.index-page #mekenzi .mekenzi-main__video { margin-bottom: 34px; }
.index-page #mekenzi .mekenzi-main__slogan {
  max-width: 30ch;
  padding: 1px 0 1px 20px;
  border-left: 2px solid rgba(23,23,25,.34);
  color: #303437;
  font-family: "Vela Sans Medium","Vela Sans",Verdana,sans-serif;
  font-size: clamp(20px,1.5vw,25px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -.012em;
  text-transform: none;
  text-wrap: pretty;
}

@media (min-width: 1121px) {
  .index-page #mekenzi .mekenzi-main .shared__container {
    display: grid;
    grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: clamp(52px,6vw,92px);
    row-gap: 0;
    align-items: start;
  }
  .index-page #mekenzi .mekenzi-main .shared__container > .shared__container-left {
    display: contents;
  }
  .index-page #mekenzi .mekenzi-main__logo {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    width: min(360px,100%);
    margin: 0 0 42px;
  }
  .index-page #mekenzi .mekenzi-main__title {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 18px;
  }
  .index-page #mekenzi .mekenzi-main__title2 {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin: 0 0 42px;
    font-size: clamp(46px,3.25vw,58px);
    line-height: .91;
    text-wrap: normal;
  }
  .index-page #mekenzi .mekenzi-main__video {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: stretch;
    margin: 0;
  }
  .index-page #mekenzi .mekenzi-main__video .embed-video,
  .index-page #mekenzi .mekenzi-main__video .embed-video__container {
    height: 100%;
    min-height: 460px;
  }
  .index-page #mekenzi .mekenzi-main__video .embed-video__container {
    aspect-ratio: auto;
    border-radius: var(--sg-media-radius);
  }
  .index-page #mekenzi .mekenzi-main__slogan {
    grid-column: 1;
    grid-row: 4;
    align-self: end;
    width: 100%;
    max-width: 30ch;
    margin: 0;
  }
  .index-page #mekenzi .mekenzi-main__cooperation {
    grid-column: 1 / -1;
    grid-row: 5;
    grid-template-columns: repeat(5,minmax(0,1fr));
    grid-template-rows: repeat(3,clamp(150px,12vw,184px)) auto;
    grid-auto-rows: auto;
    margin-top: clamp(64px,7vw,96px);
    gap: 14px;
  }
  .index-page #mekenzi .mekenzi-main__house {
    grid-column: auto;
    grid-row: auto;
    overflow: hidden;
  }
  .index-page #mekenzi .mekenzi-main__house.__house1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .index-page #mekenzi .mekenzi-main__house.__house2 { grid-column: 3; grid-row: 1; }
  .index-page #mekenzi .mekenzi-main__house.__house3 { grid-column: 4; grid-row: 1; }
  .index-page #mekenzi .mekenzi-main__house.__house4 { grid-column: 5; grid-row: 1; }
  .index-page #mekenzi .mekenzi-main__house.__house5 { grid-column: 3; grid-row: 2; }
  .index-page #mekenzi .mekenzi-main__house.__house6 { grid-column: 4 / span 2; grid-row: 2; }
  .index-page #mekenzi .mekenzi-main__house.__house7 { grid-column: 1; grid-row: 3; }
  .index-page #mekenzi .mekenzi-main__house.__house8 { grid-column: 2; grid-row: 3; }
  .index-page #mekenzi .mekenzi-main__house.__house9 { grid-column: 3 / span 2; grid-row: 3; }
  .index-page #mekenzi .mekenzi-main__house.__house10 { grid-column: 5; grid-row: 3; }
  .index-page #mekenzi .mekenzi-main__link-cooperation {
    grid-row: 4;
    margin-top: 18px;
  }
}

.index-page #lunamarket .lunamarket-main__luna {
  right: -170px;
  bottom: -430px;
  left: auto;
  opacity: .28;
}
.index-page #lunamarket .lunamarket-main { overflow: hidden; }
.index-page #lunamarket .lunamarket-main__video,
.index-page #lunamarket .lunamarket-main__slogan { position: relative; z-index: 2; }
.index-page #lunamarket .lunamarket-main__video { margin-bottom: 34px; }
.index-page #lunamarket .lunamarket-main__slogan {
  color: #f6f1ff;
  text-shadow: 0 2px 18px rgba(15,8,31,.64);
}
.index-page #lunamarket .shared__external-link { background: #7f22e8; }

.index-page #alphaprom .alphaprom-main .shared__container {
  background-position: calc(100% + 60px) calc(100% + 130px);
  background-size: min(46vw,640px);
}
.index-page #alphaprom .alphaprom-main__slogan {
  color: #bbffd7;
  text-shadow: 0 2px 18px rgba(5,21,18,.68);
}

/* Compact contacts module */
.index-page__bottom { position: relative; z-index: 2; scroll-margin-top: 76px; }
.index-page__bottom .all-contacts {
  margin: 0;
  padding: 72px 0 0;
  border-radius: 0;
  background: #e9eceb;
  color: #101517;
}
.index-page__bottom .all-contacts .shared__container {
  width: var(--sg-shell);
  margin: 0 auto;
  padding-bottom: 54px;
  gap: 52px;
  border-bottom: 1px solid var(--sg-line-dark);
}
.index-page__bottom .all-contacts .shared__container-left { flex: 1.65 1 0; }
.index-page__bottom .all-contacts .shared__container-right { flex: .65 1 0; }
.index-page__bottom .all-contacts__header {
  max-width: none;
  padding-bottom: 24px;
  border-color: var(--sg-line-dark);
}
.index-page__bottom :is(.all-contacts__header-logo,.all-contacts__item-logo) img,
.index-page__bottom .socials-contacts__link img { filter: brightness(0); }
.index-page__bottom .all-contacts__header-logo img {
  display: block;
  width: min(100%,260px);
  height: auto;
  max-height: none;
  object-fit: contain;
}
.index-page__bottom .all-contacts__items {
  grid-template-columns: repeat(4,minmax(0,1fr));
  max-width: none;
  margin: 30px 0 0;
  gap: 14px;
}
.index-page__bottom .all-contacts__item {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--sg-line-dark);
  border-radius: 16px;
  background: rgba(255,255,255,.28);
}
.index-page__bottom .item-contacts { gap: 9px; }
.index-page__bottom .item-contacts__website a { gap: 10px; font-size: 16px; }
.index-page__bottom .item-contacts__email a {
  gap: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.index-page__bottom a { color: #101517; }
.index-page__bottom .item-contacts .socials-contacts {
  flex: 0 0 auto;
  width: auto;
  align-self: flex-start;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
}
.index-page__bottom .item-contacts .socials-contacts__link {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  aspect-ratio: 1;
  align-self: flex-start;
  padding: 0;
  border: 1px solid var(--sg-line-dark);
  border-radius: 50%;
  opacity: .72;
}
.index-page__bottom .item-contacts .socials-contacts__link:hover { opacity: 1; }
.index-page__bottom .item-contacts .socials-contacts__link img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 21px;
  max-height: 21px;
  object-fit: contain;
}
.index-page__bottom .ceo-contacts { width: min(100%,300px); padding: 0; }
.index-page__bottom .ceo-contacts__image > span { width: 180px; height: 180px; }
.index-page__bottom .ceo-contacts__name { font-size: 42px; line-height: .96; text-align: center; }
.index-page__bottom .ceo-contacts__position { margin: 12px 0 20px; font-size: 12px; }
.index-page__bottom .ceo-contacts__links { width: 100%; }
.index-page__bottom .ceo-contacts__link {
  min-height: 40px;
  border: 1px solid var(--sg-line-dark);
  background: transparent;
  color: #101517;
  font-size: 11px;
  border-radius: 999px;
}
.index-page__bottom .ceo-contacts__link:hover,.index-page__bottom .ceo-contacts__link:focus-visible {
  background: #101517;
  color: #fff;
}
.index-page__bottom .main__footer {
  width: 100%;
  max-width: 100%;
  padding: 20px max(48px,calc((100vw - 1440px)/2)) 28px;
}
.index-page__bottom .main__footer-items { width: 100%; justify-content: space-between; }
.index-page__bottom .main__footer-item {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  font-size: 12px;
}

/* Inner pages */
body:not(.site-page--home) { background: #11171b; }
body:not(.site-page--home) .main__body { min-height: calc(100svh - 76px); }
body:not(.site-page--home) .shared__page {
  width: var(--sg-shell);
  max-width: none;
  margin: 0 auto;
  padding: 82px 0 96px;
}
body:not(.site-page--home) .shared__page > .shared__title-lg {
  margin-bottom: 46px;
  color: var(--sg-paper);
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: clamp(58px,6vw,96px);
  line-height: .88;
}
body:not(.site-page--home) .shared__page > .shared__title-lg img {
  display: block;
  max-width: min(520px,70vw);
  height: auto;
  filter: none;
}
body:not(.site-page--home) .shared__page > .shared__container {
  width: 100%;
  overflow: visible;
}
body:not(.site-page--home) .shared-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  width: 100%;
  margin: 0;
  gap: 18px;
}
body:not(.site-page--home) .shared-gallery a {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--sg-surface);
}
body:not(.site-page--home) .shared-gallery a:nth-child(3n+1) { grid-column: span 2; }
body:not(.site-page--home) .shared-gallery img {
  display: block;
  width: 100%;
  height: min(56vw,680px);
  object-fit: cover;
}
body:not(.site-page--home) .shared-gallery a:not(:nth-child(3n+1)) img { height: min(32vw,420px); }
.sg-development-page {
  width: var(--sg-shell);
  margin: 0 auto;
  padding: 82px 0 110px;
}
.sg-development-hero { max-width: 920px; margin-bottom: 64px; }
.sg-development-hero__eyebrow {
  margin-bottom: 18px;
  color: var(--sg-cyan);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sg-development-hero h1 {
  margin: 0 0 24px;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: clamp(72px,8vw,124px);
  font-weight: 500;
  line-height: .82;
  text-transform: uppercase;
}
.sg-development-hero p {
  max-width: 720px;
  color: #c4cdd1;
  font-size: 18px;
  line-height: 1.6;
}
.sg-development-list { display: grid; gap: 22px; }
.sg-development-step {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr);
  min-height: 560px;
  border: 1px solid var(--sg-line);
  border-radius: 26px;
  background: var(--sg-surface);
  overflow: hidden;
}
.sg-development-step:nth-child(even) { grid-template-columns: minmax(420px,1.1fr) minmax(0,.9fr); }
.sg-development-step:nth-child(even) .sg-development-step__content { order: 2; }
.sg-development-step__content {
  display: flex;
  flex-direction: column;
  padding: clamp(34px,4vw,64px);
}
.sg-development-step__number {
  margin-bottom: auto;
  color: var(--sg-cyan);
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: 36px;
  letter-spacing: .06em;
}
.sg-development-step h2 {
  max-width: 680px;
  margin: 52px 0 24px;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: clamp(48px,5vw,78px);
  font-weight: 500;
  line-height: .88;
  text-transform: uppercase;
}
.sg-development-step__copy { display: grid; gap: 14px; }
.sg-development-step__copy p { margin: 0; color: #d0d7da; font-size: 15px; line-height: 1.55; }
.sg-development-step__media {
  display: grid;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: clamp(28px,4vw,58px);
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%,rgba(39,203,232,.12),transparent 48%),
    #11181c;
  overflow: hidden;
}
.sg-development-step__photo {
  display: block;
  width: min(100%,520px);
  height: auto;
  aspect-ratio: 492/578;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.sg-development-step--2 .sg-development-step__photo {
  aspect-ratio: 500/580;
}
.sg-development-step--3 .sg-development-step__photo {
  width: 100%;
  aspect-ratio: 671/277;
}
.sg-development-step--4 .sg-development-step__photo {
  aspect-ratio: 500/579;
}
body.site-page--privacy .privacy-page__body { max-width: 920px; }
body.site-page--privacy .privacy-page__body .shared__container-left { width: 100%; max-width: none; }
body.site-page--privacy .privacy-page__body p { color: #c9d0d4; font-size: 17px; line-height: 1.7; }
body.site-page--privacy .privacy-page__body b,
body.site-page--privacy .privacy-page__body strong { color: #fff; }

/* Standalone partner/contact pages */
.sg-info-page {
  width: var(--sg-shell);
  margin: 0 auto;
  padding: 80px 0 96px;
}
.sg-info-page__eyebrow {
  margin-bottom: 18px;
  color: var(--sg-cyan);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sg-info-page h1 {
  max-width: 980px;
  margin: 0 0 50px;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: clamp(64px,7vw,112px);
  font-weight: 500;
  line-height: .84;
  text-transform: uppercase;
}
.sg-info-page__intro {
  max-width: 760px;
  margin-bottom: 50px;
  color: #c4cdd1;
  font-size: 18px;
  line-height: 1.6;
}
.sg-partner-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.sg-partner-card {
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--sg-line);
  border-radius: 20px;
  background: var(--sg-surface);
}
.sg-partner-card img { max-width: min(260px,100%); max-height: 58px; width: auto; height: auto; margin-bottom: auto; }
.sg-partner-card h2 {
  margin: 42px 0 14px;
  font-family: "Druk Cyr","Arial Narrow",sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: .9;
  text-transform: uppercase;
}
.sg-partner-card > img { width: auto; height: auto; object-fit: contain; }
.sg-partner-card__contacts {
  display: grid;
  margin: 24px 0 0;
  gap: 9px;
}
.sg-partner-card__contacts > div {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 14px;
  align-items: baseline;
}
.sg-partner-card__contacts dt {
  color: var(--sg-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sg-partner-card__contacts dd { min-width: 0; }
.sg-partner-card__contacts a {
  color: var(--sg-paper);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sg-partner-card .sg-partner-card__cta {
  display: inline-flex;
  align-self: flex-start;
  min-height: 48px;
  align-items: center;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid var(--sg-line);
  border-radius: 999px;
}
.sg-contacts-page .all-contacts {
  margin: 0;
  padding-top: 36px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 28px;
  background: #f2f3f1;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  overflow: hidden;
}
.sg-contacts-page .all-contacts > .shared__container {
  width: calc(100% - 64px);
  margin: 0 auto;
  padding-bottom: 36px;
  align-items: center;
  gap: 30px;
}
.sg-contacts-page .all-contacts > .main__footer { display: none; }
.sg-contacts-page .all-contacts__header { padding-bottom: 20px; }
.sg-contacts-page .all-contacts__header-logo { flex: 0 0 210px; width: 210px; }
.sg-contacts-page .all-contacts__header-logo img { width: 210px; max-width: 100%; height: auto; }
.sg-contacts-page .all-contacts__header-contact { flex: 0 0 280px; width: 280px; }
.sg-contacts-page .all-contacts__header-contact .item-contacts { width: 100%; }
.sg-contacts-page .all-contacts__items { margin-top: 22px; }
.sg-contacts-page .all-contacts__item {
  min-height: 184px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10,18,20,.07);
}
.sg-contacts-page .ceo-contacts { width: min(100%,250px); }
.sg-contacts-page .ceo-contacts__image > span { width: 150px; height: 150px; }
.sg-contacts-page .ceo-contacts__name { margin-top: 8px; font-size: 36px; }
.sg-contacts-page .ceo-contacts__position { max-width: 230px; margin-bottom: 14px; }
.site-footer {
  width: 100%;
  align-self: stretch;
  padding: 28px 0;
  border-top: 1px solid var(--sg-line);
  background: var(--sg-ink);
}
.site-footer__inner {
  display: flex;
  width: var(--sg-shell);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.site-footer,.site-footer a { color: var(--sg-muted); font-size: 12px; }

:focus-visible { outline: 2px solid var(--sg-cyan); outline-offset: 4px; }

/* Interaction motion: restrained feedback without changing control geometry. */
.index-page #home .group-menu__link,
.index-page #home .group-main__link,
.index-page #home .group-main__link img,
.index-page #home .group-main__link > span,
.index-page__bottom .ceo-contacts__link {
  transition:
    transform .28s cubic-bezier(.22,1,.36,1),
    background-color .28s cubic-bezier(.22,1,.36,1),
    border-color .28s cubic-bezier(.22,1,.36,1),
    color .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s cubic-bezier(.22,1,.36,1);
}
.index-page .shared__external-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(7,17,20,.2);
}
.index-page .shared__external-link:focus-visible::before { transform: translateX(112%); }
.index-page .shared__external-link:focus-visible > span { transform: translateX(3px); }
.index-page .shared__external-link:focus-visible::after { transform: translate(3px,-3px); }
.index-page #home .group-menu__link:focus-visible,
.index-page__bottom .ceo-contacts__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(7,17,20,.2);
}
.index-page #home .group-main__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(4,11,14,.28);
}
.index-page #home .group-main__link:focus-visible img { transform: scale(1.035); }
.index-page #home .group-main__link:focus-visible > span:not(.group-main__link-index) { transform: translateX(2px); }

@media (hover: hover) and (pointer: fine) {
  .index-page .shared__external-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(7,17,20,.2);
  }
  .index-page .shared__external-link:hover::before { transform: translateX(112%); }
  .index-page .shared__external-link:hover > span { transform: translateX(3px); }
  .index-page .shared__external-link:hover::after { transform: translate(3px,-3px); }
  .index-page #home .group-menu__link:hover,
  .index-page__bottom .ceo-contacts__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(7,17,20,.2);
  }
  .index-page #home .group-main__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(4,11,14,.28);
  }
  .index-page #home .group-main__link:hover img { transform: scale(1.035); }
  .index-page #home .group-main__link:hover > span:not(.group-main__link-index) { transform: translateX(2px); }
}
.index-page .shared__external-link:active,
.index-page #home .group-menu__link:active,
.index-page #home .group-main__link:active,
.index-page__bottom .ceo-contacts__link:active {
  transform: translateY(0) scale(.985);
}

@media (max-width: 1120px) {
  :root {
    --sg-shell: min(960px,calc(100vw - 48px));
    --sg-panel-radius: 26px;
    --sg-display-hero: clamp(64px,8.8vw,88px);
    --sg-display-section: clamp(48px,6.4vw,64px);
    --sg-display-quote: clamp(36px,5vw,48px);
  }
  .main__body { margin-top: 68px; }
  .main__header { height: 68px; min-height: 68px; overflow: hidden; transition: height .3s ease; }
  .main__header.__openMenu { height: 100svh; background: var(--sg-ink); }
  .header {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 11px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .header__left { width: 100%; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 48px; }
  .header__menu,.main-menu { width: 100%; }
  .main-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .main-menu__item { align-items: stretch; }
  .main-menu__link { padding: 15px 0; border-bottom: 1px solid var(--sg-line); font-size: clamp(22px,4vw,38px); }
  .main-menu__link::after { display: none; }
  .header__right { position: relative; inset: auto; display: none; width: 220px; margin-top: 28px; }
  .main__header.__openMenu .header__right { display: flex; min-height: 54px; align-items: flex-start; }
  .main__header.__openMenu .header__lang-switch,.main__header.__openMenu .lang-switch { width: min(220px,100%); }
  .header__hamburger {
    position: absolute;
    top: 11px;
    right: 18px;
    display: block;
    width: 46px;
    height: 46px;
    padding: 0;
    cursor: pointer;
    font-size: 0;
  }
  .header__hamburger span { position: absolute; left: 9px; width: 28px; height: 1px; background: #fff; transition: top .25s,transform .25s; }
  .header__hamburger span:first-child { top: 17px; }
  .header__hamburger span:last-child { top: 27px; }
  .main__header.__openMenu .header__hamburger span { top: 22px; }
  .main__header.__openMenu .header__hamburger span:first-child { transform: rotate(45deg); }
  .main__header.__openMenu .header__hamburger span:last-child { transform: rotate(-45deg); }
  .index-page #home .group-main,.index-page #home .group-main .shared__container { min-height: calc(100svh - 68px); }
  .index-page #home .group-main .shared__container { padding-top: 48px; }
  .index-page #home .group-main__statement h1 { font-size: var(--sg-display-hero); }
  .index-page #samovar .shared__container,.index-page #mekenzi .shared__container,
  .index-page #lunamarket .shared__container,.index-page #alphaprom .shared__container {
    flex-direction: column;
  }
  .index-page :is(.samovar-main,.mekenzi-main,.lunamarket-main,.alphaprom-main) .shared__container-left { width: 100%; }
  .index-page #mekenzi .mekenzi-main .shared__container {
    display: grid;
    grid-template-columns: minmax(0,1fr);
  }
  .index-page #mekenzi .mekenzi-main .shared__container > .shared__container-left {
    display: contents;
  }
  .index-page #mekenzi .mekenzi-main__logo { grid-row: 1; }
  .index-page #mekenzi .mekenzi-main__title { grid-row: 2; }
  .index-page #mekenzi .mekenzi-main__title2 { grid-row: 3; }
  .index-page #mekenzi .mekenzi-main__video {
    grid-row: 4;
    margin: 34px 0 0;
  }
  .index-page #mekenzi .mekenzi-main__slogan {
    grid-row: 5;
    max-width: 30ch;
    margin-top: 28px;
  }
  .index-page #mekenzi .mekenzi-main__cooperation {
    grid-row: 6;
    margin-top: 40px;
  }
  .index-page #mekenzi .mekenzi-main__title2 { width: 100%; max-width: none; text-wrap: normal; }
  .index-page #mekenzi .mekenzi-main__cooperation { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .index-page__bottom .all-contacts .shared__container { flex-direction: column; }
  .index-page__bottom .all-contacts .shared__container-right { width: 100%; }
  .index-page__bottom .ceo-contacts { width: min(100%,360px); }
  .index-page__bottom .all-contacts__items { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sg-development-step,.sg-development-step:nth-child(even) { grid-template-columns: 1fr; }
  .sg-development-step:nth-child(even) .sg-development-step__content { order: 0; }
  .sg-development-step__number { margin-bottom: 0; }
  .sg-development-step h2 { margin-top: 42px; }
  .sg-development-step__media { min-height: 440px; }
}

@media (max-width: 768px) {
  :root {
    --sg-shell: calc(100vw - 34px);
    --sg-panel-radius: 20px;
    --sg-display-hero: clamp(46px,12vw,58px);
    --sg-display-section: clamp(38px,10.7vw,48px);
    --sg-display-quote: clamp(34px,9.8vw,44px);
  }
  .main__body { margin-top: 64px; }
  .main__header { height: 64px; min-height: 64px; }
  .header { padding: 9px 17px; }
  .header__logo,.header__logo img { width: 42px; height: 42px; }
  .header__left { gap: 36px; }
  .header__right { inset: auto; margin-top: 28px; }
  .header__hamburger { top: 9px; right: 10px; }
  .index-page #home .group-main { min-height: 820px; background-position: center,64% center; }
  .index-page #home .group-main .shared__container { min-height: 820px; padding: 54px 0 182px; }
  .index-page #home .group-main__logo { width: 205px; margin-bottom: 32px; }
  .index-page #home .group-main__eyebrow { font-size: 12px; letter-spacing: .09em; }
  .index-page #home .group-main__statement h1 { max-width: 100%; font-size: var(--sg-display-hero); line-height: .86; }
  .index-page #home .group-menu__link { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .index-page #home .group-menu > .socials-contacts { width: 100%; }
  .index-page #home .group-menu > .socials-contacts a {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: 42px;
    max-height: 42px;
  }
  .index-page #home .group-main .shared__container-right { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .index-page #home .group-main__link,.index-page #home .group-main__link:hover {
    grid-template-columns: auto 30px 1fr;
    height: 70px;
    padding: 10px 16px;
  }
  .index-page #home .group-main__link img { width: auto; height: auto; max-width: 30px; max-height: 32px; }
  .index-page #home .group-main__link span { font-size: 12px; }
  .index-page #home .group-main__link .group-main__link-index { font-size: 9px; }
  .index-page .index-page__tab > .index-page__route {
    top: 14px !important;
    right: 17px !important;
    left: 17px !important;
  }
  .index-page__route span { width: 30px; height: 30px; font-size: 9px; }
  .index-page #samovar .samovar-main,.index-page #mekenzi .mekenzi-main,
  .index-page #lunamarket .lunamarket-main,.index-page #alphaprom .alphaprom-main { padding: 68px 0; }
  .index-page .shared__title-sm { max-width: 34ch; font-size: 12px; letter-spacing: .08em; }
  .index-page .shared__title-lg { font-size: var(--sg-display-section); line-height: .91; }
  .index-page .shared__title-md { max-width: 38ch; font-size: 16px; line-height: 1.55; }
  .index-page .shared__slogan { font-size: var(--sg-display-quote); line-height: .95; }
  .index-page #mekenzi .mekenzi-main__slogan {
    max-width: none;
    margin-top: 24px;
    padding-left: 16px;
    font-size: clamp(18px,5.15vw,21px);
    line-height: 1.4;
  }
  .index-page .shared__external-link { width: 100%; min-width: 0; min-height: 54px; }
  .index-page #mekenzi .mekenzi-main__cooperation { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 130px; }
  .index-page #mekenzi .mekenzi-main__house.__house1 { grid-column: 1/-1; grid-row: span 2; }
  .index-page #mekenzi .mekenzi-main__house.__house6 { grid-column: span 2; }
  .index-page #lunamarket .lunamarket-main__luna { right: -300px; bottom: -80px; width: 600px; height: 600px; }
  .index-page #alphaprom .alphaprom-main {
    padding: 64px 0 56px;
    overflow: hidden;
    background-image:
      url('/local/components/alphaprom/main/templates/.default/assets/img/line2.svg'),
      url('/local/components/alphaprom/main/templates/.default/assets/img/line1.svg'),
      url('/local/components/alphaprom/main/templates/.default/assets/img/background.svg'),
      linear-gradient(160deg,#173b3c 0%,#102a2b 66%,#0c1819 100%);
    background-position: center bottom,center bottom,calc(100% + 70px) 28px,center;
    background-size: auto 33%,auto 38%,180px auto,cover;
    background-repeat: no-repeat;
    background-blend-mode: normal,normal,soft-light,normal;
  }
  .index-page #alphaprom .alphaprom-main .shared__container {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 52px;
    background-image: url('/local/components/alphaprom/main/templates/.default/assets/img/earth.png');
    background-position: left calc(100% - 12px);
    background-size: min(92vw,360px) auto;
    background-repeat: no-repeat;
  }
  .index-page #alphaprom .alphaprom-main__logo { width: 152px; margin: 0 0 32px; }
  .index-page #alphaprom .alphaprom-main__logo img { display: block; width: 100%; height: auto; }
  .index-page #alphaprom :is(.alphaprom-main__logo,.alphaprom-main__title,.alphaprom-main__title2,.alphaprom-main__slogan) {
    margin-right: 0;
  }
  .index-page #alphaprom .alphaprom-main__title {
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    font-size: var(--sg-display-section);
    line-height: .91;
  }
  .index-page #alphaprom .alphaprom-main__title2 { width: 100%; max-width: 34ch; margin: 0 0 28px; }
  .index-page #alphaprom .alphaprom-main__cooperation { margin: 0; }
  .index-page #alphaprom .alphaprom-main__slogan {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 0 36px;
    font-size: var(--sg-display-quote);
    line-height: .95;
    text-shadow: 0 2px 18px rgba(5,21,18,.9);
  }
  .index-page__bottom .all-contacts { padding-top: 58px; }
  .index-page__bottom .all-contacts .shared__container { padding-bottom: 40px; }
  .index-page__bottom .all-contacts__header { flex-direction: column; gap: 18px; }
  .index-page__bottom .all-contacts__items { grid-template-columns: 1fr; }
  .index-page__bottom .ceo-contacts__image > span { width: 170px; height: 170px; }
  .index-page__bottom .main__footer { padding: 18px 17px 24px; }
  .index-page__bottom .main__footer-items { flex-direction: column; gap: 8px; }
  body:not(.site-page--home) .shared__page,.sg-info-page { padding: 58px 0 70px; }
  body:not(.site-page--home) .shared__page > .shared__title-lg { font-size: 52px; margin-bottom: 30px; }
  body:not(.site-page--home) .shared-gallery { grid-template-columns: 1fr; }
  body:not(.site-page--home) .shared-gallery a:nth-child(3n+1) { grid-column: auto; }
  body:not(.site-page--home) .shared-gallery img,
  body:not(.site-page--home) .shared-gallery a:not(:nth-child(3n+1)) img { height: 68vw; max-height: 420px; }
  .sg-info-page h1 { font-size: clamp(52px,14vw,76px); }
  .sg-partner-grid { grid-template-columns: 1fr; }
  .sg-partner-card { min-height: 0; padding: 24px; }
  .sg-partner-card h2 { margin-top: 34px; font-size: 38px; }
  .sg-partner-card__contacts > div { grid-template-columns: 64px minmax(0,1fr); }
  .sg-development-page { padding: 58px 0 72px; }
  .sg-development-hero { margin-bottom: 38px; }
  .sg-development-hero h1 { font-size: clamp(58px,16vw,82px); }
  .sg-development-hero p { font-size: 16px; }
  .sg-development-list { gap: 16px; }
  .sg-development-step { min-height: 0; border-radius: 20px; }
  .sg-development-step__content { padding: 26px 22px 30px; }
  .sg-development-step h2 { margin: 32px 0 20px; font-size: clamp(44px,12vw,58px); }
  .sg-development-step__copy p { font-size: 16px; }
  .sg-partner-card__contacts a { font-size: 16px; }
  .sg-development-step__media { min-height: 0; padding: 20px; }
  .sg-development-step__photo { width: min(100%,420px); }
  .sg-contacts-page .all-contacts > .shared__container { width: calc(100% - 34px); }
  .sg-contacts-page .all-contacts { padding-top: 28px; border-radius: 20px; }
  .sg-contacts-page .all-contacts__header-logo { flex-basis: auto; width: min(210px,100%); }
  .sg-contacts-page .all-contacts__header-contact { flex-basis: auto; width: 100%; }
  .sg-contacts-page .all-contacts,
  .sg-contacts-page .all-contacts > .shared__container,
  .sg-contacts-page .all-contacts .shared__container-left,
  .sg-contacts-page .all-contacts .shared__container-right,
  .sg-contacts-page .all-contacts__header {
    flex: none;
    height: auto;
  }
  .sg-contacts-page .all-contacts > .shared__container,
  .sg-contacts-page .all-contacts .shared__container-left,
  .sg-contacts-page .all-contacts .shared__container-right { overflow: visible; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  :root {
    --sg-display-hero: 44px;
    --sg-display-section: 37px;
    --sg-display-quote: 34px;
  }
  .index-page #home .group-main__statement h1 { font-size: var(--sg-display-hero); }
  .index-page .shared__title-lg { font-size: var(--sg-display-section); }
  .index-page .shared__slogan { font-size: var(--sg-display-quote); }
  .index-page #mekenzi .mekenzi-main__cooperation { grid-auto-rows: 112px; }
  .index-page #alphaprom .alphaprom-main__logo { width: 136px; }
  .index-page #alphaprom .alphaprom-main__slogan { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .index-page .shared__external-link,
  .index-page .shared__external-link::after,
  .index-page .shared__external-link > span,
  .index-page #home .group-menu__link,
  .index-page #home .group-main__link,
  .index-page #home .group-main__link img,
  .index-page #home .group-main__link > span,
  .index-page__bottom .ceo-contacts__link {
    transform: none !important;
  }
  .index-page .shared__external-link::before { display: none !important; }
}

/* Desktop editorial atlas — one group, four business chapters */
@media (min-width: 1121px) {
  :root {
    --sg-shell: min(1320px,calc(100vw - 96px));
    --sg-atlas-paper: #eef0ec;
    --sg-atlas-ink: #111619;
    --sg-atlas-line: rgba(17,22,25,.16);
  }

  .index-page {
    padding-bottom: 28px;
    background: #0b1013;
  }

  .index-page #home .group-main,
  .index-page #home .group-main .shared__container {
    min-height: clamp(680px,calc(100vh - 76px),820px);
  }
  .index-page #home .group-main .shared__container {
    padding-top: clamp(56px,7vh,84px);
  }
  .index-page #home .group-main__logo {
    width: min(238px,100%);
    margin-bottom: 28px;
  }
  .index-page #home .group-main__statement h1 {
    max-width: 760px;
    font-size: clamp(68px,5.7vw,92px);
    line-height: .88;
  }
  .index-page #home .group-main__menu {
    margin-top: 34px;
  }
  .index-page #home .group-menu__link {
    min-height: 48px;
    border-radius: 12px;
  }
  .index-page #home .group-main__link,
  .index-page #home .group-main__link:hover {
    height: 82px;
    background: rgba(8,13,16,.88);
  }

  .index-page__tab:not(#home) {
    width: var(--sg-shell);
    margin: 28px auto 0;
  }
  .index-page__tab:not(#home) > .index-page__route {
    display: none;
  }
  .index-page #samovar .samovar-main,
  .index-page #mekenzi .mekenzi-main,
  .index-page #lunamarket .lunamarket-main,
  .index-page #alphaprom .alphaprom-main {
    position: relative;
    overflow: hidden;
    padding: clamp(62px,5vw,82px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    box-shadow: 0 28px 72px rgba(0,0,0,.2);
  }
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) :is(
    .samovar-main,.mekenzi-main,.lunamarket-main,.alphaprom-main
  ) > .shared__container {
    width: 100%;
    margin: 0;
  }
  .index-page #samovar .samovar-main,
  .index-page #mekenzi .mekenzi-main,
  .index-page #lunamarket .lunamarket-main,
  .index-page #alphaprom .alphaprom-main {
    background: var(--sg-atlas-paper);
    color: var(--sg-atlas-ink);
  }
  .index-page #samovar .samovar-main::before,
  .index-page #mekenzi .mekenzi-main::before,
  .index-page #lunamarket .lunamarket-main::before,
  .index-page #alphaprom .alphaprom-main::before {
    position: absolute;
    top: 28px;
    right: 30px;
    z-index: 1;
    color: rgba(17,22,25,.42);
    font-family: "Vela Sans",Verdana,sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .18em;
  }
  .index-page #samovar .samovar-main::before { content: "01 / 04"; }
  .index-page #mekenzi .mekenzi-main::before { content: "02 / 04"; }
  .index-page #lunamarket .lunamarket-main::before { content: "03 / 04"; }
  .index-page #alphaprom .alphaprom-main::before { content: "04 / 04"; }

  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) .shared__title-sm,
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) .shared__title-md {
    color: #4f575b;
  }
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) .shared__title-sm {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .12em;
  }
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) .shared__title-lg {
    max-width: none;
    color: var(--sg-atlas-ink);
    font-size: clamp(50px,4vw,64px);
    line-height: .9;
    white-space: nowrap;
  }
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) .shared__slogan {
    max-width: 31ch;
    color: #30383c;
    font-family: "Vela Sans",Verdana,sans-serif;
    font-size: clamp(20px,1.55vw,25px);
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: -.015em;
    text-transform: none;
    text-wrap: pretty;
    text-shadow: none;
  }
  .index-page :is(#samovar,#mekenzi,#lunamarket,#alphaprom) :is(
    .samovar-main__logo,.mekenzi-main__logo,.lunamarket-main__logo,.alphaprom-main__logo
  ) {
    width: min(184px,100%);
    margin: 0 0 34px;
  }
  .index-page :is(
    .samovar-main__logo,.mekenzi-main__logo,.lunamarket-main__logo,.alphaprom-main__logo
  ) img {
    width: 100%;
    height: auto;
    max-height: 58px;
    object-position: left center;
  }
  .index-page :is(#samovar,#lunamarket,#alphaprom) :is(
    .samovar-main__logo,.lunamarket-main__logo,.alphaprom-main__logo
  ) img {
    filter: brightness(0);
  }
  .index-page .shared__external-link {
    width: fit-content;
    min-width: 220px;
    max-width: 280px;
    min-height: 54px;
    border: 1px solid #171d21;
    border-radius: 13px;
    background: #171d21 !important;
    color: #fff;
  }

  /* 01 — media-led construction chapter */
  .index-page #samovar .samovar-main .shared__container {
    display: grid;
    grid-template-columns: minmax(300px,4fr) minmax(0,8fr);
    grid-template-rows: auto auto auto 1fr auto;
    gap: 0 clamp(56px,5vw,78px);
  }
  .index-page #samovar .samovar-main .shared__container > .shared__container-left {
    display: contents;
  }
  .index-page #samovar .samovar-main__logo { grid-column: 1; grid-row: 1; }
  .index-page #samovar .samovar-main__title { grid-column: 1; grid-row: 2; margin: 0 0 18px; }
  .index-page #samovar .samovar-main__title2 {
    grid-column: 1;
    grid-row: 3;
    margin: 0 0 28px;
    font-size: clamp(45px,3.45vw,54px);
  }
  .index-page #samovar .samovar-main__title3 { grid-column: 1; grid-row: 4; margin: 0 0 34px; }
  .index-page #samovar .samovar-main__cooperation { grid-column: 1; grid-row: 5; margin: 0; align-self: end; }
  .index-page #samovar .samovar-main__video { grid-column: 2; grid-row: 1 / span 5; align-self: stretch; }
  .index-page #samovar .samovar-main__video .embed-video,
  .index-page #samovar .samovar-main__video .embed-video__container {
    height: 100%;
    min-height: 590px;
  }
  .index-page #samovar .samovar-main__video .embed-video__container {
    aspect-ratio: auto;
    border-radius: 14px;
  }
  .index-page #samovar .samovar-main__slogan { display: none; }

  /* 02 — one project wall: equal media, complete filmstrip, one action axis */
  .index-page #mekenzi .mekenzi-main .shared__container {
    display: grid;
    grid-template-columns: repeat(18,minmax(0,1fr));
    grid-template-rows: auto auto auto auto auto;
    gap: 0 10px;
  }
  .index-page #mekenzi .mekenzi-main .shared__container > .shared__container-left { display: contents; }
  .index-page #mekenzi .mekenzi-main__logo {
    grid-column: 1 / 5;
    grid-row: 1;
    margin: 0 0 26px;
  }
  .index-page #mekenzi .mekenzi-main__title {
    grid-column: 4 / 12;
    grid-row: 1;
    align-self: end;
    margin: 0 0 26px;
  }
  .index-page #mekenzi .mekenzi-main__title2 {
    grid-column: 1 / 11;
    grid-row: 2;
    max-width: none;
    margin: 0 0 38px;
    font-size: clamp(52px,4vw,62px);
    line-height: .9;
  }
  .index-page #mekenzi .mekenzi-main__title2::after { content: none; }
  .index-page #mekenzi .mekenzi-main__slogan {
    grid-column: 12 / -1;
    grid-row: 2;
    align-self: end;
    width: auto;
    max-width: none;
    margin: 0 0 38px;
    padding-left: 18px;
  }
  .index-page #mekenzi .mekenzi-main__cooperation { display: contents; }
  .index-page #mekenzi .mekenzi-main__house {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 12px;
  }
  .index-page #mekenzi .mekenzi-main__house.__house1 {
    grid-column: 1 / 10;
    grid-row: 3;
    aspect-ratio: 16 / 9;
  }
  .index-page #mekenzi .mekenzi-main__video {
    grid-column: 10 / -1;
    grid-row: 3;
    align-self: stretch;
    margin: 0;
    aspect-ratio: 16 / 9;
  }
  .index-page #mekenzi .mekenzi-main__video .embed-video,
  .index-page #mekenzi .mekenzi-main__video .embed-video__container {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .index-page #mekenzi .mekenzi-main__video .embed-video__container {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  .index-page #mekenzi .mekenzi-main__video video { object-fit: cover; }
  .index-page #mekenzi .mekenzi-main__house:not(.__house1) {
    grid-row: 4;
    height: 82px;
    margin-top: 10px;
  }
  .index-page #mekenzi .mekenzi-main__house.__house2 { grid-column: 1 / 3; }
  .index-page #mekenzi .mekenzi-main__house.__house3 { grid-column: 3 / 5; }
  .index-page #mekenzi .mekenzi-main__house.__house4 { grid-column: 5 / 7; }
  .index-page #mekenzi .mekenzi-main__house.__house5 { grid-column: 7 / 9; }
  .index-page #mekenzi .mekenzi-main__house.__house6 { grid-column: 9 / 11; }
  .index-page #mekenzi .mekenzi-main__house.__house7 { grid-column: 11 / 13; }
  .index-page #mekenzi .mekenzi-main__house.__house8 { grid-column: 13 / 15; }
  .index-page #mekenzi .mekenzi-main__house.__house9 { grid-column: 15 / 17; }
  .index-page #mekenzi .mekenzi-main__house.__house10 { grid-column: 17 / 19; }
  .index-page #mekenzi .mekenzi-main__link-cooperation {
    grid-column: 1 / 5;
    grid-row: 5;
    margin-top: 26px;
  }

  /* 03 — reversed retail chapter with a controlled violet stage */
  .index-page #lunamarket .lunamarket-main {
    background:
      linear-gradient(118deg,rgba(114,47,209,.12),transparent 38%),
      var(--sg-atlas-paper);
  }
  .index-page #lunamarket .lunamarket-main .shared__container {
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(320px,5fr);
    grid-template-rows: auto auto auto 1fr auto auto;
    gap: 0 clamp(58px,5vw,82px);
    background: none;
  }
  .index-page #lunamarket .lunamarket-main .shared__container > .shared__container-left { display: contents; }
  .index-page #lunamarket .lunamarket-main__luna {
    right: -110px;
    bottom: -260px;
    left: auto;
    width: 560px;
    height: 560px;
    opacity: .11;
    filter: grayscale(1) contrast(1.2);
  }
  .index-page #lunamarket .lunamarket-main__logo { grid-column: 2; grid-row: 1; width: min(170px,100%); }
  .index-page #lunamarket .lunamarket-main__title { grid-column: 2; grid-row: 2; margin: 0 0 18px; }
  .index-page #lunamarket .lunamarket-main__title2 { grid-column: 2; grid-row: 3; margin: 0 0 28px; }
  .index-page #lunamarket .lunamarket-main__title3 { grid-column: 2; grid-row: 4; margin: 0 0 30px; }
  .index-page #lunamarket .lunamarket-main__supply { grid-column: 2; grid-row: 6; margin: 30px 0 0; align-self: end; }
  .index-page #lunamarket .lunamarket-main__video { grid-column: 1; grid-row: 1 / span 6; align-self: stretch; margin: 0; }
  .index-page #lunamarket .lunamarket-main__video .embed-video,
  .index-page #lunamarket .lunamarket-main__video .embed-video__container { height: 100%; min-height: 570px; }
  .index-page #lunamarket .lunamarket-main__video .embed-video__container { aspect-ratio: auto; border-radius: 14px; }
  .index-page #lunamarket .lunamarket-main__slogan {
    grid-column: 2;
    grid-row: 5;
    margin: 0;
    padding-left: 18px;
    border-left: 2px solid rgba(126,39,225,.45);
  }

  /* 04 — compact industrial case with a dedicated logistics stage */
  .index-page #alphaprom .alphaprom-main {
    min-height: 0;
    background: var(--sg-atlas-paper);
  }
  .index-page #alphaprom .alphaprom-main .shared__container {
    display: grid;
    grid-template-columns: minmax(360px,5fr) minmax(0,7fr);
    grid-template-rows: 1fr;
    gap: clamp(54px,5vw,80px);
    min-height: 520px;
    background: none;
  }
  .index-page #alphaprom .alphaprom-main .shared__container > .shared__container-left {
    display: flex;
    width: 100%;
    min-width: 0;
  }
  .index-page #alphaprom .alphaprom-main .shared__container > .shared__container-left:first-child {
    grid-column: 1;
    grid-row: 1;
    min-height: 520px;
  }
  .index-page #alphaprom .alphaprom-main .shared__container > .shared__container-left:last-child {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 520px;
    padding: 38px;
    overflow: hidden;
    border-radius: 16px;
    background:
      linear-gradient(180deg,rgba(15,48,47,.05),rgba(10,31,34,.72)),
      url('/local/components/alphaprom/main/templates/.default/assets/img/earth.png') center calc(100% + 112px)/82% auto no-repeat,
      url('/local/components/alphaprom/main/templates/.default/assets/img/line2.svg') center bottom/cover no-repeat,
      url('/local/components/alphaprom/main/templates/.default/assets/img/line1.svg') center bottom/cover no-repeat,
      #153b42;
  }
  .index-page #alphaprom .alphaprom-main__logo { width: 184px; margin: 0 0 38px; }
  .index-page #alphaprom .alphaprom-main__title {
    max-width: none;
    margin: 0 0 26px;
    font-size: clamp(54px,4vw,62px);
    line-height: .9;
  }
  .index-page #alphaprom .alphaprom-main__title2 { max-width: 34ch; margin: 0 0 36px; }
  .index-page #alphaprom .alphaprom-main__cooperation { width: 100%; margin-top: auto; }
  .index-page #alphaprom .alphaprom-main__slogan {
    position: relative;
    z-index: 1;
    align-self: auto;
    justify-self: auto;
    width: min(100%,430px);
    max-width: 430px;
    margin: 0;
    padding: 0 0 0 20px;
    border: 0;
    border-left: 3px solid var(--sg-green);
    border-radius: 0;
    background: none;
    color: #f5f6f3;
    font-size: clamp(22px,1.7vw,28px);
  }

  .index-page__bottom {
    width: var(--sg-shell);
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 24px;
  }
  .index-page__bottom .all-contacts .shared__container {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    width: calc(100% - 96px);
    margin: 0 48px;
    gap: 48px;
  }
  .index-page__bottom .all-contacts__items {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }
  .index-page__bottom .all-contacts__item { padding: 18px 20px; }
  .index-page__bottom .item-contacts__website a { font-size: 17px; }
  .index-page__bottom .item-contacts__email a { font-size: 13px; }
}

/* Final optical logo contract. Keep this after all legacy and editorial
   breakpoint rules so no shared-width declaration can resize a brand mark. */
.index-page :is(
  .samovar-main__logo,
  .mekenzi-main__logo,
  .lunamarket-main__logo,
  .alphaprom-main__logo
) {
  flex: 0 0 auto;
  height: auto;
  max-width: 100%;
  max-height: none;
}
.index-page :is(
  .samovar-main__logo,
  .mekenzi-main__logo,
  .lunamarket-main__logo,
  .alphaprom-main__logo
) img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.index-page #samovar .samovar-main__logo { width: 174px; }
.index-page #mekenzi .mekenzi-main__logo { width: 176px; }
.index-page #lunamarket .lunamarket-main__logo { width: 184px; }
.index-page #alphaprom .alphaprom-main__logo { width: 176px; }

@media (max-width: 768px) {
  .index-page #samovar .samovar-main__logo { width: 164px; }
  .index-page #mekenzi .mekenzi-main__logo { width: 164px; }
  .index-page #lunamarket .lunamarket-main__logo { width: 172px; }
  .index-page #alphaprom .alphaprom-main__logo { width: 164px; }
}

@media (max-width: 360px) {
  .index-page #samovar .samovar-main__logo { width: 152px; }
  .index-page #mekenzi .mekenzi-main__logo { width: 154px; }
  .index-page #lunamarket .lunamarket-main__logo { width: 160px; }
  .index-page #alphaprom .alphaprom-main__logo { width: 152px; }
}

/* Contact cards use a tiny monochrome Alphaprom export whose globe closes up
   after darkening. Reuse the detailed brand asset at the same optical size:
   black wordmark for the light card, original-colour globe, no baked halo. */
.all-contacts__item-logo:has(> img[src$="logo-alphaprom-sm.png"]) {
  position: relative;
  flex: 0 0 auto;
  width: 126px;
  height: auto;
  max-width: 100%;
  overflow: visible;
}
.all-contacts__item-logo > img[src$="logo-alphaprom-sm.png"] {
  content: url('/local/templates/samovar/assets/img/logo-alphaprom.png');
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: url('#sg-alphaprom-clean-alpha') brightness(0) !important;
}
.all-contacts__item-logo:has(> img[src$="logo-alphaprom-sm.png"])::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('/local/templates/samovar/assets/img/logo-alphaprom.png') left top / 100% 100% no-repeat;
  clip-path: inset(0 75.3% 0 0);
  filter: url('#sg-alphaprom-clean-alpha');
  pointer-events: none;
}

/* Company marks consistently lead to the operating companies' own websites.
   Preserve every logo's optical geometry and add a quiet, accessible cue. */
.company-logo-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}
.company-logo-link--detail {
  display: inline-block;
  max-width: 100%;
}
.all-contacts__item-logo.company-logo-link {
  align-self: flex-start;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
}
.sg-partner-card__logo-link {
  display: block;
  align-self: flex-start;
  max-width: min(260px,100%);
  margin-bottom: auto;
}
.sg-partner-card__logo-link img { display: block; margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .company-logo-link:hover {
    opacity: .72;
    transform: translateY(-1px);
  }
}
.company-logo-link:focus-visible {
  outline: 3px solid var(--sg-ink,#0c1115);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--sg-cyan,#27cbe8);
}
.company-logo-link:active { opacity: .62; }
@media (prefers-reduced-motion: reduce) {
  .company-logo-link { transition: none; }
  .company-logo-link:hover { transform: none; }
}

/* INC-20260829-005: use the real operating-company marks in the hero directory
   and preserve each brand's verified light/dark colour treatment. */
.index-page #home .group-main__link,
.index-page #home .group-main__link:hover {
  --company-accent: var(--sg-cyan,#27cbe8);
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  grid-template-rows: minmax(0,1fr) auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  border-top-color: var(--company-accent);
}
.index-page #home .group-main__link--samovar { --company-accent: #00baeb; }
.index-page #home .group-main__link--mekenzi { --company-accent: #ffe9ba; }
.index-page #home .group-main__link--lunamarket { --company-accent: #8000ff; }
.index-page #home .group-main__link--alphaprom { --company-accent: #48ca57; }
.index-page #home .group-main__link .group-main__link-index {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  color: var(--company-accent);
}
.index-page #home .group-main__link-brand {
  --brand-width: 146px;
  position: relative;
  isolation: isolate;
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: min(var(--brand-width),100%);
  height: 34px;
  align-self: end;
}
.index-page #home .group-main__link-brand--mekenzi { --brand-width: 142px; }
.index-page #home .group-main__link-brand--lunamarket { --brand-width: 142px; }
.index-page #home .group-main__link-brand--alphaprom { --brand-width: 144px; }
.index-page #home .group-main__link-brand > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
}
.index-page #home .group-main__link-brand--samovar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #00baeb;
  -webkit-mask: url('/local/templates/samovar/assets/img/logo-samovar.png') left center / 100% 100% no-repeat;
  mask: url('/local/templates/samovar/assets/img/logo-samovar.png') left center / 100% 100% no-repeat;
  clip-path: inset(0 76% 0 0);
  pointer-events: none;
}
.index-page #home .group-main__link-brand--mekenzi {
  background: linear-gradient(to top,#ffe9ba 0 2px,transparent 2px);
}
.index-page #home .group-main__link-brand--alphaprom > img {
  filter: url('#sg-alphaprom-clean-alpha') !important;
}
.index-page #home .group-main__link .group-main__link-name {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  color: rgba(245,246,243,.72);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .06em;
}

/* Light company surfaces use the same official brand language as each
   operating site: Samovar cyan, Mekenzi graphite/cream, Luna violet and the
   original Alphaprom globe. The transparent logo canvases keep their ratios. */
.company-logo-link:has(> img[src*="logo-samovar"]),
.company-logo-link:has(> img[src*="logo-lunamarket"]),
.company-logo-link:has(> img[src*="logo-alphaprom"]) {
  position: relative;
  isolation: isolate;
}
.company-logo-link > img[src*="logo-samovar"],
.company-logo-link > img[src*="logo-lunamarket"] {
  position: relative;
  z-index: 0;
  filter: brightness(0) !important;
}
.company-logo-link:has(> img[src*="logo-samovar"])::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #00baeb;
  -webkit-mask: url('/local/templates/samovar/assets/img/logo-samovar.png') left center / 100% 100% no-repeat;
  mask: url('/local/templates/samovar/assets/img/logo-samovar.png') left center / 100% 100% no-repeat;
  clip-path: inset(0 76% 0 0);
  pointer-events: none;
}
.company-logo-link:has(> img[src*="logo-mekenzi"]) {
  overflow: hidden;
  border-radius: 3px;
  background-color: #404140;
  background-image: linear-gradient(to top,#ffe9ba 0 2px,transparent 2px);
}
.company-logo-link > img[src*="logo-mekenzi"] {
  filter: none !important;
}
.company-logo-link:has(> img[src*="logo-lunamarket"])::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('/local/templates/samovar/assets/img/logo-lunamarket.png') left center / 100% 100% no-repeat;
  clip-path: inset(0 55.4% 0 0);
  pointer-events: none;
}
.company-logo-link > img[src$="logo-alphaprom-sm.png"] {
  content: url('/local/templates/samovar/assets/img/logo-alphaprom.png');
  display: block;
  width: 126px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}
.company-logo-link:has(> img[src$="logo-alphaprom-sm.png"]) {
  width: 126px;
  max-width: 100%;
}
.company-logo-link > img[src*="logo-alphaprom"] {
  position: relative;
  z-index: 0;
  filter: url('#sg-alphaprom-clean-alpha') brightness(0) !important;
}
.company-logo-link:has(> img[src*="logo-alphaprom"])::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('/local/templates/samovar/assets/img/logo-alphaprom.png') left center / 100% 100% no-repeat;
  clip-path: inset(0 75.3% 0 0);
  filter: url('#sg-alphaprom-clean-alpha');
  pointer-events: none;
}

@media (max-width: 1120px) {
  .index-page #home .group-main__link,
  .index-page #home .group-main__link:hover {
    grid-template-columns: 22px minmax(0,1fr);
    grid-template-rows: minmax(0,1fr) auto;
    column-gap: 10px;
    row-gap: 4px;
    height: 82px;
    padding: 10px 12px;
  }
  .index-page #home .group-main__link-brand {
    --brand-width: 124px;
    height: 29px;
  }
  .index-page #home .group-main__link-brand--mekenzi { --brand-width: 120px; }
  .index-page #home .group-main__link-brand--lunamarket { --brand-width: 120px; }
  .index-page #home .group-main__link-brand--alphaprom { --brand-width: 122px; }
  .index-page #home .group-main__link .group-main__link-name { font-size: 9px; }
}

@media (max-width: 360px) {
  .index-page #home .group-main__link,
  .index-page #home .group-main__link:hover {
    grid-template-columns: 18px minmax(0,1fr);
    column-gap: 8px;
    padding-inline: 9px;
  }
  .index-page #home .group-main__link-brand {
    --brand-width: 108px;
    height: 26px;
  }
  .index-page #home .group-main__link-brand--mekenzi,
  .index-page #home .group-main__link-brand--lunamarket,
  .index-page #home .group-main__link-brand--alphaprom { --brand-width: 104px; }
}

/* INC-20260829-007: render every linked Samovar and Luna mark from the current
   official vector artwork. Mekenzi uses the high-resolution transparent
   graphite lockup extracted without resampling from the supplied PDF master. */
.company-logo-link > img[src*="logo-samovar"] {
  content: url('/local/templates/samovar/assets/img/logo-samovar-inc007.svg') !important;
}
.company-logo-link > img[src*="logo-lunamarket"] {
  content: url('/local/templates/samovar/assets/img/logo-lunamarket-inc007.svg') !important;
}
.company-logo-link > img[src*="logo-mekenzi"] {
  content: url('/local/templates/samovar/assets/img/logo-mekenzi-inc007.png') !important;
}

/* Light surfaces keep dark wordmarks and their colour symbols. */
.company-logo-link:has(> img[src*="logo-samovar"])::after {
  -webkit-mask-image: url('/local/templates/samovar/assets/img/logo-samovar-inc007.svg');
  mask-image: url('/local/templates/samovar/assets/img/logo-samovar-inc007.svg');
  clip-path: inset(0 80.8% 0 0);
}
.company-logo-link:has(> img[src*="logo-lunamarket"])::after {
  background-image: url('/local/templates/samovar/assets/img/logo-lunamarket-inc007.svg');
  clip-path: inset(0 57.2% 0 0);
}

/* At the mobile breakpoint these chapters switch to dark surfaces and require
   white wordmarks. Desktop keeps the dark wordmarks used on its light cards. */
@media (max-width: 768px) {
  .index-page #samovar .samovar-main__logo.company-logo-link > img[src*="logo-samovar"],
  .index-page #lunamarket .lunamarket-main__logo.company-logo-link > img[src*="logo-lunamarket"] {
    filter: brightness(0) invert(1) !important;
  }
}

/* The supplied Mekenzi master is a transparent graphite lockup including
   "ЗАГОРОДНОЕ СТРОИТЕЛЬСТВО", never a dark rectangular badge. */
.index-page #mekenzi .mekenzi-main__logo.company-logo-link,
.all-contacts__item-logo.company-logo-link:has(> img[src*="logo-mekenzi"]),
.sg-partner-card__logo-link.company-logo-link:has(> img[src*="logo-mekenzi"]) {
  overflow: visible;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
}
.index-page #mekenzi .mekenzi-main__logo.company-logo-link > img[src*="logo-mekenzi"],
.all-contacts__item-logo.company-logo-link > img[src*="logo-mekenzi"],
.sg-partner-card__logo-link.company-logo-link > img[src*="logo-mekenzi"] {
  filter: none !important;
}

/* INC-20260904-007: every standalone full-screen route exposes a persistent
   history-aware return control. The mobile menu keeps its dedicated close
   button as the only visible exit while that modal layer is open. */
.header__back {
  flex: 0 0 auto;
  display: inline-flex;
  min-width: 104px;
  min-height: 44px;
  padding: 9px 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--sg-paper,#f5f6f3);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease,background-color .2s ease,transform .2s ease,opacity .2s ease;
}
.header__back-icon {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}
.header__back:hover {
  border-color: rgba(39,203,232,.7);
  background: rgba(39,203,232,.12);
}
.header__back:active { transform: scale(.98); }
.header__back:focus-visible {
  outline: 2px solid var(--sg-cyan,#27cbe8);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .header__back {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 78px;
  }
  .main__header.__openMenu .header__back {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .header__back {
    top: 10px;
    right: 68px;
    min-width: 96px;
    min-height: 44px;
    padding-inline: 12px;
  }
}
