@font-face { font-family: Raleway; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/raleway-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/raleway-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/raleway-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/raleway-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/raleway-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/raleway-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/raleway-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/raleway-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/raleway-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Raleway; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/raleway-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --primary: #2b6bb2;
  --primary-600: #235a97;
  --primary-700: #1b4a7e;
  --primary-50: #ecf5ff;
  --primary-100: #d4e1f8;
  --sky: #c8ebf8;
  --mint: #c5f2ed;
  --navy: #04172c;
  --text: #222732;
  --muted: #5b616d;
  --subtle: #8c929c;
  --line: #e6ecf2;
  --bg: #f3f5f8;
  --card: #fff;
  --accent: #fdd868;
  --green: #6ba74b;
  --red: #e25b5b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(4, 23, 44, .04), 0 4px 16px rgba(4, 23, 44, .06);
  --shadow-lg: 0 12px 40px rgba(4, 23, 44, .18);
  --tabs-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Raleway, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(43, 107, 178, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 20px; }
.link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-600); color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--primary-50); }
.btn--light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--light:hover { border-color: var(--primary-100); color: var(--primary); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .24); }
.icon-btn .ico { width: 24px; height: 24px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: var(--tabs-h); }
.back { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 38px; padding: 0 14px 0 10px; border-radius: 10px; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: 15px; transition: background .2s; }
.back:hover { background: var(--primary-100); color: var(--primary-700); }
.back .ico { width: 20px; height: 20px; }
.topbar__name { flex-shrink: 0; max-width: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 800; color: var(--navy); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.topbar.is-scrolled .topbar__name { opacity: 1; transform: none; }
.topbar .tabs__list { margin-left: auto; }

/* ---------- hero ---------- */
.hero { padding-top: 20px; }
.hero__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 20px; }
.hero__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hero__meta { flex-wrap: wrap; }
.hero__place { font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.hero__address { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; gap: 4px 8px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.hero__address .ico { color: var(--primary); }
.hero__address .link { grid-column: 2; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .ico { width: 18px; height: 18px; fill: currentColor; stroke: #f0c43e; stroke-width: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); font-size: 13px; font-weight: 700; }
.badge .ico { width: 15px; height: 15px; }
.score { display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 14px; background: var(--primary); color: #fff; }
.score b { font-size: 24px; }
.score span { font-size: 12px; opacity: .85; }

/* ---------- layout ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 64px; }
.page__main { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: 28px; scroll-margin-top: calc(var(--tabs-h) + 16px); }
.section__title { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.section__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.section__icon .ico { width: 22px; height: 22px; }
.subsection { margin-top: 24px; }
.subsection h3, .info-section h3, .inroom h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }

.prose { color: var(--text); }
.prose p { margin: 0 0 12px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); opacity: .75; }
.prose--list ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.collapsible { position: relative; }
.collapsible.is-collapsed { max-height: 9.5em; overflow: hidden; }
.collapsible.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.collapse-toggle { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg); }
.fact__icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--primary); }
.fact__icon .ico { width: 20px; height: 20px; }
.fact__k { font-size: 12px; color: var(--muted); font-weight: 600; }
.fact__v { font-size: 16px; color: var(--navy); font-weight: 800; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border-radius: 12px; background: var(--bg); color: var(--text); font-size: 14px; font-weight: 600; }
.chip .ico { color: var(--primary); width: 18px; height: 18px; }
.chips--accent .chip { background: var(--mint); color: #0f4f48; }
.chips--accent .chip .ico { color: #138a7d; }
.chips--col { flex-direction: column; align-items: stretch; }
.chips--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.paid { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #fff0d5; color: #9a6400; font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }

/* info sections */
.info-section__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 28px; align-items: start; }
.info-section__text h3:not(:first-child) { margin-top: 20px; }

/* ---------- rooms ---------- */
.notes { list-style: none; margin: 0 0 20px; padding: 16px 18px; display: grid; gap: 8px; border-radius: 14px; background: var(--primary-50); color: var(--primary-700); font-size: 14px; font-weight: 500; }
.notes li { display: flex; gap: 10px; align-items: flex-start; }
.notes .ico { margin-top: 2px; }
.inroom { margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.inroom h3 { display: flex; align-items: center; gap: 8px; }
.inroom h3 .ico { color: var(--primary); }
.amenity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.amenity-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.amenity-list .ico { color: var(--primary); width: 18px; height: 18px; }
.amenity-list .paid { margin-left: 0; }
.amenity-list--inline { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: 20px; }
.page--single { grid-template-columns: minmax(0, 1fr); }
.section__count { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--primary-50); color: var(--primary); font-size: 15px; font-weight: 800; }
.info-section__grid--single { grid-template-columns: 1fr; }

/* ---------- gallery ---------- */
.gallery { position: relative; display: grid; gap: 8px; height: 460px; border-radius: 20px; overflow: hidden; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--4 .gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item { position: relative; padding: 0; border: 0; background: var(--primary-100); overflow: hidden; }
.gallery__item:first-child { grid-row: span 2; }
.gallery--1 .gallery__item:first-child, .gallery--2 .gallery__item:first-child { grid-row: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(.92); }
.gallery__all { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow); }

/* ---------- tabs ---------- */
.tabs__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__link { position: relative; display: flex; align-items: center; height: var(--tabs-h); padding: 0 14px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.tabs__link:hover { color: var(--navy); }
.tabs__link.is-active { color: var(--primary); }
.tabs__link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }

/* ---------- rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rooms-grid:not(.is-expanded) .room-card[data-extra] { display: none; }
.room-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s, border-color .25s; }
.room-card:has(.room-card__hit):hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.room-card__hit { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; border-radius: 14px; }
.room-card__media { position: relative; aspect-ratio: 16 / 11; background: var(--primary-100); }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; }
.room-card__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; background: rgba(4, 23, 44, .6); color: #fff; font-size: 12px; font-weight: 700; }
.room-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 16px 18px; }
.room-card__title { font-size: 17px; font-weight: 700; }
.room-card--text { flex-direction: row; align-items: center; background: var(--bg); border-color: transparent; }
.room-card--text::before { content: ''; flex-shrink: 0; width: 4px; align-self: stretch; background: var(--primary); opacity: .5; }
.room-card--text .room-card__body { padding: 14px 16px; }
.room-card--text .room-card__title { font-size: 15px; font-weight: 600; }
.room-card__desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.room-card__desc p { margin: 0; }
.room-card__cap { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.room-card__cap li { display: inline-flex; align-items: center; gap: 4px; }
.room-card__more { margin-top: auto; font-size: 14px; }

/* ---------- services / checkin ---------- */
.checkin { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-bottom: 20px; }
.checkin__item { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--primary-50); }
.checkin__item .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--primary); }
.checkin__item span { font-size: 12px; color: var(--muted); font-weight: 600; }
.checkin__item b { color: var(--navy); font-size: 18px; }

/* ---------- map ---------- */
.map { border-radius: 14px; overflow: hidden; height: 380px; background: var(--primary-50); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__address { display: flex; align-items: center; gap: 8px; margin: -8px 0 16px; color: var(--muted); }
.map__address .ico { color: var(--primary); }
.map__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.map__note { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.map__note .ico { color: var(--primary); }

/* ---------- sidebar ---------- */
.sidebar { position: sticky; top: calc(var(--tabs-h) + 24px); }
.summary { padding: 24px; display: grid; gap: 16px; }
.summary__price { margin: 0; font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.summary__price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.summary__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.summary__price + .summary__facts { padding-top: 16px; border-top: 1px solid var(--line); }
.summary__facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.summary__facts .ico { color: var(--primary); }
.summary__facts span { color: var(--muted); }
.summary__facts b { margin-left: auto; color: var(--navy); }
.summary__contacts { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.summary__contacts a { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(4, 23, 44, .72); backdrop-filter: blur(3px); }
body.has-dialog { overflow: hidden; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: #050d18; color: #fff; display: none; grid-template-rows: auto 1fr auto; }
.lightbox[open] { display: grid; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 700; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lightbox__stage img.is-loading { opacity: .3; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__thumbs { display: flex; gap: 8px; padding: 12px 16px 16px; overflow-x: auto; scrollbar-width: thin; }
.lightbox__thumbs button { flex: 0 0 auto; width: 88px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .55; background: #111; transition: opacity .2s, border-color .2s; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; }
.lightbox__thumbs button.is-active { border-color: var(--accent); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); overflow: auto; }
.modal:has(.room-modal--text) { width: min(560px, calc(100vw - 32px)); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(4, 23, 44, .5); }
.modal__close:hover { background: rgba(4, 23, 44, .7); }
.room-modal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.room-modal--text { grid-template-columns: 1fr; }
.room-modal--text .room-modal__body { padding-right: 64px; }
.room-modal__media { background: var(--bg); }
.room-modal__photos { position: sticky; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.room-modal__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: filter .2s; }
.room-modal__photos img:first-child { grid-column: span 2; }
.room-modal__photos img:hover { filter: brightness(.9); }
.room-modal__body { padding: 28px; display: grid; gap: 14px; align-content: start; }
.room-modal__body h3 { font-size: 26px; font-weight: 800; }
.room-modal__body h4 { font-size: 15px; font-weight: 700; margin-top: 8px; }

/* ---------- error ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 48px 20px; }
.error-card { max-width: 480px; padding: 40px; text-align: center; }
.error-card__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--primary-50); color: var(--primary); margin-bottom: 16px; }
.error-card__icon .ico { width: 36px; height: 36px; }
.error-card h1 { font-size: 26px; margin-bottom: 8px; }
.error-card p { color: var(--muted); margin: 0 0 24px; }
.error-card .btn { margin-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .page { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .topbar__name { display: none; }
}
@media (max-width: 760px) {
  :root { --tabs-h: 50px; }
  .container { padding: 0 16px; }
  .topbar__inner { gap: 8px; }
  .back { height: 34px; padding: 0 10px 0 6px; font-size: 14px; }
  .topbar .tabs__list { margin-left: 0; }
  .tabs__link { padding: 0 10px; font-size: 14px; }
  .tabs__link.is-active::after { left: 10px; right: 10px; }
  .hero { padding-top: 16px; }
  .hero__head { flex-direction: column; gap: 12px; }
  .gallery { display: flex; height: auto; gap: 0; margin: 0 -16px; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .gallery__all { position: sticky; left: auto; right: 12px; bottom: 12px; align-self: flex-end; flex-shrink: 0; margin: 0 12px 12px -140px; }
  .section { padding: 20px 16px; }
  .section__title { font-size: 21px; }
  .page { padding-top: 16px; gap: 16px; }
  .page__main { gap: 16px; }
  .info-section__grid { grid-template-columns: 1fr; gap: 20px; }
  .room-modal { grid-template-columns: 1fr; }
  .room-modal__photos { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .room-modal__photos::-webkit-scrollbar { display: none; }
  .room-modal__photos img { flex: 0 0 88%; scroll-snap-align: start; }
  .room-modal__photos img:only-child { flex-basis: 100%; }
  .room-modal__body { padding: 20px; }
  .modal, .modal:has(.room-modal--text) { width: 100vw; max-height: 100dvh; height: 100dvh; max-width: none; margin: 0; border-radius: 0; }
  .lightbox__stage { padding: 0; }
  .lightbox__nav { display: none; }
  .map { height: 300px; }
  .map__note { margin-left: 0; }
  .checkin { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
