/* tesoro.mn — тансаг, дулаан уур амьсгал (2026-10 шинэчлэл: Playfair гарчиг, нуман зураг, бараан/алтан) */
:root {
  --bg: #f7f3ec;
  --bg-2: #efe8dc;
  --card: #ffffff;
  --ink: #1f1c18;
  --ink-2: #4a443c;
  --muted: #7b746a;
  --line: #e4dccd;
  --gold: #a8844a;
  --gold-2: #c9a96e;
  --gold-soft: #efe4cf;
  --night: #15130f;
  --night-2: #1f1c17;
  --ok: #3f7d58;
  --warn: #b7791f;
  --err: #b4483c;
  --radius: 6px;
  --arch: 999px 999px 6px 6px;
  --shadow: 0 18px 40px rgba(31, 24, 14, .10);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: 0; line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; color: var(--gold-2); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .26em; font-size: .72rem; color: var(--gold); font-weight: 700; margin-bottom: 1em; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--night); color: rgba(243, 234, 217, .82); }
.section.dark h2, .section.dark h3 { color: #fff; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 640px; }
.sec-head { max-width: 680px; margin: 0 auto 48px; }
.sec-head p { color: var(--muted); }

/* ── Header ── */
.topbar { background: var(--night); color: rgba(243, 234, 217, .7); font-size: .78rem; letter-spacing: .04em; }
.topbar .container { display: flex; gap: 22px; align-items: center; height: 36px; }
.topbar a { color: rgba(243, 234, 217, .78); }
.topbar a:hover { color: var(--gold-2); }
.topbar .sp { flex: 1; }
@media (max-width: 760px) { .topbar .hide-m { display: none; } }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(247, 243, 236, .92); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(31, 24, 14, .06); }
.nav { display: flex; align-items: center; gap: 24px; height: 82px; }
.logo { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .34em; color: var(--ink); font-weight: 500; white-space: nowrap; }
.logo span { color: var(--gold); }
.logo small { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .5em; color: var(--muted); margin-top: -2px; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 28px); margin-left: auto; align-items: center; }
.nav-links a { position: relative; color: var(--ink-2); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav-links a.active, .nav-links a:hover { color: var(--gold); }
.nav-links a.active::after, .nav-links a:hover::after { right: 0; }
.nav-links .lang { border: 1px solid var(--line); padding: 5px 12px; letter-spacing: .1em; color: var(--ink-2); }
.nav-links .lang::after { display: none; }
.nav-cta { margin-left: 8px; }
/* Нүүр хуудас — зураг дээр тунгалаг толгой */
.home .site-header { position: fixed; left: 0; right: 0; top: 36px; background: transparent; backdrop-filter: none; }
.home .site-header .logo, .home .site-header .nav-links a { color: #fff; }
.home .site-header .logo small { color: rgba(255, 255, 255, .7); }
.home .site-header .nav-links .lang { border-color: rgba(255, 255, 255, .4); }
.home .site-header .burger { color: #fff; }
.home .site-header.scrolled { top: 0; background: rgba(21, 19, 15, .92); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .06); }
.cart-pill { position: relative; }
.cart-pill .count { position: absolute; top: -6px; right: -16px; background: var(--gold); color: #fff; border-radius: 999px; font-size: .64rem; min-width: 18px; height: 18px; display: none; align-items: center; justify-content: center; padding: 0 5px; letter-spacing: 0; }
.cart-pill .count.show { display: inline-flex; }
.burger { display: none; margin-left: auto; background: none; border: 0; font-size: 1.7rem; color: var(--ink); cursor: pointer; }
@media (max-width: 1180px) {
  .burger { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; padding: 10px 24px 22px; gap: 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
  .nav-links a, .home .site-header .nav-links a { color: rgba(243, 234, 217, .9); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav-links a::after { display: none; }
  .nav-links .lang { align-self: flex-start; margin-top: 14px; border-color: rgba(255, 255, 255, .25); padding: 6px 14px; }
  .nav-links.open { display: flex; }
}

/* ── Buttons, forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 2px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: all .3s var(--ease); text-align: center; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #8d6d3a; border-color: #8d6d3a; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn.line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.block { width: 100%; }
.btn.sm { padding: 10px 18px; font-size: .7rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.link-more::after { content: ''; width: 28px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.link-more:hover::after { width: 44px; }
label { display: block; font-size: .74rem; color: var(--muted); font-weight: 700; margin: 0 0 6px; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-family: var(--sans); font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(201, 169, 110, .18); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .g4.keep2, .g3.keep2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--ink-2); font-weight: 500; cursor: pointer; text-transform: none; letter-spacing: 0; }
.check input { width: auto; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 3px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg label { margin: 0; padding: 8px 16px; border-radius: 2px; cursor: pointer; color: var(--ink-2); font-size: .8rem; }
.seg input { display: none; }
.seg input:checked + span { color: #fff; }
.seg label:has(input:checked) { background: var(--ink); color: #fff; }

/* ── Cards ── */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.alert { padding: 14px 18px; border-radius: 3px; margin-bottom: 16px; font-size: .95rem; border-left: 3px solid currentColor; }
.alert.error { background: #fbeceb; color: var(--err); }
.alert.ok { background: #e9f3ec; color: var(--ok); }
.alert.info { background: var(--gold-soft); color: var(--ink-2); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 2px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold-soft); color: var(--ink-2); }
.badge.ok { background: #e2f0e6; color: var(--ok); }
.badge.off { background: #eee; color: #777; }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.hero .bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(15, 13, 10, .82) 0%, rgba(15, 13, 10, .45) 55%, rgba(15, 13, 10, .25) 100%),
  linear-gradient(180deg, rgba(15, 13, 10, .35) 0%, transparent 30%, rgba(15, 13, 10, .55) 100%),
  var(--hero-img, none) center / cover no-repeat,
  radial-gradient(1200px 600px at 20% 10%, #6b5434 0%, #2b241b 55%, #17140f 100%);
  transform: scale(1.04); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) { .hero .bg { animation: none; } }
.hero .inner { position: relative; padding-top: 150px; padding-bottom: clamp(140px, 16vw, 190px); }
.hero h1 { color: #fff; max-width: 860px; font-weight: 400; }
.hero p { color: rgba(255, 255, 255, .84); font-size: 1.12rem; max-width: 580px; }
.hero .eyebrow { color: var(--gold-2); }
.hero.small { min-height: 0; align-items: flex-end; }
.hero.small .inner { padding-top: clamp(150px, 20vw, 220px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero.small .bg { background:
  linear-gradient(180deg, rgba(15, 13, 10, .55) 0%, rgba(15, 13, 10, .78) 100%),
  var(--hero-img, none) center / cover no-repeat, radial-gradient(1200px 600px at 20% 10%, #6b5434 0%, #2b241b 55%, #17140f 100%); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 1px; height: 56px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); }
@media (max-width: 760px) { .hero-scroll { display: none; } }

/* ── Нүүр: өрөө хайх самбар ── */
.booking { position: relative; z-index: 5; margin-top: -78px; }
.booking form { display: grid; grid-template-columns: 1fr 1fr .7fr .7fr auto; background: #fff; box-shadow: 0 24px 60px rgba(15, 13, 10, .18); border-top: 3px solid var(--gold); }
.booking .bf { padding: 18px 22px; border-right: 1px solid var(--line); min-width: 0; }
.booking .bf label { margin-bottom: 2px; }
.booking .bf input, .booking .bf select { border: 0; padding: 4px 0; font-size: 1.02rem; font-family: var(--serif); background: transparent; box-shadow: none; }
.booking .btn { border-radius: 0; height: 100%; padding: 0 34px; }
@media (max-width: 900px) {
  .booking { margin-top: -40px; }
  .booking form { grid-template-columns: 1fr 1fr; }
  .booking .bf { border-bottom: 1px solid var(--line); }
  .booking .btn { grid-column: 1 / -1; padding: 18px; }
}

/* ── Feature tiles (нуман зураг) ── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; color: var(--ink); }
.tile .bg { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--img, none) center / cover, var(--fallback); transition: transform .9s var(--ease), box-shadow .5s; box-shadow: var(--shadow); }
.tile:hover .bg { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(31, 24, 14, .2); }
.tile .num { position: absolute; top: 18px; right: 4px; font-family: var(--serif); font-size: 4rem; color: rgba(168, 132, 74, .18); line-height: 1; }
.tile .txt { position: relative; padding: 26px 6px 0; text-align: center; }
.tile h3 { color: var(--ink); font-size: 1.9rem; margin-bottom: .3em; }
.tile p { color: var(--muted); font-size: .95rem; }
.tile .more { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--arch); min-height: 460px; background: var(--img, none) center / cover, var(--fallback, linear-gradient(135deg, #d9c7a4, #8c6d43)); box-shadow: var(--shadow); }
.arches { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: end; }
.arches .photo { min-height: 520px; }
.arches .photo + .photo { min-height: 380px; margin-bottom: -40px; }
.arches .badge-round { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 118px; height: 118px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--serif); text-align: center; box-shadow: 0 14px 30px rgba(31, 24, 14, .25); }
.arches .badge-round b { font-size: 1.9rem; font-weight: 500; line-height: 1; }
.arches .badge-round span { font-family: var(--sans); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 760px) { .arches .photo { min-height: 340px; } .arches .photo + .photo { min-height: 260px; margin-bottom: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--gold); line-height: 1; }
.stats span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ── Онцлох үйлчилгээ (дүрс) ── */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { background: var(--bg); padding: 34px 26px; transition: background .3s; }
.feat:hover { background: #fff; }
.feat .ic { width: 52px; height: 52px; border: 1px solid var(--gold-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.35rem; margin-bottom: 18px; }
.feat h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin: 0 0 6px; }
.feat p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }

.band { position: relative; overflow: hidden; background: var(--night); color: #f3ead9; border-radius: var(--radius); padding: clamp(36px, 6vw, 72px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band.img { background: linear-gradient(90deg, rgba(15, 13, 10, .92) 0%, rgba(15, 13, 10, .7) 50%, rgba(15, 13, 10, .25) 100%), var(--img) center / cover; min-height: 380px; }
.band h2 { color: #fff; margin: 0; }
.band p { color: rgba(243, 234, 217, .8); margin: 8px 0 0; max-width: 520px; }

/* ── Footer ── */
.site-footer { background: var(--night); color: rgba(243, 234, 217, .66); padding: 88px 0 28px; margin-top: 0; font-size: .92rem; }
.site-footer .logo { color: #fff; }
.site-footer a { color: rgba(243, 234, 217, .72); }
.site-footer a:hover { color: var(--gold-2); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h4 { color: #fff; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin: 0 0 16px; }
.foot h4::after { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); margin-top: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.foot .social { display: flex; gap: 10px; margin-top: 18px; }
.foot .social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; }
.foot .social a:hover { border-color: var(--gold); }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding-top: 22px; font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; letter-spacing: .04em; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Зургийн цомог ── */
.ph-btn { position: relative; cursor: zoom-in; background-size: cover; background-position: center; }
.ph-count { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 17, 13, .65); color: #fff; font-family: var(--sans); font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(15, 13, 10, .92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .85rem; }
.room-desc { color: var(--ink-2); font-size: .9rem; margin-top: 6px; white-space: pre-line; }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.place { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.place .im { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e9dcc2, #a88a5c); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2.2rem; color: rgba(255, 255, 255, .9); }
.place .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.place h4 { margin: 0; font-size: 1.05rem; }
.place .bd .btn { margin-top: auto; }

/* ── Буудлын өрөө: картын нэмэлт, өрөөний хуудас ── */
.room-name { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.room-name:hover { color: var(--gold); }
.room-more { display: inline-block; margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.room-more:hover { text-decoration: underline; }
.am-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.am-chips span { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.ph-360 { position: absolute; left: 8px; top: 8px; background: var(--gold); color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.rp-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 14px; }
.rp-back:hover { color: var(--gold); }
.rp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; }
.rp-price .price { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); }
.rp-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(260px, 46vw, 470px); border-radius: var(--radius); overflow: hidden; }
.rp-gal .g { border: 0; padding: 0; margin: 0; background: #e8dcc4 center / cover; cursor: zoom-in; position: relative; min-height: 0; transition: filter .2s; }
.rp-gal .g:hover { filter: brightness(.92); }
.rp-gal .g.main { grid-row: 1 / 3; }
.rp-gal.one { grid-template-columns: 1fr; }
.rp-gal .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 17, 13, .5); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.rp-360btn { position: absolute; left: 14px; bottom: 14px; background: rgba(20, 17, 13, .78); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.rp-360btn:hover { background: var(--gold); color: #fff; }
@media (max-width: 760px) {
  .rp-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 380px; }
  .rp-gal .g.main { grid-row: auto; grid-column: 1 / 3; }
  .rp-gal .g:nth-child(n+4) { display: none; }
}
.rp-body { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 48px); margin-top: 30px; align-items: start; }
.rp-side { position: sticky; top: 96px; }
@media (max-width: 900px) { .rp-body { grid-template-columns: 1fr; } .rp-side { position: static; } }
.rp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 22px; }
.rp-facts > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.rp-facts .ic { font-size: 1.3rem; }
.rp-facts b { color: var(--ink); font-size: .95rem; }
.rp-facts span:last-child { color: var(--muted); font-size: .78rem; }
.rp-desc { white-space: pre-line; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.rp-h { font-size: 1.7rem; margin: 34px 0 14px; }
.rp-pano { border-radius: var(--radius); overflow: hidden; background: #1d1b18; height: clamp(300px, 55vw, 480px); }
.rp-pano #panoView { width: 100%; height: 100%; }
.rp-pano-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rp-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 26px; }
.rp-amen h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 8px; }
.rp-amen ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.rp-amen li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.rp-amen .ic { width: 22px; text-align: center; }
.btn.off { opacity: .45; }
#bookbox .grid > div { min-width: 0; }
#bookbox input[type=date] { min-width: 0; padding-left: 10px; padding-right: 8px; }
.rp-mbar { display: none; }
@media (max-width: 900px) {
  .rp-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(52, 40, 20, .08); }
  .rp-mbar .price { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
  #bookbox { scroll-margin-top: 90px; }
  .rp-body { padding-bottom: 70px; }
}

/* ── Буудал: ангиллаар хайх (өрөөний дугааргүй) ── */
.hs-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr .8fr 1fr 1.1fr; gap: 12px; align-items: end; }
@media (max-width: 900px) { .hs-grid { grid-template-columns: 1fr 1fr; } .hs-grid > div:last-child { grid-column: 1 / -1; } }
.hs-grid > div { min-width: 0; }
.room.off { opacity: .55; }
.room .fit { margin-top: 8px; font-size: .86rem; color: var(--ok); }
.room .warn, .fit.warn { color: var(--warn); }
.qty-l { margin: 10px 0 4px; text-align: right; }
select.qty { width: 84px; margin-left: auto; display: block; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.cat:hover { border-color: var(--gold-2); box-shadow: var(--shadow); }
.cat .im { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e8dcc4, #b99a6a) center / cover; }
.cat .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat h3 { margin: 0; font-size: 1.45rem; }
.cat .ft { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cat .price { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }

/* ── Ангиллын доторх өрөөнүүд («Өрөө 1, 2…» — дугааргүй) ── */
.rv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 12px; }
.rv-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--sans); font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.rv-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.rv.hide { display: none; }
.rv-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.rv-ph { flex: 0 0 auto; width: 180px; height: 125px; border: 0; padding: 0; border-radius: 12px; background: #e8dcc4 center / cover; cursor: zoom-in; scroll-snap-align: start; }
.rv-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
.rv-facts a { color: var(--gold); font-weight: 600; text-decoration: none; }

/* Зураг картад бүтэн багтана (дээрх `background` товч бичлэг size/position-ийг дарж,
   зөвхөн зүүн дээд булан харагдаж байсан) */
.place .im, .room .ph { background-size: cover; background-position: center; }

/* ── Ажлын байр, анкет ── */
.jb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.jb { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.jb summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.jb summary::-webkit-details-marker { display: none; }
.jb summary b { display: block; font-size: 1.15rem; color: var(--ink); }
.jb summary small { color: var(--muted); }
.jb[open] .jb-more { transform: rotate(180deg); }
.jb-more { font-size: 1.3rem; color: var(--gold); transition: transform .2s; }
.jb-body { padding: 0 20px 20px; color: var(--ink-2); }
.jb-body h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin: 14px 0 6px; }
.jb-body p { margin: 0 0 6px; line-height: 1.65; }
.cf { max-width: 980px; }
.cf-notes { color: var(--muted); font-size: .88rem; padding-left: 18px; margin: 8px 0 20px; line-height: 1.6; }
.cf-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.cf-sec h2 { font-size: 1.5rem; margin: 0 0 14px; }
.cf-sec h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.cf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 14px; }
.cf-grid > div { min-width: 0; }
.cf-grid .wide { grid-column: 1 / -1; }
.cf textarea { min-height: 70px; }
.cf-rad { display: flex; gap: 18px; padding: 10px 0; }
.cf-rad label { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .95rem; color: var(--ink); font-weight: 500; }
.cf-rad input, .cf-job input, .cf-consent input { width: auto; }
.cf-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.cf-job { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; margin: 0; }
.cf-job:has(input:checked) { border-color: var(--gold-2); background: #fbf6ec; }
.cf-job b { display: block; color: var(--ink); font-size: .98rem; }
.cf-job small { color: var(--muted); font-weight: 400; }
.cf-tbl + .cf-tbl { margin-top: 22px; }
.cf-row { border: 1px dashed var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--bg); }
.cf-row-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cf-row-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.cf-del { border: 0; background: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 4px 8px; }
.cf-add { border: 1px dashed var(--gold-2); background: #fff; color: var(--gold); border-radius: 999px; padding: 9px 18px; font-weight: 600; cursor: pointer; font-family: var(--sans); }
.cf-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cf-file { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin: 0; }
.cf-file .t { color: var(--ink); font-weight: 600; font-size: .92rem; }
.cf-file input { padding: 8px; font-size: .85rem; }
.cf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); font-weight: 500; }

/* ── Онлайн туслах (AI) ── */
.ai-btn { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: var(--gold-2); box-shadow: 0 8px 24px rgba(35,32,28,.28); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.ai-btn:hover { transform: translateY(-2px); }
.ai-box { position: fixed; right: 20px; bottom: 88px; z-index: 901; width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 120px); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(35,32,28,.3); display: none; flex-direction: column; overflow: hidden; font-size: 15px; }
.ai-box.on { display: flex; }
.ai-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 8px; }
.ai-head b { font-family: var(--serif, Georgia, serif); font-size: 1.1rem; font-weight: 500; color: var(--gold-2); }
.ai-head small { display: block; font-size: .74rem; opacity: .75; }
.ai-head button { background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 8px; padding: 4px 10px; font-size: .78rem; cursor: pointer; }
.ai-head button:first-of-type { margin-left: auto; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; background: var(--bg); line-height: 1.5; }
.ai-q, .ai-a { max-width: 88%; padding: 9px 13px; border-radius: 14px; margin-bottom: 8px; word-wrap: break-word; font-size: .92rem; }
.ai-q { margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.ai-a { background: #fff; border: 1px solid var(--gold-soft); border-bottom-left-radius: 4px; }
.ai-a a { font-weight: 600; text-decoration: underline; }
.ai-a ul, .ai-a ol { margin: 4px 0; padding-left: 18px; }
.ai-err { color: #9b1c1c; background: #fdf2f2; border-color: #f5c2c2; }
.ai-sug { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-sug button { border: 1px solid var(--gold-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: .8rem; cursor: pointer; }
.ai-dots span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); margin-right: 3px; animation: aib 1s infinite; }
.ai-dots span:nth-child(2) { animation-delay: .15s; } .ai-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes aib { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.ai-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--gold-soft); background: #fff; margin: 0; }
.ai-form textarea { flex: 1; resize: none; border: 1px solid #ddd3c2; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: .92rem; max-height: 110px; }
.ai-form button { border: 0; background: var(--gold); color: #fff; border-radius: 12px; padding: 0 16px; font-size: 1rem; cursor: pointer; }
.ai-note { font-size: .7rem; color: #9a917f; text-align: center; padding: 0 10px 8px; background: #fff; }
@media (max-width: 720px) {
  .ai-btn { right: 14px; bottom: 14px; }
  .ai-box { right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%; height: 88vh; max-height: 88vh; border-radius: 18px 18px 0 0; }
}
