/* ==========================================================================
   SKIN AID — Арьсны өвчин, гоо заслын эмнэлэг
   Modern single-page website styles
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --purple-950: #1f1230;
  --purple-900: #2e1b47;
  --purple-800: #3f2763;
  --purple-700: #4f3378;
  --purple:     #654186;   /* brand */
  --purple-500: #7b55a0;
  --purple-400: #9674b8;
  --purple-300: #b59ccf;
  --purple-200: #d6c7e6;
  --purple-100: #ede6f5;
  --purple-50:  #f7f3fb;

  --cream:    #f7efe5;     /* brand secondary */
  --cream-50: #fbf7f1;
  --gold:     #c9a46a;
  --gold-100: #f3e9d6;
  --rose:     #e9b8c2;

  --ink:    #1e1726;
  --ink-2:  #4a4356;
  --muted:  #6e6679;
  --line:   rgba(101, 65, 134, 0.14);
  --bg:     #ffffff;

  --shadow-sm: 0 1px 2px rgba(30, 23, 38, .05), 0 4px 14px rgba(101, 65, 134, .07);
  --shadow-md: 0 12px 32px rgba(101, 65, 134, .13);
  --shadow-lg: 0 28px 70px rgba(46, 27, 71, .22);

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --font-display: 'Montserrat', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.promo :focus-visible, .trust :focus-visible, .cta :focus-visible, .footer :focus-visible, .svc--featured:focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream-50); }
.section--lav { background: linear-gradient(180deg, var(--purple-50), #fff); }

/* Section headings */
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.4vw, 40px); color: var(--purple-900);
}
.h2 em { font-style: normal; color: var(--purple); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-2); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(101, 65, 134, .28); }
.btn--primary:hover { background: var(--purple-700); box-shadow: 0 14px 30px rgba(101, 65, 134, .34); }
.btn--outline { border-color: var(--purple-200); color: var(--purple-900); background: #fff; }
.btn--outline:hover { border-color: var(--purple); background: var(--purple-50); }
.btn--ghost { color: var(--purple-900); padding-inline: 14px; }
.btn--ghost:hover { background: var(--purple-50); }
.btn--light { background: #fff; color: var(--purple-900); }
.btn--light:hover { background: var(--cream); }
.btn--gold { background: var(--gold); color: var(--purple-950); }
.btn--gold:hover { background: #d8b67e; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(46, 27, 71, .06);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 40px; width: auto; display: block; }
.footer .logo img { height: 44px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-500)); color: #fff;
  box-shadow: 0 8px 18px rgba(101, 65, 134, .28);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__word { font-weight: 800; letter-spacing: .22em; font-size: 17px; color: var(--purple-900); line-height: 1; }
.logo__word small { display: block; font-weight: 600; letter-spacing: .18em; font-size: 9px; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--purple-900); background: var(--purple-50); }

.header__cta { display: flex; align-items: center; gap: 8px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple-900); padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.header__phone:hover { background: var(--purple-50); }
.header__phone svg { width: 18px; height: 18px; color: var(--purple); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger:hover { background: var(--purple-50); }
.burger span { display: block; width: 22px; height: 2px; background: var(--purple-900); border-radius: 2px; margin: 0; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { display: flex; animation: fadeUp .35s var(--ease); }
.drawer a { padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: 18px; color: var(--purple-900); }
.drawer a:hover { background: var(--purple-50); }
.drawer__cta { margin-top: 18px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 600px at 8% 0%, rgba(214, 199, 230, .55), transparent 60%),
    radial-gradient(700px 500px at 100% 20%, rgba(247, 239, 229, .9), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--purple-50) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(101, 65, 134, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  opacity: .6;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 26px;
}
.hero__badge .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-100); color: var(--purple); }
.hero__badge .dot svg { width: 14px; height: 14px; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; color: var(--purple-950);
}
.hero__title em {
  font-style: normal; color: var(--purple); position: relative; z-index: 0;
  background: linear-gradient(90deg, rgba(201, 164, 106, .38), rgba(201, 164, 106, 0)) no-repeat 0 92% / 100% .18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__text { margin-top: 22px; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); color: var(--purple-900); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.hero__visual { position: relative; isolation: isolate; }
.hero__img-wrap {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 40% 40% 36px 36px / 34% 34% 36px 36px;
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--purple-100);
  isolation: isolate;
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 27, 71, .35));
}
.hero__ring {
  position: absolute; inset: -10% -6% auto auto; width: 62%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  border: 1.5px dashed var(--purple-300); opacity: .7; animation: spin 40s linear infinite;
}
.hero__blob {
  position: absolute; left: -12%; bottom: -8%; width: 58%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, var(--cream), rgba(247, 239, 229, 0)); filter: blur(10px);
}
.float-card {
  position: absolute; background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  animation: floatY 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--purple-900); font-size: 15px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-100); color: var(--purple); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card--1 { left: -8%; top: 14%; }
