:root {
  --font-display: "Outfit", "Source Sans 3", "Segoe UI", sans-serif;
  --font-pixel: var(--font-display);
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1.35rem, 4.5vw, 3rem);
  --max: 960px;
  --wide: 1120px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-btn: 0 10px 28px rgba(15, 55, 110, 0.22);
  --shadow-card: 0 20px 50px rgba(16, 24, 40, 0.07);
  --shadow-accent: rgba(16, 24, 40, 0.1);
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --warm: #c9853a;
  --warm-soft: rgba(201, 133, 58, 0.12);
  --bg: #f3f5f8;
  --bg-soft: #e8ecf1;
  --bg-elevated: #ffffff;
  --ink: #0e1520;
  --text: #2a3340;
  --muted: #667286;
  --line: rgba(14, 21, 32, 0.09);
  --accent: #1558a8;
  --accent-hover: #1f6bc7;
  --accent-ink: #ffffff;
  --accent-soft: rgba(21, 88, 168, 0.09);
  --panel-border: rgba(21, 88, 168, 0.22);
  --cookie-bg: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.78);
  --scene-bg: #e8ecf1;
  --scene-border: rgba(21, 88, 168, 0.28);
  --scroll-track: #e4e8ee;
  --scroll-thumb: #1558a8;
  --scroll-thumb-hover: #1f6bc7;
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] {
  --bg: #f3f5f8;
  --bg-soft: #e8ecf1;
  --bg-elevated: #ffffff;
  --ink: #0e1520;
  --text: #2a3340;
  --muted: #667286;
  --line: rgba(14, 21, 32, 0.09);
  --accent: #1558a8;
  --accent-hover: #1f6bc7;
  --accent-ink: #ffffff;
  --accent-soft: rgba(21, 88, 168, 0.09);
  --panel-border: rgba(21, 88, 168, 0.22);
  --cookie-bg: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.78);
  --shadow-accent: rgba(16, 24, 40, 0.08);
  --shadow-btn: 0 10px 28px rgba(15, 55, 110, 0.22);
  --shadow-card: 0 20px 50px rgba(16, 24, 40, 0.07);
  --scene-bg: #e8ecf1;
  --scene-border: rgba(21, 88, 168, 0.28);
  --scroll-track: #e4e8ee;
  --scroll-thumb: #1558a8;
  --scroll-thumb-hover: #1f6bc7;
  --warm: #c9853a;
  --warm-soft: rgba(201, 133, 58, 0.14);
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0b1017;
  --bg-soft: #121925;
  --bg-elevated: #172131;
  --ink: #f4f6f9;
  --text: #c9d1dc;
  --muted: #8b95a5;
  --line: rgba(244, 246, 249, 0.1);
  --accent: #5ba3ef;
  --accent-hover: #7bb6f3;
  --accent-ink: #071018;
  --accent-soft: rgba(91, 163, 239, 0.14);
  --panel-border: rgba(91, 163, 239, 0.28);
  --cookie-bg: #172131;
  --topbar-bg: rgba(11, 16, 23, 0.82);
  --shadow-accent: rgba(0, 0, 0, 0.4);
  --shadow-btn: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 24px 56px rgba(0, 0, 0, 0.4);
  --scene-bg: #121925;
  --scene-border: rgba(91, 163, 239, 0.3);
  --scroll-track: #121925;
  --scroll-thumb: #5ba3ef;
  --scroll-thumb-hover: #7bb6f3;
  --warm: #e0a06a;
  --warm-soft: rgba(224, 160, 106, 0.16);
  --hero-ink: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  color-scheme: dark;
}

html[data-font="large"] {
  font-size: 112%;
}

html[data-compact="true"] {
  --space: clamp(1rem, 3vw, 1.75rem);
}

html[data-compact="true"] .section {
  padding-block: 2.5rem;
}

html[data-compact="true"] .hero {
  min-height: min(72vh, 560px);
}

html[data-compact="true"] .hero-frame {
  min-height: 0;
  padding-block: 2rem 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid var(--scroll-track);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color var(--ease), color var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul, ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: var(--space);
  background: var(--bg);
  color: var(--ink);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
}

html.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.preloader-logo {
  width: 72px;
  height: auto;
  display: block;
}

.preloader-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.preloader-ring {
  width: 28px;
  height: 28px;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--accent);
  animation: ks-preloader-spin 0.75s linear infinite;
}

@keyframes ks-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

html[data-reduce-motion="true"] .preloader-ring {
  animation: none;
  opacity: 0.85;
}

html[data-reduce-motion="true"] .preloader {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .preloader-ring {
    animation: none;
    opacity: 0.85;
  }

  .preloader {
    transition: none;
  }
}

.skip-link {
  position: absolute;
  left: var(--space);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Фон в духе Banshee / marathon: линии, плюсы, блоки */
.geo-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.42;
  background: var(--bg);
}

html[data-theme="light"] .geo-field {
  opacity: 0.28;
}

html[data-theme="dark"] .geo-field {
  opacity: 0.5;
}

.geo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.geo-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 140 70;
  animation: geo-dash 24s linear infinite;
}

.geo-line-2 {
  animation-duration: 32s;
  animation-direction: reverse;
  opacity: 0.7;
}

