/* =========================================================
   Итгэл эрүүл мэндийн төв — танилцуулга вэб
   Брэндийн өнгө (албан ёсны логоос): цэнхэр #1C4792 · ногоон #3EAD49 · шар #FDDB00
   ========================================================= */

:root {
  --blue-950: #0A1A3F;
  --blue-900: #0F2A62;
  --blue-800: #15377D;
  --blue-700: #1C4792;
  --blue-600: #2556AE;
  --blue-500: #3468C8;
  --blue-200: #C8D6F2;
  --blue-100: #E6EDFA;
  --blue-50:  #F3F6FC;

  --green-700: #23843A;
  --green-600: #3EAD49;
  --green-500: #4DBE58;
  --green-100: #E4F5E6;

  --yellow-600: #866B00;
  --yellow-500: #FDDB00;
  --yellow-400: #FFE44D;
  --yellow-100: #FFF7CC;

  --red-700: #B42318;
  --red-100: #FDECEC;

  --ink:   #0E1A3A;
  --ink-2: #44506D;
  --ink-3: #66718D;
  --line:  #E2E8F3;
  --bg:    #FFFFFF;
  --bg-soft: #F5F8FE;

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 102, .06), 0 2px 8px rgba(16, 42, 102, .05);
  --shadow:    0 14px 34px -14px rgba(16, 42, 102, .22), 0 4px 12px rgba(16, 42, 102, .06);
  --shadow-lg: 0 32px 64px -24px rgba(16, 42, 102, .38);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.mono { --lm-y: rgba(255, 255, 255, .55); --lm-b: #fff; --lm-g: rgba(255, 255, 255, .8); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue-700); color: #fff; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.1;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 10px 22px -10px rgba(28, 71, 146, .7); }
.btn-primary:hover { background: var(--blue-800); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-200); }
.btn-ghost:hover { border-color: var(--blue-700); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-yellow { background: var(--yellow-500); color: var(--blue-950); box-shadow: 0 10px 22px -12px rgba(253, 219, 0, .9); }
.btn-yellow:hover { background: var(--yellow-400); }
.btn-onblue { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-onblue:hover { background: rgba(255, 255, 255, .2); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-sm { padding: 11px 16px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-950); color: #C2CFEE; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-group { display: flex; align-items: center; gap: 20px; }
.topbar-group a, .topbar-group span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { color: var(--yellow-400); }
.topbar .ic { width: 15px; height: 15px; opacity: .85; }
.topbar-social .ic { width: 16px; height: 16px; opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 26px -14px rgba(16, 42, 102, .25); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { width: auto; height: 46px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  position: relative; padding: 10px 12px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: color .2s;
}
.menu a:not(.btn):hover, .menu a.is-active { color: var(--blue-700); }
.menu a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--green-600);
}
.menu-cta { margin-left: 10px; }

.menu-toggle {
  display: none; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--blue-700); cursor: pointer;
}
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Header over the dark hero ---------- */
.logo-white { display: none; }
.site-header.is-hero:not(.menu-open) {
  background: linear-gradient(180deg, rgba(10, 26, 63, .55), rgba(10, 26, 63, 0));
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: transparent; box-shadow: none;
}
.site-header.is-hero:not(.menu-open) .logo-color { display: none; }
.site-header.is-hero:not(.menu-open) .logo-white { display: block; }
.site-header.is-hero:not(.menu-open) .menu-toggle { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff; }
@media (min-width: 1181px) {
  .site-header.is-hero .menu a:not(.btn) { color: rgba(255, 255, 255, .82); }
  .site-header.is-hero .menu a:not(.btn):hover { color: #fff; }
  .site-header.is-hero .menu-cta { background: var(--yellow-500); color: var(--blue-950); box-shadow: none; }
}

/* ---------- Hero: бүтэн дэлгэцийн 3D ---------- */
.hero {
  position: relative; isolation: isolate; overflow-x: clip;
  margin-top: calc(var(--header-h) * -1);   /* толгойн доогуур эхэлнэ */
  background: var(--blue-950);
}

.hero-track {
  --vh: 100vh;
  --ch: min(410px, 46vh);
  --cw: calc(var(--ch) * .78);
  --R: calc(var(--ch) * 1.12);
  --persp: 1500px;
  position: relative;
  height: calc(var(--vh) + 280vh);
}
@supports (height: 100svh) { .hero-track { --vh: 100svh; --ch: min(410px, 46svh); } }

.hero-stage {
  position: sticky; top: 0;
  height: var(--vh);
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1100px 700px at 75% 34%, rgba(51, 102, 214, .5), transparent 62%),
    radial-gradient(900px 600px at 8% 100%, rgba(62, 173, 73, .2), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(253, 219, 0, .1), transparent 60%),
    linear-gradient(150deg, #2556AE 0%, #15377D 42%, #0A1A3F 100%);
}
.stage-bg { position: absolute; inset: 0; pointer-events: none; }
.stage-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 72%);
}
.stage-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Эхний текст — гүйлгэхэд бүдгэрч алга болно */
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  pointer-events: none;
}
.hero-overlay.is-gone { visibility: hidden; }
.hero-copy { max-width: 560px; pointer-events: auto; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: #fff;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(77, 190, 88, .25); }

.hero h1 {
  isolation: isolate;
  margin: 22px 0;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em;
  color: #fff;
}
.hero h1 .line { display: block; }
.hero h1 .hl-green { color: var(--green-500); }
.hero h1 .hl-blue { position: relative; white-space: nowrap; color: #fff; }
.hero h1 .hl-blue::after {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: .04em; height: .2em;
  border-radius: 6px; background: var(--yellow-500); opacity: .85;
}

.lead { max-width: 36em; font-size: clamp(1.04rem, 1.35vw, 1.16rem); color: #C9D6F2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.pillars { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; padding: 0; list-style: none; }
.pillars li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; }
.pill-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.pill-ic .ic { width: 20px; height: 20px; }
.pill-blue { background: var(--blue-100); color: var(--blue-700); }
.pill-green { background: var(--green-100); color: var(--green-700); }
.pill-yellow { background: var(--yellow-100); color: var(--yellow-600); }

/* Онцлогийн тоолуур — цагираг төвд ирэхэд гарч ирнэ */
.stage-ui {
  position: absolute; top: calc(var(--header-h) + 18px); left: 50%; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(var(--container), 100% - 40px); transform: translateX(-50%);
  opacity: var(--ui, 0); pointer-events: none;
}
.hero-stage.ui-on .stage-ui { pointer-events: auto; }
.stage-meta { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-head); }
.stage-label { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-400); }
.stage-count { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.stage-count b { font-size: 20px; font-weight: 800; color: #fff; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots button {
  width: 14px; height: 26px; padding: 10px 0; border: 0; border-radius: 6px;
  background: rgba(255, 255, 255, .3); background-clip: content-box;
  cursor: pointer; transition: width .35s var(--ease), background-color .3s;
}
.stage-dots button:hover { background-color: rgba(255, 255, 255, .6); }
.stage-dots button.is-active { width: 30px; background-color: var(--yellow-500); }

.stage-3d {
  position: absolute; inset: 0; z-index: 1;
  perspective: var(--persp); perspective-origin: 50% 46%;
  animation: stage-in 1.2s var(--ease) both;
}
@keyframes stage-in { from { opacity: 0; } to { opacity: 1; } }

/* Цагирагийн байрлал: эхэндээ баруун талд, гүйлгэхэд төвд томорно (JS) */
.ring-pos {
  position: absolute; left: 50%; top: 52%; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: translate3d(min(24vw, 380px), 2vh, 0) scale(.8);
}

/* Эргэлддэг цагираг: карт бүр 60° зайтай */
.ring {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--R) * -1)) rotateX(-10deg);
}
.hl-card {
  position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2);
  width: var(--cw); height: var(--ch);
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--R));
  pointer-events: none;
}
.hl-card.is-active { pointer-events: auto; }
.hl-card[data-tone="blue"] { --tone: var(--blue-600); --tone-bg: var(--blue-100); --tone-ink: var(--blue-700); }
.hl-card[data-tone="green"] { --tone: var(--green-600); --tone-bg: var(--green-100); --tone-ink: var(--green-700); }
.hl-card[data-tone="yellow"] { --tone: var(--yellow-500); --tone-bg: var(--yellow-100); --tone-ink: var(--yellow-600); }

