/* «Ваша чайхана» — общий пример сайта для чайханы.
   Цвета: лазурит, как изразцы чайхан, медь, как казан и чайник, и золото.
   Фирменная деталь — кыргызский орнамент «рога архара».
   Фото блюд — с Викисклада, снятые в обстановке, поэтому заполняют рамку целиком.

   Отступы — по сетке 8 px. */

:root {
  --coal: #1C2B45;       /* лазурит: шапка, первый экран, тёмные блоки */
  --coal-2: #26385A;
  --red: #B4532A;        /* медь: кнопки — белый текст на ней 5:1 */
  --red-ink: #9A4220;    /* медь для текста на светлом — темнее, чтобы читалась */
  --gold: #E0A458;       /* золото: акценты на тёмном — на лазурите 6,5:1 */
  --paper: #F5F1EA;      /* фон страницы */
  --card: #FFFFFF;
  --ink: #1E2230;
  --ink-soft: #5F6573;
  --line: #E3DDD2;
  --tint: #EFE8DC;
  --open: #4D9A5B;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --nav-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  /* Мобильные браузеры рисуют поверх нажатой кнопки или ссылки синий
     прямоугольник — он режет глаз и спорит с собственным откликом кнопки
     (как в «Моих финансах»). Рамка фокуса для клавиатуры остаётся. */
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.sheet-open { overflow: hidden; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #9E4421; }
.btn--line { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--line:hover { border-color: #fff; }
.btn--dark { background: var(--coal); color: #fff; }
.btn--dark:hover { background: #142035; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--card); }
.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Демо-полоска, шапка, первый экран ---------- */

.demo-strip {
  padding: 8px var(--gutter);
  background: #111B2E;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  text-align: center;
}

.demo-strip a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }

.top { background: var(--coal); color: #fff; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo { width: 44px; height: 44px; border-radius: 10px; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
}

.status__dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #6B7280; }
.status.is-open .status__dot { background: var(--open); box-shadow: 0 0 0 3px rgba(77, 154, 91, 0.25); }

.hero {
  display: grid;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
}

.hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 9.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* вторая половина заголовка — золотая: на ней смысл */
.hero__title span { color: var(--gold); }

.hero__lead {
  max-width: 34em;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.hero__lead strong { color: #fff; font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

@media (max-width: 479.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Плов на круглой «тарелке» */
.hero__plate {
  position: relative;
  justify-self: center;
  width: min(320px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 10px rgba(255, 255, 255, 0.06);
}

.hero__dish {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;           /* фото прямоугольное — обрезаем по кругу тарелки */
  display: grid;
  place-items: center;
  background: #fff;
}

.hero__dish img { width: 100%; height: 100%; object-fit: cover; }

.hero__seal {
  position: absolute;
  right: -4px;
  bottom: 8px;
  display: grid;
  place-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transform: rotate(-8deg);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}

.hero__seal-score { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
.hero__seal-label { margin-top: 4px; font-size: 10.5px; line-height: 1.25; opacity: 0.9; }

/* Орнамент — полоса «рога архара» */
.ornament {
  height: 32px;
  background: url("ornament-gold.svg") center / 64px 32px repeat-x;
}

.ornament--light {
  max-width: 480px;
  margin: 0 auto 16px;
  opacity: 0.35;
  background-image: url("ornament-dark.svg");
}

/* ---------- Заголовки разделов ---------- */

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-title:focus { outline: none; }

.section-lead {
  max-width: 46em;
  margin-top: 8px;
  color: var(--ink-soft);
}

/* ---------- Казан на заказ ---------- */

.kazan {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
}

.kazan__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.dish__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }

.dish__body { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; flex: 1; }

.dish__name { font-weight: 700; font-size: 17px; line-height: 1.25; }

.dish__desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish .variants { margin-top: auto; }

/* ---------- Меню ---------- */

.menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px var(--gutter) 0;
}

.menu-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 16px calc(-1 * var(--gutter)) 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.chips {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 2px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.chip {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip[aria-current="true"] { border-color: var(--coal); background: var(--coal); color: #fff; }

@media (max-width: 1023.98px) {
  .chip, .line__qty button { position: relative; }
  .chip::before, .line__qty button::before { content: ""; position: absolute; inset: -2px 0; }
}

.category { padding-top: 32px; scroll-margin-top: calc(var(--nav-h) + 8px); }

.category__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

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

.item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.item__photo { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.item__photo--none { display: grid; place-items: center; background: var(--tint); color: var(--ink-soft); font-size: 22px; }

.item__name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }

.item__desc {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.variants { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }

.variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.variant__label { font-size: 14px; color: var(--ink-soft); line-height: 1.25; }
.variant__label--main { color: var(--ink); font-weight: 500; }

.variant__price {
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--red-ink);
}

.ctrl { display: flex; justify-content: flex-end; min-width: 44px; }

.add {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--coal);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.add:hover { background: var(--coal); color: #fff; }
.add:active { transform: scale(0.92); }
.add svg { width: 18px; height: 18px; }

.stepper { display: flex; align-items: center; height: 44px; border-radius: 999px; background: var(--red); color: #fff; }

.stepper button {
  width: 40px; height: 44px;
  border: 0; border-radius: 999px;
  background: transparent;
  font-size: 20px; line-height: 1;
  cursor: pointer;
}

.stepper button:hover { background: rgba(255, 255, 255, 0.15); }
.stepper__qty { min-width: 16px; font-weight: 700; text-align: center; }

/* ---------- Чек ---------- */

.slip-shadow { filter: drop-shadow(0 14px 22px rgba(43, 38, 36, 0.16)); }

.slip {
  --zz: 9px;
  padding: 0 24px calc(var(--zz) + 24px);
  background: var(--card);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--zz)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) var(--zz) repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--zz)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) var(--zz) repeat-x;
}

/* полоса орнамента сверху чека — как фирменная лента на пакете с заказом */
.slip__band {
  height: 24px;
  margin: 0 -24px 16px;
  background: var(--coal) url("ornament-gold.svg") center / 48px 24px repeat-x;
}

.slip__head { display: flex; align-items: center; gap: 8px; }
.slip__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.slip__title:focus { outline: none; }

.slip__close {
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent;
  font-size: 22px; line-height: 1;
  cursor: pointer;
}

.slip__store {
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.slip__empty { padding: 16px 0 0; }
.slip__empty-title { font-weight: 600; font-size: 14px; }

.steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: step; }

.steps li {
  position: relative;
  padding: 0 0 12px 40px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -2px; left: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--tint);
  font-size: 12px; font-weight: 700;
  color: var(--ink);
}

.lines { margin: 0; padding: 0; list-style: none; }
.lines:empty { display: none; }

.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.line__name { grid-column: 1 / -1; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.line__qty { display: flex; align-items: center; gap: 4px; font-size: 14px; }

.line__qty button {
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent;
  font-size: 18px; line-height: 1;
  cursor: pointer;
}

.line__qty button:hover { border-color: var(--coal); }
.line__n { min-width: 24px; text-align: center; font-weight: 700; }
.line__sum { font-weight: 700; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: -1px;
  padding: 16px 0 0;
  border-top: 3px double var(--coal);
}

.total__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.total__sum { font-family: var(--font-display); font-weight: 700; font-size: 22px; }

.choice { margin: 20px 0 0; padding: 0; border: 0; }

.choice legend, .field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
  font-size: 13.5px;
}

.choice__options { display: flex; flex-wrap: wrap; gap: 6px; }

.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  white-space: nowrap;
}

.pill input:checked + span { border-color: var(--coal); background: var(--coal); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.field { display: block; margin-top: 16px; }

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
}

.field input::placeholder { color: #7A7F8C; }
.field input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

/* сколько осталось до бесплатной доставки */
.free {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-size: 13.5px;
}

.free.is-free { background: #E8F3EA; color: #23592F; }

.kazan-when {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #F8ECE4;
}

.kazan-when__note { font-size: 13.5px; color: var(--red-ink); }
.kazan-when__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kazan-when .field { margin-top: 8px; }

.slip__closed { margin-top: 16px; padding: 12px; border-radius: var(--radius-sm); background: var(--tint); font-size: 13.5px; }

.btn--send { width: 100%; margin-top: 16px; min-height: 56px; background: var(--red); color: #fff; }
.btn--send:hover { background: #9E4421; }
.btn--send[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.slip__hint { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

.slip__clear {
  display: block;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Панель «Ваш заказ» и выезжающий чек (телефон) ---------- */

.order-bar {
  position: fixed;
  left: 8px; right: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  border: 0;
  border-radius: 20px;
  background: var(--coal);
  color: #fff;
  text-align: left;
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.order-bar[hidden] { display: none; }
.order-bar.is-bumped { animation: bump 0.35s ease; }
@keyframes bump { 40% { transform: scale(1.035); } }

.order-bar__label { display: block; font-weight: 600; font-size: 16px; }
.order-bar__count { display: block; font-size: 13px; opacity: 0.75; }
.order-bar__total { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.order-bar__total::after { content: "  ›"; font-family: var(--font-body); }

.backdrop { position: fixed; inset: 0; z-index: 25; background: rgba(20, 16, 15, 0.5); }
.backdrop[hidden] { display: none; }

@media (max-width: 1023.98px) {
  .slip-wrap {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 8px calc(16px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: var(--paper);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.32s;
  }

  .slip-wrap.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }

  .site-footer { padding-bottom: 104px; }
}

/* ---------- Залы ---------- */

.halls { max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter) 0; }

.halls__card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--coal) url("ornament-gold.svg") bottom center / 64px 32px repeat-x;
  color: #fff;
  padding-bottom: 72px;
}

.halls__card .section-lead { color: rgba(255, 255, 255, 0.75); }

.halls__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.halls__list li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 14px;
}

/* ---------- Как нас найти ---------- */

.find { max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter) 48px; }
.find__grid { display: grid; gap: 16px; margin-top: 24px; }

.find__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.find__address { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.find__line { display: block; margin-top: 8px; color: var(--ink-soft); }
.find__line--hours { color: var(--ink); font-weight: 600; }

.find__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.find__actions .btn { min-height: 48px; padding: 0 16px; font-size: 15px; }

.find__rating { display: flex; flex-direction: column; justify-content: center; text-decoration: none; }
.find__rating:hover { background: #FFFDF9; }
.find__score { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 0.95; }
.find__stars { margin-top: 8px; font-size: 18px; letter-spacing: 0.12em; color: var(--red); }
.find__more { margin-top: 16px; font-weight: 600; }

.find__hint { margin-top: 16px; font-size: 13.5px; }

/* ---------- Для владельца: это пример ---------- */

.pitch { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 64px; }

.pitch__card {
  padding: 32px 24px;
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  background: var(--card);
}

.pitch__eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-ink);
}

.pitch__list { display: grid; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.pitch__list li { position: relative; padding-left: 28px; }
.pitch__list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--red-ink); }

.pitch__more { display: inline-block; margin: 16px 0 0 4px; font-weight: 600; color: var(--red-ink); text-underline-offset: 3px; }
.pitch__card .btn + .pitch__more { margin-left: 16px; }
.pitch__who { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.pitch__who:empty { display: none; }

/* ---------- Подвал ---------- */

.site-footer {
  padding: 32px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}

.site-footer__brand {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.site-footer__note { margin-top: 8px; font-size: 12.5px; }

/* авторы фото — лицензии просят их подписать */
.credits { max-width: 640px; margin: 12px auto 0; font-size: 12px; }
.credits summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.credits ul { margin: 8px 0 0; padding: 0; list-style: none; text-align: left; }
.credits li { margin-top: 4px; }

/* ---------- Планшет ---------- */

@media (min-width: 720px) {
  :root { --gutter: 32px; }

  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding: 40px var(--gutter) 64px;
  }

  .hero__plate { width: min(380px, 100%); }
  .hero__seal { width: 112px; height: 112px; }
  .hero__seal-score { font-size: 34px; }

  .halls__card { padding: 48px 48px 88px; }
  .pitch__card { padding: 48px; }
  .pitch__card .btn { padding: 0 32px; }
  .find__grid { grid-template-columns: 1.6fr 1fr; }
  .find__actions { display: flex; flex-wrap: wrap; }
}

/* ---------- Компьютер: разделы слева, меню в центре, чек справа ---------- */

@media (min-width: 1024px) {
  .menu__layout {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr) 336px;
    align-items: start;
    gap: 40px;
    margin-top: 32px;
  }

  .menu-nav {
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .chips { flex-direction: column; gap: 2px; padding: 0; overflow: visible; }

  .chip {
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 14.5px;
    color: var(--ink-soft);
    text-align: left;
    white-space: normal;
  }

  .chip:hover { background: var(--tint); color: var(--ink); }
  .chip[aria-current="true"] { background: var(--coal); color: #fff; font-weight: 600; }

  .menu__main > .category:first-child { padding-top: 0; }

  .slip-wrap {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    margin: 0 -28px;
    padding: 0 28px 48px;
  }

  .lines { max-height: max(184px, calc(100vh - 600px)); overflow-y: auto; overscroll-behavior: contain; }

  .slip__close { display: none; }
  .slip { position: relative; }
  .slip__clear { position: absolute; top: 44px; right: 20px; min-height: 32px; margin: 0; padding: 0 4px; }

  .order-bar { display: none; }
  .backdrop { display: none; }
}

@media (min-width: 1280px) {
  .menu__layout { grid-template-columns: 200px minmax(0, 1fr) 360px; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
