/* ================================================================
   Зөвлөх боломж төв (CHANCE)
   Design system — #F6F8FC background · #0A2342 navy
   accent text + CTA fill #085080 (logo blue) · hover #063E63
   Cormorant Garamond / Manrope / IBM Plex Mono
   ================================================================ */

:root {
  --navy: #0a2342;
  --navy-ink: #101d30;
  --navy-soft: #1a3357;
  /* Брэндийн өнгө — логоос авсан. Нэг accent: цэнхэр #085080 */
  --blue: #085080;         /* accent текст + CTA дүүргэлт */
  --blue-deep: #063e63;    /* CTA hover */
  --blue-wash: #eaf2f8;    /* accent-ийн цайвар дэвсгэр */
  --light: #f6f8fc;
  --white: #ffffff;
  --muted: #5a6b84;
  --muted-on-navy: #a8b6cc;
  --line: #e1e7f0;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  --wrap: 1160px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 35, 66, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 35, 66, 0.07);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

/* ---------------------------------------------------------------- */
/*  Layout                                                          */
/* ---------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 68px) 0;
}

/* Нэгдсэн цайвар фон — бүх section адилхан */
.section--paper,
.section--light {
  background: var(--light);
}

.section--navy {
  background: var(--light);
  color: var(--navy-ink);
}

/* ---------------------------------------------------------------- */
/*  Typography                                                      */
/* ---------------------------------------------------------------- */

.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-size: clamp(34px, 5.2vw, 60px);
}

.display em {
  font-style: italic;
  color: var(--blue);
}

.section--navy .display em,
.page-head .display em,
.hero .display em {
  color: var(--blue);
}

.h2 {
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.14;
}

.h3 {
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.22;
}

.h4 {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.3;
}

.lead {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.72;
  color: var(--muted);
  max-width: 62ch;
}

.section--navy .lead {
  color: var(--muted-on-navy);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::after {
  content: '';
  height: 1px;
  width: 56px;
  background: var(--blue);
  opacity: 0.65;
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--blue);
}

.eyebrow--light::after {
  background: var(--blue);
  opacity: 0.8;
}

.eyebrow--plain::after {
  display: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.section-head .h2 {
  margin-top: 16px;
}

.section-head .lead {
  font-size: 15.5px;
  padding-bottom: 4px;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
}

/* ---------------------------------------------------------------- */
/*  Buttons                                                         */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 1px solid var(--navy);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn .arrow {
  transition: transform 0.18s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Гол CTA — логоны ногоон дүүргэлт, бараан ногоон текст (5.3:1) */
.btn--cta {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.btn--cta:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.hero .btn--ghost,
.page-head .btn--ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.hero .btn--ghost:hover,
.page-head .btn--ghost:hover {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 3px;
  transition: gap 0.18s var(--ease), color 0.18s;
}

.link-underline:hover {
  gap: 13px;
  color: var(--blue);
}

/* ---------------------------------------------------------------- */
/*  Header + navigation                                             */
/* ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 248, 252, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s, background 0.2s;
}

.site-header.is-stuck {
  box-shadow: 0 8px 26px rgba(10, 35, 66, 0.09);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: radial-gradient(circle at 30% 25%, #17325a 0%, var(--navy) 70%);
  flex-shrink: 0;
}

.brand-mark b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.brand-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--navy);
}

.brand-text small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

/* Гүүр: dropdown-ийн 10px зайг далд элементээр холбоно.
   Үгүй бол хулганыг доош зөөхөд nav-item-ээс гарч, цэс хаагдана. */
.nav-item[data-dropdown]::after {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 14px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.16s, background 0.16s;
}

.nav-link:hover,
.nav-item.is-open > .nav-link {
  color: var(--blue);
  background: var(--white);
}

.nav-link .caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.nav-item.is-open .nav-link .caret {
  transform: rotate(-135deg) translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 340px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(10, 35, 66, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
  z-index: 90;
}

.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 5px;
  color: var(--navy-ink);
  transition: background 0.15s;
}

.dropdown a:hover {
  background: var(--light);
}

.dropdown a strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.dropdown a span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.dropdown a em {
  display: inline-block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-wash);
  border: 1px solid rgba(8, 80, 128, 0.4);
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 1px;
}

.header-cta {
  padding: 11px 20px;
  font-size: 13px;
  flex-shrink: 0;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(168, 182, 204, 0.35);
  border-radius: 4px;
  padding: 0 10px;
  flex-shrink: 0;
}

.nav-toggle i {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

body.nav-open .nav-toggle i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

body.nav-open .nav-toggle i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: 74px 0 0 0;
  overflow-y: auto;
  background: var(--light);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 28px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  z-index: 79;
}

body.nav-open .mobile-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-panel .wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-group {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--blue);
  font-size: 17px;
  line-height: 1;
}

.mobile-group[open] summary::after {
  content: '−';
}

.mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 0 4px 10px;
}

