/* ==========================================================================
   Хүсэл2Бүтээл — дизайны систем v1
   Layout: хар орон зай дахь particle түүх (sticky) → дараа нь нэг баганат,
   1200px торон дээрх тайван контент хэсгүүд. Нэг л "тод" зүйл: гэрэлтэх бөмбөрцөг.
   ========================================================================== */
:root {
  /* өнгө */
  --bg: #000000;          /* хуудасны суурь: цэвэр хар (particle-ийн гэрэл тод харагдана) */
  --surface: #0a0b10;     /* карт */
  --surface-2: #11131b;   /* карт hover / input */
  --line: rgba(214, 222, 255, 0.10);
  --line-strong: rgba(214, 222, 255, 0.22);
  --fg: #f2f4fa;
  --muted: #a3aabb;
  --faint: #6b7286;
  --accent: #93a6ff;      /* бөмбөрцгийн хөх: eyebrow, идэвхтэй төлөв */
  --accent-deep: #2a3c86;
  --wish: #ffb48c;        /* "2" буюу хүслийн дулаан өнгө: зөвхөн логонд */
  --ok: #8fe3b4;
  --err: #ff8f8f;

  /* фонт */
  --font-sans: 'Geist', 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* хэмжээ */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(2rem, 4.4vw, 3.5rem);
  --fs-h1: clamp(2.4rem, 5.6vw, 4.6rem);

  --container: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; letter-spacing: -0.025em; line-height: 1.06; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-deep); color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.title { font-size: var(--fs-h2); font-weight: 300; }