.geo-line-3 {
  animation-duration: 28s;
  opacity: 0.45;
  stroke-dasharray: 90 50;
}

.geo-plus {
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  opacity: 0.55;
  transform-origin: center;
  animation: geo-plus-pulse 4.5s ease-in-out infinite;
}

.geo-plus-2 {
  animation-delay: -1.5s;
  opacity: 0.4;
}

.geo-plus-3 {
  animation-delay: -2.8s;
  opacity: 0.35;
  stroke: var(--warm);
}

.geo-block {
  fill: var(--accent);
  opacity: 0.045;
  animation: geo-block-drift 18s ease-in-out infinite;
}

.geo-block-2 {
  animation-duration: 22s;
  animation-delay: -6s;
  opacity: 0.035;
}

@keyframes geo-dash {
  to { stroke-dashoffset: -420; }
}

@keyframes geo-plus-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

@keyframes geo-block-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 8px); }
}

html[data-reduce-motion="true"] .geo-line,
html[data-reduce-motion="true"] .geo-plus,
html[data-reduce-motion="true"] .geo-block {
  animation: none;
}

.geo-field .px-layer,
.geo-field .px-sprite,
.geo-field .geo-orb {
  display: none !important;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--topbar-bg);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid var(--line);
}

.topbar.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(20, 28, 40, 0.06);
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem var(--space);
  min-height: var(--header-h);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: auto;
  height: 40px;
  background: none;
  box-shadow: none;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0;
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  text-decoration: none;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  text-decoration: none;
  box-shadow: none;
}

html[data-theme="light"] .nav a:hover {
  color: var(--ink);
  background: transparent;
}

html[data-theme="light"] .nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
}