.mobile-sub a {
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--muted);
  border-left: 1px solid rgba(8, 80, 128, 0.5);
  margin-left: 6px;
  border-radius: 0 4px 4px 0;
}

.mobile-sub a:hover {
  color: var(--blue);
  background: var(--white);
}

.mobile-sub a b {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

.mobile-panel nav > a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn {
  margin-top: 20px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 1080px) {
  .nav--desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .brand-text strong {
    font-size: 12.5px;
  }
}

@media (max-width: 620px) {
  .header-inner {
    height: 64px;
  }

  .mobile-panel {
    inset: 64px 0 0 0;
  }

  .brand-text small {
    display: none;
  }
}

/* ---------------------------------------------------------------- */
/*  Reveal (progressive enhancement)                                 */
/* ---------------------------------------------------------------- */

.reveal {
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.66s var(--ease), transform 0.66s var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------------------------- */
/*  Hero — navy 30%                                                 */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
  color: var(--navy-ink);
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(46px, 5.5vw, 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: '';
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(10, 35, 66, 0.07);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--blue);
}

.hero .eyebrow::after {
  background: var(--blue);
  opacity: 0.75;
}

.hero .display {
  margin-top: 22px;
  max-width: 21ch;
  font-size: clamp(32px, 4.4vw, 54px);
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.72;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--navy-ink);
}

.hero-bullets li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-top: 7px;
  border-radius: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-credit {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 46ch;
}

/* Hero media */
.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  aspect-ratio: 4 / 4.1;
  box-shadow: 0 24px 60px rgba(10, 35, 66, 0.12);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 35, 66, 0) 55%, rgba(10, 35, 66, 0.35) 100%);
  pointer-events: none;
}

/* ISO / standards badges under hero image */
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.hero-badge {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.hero-badge .badge-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.hero-badge b {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--navy);
  line-height: 1.25;
}

.hero-badge span {
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 2px;
}

.hero-badge .mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(8, 80, 128, 0.55);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-wash);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero .display {
    max-width: 26ch;
  }

  .hero-media {
    width: 100%;
  }

  .hero-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .hero-frame {
    aspect-ratio: 4 / 3;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .hero-badges {
    flex-direction: column;
  }
}

/* ---------------------------------------------------------------- */
/*  Trust strip                                                     */
/* ---------------------------------------------------------------- */

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.trust-item {
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item .k {
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.trust-item .k span {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-left: 5px;
  vertical-align: 4px;
  text-transform: uppercase;
}

.trust-item p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 24ch;
}

@media (max-width: 860px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    padding: 20px 18px 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(2n) {
    border-right: none;
    padding-left: 18px;
  }

  .trust-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* ---------------------------------------------------------------- */
/*  About + video                                                   */
/* ---------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 66px);
  align-items: start;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.45;
  color: var(--navy);
  padding-left: 22px;
  border-left: 1px solid var(--blue);
}

/* Video (native player, poster) */
.video {
  position: relative;
  margin-top: clamp(38px, 4.5vw, 62px);
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(10, 35, 66, 0.1);
}

.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.video-dur {
  color: var(--blue);
  flex-shrink: 0;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(44px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
  background: var(--white);
  padding: clamp(22px, 2.6vw, 30px);
}

.value .n {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.value h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 14px;
  color: var(--navy);
}

.value p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .values {
    grid-template-columns: 1fr;
  }

  .video {
    aspect-ratio: 16 / 10;
  }
}

/* ---------------------------------------------------------------- */
/*  Outsourcing — cards (light)                                     */
/* ---------------------------------------------------------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.svc-card:hover {
  border-color: rgba(8, 80, 128, 0.62);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.svc-card .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.svc-card h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.24;
  color: var(--navy);
  margin-top: 14px;
}

.svc-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--muted);
  flex: 1;
}

.svc-card .more {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-card:hover .more {
  color: var(--blue);
}

.svc-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 940px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  Process (4 steps)                                               */
/* ---------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  background: var(--white);
  padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2.2vw, 26px);
}

.process-step .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.process-step h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--navy);
  margin-top: 12px;
}

.process-step p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 860px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  Certification / trust block (light)                             */
/* ---------------------------------------------------------------- */

.cert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.cert-steps {
  display: grid;
  gap: 0;
  margin-top: 30px;
  counter-reset: cert;
}

.cert-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cert-step:last-child {
  border-bottom: none;
}

.cert-step .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--blue);
  padding-top: 3px;
}