.hl-face {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 24px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.hl-face::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--blue-950); opacity: var(--dim, 0);
}
.hl-front {
  --pad: calc(var(--ch) * .063);
  display: flex; flex-direction: column; padding: var(--pad);
  background: linear-gradient(180deg, #fff 0%, #F6F9FE 100%);
  color: var(--ink);
  box-shadow: 0 34px 60px -26px rgba(5, 14, 40, .7);
  transition: box-shadow .4s;
}
.hl-front::before {
  content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad);
  height: 4px; border-radius: 0 0 4px 4px; background: var(--tone);
}
.hl-card.is-active .hl-front { box-shadow: 0 40px 70px -24px rgba(5, 14, 40, .8), inset 0 0 0 2px var(--tone); }
.hl-top { display: flex; align-items: center; justify-content: space-between; }
.hl-ic { display: grid; place-items: center; width: calc(var(--ch) * .12); height: calc(var(--ch) * .12); border-radius: 14px; background: var(--tone-bg); color: var(--tone-ink); }
.hl-ic .ic { width: 46%; height: 46%; }
.hl-num { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); }
.hl-big { display: block; margin-top: calc(var(--ch) * .045); font-family: var(--font-head); font-size: calc(var(--ch) * .083); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--tone-ink); }
.hl-title { margin-top: 6px; font-size: calc(var(--ch) * .048); font-weight: 800; line-height: 1.25; }
.hl-text { margin-top: 8px; font-size: max(13px, calc(var(--ch) * .037)); line-height: 1.45; color: var(--ink-2); }
.hl-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-size: max(13px, calc(var(--ch) * .035)); font-weight: 800; color: var(--blue-700); }
.hl-link .ic { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .2s; }
.hl-link:hover .ic { transform: translateX(3px); }

/* Картын ар талд эмнэлгийн бодит зураг */
.hl-back {
  transform: rotateY(180deg);
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(150deg, var(--blue-700), var(--blue-900));
}
.hl-back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-back::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 26, 63, .05) 30%, rgba(10, 26, 63, .8) 100%); }
.hl-back svg { position: absolute; left: 20px; bottom: 20px; z-index: 2; width: 70px; height: auto; }

