/* ==========================================================================
   index.html — DBS компанийн сайт (үндсэн)
   mak.mn-ий бүтэц (бүтэн дэлгэцийн зурган нүүр, давхцах 3 карт, мэдээ, тоо, мэндчилгээ, маягт)
   + томоохон корпорацын цэвэр, их зайтай хэв маяг. Бодит гэрэл зураг, Manrope фонт,
   хар хөх (#0f1420) ба цагаан, брэндийн ягаан #c80850 зөвхөн онцлох газар.
   ========================================================================== */

:root {
  --ink: #0f1420;
  --ink-2: #0a0e17;
  --text: #2b303b;
  --muted: #636b7a;
  --line: #e6e8ee;
  --soft: #f5f6f9;
  --white: #fff;
  --pink: #c80850;
  --pink-dark: #a3063f;
  --pink-light: #ff4d8d;     /* бараан дэвсгэр дээрх ягаан */
  --pink-soft: #fdecf2;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --maxw: 1240px;
  --gutter: 20px;
  --header-h: 76px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -30px rgba(15, 20, 32, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 88px; } }

/* ---------- Үндэс ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
html.nav-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

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

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Бичгийн хэв ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--pink-light); }

.h2 { margin-top: 14px; font-size: clamp(32px, 1.2rem + 2.4vw, 50px); }
.h2 em,
.hero__title em { color: var(--pink); font-style: normal; }
.h2--light { color: #fff; }
.h2--light em { color: var(--pink-light); }

.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  transition: color 0.2s, gap 0.3s var(--ease);
}
.link-arrow .icon { width: 20px; height: 20px; color: var(--pink); }
.link-arrow:hover { gap: 16px; color: var(--pink); }

/* ---------- Товч ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 14px 30px -14px rgba(200, 8, 80, 0.7); }
.btn--primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn--light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Толгой хэсэг ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height 0.4s var(--ease); }
.header.is-solid { --header-h: 72px; background: rgba(255, 255, 255, 0.98); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(15, 20, 32, 0.5); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__name { font-size: 25px; font-weight: 800; letter-spacing: 0.02em; line-height: 1; }
.logo--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s, color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link,
.nav__item.is-active > .nav__link { opacity: 1; }
.nav__link:hover::after,
.nav__item.is-open > .nav__link::after,
.nav__item.is-active > .nav__link::after { transform: none; }
.nav__chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform 0.3s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__call { display: none; }

/* Dropdown — цагаан бөөрөнхий самбар */
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 5;
  min-width: 270px;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(15, 20, 32, 0.35), 0 0 0 1px rgba(15, 20, 32, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; }
.nav__item.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.drop__links a:hover { background: var(--soft); color: var(--pink); }

