/* =========================================================
   Авзага ХХК — брэнд стиль
   Уулын ногоон, нуурын цэнхэр-ногоон, нарны алтан өнгө
   ========================================================= */
:root {
  --forest-900: #0b2f23;
  --forest-800: #0f3d2e;
  --forest-700: #14503a;
  --green-600: #1f7a4d;
  --green-500: #2e9461;
  --green-300: #7fd1a1;
  --green-100: #e8f1ea;
  --green-50: #f4f9f5;
  --sun: #e9d48a;
  --ink: #15231c;
  --text: #3d4f46;
  --muted: #6b7c73;
  --line: #dde8e1;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 61, 46, .06), 0 8px 24px rgba(15, 61, 46, .06);
  --shadow-lg: 0 20px 50px rgba(15, 61, 46, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.7 var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); font-size: .92rem; }
.accent { color: var(--green-300); }
.accent-text { color: var(--green-600); font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 .95rem var(--font-body); border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--forest-800); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 122, 77, .3); }
.btn--outline { border-color: var(--green-600); color: var(--green-600); }
.btn--outline:hover { background: var(--green-600); color: #fff; }
.btn--light { background: #fff; color: var(--forest-800); }
.btn--light:hover { background: var(--sun); color: var(--forest-900); transform: translateY(-1px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--green-300); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--forest-800); }
.tag--soft { background: var(--green-100); color: var(--green-600); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--forest-900); color: #cfe3d7; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a, .topbar span { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar__info, .topbar__right { display: flex; gap: 22px; align-items: center; }
.lang { gap: 0 !important; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; overflow: hidden; }
.lang a { padding: 2px 10px; }
.lang a.is-active { background: var(--green-600); color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 6px 30px rgba(15, 61, 46, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--forest-800); }
.logo-mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font: 800 1.35rem var(--font-head); letter-spacing: .12em; }
.brand__text small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--green-500); margin-top: 5px; }
.brand--light { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__dropdown > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 8px; position: relative; }
.nav > a:not(.btn)::after, .nav__dropdown > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green-600); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav > a.is-active::after, .nav__dropdown > a.is-active::after, .nav__dropdown:hover > a::after { transform: scaleX(1); }
.nav a.is-active { color: var(--green-600); }
.nav__cta { margin-left: 12px; color: #fff !important; }
.nav__dropdown { position: relative; }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.nav__dropdown:hover .mega, .nav__dropdown:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: .92rem; font-weight: 500; }
.mega__item:hover { background: var(--green-50); color: var(--green-600); }
.mega__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-100); color: var(--green-600); }
.nav-toggle { display: none; background: none; border: 0; color: var(--forest-800); cursor: pointer; padding: 8px; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--forest-900); }
.hero__art { position: absolute; inset: 0; }
.hero__art svg { width: 100%; height: 100%; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 47, 35, .85) 0%, rgba(11, 47, 35, .35) 55%, transparent 100%); }
.hero .nodes circle { animation: pulse 3s ease-in-out infinite; }
.hero .nodes circle:nth-child(2) { animation-delay: .7s; }
.hero .nodes circle:nth-child(3) { animation-delay: 1.4s; }
.hero .nodes circle:nth-child(4) { animation-delay: 2.1s; }
@keyframes pulse { 50% { opacity: .2; } }
.hero__content { position: relative; padding: 100px 0 140px; max-width: 1200px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .lead { font-size: 1.15rem; max-width: 620px; color: #d3e8dc; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats--inline { margin-top: 0; padding: 0 0 20px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 800 2.2rem var(--font-head); color: var(--green-600); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--tint { background: var(--green-50); }
.section--dark { background: radial-gradient(1200px 500px at 85% 0%, #1d5e40 0%, transparent 60%), var(--forest-800); color: #c7ddd0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head .eyebrow::before { display: none; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.section-head--light h2 { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-card { position: relative; }
.story-card svg { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-lg); }
.story-card__badge { position: absolute; right: -18px; bottom: -22px; background: var(--forest-800); color: #fff; padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story-card__badge strong { display: block; font: 800 2rem var(--font-head); color: var(--sun); line-height: 1; }
.story-card__badge span { font-size: .85rem; color: #cfe3d7; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 500; }
.checklist .icon { color: #fff; background: var(--green-600); border-radius: 50%; padding: 3px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; color: inherit; }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }

.service-card { padding: 32px 28px; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--green-100); opacity: 0; transition: opacity .3s, transform .4s var(--ease); transform: scale(.6); }
.service-card:hover::after { opacity: .7; transform: scale(1); }
.service-card > * { position: relative; z-index: 1; }
.service-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--green-600), var(--forest-800)); color: #fff; margin-bottom: 22px; }
.service-card__icon--lg { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 28px; }
.service-card__group { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-500); margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--green-600); margin-top: 8px; }
a.card:hover .link-arrow .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.mini-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .88rem; }
.mini-list li { display: flex; gap: 8px; align-items: center; }
.mini-list .icon { color: var(--green-500); }