html[data-theme="dark"] .nav a[aria-current="page"] {
  color: var(--ink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 42;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.icon-btn:hover {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: none;
}

.icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gear-svg {
  display: block;
  flex-shrink: 0;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
}

.icon-sun {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-moon {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 14.5A8.5 8.5 0 1 1 9.5 3 7 7 0 0 0 21 14.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-auto {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-gear {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13c.04-.3.06-.7.06-1s-.02-.7-.06-1l2.1-1.6c.2-.15.25-.42.13-.64l-2-3.46a.5.5 0 0 0-.6-.22l-2.49 1a7.03 7.03 0 0 0-1.73-1L14.5 2.5a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 0-.5.5l-.38 2.65c-.63.25-1.21.58-1.73 1l-2.49-1a.5.5 0 0 0-.6.22l-2 3.46a.5.5 0 0 0 .13.64L4.6 11c-.04.3-.06.7-.06 1s.02.7.06 1l-2.1 1.6a.5.5 0 0 0-.13.64l2 3.46c.14.24.43.34.6.22l2.49-1c.52.42 1.1.75 1.73 1l.38 2.65c.05.28.27.5.5.5h4c.23 0 .45-.22.5-.5l.38-2.65c.63-.25 1.21-.58 1.73-1l2.49 1c.17.12.46.02.6-.22l2-3.46a.5.5 0 0 0-.13-.64L19.4 13zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13c.04-.3.06-.7.06-1s-.02-.7-.06-1l2.1-1.6c.2-.15.25-.42.13-.64l-2-3.46a.5.5 0 0 0-.6-.22l-2.49 1a7.03 7.03 0 0 0-1.73-1L14.5 2.5a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 0-.5.5l-.38 2.65c-.63.25-1.21.58-1.73 1l-2.49-1a.5.5 0 0 0-.6.22l-2 3.46a.5.5 0 0 0 .13.64L4.6 11c-.04.3-.06.7-.06 1s.02.7.06 1l-2.1 1.6a.5.5 0 0 0-.13.64l2 3.46c.14.24.43.34.6.22l2.49-1c.52.42 1.1.75 1.73 1l.38 2.65c.05.28.27.5.5.5h4c.23 0 .45-.22.5-.5l.38-2.65c.63-.25 1.21-.58 1.73-1l2.49 1c.17.12.46.02.6-.22l2-3.46a.5.5 0 0 0-.13-.64L19.4 13zM12 15.5A3.5 3.5 0 1 1 12 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-sun,
.icon-moon,
.icon-auto,
.icon-menu,
.icon-close {
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.icon-menu {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon-close {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme-pref="auto"] .icon-sun,
html[data-theme-pref="auto"] .icon-moon,
html[data-theme-pref="light"] .icon-moon,
html[data-theme-pref="light"] .icon-auto,
html[data-theme-pref="dark"] .icon-sun,
html[data-theme-pref="dark"] .icon-auto {
  display: none;
}

html[data-theme-pref="light"] .icon-sun,
html[data-theme-pref="dark"] .icon-moon,
html[data-theme-pref="auto"] .icon-auto {
  display: block;
}

.menu-btn {
  display: none;
}

.settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 16, 22, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s;
}

.settings-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.settings-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(100%, 360px);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: -24px 0 48px rgba(20, 28, 40, 0.12);
  transform: translateX(calc(100% + 16px));
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.22, 1.15, 0.36, 1),
    visibility 0.42s,
    box-shadow 0.42s ease;
  will-change: transform;
}

.settings-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -24px 0 48px rgba(20, 28, 40, 0.14);
}

.settings-panel.is-closing {
  transform: translateX(calc(100% + 16px));
  transition:
    transform 0.32s ease,
    visibility 0.32s,
    box-shadow 0.32s ease;
}

.settings-panel[hidden],
.settings-backdrop[hidden] {
  display: block !important;
}

html[data-reduce-motion="true"] .settings-backdrop,
html[data-reduce-motion="true"] .settings-panel {
  transition: none !important;
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.settings-head h2 {
  font-family: var(--font-pixel);
  font-size: 1rem;
}

.settings-group {
  border: 1px solid var(--line);
  margin: 0 0 1rem;
  padding: 0.85rem;
}

.settings-group legend {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 0 0.35rem;
  color: var(--accent);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.seg label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.35rem;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  cursor: pointer;
  background: var(--bg);
}

.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.settings-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  cursor: pointer;
}

.settings-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.settings-hint {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: #0e1a2b;
}

.hero-cinema {
  isolation: isolate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #0b1017;
  transform-origin: left center;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(8, 14, 24, 0.88) 0%,
      rgba(8, 14, 24, 0.72) 26%,
      rgba(8, 14, 24, 0.32) 48%,
      rgba(8, 14, 24, 0.08) 68%,
      transparent 85%
    ),
    linear-gradient(
      180deg,
      rgba(8, 14, 24, 0.28) 0%,
      transparent 24%
    );
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
  image-rendering: auto;
  transform: scale(1.04);
  transform-origin: 55% 45%;
  filter: none;
}

html[data-theme="dark"] .hero-scrim {
  background:
    linear-gradient(
      105deg,
      rgba(6, 10, 16, 0.9) 0%,
      rgba(6, 10, 16, 0.74) 28%,
      rgba(6, 10, 16, 0.35) 52%,
      transparent 80%
    ),
    linear-gradient(
      180deg,
      rgba(6, 10, 16, 0.35) 0%,
      transparent 26%
    );
}

html[data-theme="light"] .hero-scrim {
  background:
    linear-gradient(
      105deg,
      rgba(8, 14, 24, 0.88) 0%,
      rgba(8, 14, 24, 0.72) 26%,
      rgba(8, 14, 24, 0.32) 48%,
      rgba(8, 14, 24, 0.08) 68%,
      transparent 85%
    ),
    linear-gradient(
      180deg,
      rgba(8, 14, 24, 0.28) 0%,
      transparent 24%
    );
}

.hero-frame {
  position: relative;
  z-index: 2;
  max-width: min(1280px, calc(100% - 2 * var(--space)));
  margin: 0 auto;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(3rem, 10vh, 6.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 38rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.35rem;
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.hero-brand {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #f0b56a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  max-width: 11ch;
  color: var(--hero-ink);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 34ch;
  color: var(--hero-muted);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.55rem;
  align-items: center;
}

.btn-hero {
  min-width: 14rem;
  padding: 1.2rem 2.15rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 12px 36px rgba(15, 55, 110, 0.38);
  animation: cta-glow 2.8s ease-in-out infinite;
}

.btn-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(15, 55, 110, 0.45);
  animation: none;
}

.btn-hero-phone {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.72) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 650;
  padding: 1.1rem 1.55rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn-hero-phone:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 12px 36px rgba(15, 55, 110, 0.34); }
  50% { box-shadow: 0 14px 44px rgba(31, 107, 199, 0.55); }
}

html[data-reduce-motion="true"] .btn-hero {
  animation: none;
}

/* Opening sequence */
.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
}

.hero-media.hero-enter {
  transform: scale(1.04);
  filter: blur(8px);
}

html.is-hero-ready .hero-veil {
  animation: hero-veil-out 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.is-hero-ready .hero-enter {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.28s + var(--enter, 0) * 0.12s);
}

html.is-hero-ready .hero-media.hero-enter {
  animation-name: hero-media-in;
  animation-duration: 1.15s;
  animation-delay: 0.15s;
}

@keyframes hero-veil-out {
  0% { transform: scaleX(1); opacity: 1; }
  55% { opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-media-in {
  0% {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

html[data-reduce-motion="true"] .hero-veil,
html[data-reduce-motion="true"] .hero-enter {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html[data-reduce-motion="true"] .hero-veil {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.95rem 1.55rem;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 55, 110, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink) !important;
  border-color: rgba(14, 21, 32, 0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg-elevated) !important;
  border-color: var(--ink);
}

/* Герой: телефон всегда белый (не наследовать .btn-ghost / --ink) */
.hero .btn-hero-phone,
.hero a.btn.btn-hero-phone,
html[data-theme="light"] .hero .btn-hero-phone,
html[data-theme="dark"] .hero .btn-hero-phone {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 650;
  padding: 1.1rem 1.55rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero .btn-hero-phone:hover,
html[data-theme="light"] .hero .btn-hero-phone:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

html[data-theme="light"] .btn:not(.btn-ghost) {
  color: #fff;
}

html[data-theme="dark"] .btn:not(.btn-ghost) {
  color: var(--accent-ink);
}

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(4.75rem, 11vh, 7.5rem) var(--space);
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
  max-width: none;
  padding-inline: max(var(--space), calc((100% - var(--wide)) / 2 + var(--space)));
}

.section-head {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.4vw, 2.95rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.section-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42ch;
}

.prose {
  display: grid;
  gap: 1.1rem;
  max-width: 42rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.prose h2 {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 1.5rem;
  line-height: 1.4;
}

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 3.5rem;
  max-width: 52rem;
  border-top: 0;
}

.facts li,
.fact-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.45rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.facts li:last-child,
.fact-card:last-child {
  border-right: 1px solid var(--line);
  padding-right: 1.35rem;
}

.fact-card:hover,
.fact-card:focus-visible,
.facts li:hover,
.facts li:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 22px 48px rgba(16, 24, 40, 0.1);
  transform: translateY(-3px);
  outline: none;
}

.facts-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
}

.facts span:last-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.security-facts {
  margin: 0.5rem 0 0.5rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.steps li,
.step {
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  background: var(--bg-elevated);
  transition:
    background 0.35s ease,
    opacity 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step {
  opacity: 0.62;
}

.step:hover,
.step:focus-visible {
  background: var(--bg-elevated);
  outline: none;
  opacity: 1;
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.step.is-active {
  background: color-mix(in srgb, var(--accent-soft) 80%, var(--bg-elevated));
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
  opacity: 1;
  transform: none;
  padding-left: 1.25rem;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.step.is-pulse {
  animation: step-nudge 0.75s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.step.is-pulse .step-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 1.5rem;
  animation: step-glow 0.75s ease;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.1rem;
  min-width: 1.5rem;
  display: inline-flex;
  transition: transform 0.45s ease, color 0.45s ease;
}

.step.is-active .step-num {
  transform: scale(1.12);
}

@keyframes step-glow {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  55% { transform: scale(0.95); }
  100% { transform: scale(1.12); }
}

@keyframes step-nudge {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(10px); }
  36% { transform: translateX(-7px); }
  54% { transform: translateX(8px); }
  72% { transform: translateX(-4px); }
  88% { transform: translateX(3px); }
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.45s ease;
}

.step.is-active h3 {
  color: var(--ink);
}

html[data-theme="light"] .step.is-active h3 {
  color: var(--ink);
}

.steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.flow {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.flow li,
.flow-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 0.85rem;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  cursor: pointer;
  opacity: 0.7;
  transition:
    background 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
}

.flow-step:hover,
.flow-step:focus-visible {
  background: var(--accent-soft);
  outline: none;
  opacity: 1;
}

.flow-step.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: var(--shadow-btn);
  opacity: 1;
  transform: translateX(3px);
}

.flow-step.is-pulse .flow-num {
  animation: step-glow 0.7s ease;
}

.flow-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 0.45rem;
  transition: transform 0.45s ease;
}

.flow-step.is-active .flow-num {
  transform: scale(1.1);
}

.flow p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.prices {
  max-width: 28rem;
  border: 1px solid var(--line);
  background: var(--accent-soft);
}

.prices-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 650;
  color: var(--ink);
  margin: 0;
  padding: 1.15rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
}

th, td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

th {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.03em;
}

td:last-child,
th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
}

tbody tr {
  transition: background var(--ease);
}

tbody tr:hover,
tbody tr:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

html[data-theme="light"] tbody tr:hover,
html[data-theme="light"] tbody tr:focus-visible {
  background: rgba(0, 0, 0, 0.04);
}

tbody tr:last-child td {
  border-bottom: none;
}

.price-best td {
  background: rgba(214, 255, 51, 0.12);
}

.badge {
  display: inline-block;
  margin-left: 0;
  padding: 0.2rem 0.45rem;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  color: var(--accent-ink);
  background: var(--accent);
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1.2;
}

.school-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: 2px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.city {
  padding: 1rem;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.city:hover {
  border-color: var(--line);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.city.is-hidden {
  display: none;
}

.city h3 {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  min-width: 8rem;
  color: var(--ink);
  line-height: 1.4;
}

.city ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.city li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.5;
}

.city li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.contact {
  max-width: 52rem;
  min-height: min(42vh, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-btn);
}

.phone {
  display: inline-block;
  margin-top: 0;
  font-family: var(--font-pixel);
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  color: var(--accent);
  line-height: 1.45;
  text-decoration: none;
}

.phone:hover {
  color: var(--ink);
  text-decoration: none;
}

.hours {
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.contact-vk {
  margin-top: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.contact-oferta {
  text-decoration: none;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
}

.news-filter {
  appearance: none;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.news-filter:hover {
  color: var(--ink);
  border-color: var(--panel-border);
}

.news-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
  animation: ks-news-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--news-i, 0) * 0.06s);
}

.news-card:hover,
.news-card.is-focus {
  transform: translateY(-3px);
  border-color: var(--panel-border);
}

.news-card[hidden] {
  display: none !important;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.news-source {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.news-date {
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.news-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.news-title a {
  color: var(--ink);
  text-decoration: none;
}

.news-title a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.news-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-empty {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

@keyframes ks-news-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-reduce-motion="true"] .news-card {
  animation: none;
}

html[data-reduce-motion="true"] .news-card:hover,
html[data-reduce-motion="true"] .news-card.is-focus {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .news-card {
    animation: none;
  }

  .news-card:hover,
  .news-card.is-focus {
    transform: none;
  }
}

@media (max-width: 760px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.company {
  margin-top: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 0.3rem;
  line-height: 1.5;
}

.company-label {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    min-height: 0;
  }
}

.legal {
  padding: 3rem var(--space) 4rem;
}

.legal-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-pixel);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.legal-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.legal-body {
  max-width: none;
}

.oferta-text {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
}

.oferta-text h2 {
  font-family: var(--font-pixel);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin: 1.25rem 0 0.15rem;
  color: var(--accent);
}

.oferta-text p {
  margin: 0;
}

.oferta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.oferta-actions--top {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.pay-guide .legal-meta {
  margin-bottom: 1.25rem;
}

.pay-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2rem;
}

.pay-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pay-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem 1.1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.pay-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.pay-step-body h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pay-step-body p {
  margin: 0 0 0.55rem;
  color: var(--text);
  line-height: 1.6;
}

.pay-step-body p:last-child {
  margin-bottom: 0;
}

.pay-step-tip {
  color: var(--muted) !important;
  font-size: 0.98rem;
}

.pay-guide-help {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.pay-guide-help-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.pay-guide-help p {
  margin: 0;
  color: var(--text);
}

.scroll-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 45;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--accent);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

html[data-reduce-motion="true"] .scroll-top {
  transition: none;
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem var(--space) 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.footer-brand-link:hover {
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-copy-text {
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  line-height: 1.35;
}

.footer-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}

.footer-brand {
  display: grid;
  gap: 0.25rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.footer-nav a,
.linkish {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.15rem 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-nav a:hover,
.linkish:hover,
.footer-nav a[aria-current="page"] {
  color: var(--accent);
}

.footer-vk {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 2px solid #0077ff;
  background: #0077ff;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.footer-vk:hover {
  text-decoration: none;
  color: #fff;
  background: #0066dd;
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-btn);
}

.footer-vk:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-vk-icon {
  display: block;
  flex-shrink: 0;
}

html[data-theme="dark"] .footer-vk {
  background: #1a8cff;
  border-color: #1a8cff;
  color: #0a1220;
  box-shadow: var(--shadow-card);
}

html[data-theme="dark"] .footer-vk:hover {
  background: #4da3ff;
  border-color: #4da3ff;
  color: #0a1220;
}

.cookie {
  position: fixed;
  left: var(--space);
  right: var(--space);
  bottom: var(--space);
  z-index: 70;
  max-width: 720px;
  margin: 0 auto;
  background: var(--cookie-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 1.15rem 1.2rem;
}

.cookie[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-title {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  line-height: 1.35;
}

.cookie-copy {
  flex: 1 1 240px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.5;
}

.cookie-copy a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="light"] .cookie-copy a {
  color: #004aad;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  margin-top: 0;
  min-width: 9.5rem;
}

@media (max-width: 1100px) {
  .menu-btn {
    display: inline-flex;
  }

  .logo-text {
    display: none;
  }

  .logo {
    gap: 0;
  }

  .topbar-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--space) 1rem;
    overflow: visible;
    z-index: 41;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.35rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    color: var(--ink);
    white-space: normal;
  }

  .nav a:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    border-color: transparent;
  }

  .nav a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: 0.65rem;
  }
}

@media (max-width: 900px) {
  .facts,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .facts li,
  .fact-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.35rem 1.25rem;
  }

  .facts li:last-child,
  .fact-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: min(88svh, 720px);
  }

  .hero-frame {
    min-height: min(88svh, 720px);
    grid-template-columns: 1fr;
    padding: clamp(1.75rem, 5vh, 2.75rem) var(--space);
  }

  .hero-copy {
    max-width: none;
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
    max-width: 12ch;
  }

  .hero-gif {
    object-position: 55% 52%;
    transform: scale(1.2);
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(8, 14, 24, 0.55) 0%,
        rgba(8, 14, 24, 0.28) 35%,
        rgba(8, 14, 24, 0.12) 55%,
        transparent 72%
      );
  }

  html[data-theme="dark"] .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(6, 10, 16, 0.58) 0%,
        rgba(6, 10, 16, 0.3) 38%,
        transparent 70%
      );
  }

  html[data-theme="light"] .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(8, 14, 24, 0.55) 0%,
        rgba(8, 14, 24, 0.28) 35%,
        rgba(8, 14, 24, 0.12) 55%,
        transparent 72%
      );
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
  }

  .seg {
    grid-template-columns: 1fr;
  }
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--bg);
}

