* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #16130F;
  --panel: #1E1913;
  --text: #EDE4D3;
  --muted: #9A8F7E;
  --accent: #D08A4E;
  --line: #35302A;
  --inset: 10px;
  --gap: 22px;
  --sect: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'PT Sans', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

::selection { background: var(--accent); color: var(--bg); }

a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

h1, h2, h3 { font-family: 'Yeseva One', serif; font-weight: 400; line-height: 1.12; }

h2 {
  font-size: 34px;
  margin-bottom: 36px;
  color: var(--text);
}
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin-top: 14px;
}

.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }

.top-in { display: flex; align-items: center; gap: 32px; padding-top: 15px; padding-bottom: 15px; }

.brand {
  font-family: 'Yeseva One', serif;
  font-size: 26px;
  color: var(--text);
  text-decoration: none;
}
.brand::first-letter { color: var(--accent); }

.top-nav { display: flex; gap: 24px; margin-left: auto; }
.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.top-nav a:hover { color: var(--text); border-bottom-color: var(--accent); }

.top-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

.burger { display: none; background: none; border: 1px solid var(--line); padding: 8px 10px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 64px;
  align-items: center;
}

.hero-tag {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-text h1 { font-size: 52px; margin-bottom: 24px; }
.hero-act { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-img { position: relative; }
.hero-img img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: slide 28s linear infinite;
}
.ticker-track span {
  font-family: 'Yeseva One', serif;
  font-size: 16px;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

.menu { padding-top: var(--sect); padding-bottom: 64px; }

.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.menu-col h3 { font-size: 22px; color: var(--accent); margin-bottom: 24px; }

.menu-list { list-style: none; }
.menu-list li { padding: var(--inset) 0 12px; }
.menu-list li:nth-child(odd) { padding-left: 8px; }

.mr-name { font-size: 17px; }
.mr-dots {
  flex: 1;
  min-width: 24px;
  margin: 0 10px;
  border-bottom: 2px dotted var(--line);
  align-self: flex-end;
  transform: translateY(-5px);
}
.mr-price { font-family: 'Yeseva One', serif; color: var(--text); white-space: nowrap; }

.mr-note {
  width: 100%;
  font-family: 'Caveat', cursive;
  font-size: 19px;
  color: var(--accent);
  margin-top: 2px;
  max-width: 420px;
}

.menu-hand {
  font-family: 'Caveat', cursive;
  font-size: 21px;
  color: var(--muted);
  margin-top: 28px;
  max-width: 340px;
  transform: rotate(-1deg);
}

.menu-list li { display: flex; flex-wrap: wrap; align-items: baseline; }

.about { padding-top: var(--sect); padding-bottom: 64px; border-top: 1px solid var(--line); }

.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }

.about-img img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
}

.about-text p { color: var(--muted); margin-bottom: 16px; max-width: 520px; }

.about-facts {
  list-style: none;
  display: flex;
  gap: 36px;
  margin-top: 34px;
}
.about-facts li { border-top: 2px solid var(--accent); padding-top: 14px; }
.about-facts b { font-family: 'Yeseva One', serif; font-size: 30px; display: block; }
.about-facts span { color: var(--muted); font-size: 14px; }

.afisha { padding-top: var(--sect); padding-bottom: 64px; border-top: 1px solid var(--line); }

.af-list { list-style: none; }
.af-list li {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.af-list li:first-child { border-top: 1px solid var(--line); }

.af-date {
  font-family: 'Yeseva One', serif;
  font-size: 40px;
  color: var(--accent);
  text-align: center;
  line-height: 1;
}
.af-date div {
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

.af-body h3 { font-size: 20px; margin-bottom: 6px; }
.af-body p { color: var(--muted); font-size: 15px; max-width: 560px; }

.af-price { font-family: 'Caveat', cursive; font-size: 24px; color: var(--accent); white-space: nowrap; }

.contacts {
  padding-top: var(--sect);
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.cont-list dt {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}
.cont-list dt:first-child { margin-top: 0; }
.cont-list dd { font-size: 17px; margin-top: 4px; }
.cont-list dd a { text-decoration: none; font-weight: 700; }

.hours-weekday.today, .hours-weekend.today { color: var(--accent); font-weight: 700; }
.hours-weekday.today::after { content: " ← сегодня"; font-family: 'Caveat', cursive; font-weight: 600; }

.cont-hand {
  font-family: 'Caveat', cursive;
  font-size: 21px;
  color: var(--muted);
  margin-top: 28px;
  max-width: 360px;
}

.cont-form { background: var(--panel); border: 1px solid var(--line); padding: 32px; }
.cont-form h2 { font-size: 24px; margin-bottom: 24px; }
.cont-form h2::after { width: 44px; height: 2px; }
.cont-form label { display: block; margin-bottom: 16px; }
.cont-form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.cont-form input, .cont-form select, .cont-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
.cont-form input::placeholder, .cont-form textarea::placeholder { color: #6E6558; }
.cont-form input:focus, .cont-form select:focus, .cont-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.cont-form input.error { border-color: #B5482F; }
.cont-form .form-note { font-size: 12px; color: var(--muted); margin: 4px 0 16px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: #E09B5D; }
.btn:active { background: #B5763C; transform: translateY(1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 12px 27px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.btn-ghost:hover { background: var(--accent); color: var(--bg); }
.btn-ghost:active { background: #B5763C; border-color: #B5763C; color: var(--bg); }

.foot { border-top: 1px solid var(--line); padding-top: 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; font-size: 15px; }
.foot-in a { text-decoration: none; }
.foot-note { font-size: 12px; color: var(--muted); text-align: right; }
.demo-tag { color: #6E6558; }
.foot-copy { font-size: 13px; color: var(--muted); padding-top: 22px; padding-bottom: 18px; }

@media (max-width: 900px) {
  .top-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .top-nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .top-phone { display: none; }

  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
  .hero-text h1 { font-size: 38px; }
  .hero-img img { aspect-ratio: 16 / 10; }

  .menu-cols { grid-template-columns: 1fr; gap: 44px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-img { max-width: 420px; }
  .af-list li { grid-template-columns: 64px 1fr; }
  .af-price { grid-column: 2; justify-self: start; }
  .contacts { grid-template-columns: 1fr; gap: 44px; }
  .foot-in { flex-direction: column; gap: 16px; }
  .foot-note { text-align: left; }
}

@media (max-width: 480px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-text h1 { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero-act .btn, .hero-act .btn-ghost { width: 100%; text-align: center; }
  h2 { font-size: 27px; }
  .about-facts { gap: 20px; }
  .about-facts b { font-size: 24px; }
  .af-date { font-size: 30px; }
  .cont-form { padding: 22px; }
}
