/* Страница на обект */
.h-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 18px 0 22px; }
.h-title .kind { display: flex; gap: 6px; margin-bottom: 10px; }
.h-title h1 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.015em; }
.h-title .loc { display: flex; gap: 6px 10px; align-items: center; color: var(--ink-2); margin-top: 10px; flex-wrap: wrap; }
.h-title .loc a { font-weight: 600; }
.h-title .acts { display: flex; gap: 8px; flex: none; }
.icon-btn { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: #c5c9de; }
.icon-btn.on { color: var(--red); }
.icon-btn.on svg { fill: currentColor; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: 20px; overflow: hidden; position: relative; }
.gallery a { position: relative; overflow: hidden; display: block; background: var(--line-2); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .all { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: #fff; border: 0; height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow); color: var(--ink); }

.tabs { position: sticky; top: 72px; z-index: 30; background: rgba(247,246,242,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 28px; }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { padding: 16px 14px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 15px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--brand); border-color: var(--brand); }

.h-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-top: 32px; }
.h-sec { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.h-sec:first-child { padding-top: 0; }
.h-sec:last-child { border-bottom: 0; }
.h-sec > h2 { font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 18px; letter-spacing: -.02em; }

.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.facts-row div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); line-height: 1.3; }
.facts-row b { display: block; color: var(--ink); font-size: 15px; }
.facts-row svg { color: var(--brand); }

.desc { color: var(--ink-2); font-size: 16.5px; }
.desc.clamp { max-height: 240px; overflow: hidden; position: relative; }
.desc.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg)); }
.more-btn { background: none; border: 0; color: var(--brand); font-weight: 700; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }

.rooms-mix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.rooms-mix div { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }
.rooms-mix b { font-family: var(--display); font-size: 24px; display: block; }
.rooms-mix span { font-size: 14px; color: var(--muted); }

.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; }
.amen span { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.amen svg { color: var(--ink); }
.amen-sub { font-size: 16px; font-weight: 700; margin: 26px 0 14px; }

.season { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prices th, .prices td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.prices tr:last-child td { border-bottom: 0; }
.prices th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fbfbfd; font-weight: 700; }
.prices th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; }
.prices td.num, .prices th.num { text-align: right; white-space: nowrap; }
.prices td.num { font-weight: 700; }
.prices .cur { background: var(--sun-soft); }
.prices th.cur { color: #7a5400; }
.prices .board { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--line-2); padding: 2px 7px; border-radius: 5px; margin-left: 8px; }
.note { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
.note svg { color: var(--brand); margin-top: 1px; }

.offer-box { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 14px; }
.offer-box .photo { aspect-ratio: 4 / 3; border-radius: 10px; }
.offer-box h3 { font-size: 18px; margin: 8px 0 4px; }
.offer-box p { color: var(--muted); margin: 0; font-size: 14px; }
.offer-box .price { text-align: right; }

.hmap { height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; z-index: 1; }
.map-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-2); }

.inq { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; }
.inq .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.inq .row.r3 { grid-template-columns: 1fr 1fr 1fr; }
.fld label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--line); padding: 0 14px; background: #fff; outline: 0; }
.fld textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.inq .consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin: 6px 0 16px; align-items: start; }
.inq .consent input { margin-top: 3px; accent-color: var(--brand); }
.sent { text-align: center; padding: 30px 10px; }
.sent svg { color: var(--green); width: 44px; height: 44px; margin: 0 auto 10px; }
.sent b { display: block; font-size: 18px; margin-bottom: 6px; }
.sent p { color: var(--muted); margin: 0; }

