/* =========================================================
   ХОС ИВЭЭЛ — үндсэн загвар
   Брэнд бүкийн өнгө, фонтыг доорх хувьсагчид тодорхойлсон.
   Өнгө солих бол зөвхөн энд өөрчилнө.
   ========================================================= */
:root {
  --red: #ed1c29;        /* Үндсэн өнгө (брэнд бүк) */
  --red-text: #c8102e;   /* Жижиг текстэнд тод харагдах улаан */
  --green: #00734a;      /* Туслах өнгө (брэнд бүк) */
  --green-dark: #005437;
  --lime: #8cc63f;       /* Цайвар ногоон (навчин хэлбэр) */
  --ink: #1c2420;        /* Үндсэн текст */
  --muted: #5b6862;      /* Туслах текст */
  --soft: #f5f8f6;       /* Цайвар дэвсгэр */
  --line: #e3ebe6;
  --radius: 20px;
  --font: 'Montserrat', system-ui, sans-serif;

  /* Гэрэл/харанхуй горимд солигдох өнгөнүүд */
  --bg: #ffffff;            /* Хуудасны дэвсгэр */
  --surface: #ffffff;       /* Карт, цонх */
  --text2: #46524c;         /* Тайлбар текст */
  --input-border: #cdd8d2;
  --input-bg: #ffffff;
  --header-bg: #ffffff;
  --green-text: #00734a;    /* Ногоон текст, холбоос */
  --green-hover: #005437;
  --checked-bg: #eaf4ee;
  --fade: 245 248 246;      /* Баннерын уусалт (RGB) */
  --img-a: #ffffff;         /* Бүтээгдэхүүний зургийн дэвсгэр */
  --img-b: #eef4f0;
  --stripe-a: #eef3f0;
  --stripe-b: #f6f9f7;
  --green-section: var(--green);
  --footer-bg: #1c2420;
  color-scheme: light;
}

/* ===== Харанхуй горим ===== */
:root[data-theme="dark"] {
  --red-text: #ff6b73;
  --ink: #e8eeea;
  --muted: #9aa8a1;
  --soft: #131a16;
  --line: #27322c;
  --bg: #0e1311;
  --surface: #18201c;
  --text2: #b7c3bd;
  --input-border: #35433b;
  --input-bg: #111815;
  --header-bg: #121915;
  --green-text: #5cc895;
  --green-hover: #8fdcb6;
  --checked-bg: #173326;
  --fade: 14 19 17;
  --img-a: #232d28;
  --img-b: #18201c;
  --stripe-a: #1c2420;
  --stripe-b: #202924;
  --green-section: #0b4a31;
  --footer-bg: #090d0b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 90px; }   /* Наалттай цэсний доор далдлагдахгүй */
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: var(--green-text); text-decoration: none; }
a:hover { color: var(--green-hover); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }
.green { color: var(--green-text); }
.bg-red { background: var(--red); }
.bg-green { background: var(--green); }
.bg-lime { background: var(--lime); }