/* Цагирагийн доорх тойрог тавцан */
.orbit {
  position: absolute;
  left: calc(var(--R) * -1 - 56px); top: calc(var(--R) * -1 - 56px);
  width: calc(var(--R) * 2 + 112px); height: calc(var(--R) * 2 + 112px);
  border: 2px dashed rgba(255, 255, 255, .2); border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 160, 255, .24) 0%, rgba(120, 160, 255, .06) 50%, transparent 70%);
  transform: translateY(calc(var(--ch) / 2 + 34px)) rotateX(90deg);
}
.orbit::before, .orbit::after { content: ""; position: absolute; border: 8px solid transparent; border-radius: 50%; transform: rotate(-15deg); }
.orbit::before { inset: 20px; border-top-color: var(--yellow-500); border-left-color: var(--yellow-500); }
.orbit::after { inset: 42px; border-bottom-color: var(--green-500); border-right-color: var(--green-500); }

.spark {
  position: absolute; width: 6px; height: 6px; margin: -3px;
  border-radius: 50%; background: #fff; opacity: .55;
  transform: translate3d(var(--x), var(--y), var(--z));
}
.spark.y { background: var(--yellow-400); opacity: .85; }
.spark.plus { width: 12px; height: 12px; margin: -6px; border-radius: 0; background: none; opacity: .5; }
.spark.plus::before, .spark.plus::after { content: ""; position: absolute; border-radius: 2px; background: #fff; }
.spark.plus::before { left: 5px; top: 0; width: 2px; height: 12px; }
.spark.plus::after { left: 0; top: 5px; width: 12px; height: 2px; }

/* 3D зоос хэлбэрийн лого — цагирагийн дээр */
.emblem {
  position: absolute; left: 0; top: calc(var(--ch) * -.31 - 92px);
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  transform-style: preserve-3d;
}
.emblem::before {
  content: ""; position: absolute; inset: -34px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 77, .32), transparent 66%);
  transform: translateZ(-30px);
}
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-10deg); }
.coin-rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, #E3EBFB, #8EA4D3);
  transform: translateZ(calc(var(--l) * -1.5px));
}
.coin-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 50%; background: #fff;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.coin-face svg { position: relative; width: 60%; height: auto; }
.coin-face::before, .coin-face::after { content: ""; position: absolute; inset: 5px; border: 4px solid transparent; border-radius: 50%; transform: rotate(-20deg); }
.coin-face::before { border-top-color: var(--blue-700); border-right-color: var(--blue-700); }
.coin-face::after { border-bottom-color: var(--yellow-500); border-left-color: var(--yellow-500); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  transform: translateX(-50%);
  font-family: var(--font-head); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85);
  opacity: var(--cue, 1); transition: opacity .4s; pointer-events: none;
}
.mouse { position: relative; width: 20px; height: 30px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 12px; }
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 4px; height: 7px; margin-left: -2px; border-radius: 2px;
  background: var(--yellow-400); animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  max-width: 270px; padding: 14px 16px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 800; line-height: 1.2; }
.float-card small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.hero-stage .fc-status { z-index: 4; left: max(20px, calc((100% - var(--container)) / 2)); bottom: 84px; opacity: var(--ui, 0); }
@media (max-height: 760px) and (min-width: 601px) {
  .hero .pillars { display: none; }
}

.status-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--green-500); animation: pulse 2s infinite;
}
.fc-status.is-closed .status-dot { background: #E5484D; animation: none; }
.fc-status.is-soon .status-dot { background: var(--yellow-500); animation: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 181, 90, .55); }
  70% { box-shadow: 0 0 0 12px rgba(61, 181, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 181, 90, 0); }
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -56px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden; border: 1px solid var(--line); border-radius: 24px;
  background: #fff; box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--blue-700); }
.stat span { font-weight: 600; line-height: 1.35; }
.stat small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 9vw, 120px) 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700);
}
.section-label::before {
  content: ""; width: 26px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-700) 0 33.3%, var(--green-600) 33.3% 66.6%, var(--yellow-500) 66.6% 100%);
}
.section-label.light { color: var(--yellow-400); }

.section h2 { margin-top: 14px; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.section h2 em { font-style: normal; color: var(--green-600); }

.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head > p { color: var(--ink-2); }
.section-head.center { display: block; max-width: 720px; margin-inline: auto; text-align: center; }
.section-head.center p { margin-top: 14px; }

.note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 28px; font-size: 14.5px; color: var(--ink-3);
}
.note .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-600); }
.note a { font-weight: 700; color: var(--blue-700); }
.note strong { color: var(--ink-2); }