.title b, .title strong, .hero__title b { font-weight: 650; display: block; }
.lead { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ph { /* шийдэгдээгүй мэдээлэл: хялбар олохоор тэмдэглэв */
  text-decoration: underline dashed rgba(147, 166, 255, 0.55);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- товч ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(214, 222, 255, 0.4); }
.btn--primary {
  background: linear-gradient(180deg, #ffffff, #dfe3ee);
  color: #05060a; border-color: transparent;
  padding: 0 7px 0 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px -10px rgba(147, 166, 255, 0.55);
}
.btn--primary:hover { background: #fff; transform: translateY(-1px); }
.btn__arrow {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: #05060a; color: #fff;
  transition: transform 0.35s var(--ease);
}
.btn--primary:hover .btn__arrow { transform: translateX(3px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn--sm.btn--primary { padding: 0 5px 0 18px; }
.btn--sm .btn__arrow { width: 32px; height: 32px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- лого ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo__mark { width: 26px; height: 26px; flex: none; }
.logo__two { color: var(--wish); font-weight: 500; margin-inline: 1px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  transition: background 0.4s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__links {
  display: flex; gap: 4px; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: rgba(10, 11, 16, 0.6); backdrop-filter: blur(12px);
  font-size: 0.9rem;
}
.nav__links a { padding: 8px 16px; border-radius: var(--pill); color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: var(--pill);
  border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted);
  background: rgba(10, 11, 16, 0.5); backdrop-filter: blur(8px);
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 11, 16, 0.6); cursor: pointer; place-items: center; }
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: var(--fg); position: relative; transition: transform 0.3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--fg); transition: transform 0.3s var(--ease); }
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- ачаалах үеийн "materialize" ---------- */
@keyframes materialize {
  from { opacity: 0; filter: blur(14px); transform: translateY(14px) scale(0.985); letter-spacing: 0.02em; }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.mat { animation: materialize 1.4s var(--ease) both; animation-delay: var(--d, 0s); }

/* ==========================================================================
   Particle түүх
   ========================================================================== */
.story { position: relative; height: 780vh; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story__layer { position: absolute; will-change: opacity, transform, filter; }

/* hero */
.hero {
  inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 16vh) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.hero__title { font-size: var(--fs-h1); font-weight: 300; margin-top: 18px; }
.hero__sub { margin-top: 20px; color: #c9cedb; font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; pointer-events: auto; }
.hero__facts {
  margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: var(--fs-sm); color: var(--muted);
}
.hero__facts > span { display: inline-flex; align-items: center; }
.hero__facts > span + span::before { content: ""; margin-right: 18px; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.scroll-cue {
  left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); translate: -50% 0;
  font-size: 11px; letter-spacing: 0.32em; color: var(--faint); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--faint), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* scene: intent (төвд) */
.scene-center {
  inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden;
}
.scene-center .title { margin-top: 14px; }
.scene-center p { margin-top: 18px; color: var(--muted); max-width: 46ch; }

/* scene: palm (зүүн дээд) */
.scene-corner { top: calc(env(safe-area-inset-top, 0px) + 13vh); left: 0; right: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.scene-corner .title { margin-top: 14px; }

/* алхмын самбар (баруун доод) */
.steps {
  right: max(16px, 4vw, calc((100vw - var(--container)) / 2)); bottom: calc(env(safe-area-inset-bottom, 0px) + 9vh);
  width: min(360px, calc(100vw - 32px));
  display: grid; grid-template-columns: 1px 1fr; gap: 0 22px;
  opacity: 0; visibility: hidden;
}
.steps__bar { grid-row: 1 / 3; background: var(--line); position: relative; }
.steps__bar i { position: absolute; inset: 0; background: linear-gradient(var(--accent), rgba(147, 166, 255, 0.2)); transform-origin: top; transform: scaleY(0); }
.steps__tabs { display: flex; gap: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.steps__tab { transition: color 0.4s var(--ease); }
.steps__tab.is-active { color: var(--accent); }
.steps__tab + .steps__tab::before { content: "·"; margin-right: 10px; color: var(--faint); }
.steps__body { margin-top: 12px; color: #c9cedb; font-size: 0.95rem; animation: materialize 0.8s var(--ease) both; }
.steps__body b { color: var(--fg); font-weight: 600; }

/* WebGL байхгүй үед: энгийн статик хувилбар */
.no-webgl .story { height: auto; }
.no-webgl .story__stage { position: relative; height: auto; overflow: visible; padding-bottom: 80px; background: radial-gradient(60% 50% at 50% 70%, rgba(60, 90, 200, 0.25), transparent 70%); }
.no-webgl #story-canvas { display: none; }
.no-webgl .story__layer { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; filter: none !important; padding-block: 48px; }
.no-webgl .hero { padding-top: 140px; }
.no-webgl .scroll-cue { display: none; }
.no-webgl .steps { margin: 0 auto; right: auto; bottom: auto; }
.no-webgl .steps__body[hidden] { display: block !important; }

/* ==========================================================================
   Контент хэсгүүд
   ========================================================================== */
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 24px 64px; }
.section__head--split .lead { justify-self: end; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  padding: 28px;
}
.card h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.015em; }
.card p { color: var(--muted); margin-top: 10px; }
.card__k { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 18px; }

/* асуудал */
.pain { display: flex; flex-direction: column; gap: 4px; }
.pain__q { font-size: 3rem; line-height: 1; color: var(--faint); font-weight: 300; margin-bottom: 14px; }

/* зарчим: том тоо */
.principle { padding: 32px 28px 30px; }
.principle__num { font-size: clamp(3.2rem, 6vw, 4.6rem); font-weight: 250; letter-spacing: -0.05em; line-height: 0.9; background: linear-gradient(180deg, #fff, #8d9bd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.principle h3 { margin-top: 26px; }

.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 16px; overflow: hidden; }
.promise > div { padding: 26px 28px; min-width: 0; }
.promise > div + div { border-left: 1px solid var(--line); }
.promise h4 { font-size: 1.05rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.promise h4 svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.promise p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.note { margin-top: 18px; font-size: var(--fs-sm); color: var(--faint); display: flex; gap: 8px; align-items: baseline; }
.note::before { content: "※"; color: var(--accent); }

/* 4:6 */
.ratio { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ratio__big { font-size: clamp(5rem, 14vw, 11rem); font-weight: 200; letter-spacing: -0.06em; line-height: 0.85; }
.ratio__big span { color: var(--faint); font-weight: 200; margin-inline: 0.06em; }
.ratio__cap { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.seatmap { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); background: radial-gradient(70% 60% at 50% 0%, rgba(80, 105, 220, 0.16), transparent 70%); }
.seatmap svg { width: 100%; height: auto; }
.seatmap__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: var(--fs-sm); color: var(--muted); }
.seatmap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.seatmap__legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.seat { fill: rgba(147, 166, 255, 0.08); stroke: var(--accent); stroke-width: 1.2; }
.seat.is-taken { fill: var(--accent); }

.compare-wrap { margin-top: clamp(48px, 7vw, 88px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.compare thead th.is-us { color: var(--accent); }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare td.is-us { color: var(--fg); background: rgba(147, 166, 255, 0.06); font-weight: 500; }
.compare td:not(.is-us):not(:first-child) { color: var(--faint); }

/* жишиг төсөл */
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project__art { aspect-ratio: 16 / 10; max-width: 100%; border-bottom: 1px solid var(--line); background: radial-gradient(80% 90% at 50% 100%, rgba(80, 105, 220, 0.22), transparent 70%), #05060a; position: relative; overflow: hidden; }
.project__body { padding: 24px 26px 28px; }
.mock { position: absolute; inset: 14% 10% -6%; border-radius: 12px 12px 0 0; border: 1px solid var(--line-strong); background: #0b0d14; padding: 12px; display: grid; gap: 8px; align-content: start; }
.mock i { display: block; height: 8px; border-radius: 4px; background: rgba(214, 222, 255, 0.12); }
.mock .row { display: grid; gap: 8px; }
.mock .b { height: 46px; border-radius: 8px; background: rgba(214, 222, 255, 0.07); border: 1px solid var(--line); }
.mock .a { background: rgba(147, 166, 255, 0.55); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.chips__label { font-size: var(--fs-sm); color: var(--faint); margin-right: 6px; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--accent), var(--line) 40%, var(--line) 80%, var(--accent)); }
.tl { display: grid; grid-template-columns: 15px 92px minmax(0, 1fr) auto; gap: 0 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tl:last-child { border-bottom: 0; }
.tl__dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); align-self: center; position: relative; }
.tl--live .tl__dot { background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.tl--demo .tl__dot { background: #fff; border-color: #fff; box-shadow: 0 0 22px rgba(255, 255, 255, 0.8); }
.tl__date { font-family: var(--font-mono); color: var(--muted); font-size: 0.95rem; }
.tl__date small { display: block; color: var(--faint); font-size: 0.72rem; letter-spacing: 0.1em; }
.tl h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -0.01em; }
.tl p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.tl__who { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--faint); letter-spacing: 0.08em; border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 10px; white-space: nowrap; }
.tl__flag { display: inline-block; margin-left: 10px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; vertical-align: middle; }
.schedule-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: var(--fs-sm); }

/* багш */
.coach { display: flex; flex-direction: column; gap: 4px; }
.coach__avatar { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 22px; position: relative; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); background: radial-gradient(circle at 35% 30%, rgba(147, 166, 255, 0.35), rgba(20, 28, 70, 0.6) 60%, #05060a); }
.coach__avatar::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(147, 166, 255, 0.35); }
.coach h3 { font-size: 1.15rem; }
.coach__role { color: var(--muted); font-size: var(--fs-sm); }
.coach__days { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.coach__days span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.showcase { margin-top: 16px; }
.show { padding: 0; overflow: hidden; }
.show__img { aspect-ratio: 16 / 9; max-width: 100%; background: repeating-linear-gradient(135deg, rgba(214, 222, 255, 0.03) 0 10px, transparent 10px 20px), #07080d; border-bottom: 1px solid var(--line); display: grid; place-items: center; color: var(--faint); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.show__body { padding: 20px 24px 24px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.show__body h3 { font-size: 1.1rem; }
.show__body p { margin-top: 4px; font-size: 0.9rem; }
.show__body a { color: var(--accent); font-size: var(--fs-sm); white-space: nowrap; }

/* үнэ */
.price { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 16px; }
.price__main { padding: clamp(28px, 4vw, 44px); background: radial-gradient(90% 70% at 100% 0%, rgba(80, 105, 220, 0.22), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)); }
.price__amount { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 300; letter-spacing: -0.045em; line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.price__per { color: var(--muted); margin-top: 10px; }
.list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: #d5d9e4; }
.list li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.list--no li { color: var(--muted); }
.list--no li svg { color: var(--faint); }
.price__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.costs { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.95rem; }
.costs td { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.costs td:last-child { text-align: right; font-family: var(--font-mono); color: var(--fg); font-variant-numeric: tabular-nums; }
.costs tr:last-child td { border-bottom: 0; padding-top: 16px; font-weight: 600; }
.costs tr:last-child td:last-child { color: var(--accent); }

/* баталгаа */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.orb { width: clamp(110px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #e6ecff 0, #9fb3ff 12%, #3c55b8 45%, #101a44 75%); box-shadow: 0 0 60px rgba(120, 145, 255, 0.45), 0 0 160px rgba(80, 105, 220, 0.35), inset -12px -16px 40px rgba(0, 0, 0, 0.5); position: relative; }
.orb::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 1px dotted rgba(147, 166, 255, 0.4); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.guarantee h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 300; }
.guarantee h2 b { font-weight: 650; display: block; }
.guarantee p { color: var(--muted); margin-top: 14px; max-width: 58ch; }

/* хэнд тохирох */
.fit h3 { display: flex; align-items: center; gap: 10px; }
.fit h3 svg { width: 20px; height: 20px; }
.fit--yes h3 svg { color: var(--ok); }
.fit--no h3 svg { color: var(--err); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 1.08rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 44px 24px 0; max-width: 62ch; }

/* эцсийн CTA */
.final { text-align: center; overflow: hidden; }
.final__orb { position: absolute; left: 50%; top: 58%; width: min(900px, 140vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(90, 115, 230, 0.32), rgba(40, 60, 160, 0.08) 45%, transparent 68%); pointer-events: none; }
.final .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: var(--fs-sm); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.footer__cols div { display: grid; gap: 8px; }
.footer__cols b { color: var(--fg); font-weight: 500; }
.footer a:hover { color: var(--fg); }

/* гар утасны доод CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92) 35%);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta .btn { width: 100%; justify-content: space-between; }

/* reveal */
.can-reveal .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Дэд хуудас (бүртгэл, баярлалаа, нууцлал)
   ========================================================================== */
.page { min-height: 100vh; padding-top: calc(env(safe-area-inset-top, 0px) + 140px); padding-bottom: 96px; position: relative; overflow: hidden; }
.page__glow { position: absolute; right: -20vw; top: -30vw; width: 80vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(80, 105, 220, 0.25), transparent 65%); pointer-events: none; }
.apply { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: start; position: relative; }
.apply h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 300; margin-top: 14px; }
.apply h1 b { font-weight: 650; display: block; }
.apply .lead { margin-top: 16px; }
.form { margin-top: 40px; display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field legend { font-size: var(--fs-sm); font-weight: 500; color: #d5d9e4; padding: 0; }
.field small { color: var(--faint); font-size: 0.8rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.radio, .check { display: flex; gap: 12px; align-items: center; cursor: pointer; color: #d5d9e4; font-size: 0.95rem; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
.field__err { display: none; color: var(--err); font-size: 0.8rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--err); }
.field.has-error .field__err { display: block; }
.field.is-muted textarea { opacity: 0.5; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
.form__foot p { color: var(--faint); font-size: 0.82rem; max-width: 40ch; }
.flow { position: sticky; top: 120px; padding: 30px; }
.flow ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.flow li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.flow li:first-child::before { background: var(--accent); color: #05060a; }
.flow li b { display: block; font-weight: 600; }
.flow li span { color: var(--muted); font-size: 0.9rem; }
.flow__meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }

.thanks { max-width: 760px; position: relative; }
.thanks h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; margin-top: 24px; }
.thanks h1 b { font-weight: 650; display: block; }
.thanks .lead { margin-top: 18px; }
.thanks .flow { position: static; margin-top: 40px; }
.thanks__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.prose { max-width: 720px; position: relative; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-top: 14px; }
.prose h2 { font-size: 1.3rem; font-weight: 600; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open .nav__links {
    display: grid; position: absolute; top: calc(100% + 10px); left: max(16px, env(safe-area-inset-left, 0px), 4vw); right: max(16px, env(safe-area-inset-right, 0px), 4vw);
    border-radius: var(--radius); padding: 10px; background: rgba(10, 11, 16, 0.94);
  }
  .nav.is-open .nav__links a { padding: 14px 16px; font-size: 1rem; }
  .nav__inner { position: relative; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head--split { grid-template-columns: minmax(0, 1fr); }
  .section__head--split .lead { justify-self: start; }
}
@media (max-width: 860px) {
  .grid--3, .promise, .price, .faq, .ratio, .apply { grid-template-columns: minmax(0, 1fr); }
  .promise > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .guarantee { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: 15px 70px minmax(0, 1fr); }
  .tl__who { grid-column: 3; justify-self: start; margin-top: 10px; }
  .flow { position: static; }
  .steps { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 5vh); }
  .scene-corner { top: calc(env(safe-area-inset-top, 0px) + 96px); }
}
@media (max-width: 640px) {
  .chip--seats { display: none; }
  .nav__right .btn--primary { display: none; }
  .mobile-cta { display: block; }
  .grid--2, .grid--4, .form__row { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 112px); }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__cta .btn--primary { justify-content: space-between; }
  .hero__facts { font-size: 0.8rem; gap: 4px 12px; }
  .hero__facts > span + span::before { margin-right: 12px; }
  .card { padding: 22px; }
  .show__body { flex-direction: column; }
  .story { height: 680vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
.flow--done li:first-child::before { content: "✓"; }

/* ==========================================================================
   Түүх v2: гэрэл дээрх "Бүртгүүлэх" товч, хэсгийн текст, системүүдийн chip
   ========================================================================== */
.orb-cta { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 4; will-change: transform; }
.orb-cta__inner { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.orb-cta__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: var(--pill); white-space: nowrap;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; color: #05060a;
  background: radial-gradient(120% 140% at 50% 0%, #ffffff 0%, #e4e9ff 60%, #c9d3ff 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 24px rgba(160, 180, 255, 0.85), 0 0 70px rgba(110, 135, 255, 0.55);
  opacity: 0; transform: scale(0.8); filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease), box-shadow 0.3s var(--ease);
}
.orb-cta__btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(180, 196, 255, 0.55); animation: orbPulse 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes orbPulse { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.9); } }
.orb-cta.is-lit .orb-cta__btn { opacity: 1; transform: none; filter: none; }
.orb-cta__btn:hover { box-shadow: 0 0 0 1px #fff, 0 0 30px rgba(170, 190, 255, 1), 0 0 90px rgba(110, 135, 255, 0.7); }

.scene-copy { max-width: 540px; }
.scene-copy .title { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.scene-copy p { margin-top: 18px; color: #c4cad8; font-size: clamp(0.98rem, 1.2vw, 1.08rem); }
.scene-center .title, .scene-copy .title { margin-top: 0; }
.scene-center p { max-width: 50ch; color: #c4cad8; }

.orbit { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; z-index: 2; }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__lines line { stroke: #93a6ff; stroke-width: 1; stroke-dasharray: 2 5; }
.orbit__chip {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--pill); white-space: nowrap;
  font-size: 0.82rem; font-weight: 500; color: var(--fg);
  border: 1px solid var(--line-strong); background: rgba(10, 12, 22, 0.72); backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(110, 135, 255, 0.18);
  will-change: transform, opacity;
}
.orbit__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.story__count {
  position: absolute; left: max(16px, 4vw, calc((100vw - var(--container)) / 2)); bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); display: flex; gap: 6px; align-items: baseline; z-index: 3;
}
.story__count b { color: var(--fg); font-weight: 500; }

.no-webgl .orb-cta { position: relative; width: auto; height: auto; text-align: center; padding-bottom: 32px; }
.no-webgl .orb-cta__inner { position: static; transform: none; }
.no-webgl .orb-cta__btn { opacity: 1; transform: none; filter: none; }
.no-webgl .orbit, .no-webgl .story__count { display: none; }

@media (max-width: 640px) {
  .orb-cta__btn { height: 42px; padding: 0 20px; font-size: 0.9rem; }
  .orbit__chip { font-size: 0.72rem; padding: 6px 10px; }
  .scene-copy p { font-size: 0.95rem; }
  .scene-copy .btn { display: none; }
  .story__count { bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }
}

/* ==========================================================================
   Хэсгүүдийн motion нээгдэлт (story-той ижил мэдрэмж: blur → тод, доороос дээш)
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* гарчиг: үг бүр маскны доороос гарч ирнэ */
.title .w, .guarantee h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.04em 0.1em; margin: -0.14em -0.04em -0.1em; }
.can-motion .title .w > span, .can-motion .guarantee h2 .w > span {
  display: inline-block; transform: translate3d(0, 110%, 0) rotate(5deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1.15s var(--ease-out), opacity 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + 0.12s + var(--i, 0) * 60ms);
}
.can-motion .is-in .title .w > span, .can-motion .is-in.title .w > span, .can-motion .is-in .guarantee h2 .w > span, .can-motion .guarantee.is-in h2 .w > span { transform: none; opacity: 1; }
/* гарчигтай хайрцаг өөрөө бүдгэрэхгүй, зөвхөн үгс нь хөдөлнө */
.can-motion .reveal:has(> .title), .can-motion .reveal:has(> div > .title) { filter: none; transform: none; }

/* eyebrow: үсгийн зай агшиж тодорно */
.can-motion .reveal .eyebrow { opacity: 0; letter-spacing: 0.55em; transition: opacity 1s var(--ease-out), letter-spacing 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.can-motion .is-in .eyebrow { opacity: 1; letter-spacing: 0.2em; }

/* lead/тайлбар текст гарчгийн дараа */
.can-motion .reveal .lead, .can-motion .reveal .ratio__cap { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0s) + 0.45s); }
.can-motion .is-in .lead, .can-motion .is-in .ratio__cap { opacity: 1; transform: none; filter: none; }

/* карт: гүнээс өнхөрч гарч ирээд хүрээгээр нь гэрэл гүйнэ */
.can-motion .card.reveal { transform: perspective(1000px) translate3d(0, 56px, 0) rotateX(12deg) scale(0.97); transform-origin: 50% 100%; filter: blur(8px); transition-duration: 1.2s; transition-timing-function: var(--ease-out); transition-delay: calc(var(--d, 0s) * 1.6 + 0.15s); }
.can-motion .card.reveal.is-in { transform: none; filter: none; }
.card.reveal::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(147, 166, 255, 0.95) 50%, transparent 65%) no-repeat; background-size: 300% 100%; background-position: 110% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.can-motion .card.reveal.is-in::after { animation: cardShine 1.8s var(--ease-out) both; animation-delay: calc(var(--d, 0s) * 1.6 + 0.45s); }
@keyframes cardShine { 0% { opacity: 0; background-position: 110% 0; } 25% { opacity: 1; } 100% { opacity: 0; background-position: -10% 0; } }

/* жагсаалт, хүснэгтийн мөр, FAQ: нэг нэгээр */
.can-motion .reveal .list > li, .can-motion .reveal .costs tr, .can-motion .reveal.faq__list > details, .can-motion .reveal .promise > div, .can-motion .promise.reveal > div {
  opacity: 0; transform: translateX(-16px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0s) * 1.6 + 0.5s + var(--k, 0) * 80ms);
}
.can-motion .is-in .list > li, .can-motion .is-in .costs tr, .can-motion .faq__list.is-in > details, .can-motion .promise.is-in > div { opacity: 1; transform: none; }

/* том тоо (4:6, үнэ) */
.can-motion .reveal .ratio__big { opacity: 0; transform: scale(0.86); filter: blur(14px); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out), filter 1.4s var(--ease-out); transition-delay: 0.1s; }
.can-motion .is-in .ratio__big { opacity: 1; transform: none; filter: none; }

/* багш–суудлын диаграм: шугамууд зурагдаж, тойргууд нэг нэгээр гарна */
.can-motion .seatmap path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out) 0.5s; }
.can-motion .seatmap.is-in path { stroke-dashoffset: 0; }
.can-motion .seatmap circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.9s var(--ease-out); transition-delay: calc(0.25s + var(--k, 0) * 90ms); }
.can-motion .seatmap.is-in circle { transform: none; }
.can-motion .seatmap text { opacity: 0; transition: opacity 0.8s ease 0.9s; }
.can-motion .seatmap.is-in text { opacity: 1; }

/* хэсгийн дээд зураас төвөөс хоёр тийш татагдана */
.can-motion .section + .section { border-top-color: transparent; }
.can-motion .section + .section::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--line) 18%, rgba(147, 166, 255, 0.55) 50%, var(--line) 82%, transparent);
  transform: scaleX(0); transition: transform 1.8s var(--ease-out);
}
.can-motion .section.is-on::before { transform: scaleX(1); }

/* баталгааны бөмбөрцөг, эцсийн гэрэл */
.can-motion .guarantee .orb { opacity: 0; transform: scale(0.6); transition: opacity 1.4s var(--ease-out) 0.3s, transform 1.6s var(--ease-out) 0.3s; }
.can-motion .guarantee.is-in .orb { opacity: 1; transform: none; }
.can-motion .final__orb { opacity: 0; scale: 0.55; transition: opacity 2s var(--ease-out), scale 2.4s var(--ease-out); }
.can-motion .final.is-on .final__orb { opacity: 1; scale: 1; animation: finalBreath 7s ease-in-out 2.4s infinite; }
@keyframes finalBreath { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }

/* ==========================================================================
   v3 өнгөлгөө: цэс, товч, карт, эффект
   Зарчим: нэг гэрлийн эх үүсвэр (хөх бөмбөрцөг) — бүх hover, хүрээ, гэрэл
   түүнээс ойсон мэт хөх өнгөөр, курсорын байрлалыг дагана.
   ========================================================================== */
@property --glow { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------- орчны гэрэл: аажуу хөвөх од, курсорын зөөлөн гэрэл ---------- */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 68% 42%, rgba(200, 212, 255, 0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 76%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 86% 82%, rgba(170, 186, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 52% 8%, rgba(255, 255, 255, 0.45), transparent 60%);
  background-size: 380px 380px, 520px 520px, 640px 640px, 300px 300px, 460px 460px;
  animation: starDrift 160s linear infinite;
}
@keyframes starDrift { to { transform: translate3d(-380px, -260px, 0); } }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; z-index: -1;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease-out);
  background: radial-gradient(circle, rgba(92, 118, 255, 0.13), rgba(92, 118, 255, 0.04) 35%, transparent 62%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
}
.cursor-glow.is-on { opacity: 1; }

/* ---------- цэс ---------- */
.nav { transition: transform 0.55s var(--ease-out), background 0.4s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.5) 55%, transparent); opacity: 0; transition: opacity 0.5s var(--ease); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden:not(.is-open) { transform: translate3d(0, calc(-100% - 24px), 0); }
.nav__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; overflow: hidden; }
.nav__bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, rgba(147, 166, 255, 0), var(--accent) 70%, #fff); box-shadow: 0 0 10px var(--accent); }

.nav__links { position: relative; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px -18px rgba(0, 0, 0, 0.9); transition: background 0.4s var(--ease); }
.nav.is-scrolled .nav__links { background: rgba(12, 13, 20, 0.78); }
.nav__links a { position: relative; z-index: 1; transition: color 0.35s var(--ease); }
.nav__links a:hover { background: transparent; color: var(--fg); }
.nav__links a.is-active { color: var(--fg); }
.nav__ind {
  position: absolute; z-index: 0; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: var(--pill); pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(147, 166, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px -4px rgba(110, 135, 255, 0.45);
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.35s var(--ease);
}
.nav__ind.is-on { opacity: 1; }
.nav__n, .nav__sheet-foot { display: none; }
.chip__dot { animation: livePulse 2.4s var(--ease) infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(143, 227, 180, 0.55), 0 0 10px var(--ok); } 70%, 100% { box-shadow: 0 0 0 7px rgba(143, 227, 180, 0), 0 0 10px var(--ok); } }
.logo__mark { transition: transform 0.9s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(120deg); }
.nav__toggle { transition: background 0.3s var(--ease), border-color 0.3s var(--ease); position: relative; z-index: 2; }
.nav__toggle:hover { border-color: var(--line-strong); }

/* утасны цэс: товчноос тойрог хэлбэрээр дэлгэгдэх бүтэн дэлгэцийн шил */
@media (max-width: 1080px) {
  .nav__links.mat { animation: none; }
  .logo, .nav__right { position: relative; z-index: 2; }
  .nav__links, .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0; position: fixed; inset: 0; z-index: 1;
    padding: calc(env(safe-area-inset-top, 0px) + 104px) max(20px, 6vw) calc(env(safe-area-inset-bottom, 0px) + 28px);
    border: 0; border-radius: 0; background: rgba(3, 4, 9, 0.9); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
    clip-path: circle(0 at calc(100% - max(16px, 4vw) - 22px) calc(env(safe-area-inset-top, 0px) + 40px));
    visibility: hidden; transition: clip-path 0.75s var(--ease-out), visibility 0s linear 0.75s;
    box-shadow: none; font-size: 1rem;
  }
  .nav.is-open .nav__links { clip-path: circle(160% at calc(100% - max(16px, 4vw) - 22px) calc(env(safe-area-inset-top, 0px) + 40px)); visibility: visible; transition: clip-path 0.85s var(--ease-out), visibility 0s; }
  .nav__ind { display: none; }
  .nav__links > a, .nav.is-open .nav__links > a {
    display: flex; align-items: baseline; gap: 16px; padding: 18px 2px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 300; letter-spacing: -0.03em; color: var(--fg);
    opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
  }
  .nav.is-open .nav__links > a { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--k, 0) * 70ms); }
  .nav__links > a.is-active { color: var(--accent); }
  .nav__n { display: inline; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--accent); transform: translateY(-0.9em); }
  .nav__sheet-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
  .nav.is-open .nav__sheet-foot { opacity: 1; transform: none; transition-delay: 0.5s; }
  .nav__sheet-foot .chip { justify-self: start; }
  .nav__sheet-foot .btn { width: 100%; justify-content: space-between; height: 58px; }
}
html.menu-open { overflow: hidden; }

