/* Базовая визуальная система каркаса Website: тёмная тема, навигация и адаптивная сетка. */
:root {
  color-scheme: dark;
  --site-bg: #0a0a0a;
  --site-panel: #151515;
  --site-panel-soft: #1b1b1b;
  --site-border: #333;
  --site-text: #ededed;
  --site-muted: #a2a2a2;
  --site-accent: #c0a050;
  --site-accent-light: #e0c878;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #102d32;
  color: var(--site-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; text-decoration: none; }

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  background: transparent;
  animation-duration: 0.48s;
  animation-timing-function: ease-in-out;
}

::view-transition-old(root) {
  animation: site-view-transition-old 0.24s ease-in forwards;
}

::view-transition-new(root) {
  animation: site-view-transition-new 0.24s ease-out 0.24s both;
}

@keyframes site-view-transition-old {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes site-view-transition-new {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #f7faf8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.48s ease-in-out;
  will-change: opacity;
}

.site-page-transition.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-shell { min-height: 100vh; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 0;
  background: transparent;
}

.site-header-inner {
  width: min(1400px, calc(100% - 2.5rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 0 0 auto;
}

.site-brand-mark {
  color: var(--site-accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.site-brand-name {
  color: var(--site-text);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.site-style-menu { position: relative; }

.site-style-toggle {
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(220, 255, 245, 0.52);
  border-radius: 999px;
  background: rgba(7, 45, 49, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 25, 28, 0.18);
  color: #f2fff9;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.site-style-toggle:hover,
.site-style-toggle:focus-visible,
.site-style-toggle[aria-expanded="true"] {
  border-color: rgba(212, 255, 156, 0.95);
  background: rgba(40, 139, 113, 0.65);
  outline: none;
}

.site-style-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: min(420px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid rgba(220, 255, 245, 0.42);
  border-radius: 22px;
  background: rgba(4, 31, 37, 0.78);
  box-shadow: 0 24px 70px rgba(0, 20, 25, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.2);
}

.site-style-panel-heading { padding: 0.25rem 0.35rem 0.8rem; }
.site-style-panel-heading h2 { margin: 0; color: #fff; font-size: 1.1rem; }
.site-style-panel-heading p { margin: 0.4rem 0 0; color: rgba(240, 255, 250, 0.72); font-size: 0.82rem; line-height: 1.45; }
.site-style-group { padding: 0.85rem 0.35rem; border-top: 1px solid rgba(220, 255, 245, 0.16); }
.site-style-group h3 { margin: 0; color: #e5ffbf; font-size: 0.92rem; }
.site-style-group > p { margin: 0.35rem 0 0.65rem; color: rgba(240, 255, 250, 0.7); font-size: 0.78rem; line-height: 1.4; }
.site-style-options { display: grid; gap: 0.45rem; }
.site-style-option { display: grid; gap: 0.18rem; padding: 0.65rem 0.75rem; border: 1px solid rgba(220, 255, 245, 0.2); border-radius: 13px; background: rgba(255, 255, 255, 0.06); color: #f2fff9; cursor: pointer; text-align: left; font: inherit; }
.site-style-option:hover, .site-style-option:focus-visible, .site-style-option.is-active { border-color: rgba(212, 255, 156, 0.88); background: rgba(42, 145, 118, 0.42); outline: none; }
.site-style-option strong { font-size: 0.84rem; }
.site-style-option span { color: rgba(240, 255, 250, 0.7); font-size: 0.75rem; line-height: 1.35; }

.site-nav-link {
  padding: 0.55rem 0.62rem;
  border: 1px solid rgba(220, 255, 245, 0.42);
  border-radius: 999px;
  background: rgba(7, 45, 49, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 25, 28, 0.18);
  color: #f2fff9;
  font-size: 0.78rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  backdrop-filter: blur(12px);
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link[aria-current="page"] {
  border-color: rgba(212, 255, 156, 0.95);
  background: rgba(40, 139, 113, 0.58);
  color: #fff;
  outline: none;
}

.site-main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.site-hero {
  position: relative;
  isolation: isolate;
  --hero-pointer-x: 0px;
  --hero-pointer-y: 0px;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(8rem, 16vh, 12rem) max(1.25rem, 7vw) 7rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(3, 20, 25, 0.78) 0%, rgba(3, 20, 25, 0.38) 46%, rgba(3, 20, 25, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 16, 25, 0.08), rgba(2, 16, 25, 0.28));
  overflow: hidden;
  box-shadow: none;
}

.site-hero > * { position: relative; z-index: 1; }

.site-hero-backgrounds {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto;
}

.site-hero > .site-hero-backgrounds {
  position: absolute;
  z-index: 0;
}

.site-hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity, transform;
}

.site-hero-background.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .site-hero-background { transition: none; animation: none !important; }
}

.site-style-canvas {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-real-layers {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  overflow: hidden;
  pointer-events: none;
}

.site-layer {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  will-change: transform, opacity;
}

.site-layer-leaves { transform: translate3d(calc(var(--hero-pointer-x) * -0.7), calc(var(--hero-pointer-y) * -0.45), 0) scale(1.04); }
.site-layer-clouds { transform: translate3d(calc(var(--hero-pointer-x) * 0.3), calc(var(--hero-pointer-y) * 0.16), 0) scale(1.04); }
.site-layer-water { transform: translate3d(calc(var(--hero-pointer-x) * -0.15), calc(var(--hero-pointer-y) * -0.08), 0) scale(1.04); }
.site-layer-light { transform: translate3d(calc(var(--hero-pointer-x) * 0.22), calc(var(--hero-pointer-y) * 0.12), 0) scale(1.04); mix-blend-mode: screen; }

.site-shell[data-background-style="parallax-pointer"] .site-layer,
.site-shell[data-background-style="parallax-depth"] .site-layer,
.site-shell[data-background-style="original-6-combined"] .site-layer { opacity: 0.42; }
.site-shell[data-background-style="parallax-pointer"] .site-layer-leaves,
.site-shell[data-background-style="parallax-depth"] .site-layer-leaves { opacity: 0.72; }
.site-shell[data-background-style="parallax-pointer"] .site-layer-clouds,
.site-shell[data-background-style="parallax-depth"] .site-layer-clouds { opacity: 0.5; }
.site-shell[data-background-style="parallax-depth"] .site-layer-leaves { transform: translate3d(calc(var(--hero-pointer-x) * -1.8), calc(var(--hero-pointer-y) * -1.2), 0) scale(1.08); }
.site-shell[data-background-style="parallax-depth"] .site-layer-clouds { transform: translate3d(calc(var(--hero-pointer-x) * 0.65), calc(var(--hero-pointer-y) * 0.35), 0) scale(1.06); }

.site-shell[data-background-style="light-breathe"] .site-layer-light,
.site-shell[data-background-style="original-5-light"] .site-layer-light,
.site-shell[data-background-style="video-sunrise"] .site-layer-light,
.site-shell[data-background-style="video-valley"] .site-layer-light { opacity: 0.72; animation: real-layer-light-breathe 7s ease-in-out infinite alternate; }
.site-shell[data-background-style="light-trails"] .site-layer-light { opacity: 0.8; animation: real-layer-light-trails 9s ease-in-out infinite alternate; }
.site-shell[data-background-style="light-points"] .site-layer-light { opacity: 0.68; animation: real-layer-light-points 8s ease-in-out infinite alternate; }

.site-shell[data-background-style="nature-air"] .site-layer-clouds { opacity: 0.32; animation: real-layer-air 12s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-leaves"] .site-layer-leaves { opacity: 0.92; animation: real-layer-leaves 5s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-clouds"] .site-layer-clouds,
.site-shell[data-background-style="video-clouds"] .site-layer-clouds { opacity: 0.78; animation: real-layer-clouds 22s linear infinite alternate; }
.site-shell[data-background-style="nature-water"] .site-layer-water { opacity: 0.8; animation: real-layer-water 7s ease-in-out infinite alternate; }
.site-shell[data-background-style="video-valley"] .site-layer-clouds { opacity: 0.46; animation: real-layer-clouds 24s linear infinite alternate; }
.site-shell[data-background-style="video-valley"] .site-layer-water { opacity: 0.38; animation: real-layer-water 9s ease-in-out infinite alternate; }

.site-hero::before {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: radial-gradient(circle at 72% 34%, rgba(255, 205, 105, 0.58), transparent 24%), radial-gradient(circle at 28% 76%, rgba(82, 224, 255, 0.3), transparent 30%);
  content: "";
  opacity: 0;
  filter: blur(18px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-hero::after {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: radial-gradient(circle at 18% 28%, rgba(230, 255, 186, 0.8) 0 2px, transparent 4px), radial-gradient(circle at 64% 42%, rgba(114, 255, 224, 0.8) 0 2px, transparent 5px), radial-gradient(circle at 82% 72%, rgba(255, 220, 140, 0.72) 0 2px, transparent 4px);
  background-size: 28% 36%, 34% 42%, 42% 48%;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.site-shell[data-background-style="kenburns-soft"] .site-hero-background.is-active,
.site-shell[data-background-style="original-1-zoom-in"] .site-hero-background.is-active { animation: hero-image-zoom-in 11s ease-out both; }
.site-shell[data-background-style="kenburns-soft"] .site-hero-background,
.site-shell[data-background-style="original-1-zoom-in"] .site-hero-background { transform: scale(1.06); }
.site-shell[data-background-style="original-2-zoom-out"] .site-hero { animation: hero-zoom-out 18s ease-in-out infinite alternate; }
.site-shell[data-background-style="kenburns-drift"] .site-hero { animation: hero-combined-drift 20s ease-in-out infinite alternate; }
.site-shell[data-background-style="parallax-pointer"] .site-hero {
  animation: hero-parallax-pointer 16s ease-in-out infinite alternate;
  background-position: calc(50% + var(--hero-pointer-x)) calc(50% + var(--hero-pointer-y));
  background-size: 115% 115%;
}
.site-shell[data-background-style="parallax-scroll"] .site-hero { animation: hero-parallax-scroll 18s ease-in-out infinite alternate; }
.site-shell[data-background-style="parallax-depth"] .site-hero {
  animation: hero-parallax-depth 17s ease-in-out infinite alternate;
  background-position: calc(50% + var(--hero-pointer-x)) calc(50% + var(--hero-pointer-y));
  background-size: 122% 122%;
}
.site-shell[data-background-style="original-3-horizontal"] .site-hero {
  animation: hero-drift-horizontal 12s ease-in-out infinite alternate;
  background-size: 122% 122%;
}
.site-shell[data-background-style="original-4-vertical"] .site-hero {
  animation: hero-drift-vertical 12s ease-in-out infinite alternate;
  background-size: 122% 122%;
}
.site-shell[data-background-style="light-breathe"] .site-hero::before { animation: hero-light-breathe 7s ease-in-out infinite alternate; opacity: 1; }
.site-shell[data-background-style="light-breathe"] .site-hero::before { background: radial-gradient(ellipse at 72% 34%, rgba(255, 192, 70, 0.92), transparent 32%), radial-gradient(circle at 28% 76%, rgba(90, 236, 255, 0.42), transparent 34%); }
.site-shell[data-background-style="light-trails"] .site-hero::after {
  background: repeating-linear-gradient(112deg, transparent 0 12%, rgba(116, 255, 220, 0) 15%, rgba(116, 255, 220, 0.82) 16%, rgba(255, 220, 130, 0.58) 17%, rgba(116, 255, 220, 0) 19% 32%);
  background-size: 220% 220%;
  animation: hero-trails-sweep 8s linear infinite;
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 1;
}
.site-shell[data-background-style="light-points"] .site-hero::after { animation: hero-floating-points 9s ease-in-out infinite alternate; opacity: 1; }
.site-shell[data-background-style="original-5-light"] .site-hero::before {
  background: radial-gradient(ellipse at 71% 35%, rgba(255, 176, 50, 0.98), transparent 28%), radial-gradient(circle at 38% 52%, rgba(255, 229, 150, 0.48), transparent 42%);
  animation: hero-original-light-pulse 5s ease-in-out infinite alternate;
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: 1;
}
.site-shell[data-background-style="nature-air"] .site-hero { animation: hero-nature-air 15s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-air"] .site-hero::after { background: radial-gradient(ellipse at 22% 38%, rgba(202, 255, 218, 0.32), transparent 24%), radial-gradient(ellipse at 78% 54%, rgba(255, 255, 220, 0.2), transparent 30%); animation: nature-air-overlay 8s ease-in-out infinite alternate; opacity: 1; filter: blur(20px); mix-blend-mode: screen; }
.site-shell[data-background-style="nature-leaves"] .site-hero { animation: hero-nature-leaves 10s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-leaves"] .site-hero::after { background: radial-gradient(ellipse at 7% 22%, rgba(107, 224, 132, 0.55), transparent 16%), radial-gradient(ellipse at 94% 30%, rgba(164, 255, 143, 0.42), transparent 18%), radial-gradient(ellipse at 14% 76%, rgba(81, 192, 118, 0.32), transparent 16%); animation: nature-leaves-overlay 5s ease-in-out infinite alternate; opacity: 1; filter: blur(8px); mix-blend-mode: screen; }
.site-shell[data-background-style="nature-clouds"] .site-hero { animation: hero-video-clouds 24s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-clouds"] .site-hero::after { background: radial-gradient(ellipse at 18% 20%, rgba(255, 255, 255, 0.55), transparent 24%), radial-gradient(ellipse at 54% 16%, rgba(255, 240, 235, 0.46), transparent 27%), radial-gradient(ellipse at 88% 24%, rgba(255, 255, 255, 0.5), transparent 23%); animation: nature-clouds-overlay 22s linear infinite alternate; opacity: 1; filter: blur(12px); mix-blend-mode: screen; }
.site-shell[data-background-style="nature-water"] .site-hero { animation: hero-nature-water 12s ease-in-out infinite alternate; }
.site-shell[data-background-style="nature-water"] .site-hero::after { inset: 45% -10% -10%; background: repeating-linear-gradient(174deg, transparent 0 8%, rgba(150, 255, 239, 0.28) 9%, transparent 11% 18%); background-size: 100% 180%; animation: nature-water-ripples 7s ease-in-out infinite alternate; opacity: 1; mix-blend-mode: screen; }
.site-shell[data-background-style="video-sunrise"] .site-hero { animation: hero-video-sunrise 24s ease-in-out infinite alternate; }
.site-shell[data-background-style="video-sunrise"] .site-hero::before { animation: hero-original-light-pulse 7s ease-in-out infinite alternate; opacity: 1; }
.site-shell[data-background-style="video-clouds"] .site-hero { animation: hero-video-clouds 24s ease-in-out infinite alternate; }
.site-shell[data-background-style="video-clouds"] .site-hero::after { background: radial-gradient(ellipse at 20% 18%, rgba(255,255,255,.58), transparent 25%), radial-gradient(ellipse at 70% 20%, rgba(255,235,230,.5), transparent 28%); animation: nature-clouds-overlay 18s linear infinite alternate; opacity: 1; filter: blur(10px); mix-blend-mode: screen; }
.site-shell[data-background-style="video-valley"] .site-hero { animation: hero-video-valley 20s ease-in-out infinite alternate; }
.site-shell[data-background-style="video-valley"] .site-hero::before { animation: hero-light-breathe 8s ease-in-out infinite alternate; opacity: 1; }
.site-shell[data-background-style="canvas-particles"] .site-style-canvas,
.site-shell[data-background-style="canvas-waves"] .site-style-canvas,
.site-shell[data-background-style="canvas-depth"] .site-style-canvas { opacity: 1; }
.site-shell[data-background-style="original-6-combined"] .site-hero {
  animation: hero-combined-drift 20s ease-in-out infinite alternate;
  background-position: calc(50% + var(--hero-pointer-x)) calc(50% + var(--hero-pointer-y));
  background-size: 115% 115%;
}
.site-shell[data-background-style="original-6-combined"] .site-hero::before { animation: hero-light-breathe 6s ease-in-out infinite alternate; opacity: 1; }

@keyframes hero-zoom-in {
  from { background-size: 100% 100%; }
  to { background-size: 113% 113%; }
}

@keyframes hero-image-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes hero-zoom-out {
  from { background-size: 114% 114%; }
  to { background-size: 100% 100%; }
}

@keyframes hero-drift-horizontal {
  from { background-position: 26% 50%; }
  to { background-position: 74% 50%; }
}

@keyframes hero-drift-vertical {
  from { background-position: 50% 24%; }
  to { background-position: 50% 76%; }
}

@keyframes hero-combined-drift {
  from { background-position: calc(46% + var(--hero-pointer-x)) calc(48% + var(--hero-pointer-y)); }
  to { background-position: calc(54% + var(--hero-pointer-x)) calc(52% + var(--hero-pointer-y)); }
}

@keyframes hero-parallax-pointer {
  from { background-position: calc(47% + var(--hero-pointer-x)) calc(49% + var(--hero-pointer-y)); }
  to { background-position: calc(53% + var(--hero-pointer-x)) calc(51% + var(--hero-pointer-y)); }
}

@keyframes hero-parallax-scroll {
  from { background-position: 50% calc(46% + var(--hero-scroll-y, 0px)); }
  to { background-position: 50% calc(54% + var(--hero-scroll-y, 0px)); }
}

@keyframes hero-parallax-depth {
  from { background-position: calc(47% + var(--hero-pointer-x)) calc(48% + var(--hero-pointer-y)); }
  to { background-position: calc(55% + var(--hero-pointer-x)) calc(53% + var(--hero-pointer-y)); }
}

@keyframes hero-trails-sweep {
  from { background-position: 0% 50%; opacity: 0.35; }
  50% { opacity: 0.95; }
  to { background-position: 100% 50%; opacity: 0.35; }
}

@keyframes hero-floating-points {
  from { opacity: 0.25; transform: translate(-2%, 1%) scale(0.96); }
  to { opacity: 0.95; transform: translate(3%, -2%) scale(1.06); }
}

@keyframes hero-nature-air {
  from { background-position: 49% 50%; }
  to { background-position: 53% 49%; }
}

@keyframes hero-nature-leaves {
  from { background-position: 48% 50%; }
  to { background-position: 55% 48%; }
}

@keyframes nature-air-overlay {
  from { transform: translateX(-5%) scale(0.94); opacity: 0.28; }
  to { transform: translateX(7%) scale(1.08); opacity: 0.8; }
}

@keyframes nature-leaves-overlay {
  from { transform: translateX(-3%) rotate(-1deg); opacity: 0.3; }
  to { transform: translateX(4%) rotate(1deg); opacity: 0.86; }
}

@keyframes nature-clouds-overlay {
  from { background-position: 0% 0%; transform: translateX(-4%); }
  to { background-position: 100% 8%; transform: translateX(5%); }
}

@keyframes nature-water-ripples {
  from { background-position: 0% 0%; transform: translateX(-2%) scaleY(0.94); }
  to { background-position: 0% 100%; transform: translateX(3%) scaleY(1.06); }
}

@keyframes hero-nature-water {
  from { background-position: 50% 51%; background-size: 101% 101%; }
  to { background-position: 50% 49%; background-size: 108% 108%; }
}

@keyframes hero-video-sunrise {
  from { background-position: 44% 52%; background-size: 104% 104%; }
  to { background-position: 57% 47%; background-size: 116% 116%; }
}

@keyframes hero-video-valley {
  from { background-position: 55% 46%; background-size: 112% 112%; }
  to { background-position: 45% 54%; background-size: 104% 104%; }
}

@keyframes hero-video-clouds {
  from { background-position: 42% 46%; background-size: 106% 106%; }
  to { background-position: 58% 52%; background-size: 114% 114%; }
}

@keyframes hero-light-breathe {
  from { opacity: 0.42; transform: scale(0.9) translate3d(-2%, 1%, 0); }
  to { opacity: 1; transform: scale(1.12) translate3d(3%, -2%, 0); }
}

@keyframes hero-original-light-pulse {
  from { opacity: 0.25; transform: scale(0.72) translate3d(-4%, 2%, 0); }
  50% { opacity: 0.95; }
  to { opacity: 0.42; transform: scale(1.2) translate3d(4%, -2%, 0); }
}

@keyframes real-layer-light-breathe { from { opacity: 0.38; transform: translate3d(-1%, 0, 0) scale(1.02); } to { opacity: 0.88; transform: translate3d(1%, -1%, 0) scale(1.07); } }
@keyframes real-layer-light-trails { from { transform: translate3d(-3%, 1%, 0) scale(1.04); } to { transform: translate3d(4%, -2%, 0) scale(1.1); } }
@keyframes real-layer-light-points { from { opacity: 0.34; transform: translate3d(-1%, 1%, 0) scale(1.03); } to { opacity: 0.84; transform: translate3d(2%, -2%, 0) scale(1.08); } }
@keyframes real-layer-air { from { transform: translate3d(-2%, 1%, 0) scale(1.04); } to { transform: translate3d(3%, -1%, 0) scale(1.08); } }
@keyframes real-layer-leaves { from { transform: translate3d(-2%, 0, 0) scale(1.04) rotate(-0.4deg); } to { transform: translate3d(2%, -1%, 0) scale(1.08) rotate(0.4deg); } }
@keyframes real-layer-clouds { from { transform: translate3d(-4%, 0, 0) scale(1.05); } to { transform: translate3d(5%, -1%, 0) scale(1.08); } }
@keyframes real-layer-water { from { transform: translate3d(-1%, 0, 0) scale(1.04); } to { transform: translate3d(2%, -1%, 0) scale(1.08); } }

.site-hero-content { max-width: 720px; }

.site-hero .site-eyebrow { font-size: clamp(1.12rem, 1.38vw, 1.32rem); letter-spacing: 0.2em; text-transform: none; }

.site-eyebrow {
  margin: 0;
  color: var(--site-accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-hero h1,
.site-section-heading h2,
.documents-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.site-hero h1 { max-width: none; font-size: clamp(3rem, 7.75vw, 6.88rem); white-space: nowrap; }

.site-quote {
  position: absolute;
  right: clamp(1.25rem, 7vw, 7rem);
  bottom: clamp(4.5rem, 10vh, 7rem);
  max-width: min(520px, 40vw);
  margin: 0;
  padding: 1rem 1.25rem 1rem 1.5rem;
  border-left: 2px solid rgba(212, 255, 156, 0.9);
  color: rgba(245, 255, 251, 0.92);
  font-size: clamp(1.38rem, 2.5vw, 1.82rem);
  font-style: italic;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 25, 25, 0.7);
}

.site-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
.site-entry-actions {
  justify-self: center;
  transform: translateY(1.25rem);
}

.site-auth-entry-open { overflow: hidden; }
.site-auth-entry-open .site-header,
.site-auth-entry-open .site-hero-content,
.site-auth-entry-open .site-entry-actions,
.site-auth-entry-open .site-quote {
  visibility: hidden;
}

.site-auth-entry {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: transparent;
  pointer-events: auto;
}

.site-auth-entry-panel {
  position: relative;
  width: min(100%, 470px);
  padding: 2.25rem;
  border: 1px solid rgba(220, 255, 245, 0.35);
  border-radius: 20px;
  background: #fff;
  color: #172326;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  pointer-events: auto;
}

.site-auth-entry-panel h2 { color: #172326; font-size: clamp(2rem, 7vw, 3.25rem); }
.site-auth-entry-panel .site-section-heading { margin-bottom: 1.5rem; }
.site-auth-entry-panel .site-section-heading p:not(.site-eyebrow) { color: #536267; }
.site-auth-entry-panel .site-eyebrow { color: #8d6f20; }
.site-auth-telegram-link-instruction { margin-top: .75rem; color: #536267; }

.site-auth-entry-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  border: 1px solid rgba(23, 35, 38, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #172326;
  cursor: pointer;
  font: inherit;
  font-size: 0;
}

.site-auth-entry-close::before { content: "×"; font-size: 1.35rem; line-height: 1; }
.site-auth-entry-close:hover,
.site-auth-entry-close:focus-visible { border-color: var(--site-accent); color: #8d6f20; outline: none; }

.site-auth-entry-actions { display: grid; gap: 0.75rem; }
.site-auth-entry-actions .site-button { width: 100%; }

.site-auth-form { display: grid; gap: 0.55rem; }
.site-auth-form label:not(.site-auth-checkbox) { color: #34464b; font-size: 0.86rem; font-weight: 700; }
.site-auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c6d0d0;
  border-radius: 8px;
  background: #fff;
  color: #172326;
  font: inherit;
}
.site-auth-form input:not([type="checkbox"]):focus { border-color: #9b7a26; outline: 2px solid rgba(155, 122, 38, 0.2); }
.site-auth-checkbox { display: flex; align-items: flex-start; gap: 0.55rem; margin: 0.35rem 0 0.6rem; color: #34464b; font-size: 0.84rem; line-height: 1.4; }
.site-auth-checkbox input { margin-top: 0.2rem; accent-color: #9b7a26; }
.site-auth-back { border: 0; background: transparent; color: #8d6f20; cursor: pointer; font: inherit; font-weight: 700; }
.site-auth-back:hover, .site-auth-back:focus-visible { color: #5f4811; outline: none; }
.site-auth-help-links { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; }
.site-auth-help-link { font-size: 0.75rem; font-weight: 600; }
.site-auth-form-status { margin: 0.25rem 0 0; color: #536267; font-size: 0.82rem; text-align: center; }
.site-auth-form-status.is-success { color: #2e7d32; font-weight: 700; }
.site-auth-account-summary { color: #536267 !important; font-size: 0.9rem; overflow-wrap: anywhere; }
.site-auth-account-id-box { display: grid; gap: 0.45rem; margin: 0.5rem 0 1rem; padding: 0.85rem; border: 1px solid #d8c27a; border-radius: 8px; background: #fff9e5; color: #4c3a0d; }
.site-auth-account-id-box p { margin: 0; color: #705b25; font-size: 0.78rem; line-height: 1.4; }
.site-auth-recovery-box { display: grid; gap: 0.45rem; margin: 0.5rem 0 1rem; padding: 0.85rem; border: 1px solid #d8c27a; border-radius: 8px; background: #fff9e5; color: #4c3a0d; }
.site-auth-recovery-box code { padding: 0.55rem; border-radius: 6px; background: #fff; color: #172326; font: 700 0.9rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.site-auth-recovery-code-row { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
.site-auth-recovery-code-row code { flex: 1; min-width: 0; }
.site-auth-copy-button { display: inline-grid; flex: 0 0 2.85rem; width: 2.85rem; height: 2.85rem; place-items: center; padding: 0; border: 1px solid #d8c27a; border-radius: 8px; background: #fff; color: #705b25; cursor: pointer; }
.site-auth-copy-button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-auth-copy-button:hover, .site-auth-copy-button:focus-visible { background: #fff9e5; color: #4c3a0d; outline: 2px solid rgba(155, 122, 38, 0.25); }
.site-auth-copy-button.is-copied { border-color: #6fb487; color: #287a46; }
.site-auth-recovery-box p { margin: 0; color: #705b25; font-size: 0.78rem; line-height: 1.4; }

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--site-accent);
  border-radius: 8px;
  background: var(--site-accent);
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-button:hover,
.site-button:focus-visible { background: var(--site-accent-light); outline: none; transform: translateY(-1px); }

.site-button.secondary { background: transparent; color: var(--site-accent-light); }

.site-button.site-entry-button {
  min-width: 163px;
  min-height: 55px;
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  color: #fff;
  font-size: 1.125rem;
}

.site-section { padding-top: 5.5rem; }

.site-section-heading { display: grid; gap: 0.8rem; margin-bottom: 1.5rem; }
.site-section-heading h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.site-section-heading p { max-width: 680px; margin: 0; color: var(--site-muted); line-height: 1.6; }

.site-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-panel);
}

.site-card:hover { border-color: rgba(192, 160, 80, 0.6); }
.site-card h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.site-card p { margin: 0; color: var(--site-muted); line-height: 1.5; }
.site-card-link { color: var(--site-accent-light); font-size: 0.86rem; font-weight: 700; }

.documents-hero { display: grid; gap: 1rem; padding-bottom: 2.5rem; }
.documents-hero h1 { font-size: clamp(2rem, 5vw, 4rem); }
.documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.document-card { min-height: 220px; }
.document-card.is-available { border-color: rgba(192, 160, 80, 0.65); }
.document-card-status { color: var(--site-accent-light); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
.documents-tabs { display: flex; gap: .6rem; margin: 0 0 2rem; border-bottom: 1px solid var(--site-border); }
.documents-tab {
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 7px 7px 0 0;
  color: var(--site-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.documents-tab:hover,
.documents-tab:focus-visible,
.documents-tab.is-active { border-bottom-color: var(--site-accent); color: var(--site-accent-light); outline: none; }
.document-registry-panel { max-width: 900px; }
.document-registry-form { display: grid; gap: .55rem; max-width: 760px; }
.document-registry-form label { color: var(--site-accent-light); font-weight: 700; }
.document-registry-input-row { display: flex; gap: .7rem; }
.document-registry-input-row input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: .7rem .85rem;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  color: var(--site-text);
  background: var(--site-panel);
  font: inherit;
}
.document-registry-input-row input:focus { border-color: var(--site-accent); outline: none; }
.document-registry-message { margin: 1rem 0 0; color: var(--site-muted); }
.document-registry-message.success { color: #8bd48b; }
.document-registry-message.error { color: #c62828; font-weight: 700; }
.document-registry-result {
  max-width: 900px;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-panel);
}
.document-registry-result h3 { margin: 0 0 1rem; color: #fff; }
.document-registry-result dl { display: grid; grid-template-columns: minmax(150px, .5fr) 1fr; gap: .7rem 1rem; margin: 0; }
.document-registry-result dt { color: var(--site-muted); font-weight: 700; }
.document-registry-result dd { margin: 0; color: var(--site-text); overflow-wrap: anywhere; }
.document-registry-result dd.registry-status-active { color: #8bd48b; font-weight: 700; }
.document-registry-result dd.registry-status-invalid { color: #d32f2f; font-weight: 700; }
.documents-profile-panel { max-width: 760px; }
.documents-profile-form { display: grid; gap: 1rem; max-width: 620px; }
.documents-profile-field { display: grid; gap: .5rem; }
.documents-profile-field label { color: var(--site-accent-light); font-weight: 700; }
.documents-profile-value-row { display: flex; align-items: center; gap: .7rem; }
.documents-profile-value-row code { flex: 1; min-width: 0; padding: .8rem .85rem; border: 1px solid var(--site-border); border-radius: 8px; background: rgba(10, 10, 10, .72); color: var(--site-text); font: 700 1rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.documents-profile-field input { min-height: 44px; padding: .7rem .85rem; border: 1px solid var(--site-border); border-radius: 8px; background: rgba(10, 10, 10, .72); color: var(--site-text); font: inherit; }
.documents-profile-field input:focus { border-color: var(--site-accent); outline: none; }
.documents-profile-field input:disabled { opacity: .82; cursor: not-allowed; }
.documents-profile-copy { min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--site-border); border-radius: 8px; background: transparent; color: var(--site-accent-light); cursor: pointer; font: inherit; font-weight: 700; }
.documents-profile-copy:hover, .documents-profile-copy:focus-visible { border-color: var(--site-accent); outline: none; }
.documents-profile-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.documents-profile-message { margin: 0; color: #8bd48b; }
.documents-profile-message.error { color: #c62828; font-weight: 700; }
.documents-profile-telegram { display: grid; gap: .8rem; max-width: 620px; }
.documents-profile-telegram-status { margin: 0; color: #536267; line-height: 1.5; }
.documents-profile-telegram-hint { margin: 0; color: #536267; line-height: 1.5; }
.documents-profile-divider { height: 1px; margin: 2rem 0; background: var(--site-border); }
.documents-profile-subheading { margin-bottom: 1rem; }
.documents-profile-subheading h3 { margin: 0 0 .35rem; color: #172326; font-size: 1.35rem; font-weight: 700; }
.documents-profile-subheading p { margin: 0; color: #536267; font-size: 1rem; line-height: 1.6; }
.documents-profile-heading-copy { display: grid; gap: .35rem; }
.documents-profile-subheading-label { margin: 0 !important; color: #172326 !important; font-size: 1.35rem !important; font-weight: 700; line-height: 1.3 !important; }
.yes-no-confirm-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem; background: rgba(0, 12, 16, .62); }
.yes-no-confirm { display: grid; width: min(100%, 420px); gap: .75rem; margin: 0; padding: 1.5rem; border: 1px solid var(--site-accent); border-radius: 12px; background: #fff; color: #172326; box-shadow: 0 24px 80px rgba(0, 0, 0, .48); }
.yes-no-confirm strong { color: var(--site-accent-light); }
.yes-no-confirm p { margin: 0; color: #536267; line-height: 1.4; }
.yes-no-confirm-actions { display: flex; justify-content: flex-end; gap: .7rem; }
.yes-no-confirm-actions button { min-height: 40px; padding: .6rem 1rem; border: 1px solid var(--site-border); border-radius: 7px; background: #5a5a5a; color: #fff; cursor: pointer; font: inherit; font-weight: 700; }
.yes-no-confirm-actions button:last-child { border-color: var(--site-accent); background: var(--site-accent); color: #fff; }
.yes-no-confirm-actions button:hover, .yes-no-confirm-actions button:focus-visible { border-color: var(--site-accent-light); outline: none; }
.hidden { display: none !important; }

/* Чистый рабочий интерфейс страницы документов без навигации витринного сайта. */
.documents-page {
  position: relative;
  background: #102d32;
  color: #172326;
}

.documents-backgrounds { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #102d32; }
.documents-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2s ease-in-out; }
.documents-background.is-active { opacity: 1; }
.documents-page > .site-shell { position: relative; z-index: 1; }

.documents-page .site-main {
  max-width: 1240px;
  padding: clamp(2rem, 6vw, 5rem) max(1.25rem, 5vw) 5rem;
}

.documents-workspace {
  min-height: calc(100vh - 7rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(30, 48, 52, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 20, 25, 0.28);
}

.documents-page .documents-hero {
  max-width: 760px;
  gap: 0.75rem;
  padding-bottom: 2rem;
}

.documents-page .documents-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.documents-page .site-lead {
  margin: 0;
  color: rgba(240, 255, 250, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.documents-page .documents-tabs {
  gap: 0.75rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(30, 48, 52, 0.18);
}

.documents-page .documents-tab {
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(30, 48, 52, 0.18);
  border-bottom-color: rgba(30, 48, 52, 0.18);
  border-radius: 12px 12px 0 0;
  background: #fff;
  color: #536267;
}

.documents-page .documents-tab:hover,
.documents-page .documents-tab:focus-visible,
.documents-page .documents-tab.is-active {
  border-color: rgba(155, 122, 38, 0.72);
  border-bottom-color: var(--site-accent);
  background: #fff9e5;
  color: #8d6f20;
}
.documents-sign-out { flex: 0 0 auto; align-self: stretch; min-height: 3rem; margin-left: auto; padding: .8rem 1.15rem; border: 1px solid #9b7a26; border-radius: 12px 12px 0 0; color: #8d6f20; font-weight: 700; }
.documents-sign-out:hover, .documents-sign-out:focus-visible { border-color: #5f4811; background: #fff9e5; color: #5f4811; outline: none; }

.documents-page .site-eyebrow { color: #8d6f20; }
.documents-page #documents-profile-title { color: #9b7a26; }
.documents-page .site-section-heading h2 { color: #9b7a26; }
.documents-page .site-section-heading > .site-eyebrow {
  color: #172326;
  font-size: 1.35rem;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}
.documents-page .site-section-heading h3,
.documents-page .document-registry-result h3 { color: #172326; }
.documents-page .site-section-heading p:not(.site-eyebrow) { color: #536267; }

.documents-page .documents-grid {
  grid-template-columns: minmax(0, 460px);
}

.documents-page .document-card {
  min-height: 250px;
  padding: 1.5rem;
  border-radius: 18px;
  border-color: rgba(30, 48, 52, 0.18);
  background: #f7f8f6;
}

.documents-page .document-card h3 {
  color: #172326;
  font-size: 1.45rem;
}

.documents-page .document-card p {
  max-width: 34rem;
  font-size: 1rem;
  color: #536267;
}

.documents-page .document-registry-panel {
  max-width: 900px;
}

.documents-page .document-registry-result,
.documents-page .document-registry-input-row input {
  border-color: rgba(30, 48, 52, 0.18);
  background: #fff;
}

.documents-page .document-registry-form label { color: #8d6f20; }
.documents-page .document-registry-input-row input { color: #172326; }
.documents-page .document-registry-result dt { color: #536267; }
.documents-page .document-registry-result dd { color: #172326; }
.documents-page .document-registry-result dd.registry-status-active { color: #8bd48b; }
.documents-page .document-registry-result dd.registry-status-invalid { color: #c62828; }
.documents-page .documents-profile-field label { color: #8d6f20; }
.documents-page .documents-profile-value-row code,
.documents-page .documents-profile-field input { border-color: rgba(30, 48, 52, 0.18); background: #fff; color: #172326; }
.documents-page .documents-profile-copy { border-color: #9b7a26; color: #8d6f20; }
.documents-page .documents-profile-copy:hover, .documents-page .documents-profile-copy:focus-visible { border-color: #5f4811; }

@media (max-width: 980px) {
  .site-header-inner { align-items: flex-start; padding: 0.8rem 0; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .site-main { padding-top: 0; }
  .site-card-grid, .documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header-inner { width: min(100% - 1.25rem, 1400px); }
  .site-nav-link { padding: 0.45rem 0.5rem; font-size: 0.72rem; }
  .site-hero { min-height: 100vh; padding: 8rem 1.25rem 5rem; background-position: 58% center; }
  .site-quote { right: 1.25rem; bottom: 3.5rem; max-width: calc(100% - 2.5rem); }
  .site-card-grid, .documents-grid { grid-template-columns: 1fr; }
  .documents-tabs { overflow-x: auto; }
  .document-registry-input-row { flex-direction: column; }
  .document-registry-input-row .site-button { width: 100%; }
  .document-registry-result dl { grid-template-columns: 1fr; gap: .25rem; }
  .document-registry-result dd { margin-bottom: .65rem; }
  .documents-page .site-main { padding-top: 1rem; }
  .documents-workspace { padding: 1.25rem; border-radius: 18px; }
  .documents-page .documents-tabs { gap: 0.5rem; margin-bottom: 2rem; }
  .documents-page .documents-tab { flex: 1 1 0; padding-inline: 0.7rem; }
  .site-auth-entry-panel { padding: 2rem 1.25rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell .site-hero,
  .site-shell .site-hero::before,
  .site-shell .site-layer { animation: none !important; }
}
