:root {
  --bg: #f3eee6;
  --card: #fffdfa;
  --card-border: #e9e2d6;
  --text: #17120d;
  --muted: #8d8177;
  --red: #e8262c;
  --red-deep: #c4161c;
  --shadow: 0 1px 3px rgba(60, 45, 30, .07), 0 4px 14px rgba(60, 45, 30, .05);
  --shadow-hover: 0 3px 8px rgba(60, 45, 30, .1), 0 6px 20px rgba(60, 45, 30, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  padding: 26px 18px 20px;
}
.wrap {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
/* Контентные страницы — колонка чуть шире, чтобы текст и цены читались */
.wrap--wide { max-width: 560px; }

/* белый фон PNG растворяется на светлом фоне */
/* max-width в vw, а не в %: внутри <picture> процент считался бы от самой картинки
   (её ширина зависит от width) и ужимал логотип до 80% от 250px. */
.logo { width: 250px; max-width: 80vw; height: auto; mix-blend-mode: multiply; }
.logo--small { width: 150px; }

/* Надзаголовок: прописные с разрядкой — задаёт ритм перед крупным H1 */
.eyebrow {
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--red);
}
h1 {
  margin-top: 7px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.035em;
  text-align: center;
  line-height: 1.05;
  text-wrap: balance;
}
/* Вторая половина заголовка — легче и теплее по цвету, чтобы был контраст веса */
h1 .light {
  font-weight: 400;
  letter-spacing: -.02em;
  color: #7d6f63;
}
.subtitle {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  line-height: 1.55;
  color: #6b6058;
  text-wrap: balance;
}
/* Разделитель-ромб между подписью и адресом */
.subtitle::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 14px auto 0;
  transform: rotate(45deg);
  background: #d3c8b8;
}

/* Адрес и режим работы — одинаковые на всех страницах */
.nap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.nap a { color: var(--muted); }
.address { display: flex; align-items: center; gap: 5px; }
.address svg { width: 12px; height: 12px; fill: var(--red); flex-shrink: 0; }
.address span {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted);
}

.menu { margin-top: 20px; width: 100%; }

a {
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  transition: transform .1s ease, box-shadow .15s ease;
}
a:active { transform: scale(.96); }
/* Номер телефона не должен рваться переносом посреди цифр */
a[href^="tel:"] { white-space: nowrap; }

/* Главный CTA */
.btn-phone {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 5px 16px rgba(232, 38, 44, .28);
}
/* Блик, раз в 5 с проезжающий по кнопке. Только transform/opacity — без работы для layout. */
.btn-phone::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: cta-shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-shine {
  0%, 58%   { transform: translateX(-160%) skewX(-18deg); }
  88%, 100% { transform: translateX(360%) skewX(-18deg); }
}
.btn-phone .icon {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .17);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* Расходящееся кольцо у трубки — «позвоните сейчас» */
.btn-phone .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: inherit;
  animation: cta-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes cta-ring {
  0%        { transform: scale(1);    opacity: .6; }
  70%, 100% { transform: scale(1.48); opacity: 0; }
}
.btn-phone .icon svg { width: 24px; height: 24px; fill: #fff; }
.btn-phone .label { flex: 1; text-align: left; }
/* Номер — главная строка кнопки: его и сканируют глазами */
.btn-phone .label b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.btn-phone .label small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
  margin-top: 3px;
}
.btn-phone .chev { color: rgba(255, 255, 255, .75); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .btn-phone::after,
  .btn-phone .icon::after { animation: none; }
  .btn-phone::after { opacity: 0; }
}