.sub-title { margin-bottom: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.sub-title span { color: var(--ink-3); }
.sub-title.light { color: #fff; }
.sub-title.light span { color: #AFC1E8; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.about-copy > p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.about-copy > p strong { color: var(--ink); }

.mission-card {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; padding: 22px;
  border: 1px solid var(--blue-100); border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-50), #fff);
}
.mission-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-700); color: #fff; }
.mission-card h3 { margin-bottom: 6px; font-size: 17px; font-weight: 800; }
.mission-card p { font-size: 15.5px; color: var(--ink-2); }

.about-media { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; align-items: end; }
.about-media figure { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.am-main { aspect-ratio: 4 / 5; }
.am-side { aspect-ratio: 3 / 4; margin-bottom: 56px; }
.am-badge {
  position: absolute; left: -20px; bottom: 28px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow);
}
.am-badge strong { font-family: var(--font-head); font-size: 28px; font-weight: 800; line-height: 1; color: var(--blue-700); }
.am-badge span { font-size: 13px; line-height: 1.3; color: var(--ink-2); }

.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.triad-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.triad-num { position: absolute; top: 12px; right: 20px; font-family: var(--font-head); font-size: 58px; font-weight: 800; line-height: 1; color: var(--blue-50); }
.triad-ic { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; }
.triad-card h3 { position: relative; margin-bottom: 6px; font-size: 20px; font-weight: 800; }
.triad-card p { position: relative; font-size: 15.5px; color: var(--ink-2); }

.about-bottom { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; margin-top: 56px; align-items: stretch; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.feature {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.feature:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.f-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); }
.feature h4 { margin-bottom: 6px; font-size: 17px; font-weight: 800; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.goals {
  position: relative; overflow: hidden; padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-900) 60%, var(--blue-950) 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.goals-wm { position: absolute; right: -40px; bottom: -24px; width: 240px; height: auto; opacity: .08; }
.motto-label { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-400); }
.goal-list { position: relative; display: grid; gap: 14px; margin-top: 20px; padding: 0; list-style: none; counter-reset: goal; }
.goal-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: #DCE6FB; counter-increment: goal; }
.goal-list li::before {
  content: counter(goal); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: rgba(255, 255, 255, .1);
  font-family: var(--font-head); font-weight: 800; color: var(--yellow-400);
}

/* ---------- Doctors ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.doc-card[data-tone="blue"] { --tone: var(--blue-600); --tone-bg: var(--blue-100); --tone-ink: var(--blue-700); --tone-on: #fff; }
.doc-card[data-tone="green"] { --tone: var(--green-600); --tone-bg: var(--green-100); --tone-ink: var(--green-700); --tone-on: #fff; }
.doc-card[data-tone="yellow"] { --tone: var(--yellow-500); --tone-bg: var(--yellow-100); --tone-ink: var(--yellow-600); --tone-on: var(--blue-950); }
.doc-avatar {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px;
  border: 1px solid var(--tone-bg); border-radius: 20px;
  background: linear-gradient(140deg, var(--tone-bg), #fff);
  font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: .02em; color: var(--tone-ink);
}
.doc-avatar .ic {
  position: absolute; right: -7px; bottom: -7px; width: 28px; height: 28px; padding: 5px;
  border: 2px solid #fff; border-radius: 10px; background: var(--tone); color: var(--tone-on); stroke-width: 2.2;
}
.doc-body h3 { font-size: 18px; font-weight: 800; }
.doc-spec { margin-top: 2px; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--tone-ink); }
.doc-cred { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.doc-exp { position: absolute; top: 22px; right: 20px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.doc-exp b { margin-right: 3px; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--ink); }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2);
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue-200); color: var(--blue-700); }
.chip.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.chip .count { margin-left: 4px; font-weight: 600; opacity: .65; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service.is-hidden { display: none; }
.s-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; }
.service[data-cat="consult"] .s-ic { background: var(--blue-100); color: var(--blue-700); }
.service[data-cat="imaging"] .s-ic { background: var(--green-100); color: var(--green-700); }
.service[data-cat="care"] .s-ic { background: #EEE9FB; color: #5B3FB0; }
.service[data-cat="lab"] .s-ic { background: var(--yellow-100); color: var(--yellow-600); }
.service h3 { margin-bottom: 6px; font-size: 18px; font-weight: 800; }
.service p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Lab ---------- */
.lab {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(51, 102, 214, .38), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(46, 155, 71, .18), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-950));
  color: #DCE6FB;
}
.lab h2 { color: #fff; }
.lab h2 span { color: var(--yellow-400); }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lab-copy > p { margin-top: 18px; font-size: 17px; color: #C6D3F0; }

.lab-photo { position: relative; }
.lab-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.lab-badge {
  position: absolute; top: 18px; left: 18px;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow);
}
.lab-badge .ic { width: 28px; height: 28px; color: var(--green-700); }
.lab-badge > span { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.lab-badge strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--ink); }
.first-card {
  position: absolute; right: -14px; bottom: -28px; max-width: 300px; padding: 16px 18px;
  border-radius: 18px; background: var(--yellow-500); color: var(--blue-950); box-shadow: var(--shadow);
}
.first-label { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.first-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.first-card li { padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .6); font-family: var(--font-head); font-size: 13px; font-weight: 800; }