/* ---------- товч ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.45s var(--ease), translate 0.5s var(--ease-out), scale 0.25s var(--ease-out), color 0.3s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease);
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(147, 166, 255, 0.24), transparent 70%);
}
.btn:not(.btn--primary)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease);
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 194, 255, 0.95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn:active { scale: 0.97; }
.btn--primary {
  background: linear-gradient(180deg, #ffffff, #e2e6f2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), inset 0 -2px 6px rgba(70, 90, 180, 0.12), 0 12px 40px -12px rgba(147, 166, 255, 0.6);
}
.btn--primary::before { background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(147, 166, 255, 0.35), transparent 70%); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.95) 48%, rgba(170, 186, 255, 0.5) 52%, transparent 70%);
  transform: translateX(-130%); transition: transform 0s;
}
.btn__arrow { position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); transition: transform 0.45s var(--ease-out), background 0.35s var(--ease); }
.btn__arrow svg { transition: transform 0.5s var(--ease-out); }
.btn__arrow .btn__arrow-b { position: absolute; transform: translateX(-160%); }
@media (hover: hover) {
  .btn:hover::before, .btn:not(.btn--primary):hover::after { opacity: 1; }
  .btn:not(.btn--primary):hover { background: rgba(147, 166, 255, 0.06); border-color: rgba(214, 222, 255, 0.28); }
  .btn--primary:hover { background: linear-gradient(180deg, #ffffff, #eef1ff); transform: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(70, 90, 180, 0.12), 0 16px 50px -10px rgba(147, 166, 255, 0.85), 0 0 80px -20px rgba(110, 135, 255, 0.7); }
  .btn--primary:hover::after { transform: translateX(130%); transition: transform 1s var(--ease-out); }
  .btn--primary:hover .btn__arrow { transform: none; background: #1a2250; }
  .btn:hover .btn__arrow svg:not(.btn__arrow-b) { transform: translateX(160%); }
  .btn:hover .btn__arrow .btn__arrow-b { transform: none; }
}
.orb-cta__btn { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease), box-shadow 0.3s var(--ease), translate 0.5s var(--ease-out); }

/* ---------- карт: курсорыг дагах гэрэл + хүрээ ---------- */
.card {
  --mx: 50%; --my: 0%;
  border: 1px solid transparent;
  background:
    radial-gradient(460px circle at var(--mx) var(--my), rgba(110, 135, 255, calc(0.09 * var(--glow))), transparent 60%) padding-box,
    linear-gradient(180deg, #0b0c12, #060609) padding-box,
    radial-gradient(240px circle at var(--mx) var(--my), rgba(170, 186, 255, calc(0.85 * var(--glow))), transparent 70%) border-box,
    linear-gradient(180deg, rgba(214, 222, 255, 0.16), rgba(214, 222, 255, 0.06)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: --glow 0.5s var(--ease), translate 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
}
@media (hover: hover) {
  .card:hover { --glow: 1; translate: 0 -4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 44px 80px -44px rgba(70, 95, 230, 0.5); }
}
.can-motion .card.reveal.is-in {
  transition: opacity 1.2s var(--ease-out) calc(var(--d, 0s) * 1.6 + 0.15s), transform 1.2s var(--ease-out) calc(var(--d, 0s) * 1.6 + 0.15s), filter 1.2s var(--ease-out) calc(var(--d, 0s) * 1.6 + 0.15s),
    --glow 0.5s var(--ease) 0s, translate 0.6s var(--ease-out) 0s, box-shadow 0.6s var(--ease) 0s;
}
.card h3 { transition: color 0.3s var(--ease); }

/* асуудлын тэмдэг: шилэн хавтан */
.pain__q {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 16px;
  font-size: 1.45rem; font-weight: 400; color: #c8d2ff;
  background: radial-gradient(circle at 30% 20%, rgba(147, 166, 255, 0.28), rgba(147, 166, 255, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(147, 166, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 34px -8px rgba(110, 135, 255, 0.6);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s var(--ease);
}
@media (hover: hover) { .pain:hover .pain__q { transform: translateY(-2px) rotate(-6deg); box-shadow: inset 0 0 0 1px rgba(147, 166, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 44px -6px rgba(110, 135, 255, 0.9); } }

/* зарчмын том тоо: hover-т гэрэл гүйнэ */
.principle__num { background: linear-gradient(100deg, #ffffff 0%, #ffffff 40%, #b9c6ff 50%, #ffffff 60%, #8d9bd6 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-position 1.2s var(--ease-out); }
@media (hover: hover) { .principle:hover .principle__num { background-position: 0 0; } }

/* амлалтын мөр */
.promise { background: linear-gradient(180deg, rgba(147, 166, 255, 0.05), transparent); }
.promise > div { transition: background 0.4s var(--ease); }
@media (hover: hover) { .promise > div:hover { background: rgba(147, 166, 255, 0.05); } }

/* ---------- үнэ: онцлох карт, эргэлдэх гэрлэн хүрээ ---------- */
.price__main {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(80, 105, 220, 0.24), transparent 60%) padding-box,
    linear-gradient(180deg, #0d0f19, #060609) padding-box,
    conic-gradient(from var(--ang), rgba(147, 166, 255, 0.12), rgba(170, 186, 255, 0.95) 8%, rgba(147, 166, 255, 0.12) 22%, rgba(147, 166, 255, 0.12) 50%, rgba(255, 255, 255, 0.55) 58%, rgba(147, 166, 255, 0.12) 72%) border-box;
  animation: spinAng 9s linear infinite;
  box-shadow: 0 50px 100px -50px rgba(70, 95, 230, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
@keyframes spinAng { to { --ang: 360deg; } }
.badge {
  position: absolute; top: clamp(24px, 3.4vw, 40px); right: clamp(24px, 3.4vw, 40px);
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: var(--pill);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; color: #0a0f2a;
  background: linear-gradient(180deg, #ffffff, #d9e0ff); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 6px 26px -6px rgba(147, 166, 255, 0.8);
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #3a50c8; animation: livePulse 2.4s var(--ease) infinite; }
.costs tr { transition: background 0.3s var(--ease); }
.costs td:first-child { color: var(--muted); }

/* ---------- баталгаа: эргэлдэх тамга ---------- */
.orb::after { display: none; }
.orb__ring { position: absolute; left: -26%; top: -26%; width: 152%; height: 152%; max-width: none; overflow: visible; animation: spin 36s linear infinite; pointer-events: none; }
.orb__ring text { font-family: var(--font-sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; fill: rgba(196, 208, 255, 0.78); }
.guarantee { overflow: visible; }
.guarantee .orb { margin: 16px; }

/* ---------- хэнд тохирох ---------- */
.fit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.9; }
.fit--yes::before { background: radial-gradient(70% 60% at 0% 0%, rgba(143, 227, 180, 0.09), transparent 70%); }
.fit--no::before { background: radial-gradient(70% 60% at 0% 0%, rgba(255, 143, 143, 0.06), transparent 70%); }
.fit h3 svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; box-sizing: border-box; }
.fit--yes h3 svg { background: rgba(143, 227, 180, 0.12); box-shadow: inset 0 0 0 1px rgba(143, 227, 180, 0.35); }
.fit--no h3 svg { background: rgba(255, 143, 143, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 143, 143, 0.3); }
.fit .list { margin-top: 22px; }
.fit .list li { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.fit .list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- FAQ: нэмэх тэмдэг эргэж ×, зөөлөн нээгдэнэ ---------- */
.faq summary { transition: color 0.3s var(--ease), padding-left 0.5s var(--ease-out); padding-right: 56px; }
.faq summary::after {
  right: 2px; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transform: translateY(-50%); transition: transform 0.55s var(--ease-out), background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); color: #05060a; background-color: var(--accent); border-color: var(--accent); }
.faq details[open] summary { color: var(--fg); }
@media (hover: hover) {
  .faq summary:hover { padding-left: 10px; color: #fff; }
  .faq summary:hover::after { border-color: rgba(147, 166, 255, 0.6); color: var(--fg); }
}
.faq details > p { overflow: hidden; }

/* ---------- гар утасны доод CTA ---------- */
.mobile-cta { background: linear-gradient(transparent, rgba(0, 0, 0, 0.88) 38%); backdrop-filter: blur(2px); }
.mobile-cta .btn { height: 56px; }

@media (max-width: 640px) {
  .badge { position: static; margin-bottom: 18px; align-self: flex-start; }
  .price__main { display: flex; flex-direction: column; }
  .guarantee .orb { margin: 26px auto 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .price__main, .orb__ring, .chip__dot, .badge i { animation: none !important; }
}
.fit > * { position: relative; }

/* цэсний доторх товч өнгөө хадгална */
.nav__links .btn { color: #05060a; padding: 0 7px 0 24px; }
.nav__links .btn .btn__arrow { color: #fff; }

/* ==========================================================================
   Хуваарь: сарын календарь
   ========================================================================== */
.sched { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sched__facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sched__facts li { display: grid; gap: 2px; min-width: 104px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); }
.sched__facts b { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.03em; color: var(--fg); }
.sched__facts span { font-size: var(--fs-xs); color: var(--faint); letter-spacing: 0.06em; }
.btn__arrow--ghost { background: rgba(147, 166, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(147, 166, 255, 0.3); width: 36px; height: 36px; }
.btn:has(.btn__arrow--ghost) { padding-right: 7px; }

.cal { padding: clamp(20px, 3vw, 32px); }
.cal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cal__title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 400; letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cal__navs { display: flex; gap: 8px; }
.cal__nav {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--fg);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease-out), opacity 0.3s;
}
.cal__nav:hover:not(:disabled) { background: rgba(147, 166, 255, 0.12); border-color: rgba(147, 166, 255, 0.5); }
.cal__nav:active:not(:disabled) { transform: scale(0.92); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { margin-bottom: 8px; }
.cal__dow span { text-align: center; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--faint); padding: 6px 0; }
.cal__dow span.is-class { color: var(--accent); }
.cal__day {
  position: relative; aspect-ratio: 1 / 0.92; min-width: 0; border-radius: 12px; padding: 8px 9px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(214, 222, 255, 0.05); background: rgba(255, 255, 255, 0.015);
  font-variant-numeric: tabular-nums; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.cal__num { font-size: 0.95rem; color: var(--muted); line-height: 1; }
.cal__day.is-out { opacity: 0.22; background: transparent; border-color: transparent; }
.cal__day.is-past:not(.is-out) .cal__num { color: var(--faint); }
/* Лхагва, Бямба: захиалагдсан */
.cal__day.is-booked { border-color: rgba(147, 166, 255, 0.3); background: repeating-linear-gradient(135deg, rgba(147, 166, 255, 0.09) 0 6px, rgba(147, 166, 255, 0.03) 6px 12px); }
.cal__day.is-booked .cal__num { color: #c9d3ff; }
.cal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.7; align-self: flex-end; }
/* 1-р ангийн 8 хичээл */
.cal__day.is-lesson {
  border-color: transparent; color: #05060a;
  background: radial-gradient(120% 120% at 30% 0%, #ffffff 0%, #dfe5ff 45%, #9fb1ff 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 30px -10px rgba(147, 166, 255, 0.9), 0 0 40px -14px rgba(110, 135, 255, 0.9);
}
.cal__day.is-lesson .cal__num { color: #05060a; font-weight: 600; }
.cal__tag { position: absolute; top: 7px; right: 8px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; color: #2a3c86; }
.cal__time { font-size: 0.66rem; color: #2a3c86; font-weight: 500; }
.cal__day.is-today { border-color: rgba(143, 227, 180, 0.7); box-shadow: inset 0 0 0 1px rgba(143, 227, 180, 0.4), 0 0 18px -6px rgba(143, 227, 180, 0.7); }
.cal__day.is-today .cal__num { color: var(--ok); font-weight: 600; }
@media (hover: hover) {
  .cal__day:not(.is-out):hover { transform: translateY(-2px); border-color: rgba(147, 166, 255, 0.45); }
  .cal__day.is-lesson:hover { transform: translateY(-3px) scale(1.04); }
}
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--lesson { background: linear-gradient(135deg, #fff, #9fb1ff); box-shadow: 0 0 10px rgba(147, 166, 255, 0.7); }
.lg--booked { border: 1px solid rgba(147, 166, 255, 0.5); background: repeating-linear-gradient(135deg, rgba(147, 166, 255, 0.35) 0 3px, transparent 3px 6px); }
.lg--today { border: 1px solid var(--ok); }
/* сар солиход гулсаж орно */
.cal__grid.is-swap-r { animation: calIn 0.6s var(--ease-out); --from: 24px; }
.cal__grid.is-swap-l { animation: calIn 0.6s var(--ease-out); --from: -24px; }
@keyframes calIn { from { opacity: 0; transform: translateX(var(--from)); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* анх харагдахад нүднүүд нэг нэгээр тодорно */
@keyframes dayIn { from { opacity: 0; transform: scale(0.82); } }
.can-motion .cal.reveal:not(.is-in) .cal__day { opacity: 0; }
.can-motion .cal.reveal.is-in .cal__day { animation: dayIn 0.7s var(--ease-out) backwards; animation-delay: calc(0.45s + var(--k, 0) * 14ms); }
.can-motion .cal.reveal.is-in .cal__grid[class*="is-swap"] .cal__day { animation-delay: calc(var(--k, 0) * 8ms); }
@media (max-width: 860px) {
  .sched { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cal__dow, .cal__grid { gap: 4px; }
  .cal__day { padding: 5px 6px; border-radius: 9px; aspect-ratio: 1 / 1.05; }
  .cal__num { font-size: 0.85rem; }
  .cal__tag { position: static; align-self: flex-end; font-size: 0.56rem; line-height: 1; }
  .cal__time { display: none; }
  .sched__facts li { min-width: 0; flex: 1 1 0; padding: 12px 14px; }
}

/* ---------- баталгаа: гэрэлтэй цэгэн бүрхүүлтэй бөмбөлөг ---------- */
.orb { width: clamp(150px, 19vw, 230px); background: radial-gradient(circle closest-side, rgba(255, 255, 255, 1) 0, rgba(225, 233, 255, 0.92) 10%, rgba(150, 170, 255, 0.62) 28%, rgba(88, 112, 225, 0.4) 52%, rgba(62, 84, 200, 0.3) 78%, rgba(70, 94, 215, 0.34) 100%); box-shadow: 0 0 40px rgba(110, 136, 255, 0.45), 0 0 120px rgba(90, 115, 235, 0.32), 0 0 220px rgba(70, 95, 210, 0.2), inset 0 0 26px rgba(150, 170, 255, 0.35); }
.orb__dots { position: absolute; left: -8%; top: -8%; width: 116%; height: 116%; max-width: none; pointer-events: none; }

/* ---------- 4 : 6 диаграм (v2) ---------- */
.seatmap { position: relative; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(90% 70% at 50% 0%, rgba(80, 105, 220, 0.2), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 40%), var(--surface); box-shadow: 0 30px 80px -40px rgba(60, 85, 200, 0.45); }
.seatmap::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(214, 222, 255, 0.09) 1px, transparent 1.3px) 0 0 / 18px 18px; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }
.seatmap > * { position: relative; }
.seatmap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seatmap__chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 12px; background: rgba(255, 255, 255, 0.02); white-space: nowrap; }
.seatmap__chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.seatmap__svg { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.seatmap .lnk { fill: none; stroke: url(#lkg); stroke-width: 1; transition: opacity 0.45s var(--ease), stroke 0.45s var(--ease), stroke-width 0.45s var(--ease); }
.seatmap.is-focus .lnk { opacity: 0.12; }
.seatmap.is-focus .lnk.is-hot { opacity: 1; stroke: var(--accent); stroke-width: 1.5; }
.seatmap .pulses { fill: #e3e9ff; transition: opacity 0.4s; }
.seatmap.is-focus .pulses { opacity: 0.25; }
.cn, .sn { cursor: pointer; outline: none; }
.cn__halo { fill: none; stroke: rgba(147, 166, 255, 0.4); stroke-width: 1; stroke-dasharray: 1.5 4.5; transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite; }
.cn__body { fill: url(#cng); stroke: var(--accent); stroke-width: 1.2; transition: stroke-width 0.4s var(--ease), filter 0.4s var(--ease); }
.cn__id { font-family: var(--font-mono); font-size: 12px; fill: #eef1ff; text-anchor: middle; pointer-events: none; }
.cn__name { font-family: var(--font-sans); font-size: 10.5px; fill: var(--faint); text-anchor: middle; letter-spacing: 0.02em; transition: fill 0.4s; }
.sn__glow { fill: url(#sng); opacity: 0; transition: opacity 0.4s var(--ease); }
.sn__body { fill: rgba(147, 166, 255, 0.06); stroke: rgba(147, 166, 255, 0.75); stroke-width: 1.2; transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.sn__no { font-family: var(--font-mono); font-size: 10.5px; fill: var(--accent); text-anchor: middle; pointer-events: none; transition: fill 0.4s; }
.sn.is-taken .sn__body { fill: var(--accent); stroke: var(--accent); }
.sn.is-taken .sn__no { fill: #05060a; }
.cn.is-hot .cn__body, .cn:focus-visible .cn__body { stroke-width: 2.2; filter: drop-shadow(0 0 10px rgba(147, 166, 255, 0.7)); }
.cn.is-hot .cn__name { fill: var(--fg); }
.sn.is-hot .sn__glow, .sn:focus-visible .sn__glow { opacity: 1; }
.sn.is-hot .sn__body { fill: rgba(147, 166, 255, 0.2); stroke: #dfe6ff; }
.sn.is-taken.is-hot .sn__body { fill: #c3cfff; }
.seatmap__lbl { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.22em; fill: var(--faint); text-anchor: middle; }
.seatmap__legend { margin-top: 10px; font-size: 0.8rem; align-items: center; }
.seatmap__legend i { width: 9px; height: 9px; }
.seatmap__legend .lg-coach { background: #17205a; border: 1px solid var(--accent); }
.seatmap__legend .lg-free { border: 1px solid var(--accent); }
.seatmap__legend .lg-taken { background: var(--accent); }
.seatmap__hint { margin-left: auto; color: var(--faint); font-size: 0.75rem; }
.seatmap__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
.seatmap__foot div { padding: 16px 4px 2px; display: flex; flex-direction: column; gap: 4px; }
.seatmap__foot div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.seatmap__foot b { font-size: 1.35rem; font-weight: 500; color: var(--fg); letter-spacing: -0.02em; }
.seatmap__foot span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
@media (hover: none) { .seatmap__hint { display: none; } }
@media (max-width: 560px) {
  .seatmap { padding: 18px 16px; }
  .seatmap__foot b { font-size: 1.15rem; }
  .seatmap__foot div + div { padding-left: 12px; }
}
/* гарч ирэх хөдөлгөөн: холбоос зурагдана, зангилаа нэг нэгээр гарна */
.can-motion .seatmap circle { transform: none; transition: none; }
.can-motion .seatmap text { opacity: 1; transition: none; }
.can-motion .seatmap .lnk { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) 0.6s, opacity 0.45s var(--ease), stroke 0.45s var(--ease), stroke-width 0.45s var(--ease); }
.can-motion .seatmap.is-in .lnk { stroke-dashoffset: 0; }
.can-motion .seatmap .cn, .can-motion .seatmap .sn { opacity: 0; transform: translateY(10px); transform-box: fill-box; transform-origin: center; transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(0.25s + var(--k, 0) * 80ms); }
.can-motion .seatmap.is-in .cn, .can-motion .seatmap.is-in .sn { opacity: 1; transform: none; }
.can-motion .seatmap .pulses { opacity: 0; transition: opacity 1s ease 2.2s; }
.can-motion .seatmap.is-in .pulses { opacity: 1; }
.can-motion .seatmap.is-in.is-focus .pulses { opacity: 0.25; transition-delay: 0s; }
.can-motion .seatmap .seatmap__lbl { opacity: 0; transition: opacity 0.8s ease 1.2s; }
.can-motion .seatmap.is-in .seatmap__lbl { opacity: 1; }

/* ---------- цэс хасагдсан (2026-11-05): зөвхөн лого + өргөдлийн товч ---------- */
.nav__right .btn--primary { display: inline-flex; }
@media (max-width: 560px) { .nav__right .btn--sm { height: 40px; font-size: 0.82rem; padding-left: 16px; } }

/* ==========================================================================
   Гар утасны хувилбар (v9, 2026-11-05)
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.swipe-dots { display: none; }
@media (max-width: 640px) {
  /* хэмнэл: хэсэг хоорондын зайг багасгаж, уншихад ойртуулна */
  .section { padding-block: 76px; }
  .section__head { margin-bottom: 28px; }
  .section__head--split { gap: 14px; }
  .title { font-size: clamp(1.8rem, 7.8vw, 2.4rem); line-height: 1.08; }
  .lead { font-size: 1rem; line-height: 1.6; }
  .eyebrow { font-size: 0.7rem; }

  /* 3 карттай мөр: хажуу тийш гүйлгэдэг, дараагийн карт ирмэгээсээ харагдана */
  [data-swipe] {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
    padding: 4px max(16px, env(safe-area-inset-left, 0px)) 8px;
    scrollbar-width: none;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > .card { flex: 0 0 84%; scroll-snap-align: start; min-height: 100%; }
  [data-swipe] > .card:last-child { margin-right: 4px; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .swipe-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-strong); transition: width 0.4s var(--ease), background 0.4s var(--ease); }
  .swipe-dots i.is-on { width: 22px; background: var(--accent); }

  /* картууд: нягт дотор зай */
  .card { padding: 22px 20px; border-radius: 18px; }
  .pain__q { width: 44px; height: 44px; margin-bottom: 18px; }
  .pain h3, .principle h3 { font-size: 1.12rem; }
  .principle__num { font-size: 2.6rem; }
  .promise { margin-top: 20px; }
  .promise > div { padding: 18px 20px; }
  .note { font-size: 0.8rem; }

  /* story: 2-р алхмын текст бусад алхамтай ижил байрлалд (дээд, зүүн) */
  .scene-center { inset: auto 0 auto 0; top: calc(env(safe-area-inset-top, 0px) + 96px); justify-content: flex-start; align-items: flex-start; text-align: left; }
  .scene-center p { margin-top: 14px; font-size: 0.95rem; }
  .scene-center .title, .scene-copy .title { font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .scene-copy p { margin-top: 14px; color: #c4cad8; }
  .hero__sub { font-size: 0.98rem; line-height: 1.6; }

  /* толгой: доод CTA гарсан үед давхардахгүй */
  .nav__right .btn { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
  .mcta-on .nav__right .btn { opacity: 0; transform: translateY(-6px); pointer-events: none; }

  /* доод CTA: шил мэт, эрхий хуруунд ойр */
  .mobile-cta { padding-top: 22px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9) 45%); }
  .mobile-cta .btn { height: 54px; font-size: 0.95rem; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  /* хүрэлтийн хариу */
  .btn:active, .orb-cta__btn:active { transform: scale(0.97); }
  .card:active { transform: scale(0.99); }
  .faq summary { min-height: 56px; }

  /* хуваарь, үнэ */
  .sched__facts li { padding: 14px 12px; }
  .price__main { padding: 26px 20px; }
  .guarantee { padding: 26px 20px; gap: 6px; }
  .final .title { font-size: clamp(1.8rem, 7.8vw, 2.4rem); }
}
@media (max-width: 380px) {
  [data-swipe] > .card { flex-basis: 88%; }
  .nav__right .btn--sm { padding-left: 14px; font-size: 0.78rem; }
}
