/* =========================================================
   Gym Paradise Mongolia — үндсэн загвар (master stylesheet)
   Бүтэц нь Gold's Gym сайттай ижил: navbar → page-header →
   section-title → card → footer. Брэнд: хар + улбар шар.
   ========================================================= */

:root {
  --gp-orange: #ea7a2e;
  --gp-orange-2: #ff8f3f;
  --gp-orange-dark: #c9611a;
  --gp-black: #0a0a0a;
  --gp-dark: #121212;
  --gp-dark-2: #1a1a1a;
  --gp-card: #161616;
  --gp-line: #262626;
  --gp-text: #f2f2f2;
  --gp-muted: #a3a3a3;
  --gp-radius: 14px;
  --gp-head: "Oswald", "Arial Narrow", sans-serif;
  --gp-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--gp-body);
  color: var(--gp-text);
  background: var(--gp-black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, .navbar-brand, .gp-head {
  font-family: var(--gp-head);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
}
a { color: var(--gp-orange); }
a:hover { color: var(--gp-orange-2); }
.text-muted, .text-secondary { color: var(--gp-muted) !important; }
.text-primary { color: var(--gp-orange) !important; }
.bg-dark-2 { background: var(--gp-dark); }
::selection { background: var(--gp-orange); color: #000; }

/* ---------- Товчлуур ---------- */
.btn-primary {
  --bs-btn-bg: var(--gp-orange);
  --bs-btn-border-color: var(--gp-orange);
  --bs-btn-color: #0a0a0a;
  --bs-btn-hover-bg: var(--gp-orange-2);
  --bs-btn-hover-border-color: var(--gp-orange-2);
  --bs-btn-hover-color: #0a0a0a;
  --bs-btn-active-bg: var(--gp-orange-dark);
  --bs-btn-active-border-color: var(--gp-orange-dark);
  font-weight: 700;
  letter-spacing: .03em;
}
.btn-outline-primary {
  --bs-btn-color: var(--gp-orange);
  --bs-btn-border-color: var(--gp-orange);
  --bs-btn-hover-bg: var(--gp-orange);
  --bs-btn-hover-border-color: var(--gp-orange);
  --bs-btn-hover-color: #0a0a0a;
  --bs-btn-active-bg: var(--gp-orange-dark);
  font-weight: 700;
}
.btn { border-radius: 10px; }

/* ---------- Навигаци ---------- */
.gp-navbar {
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gp-line);
  z-index: 1030;
}
.gp-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.gp-logo img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.gp-logo__text { font-family: var(--gp-head); font-weight: 700; font-size: 1.25rem; line-height: 1; color: #fff; letter-spacing: .04em; }
.gp-logo__text small { display: block; font-size: .58rem; letter-spacing: .28em; color: var(--gp-orange); margin-top: .25rem; font-weight: 500; }
.gp-navbar .nav-link { color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .92rem; white-space: nowrap; padding-left: .7rem !important; padding-right: .7rem !important; }
.gp-navbar .nav-link:hover, .gp-navbar .nav-link.active { color: #fff; }
.gp-navbar .nav-link.active { box-shadow: inset 0 -2px 0 var(--gp-orange); }
.gp-navbar .dropdown-menu { background: var(--gp-dark-2); border: 1px solid var(--gp-line); border-radius: 12px; }
.gp-navbar .dropdown-item { color: #ddd; }
.gp-navbar .dropdown-item:hover { background: rgba(234, 122, 46, .12); color: #fff; }
.navbar-toggler { border-color: var(--gp-line); }
.gp-navbar .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .gp-navbar .nav-link { padding-left: .45rem !important; padding-right: .45rem !important; font-size: .86rem; }
}

/* ---------- Нүүр хэсэг (hero) ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-cover.jpg") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
.hero--home .hero__bg { background-size: cover; background-position: center 30%; opacity: 0; transition: opacity 1.2s ease; filter: grayscale(.35); }
.hero--home .hero__bg.active { opacity: 1; }
.hero--home { min-height: 92vh; }
.hero--home h1 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); }
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 45%), rgba(234,122,46,.16), transparent 60%);
}
.hero.hero--home::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.9) 45%, rgba(10,10,10,.8) 70%, rgba(10,10,10,.72) 100%),
    linear-gradient(0deg, rgba(10,10,10,1) 0%, transparent 35%);
}
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.hero-slide.active { opacity: 1; visibility: visible; transform: none; }
.hero-chip i { font-size: .95rem; }
.hero-ctrl { display: flex; align-items: center; gap: 1rem; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; transition: all .2s; }
.hero-arrow:hover { border-color: var(--gp-orange); color: var(--gp-orange); }
.hero-dots { display: flex; gap: .5rem; }
.hero-dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.25); transition: all .3s; padding: 0; }
.hero-dots button.active { width: 52px; background: var(--gp-orange); }

/* ---------- Харандаагаар зурсан лого ---------- */
.hero-logo-wrap { perspective: 900px; }
.hero-logo { max-width: 470px; margin: 0 auto; }
.sketch-logo { width: 100%; height: auto; display: block; overflow: visible; }
.sk-grid circle, .sk-grid line { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; stroke-dasharray: 4 7; }
.sk-guides line { stroke: rgba(234,170,120,.32); stroke-width: .9; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk-guides circle { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; opacity: 0; transition: opacity .6s 1.6s; }
.sk-hatch line { stroke: rgba(234,122,46,.55); stroke-width: 1.3; }
.sk-hatch { opacity: 0; transition: opacity 1.2s ease 1.9s; }
.sk-mark path { fill: none; stroke: #f1e6dc; stroke-width: 2.1; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk-mark path + path { stroke: rgba(234,122,46,.85); stroke-width: 1.2; }
.sk-text text { fill: none; stroke: #f1e6dc; stroke-width: 1.1; font-family: var(--gp-head); letter-spacing: .08em; opacity: 0; transition: opacity 1s ease 2s; }
.sk-text .sk-t1 { font-size: 62px; font-weight: 700; }
.sk-text .sk-t2 { font-size: 24px; letter-spacing: .32em; stroke: rgba(234,122,46,.9); }
.sk-text line { stroke: rgba(255,255,255,.3); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-logo.is-drawn .sk-guides line { animation: skDraw 1.4s ease forwards; }
.hero-logo.is-drawn .sk-guides circle { opacity: 1; }
.hero-logo.is-drawn .sk-mark path { animation: skDraw 2.2s cubic-bezier(.6,.05,.3,1) .4s forwards; }
.hero-logo.is-drawn .sk-mark path + path { animation-delay: .9s; }
.hero-logo.is-drawn .sk-hatch, .hero-logo.is-drawn .sk-text text { opacity: 1; }
.hero-logo.is-drawn .sk-text line { animation: skDraw 1s ease 2.2s forwards; }
@keyframes skDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 991.98px) { .hero-logo { max-width: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .sk-guides line, .sk-mark path, .sk-text line { stroke-dashoffset: 0; }
  .sk-hatch, .sk-text text, .sk-guides circle { opacity: 1; }
  .hero-slide { transition: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.98) 0%, rgba(10,10,10,.94) 45%, rgba(10,10,10,.55) 70%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,1) 0%, transparent 35%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; font-weight: 700; }
.hero h1 span { color: var(--gp-orange); }
.hero .lead { color: rgba(255,255,255,.78); max-width: 560px; font-size: 1.1rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(234,122,46,.5); color: var(--gp-orange);
  padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero-chip.is-closed .dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.2); }

.page-header {
  position: relative;
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(234,122,46,.35) 0, transparent 42%),
    linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border-bottom: 1px solid var(--gp-line);
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 340px;
  background: url("../img/logo.jpg") center / contain no-repeat; opacity: .07; filter: grayscale(1); mix-blend-mode: screen;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.page-header .lead { color: var(--gp-muted); max-width: 640px; }
.breadcrumb { --bs-breadcrumb-divider-color: #555; --bs-breadcrumb-item-active-color: #888; font-size: .85rem; }
.breadcrumb a { color: #bbb; text-decoration: none; }

/* ---------- Хэсгийн гарчиг ---------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title.text-start { text-align: left; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gp-orange); margin-bottom: .6rem;
}
.section-title h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); position: relative; padding-bottom: .7rem; margin-bottom: 0; }
.section-title h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 64px; height: 3px;
  background: var(--gp-orange); transform: translateX(-50%);
}
.section-title.text-start h2::after { left: 0; transform: none; }
.section-title p { color: var(--gp-muted); max-width: 620px; margin: 1rem auto 0; }
.section-title.text-start p { margin-left: 0; }

/* ---------- Статистик ---------- */
.gp-stats { border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); background: var(--gp-dark); }
.gp-stats .stat { padding: 1.8rem 1rem; text-align: center; }
.gp-stats .stat + .stat { border-left: 1px solid var(--gp-line); }
.stat-num { font-family: var(--gp-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-num em { font-style: normal; color: var(--gp-orange); }
.stat-label { color: var(--gp-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-top: .4rem; }
@media (max-width: 767.98px) {
  .gp-stats .stat:nth-child(odd) { border-left: 0; }
  .gp-stats .stat:nth-child(n+3) { border-top: 1px solid var(--gp-line); }
}

/* ---------- Карт ---------- */
.gp-card {
  background: var(--gp-card);
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-radius);
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  color: var(--gp-text);
}
a.gp-card { text-decoration: none; display: block; }
.gp-card:hover { transform: translateY(-4px); border-color: rgba(234,122,46,.6); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.gp-card .card-body { padding: 1.5rem; }
.gp-card h3, .gp-card h4, .gp-card h5 { color: #fff; }
.gp-card p { color: var(--gp-muted); }
.icon-circle {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(234,122,46,.12); color: var(--gp-orange); font-size: 1.5rem; margin-bottom: 1rem;
}
.media { position: relative; overflow: hidden; background: #1c1c1c; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.gp-card:hover .media img { transform: scale(1.05); }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-sq { aspect-ratio: 1 / 1; }

/* ---------- Брэнд зурвас ---------- */
.brand-band {
  background: var(--gp-orange); color: #0a0a0a; overflow: hidden; white-space: nowrap;
  font-family: var(--gp-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .9rem 0;
}
.brand-band__track { display: inline-flex; gap: 3rem; animation: marquee 28s linear infinite; }
.brand-band__track span::after { content: "✦"; margin-left: 3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split / Why ---------- */
.split-img { border-radius: var(--gp-radius); overflow: hidden; border: 1px solid var(--gp-line); }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mosaic .split-img:first-child { grid-row: span 2; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: .9rem; color: #ddd; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; color: var(--gp-orange); font-size: 1.2rem; }

/* ---------- Үнийн карт ---------- */
.price-card { padding: 2rem; position: relative; }
.price-card .price { font-family: var(--gp-head); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; }
.price-card .price small { font-size: 1rem; color: var(--gp-muted); font-weight: 500; }
.price-card .old { text-decoration: line-through; color: #777; font-weight: 600; }
.price-card.featured { border-color: var(--gp-orange); background: linear-gradient(180deg, rgba(234,122,46,.14), var(--gp-card) 55%); }
.price-card .badge-hot { position: absolute; top: 1rem; right: 1rem; background: var(--gp-orange); color: #000; font-weight: 800; font-size: .7rem; letter-spacing: .12em; padding: .35rem .6rem; border-radius: 6px; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.price-card li { padding: .45rem 0; border-bottom: 1px dashed var(--gp-line); color: #ccc; font-size: .92rem; }
.price-card li i { color: var(--gp-orange); margin-right: .5rem; }

/* ---------- Үнийн сонголт: ангилал × хугацаа ---------- */
.price-switch {
  position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto; padding: .35rem;
  background: var(--gp-card); border: 1px solid var(--gp-line); border-radius: 999px; overflow-x: auto;
}
.ps-tab {
  position: relative; z-index: 1; border: 0; background: transparent; color: #ccc; font-weight: 700;
  padding: .7rem 1.4rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; transition: color .25s;
}
.ps-tab i { color: var(--gp-orange); transition: color .25s; }
.ps-tab.active, .ps-tab.active i { color: #0a0a0a; }
.ps-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ps-glider { position: absolute; z-index: 0; top: .35rem; bottom: .35rem; left: 0; border-radius: 999px; background: var(--gp-orange); transition: transform .35s cubic-bezier(.5,0,.2,1), width .35s; }
@media (max-width: 575.98px) { .ps-tab { padding: .6rem .9rem; font-size: .85rem; } .ps-tab i { display: none; } }
.ps-lead p { color: #ddd; }
.price-opt {
  width: 100%; text-align: left; padding: 1.4rem 1.2rem; position: relative; cursor: pointer; display: flex; flex-direction: column; gap: .2rem;
}
.price-opt .po-period { font-family: var(--gp-head); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gp-muted); }
.price-opt .po-total { font-family: var(--gp-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: #fff; line-height: 1.1; }
.price-opt .po-month { font-size: .8rem; color: var(--gp-muted); }
.price-opt .po-check { position: absolute; right: 1rem; bottom: 1rem; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gp-line); display: grid; place-items: center; color: transparent; transition: all .2s; }
.price-opt .badge-hot { position: absolute; top: .8rem; right: .8rem; background: var(--gp-orange); color: #000; font-weight: 800; font-size: .62rem; letter-spacing: .1em; padding: .25rem .45rem; border-radius: 6px; }
/* Хугацааны карт — сонгоход зөөлөн хөдөлгөөн */
.price-opt {
  isolation: isolate;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .45s ease;
}
.price-opt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(234,122,46,.18), transparent 75%);
  opacity: 0; transition: opacity .45s ease;
}
.price-opt .po-period, .price-opt .po-total { transition: color .35s ease; }
.price-opt .po-check i { transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.price-opt:hover { transform: translateY(-3px); }
.price-opt:active { transform: translateY(-1px) scale(.985); transition-duration: .12s; }
.price-opt.active { border-color: var(--gp-orange); transform: translateY(-6px); box-shadow: 0 0 0 1px var(--gp-orange) inset, 0 18px 40px rgba(234,122,46,.18); }
.price-opt.active::before { opacity: 1; }
.price-opt.active .po-period { color: var(--gp-orange); }
.price-opt.active .po-check { background: var(--gp-orange); border-color: var(--gp-orange); color: #000; }
.price-opt.active .po-check i { transform: scale(1); }
/* Ангилал солиход картууд дараалан гарч ирнэ */
[data-ps-plans].is-swap > div { animation: poIn .5s cubic-bezier(.22,1,.36,1) both; }
[data-ps-plans].is-swap > div:nth-child(2) { animation-delay: .05s; }
[data-ps-plans].is-swap > div:nth-child(3) { animation-delay: .1s; }
[data-ps-plans].is-swap > div:nth-child(4) { animation-delay: .15s; }
@keyframes poIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Таны сонголтын нэр, үнэ зөөлөн солигдоно */
.ps-fade { animation: psFade .4s ease both; }
@keyframes psFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .price-opt, .price-opt::before, .price-opt .po-check i { transition: none; }
  [data-ps-plans].is-swap > div, .ps-fade { animation: none; }
}
.ps-price { font-family: var(--gp-head); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.ps-price small { font-size: 1rem; color: var(--gp-muted); }
.ps-list { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #ccc; }
.ps-list li { padding: .3rem 0; display: flex; gap: .5rem; }
.ps-list i { color: var(--gp-orange); }
.ps-list.is-cond i { color: var(--gp-muted); }

/* ---------- Яагаад ---------- */
.why-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.why-item .icon-circle { flex-shrink: 0; margin: 0; }

/* ---------- Дасгалын заавар: биеийн зураг ---------- */
.bodymap-wrap { background: radial-gradient(circle at 50% 40%, rgba(234,122,46,.10), transparent 60%), var(--gp-dark); border: 1px solid var(--gp-line); border-radius: 20px; padding: 1.5rem; }
.bodymap { display: flex; gap: 1rem; justify-content: center; }
.bodymap figure { margin: 0; text-align: center; flex: 1; max-width: 230px; }
.bodymap figcaption { color: var(--gp-muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-top: .4rem; }
.bodymap svg { width: 100%; height: auto; display: block; }
.bodymap .sil { fill: #2a2a2a; }
.bodymap .sil-line { stroke: #2a2a2a; stroke-linecap: round; fill: none; }
.bodymap .m { fill: #474747; stroke: #0a0a0a; stroke-width: 1.2; cursor: pointer; transition: fill .2s ease, filter .2s ease; }
.bodymap g[data-m]:hover .m { fill: #8a5634; }
.bodymap g[data-m].is-active .m { fill: var(--gp-orange); filter: drop-shadow(0 0 6px rgba(234,122,46,.6)); }
.bodymap g[data-m]:focus { outline: none; }
.bodymap g[data-m]:focus-visible .m { stroke: #fff; stroke-width: 2; }
.bodymap .ab-line { stroke: #0a0a0a; stroke-width: 1.2; pointer-events: none; }

.muscle-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.muscle-tab {
  border: 1px solid var(--gp-line); background: var(--gp-card); color: #ddd;
  border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem; transition: all .2s ease; text-decoration: none;
}
.muscle-tab .count { font-size: .72rem; background: #262626; border-radius: 999px; padding: .05rem .45rem; color: #aaa; }
.muscle-tab:hover { border-color: var(--gp-orange); color: #fff; }
.muscle-tab.active { background: var(--gp-orange); border-color: var(--gp-orange); color: #000; }
.muscle-tab.active .count { background: rgba(0,0,0,.18); color: #000; }

.group-intro { border-left: 3px solid var(--gp-orange); padding-left: 1rem; }
.group-intro h3 { margin-bottom: .25rem; }

.ex-card .media { aspect-ratio: 16 / 10; }
.ex-card .media img { object-position: center 35%; }
.ex-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 55%); }
.play-btn {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(234,122,46,.95); color: #000;
  display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 0 0 8px rgba(234,122,46,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gp-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 12px rgba(234,122,46,.2); }
.play-btn.is-soon { background: rgba(20,20,20,.85); color: var(--gp-orange); border: 1px solid rgba(234,122,46,.6); box-shadow: none; }
.ex-tags { position: absolute; z-index: 2; left: .8rem; bottom: .7rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 6px; background: rgba(0,0,0,.65); color: #eee; border: 1px solid rgba(255,255,255,.12); }
.tag-lvl-1 { color: #4ade80; }
.tag-lvl-2 { color: #facc15; }
.tag-lvl-3 { color: #f87171; }
.ex-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--gp-muted); }
.ex-meta b { color: #fff; font-weight: 700; }

/* Дасгалын дэлгэрэнгүй */
.video-box { border-radius: var(--gp-radius); overflow: hidden; background: #000; border: 1px solid var(--gp-line); aspect-ratio: 16 / 9; position: relative; }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.video-box.is-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.22) grayscale(.4) blur(3px); transform: scale(1.08); }
.video-box .soon-msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 1rem; }
.video-box .soon-msg i { font-size: 3rem; color: var(--gp-orange); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.1rem 3rem; color: #ddd; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 2rem; height: 2rem; border-radius: 8px;
  background: rgba(234,122,46,.14); color: var(--gp-orange); display: grid; place-items: center; font-weight: 800; font-family: var(--gp-head);
}
.prescription { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.prescription div { background: var(--gp-card); border: 1px solid var(--gp-line); border-radius: 12px; padding: 1rem; text-align: center; }
.prescription b { display: block; font-family: var(--gp-head); font-size: 1.6rem; color: #fff; }
.prescription span { font-size: .75rem; color: var(--gp-muted); letter-spacing: .12em; text-transform: uppercase; }
.tip-box { border-radius: 12px; padding: 1rem 1.2rem; border: 1px solid var(--gp-line); background: var(--gp-card); }
.tip-box.good { border-left: 3px solid #22c55e; }
.tip-box.bad { border-left: 3px solid #ef4444; }
.tip-box ul { margin: 0; padding-left: 1.1rem; color: #ccc; }
.tip-box li + li { margin-top: .35rem; }

/* ---------- Галерей ---------- */

/* ---------- Булчингийн зураг (урд ба ар тал, шугаман зураг) ---------- */
.anatomy {
  --ink: #d8d2c9;
  position: relative; padding: 1.2rem 1rem .6rem; border-radius: 20px; border: 1px solid #2c2620;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(234,122,46,.16), transparent 62%),
    linear-gradient(180deg, #1b1714 0%, #100e0c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 50px rgba(0,0,0,.45);
}
.anatomy.is-large { max-width: 440px; margin: 0 auto; }
.anatomy svg { width: 100%; height: auto; display: block; }
.an-lines { fill: var(--ink); pointer-events: none; }
.an-m path { fill: rgba(255,255,255,0); cursor: pointer; transition: fill .18s ease; }
.an-m.is-group path { fill: rgba(234,122,46,.22); }
.an-m:hover path, .an-m.is-hover path { fill: rgba(234,122,46,.5); }
.an-m.is-active path { fill: var(--gp-orange); }
.an-m:focus { outline: none; }
.an-m:focus-visible path { fill: rgba(234,122,46,.5); stroke: #000; stroke-width: 2; }
.an-caps { display: flex; justify-content: space-around; color: #8a7d6e; font-family: var(--gp-head); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; margin-top: .3rem; }
.an-tip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 14px));
  background: #0a0a0a; color: #fff; border: 1px solid var(--gp-orange); border-radius: 8px; padding: .35rem .6rem; font-size: .8rem; line-height: 1.2;
  white-space: nowrap; opacity: 0; transition: opacity .15s;
}
.an-tip.show { opacity: 1; }
.an-tip b { display: block; }
.an-tip span { color: var(--gp-muted); font-size: .7rem; }
.anatomy.is-small { padding: .6rem .4rem .3rem; }
.anatomy.is-small .an-caps { font-size: .6rem; }
@media (hover: none) { .an-tip { display: none; } }

/* Булчин сонгох хуудас */
.muscle-page .mp-panel { min-height: 420px; }
.mp-empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--gp-line); border-radius: var(--gp-radius); }
.mp-empty i { font-size: 3rem; color: var(--gp-orange); }
.mp-jump {
  position: fixed; left: 50%; bottom: 1rem; z-index: 1045; transform: translate(-50%, 140%);
  background: var(--gp-orange); color: #0a0a0a; border: 0; border-radius: 999px; padding: .7rem 1.2rem;
  font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .3s ease; white-space: nowrap;
}
.mp-jump.show { transform: translate(-50%, 0); }
.mp-head { border-left: 3px solid var(--gp-orange); padding-left: 1rem; }
.mp-more { display: flex; flex-wrap: wrap; gap: .5rem; }
.mp-more a { text-decoration: none; }
.mc-group { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .6rem 0; border-bottom: 1px dashed var(--gp-line); }
.mc-title { font-family: var(--gp-head); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gp-orange); min-width: 70px; }
.mc { border: 1px solid var(--gp-line); background: var(--gp-card); color: #ccc; border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 600; transition: all .2s; }
.mc:hover { border-color: var(--gp-orange); color: #fff; }
.mc.active { background: var(--gp-orange); border-color: var(--gp-orange); color: #000; }
.tag-lg { font-size: .8rem; padding: .35rem .7rem; }

/* ---------- Видео тоглуулагч (YouTube маягийн) ---------- */
.vp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; }
@media (max-width: 991.98px) { .vp { grid-template-columns: 1fr; } }
.vp-stage {
  position: relative; border-radius: var(--gp-radius); overflow: hidden; border: 1px solid var(--gp-line);
  background: radial-gradient(circle at 50% 30%, #1d1d1d, #050505); height: min(640px, 78vh); display: flex; justify-content: center; align-items: stretch;
}
.vp-stage iframe, .vp-stage video { height: 100%; width: auto; aspect-ratio: 9 / 16; max-width: 100%; border: 0; display: block; background: #000; }
.vp-poster { position: relative; height: 100%; width: auto; aspect-ratio: 9 / 16; max-width: 100%; border: 0; padding: 0; background: #000; }
.vp-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.vp-info { padding: 1rem .25rem 0; }
.vp-list { display: flex; flex-direction: column; gap: .5rem; max-height: 560px; overflow-y: auto; padding-right: .25rem; }
@media (max-width: 991.98px) { .vp-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: .5rem; } .vp-item { min-width: 260px; } }
.vp-item { display: flex; gap: .75rem; align-items: center; text-align: left; border: 1px solid transparent; background: transparent; color: #ddd; border-radius: 12px; padding: .45rem; transition: background .2s, border-color .2s; }
.vp-item:hover { background: var(--gp-card); }
.vp-item.active { background: var(--gp-card); border-color: var(--gp-orange); }
.vp-thumb { position: relative; width: 74px; flex-shrink: 0; aspect-ratio: 9 / 13; border-radius: 8px; overflow: hidden; background: #111; }
.vp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vp-thumb i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(0,0,0,.25); }
.vp-item.active .vp-thumb i { color: var(--gp-orange); }
.vp-meta b { display: block; font-size: .92rem; color: #fff; }
.vp-meta small { color: var(--gp-muted); }

/* Галерейн эх сурвалжийн тэмдэг */
.src-badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; display: inline-flex; gap: .3rem; align-items: center; }
.src-facebook i { color: #4d8dff; }
.src-instagram i { color: #f77737; }
.src-club i { color: var(--gp-orange); }
.fb-feed { display: flex; justify-content: center; }
.fb-feed iframe { border: 0; border-radius: var(--gp-radius); max-width: 100%; background: #fff; }

/* ---------- Дасгалжуулагч ---------- */
.trainer-card { display: block; text-decoration: none; }
.trainer-card .media { aspect-ratio: 4 / 4.2; }
.trainer-card .media img { object-position: center 18%; }
.trainer-card .tc-more { position: absolute; right: .8rem; bottom: .8rem; width: 40px; height: 40px; border-radius: 50%; background: var(--gp-orange); color: #000; display: grid; place-items: center; font-size: 1.2rem; transform: scale(.8); opacity: .85; transition: all .25s; }
.trainer-card:hover .tc-more { transform: scale(1) rotate(90deg); opacity: 1; }
.gp-modal { background: var(--gp-dark); border: 1px solid var(--gp-line); border-radius: 20px; overflow: hidden; color: var(--gp-text); }
.gp-modal .btn-close { position: absolute; top: 1rem; right: 1rem; z-index: 5; }
.td-photo { height: 100%; min-height: 360px; background: #000; }
.td-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.td-quote { font-family: var(--gp-head); font-size: 1.3rem; color: var(--gp-orange); text-transform: uppercase; margin: 0 0 1rem; }
.td-sched { color: #ddd; background: rgba(234,122,46,.1); border: 1px solid rgba(234,122,46,.35); border-radius: 10px; padding: .6rem .9rem; display: inline-block; }
.td-list { list-style: none; padding: 0; margin: 0; }
.td-list li { padding: .4rem 0; border-bottom: 1px dashed var(--gp-line); color: #ddd; display: flex; gap: .6rem; font-size: .92rem; }
.td-list i { color: var(--gp-orange); }
.gp-modal .role { color: var(--gp-orange); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.trainer-card .role { color: var(--gp-orange); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.trainer-card.is-placeholder .media { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #151515 0 14px, #1a1a1a 14px 28px); }
.trainer-card.is-placeholder .media i { font-size: 4rem; color: #333; }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 22px; overflow: hidden; padding: 3.5rem 2rem; isolation: isolate;
  background: linear-gradient(110deg, rgba(10,10,10,.95) 35%, rgba(234,122,46,.55)), url("../img/gym-floor.jpg") center / cover;
  border: 1px solid var(--gp-line);
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ---------- Газрын зураг / холбоо ---------- */
.gp-map { border-radius: var(--gp-radius); overflow: hidden; border: 1px solid var(--gp-line); min-height: 360px; height: 100%; }
.gp-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg); }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--gp-line); }
.contact-line i { color: var(--gp-orange); font-size: 1.3rem; }
.contact-line a { color: #fff; text-decoration: none; }
.hours-table td { padding: .55rem 0; border-bottom: 1px dashed var(--gp-line); color: #ddd; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: #fff; }
.hours-table tr.today td { color: var(--gp-orange); }

/* ---------- Маягтын талбар ---------- */
.form-control, .form-select { background: #0f0f0f; border-color: var(--gp-line); color: #fff; }
.form-control:focus, .form-select:focus { background: #0f0f0f; color: #fff; border-color: var(--gp-orange); box-shadow: 0 0 0 .2rem rgba(234,122,46,.2); }
.form-label { color: #ccc; font-weight: 600; font-size: .9rem; }

/* ---------- Footer ---------- */
.gp-footer { background: #070707; border-top: 1px solid var(--gp-line); color: var(--gp-muted); font-size: .92rem; }
.gp-footer h5 { color: #fff; font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.gp-footer a { color: var(--gp-muted); text-decoration: none; }
.gp-footer a:hover { color: var(--gp-orange); }
.gp-footer .social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gp-line); display: grid; place-items: center; font-size: 1.1rem; }
.gp-footer .social a:hover { border-color: var(--gp-orange); }
.gp-footer .bottom { border-top: 1px solid var(--gp-line); }

/* ---------- Reveal анимэйшн ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__bg, .brand-band__track { animation: none; }
}

.back-top { position: fixed; right: 1rem; bottom: 1rem; width: 46px; height: 46px; border-radius: 12px; background: var(--gp-orange); color: #000; border: 0; display: grid; place-items: center; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1040; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Навигаци: Notion шиг гулсдаг тодруулга ---------- */
.nav-glide { position: relative; }
.nav-glide .nav-item { position: relative; z-index: 1; }
.nav-pill {
  position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; list-style: none; pointer-events: none;
  border-radius: 10px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transition: transform .32s cubic-bezier(.3,.8,.25,1), width .32s cubic-bezier(.3,.8,.25,1), height .2s, opacity .2s, background .2s;
}
.nav-pill.show { opacity: 1; }
.nav-glide:not(.is-hovering) .nav-pill { background: rgba(234,122,46,.12); box-shadow: inset 0 0 0 1px rgba(234,122,46,.25); }
.gp-navbar .nav-glide .nav-link { border-radius: 10px; transition: color .2s, transform .2s; }
.gp-navbar .nav-glide .nav-link.active { box-shadow: none; color: #fff; }
.gp-navbar .nav-glide .nav-link:hover { color: #fff; }
.gp-navbar .nav-glide:hover .nav-link:not(:hover) { color: rgba(255,255,255,.55); }
@media (max-width: 1199.98px) { .nav-pill { display: none; } .gp-navbar .nav-glide .nav-link.active { box-shadow: inset 3px 0 0 var(--gp-orange); padding-left: .9rem !important; } }
@media (prefers-reduced-motion: reduce) { .nav-pill { transition: none; } }

/* ---------- Нэвтрэх, төлбөр, гишүүний хэсэг ---------- */
.auth-card { box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.alert-gp { background: rgba(234,122,46,.1); border: 1px solid rgba(234,122,46,.4); color: #ffd2b0; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--gp-orange); color: #000; font-size: .9rem; margin-right: .6rem; vertical-align: 2px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method span { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1rem; border: 1px solid var(--gp-line); border-radius: 12px; background: #0f0f0f; transition: all .2s; }
.pay-method i { grid-row: span 2; font-size: 1.6rem; color: var(--gp-orange); }
.pay-method small { color: var(--gp-muted); }
.pay-method input:checked + span { border-color: var(--gp-orange); background: rgba(234,122,46,.1); box-shadow: 0 0 0 1px var(--gp-orange) inset; }
.pay-method input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.co-side { position: sticky; top: 100px; }
.co-total { font-family: var(--gp-head); font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.qr-box { width: 220px; padding: 10px; background: #fff; border-radius: 14px; }
.qr-svg { width: 100%; height: auto; display: block; shape-rendering: crispEdges; }
.acc-avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--gp-orange); color: #000; font-family: var(--gp-head); font-size: 2.4rem; font-weight: 700; }
.acc-table { --bs-table-bg: transparent; font-size: .9rem; }
input[type="date"] { color-scheme: dark; }

/* Мэдээний нийтлэл */
.article-body p { color: #ddd; line-height: 1.85; font-size: 1.02rem; }
.gp-card.is-today { border-color: var(--gp-orange); box-shadow: 0 0 0 1px var(--gp-orange) inset; }

/* =========================================================
   Гар утас — илүү эвтэйхэн хувилбар
   ========================================================= */
/* Хажуу тийш гүйдэг алдаа: hero-гийн том гарчиг баганаа тэлэхээс сэргийлнэ */
.hero-slides { grid-template-columns: minmax(0, 1fr); }
.hero-slide { min-width: 0; }
/* Үгийг дурын үсгээр биш, зөвхөн багтахгүй үед л таслана; үндсэн шийдэл нь доорх уян фонтын хэмжээ */
h1, h2, h3, h4, .po-total, .stat-num, .ps-price { overflow-wrap: break-word; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: clip; }

/* Доод навигаци (зөвхөн утас, таблет) */
.gp-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #0b0b0b;
  border-top: 1px solid var(--gp-line);
  transform: translateZ(0); will-change: transform; backface-visibility: hidden;
  padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
}
.gp-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 52px; border-radius: 12px; color: #9a9a9a; text-decoration: none;
  font-size: .68rem; font-weight: 600; line-height: 1.1; text-align: center;
}
.gp-bottom-nav a i { font-size: 1.3rem; }
.gp-bottom-nav a.active { color: var(--gp-orange); }
.gp-bottom-nav a.active i { transform: translateY(-1px); }
.gp-bottom-nav a:active { background: rgba(255, 255, 255, .06); }

@media (max-width: 991.98px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .back-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mp-jump { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .gp-navbar { padding-top: .55rem !important; padding-bottom: .55rem !important; }
  .gp-navbar .navbar-collapse { max-height: calc(100vh - 140px); overflow-y: auto; padding-bottom: .5rem; }
  .gp-navbar .navbar-nav .nav-link { padding-top: .7rem; padding-bottom: .7rem; font-size: 1rem; }

  /* Hero: нэг дэлгэцэнд багтана, хөдөлгөөнт лого дээр нь жижгээр */
  .hero--home { min-height: auto; }
  .hero--home .container { padding-top: 1.5rem !important; padding-bottom: 2rem !important; }
  .hero--home .col-lg-5 { order: -1; }
  .hero-logo { max-width: 170px; }
  /* Хамгийн урт үг («ДАСГАЛЖУУЛАГЧИД») ч нэг мөрөнд багтах хэмжээ: дэлгэцийн өргөнөөр, утасны фонтын тохиргооноос үл хамаарна */
  .hero--home h1 { font-size: min(9.6vw, 3.2rem); margin-bottom: 1rem !important; }
  .hero .lead { font-size: 1rem; margin-bottom: 1.25rem !important; }
  .hero-chip { margin-bottom: 1rem !important; }
  .hero-ctrl { margin-top: 1.5rem !important; }
  /* Слайдын цэгүүд: харагдах хэмжээ хэвээр, дарах талбай 28px */
  .hero-dots button { padding: 12px 0; height: 28px; background-clip: content-box; }
  .hero-dots button.active { background-clip: content-box; }
  /* Жижиг дэлгэцэнд логоны шугам тод харагдана */
  .sk-mark path { stroke-width: 3.4; }
  .sk-mark path + path { stroke-width: 2; }
  .sk-text text { stroke-width: 1.6; }

  .page-header { padding: 2.25rem 0 1.75rem; }
  .page-header .lead { font-size: 1rem; }
}

@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .section-title { margin-bottom: 1.75rem; }
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
  .hero .d-flex.flex-wrap.gap-3 > .btn { flex: 1 1 100%; }

  /* Нүүрний үйлчилгээ, дасгалжуулагч: хуруугаар хажуу тийш гүйлгэдэг мөр */
  .swipe-row {
    --bs-gutter-x: 1rem;
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: -12px; margin-right: -12px; padding: 0 8vw .75rem; scroll-padding-inline: 8vw; scrollbar-width: none;
  }
  .swipe-row::-webkit-scrollbar { display: none; }
  /* Зөвхөн хажуу тийш гүйлгэнэ: босоо чиглэлд өөрөө гүйлгэгддэггүй тул хуруугаар дээш доош гүйлгэхэд хуудас гүйнэ */
  .swipe-row { overflow-y: hidden; touch-action: pan-x pan-y; }
  .swipe-row > .reveal { transform: none; }
  .swipe-row > * { flex: 0 0 84vw; max-width: 84vw; scroll-snap-align: center; scroll-snap-stop: always; }
  .swipe-hint { display: flex; }

  /* Маягт: хуруунд том, iPhone томруулахгүй (16px) */
  .form-control, .form-select { min-height: 48px; font-size: 16px; }
  textarea.form-control { min-height: 110px; }
  .form-check-input { width: 1.3em; height: 1.3em; margin-top: .1em; }
  .form-check-label { padding-left: .25rem; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-sm { min-height: 40px; }

  /* Footer-ийн холбоос дарахад эвтэйхэн */
  .gp-footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
  .gp-footer .social a { width: 44px; height: 44px; }

  /* Төлбөрийн түүх: хүснэгтийн оронд карт */
  .acc-table thead { display: none; }
  .acc-table, .acc-table tbody, .acc-table tr, .acc-table td { display: block; width: 100%; }
  .acc-table tr { border: 1px solid var(--gp-line); border-radius: 12px; padding: .6rem .9rem; margin-bottom: .75rem; }
  .acc-table td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 0 !important; padding: .3rem 0 !important; text-align: right; }
  .acc-table td::before { content: attr(data-label); color: var(--gp-muted); font-size: .82rem; text-align: left; }
  .acc-table td[colspan]::before { content: none; }
}

/* Дасгалын жагсаалт: утсан дээр нягт мөр (зураг зүүн талд) — урт гүйлгээг 3 дахин богиносгоно */
@media (max-width: 575.98px) {
  a.gp-card.ex-card { display: flex; align-items: stretch; }
  .ex-card .media { flex: 0 0 108px; aspect-ratio: auto; min-height: 108px; }
  .ex-card .media::after { background: linear-gradient(90deg, transparent 60%, rgba(0,0,0,.35)); }
  .ex-card .ex-tags { display: none; }
  .ex-card .play-btn { width: 40px; height: 40px; font-size: 1.15rem; box-shadow: 0 0 0 5px rgba(234,122,46,.25); }
  .ex-card .card-body { padding: .75rem .9rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
  .ex-card h3 { font-size: 1rem; margin-bottom: .15rem !important; }
  .ex-card .small.text-muted.mb-3 { margin-bottom: .4rem !important; font-size: .75rem; }
  .ex-meta { gap: .65rem; font-size: .72rem; flex-wrap: wrap; }
  .ex-card .ex-lvl-m { display: inline-block; }
}
.ex-lvl-m { display: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .2rem; }
.swipe-hint { display: none; align-items: center; gap: .4rem; color: var(--gp-muted); font-size: .8rem; margin-top: -.5rem; margin-bottom: 1rem; }

/* «Дасгал харах» товч: нуугдсан үед бүр алга болно (доод цэс дээр үлдэхгүй) */
.mp-jump { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 16px);
  transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s; }
.mp-jump.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: transform .3s ease, opacity .25s ease, visibility 0s; }

@media (max-width: 575.98px) {
  /* 2) Гарчиг, үнэ дэлгэцийн өргөнөөр уян томорно — урт үг («ДАСГАЛЖУУЛАГЧИД») мөрөнд багтана */
  .section-title h2 { font-size: min(7.4vw, 2.2rem); }
  .page-header h1 { font-size: min(8.2vw, 2.4rem); }
  .gp-card h3, .gp-card .h4, .gp-card .h5 { overflow-wrap: break-word; }
  .stat-num { font-size: min(7.5vw, 2rem); }
  .stat-label { letter-spacing: .05em; font-size: .72rem; }
  .price-opt { padding: 1rem .85rem; }
  .price-opt .po-total { font-size: min(5.6vw, 1.5rem); }
  .price-opt .po-period { font-size: .9rem; }
  .price-opt .po-check { right: .6rem; bottom: .6rem; }
  .ps-price { font-size: min(9vw, 2.6rem); }
  .trainer-card .role { letter-spacing: .06em; font-size: min(3.4vw, .8rem); }
  #accInfo { overflow-wrap: anywhere; }
}

@media (max-width: 767.98px) {
  /* 5) «Таны сонголт» хэсгийн төлөх товч голдоо, бүтэн өргөнөөр */
  [data-ps-summary] .col-lg-5 { text-align: center; }
  [data-ps-summary] .btn { width: 100%; }
}

/* Дүрэм журам, нууцлалын бодлого */
.legal { color: #d8d8d8; line-height: 1.75; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .75rem; color: #fff; }
.legal h2:first-of-type { margin-top: 1.25rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--gp-orange); }
.legal mark { background: rgba(250, 204, 21, .18); color: #fde68a; padding: 0 .2rem; border-radius: 3px; }
.legal-table { --bs-table-bg: transparent; --bs-table-color: #d8d8d8; font-size: .9rem; }
.legal-table th { color: #fff; }
.rules-modal-body { font-size: .92rem; }
.rules-modal-body h2 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; }
#rulesModal .modal-footer .form-check-input { width: 1.25em; height: 1.25em; margin-top: .1em; }
.legal-draft { background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .35); color: #fde68a; }
.legal-draft mark { background: rgba(250, 204, 21, .25); color: #fde68a; }
@media (max-width: 575.98px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: block; border-bottom: 1px solid var(--gp-line); padding: .5rem 0; }
  .legal-table td { display: block; border: 0; padding: .15rem 0; }
  .legal-table td:first-child { color: #fff; font-weight: 600; }
}

/* ---------- Хуучин inline style-ууд (класс болгосон) ---------- */
.sticky-side { position: sticky; top: 100px; }
.scroll-offset { scroll-margin-top: 110px; }
.icon-circle.icon-circle-lg { width: 80px; height: 80px; font-size: 2.4rem; }
.progress-thin { height: 8px; }
.bg-gp-orange { background: var(--gp-orange); }
.alert-soft-orange { background: rgba(234, 122, 46, .1); border: 1px solid rgba(234, 122, 46, .4); color: #ffd2b0; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-square { aspect-ratio: 1; }
.container-narrow { max-width: 860px; }