.lab-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; background: rgba(255, 255, 255, .04);
}
.ls { padding: 22px 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.ls:last-child { border-right: 0; }
.ls strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; line-height: 1.05; color: #fff; }
.ls span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: #AFC1E8; }

.lab-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: stretch; }
.test-mix { padding: 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); }
.mix-bars { display: grid; gap: 16px; padding: 0; list-style: none; }
.mix-bars li { display: grid; grid-template-columns: 136px 1fr 36px; align-items: center; gap: 12px; font-size: 14.5px; color: #DCE6FB; }
.mix-bar { height: 12px; overflow: hidden; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.mix-bar i { display: block; width: calc(var(--v) / 65 * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-500), var(--yellow-500)); }
.mix-bars b { font-family: var(--font-head); font-weight: 800; text-align: right; color: #fff; }
.mix-note { margin-top: 20px; font-size: 14px; color: #AFC1E8; }

.equip { margin-top: 56px; }
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equip-card { padding: 18px 18px 20px; border-radius: var(--radius); background: #fff; color: var(--ink); text-align: center; }
.equip-card img { width: 100%; height: 150px; margin-bottom: 12px; object-fit: contain; }
.equip-card h4 { font-size: 16px; font-weight: 800; }
.equip-card p { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.equip-note {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .06);
  font-size: 15px; color: #DCE6FB;
}
.equip-note .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--yellow-400); }
.equip-note strong { color: #fff; }

.tech-list { display: grid; gap: 14px; margin-top: 30px; padding: 0; list-style: none; }
.tech-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #fff; }
.tech-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-600); color: #fff; stroke-width: 3; }

.hep-card {
  position: relative; overflow: hidden; padding: 34px;
  border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
.hep-card::before {
  content: ""; position: absolute; top: -70px; right: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, var(--yellow-100) 0%, rgba(255, 245, 209, 0) 70%);
}
.hep-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hep-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue-50); color: var(--blue-700); }
.hep-ic .ic { width: 28px; height: 28px; }
.hep-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
  font-family: var(--font-head); font-size: 13px; font-weight: 800;
}
.hep-badge .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.hep-card h3 { position: relative; margin: 20px 0 10px; font-size: clamp(1.45rem, 2.3vw, 1.85rem); font-weight: 800; }
.hep-card > p { color: var(--ink-2); }
.markers { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.markers span {
  padding: 8px 12px; border: 1px solid var(--blue-100); border-radius: 10px;
  background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-head); font-size: 14px; font-weight: 800;
}

/* ---------- Quality & accreditation ---------- */
.quality { background: var(--bg-soft); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 56px; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--green-600), var(--yellow-500)); opacity: .45;
}
.timeline li { position: relative; padding-right: 16px; }
.tl-year {
  position: relative; display: inline-block; padding: 7px 14px;
  border: 2px solid var(--blue-700); border-radius: 999px; background: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 800; white-space: nowrap; color: var(--blue-700);
}
.timeline li:last-child .tl-year { background: var(--blue-700); color: #fff; }
.timeline p { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.policy {
  position: relative; padding: 30px;
  border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-700), var(--blue-900));
  color: #fff; box-shadow: var(--shadow);
}
.policy > .ic { width: 34px; height: 34px; color: var(--yellow-400); }
.policy blockquote { margin-top: 12px; font-size: 17px; line-height: 1.6; color: #E6EDFB; }
.policy figcaption { margin-top: 16px; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--yellow-400); }
.eqa { margin-top: 26px; }
.eqa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.eqa-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.eqa-list strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--blue-700); }
.eqa-list span { font-size: 13.5px; color: var(--ink-3); }

.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cert {
  display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert img { width: 100%; height: 230px; padding: 12px; object-fit: contain; background: #fff; }
.cert-wide img { height: 170px; }
.cert span { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 14px; font-weight: 800; }

.team-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; margin-top: 56px; align-items: stretch; }
.team-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.team-lead { font-size: 15.5px; color: var(--ink-2); }
.team-lead strong { color: var(--ink); }
.team-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.team-list li { padding: 14px; border-radius: 14px; background: var(--bg-soft); font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.team-list b { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--blue-700); }
.team-foot { font-size: 14.5px; color: var(--ink-3); }
.event-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.event-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .6s var(--ease); }
.event-card a { display: block; overflow: hidden; }
.event-card a:hover img { transform: scale(1.03); }
.event-card figcaption { display: flex; gap: 14px; padding: 20px 22px; font-size: 14.5px; color: var(--ink-2); }
.event-card figcaption strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--ink); }
.ev-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--green-100); color: var(--green-700); }

/* ---------- Corporate ---------- */
.corp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.cs { padding: 24px; border: 1px solid var(--blue-100); border-radius: var(--radius); background: linear-gradient(160deg, var(--blue-50), #fff); }
.cs strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--blue-700); }
.cs span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

.corp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.steps { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 16px 44px 16px 18px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; counter-increment: step;
}
.steps li::after { content: "0" counter(step); position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-size: 13px; font-weight: 800; color: var(--ink-3); }
.st-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--blue-100); color: var(--blue-700); }
.steps h4 { margin-bottom: 4px; font-size: 16.5px; font-weight: 800; }
.steps p { font-size: 14.5px; color: var(--ink-2); }

.corp-side { display: grid; gap: 16px; }
.corp-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.corp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.corp-photo figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 12px;
  background: rgba(10, 26, 63, .75); color: #fff; font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.omni { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.omni img { width: 100%; height: 100px; border-radius: 12px; object-fit: cover; }
.omni h4 { margin-bottom: 4px; font-size: 16px; font-weight: 800; }
.omni p { font-size: 14px; color: var(--ink-2); }