.cert-step h4 {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.cert-step p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Partner badge block */
.partner-block {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.partner-block .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.partner-block .year {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin-top: 12px;
}

.partner-block .org {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-ink);
  margin-top: 12px;
  line-height: 1.45;
}

.partner-block p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.partner-sep {
  height: 1px;
  margin: 24px 0 22px;
  background: var(--line);
}

.cert-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  Training grid                                                   */
/* ---------------------------------------------------------------- */

.train-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.train-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.train-card:hover {
  border-color: rgba(8, 80, 128, 0.62);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.train-card--wide {
  grid-column: span 2;
}

.train-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-wash);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 4px 11px;
  font-weight: 500;
}

/* «удахгүй» — идэвхтэй шошгоноос тодорхой сул: саарал, хүрээгүй */
.train-tag--soft {
  background: var(--white);
  color: var(--muted);
  border: 1px dashed var(--line);
}

.train-card h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
  margin-top: 15px;
}

.train-card p {
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--muted);
  flex: 1;
}

.train-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.train-meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.train-meta b {
  color: var(--navy);
  font-weight: 500;
}

@media (max-width: 860px) {
  .train-grid {
    grid-template-columns: 1fr;
  }

  .train-card--wide {
    grid-column: span 1;
  }
}

/* ---------------------------------------------------------------- */
/*  Stats band (light, blue numerals)                               */
/* ---------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: clamp(22px, 2.7vw, 32px) clamp(18px, 2.2vw, 26px);
}

.stat .num {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.015em;
}

.stat .num sup {
  font-size: 0.44em;
  vertical-align: 0.75em;
  margin-left: 1px;
}

.stat p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--navy-ink);
}

.stat .note {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 860px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 460px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  News                                                            */
/* ---------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.news-card:hover {
  border-color: rgba(8, 80, 128, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

.news-thumb .cat {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border-radius: 3px;
  padding: 4px 9px;
  font-weight: 500;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.news-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.news-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 9px;
  flex: 1;
}

.news-body .more {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 7px;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  Partners                                                        */
/* ---------------------------------------------------------------- */

.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.partner {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px 16px;
  background: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
}

.partner:hover {
  color: var(--navy);
  background: var(--light);
}

@media (max-width: 860px) {
  .partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner:last-child {
    grid-column: span 2;
  }
}

/* ---------------------------------------------------------------- */
/*  Contact                                                         */
/* ---------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}

.contact-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-list .k {
  min-width: 86px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.contact-list a {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}

.contact-list a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.contact-list span:not(.k) {
  color: var(--navy-ink);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy-ink);
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 35, 66, 0.07);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8bd;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-consent {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(46, 91, 62, 0.08);
  border: 1px solid rgba(46, 91, 62, 0.3);
  color: #24503a;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: rgba(178, 42, 42, 0.07);
  border-color: rgba(178, 42, 42, 0.3);
  color: #8f2626;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- */
/*  Footer (light)                                                  */
/* ---------------------------------------------------------------- */