.float-card--2 { right: -6%; bottom: 20%; animation-delay: -3s; }
.float-card--3 { left: 6%; bottom: -4%; animation-delay: -1.5s; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 18px 56px 18px 0; }
.marquee__pause { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--purple-200); background: #fff; color: var(--purple); display: grid; place-items: center; z-index: 1; }
.marquee__pause svg { width: 16px; height: 16px; }
.marquee__pause .ic-play, .marquee.is-paused .marquee__pause .ic-pause { display: none; }
.marquee.is-paused .marquee__pause .ic-play { display: block; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-800); white-space: nowrap; }
.marquee__item::before { content: "✦"; color: var(--gold); font-size: 12px; }

/* ---------- Services (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; border-radius: var(--r-lg); padding: 30px; background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 250px;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.svc__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--purple-100); color: var(--purple); }
.svc__icon svg { width: 24px; height: 24px; }
.svc h3 { font-size: 20px; font-weight: 800; color: var(--purple-900); }
.svc p { color: var(--ink-2); font-size: 15px; flex: 1; }
.svc .link-arrow { font-size: 14.5px; }
.svc--featured { grid-column: span 2; color: #fff; border: 0; background: var(--purple-900); min-height: 320px; justify-content: flex-end; }
.svc--featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .8s var(--ease), opacity .5s; }
.svc--featured:hover img { transform: scale(1.04); opacity: .62; }
.svc--featured::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 18, 48, .92) 10%, rgba(31, 18, 48, .35) 70%, rgba(31, 18, 48, .1)); }
.svc--featured > * { position: relative; }
.svc--featured .svc__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.svc--featured h3 { color: #fff; font-size: 24px; font-family: var(--font-display); font-weight: 700; }
.svc--featured p { color: rgba(255, 255, 255, .82); max-width: 460px; flex: 0; }
.svc--featured .link-arrow { color: var(--gold); }
.svc__price { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; width: fit-content; }
.svc--accent { background: linear-gradient(160deg, var(--cream) 0%, #fff 70%); }

/* ---------- Treatments (horizontal scroll) ---------- */
.scroller-wrap { position: relative; }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(310px, 78vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller__nav { display: flex; gap: 8px; }
.scroller__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--purple-200); display: grid; place-items: center; background: #fff; color: var(--purple-900); transition: all .25s; }
.scroller__btn:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.scroller__btn svg { width: 18px; height: 18px; }

.treat { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.treat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.treat__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--purple-100); }
.treat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.treat:hover .treat__media img { transform: scale(1.06); }
.treat__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; color: var(--purple); letter-spacing: .04em; }
.treat__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.treat h3 { font-size: 18px; font-weight: 800; color: var(--purple-900); }
.treat p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.treat__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.treat__meta strong { color: var(--purple); font-size: 15px; }
.treat__meta span { display: inline-flex; align-items: center; gap: 6px; }
.treat__meta svg { width: 15px; height: 15px; }