.feature { padding: 8px 4px; }
.feature--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-100); color: var(--green-600); margin-bottom: 18px; flex-shrink: 0; }
.feature p { color: var(--muted); font-size: .95rem; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.process li { position: relative; padding: 30px 26px; border: 1px solid rgba(127, 209, 161, .2); border-radius: var(--radius); background: rgba(255, 255, 255, .03); transition: background .3s, transform .3s var(--ease); }
.process li:hover { background: rgba(127, 209, 161, .08); transform: translateY(-4px); }
.process span { font: 800 2.6rem var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--green-300); display: block; margin-bottom: 12px; }
.process h3 { color: #fff; }
.process p { font-size: .93rem; margin: 0; }

.project-card { overflow: hidden; }
.project-card__media { position: relative; height: 190px; display: flex; align-items: flex-start; padding: 16px; }
.project-card__media svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
a.project-card:hover .project-card__media svg { transform: scale(1.06); }
.project-card__media .tag { position: relative; }
.tone-a { background: linear-gradient(135deg, #1f7a4d, #0f3d2e); }
.tone-b { background: linear-gradient(135deg, #2f8f84, #134530); }
.project-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-card__body small { color: var(--muted); font-size: .82rem; }
.project-card__body h3 { margin-top: 6px; }
.project-card__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.result { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--green-600); }
.project-card.is-hidden { display: none; }

.testimonial { margin: 0; padding: 34px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial__q { color: var(--green-300); margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 24px; color: var(--ink); font-size: 1rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption small { display: block; color: var(--muted); font-size: .84rem; }
.avatar, .person__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--forest-800)); color: #fff; font: 700 1.1rem var(--font-head); flex-shrink: 0; }

.partners { margin-top: 70px; text-align: center; overflow: hidden; }
.partners p { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.partners__track { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners__track span { font: 700 1.4rem var(--font-head); color: #9fb5a8; white-space: nowrap; }
.partners:hover .partners__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.post-card { padding: 28px; }
.post-card__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: .82rem; color: var(--muted); }
.post-card__meta time { display: inline-flex; gap: 5px; align-items: center; }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-600), var(--forest-800)); color: #d6ebdf; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 212, 138, .35), transparent 70%); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 64px 0; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: #a9c4b5; position: relative; padding-top: 40px; font-size: .94rem; }
.footer__mountains { position: absolute; top: -1px; left: 0; right: 0; height: 60px; transform: translateY(-99%); pointer-events: none; }
.footer__mountains svg { width: 100%; height: 100%; }
.cta-band + .footer .footer__mountains { display: none; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding: 40px 0 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #a9c4b5; }
.footer a:hover { color: var(--green-300); }
.footer__brand p { margin: 20px 0; max-width: 340px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); transition: all .25s; }
.social a:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.subscribe { display: flex; gap: 8px; margin: 14px 0 22px; }
.subscribe input { flex: 1; min-width: 0; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.subscribe input::placeholder { color: #84a091; }
.subscribe .btn { padding: 10px 14px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { margin-top: 4px; color: var(--green-300); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: radial-gradient(900px 400px at 90% 0%, #1d5e40, transparent 60%), var(--forest-800); color: #cfe3d7; padding: 70px 0 110px; overflow: hidden; }
.page-hero__art { position: absolute; inset: auto 0 0 0; height: 200px; }
.page-hero__art svg { width: 100%; height: 100%; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-hero .lead { font-size: 1.1rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 26px; color: #8fb3a0; }
.breadcrumb a { color: #cfe3d7; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Detail layout ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p { color: var(--text); }
.lead-dark { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.post-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.feature-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-grid li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: var(--green-50); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .95rem; }
.feature-grid .icon { color: var(--green-600); }
.steps { padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.steps li { counter-increment: st; position: relative; padding-left: 48px; min-height: 32px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; background: var(--green-600); color: #fff; font: 700 .9rem var(--font-head); }
.aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aside-card--brand { background: linear-gradient(140deg, var(--green-600), var(--forest-800)); border: 0; color: #d6ebdf; }
.aside-card--brand h3 { color: #fff; }
.aside-phone { display: flex; align-items: center; gap: 8px; color: #fff; margin-top: 16px; font-weight: 600; }
.aside-phone:hover { color: var(--sun); }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; }
.aside-links a { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .94rem; }
.aside-links li:last-child a { border: 0; }
.aside-links a:hover { color: var(--green-600); padding-left: 4px; }
.aside-links .icon { color: var(--green-500); }
.aside-links--posts a { flex-direction: column; align-items: flex-start; gap: 2px; }
.aside-links--posts small { color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.prose .badges { justify-content: flex-start; }
.badges > * { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; background: #fff; }
.badges .icon { color: var(--green-600); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-100); }

.quote-panel { background: var(--forest-800); color: #d6ebdf; border-radius: 22px; padding: 48px 42px; position: relative; overflow: hidden; }
.quote-panel .icon { color: var(--sun); margin-bottom: 20px; }
.quote-panel p { font: 600 1.4rem/1.5 var(--font-head); color: #fff; }

.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--green-300), var(--green-600)); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 104px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green-600); }
.timeline__year { font: 800 1.15rem var(--font-head); color: var(--green-600); text-align: right; padding-right: 10px; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }

.person { text-align: center; padding: 34px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.person__avatar { width: 92px; height: 92px; font-size: 2rem; margin: 0 auto 18px; }
.person p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 .92rem var(--font-body); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--green-600); color: var(--green-600); }
.chip.is-active { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* ---------- Jobs / FAQ ---------- */
.jobs, .faq { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.job, .faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; font-weight: 600; color: var(--ink); }
.job summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.job summary small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.job__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
details[open] summary > .icon, details[open] .job__meta > .icon { transform: rotate(180deg); }
summary .icon { transition: transform .25s; color: var(--green-600); }
.job__body, .faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }
.job__body p { margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card .feature__icon { margin: 0; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; color: var(--muted); }
.form { padding: 40px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--green-50); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(46, 148, 97, .12); }
.has-error input, .has-error select, .has-error textarea { border-color: #c94a4a; }
.field__error, .form__error { color: #c94a4a; font-size: .84rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 24px; cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--green-600); width: 17px; height: 17px; }
.check.has-error span { color: #c94a4a; }
.hp { position: absolute; left: -9999px; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.7) hue-rotate(-10deg); }

/* ---------- Misc ---------- */
.notfound { text-align: center; padding: 140px 0; }
.notfound__code { font: 800 8rem/1 var(--font-head); background: linear-gradient(var(--green-300), var(--forest-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toasts { position: fixed; top: 130px; right: 20px; z-index: 100; display: grid; gap: 10px; }
.toast { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-radius: var(--radius-sm); background: var(--forest-800); color: #fff; box-shadow: var(--shadow-lg); max-width: 380px; animation: toast-in .4s var(--ease), toast-out .4s 5s forwards; }
.toast--error { background: #a33c3c; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); visibility: hidden; } }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 420px; display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .88rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--green-600); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--forest-800); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  /* header-ийн backdrop-filter нь fixed элементийн containing block болдог */
  .nav { position: fixed; top: 78px; left: 0; right: 0; height: calc(100vh - 78px); flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.is-open { transform: none; }
  .nav > a, .nav__dropdown > a { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a::after, .nav__dropdown > a::after { display: none; }
  .mega { position: static; transform: none !important; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 10px; grid-template-columns: 1fr; }
  .nav__cta { margin: 20px 0 0; justify-content: center; }
  .header.menu-open .nav-toggle__open { display: none; }
  .header.menu-open .nav-toggle__close { display: block; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none !important; }
  .hero__content { padding: 70px 0 120px; }
  .hero__art::after { background: linear-gradient(180deg, rgba(11, 47, 35, .8), rgba(11, 47, 35, .45)); }
}
@media (max-width: 600px) {
  .container, .narrow { width: calc(100% - 32px); }
  .cards--3, .cards--4, .process, .footer__grid, .form__grid, .feature-grid { grid-template-columns: 1fr; }
  .topbar__info a:nth-child(2) { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .form { padding: 26px 20px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline li::before { left: 0; }
  .timeline__year { text-align: left; }
  .story-card__badge { right: 10px; }
  .job summary { flex-direction: column; align-items: flex-start; }
  .cookie { right: 20px; flex-direction: column; align-items: flex-start; }
  .stat { padding: 22px 18px; }
  .stat strong { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
