/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: orbital-capsule, футер: dark-matrix, стиль: bright, рейтинг: grid, hero: split.
Version: 1.7.8
Author: Site Builder Plugin
*/

/* 1.6.1 — not every style defines --sb-color-link-hover; style variants below override this. */
:root { --sb-color-link-hover: var(--sb-color-link, #2271b1); }

/* ===== Reset & base layout ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sb-font-body, "Segoe UI", system-ui, -apple-system, sans-serif);
    font-size: var(--sb-font-size, 16px);
    line-height: var(--sb-line-height, 1.6);
    color: var(--sb-color-text, #222);
    background: var(--sb-color-bg, #fff);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-color-link, #2271b1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Site wrapper ===== */
.sb-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sb-site-content {
    flex: 1;
    padding: 14px 15px;
    max-width: var(--sb-content-max-width, 1180px);
    width: 100%;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* ===== Content elements ===== */
.sb-content figure { margin: 24px 0; }
.sb-content figure img { border-radius: 4px; }
.sb-content figcaption {
    font-size: 0.9em;
    color: var(--sb-color-muted, #666);
    text-align: center;
    margin-top: 6px;
}
.sb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.sb-content th, .sb-content td {
    padding: 8px 12px;
    border: 1px solid var(--sb-color-border, #e2e8f0);
    text-align: left;
}
.sb-content th {
    background: var(--sb-color-bg-alt, #f8f9fa);
    font-weight: 600;
}
.sb-content blockquote {
    border-left: 4px solid var(--sb-color-accent, #2271b1);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    color: var(--sb-color-muted, #555);
}
.sb-content code {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.sb-content pre {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Variant-specific styles (header, footer, color scheme) injected below ===== */

/* Style variant: Bright (default light scheme).
 * White background, deep-blue accents, sans-serif typography.
 */
:root {
    --sb-color-bg: #ffffff;
    --sb-color-bg-alt: #f8f9fa;
    --sb-color-text: #1f2937;
    --sb-color-muted: #6b7280;
    --sb-color-link: #2563eb;
    --sb-color-accent: #2563eb;
    --sb-color-border: #e5e7eb;
    --sb-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --sb-font-heading: var(--sb-font-body);
    --sb-font-size: 16px;
    --sb-line-height: 1.65;
    --sb-content-max-width: 920px;
}


/* ===== Header variant: orbital-capsule ===== */
/* ==========================================================================
   Orbital Capsule Header
   ========================================================================== */

/* Контейнер хедера капсулы */

.sb-header-orbital {
  position: fixed;

  top: 20px;
  left: 0;
  right: 0;

  z-index: 1000;

  display: flex;
  justify-content: center;

  padding: 0 16px;

  pointer-events: none;
}

.sb-header-orbital-inner {
  pointer-events: auto;

  background: var(--sb-color-bg-alt, #171717);
  color: var(--sb-color-text, #ffffff);

  border-radius: 9999px;

  padding: 6px 14px 6px 8px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--sb-color-border, rgba(255, 255, 255, 0.1));

  width: 100%;
  max-width: 1500px;
}

/* ==========================================================================
   Logo
   ========================================================================== */

/* Круглый логотип с вращением при наведении */

.sb-header-orbital-brand a,
.sb-header-orbital-brand .custom-logo-link {
  display: flex;

  align-items: center;

  justify-content: center;

 width: 125px !important;
  height: 56px !important;

  background: #ffffff;

  color: #171717;

  border-radius: 50%;

  text-decoration: none;

  overflow: hidden;

  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sb-header-orbital-brand img,
.sb-header-orbital-brand svg {
  width: 90px;

  height: 32px;

  object-fit: contain;

  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sb-header-orbital-brand:hover a,
.sb-header-orbital-brand:hover img,
.sb-header-orbital-brand:hover svg {
  transform: rotate(360deg);
}

/* ==========================================================================
   Desktop Menu
   ========================================================================== */

.sb-header-orbital-nav-zone {
  display: flex;
  align-items: center;
}

.sb-menu-orbital {
  display: flex;

  align-items: center;

  gap: 8px;

  list-style: none;

  margin: 0;

  padding: 0;
}

.sb-menu-orbital > li {
  position: relative;
}

/* ==========================================================================
   Rolling Text
   ========================================================================== */

.sb-menu-orbital > li > a {
  position: relative;

  display: block;

  padding: 8px 14px;

  color: var(--sb-color-text, #ffffff);

  text-decoration: none;

  font-size: 14px;

  font-weight: 500;

  height: 36px;

  line-height: 20px;

  overflow: hidden;

  border-radius: 20px;

  transition: background-color 0.2s ease;
}

.sb-menu-orbital > li > a .sb-roll-wrapper {
  display: block;

  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.sb-menu-orbital > li > a:hover .sb-roll-wrapper {
  transform: translateY(-50%);
}

.sb-menu-orbital > li > a .sb-roll-item {
  display: block;

  height: 30px;

  line-height: 20px;

  white-space: nowrap;
}

.sb-menu-orbital > li > a .sb-roll-item--clone {
  color: var(--sb-color-accent, #d4af37);
}

/* ==========================================================================
   Desktop Dropdown
   ========================================================================== */

.sb-menu-orbital .sub-menu {
  position: absolute;

  top: calc(100% + 12px);

  left: 50%;

  transform: translateX(-50%) translateY(8px);

  background: var(--sb-color-bg-alt, #1c1c1c);

  border: 1px solid var(--sb-color-border, rgba(255, 255, 255, 0.1));

  border-radius: 16px;

  padding: 12px;

  min-width: 400px;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.28s;

  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);

  pointer-events: none;

  z-index: 1100;
  list-style: none;
}

/*
 * Невидимый мост между пунктом меню
 * и выпадающим меню.
 *
 * Сам dropdown остаётся на 12px ниже,
 * но эта область физически остаётся
 * частью dropdown и не даёт hover потеряться.
 */

.sb-menu-orbital .sub-menu::before {
  content: "";

  position: absolute;

  top: -13px;

  left: 0;

  right: 0;

  height: 13px;

  background: transparent;
}

/*
 * Открытое состояние.
 */

.sb-menu-orbital > li:hover > .sub-menu,
.sb-menu-orbital > li.menu-item-has-children.is-menu-open > .sub-menu {
  opacity: 1;

  visibility: visible;

  transform: translateX(-50%) translateY(0);

  pointer-events: auto;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s;
}

.sb-menu-orbital .sub-menu ul {
  list-style: none;

  margin: 0;

  padding: 0;
}

.sb-menu-orbital .sub-menu a {
  display: block;

  padding: 8px 12px;

  color: var(--sb-color-text, #ffffff);

  text-decoration: none;

  font-size: 14px;

  border-radius: 8px;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sb-menu-orbital .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);

  color: var(--sb-color-accent, #d4af37);
}

/* ==========================================================================
   Burger Button
   ========================================================================== */

.sb-header-orbital-burger {
  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 4px;

  width: 40px;

  height: 40px;

  background: transparent;

  border: none;

  cursor: pointer;

  padding: 0;
}

.sb-burger-bar {
  width: 18px;

  height: 2px;

  background-color: var(--sb-color-text, #ffffff);

  border-radius: 2px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* ==========================================================================
   Mobile Overlay
   ========================================================================== */

.sb-header-orbital-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.6);

  backdrop-filter: blur(4px);

  z-index: 1001;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

.sb-header-orbital-overlay.is-active {
  opacity: 1;

  visibility: visible;

  transition:
    opacity 0.3s ease,
    visibility 0s;
}

/* ==========================================================================
   Mobile Sidebar
   ========================================================================== */

.sb-header-orbital-sidebar {
  position: fixed;

  top: 0;

  right: 0;

  bottom: 0;

  width: 320px;

  max-width: 85vw;

  background: var(--sb-color-bg-alt, #142620);

  z-index: 1002;

  transform: translateX(100%);

  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  display: flex;

  flex-direction: column;

  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.sb-header-orbital-sidebar.is-active {
  transform: translateX(0);
}

.sb-header-orbital-sidebar-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 20px;

  border-bottom: 1px solid var(--sb-color-border, rgba(255, 255, 255, 0.1));
}

.sb-header-orbital-sidebar-header .sb-brand-link {
  display: flex;

  align-items: center;

  gap: 12px;

  color: var(--sb-color-text, #ffffff);

  text-decoration: none;

  font-weight: 600;
}

.sb-header-orbital-sidebar-close {
  background: none;

  border: none;

  color: var(--sb-color-text, #ffffff);

  font-size: 28px;

  line-height: 1;

  cursor: pointer;
}

.sb-header-orbital-sidebar-content {
  padding: 20px;

  overflow-y: auto;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */

.sub-menu-mobile-nav {
  list-style: none;

  margin: 0;

  padding: 0;
}

.sb-mobile-item-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 10px 0;

  border-bottom: 1px solid var(--sb-color-border, rgba(255, 255, 255, 0.05));
}

.sb-mobile-item-row a {
  color: var(--sb-color-text, #ffffff);

  text-decoration: none;

  font-size: 16px;

  font-weight: 500;

  flex-grow: 1;
}

.sb-submenu-toggle {
  flex-shrink: 0;

  background: rgba(255, 255, 255, 0.1);

  border: none;

  color: var(--sb-color-text, #ffffff);

  width: 32px;

  height: 32px;

  border-radius: 50%;

  font-size: 18px;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.sb-submenu-toggle.is-expanded {
  transform: rotate(45deg);

  background: var(--sb-color-accent, #d4af37);

  color: #000;
}

.sub-menu-mobile {
  list-style: none;

  margin: 0;

  padding: 0 0 0 16px;

  display: none;
}

.sub-menu-mobile.is-open {
  display: block;
}

.sub-menu-mobile a {
  display: block;

  padding: 8px 0;

  color: var(--sb-color-muted, #8a9e97);

  text-decoration: none;

  font-size: 14px;
}

/* ==========================================================================
   Mobile Adaptivity
   ========================================================================== */

@media (max-width: 1480px) {
  .sb-header-orbital-nav-zone {
    display: none;
  }

  .sb-header-orbital-burger {
    display: flex;
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    transition-duration: 0.01ms !important;
  }
}


/* ===== Footer variant: dark-matrix ===== */
/* ==========================================================================
   Dark Matrix Columns Footer
   ========================================================================== */

.sb-ft-dark-matrix {
  --sb-ft-ink: #030305;

  position: relative;
  background-color: var(--sb-ft-ink);
  background-image: radial-gradient(
    color-mix(in srgb, var(--sb-color-text) 5%, transparent) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  color: var(--sb-color-muted, #9b8bb0);
  font-family: var(--sb-font-body);
  font-size: var(--sb-font-size, 16px);
  padding-top: 80px;
  padding-bottom: 60px;
  margin-top: 60px;
}

.sb-ft-dark-matrix::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--sb-color-accent) 45%, transparent) 40%,
    color-mix(in srgb, var(--sb-color-link) 35%, transparent) 60%,
    transparent
  );
  opacity: 0.6;
  pointer-events: none;
}

.sb-ft-gradient-fade {
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--sb-ft-ink));
  pointer-events: none;
}

.sb-ft-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.sb-ft-main-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
}

.sb-ft-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sb-ft-logo {
  font-family: var(--sb-font-heading, serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sb-color-text, #ede9f2);
  text-decoration: none;
  transition: color 0.25s ease;
}

.sb-ft-logo:hover {
  color: var(--sb-color-link-hover, #c084fc);
}

.sb-ft-tagline {
  margin: 16px 0 24px 0;
  max-width: 32ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--sb-color-muted, #9b8bb0);
}

.sb-ft-copyright {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--sb-color-muted, #9b8bb0);
  border-top: 1px solid
    color-mix(in srgb, var(--sb-color-border) 45%, transparent);
  padding-top: 16px;
  margin-top: 8px;
}

.sb-ft-copyright p {
  margin: 0 0 4px 0;
}

.sb-ft-copyright p:last-child {
  margin-bottom: 0;
}

.sb-ft-rights {
  opacity: 0.75;
}

.sb-ft-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.sb-ft-col {
  display: flex;
  flex-direction: column;
}

.sb-ft-heading {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sb-color-link);
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.sb-ft-heading::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--sb-color-accent);
  opacity: 0.85;
}

.sb-ft-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sb-ft-menu li {
  margin: 0;
}

.sb-ft-menu a {
  display: inline-block;
  color: var(--sb-color-muted, #9b8bb0);
  text-decoration: none;
  font-size: 0.88rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.sb-ft-menu a:hover {
  color: var(--sb-color-link-hover, #c084fc);
  transform: translateX(3px);
}

.sb-ft-menu a:focus-visible {
  outline: 2px solid var(--sb-color-link);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .sb-ft-main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sb-ft-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sb-ft-container {
    padding: 0 20px;
  }

  .sb-ft-nav-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sb-ft-tagline {
    max-width: none;
  }
}


/* ===== Operators variant: grid ===== */
/* Operators variant: grid — tiles, two per row on desktop. */
.sb-site .sb-operators .sb-operators-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.sb-site .sb-operators .sb-operator {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 18px 16px;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-top: 4px solid var(--sb-color-accent, #2563eb);
    border-radius: 10px;
    background: var(--sb-color-bg-alt, #f8fafc);
    overflow: hidden;
}
.sb-site .sb-operators .sb-operator-rank {
    position: absolute;
    top: 6px;
    right: 12px;
    font-family: var(--sb-font-heading, inherit);
    font-size: 2.6em;
    font-weight: 900;
    line-height: 1;
    color: var(--sb-color-accent, #2563eb);
    opacity: .22;
}
.sb-site .sb-operators .sb-operator-body { position: relative; }
.sb-site .sb-operators .sb-operator-name {
    margin: 0 48px 12px 0;
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.12em;
    line-height: 1.3;
}
.sb-site .sb-operators .sb-operator-name strong { color: var(--sb-color-text, inherit); }
.sb-site .sb-operators .sb-operator-facts { margin: 0 0 12px; padding: 0; }
.sb-site .sb-operators .sb-operator-fact {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px dashed var(--sb-color-border, #e5e7eb);
    font-size: .88em;
    line-height: 1.4;
}
.sb-site .sb-operators .sb-operator-fact dt {
    flex: 0 0 auto;
    margin: 0;
    font-weight: 600;
    color: var(--sb-color-muted, #6b7280);
}
.sb-site .sb-operators .sb-operator-fact dt::after { content: none; }
.sb-site .sb-operators .sb-operator-fact dd {
    margin: 0;
    text-align: right;
    color: var(--sb-color-text, inherit);
}
.sb-site .sb-operators .sb-operator-desc {
    margin: 0;
    font-size: .88em;
    line-height: 1.5;
    color: var(--sb-color-muted, #6b7280);
}
@media (max-width: 640px) {
    .sb-site .sb-operators .sb-operators-list { grid-template-columns: 1fr; }
}


/* ===== Heroes variant: split ===== */
/* Hero variant: split — text left, image right; colours follow the style. */
.sb-site .sb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 36px;
    margin: 0 0 40px;
    padding: 8px 0 28px;
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
}
.sb-site .sb-hero .sb-hero-media { order: 2; }
.sb-site .sb-hero .sb-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    object-fit: cover;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
}
.sb-site .sb-hero .sb-hero-inner { order: 1; max-width: none; margin: 0; padding: 0; }
.sb-site .sb-hero.sb-hero-noimg { grid-template-columns: minmax(0, 1fr); }
.sb-site .sb-hero .sb-hero-label {
    margin: 0 0 12px;
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sb-color-accent, #2563eb);
}
.sb-site .sb-hero .sb-hero-title { margin: 0 0 14px; line-height: 1.15; }
.sb-site .sb-hero .sb-hero-subtitle {
    margin: 0 0 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--sb-color-muted, inherit);
}
.sb-site .sb-hero .sb-hero-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    border-left: 4px solid var(--sb-color-accent, #2563eb);
    border-radius: 0 10px 10px 0;
    background: var(--sb-color-bg-alt, #f8fafc);
}
.sb-site .sb-hero .sb-hero-fact-label {
    font-size: .74em; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--sb-color-muted, #6b7280);
}
.sb-site .sb-hero .sb-hero-fact-text { color: var(--sb-color-text, inherit); line-height: 1.45; }
@media (max-width: 760px) {
    .sb-site .sb-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sb-site .sb-hero .sb-hero-media { order: 0; }
}