/* Бүтээгдэхүүний карт */
.drop--products { min-width: 380px; }
@media (max-width: 1023px) { .drop--products { min-width: 0; } }
.pcard { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background-color 0.2s; }
.pcard:hover { background: var(--soft); }
.pcard__logo { display: grid; place-items: center; height: 64px; padding: 0 10px; border-radius: 12px; background: #0b0b10; }
.pcard__logo img { width: 100%; height: auto; }
.pcard__name { display: block; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.2; }
.pcard__tag { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 600; }
.pcard__go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.pcard__go .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.pcard:hover .pcard__go { background: var(--pink); color: #fff; transform: rotate(45deg); }
.pcard:hover .pcard__go .icon { transform: rotate(-45deg); }

.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.header__phone .icon { width: 18px; height: 18px; color: var(--pink-light); }
.header.is-solid .header__phone .icon { color: var(--pink); }
.btn--header { background: var(--pink); color: #fff; }
.btn--header:hover { background: var(--pink-dark); }
.burger { display: none; }

/* Хэл сонгох (EN / MN) — далбаатай жижиг товч */
.lang { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; }
.header.is-solid .lang,
html.nav-open .lang { border-color: var(--line); }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px 0 7px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  opacity: 0.78;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.lang__btn img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.lang__btn:hover { opacity: 1; }
.lang__btn[aria-pressed="true"] { background: #fff; color: var(--ink); opacity: 1; }
.header.is-solid .lang__btn[aria-pressed="true"],
html.nav-open .lang__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* Нэвтрэх (админ самбар) — EN/MN-ийн баруун талд даруухан дүрс */
.login-link {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s, background-color 0.2s, border-color 0.2s;
}
.login-link .icon { width: 17px; height: 17px; }
.login-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.header.is-solid .login-link,
html.nav-open .login-link { border-color: var(--line); }
.header.is-solid .login-link:hover,
html.nav-open .login-link:hover { background: var(--soft); }
/* Локал дээр (file://) самбар, маягтыг хэрхэн эхлүүлэх тухай жижиг мэдэгдэл */
.local-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(520px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  font-size: 14.5px;
  line-height: 1.6;
  transform: translateX(-50%);
  animation: toast-in 0.4s var(--ease);
}
.local-toast b { color: #fff; }
.local-toast p { flex: 1; }
.local-toast button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* Маягтын спам шалгах далд талбар */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) {
  .header__right { gap: 8px; }
  .lang__btn { gap: 5px; padding: 0 8px 0 6px; font-size: 12px; }
  .lang__btn img { width: 18px; height: 13px; }
}
/* Маш нарийн утсан дээр зөвхөн далбаа */
@media (max-width: 340px) {
  .lang__btn { gap: 0; padding: 0 6px; font-size: 0; }
  .lang__btn img { width: 22px; height: 15px; }
}

/* Дунд өргөнтэй дэлгэц: 5 цэс + хэлний товч багтахаар утас, дараа нь "Санал хүсэлт" товчийг нууна
   (утас "Холбоо барих" хэсэгт, товч цэсэнд байгаа) */
@media (max-width: 1699px) { .header__phone { display: none; } }
/* Том дэлгэц: "Санал хүсэлт" товчны оронд утасны дугаар */
@media (min-width: 1700px) { .btn--header { display: none; } }
@media (min-width: 1024px) and (max-width: 1319px) {
  .header__inner { gap: 24px; }
  .nav__link { padding: 0 11px; }
  .nav__link::after { left: 11px; right: 11px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .btn--header { display: none; }
  .nav__link { padding: 0 9px; font-size: 14.5px; }
  .nav__link::after { left: 9px; right: 9px; }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .header__inner { gap: 16px; }
  .header__right { gap: 10px; }
  .nav__link { padding: 0 7px; font-size: 14px; }
  .nav__link::after { left: 7px; right: 7px; }
}

/* Утас, таблет: бүтэн дэлгэцийн цэс */
@media (max-width: 1023px) {
  .header__inner { gap: 14px; }
  .header__right { margin-left: auto; gap: 10px; }
  .burger {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    margin-right: -8px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .burger span { display: block; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 12px var(--gutter) 40px;
    background: #fff;
    color: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  html.nav-open .header { background: #fff; color: var(--ink); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { justify-content: space-between; width: 100%; height: auto; padding: 18px 0; font-size: 20px; font-weight: 800; }
  .nav__link::after { display: none; }
  .nav__chev { width: 20px; height: 20px; }
  .drop {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transform: none;
    transition: max-height 0.35s var(--ease), visibility 0.35s;
  }
  .drop::before { display: none; }
  .nav__item.is-open .drop { max-height: 500px; padding-bottom: 12px; }
  .nav__call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--pink);
    font-size: 18px;
    font-weight: 800;
  }
  .nav__call .icon { width: 20px; height: 20px; }
}
@media (max-width: 560px) { .btn--header { display: none; } }

/*
 * Жижиг утас: лого, хэлний товч, нэвтрэх дүрс, цэсний товч дөрвүүлээ 360px-д багтана.
 * (Өмнө нь толгой хэсэг 404px өргөн шаарддаг байсан тул цэсний товч дэлгэцнээс гарч байв.)
 */
@media (max-width: 767px) {
  .logo { gap: 8px; }
  .logo__mark { width: 33px; height: 33px; }
  .logo__name { font-size: 22px; }
  .header__right { gap: 8px; }
  .lang { padding: 2px; }
  .lang__btn { gap: 5px; height: 30px; padding: 0 7px 0 6px; font-size: 12px; }
  .login-link { width: 33px; height: 33px; }
  .login-link .icon { width: 16px; height: 16px; }
  .burger { width: 42px; height: 42px; margin-right: -6px; }
  .burger span { width: 24px; }
}
/* Хамгийн жижиг утас (iPhone SE г.м.): EN/MN бичгийг нууж зөвхөн далбааг үлдээнэ.
   display:none биш — дэлгэц уншигч програмд товчны нэр хэвээр сонсогдоно. */
@media (max-width: 359px) {
  .lang__btn { gap: 0; padding: 0 8px; }
  .lang__btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .logo__name { font-size: 20px; }
}

/* ---------- Нүүр ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 9s linear;
}
.slide.is-active .slide__img { transform: scale(1); }
/* Зүүн ба доод талыг бараан болгож бичиг уншигдахуйц */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 22, 0.8) 0%, rgba(10, 14, 22, 0.45) 45%, rgba(10, 14, 22, 0.08) 80%),
    linear-gradient(0deg, rgba(10, 14, 22, 0.75) 0%, rgba(10, 14, 22, 0) 45%),
    linear-gradient(180deg, rgba(10, 14, 22, 0.5) 0%, rgba(10, 14, 22, 0) 22%);
}
.slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 250px;
}
.slide__content > * { max-width: 760px; }
.slide__logo { width: min(240px, 50vw); height: auto; margin-bottom: 26px; }
.hero__title { color: #fff; font-size: clamp(40px, 1.2rem + 4.6vw, 80px); line-height: 1.04; letter-spacing: -0.035em; }
.hero__title em { color: var(--pink-light); }
.hero__text { margin-top: 22px; color: rgba(255, 255, 255, 0.92); font-size: clamp(17px, 0.9rem + 0.4vw, 21px); line-height: 1.55; text-shadow: 0 1px 12px rgba(10, 14, 22, 0.45); }
/* Утас, таблет: бичиг бүтэн өргөнөө эзэлдэг тул зургийг жигд бараандуулна */
@media (max-width: 1023px) {
  .slide::after {
    background:
      linear-gradient(90deg, rgba(10, 14, 22, 0.86) 0%, rgba(10, 14, 22, 0.66) 55%, rgba(10, 14, 22, 0.5) 100%),
      linear-gradient(0deg, rgba(10, 14, 22, 0.8) 0%, rgba(10, 14, 22, 0) 52%),
      linear-gradient(180deg, rgba(10, 14, 22, 0.55) 0%, rgba(10, 14, 22, 0) 24%);
  }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Идэвхтэй слайдын бичиг доороос гарч ирнэ */
.slide__content > * { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: 0.12s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: 0.24s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: 0.36s; }

/* Доод талын нэртэй товчнууд + явцын зураас */
.hero__nav { position: absolute; left: 0; right: 0; bottom: 140px; z-index: 3; }
.hero__nav-inner { display: flex; align-items: flex-end; gap: 24px; }
.hero__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 1; max-width: 720px; gap: 18px; }
.hero__tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.hero__tab b { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.hero__tab::before,
.hero__tab::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; border-radius: 2px; }
.hero__tab::before { right: 0; background: rgba(255, 255, 255, 0.25); }
.hero__tab::after { width: 100%; background: var(--pink-light); transform: scaleX(0); transform-origin: left; }
.hero__tab:hover { color: #fff; }
.hero__tab.is-active { color: #fff; }
.hero__tab.is-active::after { transform: scaleX(1); }
.hero.is-playing .hero__tab.is-active::after { animation: tab-fill var(--dur, 7s) linear both; }
.hero.is-paused .hero__tab.is-active::after { animation-play-state: paused; }
@keyframes tab-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hero__pause:hover { border-color: #fff; background: #fff; color: var(--ink); }
.hero__pause .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.hero__pause .icon--play { display: none; fill: currentColor; stroke: none; }
.hero.is-paused .hero__pause .icon--pause { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }

@media (max-width: 767px) {
  .hero { min-height: 600px; }
  .slide__content { padding-bottom: 200px; }
  .hero__nav { bottom: 100px; }
  .hero__tabs { gap: 10px; }
  .hero__tab { flex-direction: column; gap: 2px; font-size: 13px; }
}

/* ---------- Нүүрний интро: "DBS LLC" хөдөлгөөнт дэлгэц (видео маягийн) ----------
   0.2с  — лого алсаас (жижиг, бүдэг) төвд томорч гарна
   2.3с  — баруун тийш шилжиж, зүүн талд бараан уусалт, жижиг дүрсүүд, гарчиг гарна
   3.8с  — "DBS" үсгэн дээгүүр гэрэл гүйнэ; цагираг, гэрлийн урсгал тасралтгүй */

.intro {
  --to-x: 25vw;
  --to-y: -16vh;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 75% 30%, rgba(56, 22, 60, 0.9) 0%, rgba(10, 13, 22, 0) 70%),
    radial-gradient(90% 120% at 50% 45%, #0d1120 0%, #070a12 70%);
}
/* Бүдэг цэгэн тор — зөвхөн баруун талд */
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.4px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(45% 55% at 75% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(45% 55% at 75% 30%, #000 0%, transparent 100%);
  opacity: 0.35;
}

/* Лого + гэрэл + цагираг: төвөөс баруун тийш шилжинэ */
.intro__stage {
  position: absolute;
  left: 50%;
  top: 45%;
  font-size: clamp(52px, 1.4rem + 4.6vw, 108px);
  transform: translate(-50%, -50%) translate(var(--to-x), var(--to-y));
}
.slide.is-active .intro__stage { animation: intro-move 1.4s cubic-bezier(0.65, 0, 0.35, 1) 2.3s both; }
@keyframes intro-move { from { transform: translate(-50%, -50%); } }

.intro__brand { position: relative; display: flex; align-items: center; gap: 0.2em; white-space: nowrap; }
.slide.is-active .intro__brand { animation: intro-zoom 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
@keyframes intro-zoom {
  from { opacity: 0; transform: scale(0.06); filter: blur(14px); }
  30% { opacity: 1; }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.intro__mark { width: 0.92em; height: 0.92em; filter: drop-shadow(0 0.12em 0.3em rgba(200, 8, 80, 0.55)); }
.intro__name {
  font-size: 1em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(100deg, #fff 42%, #ffc2d9 50%, #fff 58%) 100% 0 / 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide.is-active .intro__name { animation: intro-sweep 1.8s ease-in-out 3.8s both; }
@keyframes intro-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.intro__sub {
  align-self: flex-end;
  margin: 0 0 0.12em 0.05em;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.24em;
  font-weight: 700;
  letter-spacing: 0.34em;
}
/* Логоны доорх нимгэн ягаан зураас */
.intro__line {
  position: absolute;
  left: 50%;
  top: calc(50% + 0.78em);
  width: 2.4em;
  height: 2px;
  margin-left: -1.2em;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--pink-light), transparent);
}
.slide.is-active .intro__line { animation: intro-line 1s var(--ease) 3.3s both; }
@keyframes intro-line { from { transform: scaleX(0); opacity: 0; } }

.intro__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6.4em;
  height: 6.4em;
  margin: -3.2em 0 0 -3.2em;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 50%, rgba(200, 8, 80, 0.5), rgba(200, 8, 80, 0) 62%),
    radial-gradient(circle at 70% 40%, rgba(70, 90, 255, 0.28), rgba(70, 90, 255, 0) 55%);
  filter: blur(12px);
}
.slide.is-active .intro__glow { animation: intro-fade 1.6s ease 0.3s both, intro-breathe 6s ease-in-out 2s infinite alternate; }
@keyframes intro-breathe { to { transform: scale(1.1); } }

.intro__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7.2em;
  height: 7.2em;
  margin: -3.6em 0 0 -3.6em;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.2;
}
.intro__node { fill: var(--pink-light); stroke: none; filter: drop-shadow(0 0 4px var(--pink-light)); }
.intro__ring { transform-origin: 300px 300px; }
.slide.is-active .intro__rings { animation: intro-rings 1.6s var(--ease) 2.2s both; }
.slide.is-active .intro__ring.r1 { animation: intro-spin 38s linear infinite; }
.slide.is-active .intro__ring.r2 { animation: intro-spin 60s linear infinite reverse; }
.slide.is-active .intro__ring.r3 { animation: intro-spin 90s linear infinite; }
@keyframes intro-rings { from { opacity: 0; transform: scale(0.7); } }
@keyframes intro-spin { to { transform: rotate(1turn); } }
@keyframes intro-fade { from { opacity: 0; } }

/* Шилэн кабелийн гэрлийн урсгал — зүүнээс баруун тийш */
.intro__streams i {
  position: absolute;
  left: 0;
  top: var(--y);
  width: var(--w);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 141, 0.75) 70%, rgba(255, 255, 255, 0.9) 96%, transparent);
  opacity: 0.45;
  transform: translateX(-40vw);
}
.intro__streams i:nth-child(even) { background: linear-gradient(90deg, transparent, rgba(120, 150, 255, 0.6) 70%, rgba(255, 255, 255, 0.8) 96%, transparent); }
.slide.is-active .intro__streams i { animation: intro-stream var(--d) linear var(--delay) infinite; }
@keyframes intro-stream { to { transform: translateX(140vw); } }

/* Зүүн талын жижиг дүрсүүд */
.intro__shapes { position: absolute; inset: 0; }
.slide.is-active .intro__shapes { animation: intro-fade 1.4s ease 2.7s both; }
.shape { position: absolute; display: block; opacity: 0.4; }
.slide.is-active .shape { animation: intro-float 9s ease-in-out infinite alternate; }
.shape--ring { width: 16px; height: 16px; border: 1.5px solid var(--pink-light); border-radius: 50%; }
.shape--ring.ring--sm { width: 9px; height: 9px; opacity: 0.55; }
.shape--plus { width: 16px; height: 16px; background: linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat; opacity: 0.35; }
.shape--plus.plus--sm { width: 10px; height: 10px; }
.shape--square { width: 12px; height: 12px; border: 1.5px solid rgba(255, 255, 255, 0.6); transform: rotate(45deg); }
.shape--dots { width: 58px; height: 30px; background: radial-gradient(rgba(255, 255, 255, 0.7) 1.2px, transparent 1.6px) 0 0 / 14px 14px; opacity: 0.22; }
.shape--line { width: 70px; height: 1.5px; background: linear-gradient(90deg, var(--pink-light), transparent); opacity: 0.5; }
.s1 { left: 7%; top: 18%; }
.s2 { left: 29%; top: 12%; animation-delay: -2s !important; }
.s3 { left: 17%; top: 33%; animation-delay: -4s !important; }
.s4 { left: 38%; top: 24%; animation-delay: -1s !important; }
.s5 { left: 44%; top: 9%; animation-delay: -6s !important; }
.s6 { left: 4%; top: 42%; animation-delay: -3s !important; }
.s7 { left: 24%; top: 50%; animation-delay: -5s !important; }
@keyframes intro-float { from { translate: 0 -8px; } to { translate: 0 8px; } }

/* Зүүн талд бараан уусалт (лого баруун тийш шилжихэд гарна) */
.slide--intro::after {
  background:
    linear-gradient(90deg, rgba(6, 8, 14, 0.94) 0%, rgba(6, 8, 14, 0.62) 34%, rgba(6, 8, 14, 0) 60%),
    linear-gradient(0deg, rgba(6, 8, 14, 0.7) 0%, rgba(6, 8, 14, 0) 40%);
}
.slide--intro.is-active::after { animation: intro-fade 1.4s ease 2.4s both; }
/* Гарчиг, товч лого шилжсэний дараа гарна */
.slide--intro.is-active .slide__content > * { animation: intro-text 0.9s var(--ease) 2.9s both; }
.slide--intro.is-active .slide__content > :nth-child(2) { animation-delay: 3.05s; }
.slide--intro.is-active .slide__content > :nth-child(3) { animation-delay: 3.2s; }
@keyframes intro-text { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Жижиг компьютер: гарчигт хүрэхгүйн тулд лого жижиг, илүү баруун дээд талд */
@media (min-width: 1024px) and (max-width: 1279px) {
  .intro { --to-x: 30vw; --to-y: -19vh; }
  .intro__stage { font-size: 74px; }
}
/* Намхан дэлгэцтэй зөөврийн компьютер (1366×768 г.м.): гарчигтай нэг мөрөнд таарахаар илүү баруун тийш */
@media (min-width: 1280px) and (max-height: 800px) {
  .intro { --to-x: 28vw; --to-y: -20vh; }
}
/* Таблет, утас: лого төвдөө үлдэж дээш гарна, гарчиг доор */
@media (max-width: 1023px) {
  .intro { --to-x: 0px; --to-y: -21vh; }
  .intro::before { -webkit-mask-image: radial-gradient(60% 40% at 50% 26%, #000 0%, transparent 100%); mask-image: radial-gradient(60% 40% at 50% 26%, #000 0%, transparent 100%); }
  .slide--intro::after { background: linear-gradient(0deg, rgba(6, 8, 14, 0.94) 0%, rgba(6, 8, 14, 0.6) 42%, rgba(6, 8, 14, 0) 66%); }
  .s3, .s6, .s7 { display: none; }
}
@media (max-width: 559px) {
  .intro__stage { font-size: 50px; }
  .intro__rings { width: 6.4em; height: 6.4em; margin: -3.2em 0 0 -3.2em; }
}
@media (prefers-reduced-motion: reduce) {
  .intro *, .intro__stage, .slide--intro::after, .slide--intro .slide__content > * { animation: none !important; }
}

/* ---------- Нүүрэн дээр давхцах 3 карт ---------- */

.values-wrap { position: relative; z-index: 4; margin-top: -110px; }
.values { display: grid; gap: 18px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 767px) { .values-wrap { margin-top: -70px; } }
.value {
  position: relative;
  padding: 34px 32px 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px -34px rgba(15, 20, 32, 0.45), 0 0 0 1px rgba(15, 20, 32, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.value:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -34px rgba(15, 20, 32, 0.5), 0 0 0 1px rgba(200, 8, 80, 0.15); }
.value__num { position: absolute; top: 30px; right: 32px; color: #c3c7d0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }
.value__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--pink-soft);
  color: var(--pink);
  transition: background-color 0.3s, color 0.3s;
}
.value__icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.value:hover .value__icon { background: var(--pink); color: #fff; }
.value h3 { margin-top: 22px; font-size: 21px; }
.value p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- Хэсгүүд ---------- */

.section { padding-block: clamp(80px, 10vw, 130px); }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.72); }

/* ---------- Бидний тухай ---------- */

.about { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(60px, 7vw, 110px); } }
.about__media { position: relative; padding-bottom: 60px; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; background: var(--soft); }
.about__img--main { width: 82%; aspect-ratio: 4 / 5; }
.about__img--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}
.about__badge {
  position: absolute;
  left: -12px;
  top: 40px;
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.about__badge b { color: var(--pink); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.about__badge span { color: var(--muted); font-size: 13px; font-weight: 700; }
@media (max-width: 559px) { .about__badge { left: 10px; } }
.about__text { display: grid; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.about .link-arrow { margin-top: 30px; }

/* ТВ сувгийн логоны хана — шилэн кабелийн зургийн доод хэсэгт давхцах цайвар самбар */
.chan-panel {
  position: absolute;
  display: block;
  right: 0;
  bottom: 0;
  width: 84%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(253, 236, 242, 0.94));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 30px 60px -34px rgba(200, 8, 80, 0.45);
  perspective: 1200px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.chan-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 36px 70px -30px rgba(200, 8, 80, 0.55); }
.chan-panel__wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  transform: rotateY(-7deg) rotateX(4deg);
}
.chan-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1.05;
  padding: 0 11%;
  border-radius: 10px;
  background: #15151d;
  box-shadow: 0 14px 24px -14px rgba(39, 45, 62, 0.85);
  overflow: hidden;
  container-type: inline-size;
  animation: chan-float 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.45s);
}
/* Логоны өндөр хавтангийн өргөнөөс хамаарна (утсан дээр ч уншигдахуйц) */
.chan-tile img { width: auto; max-width: 100%; height: 22px; height: min(27cqw, 32px); object-fit: contain; }
@keyframes chan-float { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .chan-tile { animation: none; } }
/* Утас: зураг бүтэн өргөнтэй, самбар доор нь давхцаж 3 баганаар */
@media (max-width: 559px) {
  .about__media.has-channels { padding-bottom: 0; }
  .about__media.has-channels .about__img--main { width: 100%; aspect-ratio: 5 / 4; }
  .chan-panel { position: relative; width: auto; margin: -56px 12px 0; padding: 14px; }
  .chan-panel__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- Үйл ажиллагаа — 8 чиглэлийн карт ---------- */

.head__text { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.services { display: grid; gap: 14px; }
@media (min-width: 560px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.svc { scroll-margin-top: calc(var(--header-h) + 24px); }
.svc > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.svc > a:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(200, 8, 80, 0.2), var(--shadow); }
/* Толгой цэснээс сонгосон карт */
.svc:target > a { box-shadow: 0 0 0 2px var(--pink), var(--shadow); }

/* Бараан "тайз" — ягаан гэрэл, бүдэг тор */
.svc__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(55% 60% at 50% 45%, rgba(255, 77, 141, 0.26), transparent 70%),
    radial-gradient(100% 90% at 50% 30%, #2a0f1d, #0a0b10 78%);
  overflow: hidden;
  isolation: isolate;
}
.svc__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.svc__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 77, 141, 0.3), rgba(255, 77, 141, 0.06) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 168, 0.5), 0 0 44px rgba(255, 77, 141, 0.3);
  color: #ff8ab3;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.svc__icon::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}
.svc__icon .icon { width: 44px; height: 44px; stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(255, 77, 141, 0.55)); }
.svc > a:hover .svc__icon { transform: scale(1.08); box-shadow: inset 0 0 0 1px rgba(255, 122, 168, 0.7), 0 0 60px rgba(255, 77, 141, 0.45); }

.svc__photo {
  position: absolute;
  inset: 12% 14% 8%;
  width: 72%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 20px 24px rgba(0, 0, 0, 0.7));
  transition: transform 0.8s var(--ease);
}
.svc--blend .svc__photo { mix-blend-mode: lighten; filter: none; }
.svc > a:hover .svc__photo { transform: scale(1.06) translateY(-3px); }

.svc__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.55);
}
.svc__badge img { width: auto; height: 11px; }
.svc__num { position: absolute; top: 16px; right: 18px; color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }

.svc__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.svc h3 { color: var(--ink); font-size: 18.5px; line-height: 1.3; letter-spacing: -0.01em; }
.svc p { flex: 1; margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--pink); font-size: 14.5px; font-weight: 800; }
.svc__more .icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.3s var(--ease); }
.svc > a:hover .svc__more .icon { transform: translateX(4px); }

/* Утас: хэвтээ, нягт карт */
@media (max-width: 559px) {
  .svc > a { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .svc__stage { aspect-ratio: auto; min-height: 100%; }
  .svc__icon { width: 60px; height: 60px; }
  .svc__icon::after { inset: -10px; }
  .svc__icon .icon { width: 30px; height: 30px; }
  .svc__photo { inset: 10%; width: 80%; height: 80%; }
  .svc__badge, .svc__num { display: none; }
  .svc__body { padding: 16px 18px; }
  .svc h3 { font-size: 16.5px; }
  .svc p { font-size: 14px; }
  .svc__more { margin-top: 10px; font-size: 14px; }
}

/* Толгой цэсний "Үйл ажиллагаа" — 2 баганатай жагсаалт */
.drop--services { left: 50%; width: 600px; margin-left: -300px; }
.svc-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.svc-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 0.2s, color 0.2s;
}
.svc-menu a:hover { background: var(--soft); color: var(--pink); }
.svc-menu__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--pink-soft); color: var(--pink); }
.svc-menu__icon .icon { width: 20px; height: 20px; stroke-width: 1.8; }
@media (max-width: 1023px) {
  .drop--services { width: auto; margin-left: 0; }
  .svc-menu { grid-template-columns: minmax(0, 1fr); }
  .svc-menu a { padding: 8px 0; font-size: 16px; }
  .nav__item.is-open .drop--services { max-height: 720px; }
}