.site-footer {
  background: var(--light);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: clamp(44px, 5vw, 68px) 0 26px;
  font-size: 13px;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(26px, 3.5vw, 48px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.foot-brand .brand {
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 38ch;
  color: var(--muted);
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 15px;
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-col a,
.foot-col span {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.16s;
}

.foot-col a:hover {
  color: var(--blue);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #7a8ca6;
}

@media (max-width: 900px) {
  .foot-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-brand {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .foot-top {
    grid-template-columns: 1fr;
  }

  .foot-brand {
    grid-column: span 1;
  }
}

/* ---------------------------------------------------------------- */
/*  Inner page head (light)                                         */
/* ---------------------------------------------------------------- */

.page-head {
  background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
  color: var(--navy-ink);
  padding: clamp(44px, 5.5vw, 74px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.crumbs a {
  color: var(--navy);
  transition: color 0.16s;
}

.crumbs a:hover {
  color: var(--blue);
}

.crumbs span {
  opacity: 0.5;
}

.page-head .display {
  margin-top: 14px;
  max-width: 24ch;
  font-size: clamp(30px, 4.2vw, 50px);
}

.page-head .lead {
  margin-top: 20px;
  color: var(--muted);
  max-width: 64ch;
}

.page-head .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--navy);
}

.chip i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------- */
/*  Detail page layout                                              */
/* ---------------------------------------------------------------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.detail-body h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 29px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-top: clamp(34px, 4vw, 46px);
}

.detail-body h2:first-child {
  margin-top: 0;
}

.detail-body > p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.detail-body .lead {
  font-size: 15px;
  color: var(--navy-ink);
}

/* highlight list */
.hl-list {
  margin-top: 22px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.hl-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 18px;
  background: var(--white);
}

.hl-item .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.hl-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--navy-ink);
}

@media (max-width: 520px) {
  .hl-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* check list */
.check-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--navy-ink);
}

.check-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 1px;
  border: 1px solid var(--blue);
  background: var(--blue-wash);
}

/* sidebar card */
.side-card {
  position: sticky;
  top: 96px;
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--white);
  color: var(--navy-ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.side-card .label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.side-card .rows {
  margin-top: 18px;
  display: grid;
  gap: 0;
}

.side-card .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.side-card .row:last-of-type {
  border-bottom: none;
}

.side-card .row span {
  color: var(--muted);
  flex-shrink: 0;
}

.side-card .row b {
  font-weight: 600;
  text-align: right;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 12.5px;
}

.side-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

.side-card .alt {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.16s;
}

.side-card .alt:hover {
  color: var(--blue);
}

@media (max-width: 940px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

/* ---------------------------------------------------------------- */
/*  AI levels                                                       */
/* ---------------------------------------------------------------- */

.course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.course:hover {
  border-color: rgba(8, 80, 128, 0.6);
  box-shadow: var(--shadow-md);
}

.ai-tag {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.course h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
  margin: 15px 0 11px;
}

.course > div > p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 62ch;
}

.course .out {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.course .side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.6vw, 34px);
}

.course .side .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.course .side .row b {
  color: var(--navy);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 12px;
  text-align: right;
}

.course .side .btn {
  margin-top: 8px;
  justify-content: center;
}

.mod-note {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid rgba(8, 80, 128, 0.5);
  border-radius: var(--radius);
  background: var(--blue-wash);
  margin-top: 8px;
}

.mod-note i {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--blue);
}

.mod-note p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.mod-note b {
  color: var(--navy);
}

@media (max-width: 860px) {
  .course {
    grid-template-columns: 1fr;
  }

  .course .side {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }
}

/* ---------------------------------------------------------------- */
/*  FAQ                                                             */
/* ---------------------------------------------------------------- */

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.faq-toc a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}

.faq-toc a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-wash);
}

.faq-group {
  margin-bottom: clamp(30px, 4vw, 48px);
  scroll-margin-top: 96px;
}

.faq-group > h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.faq-group > h2 span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 9px;
  font-weight: 500;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 2px;
  text-align: left;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  transition: color 0.16s;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-q .ic {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.faq-q .ic::before,
.faq-q .ic::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.faq-q .ic::before {
  width: 13px;
  height: 1.5px;
}

.faq-q .ic::after {
  width: 1.5px;
  height: 13px;
}

.faq-item.is-open .faq-q .ic::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height 0.26s var(--ease);
}

.faq-a-inner {
  padding: 0 2px 22px;
  max-width: 74ch;
}