html[data-theme="light"] .cart-badge {
  color: #fff;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.45);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 65;
  width: min(100%, 380px);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 2px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 0 var(--shadow-accent);
}

.cart-backdrop[hidden],
.cart-drawer[hidden] {
  display: none;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-family: var(--font-pixel);
  font-size: 1rem;
}

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1.1rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.cart-empty {
  color: var(--muted);
  font-size: 1.1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.cart-item-info h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.cart-item-info p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  grid-column: 1 / -1;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--accent);
}

.qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
}

.qty-remove {
  margin-left: auto;
  color: var(--muted);
}

.cart-item-sum {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  align-self: start;
}

.cart-footer {
  padding: 1rem 1.1rem 1.35rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}

.cart-sum {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--text);
}

.cart-sum strong {
  color: var(--ink);
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  z-index: 80;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  line-height: 1.35;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-btn);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

html[data-theme="light"] .cart-toast {
  color: #fff;
}

.btn-sm {
  margin-top: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  width: auto;
  box-shadow: var(--shadow-btn);
}

.prices.shop {
  max-width: 36rem;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.product:last-child {
  border-bottom: none;
}

.product > div:first-child {
  min-width: 0;
}

.product h4 {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 0.3rem;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.product-price {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.product .btn,
.product .btn-sm,
.product .ks-buy-wrap {
  margin: 0;
  width: auto;
  flex-shrink: 0;
  justify-self: end;
}

.product .ks-buy-wrap .btn,
.product .ks-buy-wrap .btn-sm {
  width: auto;
  white-space: nowrap;
}

.product-best {
  background: rgba(214, 255, 51, 0.1);
}

.shop-note {
  padding: 0.85rem 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.checkout-page {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem var(--space) 4rem;
}

.checkout-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  line-height: 1.35;
  margin: 0.4rem 0 0.75rem;
  color: var(--ink);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.checkout-box,
.checkout-form {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1rem;
}

.checkout-sum {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.pay-methods {
  border: 1px solid var(--line);
  margin: 0 0 1rem;
  padding: 0.85rem;
}

.pay-methods legend {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--accent);
  padding: 0 0.35rem;
}

.pay-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0.35rem;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.pay-option:last-child {
  border-bottom: none;
}

.pay-option strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.pay-option small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.pay-option input {
  margin-top: 0.3rem;
  accent-color: var(--accent);
}

.agree {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--muted);
}

.checkout-result {
  max-width: 36rem;
}

.checkout-result .btn {
  margin-top: 1.25rem;
}

.info-strip {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}

.omap {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-btn);
  overflow: hidden;
}

.omap-stage {
  position: relative;
  min-height: 320px;
  background: var(--bg-soft);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  border-right: 2px solid var(--line);
}

.omap-stage.is-dragging {
  cursor: grabbing;
}

.omap-tools {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.omap-tool {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

.omap-tool:hover,
.omap-tool:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  outline: none;
}

.omap-viewport {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 0.5rem;
}

.omap-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  transform-origin: 0 0;
  transition: transform 0.08s linear;
  will-change: transform;
}

.omap-sea {
  fill: var(--bg-soft);
}

.omap-district {
  fill: var(--bg-elevated);
  stroke: var(--line);
  stroke-width: 1.2;
  stroke-linejoin: miter;
  opacity: 0.55;
  pointer-events: none;
}

.omap-district.is-connected {
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 2.2;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: fill 0.12s ease, stroke-width 0.12s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.omap-district.is-connected:hover {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 2.6;
}

.omap-district.is-connected:focus,
.omap-district.is-connected:focus-visible {
  outline: none;
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 2.6;
}

.omap-district.is-selected {
  fill: var(--accent) !important;
  stroke: var(--accent);
  stroke-width: 2.8;
}

.omap-dlabel {
  fill: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: var(--bg-soft);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.omap-dlabel.is-selected {
  fill: var(--accent-ink);
  stroke: var(--accent);
}

.omap-panel {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--bg-elevated);
  min-height: 280px;
}

.omap-panel-kicker {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0;
}

.omap-panel h3 {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.omap-panel-count {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
}

.omap-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  flex: 1;
  overflow: auto;
  max-height: 280px;
}

.omap-panel li {
  color: var(--text);
  font-size: 0.92rem;
  padding-left: 0.85rem;
  position: relative;
  line-height: 1.4;
}

.omap-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.omap-city-link {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.omap-city-link:hover strong,
.omap-city-link:focus-visible strong {
  color: var(--accent);
  outline: none;
}

.omap-city-link span {
  color: var(--muted);
  white-space: nowrap;
}

.omap-legend {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.leg-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.omap-panel .btn-sm {
  align-self: flex-start;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .omap {
    grid-template-columns: 1fr;
  }

  .omap-stage {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  transition:
    background 0.25s ease;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.28s ease;
}

.faq-item.is-hot,
.faq-item:hover {
  border-color: var(--line);
  transform: none;
  box-shadow: none;
  background: var(--accent-soft);
}

.faq-item.is-open {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
  background: var(--accent-soft);
}

.faq-item.is-open::before {
  width: 2px;
}

.faq-q {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 0.35rem 1.25rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item.is-open .faq-q {
  color: var(--ink);
}

.faq-q::after {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--accent);
  background: transparent;
  box-shadow: none;
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  background-position: center;
  background-size: 10px 1.5px, 1.5px 10px;
  background-repeat: no-repeat;
  transition: transform 0.28s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item.is-hot .faq-q::after,
.faq-item:hover .faq-q::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-q::after {
  transform: rotate(135deg);
  background-color: var(--accent);
  border-color: var(--accent);
  background-image:
    linear-gradient(var(--accent-ink, #fff), var(--accent-ink, #fff)),
    linear-gradient(var(--accent-ink, #fff), var(--accent-ink, #fff));
  background-size: 10px 2px, 0 0;
}

html[data-theme="light"] .faq-item.is-open .faq-q::after {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
}

.faq-a {
  position: relative;
  z-index: 1;
  padding: 0 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid transparent;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.28s ease,
    border-color 0.28s ease;
}

.faq-item.is-open .faq-a {
  padding: 0 1.15rem 1.15rem;
  border-top-color: var(--line);
  opacity: 1;
}

.faq-a[hidden] {
  display: block;
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0;
  border-top-color: transparent;
  overflow: hidden;
}

.faq-a p {
  margin: 0.85rem 0 0;
}

.faq-item.is-open .faq-a p {
  animation: faq-answer-in 0.4s ease both;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html[data-reduce-motion="true"] .faq-item,
html[data-reduce-motion="true"] .faq-q::after,
html[data-reduce-motion="true"] .faq-a,
html[data-reduce-motion="true"] .faq-item.is-open .faq-a p {
  transition: none !important;
  animation: none !important;
}

.request-form {
  max-width: 28rem;
}

.request-result {
  margin-top: 1.25rem;
  max-width: 36rem;
  padding: 1.1rem;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.request-result h3 {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  margin: 0.4rem 0 0.75rem;
}

.op-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.op-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.op-card {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--text);
  display: grid;
  gap: 0.35rem;
}

.op-card header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--ink);
}

.op-status {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--accent);
}

.op-total {
  color: var(--ink);
  font-weight: 600;
}

.op-time {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .op-grid {
    grid-template-columns: 1fr;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product {
    grid-template-columns: 1fr;
  }

  .product .btn,
  .product .btn-sm,
  .product .ks-buy-wrap {
    justify-self: stretch;
    width: 100%;
  }

  .product .ks-buy-wrap .btn,
  .product .ks-buy-wrap .btn-sm {
    width: 100%;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.15rem;
}

.hero-actions .btn {
  margin-top: 0;
}

.btn-hero {
  min-width: 14rem;
  padding: 1.2rem 2.15rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 12px 36px rgba(15, 55, 110, 0.38);
}

.btn-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(15, 55, 110, 0.45);
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-hero,
  .hero-actions .btn-hero-phone {
    width: 100%;
    min-width: 0;
  }
}

.hero-hint {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 34ch;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

.order-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.order-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(16, 24, 40, 0.1);
}

.order-card-alt {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: linear-gradient(180deg, var(--bg-elevated) 0%, color-mix(in srgb, var(--accent-soft) 70%, var(--bg-elevated)) 100%);
  box-shadow: var(--shadow-card);
}

.order-kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.order-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}

.order-price {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.order-card .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.order-note {
  max-width: 48rem;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  display: grid;
  gap: 0.45rem;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.order-note p {
  margin: 0;
}

.order-note-soft {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-scene.is-interactive {
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.pixel-scene.is-interactive:hover {
  box-shadow: var(--shadow-btn);
  transform: translate(-1px, -1px);
}

.px-sky {
  position: absolute;
  inset: 0 0 28% 0;
  pointer-events: none;
  z-index: 1;
}

.px-star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--accent), 6px 0 0 var(--accent), 0 -6px 0 var(--accent), -6px 0 0 var(--accent);
  transform: scale(0.35);
  opacity: 0.55;
  animation: twinkle 2.4s steps(2) infinite;
}

.px-star.s1 { top: 14%; left: 12%; animation-delay: 0s; }
.px-star.s2 { top: 22%; left: 38%; animation-delay: 0.6s; background: #ff4db8; box-shadow: 0 6px 0 #ff4db8, 6px 0 0 #ff4db8, 0 -6px 0 #ff4db8, -6px 0 0 #ff4db8; }
.px-star.s3 { top: 10%; right: 42%; animation-delay: 1.1s; }
.px-star.s4 { top: 28%; right: 28%; animation-delay: 1.7s; background: #fde047; box-shadow: 0 6px 0 #fde047, 6px 0 0 #fde047, 0 -6px 0 #fde047, -6px 0 0 #fde047; }

html[data-theme="light"] .px-star.s2 {
  background: #ff4db8;
}

.px-cloud {
  position: absolute;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: cloud-drift 18s linear infinite;
}

html[data-theme="light"] .px-cloud {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 74, 173, 0.15);
}

.px-cloud.c1 {
  top: 18%;
  left: -40px;
  width: 46px;
  animation-duration: 22s;
}

.px-cloud.c2 {
  top: 32%;
  left: -60px;
  width: 34px;
  animation-duration: 28s;
  animation-delay: -8s;
}

@keyframes twinkle {
  50% { opacity: 0.15; }
}

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(420px); }
}

.btn.is-press {
  transform: translate(2px, 2px) scale(0.98);
  box-shadow: var(--shadow-btn);
}

.logo.is-wiggle .logo-mark {
  animation: logo-bounce 0.55s ease;
}

@keyframes logo-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-4px) rotate(-8deg); }
  60% { transform: translateY(1px) rotate(6deg); }
}

.fact-card.is-ping {
  animation: card-ping 0.4s ease;
}

@keyframes card-ping {
  0% { transform: scale(1); }
  40% { transform: scale(1.03) translateY(-4px); }
  100% { transform: scale(1); }
}

.step.is-hop {
  animation: step-nudge 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.step.is-hop .step-num {
  animation: num-hop 0.55s ease;
}

@keyframes num-hop {
  0%, 100% { transform: translateY(0) scale(1.12); }
  35% { transform: translateY(-12px) scale(1.35); }
  65% { transform: translateY(2px) scale(1.05); }
}

.cart-btn.is-pop,
.cart-badge.is-pop {
  animation: cart-pop 0.45s ease;
}

@keyframes cart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.18) rotate(-6deg); }
  70% { transform: scale(0.94) rotate(4deg); }
  100% { transform: scale(1); }
}

.fun-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.fun-bit {
  position: fixed;
  display: block;
  image-rendering: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  animation: fun-fly 0.85s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes fun-fly {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.4);
    opacity: 0;
  }
}

.reveal .fact-card,
.reveal .step,
.reveal .product,
.reveal .flow li,
.reveal .faq-item {
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--stagger, 0ms);
}

.reveal:not(.is-visible) .fact-card,
.reveal:not(.is-visible) .step,
.reveal:not(.is-visible) .product,
.reveal:not(.is-visible) .flow li,
.reveal:not(.is-visible) .faq-item {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible .fact-card,
.reveal.is-visible .step,
.reveal.is-visible .product,
.reveal.is-visible .flow li,
.reveal.is-visible .faq-item {
  opacity: 1;
  transform: none;
}

.product:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-btn);
  transform: translateY(-2px);
}

.product {
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

html[data-reduce-motion="true"] .reveal {
  opacity: 1;
  transform: none;
}

html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html[data-reduce-motion="true"] .fun-layer {
  display: none !important;
}

/* —— Auth / cabinet —— */
.auth-btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  gap: 0;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 45;
  pointer-events: auto;
}

.auth-btn:hover {
  text-decoration: none;
}

.auth-label {
  display: none;
}

.cabinet-page {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.5rem) var(--space) 4rem;
}

.cabinet-auth {
  max-width: 28rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 1.25rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.3rem;
  background: var(--bg-soft);
}

.auth-tab {
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0.5rem;
  cursor: pointer;
}

.auth-tab.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

html[data-theme="light"] .auth-tab.is-active {
  color: #fff;
}

.auth-form {
  margin-top: 0.5rem;
}

.auth-error {
  margin: 0 0 0.85rem;
  color: #c0392b;
  font-size: 0.95rem;
}

.cabinet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cabinet-flash {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.95rem;
}

.cabinet-flash--ok {
  border-color: var(--accent);
  color: var(--ink);
}

.cabinet-flash--err {
  border-color: #c0392b;
  color: #c0392b;
}

.cabinet-section {
  margin-top: 2.25rem;
  max-width: 44rem;
}

.cabinet-profile-form {
  max-width: 28rem;
}

.cabinet-pass-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cabinet-pass-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.order-pay-slot .ks-pay-now {
  margin: 0;
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow-btn);
}