/* ---------- Үйл ажиллагааны дэлгэрэнгүй цонх ---------- */

html.modal-open { overflow: hidden; }
.svc-modal {
  width: min(940px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(10, 14, 22, 0.6);
  overflow: hidden;
}
.svc-modal::backdrop { background: rgba(10, 14, 22, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svc-modal[open] { animation: modal-in 0.45s var(--ease); }
.svc-modal[open]::backdrop { animation: modal-fade 0.3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes modal-fade { from { opacity: 0; } }
.svc-modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.svc-modal__stage { aspect-ratio: auto; min-height: 480px; }
.svc-modal .svc__icon { width: 132px; height: 132px; }
.svc-modal .svc__icon::after { inset: -24px; }
.svc-modal .svc__icon .icon { width: 60px; height: 60px; }
.svc-modal .svc__photo { inset: 16% 10%; width: 80%; height: 68%; }
.svc-modal .svc__badge { display: grid; top: 20px; left: 20px; }
.svc-modal__body {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 44px 44px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.svc-modal__num { margin-left: 4px; color: var(--muted); letter-spacing: 0.08em; }
.svc-modal__title { margin-top: 14px; padding-right: 40px; font-size: clamp(26px, 1rem + 1.4vw, 34px); }
.svc-modal__lead { margin-top: 14px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.svc-modal__points { display: grid; gap: 12px; margin-top: 22px; }
.svc-modal__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.svc-modal__points .icon { width: 22px; height: 22px; margin-top: 1px; padding: 5px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); stroke-width: 3.2; }
.svc-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.svc-modal__actions .btn { min-height: 50px; padding: 0 22px; font-size: 15px; }
.svc-modal__nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-modal__step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; border: 0; background: none; color: var(--ink); font-size: 14.5px; font-weight: 800; cursor: pointer; transition: color 0.2s; }
.svc-modal__step:hover { color: var(--pink); }
.svc-modal__step .icon { width: 18px; height: 18px; }
#svc-modal-prev .icon { transform: rotate(180deg); }
.svc-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.svc-modal__close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }
.svc-modal__close .icon { width: 20px; height: 20px; stroke-width: 2.4; }

/* Утас, жижиг таблет: доороос гарч ирэх хуудас */
@media (max-width: 759px) {
  .svc-modal { width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .svc-modal[open] { animation: sheet-in 0.45s var(--ease); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
  .svc-modal__box { grid-template-columns: minmax(0, 1fr); }
  .svc-modal__stage { min-height: 0; height: 190px; }
  .svc-modal .svc__icon { width: 96px; height: 96px; }
  .svc-modal .svc__icon::after { inset: -16px; }
  .svc-modal .svc__icon .icon { width: 44px; height: 44px; }
  .svc-modal .svc__photo { inset: 10% 22%; width: 56%; height: 80%; }
  .svc-modal__body { max-height: calc(92vh - 190px); max-height: calc(92dvh - 190px); padding: 26px 22px 16px; }
  .svc-modal__title { padding-right: 0; }
  .svc-modal__close { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .svc-modal__actions { margin: 24px 0; }
  .svc-modal__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .svc-modal[open], .svc-modal[open]::backdrop { animation: none; } }

/* ---------- Эрх зүйн баримтын цонх (нууцлалын бодлого, үйлчилгээний нөхцөл) ---------- */

.doc-modal {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(10, 14, 22, 0.6);
  overflow: hidden;
}
.doc-modal::backdrop { background: rgba(10, 14, 22, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.doc-modal[open] { animation: modal-in 0.45s var(--ease); }
.doc-modal[open]::backdrop { animation: modal-fade 0.3s ease; }
.doc-modal__box { display: flex; flex-direction: column; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.doc-modal__head { position: relative; flex: none; padding: 30px 72px 20px 36px; border-bottom: 1px solid var(--line); }
.doc-modal__title { font-size: clamp(22px, 0.9rem + 1.1vw, 28px); }
.doc-modal__updated { margin-top: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.doc-modal__updated:empty { display: none; }
.doc-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.doc-modal__close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }
.doc-modal__close .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.doc-modal__body { padding: 8px 36px 34px; overflow-y: auto; overscroll-behavior: contain; }
.doc-modal__body h3 { margin-top: 28px; font-size: 18px; }
.doc-modal__body p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.doc-modal__body ul { display: grid; gap: 10px; margin-top: 14px; }
.doc-modal__body li { display: flex; align-items: flex-start; gap: 11px; color: var(--text); font-size: 15px; line-height: 1.6; }
.doc-modal__body li .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 5px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); stroke-width: 3.2; }

@media (max-width: 759px) {
  .doc-modal { width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .doc-modal[open] { animation: sheet-in 0.45s var(--ease); }
  .doc-modal__box { max-height: 92vh; max-height: 92dvh; }
  .doc-modal__head { padding: 24px 64px 16px 22px; }
  .doc-modal__close { top: 16px; right: 16px; }
  .doc-modal__body { padding: 4px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) { .doc-modal[open], .doc-modal[open]::backdrop { animation: none; } }

/* ---------- Тоон үзүүлэлт ---------- */

.figures-band { position: relative; padding-block: clamp(80px, 9vw, 120px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.figures-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.18) saturate(1.12); }
/* Зураг тод харагдана; тоо уншигдахуйц байхаар доод талаас л бага зэрэг бараандуулна */
.figures-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(200, 8, 80, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10, 14, 22, 0.46) 0%, rgba(10, 14, 22, 0.66) 100%);
}
.figures dt, .figures dd { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.figures > div { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.figures dt { font-size: clamp(38px, 1.4rem + 2.6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures dt small { color: var(--pink-light); font-size: 0.5em; letter-spacing: 0; }
.figures dd { margin-top: 12px; color: rgba(255, 255, 255, 0.9); font-size: 15px; font-weight: 600; }

/* ---------- Бид Дархан хотод — зургийн цуглуулга ---------- */

.city__head { display: grid; gap: 20px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .city__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.city__text { max-width: 34em; color: var(--muted); font-size: 17px; line-height: 1.75; }
.city__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.city__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
.city__item:nth-child(4) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .city__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 250px; gap: 18px; }
  .city__item:first-child { grid-column: 1; grid-row: span 2; }
  .city__item:nth-child(4) { grid-column: 2 / 4; }
}
.city__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--soft);
  overflow: hidden;
  isolation: isolate;
}
.city__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.city__item:hover img { transform: scale(1.06); }
.city__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 22, 0.7), rgba(10, 14, 22, 0) 45%); pointer-events: none; }
.city__item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.city__item figcaption::before { content: ""; width: 18px; height: 2px; background: var(--pink-light); }

/* ---------- Бүтээгдэхүүн ---------- */

.product { display: grid; border-radius: 30px; background: var(--soft); overflow: hidden; }
.section--soft .product { background: #fff; box-shadow: 0 30px 70px -40px rgba(15, 20, 32, 0.35); }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.product__media { position: relative; min-height: 380px; overflow: hidden; }
.product__media > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 14, 22, 0.75), rgba(10, 14, 22, 0) 55%); }
.product:hover .product__media > img:first-child { transform: scale(1.05); }
.product__logo { position: absolute; left: 32px; bottom: 30px; z-index: 1; width: min(46%, 240px); height: auto; }
.product__panel { padding: clamp(32px, 4.5vw, 60px); }
.product__name { font-size: clamp(34px, 1.4rem + 1.8vw, 48px); }
.product__tag { margin-top: 6px; color: var(--pink); font-weight: 800; }
.product__desc { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.product__facts { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 480px) { .product__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product__facts li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.product__facts .icon { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--pink); color: #fff; stroke-width: 3; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Мэдээ ---------- */

.news { display: grid; gap: 28px; }
@media (min-width: 700px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .news { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard { display: flex; flex-direction: column; }
.ncard__img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.06); }
.ncard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; font-size: 13px; font-weight: 700; }
.ncard__tag { color: var(--pink); text-transform: uppercase; letter-spacing: 0.08em; }
.ncard__date { color: var(--muted); }
.ncard__title { margin-top: 10px; font-size: 21px; line-height: 1.3; transition: color 0.2s; }
.ncard:hover .ncard__title { color: var(--pink); }
/* Холбоосгүй мэдээ: курсор очиход хөдлөхгүй (дарж болохгүйг мэдүүлнэ) */
.ncard--plain:hover .ncard__img img { transform: none; }
.ncard--plain:hover .ncard__title { color: var(--ink); }
.ncard__text { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- Мэндчилгээ ---------- */

.greeting { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .greeting { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(60px, 7vw, 110px); } }
.greeting__media img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); object-fit: cover; background: var(--soft); }
@media (max-width: 959px) { .greeting__media img { aspect-ratio: 16 / 10; } }
/* Мэндчилгээ: зургийн оронд DBS LLC лого бүхий бараан самбар */
.brand-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(70% 60% at 50% 42%, rgba(56, 22, 60, 0.95), rgba(10, 13, 22, 0) 70%),
    radial-gradient(120% 100% at 50% 40%, #0d1120, #070a12 75%);
  box-shadow: var(--shadow);
}
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(55% 50% at 50% 44%, #000, transparent);
  mask-image: radial-gradient(55% 50% at 50% 44%, #000, transparent);
  opacity: 0.4;
}
.brand-card__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 50%, rgba(200, 8, 80, 0.5), rgba(200, 8, 80, 0) 62%),
    radial-gradient(circle at 70% 40%, rgba(70, 90, 255, 0.26), rgba(70, 90, 255, 0) 55%);
  filter: blur(14px);
  transform: translate(-50%, -50%);
}
.brand-card__rings {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 120%;
  aspect-ratio: 1;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.2;
  transform: translate(-50%, -50%);
}
.brand-card .intro__ring.r1 { animation: intro-spin 38s linear infinite; }
.brand-card .intro__ring.r2 { animation: intro-spin 60s linear infinite reverse; }
.brand-card .intro__ring.r3 { animation: intro-spin 90s linear infinite; }
.brand-card__logo { display: flex; align-items: center; gap: 0.2em; margin-top: -8%; font-size: clamp(46px, 1.8rem + 3vw, 84px); line-height: 1; }
.brand-card__mark { width: 0.92em; height: 0.92em; filter: drop-shadow(0 0.12em 0.3em rgba(200, 8, 80, 0.55)); }
.brand-card__logo b { font-weight: 800; letter-spacing: 0.01em; }
.brand-card__logo small { align-self: flex-end; margin: 0 0 0.12em 0.05em; color: rgba(255, 255, 255, 0.72); font-size: 0.24em; font-weight: 700; letter-spacing: 0.34em; }
.brand-card__tag { position: absolute; left: 8%; right: 8%; bottom: 9%; color: rgba(255, 255, 255, 0.6); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-align: center; text-transform: uppercase; }
@media (max-width: 959px) { .brand-card { aspect-ratio: 16 / 10; } .brand-card__logo { margin-top: -4%; } }
@media (prefers-reduced-motion: reduce) { .brand-card .intro__ring { animation: none; } }

.greeting__quote { width: 52px; height: auto; margin-top: 26px; fill: var(--pink); }
.greeting__text { display: grid; gap: 18px; margin-top: 22px; color: var(--ink); font-size: clamp(18px, 1rem + 0.35vw, 21px); font-weight: 500; line-height: 1.7; }
.greeting__sign { display: grid; gap: 2px; margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--pink); }
.greeting__sign b { color: var(--ink); font-size: 18px; font-weight: 800; }
.greeting__sign b:empty { display: none; }
.greeting__sign span { color: var(--muted); font-weight: 600; }

/* ---------- Холбоо барих ---------- */

.contact { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(56px, 6vw, 96px); } }
.contact__lead { max-width: 30em; margin-top: 20px; font-size: 17px; line-height: 1.75; }
.contact__list { display: grid; gap: 14px; margin-top: 36px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pink-light);
}
.contact__icon .icon { width: 22px; height: 22px; }
.contact__list small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 700; }
.contact__list strong { display: block; color: #fff; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.contact__list a:hover strong { color: var(--pink-light); }

/* Газрын зураг — DBS Телевизийн төв байр */
.map { margin-top: 36px; border-radius: var(--radius); overflow: hidden; background: #1a2030; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.map__frame { position: relative; aspect-ratio: 16 / 10; min-height: 240px; }
/* Жижиг утас: 240px өндөр + 16/10 харьцаа нь 384px өргөн шаарддаг тул баганыг дэлгэцнээс хальгадаг байв */
@media (max-width: 560px) { .map__frame { min-height: 0; } }
.map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.map__offline {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(200, 8, 80, 0.25), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px),
    #141a28;
}
.map__offline .icon { width: 34px; height: 34px; color: var(--pink-light); }
.map__offline b { color: #fff; font-size: 16px; }
.map__offline small { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.map__open { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, 0.05); color: #fff; transition: background-color 0.2s; }
.map__open:hover { background: rgba(255, 255, 255, 0.1); }
.map__open > .icon:first-child { width: 22px; height: 22px; color: var(--pink-light); }
.map__open > .icon:last-child { width: 18px; height: 18px; opacity: 0.7; }
.map__open span { flex: 1; font-size: 15px; font-weight: 800; line-height: 1.35; }
.map__open small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; font-weight: 700; }

.form { padding: clamp(26px, 3.6vw, 44px); border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.form__title { font-size: 24px; }
.form__grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { color: var(--ink); font-size: 14px; font-weight: 700; }
.req { color: var(--pink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 44px;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1420' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--pink); background-color: #fff; box-shadow: 0 0 0 4px rgba(200, 8, 80, 0.12); }
.field [aria-invalid="true"] { border-color: #d92d20; }
.field__error { color: #d92d20; font-size: 13.5px; font-weight: 700; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.55; cursor: pointer; }
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid #c3c7d0;
  border-radius: 7px;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.check input:checked {
  border-color: var(--pink);
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 15px;
}
.form .btn--block { margin-top: 24px; }
.form__status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.form__status.is-ok { background: #ecfdf3; color: #067647; }
.form__status.is-error { background: var(--pink-soft); color: var(--pink-dark); }
.form__status a { text-decoration: underline; }

/* ---------- Хөл ---------- */

.footer { background: var(--ink-2); color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: auto; } }
.footer__brand p { max-width: 24em; margin-top: 18px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s;
}
.footer__social a:hover { background: var(--pink); }
.footer__social .icon { width: 19px; height: 19px; stroke-width: 1.8; }
.footer h3 { color: #fff; font-size: 16px; letter-spacing: 0; }
.footer__col ul { display: grid; gap: 12px; margin-top: 18px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 26px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a:hover { color: #fff; }

/* Зургийн эх сурвалж — нээж хаадаг жижиг жагсаалт */
.credits { padding-bottom: 28px; font-size: 12.5px; }
.credits summary { width: fit-content; color: rgba(255, 255, 255, 0.45); cursor: pointer; }
.credits summary:hover { color: #fff; }
.credits ul { display: grid; gap: 4px; margin-top: 12px; color: rgba(255, 255, 255, 0.45); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: #fff; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(200, 8, 80, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease), background-color 0.2s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--pink-dark); }
.to-top .icon { width: 20px; height: 20px; stroke-width: 2.4; }

/* ---------- Гарч ирэх хөдөлгөөн ---------- */

.reveal-on [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide__img { transition: none; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