.faq-a-inner p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.faq-a-inner p + p {
  margin-top: 12px;
}

/* FAQ lead box */
.faq-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  color: var(--navy-ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  box-shadow: var(--shadow-sm);
}

.faq-help h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.24;
  color: var(--navy);
}

.faq-help p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

@media (max-width: 700px) {
  .faq-help {
    grid-template-columns: 1fr;
  }

  .faq-help .btn {
    justify-content: center;
  }
}

/* ---------------------------------------------------------------- */
/*  Inline CTA band (light)                                         */
/* ---------------------------------------------------------------- */

.cta-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy-ink);
  text-align: center;
  padding: clamp(46px, 5.5vw, 76px) 0;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.22;
  max-width: 26ch;
  margin: 0 auto;
  color: var(--navy);
}

.cta-band .accent-hairline {
  width: 56px;
  height: 1px;
  background: var(--blue);
  margin: 20px auto 0;
}

.cta-band p {
  margin: 18px auto 28px;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

/* ---------------------------------------------------------------- */
/*  Utilities                                                       */
/* ---------------------------------------------------------------- */

.mt-s {
  margin-top: 14px;
}

.mt-m {
  margin-top: 26px;
}

.mt-l {
  margin-top: clamp(32px, 4vw, 48px);
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 18px;
  }

  .section {
    padding: clamp(44px, 8vw, 60px) 0;
  }
}

/* ================================================================ */
/*  ХЭЛ СОЛИХ · ТОЛГООНЫ БАГЦ                                     */
/* ================================================================ */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--white);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lang-switch:hover {
  background: var(--blue-wash);
  border-color: var(--blue);
  color: var(--blue-deep);
}

.lang-switch--mobile {
  margin-top: 14px;
  align-self: flex-start;
  height: 38px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ================================================================ */
/*  МЭДЭЭНИЙ АРХИВ — АНГИЛЛЫН ШҮҮЛТ                              */
/* ================================================================ */

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.news-filters a {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.news-filters a:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-wash);
}

.news-filters a.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.news-grid--archive {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.news-grid--archive .news-body p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.news-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ================================================================ */
/*  МЭДЭЭНИЙ ДЭЛГЭРЭНГҮЙ — 5 ХЭСЭГ                                */
/* ================================================================ */

.news-article-wrap {
  max-width: 880px;
}

.news-hero {
  margin: 0 0 34px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light);
}

.news-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Агуулгын жагсаалт */
.news-toc {
  margin: 0 0 44px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  background: var(--blue-wash);
}

.news-toc .label {
  display: block;
  margin-bottom: 14px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

.news-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  counter-reset: toc;
}

.news-toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.45;
  transition: color 160ms ease;
}

.news-toc a:hover {
  color: var(--blue);
}

.news-toc a b {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--blue);
  flex: none;
}

/* Хэсэг бүр */
.news-sec {
  position: relative;
  margin: 0 0 40px;
  padding-left: 44px;
  scroll-margin-top: 110px;
}

.news-sec-n {
  position: absolute;
  left: 0;
  top: 2px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  opacity: 0.65;
}

.news-sec h2 {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.news-sec p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy-ink);
}

.news-sec p:last-child {
  margin-bottom: 0;
}

.news-sec .check-list {
  margin-top: 16px;
}

/* Тагууд */
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* Өмнөх / дараах */
.news-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.news-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.news-nav-item:hover {
  border-color: var(--blue);
  background: var(--blue-wash);
}

.news-nav-item--next {
  text-align: right;
}

.news-nav-item span {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.news-nav-item b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

@media (max-width: 720px) {
  .news-nav {
    grid-template-columns: 1fr;
  }

  .news-nav-item--next {
    text-align: left;
  }

  .news-sec {
    padding-left: 0;
    padding-top: 26px;
  }

  .news-sec-n {
    position: static;
    display: block;
    margin-bottom: 7px;
  }

  .news-toc {
    padding: 18px 20px;
  }
}

@media (max-width: 1080px) {
  .header-actions .header-cta {
    display: none;
  }
}

@media (max-width: 660px) {
  .header-actions {
    margin-left: auto;
    margin-right: 6px;
  }

  .lang-switch {
    min-width: 38px;
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }
}