/* ---------- Товчлуурууд ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #c8102e; color: #fff; }
.btn--outline { background: var(--surface); color: var(--green-text); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ---------- Дээд мөр ---------- */
.topbar { background: var(--green); color: #fff; font-size: 13px; }
.topbar a { color: #fff; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Толгой цэс ---------- */
.header { background: var(--header-bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; }
.logo__icon { width: 52px; height: 48px; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.logo__tag { font-size: 9px; font-weight: 600; letter-spacing: 2.5px; color: var(--red-text); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--red); }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- Нүүрний баннер (дэлгэц дүүрэн слайдер) ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.banner { position: relative; overflow: hidden; background: var(--green); height: clamp(480px, 41.67vw, 780px); }
.banner__track { position: absolute; inset: 0; }

.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide picture, .slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1.05); }

/* Баннер дээрх текст */
.slide__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.slide__content > * { max-width: 560px; }
.slide__text { max-width: 520px !important; }
.slide__label { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.slide__heading { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; }
.slide__text { font-size: 18px; line-height: 1.6; }
.slide__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.theme-light { color: #fff; }
.theme-light .slide__heading, .theme-light .slide__text { text-shadow: 0 2px 18px rgba(0, 0, 0, .18); }
.theme-light .slide__label { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.theme-light .slide__accent { background: linear-gradient(transparent 72%, rgba(140, 198, 63, .85) 72%, rgba(140, 198, 63, .85) 92%, transparent 92%); }
.theme-light .slide__text { color: rgba(255, 255, 255, .92); }
.theme-light .btn--primary { background: #fff; color: var(--green-text); }
.theme-light .btn--primary:hover { background: var(--lime); color: #12301f; }
.theme-light .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.theme-light .btn--secondary:hover { background: #fff; color: var(--green-text); }

.theme-dark { color: var(--ink); }
.theme-dark .slide__label { background: var(--surface); color: var(--green-text); border: 1px solid var(--line); }
.theme-dark .slide__accent { color: var(--red); }
.theme-dark .slide__text { color: var(--text2); }
.theme-dark .btn--primary { background: var(--red); color: #fff; }
.theme-dark .btn--primary:hover { background: #c8102e; }
.theme-dark .btn--secondary { background: var(--surface); color: var(--green-text); border-color: var(--green-text); }

/* Зураг дээрх текстийг тод харагдуулах цайвар уусалт (зүүнээс баруун тийш) */
.banner__fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgb(var(--fade) / .97) 0%,
    rgb(var(--fade) / .93) 38%,
    rgb(var(--fade) / .7) 50%,
    rgb(var(--fade) / 0) 68%);
}
.banner__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.banner__overlay .slide__content { pointer-events: none; }
.banner__overlay a { pointer-events: auto; }

/* Сумнууд */
.banner__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .85); color: #1c2420;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12); transition: background .2s, color .2s;
}
.banner__arrow:hover { background: #fff; color: var(--red); }
.banner__arrow--prev { left: 24px; }
.banner__arrow--next { right: 24px; }
.banner__arrow svg, .banner__pause svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Доод хэсгийн цэгүүд */
.banner__bar {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 4px; padding: 0 12px;
  background: rgba(255, 255, 255, .9); border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}
.banner__dots { display: flex; align-items: center; }
.banner__dot { width: 26px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.banner__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #b9c7bf; transition: width .3s, background .3s; }
.banner__dot[aria-current="true"]::before { width: 22px; background: var(--red); }
.banner__pause { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #1c2420; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.banner__pause svg { width: 18px; height: 18px; }
.banner__pause .icon-play { fill: currentColor; stroke: none; display: none; }
.banner.is-paused .icon-play { display: block; }
.banner.is-paused .icon-pause { display: none; }
.banner__arrow:focus-visible, .banner__dot:focus-visible, .banner__pause:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide img { transition: none; }
  .slide.is-active img { transform: none; }
}

/* ---------- Давуу талууд ---------- */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
/* Хөдөлгөөнт айконууд — навч хэлбэрийн дэвсгэр дотор */
.feature__icon {
  flex: none; width: 68px; height: 68px; border-radius: 0 999px 0 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s ease, border-radius .35s ease;
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); border-radius: 999px 0 999px 0; }
.icon--red   { background: var(--red);   color: #fff; }
.icon--lime  { background: var(--lime);  color: #12301f; }
.icon--green { background: var(--green); color: #fff; }
.feature__icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.feature__icon .dot { fill: currentColor; stroke: none; }
.feature__icon svg * { transform-box: fill-box; transform-origin: center; }

/* Хэсэг дэлгэцэнд гарч ирэхэд зураас зурагдана */
.feature__icon .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.features.in-view .draw { animation: draw 1s ease forwards; }
.features.in-view .feature:nth-child(2) .draw { animation-delay: .25s; }
.features.in-view .feature:nth-child(3) .draw { animation-delay: .5s; }
.feature__icon .dot, .feature__icon .arrow { opacity: 0; }
.features.in-view .dot { animation: pop .4s ease forwards 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* Нүд: эргэн тойрноо харж, анивчина */
.features.in-view .eye-pupil { animation: look 5s ease-in-out infinite 1.2s; }
.features.in-view .eye-lid { animation: blink 5s ease-in-out infinite 1.2s; }
@keyframes look { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 55% { transform: translateX(4px); } 75% { transform: translateX(0); } }
@keyframes blink { 0%, 86%, 100% { transform: scaleY(1); } 90% { transform: scaleY(.08); } 94% { transform: scaleY(1); } }

/* Зүрх: цохилно */
.features.in-view .heart { animation: draw 1s ease forwards .25s, beat 1.6s ease-in-out infinite 1.4s; }
.features.in-view .shine { animation: draw .6s ease forwards 1s; }
@keyframes beat { 0%, 45%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 26% { transform: scale(1.04); } 34% { transform: scale(1.12); } }

/* Бай: сум нисэж ирж онож, бай чичирнэ */
.features.in-view .arrow { animation: shoot 3.2s ease-out infinite 1.4s; }
.features.in-view .ring { animation: draw 1s ease forwards .5s, hit 3.2s ease-out infinite 1.4s; }
@keyframes shoot {
  0% { opacity: 0; transform: translate(14px, -14px); }
  18% { opacity: 1; transform: translate(0, 0); }
  80% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes hit { 0%, 17%, 34%, 100% { transform: scale(1); } 23% { transform: scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .feature__icon .draw { stroke-dashoffset: 0; }
  .feature__icon .dot, .feature__icon .arrow { opacity: 1; }
  .features.in-view * { animation: none !important; }
}
.feature h3 { font-size: 19px; }
.feature p { color: var(--text2); font-size: 15px; line-height: 1.65; margin-top: 8px; }

/* ---------- Хэсгийн ерөнхий ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--green { background: var(--green-section); color: #fff; }
.section--green p { color: #e2f0e8; }
.section h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.section__head { margin-bottom: 32px; }
.section__head h2 { margin-top: 8px; }
.section__head--row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.eyebrow { color: var(--red-text); font-weight: 700; font-size: 13px; letter-spacing: 2px; }
.eyebrow--light { color: #c9e8a6; }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split--top { align-items: flex-start; }
.split__text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; }
.split__text p { font-size: 17px; line-height: 1.7; color: var(--text2); }
.about__text { display: flex; flex-direction: column; gap: 12px; }
.about__text p { text-wrap: pretty; }   /* Сүүлийн мөрөнд ганц үг үлдээхгүй */
.section--green .split__text p { color: #e2f0e8; }

/* ---------- Бүтээгдэхүүн ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  border: 1px solid var(--input-border); background: var(--surface); color: var(--ink);
}
.filter:hover { border-color: var(--green); }
.filter.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
  padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.product:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.product__img { display: flex; }
.product__body { display: flex; }
.product__more { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--red-text); }
.product__more::after { content: " →"; transition: margin .2s; }
.product:hover .product__more::after { margin-left: 4px; }
.product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.product__img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #7a8781; font-size: 12px; font-weight: 600; background: radial-gradient(circle at 50% 55%, var(--img-a) 0%, var(--img-b) 75%); padding: 6px; }
.product__img.is-empty { background: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px); }
.product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product:hover .product__img img { transform: scale(1.05); }
/* Хулгана: зураг томорч, курсорыг бага зэрэг дагана (main.js) */
.zoom-follow img { transition: transform .35s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.zoom-follow.is-zooming img { transition-duration: .12s; }
.product__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.product__cat { font-size: 11px; font-weight: 700; color: var(--green-text); letter-spacing: 1px; text-transform: uppercase; }
.product__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.product__meta { font-size: 13px; color: var(--muted); }
.custom-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; background: var(--surface); border: 2px solid var(--green); border-radius: var(--radius); }
.custom-note svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 0 999px 0 999px; background: var(--green); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.custom-note > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.custom-note strong { font-size: 17px; color: var(--green-text); }
.custom-note span { font-size: 15px; color: var(--text2); line-height: 1.5; }
.custom-note__btn { flex: none; }
.products__empty { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--input-border); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--text2); font-size: 16px; }
.products__empty a { font-weight: 700; }

/* ---------- Бүтээгдэхүүний дэлгэрэнгүй цонх ---------- */
body.modal-open { overflow: hidden; }
.pm { border: 0; padding: 0; background: transparent; max-width: min(960px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); overflow: visible; }
.pm::backdrop { background: rgba(18, 30, 24, .6); backdrop-filter: blur(3px); }
.pm[open] .pm__box { animation: pm-in .3s ease; }
@keyframes pm-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.pm__box { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border-radius: 28px; overflow: hidden; max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
/* Зургийн хэсэг үргэлж дөрвөлжин — аль ч бүтээгдэхүүн, хэмжээ сонгоход цонхны хэмжээ өөрчлөгдөхгүй */
.pm__img { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, var(--img-a) 0%, var(--img-b) 80%); aspect-ratio: 1; min-height: 0; }
.pm__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pm__img img.is-photo { object-fit: cover; padding: 0; }
.pm__text { padding: 40px 36px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
/* Компьютер дээр цонхны өндрийг зургийн хэсэг тогтооно — мэдээлэл ихтэй бол баруун тал дотроо гүйлгэгдэнэ */
@media (min-width: 761px) { .pm__text { height: 0; min-height: 100%; } }
.pm__cat { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-text); }
.pm__name { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.pm__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pm__variants[hidden] { display: none; }
.pm__variant { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--input-border); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pm__variant:hover { border-color: var(--green); }
.pm__variant.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.pm__variant:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.pm__info { margin: 12px 0 8px; display: flex; flex-direction: column; }
.pm__info > div { padding: 11px 0; border-top: 1px solid var(--line); }
.pm__info > div:last-child { border-bottom: 1px solid var(--line); }
.pm__info dt { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red-text); margin-bottom: 4px; }
.pm__info dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.pm__info dd.pm__pending { color: var(--muted); font-style: italic; }
/* Орцонд орсон амьтны жижиг дүрсүүд */
.pm__info dd.animals { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.animal { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 4px; border-radius: 999px; background: var(--checked-bg); color: var(--green-text); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.animal svg { width: 22px; height: 22px; padding: 2px; border-radius: 50%; background: var(--surface); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.animal svg .f { fill: currentColor; stroke: none; }
.pm__soon { background: var(--soft); border-radius: 14px; padding: 16px; color: var(--text2); font-size: 15px; line-height: 1.6; }
.pm__where { align-self: flex-start; margin-top: auto; }
.pm__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pm__close:hover { background: var(--red); color: #fff; }
.pm__close svg, .pm__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pm__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #1c2420; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.pm__nav:hover { color: var(--red); }
.pm__nav--prev { left: 14px; }
.pm__nav--next { right: 14px; }
.pm__count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: #5b6862; background: rgba(255, 255, 255, .85); padding: 4px 10px; border-radius: 999px; }
.pm__close:focus-visible, .pm__nav:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 760px) {
  .pm__box { grid-template-columns: 1fr; overflow-y: auto; border-radius: 22px; }
  .pm__img img { padding: 12px; }
  .pm__text { padding: 24px 22px 28px; overflow: visible; }
  .pm__close { background: rgba(255, 255, 255, .92); color: #1c2420; }
}
@media (prefers-reduced-motion: reduce) { .pm[open] .pm__box { animation: none; } }

/* ---------- Бидний тухай ---------- */
.photo { flex: 1 1 400px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; font-size: 14px; background: repeating-linear-gradient(135deg, #e3ebe6 0 14px, #edf2ef 14px 28px); background-size: cover; background-position: center; }
.photo--about { border-radius: 0 160px 0 160px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 32px; font-weight: 800; }
.stat > span:not(.stat__icon) { font-size: 13px; color: var(--muted); }

/* Тоон үзүүлэлтийн хөдөлгөөнт айконууд */
.stat__icon { width: 56px; height: 56px; margin-bottom: 12px; border-radius: 0 999px 0 999px; display: inline-flex; align-items: center; justify-content: center; transition: transform .35s ease, border-radius .35s ease; }
.stat:hover .stat__icon { transform: rotate(-8deg) scale(1.06); border-radius: 999px 0 999px 0; }
.stat--red .stat__icon { background: var(--red); color: #fff; }
.stat--lime .stat__icon { background: var(--lime); color: #12301f; }
.stat--green .stat__icon { background: var(--green); color: #fff; }
.stat__icon svg { width: 32px; height: 32px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.stat__icon svg * { transform-box: fill-box; transform-origin: center; }
.stat__icon .sd, .stat__icon .check { stroke-dasharray: 1; stroke-dashoffset: 1; }
.stat__icon .ring, .stat__icon .slice, .stat__icon .win, .stat__icon .puff { opacity: 0; }
.stat__icon .slice { fill: currentColor; stroke: none; }
.stat__icon .puff { fill: currentColor; stroke: none; }

.stats.in-view .sd { animation: draw .9s ease forwards; }
.stats.in-view .stat--lime .sd { animation-delay: .2s; }
.stats.in-view .stat--green .sd { animation-delay: .4s; }
/* Хуанли: цагиргууд гарч, чагт тэмдэг давтан зурагдана */
.stats.in-view .ring { animation: pop .3s ease forwards .8s; }
.stats.in-view .ring--l { transform-origin: bottom; }
.stats.in-view .check { animation: tick 3.6s ease infinite 1s; }
@keyframes tick { 0% { stroke-dashoffset: 1; } 25%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Хиам: зүсмэлүүд ээлжлэн гарч ирнэ */
.stats.in-view .s1 { animation: slice 3s ease-in-out infinite 1.1s; }
.stats.in-view .s2 { animation: slice 3s ease-in-out infinite 1.4s; }
.stats.in-view .sausage { animation: wiggle 3s ease-in-out infinite 1.1s; }
@keyframes slice { 0% { opacity: 0; transform: scale(0) translate(-4px, -4px); } 20%, 75% { opacity: 1; transform: scale(1) translate(0, 0); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-5deg); } 30% { transform: rotate(3deg); } 45% { transform: rotate(0); } }
/* Үйлдвэр: цонхнууд асч, яндангаас утаа дээш хөөрнө */
.stats.in-view .win { animation: pop .4s ease forwards 1.2s; }
.stats.in-view .p1 { animation: puff 2.6s ease-out infinite 1.4s; }
.stats.in-view .p2 { animation: puff 2.6s ease-out infinite 2.7s; }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 4px) scale(.4); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(5px, -10px) scale(1.4); } }

@media (prefers-reduced-motion: reduce) {
  .stat__icon .sd, .stat__icon .check { stroke-dashoffset: 0; }
  .stat__icon .ring, .stat__icon .slice, .stat__icon .win { opacity: 1; }
  .stats.in-view * { animation: none !important; }
}

/* Бидний тухай: зүүн талд зургийн галерей, баруун талд текст */
.gallery--about { flex: 1 1 420px; min-width: 0; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; overflow: hidden; border-radius: 0 90px 0 90px; aspect-ratio: 1600 / 820; background: var(--soft); box-shadow: 0 20px 50px rgba(0, 60, 35, .12); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.gallery__main img.is-fading { opacity: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 2 / 1; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--red); }
.gallery__thumb:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 600px) {
  .gallery__main { border-radius: 0 56px 0 56px; }
  .gallery__thumbs { gap: 8px; }
  .gallery__thumb { border-radius: 10px; border-width: 2px; }
}

/* ---------- Хаанаас авах ---------- */
.where { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.where__tabs { display: flex; gap: 6px; padding: 6px; background: rgba(0, 0, 0, .18); border-radius: 999px; align-self: flex-start; flex-wrap: wrap; }
.where__tab {
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: transparent;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s;
}
.where__tab:hover { background: rgba(255, 255, 255, .12); }
.where__tab.is-active { background: var(--surface); color: var(--green-text); }
.where__tab:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.where__count { font-size: 12px; font-weight: 700; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .2); }
.where__tab.is-active .where__count { background: var(--lime); color: #12301f; }

.where__list {
  list-style: none; margin: 0; padding: 0 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; align-content: start;
  height: 236px; overflow-y: auto; overscroll-behavior: contain;   /* Ногоон хэсгийн өндөр өөрчлөгдөхгүй, жагсаалт дотроо гүйлгэгдэнэ */
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .55) transparent;
}
.where__list::-webkit-scrollbar { width: 6px; }
.where__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .55); border-radius: 999px; }
.where__list::-webkit-scrollbar-track { background: transparent; }
.where__list.is-switching { opacity: 0; transform: translateY(6px); }
.where__list { transition: opacity .25s ease, transform .25s ease; }
.where__item { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.where__area { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green-text); background: var(--soft); padding: 4px 10px; border-radius: 999px; }
.where__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.where__addr { font-size: 14px; line-height: 1.5; color: var(--text2); }
.where__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; font-size: 14px; font-weight: 700; }
.where__links a { color: var(--red-text); display: inline-flex; align-items: center; min-height: 32px; }
/* Дэлгүүрийн лого — нэрийн ард */
.where__item.has-logo { position: relative; padding-right: 88px; min-height: 84px; justify-content: center; }
.where__item.has-logo .where__area { white-space: nowrap; }
.where__logo { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 64px; height: 48px; object-fit: contain; transition: transform .3s ease; }
.where__item.has-logo:hover .where__logo { transform: translateY(-50%) scale(1.06); }

/* Дэлгүүрийн барилгын зураг — нэрийн ард */
.where__item.has-photo { position: relative; padding-right: 100px; min-height: 84px; justify-content: center; }
.where__item.has-photo .where__area { white-space: nowrap; }
.where__photo { position: absolute; right: 10px; top: 10px; bottom: 10px; width: 80px; height: calc(100% - 20px); object-fit: cover; object-position: center top; border-radius: 12px; transition: transform .3s ease; }
.where__item.has-photo:hover .where__photo { transform: scale(1.05); }

/* Аймгийн хилийн дүрс — нэрийн ард */
.where__item.has-shape { position: relative; padding-right: 92px; min-height: 84px; justify-content: center; }
.where__shape { position: absolute; right: 14px; top: 50%; width: 64px; height: 64px; transform: translateY(-50%); overflow: visible; }
.where__shape { transition: transform .3s ease; }
.where__shape path { fill: rgba(0, 115, 74, .22); stroke: var(--green-text); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: fill .3s ease;
  /* "backwards" — хөдөлгөөн дууссаны дараа өнгийг түгжихгүй, тэгэхээр hover ажиллана */
  animation: shape-draw 1.1s ease forwards, shape-fill .5s ease backwards 1s; }
.where__item:nth-child(2) .where__shape path { animation-delay: .08s, 1.08s; }
.where__item:nth-child(3) .where__shape path { animation-delay: .16s, 1.16s; }
.where__item:nth-child(4) .where__shape path { animation-delay: .24s, 1.24s; }
.where__item:nth-child(5) .where__shape path { animation-delay: .32s, 1.32s; }
.where__item:nth-child(6) .where__shape path { animation-delay: .40s, 1.40s; }
.where__item:nth-child(7) .where__shape path { animation-delay: .48s, 1.48s; }
.where__item:nth-child(8) .where__shape path { animation-delay: .56s, 1.56s; }
.where__item:nth-child(9) .where__shape path { animation-delay: .64s, 1.64s; }
@keyframes shape-draw { to { stroke-dashoffset: 0; } }
@keyframes shape-fill { from { fill: rgba(0, 115, 74, 0); } to { fill: rgba(0, 115, 74, .22); } }
/* Хулгана дээр нь очиход аймаг ногооноор будагдана */
.where__item.has-shape:hover .where__shape path,
.where__item.has-shape:focus-within .where__shape path { fill: var(--green); }
.where__item.has-shape:hover .where__shape { transform: translateY(-50%) scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .where__shape path { animation: none; stroke-dashoffset: 0; fill: rgba(0, 115, 74, .22); }
}
.where__empty { grid-column: 1 / -1; background: rgba(255, 255, 255, .12); border: 1px dashed rgba(255, 255, 255, .5); border-radius: 16px; padding: 24px; color: #fff; }
@media (prefers-reduced-motion: reduce) { .where__list { transition: none; } }
@media (max-width: 600px) {
  .where__tabs { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; flex-wrap: nowrap; }
  .where__tab { padding: 0 10px; font-size: 14px; justify-content: center; white-space: nowrap; }
  .where__list { height: 300px; }
}

/* ---------- Маягт ---------- */
.form { flex: 1 1 460px; background: var(--soft); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form textarea { padding: 14px; border: 1px solid var(--input-border); border-radius: 12px; font: inherit; font-weight: 400; background: var(--input-bg); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form textarea { resize: vertical; }
.form__opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.form input::placeholder { color: var(--muted); opacity: .7; }
.form__wide { grid-column: 1 / -1; }
.form__status { font-size: 14px; font-weight: 600; min-height: 1.5em; }
.form__status.ok { color: var(--green-text); }
.form__status.err { color: var(--red-text); }
/* Хүсэлтийн төрөл сонгох */
.form__type { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__type legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.form__type .req { color: var(--red-text); }
.type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form .type-option { display: block; cursor: pointer; position: relative; font-weight: 400; }
.type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option__box { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; background: var(--surface); border: 2px solid var(--input-border); border-radius: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.type-option__box svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--green-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.type-option__box > span { display: flex; flex-direction: column; gap: 3px; }
.type-option__box strong { font-size: 15px; color: var(--ink); }
.type-option__box small { font-size: 12px; line-height: 1.45; color: var(--muted); }
.type-option:hover .type-option__box { border-color: var(--green); }
.type-option input:checked + .type-option__box { border-color: var(--green); background: var(--checked-bg); box-shadow: 0 0 0 3px rgba(0, 115, 74, .12); }
.type-option input:focus-visible + .type-option__box { outline: 3px solid var(--green); outline-offset: 2px; }
.form__type.is-invalid .type-option__box { border-color: var(--red-text); }
@media (max-width: 600px) { .type-options { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Мэдээ ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news__card { position: relative; display: flex; flex-direction: column; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.news__card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); border-color: transparent; }
.news__link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.news__link::after { content: ""; position: absolute; inset: 0; }   /* Картын аль ч хэсэгт дарахад нээгдэнэ */
.news__card:has(.news__link:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.news__link:focus-visible { outline: none; }
.news__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.news__img.is-empty { background: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px); }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news__card:hover .news__img img { transform: scale(1.05); }
.news__body { display: flex; flex-direction: column; gap: 6px; padding: 20px; flex: 1; }
.news__body time { font-size: 12px; color: var(--muted); }
.news__body h3 { font-size: 18px; line-height: 1.3; }
.news__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text2); }
.news__more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--red-text); }
.news__empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Мэдээний дэлгэрэнгүй цонх */
.nm { border: 0; padding: 0; background: transparent; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; }
.nm::backdrop { background: rgba(18, 30, 24, .6); backdrop-filter: blur(3px); }
.nm[open] .nm__box { animation: pm-in .3s ease; }
.nm__box { position: relative; background: var(--surface); border-radius: 24px; overflow-y: auto; max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.nm__img img { width: 100%; max-height: 420px; object-fit: cover; }
.nm__body { padding: 28px 32px 34px; display: flex; flex-direction: column; gap: 10px; }
.nm__date { font-size: 13px; color: var(--muted); }
.nm__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; }
.nm__text { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.7; color: var(--text2); }
.nm__text p { margin: 0; }
@media (max-width: 600px) { .nm__body { padding: 22px 20px 26px; } }

/* ---------- Нээлттэй ажлын байр ---------- */
.jobs__apply { max-width: 420px; font-size: 15px; color: var(--text2); line-height: 1.6; }
.jobs__apply a { font-weight: 700; }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; border-top: 6px solid var(--green); }
.job__head h3 { font-size: 20px; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job__tag { background: var(--soft); color: var(--green-text); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.job__block h4 { font-size: 14px; margin-bottom: 6px; }
.job__block ul { margin: 0; padding-left: 20px; color: var(--text2); font-size: 14px; line-height: 1.7; }
.job__deadline { font-size: 13px; font-weight: 600; color: var(--red-text); }
/* Ажлын байр: товч карт + дэлгэрэнгүй цонх */
.job { position: relative; transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; }
.job:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .08); }
.job__block--preview ul { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.job__salary { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--checked-bg); font-size: 14px; line-height: 1.55; color: var(--ink); }
.job__salary strong { color: var(--green-text); }
.job__salary svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--green-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.job__salary--big { font-size: 15px; padding: 16px 20px; border: 1px solid var(--line); background: var(--surface); }
.job__open { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--red-text); cursor: pointer; }
.job__open::after { content: ""; position: absolute; inset: 0; }
.job__open span { display: inline-block; transition: transform .2s; }
.job:hover .job__open span { transform: translateX(4px); }
.job:has(.job__open:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.job__open:focus-visible { outline: none; }

.jm { border: 0; padding: 0; background: transparent; width: min(900px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; }
.jm::backdrop { background: rgba(18, 30, 24, .6); backdrop-filter: blur(3px); }
.jm[open] .jm__box { animation: jm-in .35s cubic-bezier(.2, .7, .3, 1); }
@keyframes jm-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.jm__box { position: relative; background: var(--surface); border-radius: 24px; overflow-y: auto; max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); border-top: 8px solid var(--green); }
.jm__close { position: absolute; top: 16px; right: 16px; }
.jm__head { padding: 30px 80px 20px 36px; border-bottom: 1px solid var(--line); }
.jm__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; }
.jm__body { padding: 24px 36px; display: flex; flex-direction: column; gap: 24px; }
.jm__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jm__cols .job__block ul { font-size: 15px; }
.jm__benefits { background: var(--checked-bg); border-radius: 18px; padding: 22px 24px; }
.jm__benefits h4 { font-size: 17px; color: var(--green-text); }
.jm__intro { margin: 6px 0 14px; font-size: 14px; color: var(--text2); line-height: 1.6; }
.jm__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.jm__perks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.jm__perks svg { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--green); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.jm__foot { padding: 18px 36px 26px; border-top: 1px solid var(--line); background: var(--soft); }
.jm__apply { margin: 0; font-size: 15px; color: var(--text2); line-height: 1.6; }
.jm__footrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jm__cvbtn { gap: 8px; }
.jm__cvbtn[hidden] { display: none; }
.jm__cvbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cv-form { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); padding: 24px; animation: jm-in .3s ease; }
.cv-form[hidden] { display: none; }
.cv-form__title { font-size: 18px; }
.cv-file__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cv-file__box { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed var(--input-border); border-radius: 12px; background: var(--input-bg); color: var(--text2); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.cv-file__box svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cv-file:hover .cv-file__box, .cv-file__input:focus-visible + .cv-file__box { border-color: var(--green); }
.cv-file.has-file .cv-file__box { border-style: solid; border-color: var(--green); background: var(--checked-bg); color: var(--ink); font-weight: 600; }
.cv-file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-form > *, .cv-file__box { min-width: 0; }
@media (max-width: 700px) { .cv-form { grid-template-columns: minmax(0, 1fr); padding: 18px; } .cv-file__name { white-space: normal; } }
.jm__apply a { font-weight: 700; }
@media (max-width: 700px) {
  .jm__head { padding: 24px 64px 16px 22px; }
  .jm__body { padding: 20px 22px; }
  .jm__foot { padding: 16px 22px 22px; }
  .jm__cols, .jm__perks { grid-template-columns: 1fr; }
}

/* Анкет бөглөх товч */
.jm__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.jm__anketbtn { gap: 8px; }
.jm__anketbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Ажил горилогчийн анкет ---------- */
.am { border: 0; padding: 0; background: transparent; width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: visible; }
.am::backdrop { background: rgba(18, 30, 24, .6); backdrop-filter: blur(3px); }
.am[open] .am__box { animation: jm-in .35s cubic-bezier(.2, .7, .3, 1); }
.am__box { background: var(--soft); border-radius: 24px; overflow-y: auto; max-height: calc(100vh - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.am__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 18px 32px; background: var(--surface); border-bottom: 1px solid var(--line); border-top: 8px solid var(--green); }
.am__head .pm__close { position: static; flex: none; }
.am__brand { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-text); }
.am__title { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; line-height: 1.25; }
.am__form { padding: 22px 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.am-intro { background: var(--checked-bg); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.am-intro p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text2); }
.am-intro p:first-child { color: var(--ink); font-weight: 600; }
.am-sec { margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 20px 22px 22px; min-width: 0; }
.am-sec legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; margin-left: -8px; font-size: 16px; font-weight: 800; color: var(--ink); }
.am-sec__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
.am-sec__note { margin: 4px 0 14px; font-size: 13px; color: var(--text2); line-height: 1.5; }
.am-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.am-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border-radius: 12px; }
.am-field--wide { grid-column: 1 / -1; }
.am-field[hidden] { display: none; }
.am-field__label { font-size: 13px; font-weight: 700; color: var(--ink); }
.am .req { color: var(--red-text); }
.am-field input[type=text], .am-field input[type=tel], .am-field input[type=email], .am-field input[type=number], .am-field input[type=date], .am-field input[type=month], .am-field textarea, .am-other {
  width: 100%; padding: 12px 14px; border: 1px solid var(--input-border); border-radius: 12px; font: inherit; font-size: 15px; background: var(--input-bg); color: var(--ink); }
.am-field input:focus, .am-field textarea:focus, .am-other:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.am-field textarea { resize: vertical; }
.am-field.is-invalid { outline: 2px solid var(--red); outline-offset: 6px; }
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.am-chip { position: relative; cursor: pointer; }
.am-chip input { position: absolute; opacity: 0; pointer-events: none; }
.am-chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--input-border); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text2); background: var(--input-bg); transition: border-color .15s, background .15s, color .15s; }
.am-chip:hover span { border-color: var(--green); }
.am-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.am-chip input:focus-visible + span { outline: 3px solid rgba(7, 98, 63, .35); outline-offset: 2px; }
.am-other { margin-top: 2px; }
.am-other[hidden] { display: none; }
.am-hist { display: flex; flex-direction: column; gap: 12px; }
.am-hist__row { position: relative; display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 8px; padding: 14px 14px 14px 46px; border: 1px dashed var(--input-border); border-radius: 14px; }
.am-hist__n { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--green-text); }
.am-hist__row label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 600; color: var(--text2); min-width: 0; }
.am-hist__row input { padding: 9px 10px !important; font-size: 14px !important; }
.am-hist__row label:last-of-type { grid-column: 1 / -1; }
.am-rate { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.am-rate__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px; }
.am-rate__row:nth-child(odd) { background: var(--soft); }
.am-rate__label { font-size: 14px; color: var(--ink); line-height: 1.4; }
.am-rate__dots { display: flex; gap: 6px; flex: none; }
.am-dot { position: relative; cursor: pointer; }
.am-dot input { position: absolute; opacity: 0; pointer-events: none; }
.am-dot span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--input-border); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text2); transition: background .15s, border-color .15s, color .15s; }
.am-dot:hover span { border-color: var(--green); }
.am-dot input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.am-dot input:focus-visible + span { outline: 3px solid rgba(7, 98, 63, .35); outline-offset: 2px; }
.am-consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.am-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--green); }
.am-consent.is-invalid { border-color: var(--red); }
.am-submit { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.am-submit .btn { width: 100%; }
@media (max-width: 700px) {
  .am__head { padding: 14px 16px 14px 20px; }
  .am__form { padding: 16px 14px 24px; }
  .am-sec { padding: 16px 14px 18px; }
  .am-grid { grid-template-columns: minmax(0, 1fr); }
  .am-hist__row { grid-template-columns: 1fr 1fr; padding: 40px 12px 12px; }
  .am-hist__row label:first-of-type { grid-column: 1 / -1; }
  .am-hist__row label:last-of-type { grid-column: 1 / -1; }
  .am-hist__n { left: 12px; top: 12px; }
  .am-rate__row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.jobs__empty { grid-column: 1 / -1; background: var(--soft); border-radius: var(--radius); padding: 28px; color: var(--text2); }

/* ---------- Хөл хэсэг ---------- */
.footer { background: var(--footer-bg); color: #d6ddd9; font-size: 14px; }
.footer a { color: #d6ddd9; }
.footer a:hover { color: #fff; }
.footer__stripe { display: flex; height: 8px; }
.footer__stripe span:nth-child(1) { flex: 1; background: var(--green); }
.footer__stripe span:nth-child(2) { width: 40px; background: var(--lime); }
.footer__stripe span:nth-child(3) { width: 40px; background: var(--red); }
.footer__stripe span:nth-child(4) { flex: 4; background: var(--red); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer p { line-height: 1.6; margin-bottom: 6px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; color: #fff; }
.footer__logo img { width: 44px; height: 40px; object-fit: contain; }
.footer__bottom { border-top: 1px solid #36403b; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #9aa5a0; }

/* ---------- Гар утас, таблет ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
  .header__inner { position: relative; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 12px; }
  .product__name { font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 24px; }
  .stat__icon { width: 48px; height: 48px; }
  .stat__icon svg { width: 28px; height: 28px; }
  .logo__name { font-size: 22px; }
  .logo__icon { width: 42px; height: 40px; }
}

/* ---------- Баннер: гар утас ---------- */
@media (max-width: 900px) {
  .banner__arrow { display: none; }   /* Утсан дээр хуруугаар гүйлгэнэ */
}
@media (max-width: 700px) {
  .banner { height: auto; aspect-ratio: 900 / 1125; max-height: 92vh; }
  .slide__content { justify-content: flex-start; padding-top: 36px; gap: 14px; }
  .slide__heading { font-size: clamp(30px, 8.5vw, 40px); letter-spacing: -1px; }
  .slide__text, .slide__buttons .btn--secondary { display: none; }   /* Утсан дээр зөвхөн гол мэдээлэл */
  .slide__label { font-size: 11px; padding: 6px 12px; }
  .slide__buttons .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .banner__bar { bottom: 14px; }
  .banner__fade {
    background: linear-gradient(180deg,
      rgb(var(--fade) / .97) 0%,
      rgb(var(--fade) / .92) 38%,
      rgb(var(--fade) / .5) 56%,
      rgb(var(--fade) / 0) 72%);
  }
}

/* ---------- Харанхуй горимын нэмэлт засвар ---------- */
/* Цагаан дэвсгэртэй дэлгүүрийн логог цагаан хайрцагт хийнэ */
:root[data-theme="dark"] .where__logo { background: #fff; border-radius: 8px; padding: 4px; }
:root[data-theme="dark"] .product:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .gallery__main { box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
:root[data-theme="dark"] .where__item.has-shape:hover .where__shape path { fill: var(--green-text); }

/* ---------- Хэл, горим сэлгэх товчнууд (дээд ногоон мөрөнд) ---------- */
.topbar__inner { align-items: center; }
.header__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 2px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .22); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.lang-switch:hover { background: rgba(0, 0, 0, .32); }
.lang-switch__knob { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .35s cubic-bezier(.65, 0, .35, 1), width .2s; }
:root[lang="en"] .lang-switch__knob { transform: translateX(100%); }
.lang-switch__opt { position: relative; z-index: 1; min-width: 38px; height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .85); transition: color .35s; }
:root:not([lang="en"]) .lang-switch__opt--mn, :root[lang="en"] .lang-switch__opt--en { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .lang-switch__knob, .lang-switch__opt { transition: none; } }
.theme-toggle { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .22); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .3s; }
.theme-toggle:hover { background: rgba(0, 0, 0, .35); transform: rotate(-15deg); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .topbar { background: var(--green-section); }
.lang-switch:focus-visible, .theme-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) {
  .topbar__inner { gap: 8px 16px; }
  .topbar__inner > span:first-child { flex: 1 1 100%; }
  .header__tools { margin-left: auto; }
}

/* =========================================================
   ГҮЙЛГЭХ ҮЕИЙН ЭФФЕКТҮҮД (main.js-ийн хамгийн доод хэсэг)
   ========================================================= */
/* Гүйлгэхэд цэсний доор сүүдэр гарна */
.header { transition: box-shadow .3s ease; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }

/* Гүйлгэсэн хэмжээ — дээд талын өнгөт зураас */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--red), var(--lime), var(--green)); pointer-events: none; }

/* Дээш буцах товч */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .3s, visibility 0s linear .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top:hover { background: var(--red); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.to-top:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Хэсгүүд доороос зөөлөн гарч ирнэ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Бүтээгдэхүүний картууд ээлжлэн гарна (ангилал солиход ч мөн) */
.cards-anim .product { opacity: 0; }
.cards-anim.is-visible .product { animation: card-in .55s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Цэсэнд одоо харж буй хэсэг */
.nav a:not(.btn) { position: relative; }
.nav a.is-current:not(.btn) { color: var(--red-text); }
@media (min-width: 901px) {
  .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s ease; }
  .nav a.is-current:not(.btn)::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .header, .to-top, .reveal { transition: none; }
  .cards-anim .product { opacity: 1; animation: none !important; }
}

/* ---------- Талархлын цонх (хүсэлт, анкет, CV илгээсний дараа) ---------- */
.ty { border: 0; padding: 0; background: transparent; width: min(470px, calc(100vw - 32px)); max-height: none; overflow: visible; color: var(--ink); }
.ty::backdrop { background: rgba(10, 32, 22, .55); backdrop-filter: blur(6px); }
.ty[open]::backdrop { animation: ty-fade .35s ease both; }
.ty__box { position: relative; background: var(--surface); border-radius: 28px; padding: 46px 32px 26px; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
.ty__box::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--red) 0 30%, var(--lime) 30% 52%, var(--green) 52% 77%, #0b4d33 77%); }
.ty__box::after { content: ""; position: absolute; left: 50%; top: 30px; width: 260px; height: 180px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(140, 198, 63, .22), transparent); }

/* Тэмдэг: дугуй зурагдаж, дүүрч, чагт гарна */
.ty__mark { position: relative; z-index: 1; width: 96px; height: 96px; margin: 0 auto 22px; }
.ty__mark svg { position: relative; width: 100%; height: 100%; display: block; overflow: visible; }
.ty__circle { fill: var(--green); fill-opacity: 0; stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; transform-origin: center; transform: rotate(-90deg); }
.ty__check { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; }
.ty__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; }
.ty.is-play .ty__box { animation: ty-pop .55s cubic-bezier(.2, 1.35, .4, 1) both; }
.ty.is-play .ty__circle { animation: ty-draw .6s ease-out .15s forwards, ty-fill .35s ease-out .7s forwards; }
.ty.is-play .ty__check { animation: ty-check .38s cubic-bezier(.65, 0, .45, 1) .9s forwards; }
.ty.is-play .ty__mark svg { animation: ty-bump .45s ease-out .7s; }
.ty.is-play .ty__ring { animation: ty-ring 1.3s ease-out .8s; }
.ty.is-play .ty__ring--2 { animation-delay: 1.05s; }

/* Конфетти — брэндийн өнгө, навч хэлбэр */
.ty__burst { position: absolute; left: 50%; top: 94px; width: 0; height: 0; z-index: 0; pointer-events: none; }
.ty__burst i { position: absolute; left: -4px; top: -6px; width: 8px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0; }
.ty__burst i.is-dot { width: 8px; height: 8px; border-radius: 50%; }
.ty__burst i.is-leaf { width: 11px; height: 11px; border-radius: 0 100% 0 100%; }
.ty.is-play .ty__burst i { animation: ty-confetti 1.6s cubic-bezier(.12, .75, .3, 1) calc(.75s + var(--d)) forwards; }

/* Текст */
.ty__eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green-text); }
.ty__title { position: relative; z-index: 1; margin: 0; font-size: clamp(24px, 5.4vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; overflow-wrap: anywhere; }
.ty__tag { position: relative; z-index: 1; display: inline-block; margin: 12px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--checked-bg); color: var(--green-text); font-size: 13px; font-weight: 700; }
.ty__tag[hidden] { display: none; }
.ty__text { position: relative; z-index: 1; margin: 14px auto 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--text2); }
.ty__steps { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; margin: 24px 0 26px; }
.ty__step { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 92px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--text2); }
.ty__step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-size: 13px; color: var(--text2); }
.ty__step.is-done b { background: var(--green); border-color: var(--green); color: #fff; }
.ty__step:nth-of-type(2) b { border-color: var(--lime); color: var(--green-text); box-shadow: 0 0 0 0 rgba(140, 198, 63, .55); }
.ty.is-play .ty__step:nth-of-type(2) b { animation: ty-pulse 1.8s ease-out 1.6s infinite; }
.ty__line { flex: 1 1 auto; max-width: 46px; height: 2px; margin-top: 14px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.ty__line::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.ty.is-play .ty__line:first-of-type::after { animation: ty-grow .5s ease-out 1.4s forwards; }
.ty__btn { position: relative; z-index: 1; min-width: 190px; background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(0, 115, 74, .28); }
.ty__btn:hover { background: #005c3b; color: #fff; }
.ty__btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.ty__contact { position: relative; z-index: 1; margin: 16px 0 0; font-size: 13px; color: var(--text2); }
.ty__contact a { color: var(--green-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ty__contact a:hover { text-decoration: underline; }
.ty.is-play .ty__eyebrow, .ty.is-play .ty__title, .ty.is-play .ty__tag, .ty.is-play .ty__text, .ty.is-play .ty__steps, .ty.is-play .ty__btn, .ty.is-play .ty__contact { animation: ty-up .5s cubic-bezier(.2, .8, .3, 1) both; }
.ty.is-play .ty__eyebrow { animation-delay: .95s; }
.ty.is-play .ty__title { animation-delay: 1.02s; }
.ty.is-play .ty__tag { animation-delay: 1.09s; }
.ty.is-play .ty__text { animation-delay: 1.16s; }
.ty.is-play .ty__steps { animation-delay: 1.23s; }
.ty.is-play .ty__btn { animation-delay: 1.3s; }
.ty.is-play .ty__contact { animation-delay: 1.37s; }

@keyframes ty-fade { from { opacity: 0; } }
@keyframes ty-pop { from { opacity: 0; transform: translateY(24px) scale(.88); } }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-fill { to { fill-opacity: 1; } }
@keyframes ty-check { to { stroke-dashoffset: 0; } }
@keyframes ty-bump { 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ty-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes ty-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes ty-grow { to { transform: scaleX(1); } }
@keyframes ty-pulse { 0% { box-shadow: 0 0 0 0 rgba(140, 198, 63, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(140, 198, 63, 0); } }
@keyframes ty-confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); }
  65% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * .7)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 90px)) rotate(var(--r)) scale(.9); }
}
@media (max-width: 480px) {
  .ty__box { padding: 40px 20px 22px; border-radius: 24px; }
  .ty__step { width: 78px; font-size: 11.5px; }
  .ty__line { max-width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ty.is-play .ty__box, .ty.is-play .ty__eyebrow, .ty.is-play .ty__title, .ty.is-play .ty__tag, .ty.is-play .ty__text,
  .ty.is-play .ty__steps, .ty.is-play .ty__btn, .ty.is-play .ty__contact, .ty.is-play .ty__mark svg, .ty.is-play .ty__ring,
  .ty.is-play .ty__step:nth-of-type(2) b { animation: none; }
  .ty__circle { stroke-dashoffset: 0; fill-opacity: 1; animation: none !important; }
  .ty__check { stroke-dashoffset: 0; animation: none !important; }
  .ty__line:first-of-type::after { transform: none; }
}
