/* «На территории»: та же сцена, что у номеров (hero.css + room.css), панели — кафе, прокат, парковка, сауна.
   Отступы самой панели — от --cw (у неё cqw считаются от окна), внутри — cqw. */
.page-ter .t-window img { object-position: 50% 15%; }      /* вертикальное фото отеля — крыша целиком */

.t-cafe, .t-rent, .t-sauna, .t-park__body { display: flex; flex-direction: column; }
.t-cafe, .t-rent, .t-sauna { padding: calc(var(--cw, 300px) * .08); color: var(--snow); }
.t-cafe  { background: var(--c); }
.t-rent  { background: #35506d; }
.t-sauna { background: var(--deep); }
.t-park  { background: var(--snow); color: var(--night); display: grid; grid-template-rows: 46% 1fr; }

.t-title { margin: 5cqw 0 4cqw; font: 500 max(22px, 11.4cqw)/.98 var(--serif); letter-spacing: -.01em; }
.t-big { margin: 4cqw 0 3cqw; font: 500 max(26px, 13cqw)/.95 "Onest", sans-serif; letter-spacing: -.035em; }
.t-big span { display: block; margin-top: 2cqw; font-size: max(11px, 3.4cqw); letter-spacing: 0; font-weight: 400; opacity: .65; }
.t-text { margin: 0; font-size: max(12px, 3.9cqw); line-height: 1.45; opacity: .85; }

/* часы кафе — две строки как расписание */
.t-hours { margin-top: 5cqw; display: grid; gap: 1.6cqw; }
.t-hours p { margin: 0; display: flex; justify-content: space-between; gap: 3cqw; font-size: max(12px, 3.8cqw); }
.t-hours span { opacity: .62; }
.t-hours b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* меню с ценами — строки с линиями, цена справа */
.t-menu { list-style: none; margin: auto 0 0; padding: 0; }
.t-menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 3cqw; padding: 2.6cqw 0; border-top: 1px solid rgba(247, 249, 252, .16); font-size: max(12px, 3.8cqw); }
.t-menu b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2cqw 4cqw; margin: 4cqw 0 0; padding-top: 3cqw; border-top: 1px solid rgba(247, 249, 252, .16); font-size: max(11px, 3.3cqw); }
.t-foot a { font-weight: 500; font-size: max(13px, 4.2cqw); }
.t-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.t-foot > span { opacity: .6; }

/* прокат — список без иконок-галочек: тонкая черта слева */
.t-list { list-style: none; margin: 4cqw 0 0; padding: 0; display: grid; gap: 1.8cqw; font-size: max(12px, 3.8cqw); }
.t-list li { padding-left: 4cqw; position: relative; }
.t-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 2.2cqw; height: 1px; background: currentColor; opacity: .6; }
.t-more { margin-top: auto; display: grid; }
.t-more p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 3cqw; padding: 2.6cqw 0; border-top: 1px solid rgba(247, 249, 252, .16); font-size: max(12px, 3.7cqw); }
.t-more span { opacity: .7; }
.t-more b { font-weight: 500; text-align: right; white-space: nowrap; }

/* парковка — фото отеля сверху (видно саму парковку), светлая часть снизу */
.t-park__photo { margin: 0; overflow: hidden; }
.t-park__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; display: block; }
.t-park__body { padding: calc(var(--cw, 300px) * .08); }
.t-park .p-label { color: var(--slate); opacity: 1; }
.t-park .t-big { color: var(--night); }
.t-incl { margin: auto 0 0; padding-top: 3cqw; border-top: 1px solid rgba(25, 35, 63, .14); font-size: max(11.5px, 3.5cqw); line-height: 1.4; color: var(--slate); }
.t-incl span { color: var(--night); font-weight: 500; }

/* сауна */
.t-call { margin-top: 4cqw; font: 500 max(13px, 4.2cqw)/1.2 "Onest", sans-serif; }
.t-call:hover { text-decoration: underline; text-underline-offset: 4px; }

/* панель, к которой пришли по ссылке (#kafe и т.п.), — короткая подсветка рамкой */
.panel.is-target { outline: 2px solid var(--night); outline-offset: 6px; transition: outline-color .6s ease; }
.panel.is-target.is-faded { outline-color: transparent; }

/* невысокий экран и телефон — убираем второстепенное */
@media (min-width: 701px) and (max-height: 760px) {
  .t-menu li:nth-child(n+4), .t-list, .t-incl { display: none; }
}
@media (max-width: 700px) {
  .t-hours, .t-menu li:nth-child(n+3), .t-foot > span, .t-park .t-text, .t-list, .t-more, .t-incl, .t-call { display: none; }
  .t-text { font-size: max(11.5px, 5cqw); }
  .t-title { font-size: max(17px, 11cqw); }
  .t-big { font-size: max(20px, 12cqw); }
}

/* низкий телефон (адресная строка ещё видна) — у кафе остаются заголовок и «Всё меню» */
@media (max-width: 700px) and (max-height: 720px) {
  .t-menu { display: none; }
  .t-foot { margin-top: auto; }
}