.benefits { margin-top: 56px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; list-style: none; }
.benefit-grid li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); font-family: var(--font-head); font-size: 15.5px; font-weight: 700; }
.b-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.quote-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.quote-ic { width: 34px; height: 34px; color: var(--green-600); }
.quote-card blockquote { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.quote-card figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }

.clients { margin-top: 48px; text-align: center; }
.clients-title { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.marquee {
  display: flex; overflow: hidden; margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; flex: none; gap: 12px; padding: 4px 12px 4px 0; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 800; white-space: nowrap; color: var(--ink-2);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.corp-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 48px; padding: 34px 38px;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); color: #fff;
}
.corp-cta::after {
  content: ""; position: absolute; right: -110px; top: -150px; width: 280px; height: 280px; border-radius: 50%;
  border: 10px solid transparent; border-bottom-color: var(--yellow-500); border-left-color: var(--yellow-500); opacity: .5;
}
.corp-cta h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; color: #fff; }
.corp-cta p { max-width: 50ch; margin-top: 8px; color: #C9D6F2; }
.corp-cta-actions { position: relative; z-index: 1; display: flex; flex: none; flex-wrap: wrap; gap: 12px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-soft); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--blue-100); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-cap {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 10px;
  background: rgba(10, 26, 63, .72); color: #fff; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- Lightbox ---------- */
.lightbox { max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 12, 30, .88); }
.lightbox[open] { animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb-img { width: auto; height: auto; max-width: min(1200px, 92vw); max-height: 80vh; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-cap { font-family: var(--font-head); font-size: 15px; font-weight: 700; text-align: center; color: #fff; }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { top: 50%; left: 18px; margin-top: -24px; }
.lb-next { top: 50%; right: 18px; margin-top: -24px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- Packages ---------- */
.tabs {
  display: inline-flex; gap: 6px; margin-bottom: 28px; padding: 6px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
}
.tab {
  padding: 11px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font-family: var(--font-head); font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--blue-700); }
.tab.is-active { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }

.pkg-panel[hidden] { display: none; }
.pkg-panel:not([hidden]) { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkg {
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.pkg-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); }
.save {
  padding: 6px 11px; border-radius: 999px; background: var(--green-100); color: var(--green-700);
  font-family: var(--font-head); font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
.pkg h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.pkg p { flex: 1; font-size: 15px; color: var(--ink-2); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 22px 0 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price del { font-size: 15px; color: var(--ink-3); }
.price strong { font-family: var(--font-head); font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--blue-700); }
.pkg .btn { width: 100%; }

.pkg-featured {
  border-color: transparent; color: #fff;
  background: linear-gradient(160deg, var(--blue-600) 0%, var(--blue-800) 60%, var(--blue-950) 100%);
  box-shadow: var(--shadow);
}
.pkg-featured h3, .pkg-featured .price strong { color: #fff; }
.pkg-featured p, .pkg-featured .price del { color: #C6D3F0; }
.pkg-featured .pkg-ic { background: rgba(255, 255, 255, .12); color: #fff; }
.pkg-featured .save { background: var(--yellow-500); color: var(--blue-950); }
.pkg-featured .price { border-color: rgba(255, 255, 255, .2); }

.pkg-help { background: var(--yellow-100); border-color: transparent; }
.pkg-help .pkg-ic { margin-bottom: 18px; background: #fff; color: var(--yellow-600); }
.pkg-help p { margin-bottom: 22px; }

.pkg-wide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
}
.pkg-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--green-700);
}
.pkg-kicker .ic { width: 20px; height: 20px; }
.pw-copy h3 { margin: 12px 0 14px; font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 800; line-height: 1.25; }
.pw-copy > p { color: var(--ink-2); }
.price-lg { margin: 26px 0 24px; }
.price-lg strong { font-size: 36px; }

.checklist {
  display: grid; gap: 4px; padding: 26px; list-style: none;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 15.5px; line-height: 1.45; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .ic { width: 22px; height: 22px; padding: 4px; margin-top: 0; border-radius: 50%; background: var(--green-100); color: var(--green-700); stroke-width: 3; }

.gift .gift-visual { display: grid; place-items: center; padding: 20px 0; }
.gift-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  width: min(100%, 420px); aspect-ratio: 1.6; padding: 28px;
  border-radius: 24px; color: #fff;
  background: linear-gradient(140deg, var(--blue-600) 0%, var(--blue-800) 55%, var(--blue-950) 100%);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.gift-card::before, .gift-card::after { content: ""; position: absolute; border-radius: 50%; border: 10px solid transparent; }
.gift-card::before { width: 300px; height: 300px; right: -140px; top: -160px; border-bottom-color: var(--yellow-500); border-left-color: var(--yellow-500); }
.gift-card::after { width: 320px; height: 320px; left: -150px; bottom: -170px; border-top-color: var(--green-500); border-right-color: var(--green-500); }
.gc-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.gc-mark { width: 46px; height: auto; }
.gc-brand { display: flex; flex-direction: column; font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: .03em; }
.gc-brand small { margin-top: 4px; font-size: 9.5px; letter-spacing: .2em; opacity: .85; }
.gc-label { position: relative; z-index: 1; font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow-400); }
.gc-amount { position: relative; z-index: 1; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }

.gift-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; padding: 0; border: 0; }
.gift-options legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gift-options label { position: relative; cursor: pointer; }
.gift-options input { position: absolute; opacity: 0; pointer-events: none; }
.gift-options span {
  display: inline-block; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--ink-2);
  transition: border-color .2s, background-color .2s, color .2s;
}
.gift-options input:checked + span { border-color: var(--blue-700); background: var(--blue-50); color: var(--blue-700); }
.gift-options input:focus-visible + span { outline: 3px solid var(--yellow-500); outline-offset: 2px; }

/* ---------- Branches ---------- */
.branches { background: var(--bg-soft); }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.branch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.branch-art { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #E4EDFC 0%, #F7FAFF 100%); }
.branch-art svg { width: 100%; height: 100%; }

.open-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink-3); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: 12.5px; font-weight: 800;
}
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { color: var(--green-700); }
.open-badge.is-soon { color: var(--yellow-600); }
.open-badge.is-closed { color: var(--red-700); }

.branch-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 24px 24px 26px; }
.branch h3 { font-size: 22px; font-weight: 800; }
.branch-role { margin-top: -8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--blue-700); }
.branch-info { display: grid; gap: 10px; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.branch-info li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.branch-info .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-600); }
.branch-info a { font-weight: 700; color: var(--blue-700); }

