/*
  Страницы заведений Status One: тот же тёмный фон, бронза и шрифты, что на
  сайте. Контраст основного текста к фону выше 7:1, второстепенного выше 4.5:1.
*/
@font-face {
  font-family: 'Unbounded';
  src: url('unbounded-cyrillic.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('unbounded-latin.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

:root {
  --bg: #070708;
  --surface: #101114;
  --surface-2: #16171b;
  --line: #2a2c31;
  --text: #f3f0ea;
  --dim: #b5b0a7;
  --bronze: #c79b5d;
  --ok: #8fd19e;
  --bad: #ff9a8f;
  --radius: 18px;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(199, 155, 93, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

main,
.top,
.foot {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

a {
  color: inherit;
}

a:focus-visible,
.card:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 0 20px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-decoration: none;
}

.top__link {
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  padding: 40px 0 28px;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}

.lead {
  margin: 0 0 24px;
  color: var(--dim);
  font-size: 18px;
  text-wrap: pretty;
}

.muted {
  color: var(--dim);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--bronze);
  color: #120d06;
  font-weight: 700;
  text-decoration: none;
  transition-property: transform, background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.button:active {
  transform: scale(0.97);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.city {
  margin: 28px 0 40px;
}

.city__title {
  margin: 0 0 16px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition-property: transform, border-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.card:hover {
  border-color: rgba(199, 155, 93, 0.6);
  transform: translateY(-2px);
}

.card__cover {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1d1a15, #0d0d10);
  overflow: hidden;
}

.card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.card__initial {
  font-family: var(--display);
  font-size: 64px;
  color: rgba(199, 155, 93, 0.5);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  flex: 1;
}

.card__title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.card__venue {
  display: block;
  margin-top: 4px;
  color: var(--bronze);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.card__address {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
}

.card__about {
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  text-wrap: pretty;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.chip--free {
  color: var(--ok);
  border-color: rgba(143, 209, 158, 0.45);
}

.chip--busy {
  color: var(--bad);
  border-color: rgba(255, 154, 143, 0.4);
}

.chip--promo {
  color: var(--bronze);
  border-color: rgba(199, 155, 93, 0.5);
}

/* Страница заведения */
.back {
  display: inline-block;
  margin: 8px 0 12px;
  color: var(--dim);
  text-decoration: none;
  font-size: 15px;
}

.venue {
  padding: 12px 0 24px;
}

.venue__point {
  margin: -6px 0 8px;
  color: var(--bronze);
  font-weight: 600;
}

.venue__address {
  margin: 0 0 20px;
  color: var(--dim);
}

.venue__about {
  max-width: 720px;
  margin: 24px 0;
  font-size: 18px;
  text-wrap: pretty;
}

.gallery {
  display: flex;
  gap: 12px;
  margin: 0 -16px;
  padding: 0 16px 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery li {
  flex: 0 0 min(82%, 520px);
  scroll-snap-align: start;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  margin: 24px 0;
}

.panel {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel + .panel {
  margin-top: 0;
}

section.panel:not(.grid section) {
  margin: 16px 0;
}

.panel__title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.free__big {
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--ok);
  font-variant-numeric: tabular-nums;
}

.free__big span {
  margin-left: 8px;
  color: var(--dim);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.promos {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promo {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(199, 155, 93, 0.16), rgba(199, 155, 93, 0.04));
  border: 1px solid rgba(199, 155, 93, 0.35);
}

.promo__title {
  margin: 0 0 4px;
  font-weight: 700;
}

.promo__body {
  margin: 0 0 6px;
  text-wrap: pretty;
}

.promo__until {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

.reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reviews__yandex {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.foot {
  padding: 40px 0 calc(env(safe-area-inset-bottom, 0px) + 40px);
  color: var(--dim);
  font-size: 14px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

@media (max-width: 520px) {
  .hero {
    padding-top: 20px;
  }
  .lead,
  .venue__about {
    font-size: 16px;
  }
  .reviews__yandex {
    height: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .button {
    transition: none;
  }
}
