/* ============================================================
   ДИЗАЙН-СИСТЕМА LIQUID GLASS — РАСКЛАДКА
   ------------------------------------------------------------
   Внутри: контейнер .ls-shell, ритм секций .ls-section,
           каркас парящего навбара и подвал. Кнопки, пилюли
           и переключатели живут в ds/controls.css, стекло
           навбара — класс .ls-glass из ds/glass.css.
   Зависит: от ds/tokens.css; навбару нужен ещё ds/glass.css.
   Точки перелома: 960px — меню навбара скрывается.
   ============================================================ */

/* Оболочка сетки */

.ls-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   ВЕРХНИЙ РЕГИОН: FLOATING НАВБАР
   ============================================================ */

.ls-top-region {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  pointer-events: none;
}

/* Floating Glass Navbar */

.ls-nav-island {
  pointer-events: auto;
  width: 100%;
  max-width: 1160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 18px;
  border-radius: var(--ls-r-pill);
  transition: all 0.3s ease;
}

.ls-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ls-text-primary);
}

.ls-brand-symbol {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ls-ink);
  border: var(--ls-bevel) solid var(--ls-white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 13.5px;
  letter-spacing: -0.04em;
  color: var(--ls-white);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.45), 0 4px 12px -2px rgba(15, 23, 42, 0.2);
}

[data-theme="dark"] .ls-brand-symbol {
  background: var(--ls-white);
  color: var(--ls-ink-on-white);
  border-color: var(--ls-white);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.9), 0 4px 14px -2px rgba(255, 255, 255, 0.3);
}

.ls-brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ls-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.ls-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ls-text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--ls-r-pill);
  transition: all 0.2s ease;
}

.ls-nav-link:hover {
  color: var(--ls-text-primary);
  background: var(--ls-surface-subtle);
}

.ls-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ls-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.ls-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

/* ============================================================
   ПОДВАЛ САЙТА
   ============================================================ */

.ls-footer {
  padding: 48px 0;
  border-top: var(--ls-border-subtle);
  position: relative;
  z-index: 10;
}

.ls-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ls-footer-copy {
  font-size: 13.5px;
  color: var(--ls-text-secondary);
}

.ls-footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.ls-footer-link {
  font-size: 13.5px;
  color: var(--ls-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ls-footer-link:hover {
  color: var(--ls-text-primary);
}

@media (max-width: 960px) {
  .ls-nav-menu {
    display: none;
  }
}