/* Рубрика с волосяными линиями по бокам — приём из бумажных меню */
.group-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 24px 2px 11px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.group-title::before,
.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  font-size: 16px;
  font-weight: 600;
}
.row:hover { box-shadow: var(--shadow-hover); }
.row .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.row .icon svg { width: 25px; height: 25px; fill: #fff; }
.row .label { flex: 1; }
.row .label small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.row .chev { color: var(--muted); flex-shrink: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 8px 15px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.tile:hover { box-shadow: var(--shadow-hover); }
.tile .icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.tile .icon svg { width: 27px; height: 27px; fill: #fff; }
.tile small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.tile .rating { color: #e8940a; font-weight: 700; }

.icon-img   { object-fit: contain; background: none; }
.icon-ya    { background: #fc3f1d; }
.icon-route { background: #17120d; }
.icon-2gis  { background: #19aa1e; font-weight: 800; font-size: 13px; color: #fff; letter-spacing: .3px; }
.icon-menu  { background: #17120d; }
.icon-fire  { background: linear-gradient(150deg, var(--red), var(--red-deep)); }

/* ==================== Контентные блоки ==================== */

.prose {
  width: 100%;
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #443a31;
}
.prose h2 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.prose h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.prose p + p { margin-top: 11px; }
/* Вводный абзац — крупнее и темнее остального текста */
.prose .lead {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--text);
}
.prose b { font-weight: 700; color: var(--text); }
.prose a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Блок «о ресторане» на главной — оформлен карточкой, как остальные секции */
.about {
  width: 100%;
  margin-top: 26px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-align: left;
}
.about::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 13px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
}
.about h2 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--text);
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 15px;
  list-style: none;
}
.about-facts li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border-radius: 9px;
  background: var(--bg);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #6b6058;
}
.about-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.about p {
  font-size: 14.5px;
  line-height: 1.62;
  color: #4a4038;
}
/* Вводный абзац чуть крупнее — точка входа в текст.
   Буквицы здесь нет специально: на колонке в 320px флоат занимает две строки,
   а литера — полторы, из-за чего первое слово разрывается и повисает дыра. */
.about .lead {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--text);
}
.about p + p { margin-top: 12px; }
/* Полужирный меняет только вес: если он ещё и темнее окружения, текст идёт пятнами */
.about b { font-weight: 700; color: inherit; }
.about a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.about-foot {
  display: flex;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}
.about-foot svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

.breadcrumbs {
  width: 100%;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs span[aria-current] { color: var(--text); }

/* Фото-карточки блюд */
.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}
.dish {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.dish img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #ece5da;
}
.dish-body { padding: 11px 13px 13px; }
.dish-body b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}
.dish-body p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.dish-price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}
.dish-price b { font-size: 15px; font-weight: 700; }
.dish-price small { font-size: 12px; font-weight: 500; color: var(--muted); }

/* Текстовое меню с ценами */
.price-list {
  width: 100%;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 4px 16px;
}
.price-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}
.price-item:last-child { border-bottom: 0; }
.price-item .pi-main { flex: 1; }
.price-item .pi-main b {
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.price-item .pi-main p {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.price-item .pi-price {
  flex-shrink: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.price-item .pi-price b { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.price-item .pi-price small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.pi-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(232, 38, 44, .1);
  color: var(--red-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 1.5px;
}
.price-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* Оглавление категорий меню */
.chips { display: flex; flex-wrap: wrap; gap: 7px; width: 100%; margin-top: 4px; }
.chips a {
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-size: 13px;
  font-weight: 600;
}
.chips a:hover { box-shadow: var(--shadow); }

/* Hero-фото на странице шашлыка */
.hero {
  width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ece5da;
}
.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Карточка «как нас найти» */
.info-card {
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.6;
}
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.info-card dt { color: var(--muted); font-size: 13px; }
.info-card dd a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 2px; }

.section { width: 100%; margin-top: 30px; }
.section > h2 {
  margin-bottom: 13px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
/* Короткий красный штрих над заголовком раздела */
.section > h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 11px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
}
.section > h2 + .section-note {
  margin: -7px 0 13px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.section-note b { font-weight: 700; color: #6b5f54; }
.section-note a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Подрубрика — прописные с разрядкой, чтобы не спорить с H2 по весу.
   .group-title — отдельная рубрика с линиями, её не трогаем. */
.section h3:not(.group-title) {
  margin: 24px 0 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

footer {
  width: 100%;
  margin-top: auto;
  padding-top: 30px;
  color: var(--muted);
  text-align: center;
}
/* Навигация — отдельным ярусом и нормальными тап-таргетами */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}
.footer-nav a {
  padding: 7px 13px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.footer-nav a:hover { box-shadow: var(--shadow); }
.footer-nav a[aria-current] {
  background: var(--bg);
  color: var(--muted);
  box-shadow: none;
}
.footer-name {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--text);
}
.footer-contact {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.8;
}
.footer-contact a {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.footer-legal {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
  opacity: .85;
}
.footer-legal + .footer-legal { margin-top: 9px; }
.footer-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 560px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
}