/* ---------- Full list w/ filters ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--purple-200); background: #fff; font-weight: 700; font-size: 13.5px; color: var(--purple-900); transition: all .2s; }
.chip:hover { border-color: var(--purple); }
.chip.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.row {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; animation: fadeUp .4s var(--ease) both;
}
.row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--purple-200); }
.row__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }
.row h3 { font-size: 15.5px; font-weight: 800; color: var(--purple-900); }
.row p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.row__meta { font-size: 12.5px; font-weight: 700; color: var(--purple); margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.row__cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.list-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }
.list-more { text-align: center; margin-top: 28px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__img-main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--purple-100); }
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-sub {
  position: absolute; right: -8%; bottom: -8%; width: 52%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--shadow-md); background: var(--cream);
}
.about__img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__year {
  position: absolute; left: -6%; top: 8%; background: var(--purple); color: #fff; border-radius: 22px; padding: 18px 20px;
  box-shadow: var(--shadow-md); text-align: center; line-height: 1;
}
.about__year strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.about__year span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; display: block; margin-top: 6px; }
.about__quote {
  margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--cream-50); border-radius: 0 18px 18px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.5; color: var(--purple-900);
}
.about__quote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.feat { display: flex; gap: 14px; }
.feat__ic { width: 44px; height: 44px; border-radius: 14px; background: var(--purple-100); color: var(--purple); display: grid; place-items: center; flex: none; }
.feat__ic svg { width: 20px; height: 20px; }
.feat h3 { font-size: 16px; font-weight: 800; color: var(--purple-900); }
.feat p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--purple-200); font-weight: 800; letter-spacing: -0.03em; }
.step h3 { font-size: 18px; font-weight: 800; color: var(--purple-900); margin-top: 14px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
.step__ic { position: absolute; top: 26px; right: 24px; width: 44px; height: 44px; border-radius: 14px; background: var(--purple-50); color: var(--purple); display: grid; place-items: center; }
.step__ic svg { width: 20px; height: 20px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: 20px; }
.testi { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; }
.testi::before { content: "“"; position: absolute; top: 6px; right: 26px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: var(--purple-100); }
.testi p { color: var(--ink-2); font-size: 15.5px; position: relative; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple-300), var(--purple)); color: #fff; font-weight: 800; }
.testi__who strong { display: block; font-size: 14.5px; color: var(--purple-900); }
.testi__who span { font-size: 13px; color: var(--muted); }
.testi__tag { display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--purple-800); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.trust { background: var(--purple-900); color: #fff; border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.trust::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -80px; bottom: -100px; background: radial-gradient(circle, rgba(201, 164, 106, .45), transparent 70%); }
.trust__big { font-family: var(--font-display); font-size: 58px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.trust__big small { font-size: 20px; opacity: .8; }
.trust p { opacity: .85; font-size: 14.5px; position: relative; }
.trust .stars { font-size: 18px; }
.trust__row { display: flex; gap: 24px; position: relative; }
.trust__row div strong { display: block; font-size: 22px; font-family: var(--font-display); font-weight: 700; }
.trust__row div span { font-size: 12.5px; opacity: .75; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-weight: 700; font-size: 16.5px; color: var(--purple-900); }
.faq__q .plus { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--purple-200); display: grid; place-items: center; flex: none; transition: all .3s var(--ease); }
.faq__q .plus svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.faq__item.is-open .plus { background: var(--purple); border-color: var(--purple); color: #fff; }
.faq__item.is-open .plus svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__a > div { overflow: hidden; transition: visibility .35s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item:not(.is-open) .faq__a > div { visibility: hidden; }
.faq__a p { padding: 0 4px 22px; color: var(--ink-2); font-size: 15px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--purple-100); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.post h3 { font-size: 18px; font-weight: 800; color: var(--purple-900); }
.post p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.post__by { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--purple-900), var(--purple) 60%, var(--purple-500)); color: #fff;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(201, 164, 106, .5), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta > * { position: relative; }
.cta h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(26px, 3.2vw, 38px); }
.cta p { margin-top: 12px; opacity: .88; font-size: 16px; max-width: 520px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cta__phone { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); color: #fff; font-weight: 800; letter-spacing: -0.01em; }
.cta__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pay { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 12.5px; font-weight: 700; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
.info { display: grid; gap: 14px; margin-top: 28px; }
.info__item { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.info__item .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--purple-100); color: var(--purple); display: grid; place-items: center; flex: none; }
.info__item .ic svg { width: 20px; height: 20px; }
.info__item strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info__item span, .info__item a { font-size: 15px; color: var(--purple-900); font-weight: 600; }
.info__item a:hover { color: var(--purple); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.social { width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--purple-200); display: grid; place-items: center; color: var(--purple-900); transition: all .25s; background: #fff; }
.social:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

.form { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--purple-900); }
.form > p { color: var(--muted); font-size: 14.5px; margin-top: 6px; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--purple-400); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(101, 65, 134, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); }
.form__ok { display: none; padding: 20px; border-radius: 18px; background: var(--purple-50); border: 1px solid var(--purple-200); color: var(--purple-900); font-weight: 500; font-size: 15px; line-height: 1.55; }
.form__ok strong { font-weight: 800; }
.form__msg { white-space: pre-wrap; background: #fff; border: 1px solid var(--purple-200); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 14px 0; color: var(--ink); }
.form__channels { display: flex; gap: 8px; flex-wrap: wrap; }
.form.is-sent .form__grid { display: none; }
.form.is-sent .form__ok { display: block; animation: fadeUp .4s var(--ease); }

.map { margin-top: 48px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 21 / 8; background: var(--purple-50); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--purple-950); color: rgba(255, 255, 255, .78); padding: 72px 0 110px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: -200px; top: -300px; background: radial-gradient(circle, rgba(101, 65, 134, .5), transparent 70%); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo__word { color: #fff; }
.footer .logo__word small { color: rgba(255, 255, 255, .55); }
.footer__about { margin-top: 18px; font-size: 14.5px; max-width: 360px; }
.footer h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 3px; }
.footer__bottom { position: relative; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: #fff; }
.footer__recaptcha { flex-basis: 100%; font-size: 12px; color: rgba(255, 255, 255, .4); }
.footer__recaptcha a { text-decoration: underline; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: 10px; padding: 10px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.mobile-bar .btn { flex: 1; padding-inline: 14px; }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--purple); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s var(--ease);
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

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

/* ---------- Promo (seasonal packages) ---------- */
.promo { background: var(--purple-950); color: #fff; position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -250px; top: -350px; background: radial-gradient(circle, rgba(201, 164, 106, .28), transparent 70%); pointer-events: none; }
.promo::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: -260px; bottom: -300px; background: radial-gradient(circle, rgba(101, 65, 134, .55), transparent 70%); pointer-events: none; }
.promo .container { position: relative; z-index: 1; }
.promo .eyebrow { color: var(--gold); }
.promo .eyebrow::before { background: var(--gold); }
.promo .h2 { color: #fff; }
.promo .h2 em { color: var(--gold); }
.promo .lead { color: rgba(255, 255, 255, .74); }
.promo__gift { flex: none; min-width: 240px; text-align: center; padding: 18px 24px; border-radius: 22px; border: 1px solid rgba(201, 164, 106, .5); background: rgba(255, 255, 255, .05); }
.promo__gift span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.promo__gift strong { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1.1; margin: 4px 0 6px; font-weight: 800; letter-spacing: -0.02em; }
.promo__gift small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } /* admin-аас багц нуухад үлдсэн нь мөрийг дүүргэнэ */
.pack {
  --pack: #641c25; position: relative; border-radius: var(--r-lg); padding: 26px 22px; min-height: 360px;
  background: var(--pack);
  background: linear-gradient(170deg, color-mix(in srgb, var(--pack) 100%, #fff 6%) 0%, color-mix(in srgb, var(--pack) 70%, #000 30%) 100%);
  border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pack::before { content: "✧"; position: absolute; top: 18px; right: 20px; color: rgba(201, 164, 106, .8); font-size: 18px; }
.pack:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, .4); }
.pack__num { font-size: 11.5px; letter-spacing: .16em; font-weight: 700; color: var(--gold); }
.pack h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; }
.pack h3 em { color: var(--gold); }
.pack__tag { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.pack ul { display: grid; gap: 8px; margin-top: 2px; flex: 1; }
.pack li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.pack li::before { content: "✦"; position: absolute; left: 0; top: 2px; font-size: 10px; color: var(--gold); }
.pack__price { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 14px; }
.pack__price span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .6); }
.pack__price strong { font-family: var(--font-display); font-size: 24px; color: var(--gold); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.pack .btn { align-self: flex-start; }
.promo__facetem {
  margin-top: 28px; display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; padding: 28px 32px;
  border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(120deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
}
.promo__facetem img { width: 170px; height: 170px; object-fit: contain; background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 14px 26px rgba(0, 0, 0, .35); }
.promo__facetem h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); margin: 4px 0 8px; }
.promo__facetem h3 em { color: var(--gold); }
.promo__facetem p { color: rgba(255, 255, 255, .76); font-size: 14.5px; max-width: 640px; }
.promo__facetem .cta__pay { margin-top: 14px; }
.promo__note { margin-top: 20px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); }