.order-pay-slot .ks-pay-now-lead {
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.auth-form .settings-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.orders-list {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.order-card-row {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-elevated);
  padding: 1.15rem 1.25rem;
  box-shadow: none;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.order-id {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--ink);
}

.order-date {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-status {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--warm);
  color: var(--warm);
  background: var(--warm-soft);
  white-space: nowrap;
}

.order-items {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.order-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.order-total {
  margin: 0;
  color: var(--ink);
}

.receipt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.5);
}

.receipt-modal {
  position: fixed;
  z-index: 90;
  inset: 4vh 1rem auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 520px);
  max-height: 92vh;
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-btn);
}

.receipt-backdrop[hidden],
.receipt-modal[hidden] {
  display: none;
}

.receipt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg-elevated);
}

.receipt-toolbar h2 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
}

.receipt-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.receipt-sheet {
  padding: 1.25rem 1.15rem 1.5rem;
  color: var(--ink);
}

.receipt-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.receipt-brand strong {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  display: block;
}

.receipt-brand p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.receipt-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-pixel);
  font-size: 1rem;
}

.receipt-meta {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
}

.receipt-meta > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.receipt-meta dt {
  margin: 0;
  color: var(--muted);
}

.receipt-meta dd {
  margin: 0;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.receipt-table th,
.receipt-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.25rem;
  text-align: left;
}

.receipt-table .num {
  text-align: right;
  white-space: nowrap;
}

.receipt-table tfoot td {
  border-bottom: 0;
  padding-top: 0.65rem;
}

.receipt-foot {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .receipt-meta > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .receipt-modal,
  .receipt-modal * {
    visibility: visible !important;
  }

  .receipt-backdrop,
  .no-print {
    display: none !important;
  }

  .receipt-modal {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: none !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .fun-layer {
    display: none !important;
  }
}


/* Hero fail-safe: keep the hero image/content visible if startup JS or animations fail.
   The normal entrance animation still runs when .is-hero-ready is added. */
.hero-veil {
  display: none;
}

.hero-enter {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-media.hero-enter {
  opacity: 1;
  transform: scale(1.04);
  filter: none;
}

html.is-hero-ready .hero-veil {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-veil { display: none !important; }
  .hero-enter, .hero-media.hero-enter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}