.hours { display: grid; gap: 2px; margin: 0; padding: 10px 8px; border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; border-radius: 9px; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.hours .is-today { background: #fff; box-shadow: inset 3px 0 0 var(--green-600), var(--shadow-sm); }
.hours .is-today dt, .hours .is-today dd { color: var(--blue-700); }
.hours .is-today dt { font-weight: 600; }

.branch-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.branch-tags li { padding: 5px 10px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font-size: 13px; font-weight: 600; }

.branch-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; }
.branch-actions .btn { flex: 1; }

/* ---------- News ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; justify-self: end; font-family: var(--font-head); font-weight: 800; color: var(--blue-700); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-art { position: relative; display: grid; place-items: center; height: 168px; overflow: hidden; color: #fff; }
.news-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.news-art::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -110px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.news-art .ic { position: relative; z-index: 1; width: 58px; height: 58px; stroke-width: 1.5; }
.art-green { background: linear-gradient(135deg, #3DB55A, #1F7A37); }
.art-blue { background: linear-gradient(135deg, #3366D6, #102A66); }
.art-yellow { background: linear-gradient(135deg, #FFD43B, #E0A800); color: var(--blue-950); }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.news-cat { font-weight: 700; color: var(--green-700); }
.news-meta time::before { content: "•"; margin-right: 10px; color: var(--line); }
.news-card h3 { font-size: 19px; font-weight: 800; line-height: 1.3; }
.news-card p { font-size: 15px; color: var(--ink-2); }

/* ---------- Booking ---------- */
.booking { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.booking-info > p { margin-top: 18px; color: var(--ink-2); }

.contact-list { display: grid; gap: 12px; margin-top: 30px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.c-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); flex: none; }
.contact-list small { display: block; font-size: 13px; color: var(--ink-3); }
.contact-list a { font-family: var(--font-head); font-size: 18px; font-weight: 800; transition: color .2s; }
.contact-list a:hover { color: var(--blue-700); }

.booking-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.booking-form h3 { margin-bottom: 22px; font-size: 22px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field b { color: var(--red-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(35, 80, 184, .12);
}
.field.has-error input { border-color: #D92D20; background: #FFF7F6; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-hint { min-height: 1.5em; margin-top: 12px; font-size: 14px; font-weight: 600; }
.form-hint.is-error { color: var(--red-700); }
.form-hint.is-ok { color: var(--green-700); }
.form-small { font-size: 13px; color: var(--ink-3); }
.form-small a { font-weight: 700; color: var(--red-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: #AFC0E6; font-size: 15px; }
.tri { height: 4px; background: linear-gradient(90deg, var(--blue-600) 0 33.3%, var(--green-600) 33.3% 66.6%, var(--yellow-500) 66.6% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr; gap: 40px; padding: 68px 0 48px; }
.site-footer h4 { margin-bottom: 16px; font-size: 15px; font-weight: 800; color: #fff; }
.site-footer ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.f-brand .brand-logo { height: 50px; }
.f-brand p { max-width: 32ch; margin-top: 18px; }
.f-branches li { line-height: 1.5; }
.f-branches strong { display: block; color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--blue-600); }
.socials .ic { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

/* ---------- Floating helpers ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-700); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-track { --ch: min(380px, 46vh); }
  .ring-pos { transform: translate3d(min(27vw, 340px), 2vh, 0) scale(.72); }
  .hero-copy { max-width: 460px; }
}

@media (max-width: 1300px) {
  .menu a:not(.btn) { padding: 10px 8px; font-size: 14.5px; }
  .menu-cta { margin-left: 6px; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 22px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 42, 102, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .menu a.is-active::after { display: none; }
  .menu-cta { margin: 16px 0 0; }
}

@media (max-width: 1100px) {
  .service-grid, .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .timeline::before { display: none; }
}

@media (max-width: 1020px) {
  .lab-grid, .booking-grid { grid-template-columns: 1fr; }
  /* Таблет, гар утсанд: эхэндээ зөвхөн текст, цагираг доороос гарч ирнэ */
  .hero-overlay { align-items: flex-start; padding-top: calc(var(--header-h) + 40px); }
  .hero-copy { max-width: 620px; }
  .ring-pos { transform: translate3d(0, 58vh, 0) scale(.7); }
  .about-grid, .about-bottom, .quality-grid, .team-row, .corp-grid, .lab-split { grid-template-columns: 1fr; }
  .about-media { max-width: 640px; }
  .lab-photo { margin-bottom: 20px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid, .branch-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-wide { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .link-arrow { justify-self: start; }
  .stats-grid, .lab-stats, .corp-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2), .ls:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ls:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .service-grid, .doc-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .corp-cta { flex-direction: column; align-items: flex-start; }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
}

@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
    border: 1px solid var(--line); border-radius: 20px;
    background: rgba(255, 255, 255, .94); box-shadow: 0 14px 34px -10px rgba(16, 42, 102, .4);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { padding: 13px 14px; }
  body { padding-bottom: 84px; }
  .to-top { display: none; }
  .hero-track { height: calc(var(--vh) + 240vh); }
  .scroll-cue { bottom: 104px; }
  .hero-stage .fc-status { bottom: 100px; }
  .pkg-grid, .branch-grid, .news-grid, .triad, .about-features { grid-template-columns: 1fr; }
  .triad { margin-top: 48px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; padding-left: 4px; }
  .timeline li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: start; padding: 0 0 18px; }
  .tl-year { justify-self: start; }
  .timeline p { margin-top: 6px; }
  .team-list { grid-template-columns: repeat(2, 1fr); }
  .am-badge { left: 12px; bottom: 12px; }
}

@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand-logo { height: 38px; }

  .hero-overlay { padding-top: calc(var(--header-h) + 28px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero .pillars { display: none; }
  .hero-track { --ch: min(330px, 44vh); --persp: 1000px; }
  @supports (height: 100svh) { .hero-track { --ch: min(330px, 44svh); } }
  .hl-face { border-radius: 20px; }
  .emblem { top: calc(var(--ch) * -.31 - 80px); width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .stage-label { font-size: 11.5px; }
  .float-card { max-width: 225px; padding: 12px 14px; }
  .float-card strong { font-size: 15px; }
  .float-card small { font-size: 12.5px; }
  .hero-stage .fc-status { left: 16px; }

  .stats { margin-top: -64px; }
  .stat { padding: 20px 18px; }
  .goals { padding: 28px 22px; }
  .doc-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 16px; }
  .doc-avatar { width: 56px; height: 56px; flex: none; font-size: 17px; border-radius: 17px; }
  .doc-body { padding-right: 64px; }
  .doc-exp { top: 18px; right: 16px; }
  .service-grid, .doc-grid, .benefit-grid, .eqa-list, .cert-grid { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr 1fr; }
  .am-side { margin-bottom: 36px; }
  .lab-stats, .corp-stats { grid-template-columns: 1fr 1fr; }
  .ls { padding: 18px; }
  .cs { padding: 18px; }
  .test-mix { padding: 22px 18px; }
  .mix-bars li { grid-template-columns: 112px 1fr 30px; font-size: 13.5px; }
  .first-card { position: relative; right: auto; bottom: auto; max-width: none; margin-top: -24px; margin-inline: 12px; }
  .equip-card img { height: 120px; }
  .omni { grid-template-columns: 110px 1fr; }
  .corp-cta { padding: 28px 22px; }
  .corp-cta-actions .btn { flex: 1 1 auto; }
  .quote-card, .team-card, .policy { padding: 24px 20px; }
  .g-grid { grid-auto-rows: 150px; gap: 10px; }
  .filters { gap: 8px; }
  .chip { padding: 9px 14px; font-size: 14px; }

  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; }
  .tab { padding: 10px 6px; border-radius: 13px; font-size: 13.5px; line-height: 1.25; }
  .pkg { padding: 24px; }
  .pkg-wide { padding: 24px 20px; }
  .checklist { padding: 18px; }
  .hep-card { padding: 26px 22px; }
  .booking-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
  .gift-card { padding: 22px; transform: rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }

  /* Хөдөлгөөн багасгах тохиргоотой үед 3D цагирагийн оронд энгийн жагсаалт */
  .hero-track { height: auto; }
  .hero-stage { position: relative; top: auto; height: auto; padding: calc(var(--header-h) + 40px) 0 120px; }
  .hero-overlay { position: relative; inset: auto; padding-top: 0; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .stage-3d { position: relative; inset: auto; margin-top: 48px; perspective: none; }
  .ring-pos { position: static; width: auto; height: auto; transform: none !important; }
  .ring { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(var(--container), 100% - 40px); height: auto; margin-inline: auto; transform: none !important; }
  .hl-card { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none !important; pointer-events: auto; }
  .hl-front { position: relative; }
  .hl-back, .orbit, .spark, .emblem, .scroll-cue, .stage-ui, .hero-stage .fc-status { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .ring { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 600px) {
  .ring { grid-template-columns: 1fr; }
}