@media (max-width: 1100px) { .packs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1300px) {
  .header__phone { display: none; }
}
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 960px) { .packs { grid-template-columns: 1fr 1fr; } .promo__facetem { grid-template-columns: 1fr; text-align: center; justify-items: center; } .promo__facetem .cta__pay { justify-content: center; } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } .pack { min-height: 0; } .promo__gift { width: 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__img-wrap { aspect-ratio: 4 / 4.2; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--featured { grid-column: 1 / -1; }
  .list { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin: 0 auto 48px; width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__actions { align-items: flex-start; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo img { height: 32px; }
  .header__cta .btn { display: none; }
  .hero__stats { gap: 20px 28px; }
  .bento, .list, .steps, .posts, .testi-grid, .feats, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .about__img-sub { right: -4%; bottom: -6%; }
  .about__year { left: -2%; padding: 14px 16px; }
  .about__year strong { font-size: 28px; }
  .float-card { padding: 10px 12px; font-size: 12.5px; }
  .float-card--3 { display: none; }
  .mobile-bar { display: flex; }
  .totop { bottom: 86px; }
  .footer { padding-bottom: 120px; }
  .map { aspect-ratio: 4 / 3; }
  .trust { flex-direction: column; align-items: flex-start; }
  .cta__pay { justify-content: flex-start; }
}

/* ---------- Firebase захиалга: honeypot, илгээж буй төлөв, fallback анхааруулга ---------- */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.form__ok--warn { background: var(--gold-100); border-color: var(--gold); }
[data-site~="hours"] { white-space: pre-line; } /* admin-ийн олон мөрт ажлын цаг */