.book { position: sticky; top: 148px; display: grid; gap: 14px; }
.book .card { padding: 22px; }
.book .price b { font-size: 30px; }
.book .btns { display: grid; gap: 10px; margin-top: 18px; }
.book .tel { height: 46px; font-size: 15px; }
.book .tip { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: start; margin-top: 14px; }
.book .tip svg { color: var(--brand); }
.book .web { display: flex; justify-content: center; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; margin-top: 6px; }
.mini-offer { display: flex; gap: 14px; padding: 16px; align-items: center; color: var(--ink); background: var(--sun-soft); border-radius: var(--radius); border: 1px solid #f3dc8f; }
.mini-offer:hover { color: var(--ink); }
.mini-offer .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sun); display: grid; place-items: center; flex: none; }
.mini-offer b { display: block; font-size: 14.5px; line-height: 1.3; }
.mini-offer span { font-size: 13px; color: #7a5400; font-weight: 600; }

.mbar { display: none; }

@media (max-width: 1080px) {
  .h-layout { grid-template-columns: 1fr 320px; gap: 28px; }
  .facts-row, .rooms-mix { grid-template-columns: repeat(2, 1fr); }
  .amen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .h-title { flex-direction: column; align-items: start; }
  .tabs { top: 62px; }
  .h-layout { grid-template-columns: 1fr; }
  .book { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .gallery a:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery a:nth-child(n+4) { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -6px 20px rgba(16,26,77,.08); }
  .mbar .price { flex: 1; }
  .mbar .price b { font-size: 18px; }
  .mbar .btn { height: 44px; padding: 0 14px; }
  body { padding-bottom: 70px; }
  .cookie { bottom: 84px; }
}
@media (max-width: 640px) {
  .h-title .acts .icon-btn span { display: none; }
  .gallery { border-radius: 14px; grid-template-rows: 220px 110px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row div { flex-direction: column; align-items: start; gap: 8px; }
  .amen { grid-template-columns: 1fr 1fr; gap: 12px; }
  .amen span { font-size: 14px; }
  .prices th, .prices td { padding: 12px 10px; font-size: 14px; }
  .prices .board { display: none; }
  .offer-box { grid-template-columns: 1fr; }
  .offer-box .price { text-align: left; }
  .inq { padding: 18px; }
  .inq .row, .inq .row.r3 { grid-template-columns: 1fr; }
  .hmap { height: 260px; }
}

/* ---------- Сайт ---------- */
.rb-hotel .h-title .kind .badge svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery.g2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; }
.gallery.g2 a:first-child, .gallery.g1 a:first-child { grid-row: auto; }
.gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery.g4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.g4 a:nth-child(4) { grid-column: span 2; }
.gallery a[hidden] { display: none; }
.prices-wrap { overflow-x: auto; border-radius: var(--radius); }
.prices th em { display: block; font-style: normal; font-size: 11px; color: #7a5400; }
.book .season { padding: 18px 20px; font-size: 14px; color: var(--ink-2); }
.book .season > b { display: block; margin-bottom: 8px; color: var(--ink); }
.book .srow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; white-space: nowrap; }
.book .srow.cur { color: #7a5400; font-weight: 700; }
.book .season .link-more { margin-top: 10px; font-size: 14px; }
.offers-list { display: grid; gap: 12px; }
.offer-box { color: var(--ink); }
.offer-box:hover { color: var(--ink); border-color: var(--sun-2); }
.offer-box .badge svg { width: 12px; height: 12px; }
.sights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sight { color: var(--ink); }
.sight .photo { aspect-ratio: 3 / 2; border-radius: 12px; }
.sight b { display: block; margin-top: 8px; font-size: 15px; }
.amen span svg { color: var(--green); width: 18px; height: 18px; }
.inq-err { color: var(--red); font-weight: 600; margin: 10px 0; min-height: 1px; }
.inq .g-recaptcha { margin: 6px 0 4px; }
.inactive { background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 20px; margin-top: 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.inactive a { color: var(--sun); font-weight: 700; }
.footnote { color: var(--muted); font-size: 13px; margin: 28px 0 0; }
.footnote a { color: var(--muted); text-decoration: underline; }
.icon-btn.on { color: var(--red); }
.rb-hotel .hcard .photo { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .gallery.g1, .gallery.g2 { grid-template-rows: 280px; }
  .sights { grid-template-columns: 1fr 1fr; }
}
@media print {
  .topbar, .header, .tabs, .book .btns, .mbar, .footer, .owner-cta, .inq, .cookie, .gallery .all { display: none !important; }
}
.prose-in table { border-collapse: collapse; width: 100%; margin: 8px 0 14px; font-size: 15px; }
.prose-in td, .prose-in th { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.prose-in ul { padding-left: 20px; }
.rb-offer .mbar .btn { flex: none; }
