/* ===== Переменные и сброс ===== */
:root {
  --bg: #262220;            /* тёмный графит (чуть светлее) */
  --bg-alt: #2f2b27;
  --card: #34302b;          /* поверхность карточек */
  --ink: #f4efea;           /* светлый текст */
  --ink-soft: #c0b3a9;
  --accent: #f1764e;        /* коралл/креветка (чуть ярче для тёмной темы) */
  --accent-dark: #d65730;
  --accent-soft: #45342b;
  --line: #45403a;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(120, 60, 30, 0.35);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(241, 118, 78, .16) 0%, rgba(241, 118, 78, 0) 55%),
    radial-gradient(950px 520px at 3% 6%, rgba(241, 118, 78, .10) 0%, rgba(241, 118, 78, 0) 50%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -10px rgba(232, 100, 60, .7);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--full { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(38, 34, 32, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__icon { font-size: 30px; }
.logo__text { display: flex; flex-direction: column; font-size: 21px; line-height: 1.05; }
.logo__text small { font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: .5px; text-transform: uppercase; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav__link { font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.nav__link:hover { color: var(--accent); }

.header__phone { font-weight: 700; white-space: nowrap; }
.header__cta { white-space: nowrap; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: transparent;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 70px 20px 80px;
}
.hero__eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero__text { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero__stats { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stats li { font-size: 15px; color: var(--ink-soft); }
.hero__stats b { display: block; font-size: 28px; color: var(--ink); font-weight: 800; }

.hero__media { position: relative; }
.hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--accent-soft);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  background-size: cover;
  background-position: center;
}

/* ===== Секции ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}
.section__subtitle { color: var(--ink-soft); font-size: 17px; margin-top: 10px; }

/* ===== Карточки меню ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img {
  aspect-ratio: 16 / 11;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  background-size: cover;
  background-position: center;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 21px; font-weight: 800; }
.card__text { color: var(--ink-soft); font-size: 15px; flex: 1; }
.card__link { color: var(--accent-dark); font-weight: 700; margin-top: 4px; }
.card__link:hover { color: var(--accent); }

/* ===== Меню по категориям ===== */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.menu-nav__chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.menu-nav__chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.menu-cat { margin-bottom: 54px; scroll-margin-top: 96px; }
.menu-cat:last-child { margin-bottom: 0; }
.menu-cat__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
}
.dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dish {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dish__img {
  aspect-ratio: 1 / 1;
  background: var(--accent-soft) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 13px;
}
.dish__name {
  padding: 13px 14px 6px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.dish__price {
  padding: 0 14px 15px;
  font-weight: 800;
  font-size: 17px;
  color: var(--accent);
}

/* ===== Преимущества ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--line);
}
.feature__icon { font-size: 38px; display: block; margin-bottom: 14px; }
.feature__title { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature__text { color: var(--ink-soft); font-size: 15px; }

/* ===== Шаги ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { text-align: center; padding: 10px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.step p { color: var(--ink-soft); font-weight: 600; }

/* ===== Галерея ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: 700;
  background-size: cover;
  background-position: center;
  transition: transform .2s ease;
}
.gallery__item:hover { transform: scale(1.02); }

/* ===== Форма заказа ===== */
.order {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 80px 0;
}
.order__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.order__title { font-family: "Playfair Display", serif; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.order__text p { font-size: 17px; opacity: .95; margin-bottom: 22px; }
.order__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.order__list li { padding-left: 30px; position: relative; font-weight: 600; }
.order__list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }

.form {
  background: var(--card);
  color: var(--ink);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: block; margin-bottom: 16px; }
.form__field span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--accent); }
.form__note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.form__success { background: #e6f7ec; color: #18794e; padding: 12px; border-radius: 10px; text-align: center; font-weight: 700; margin-top: 14px; }

/* ===== Footer ===== */
.footer { background: #221b17; color: #e8ddd5; padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.logo--light { color: var(--white); }
.logo--light .logo__text small { color: #b9a99d; }
.footer__about { color: #b9a99d; font-size: 15px; margin-top: 16px; max-width: 320px; }
.footer__heading { font-size: 17px; margin-bottom: 16px; color: var(--white); }
.footer__link { display: block; color: #cbbcb1; margin-bottom: 10px; transition: color .2s; }
a.footer__link:hover { color: var(--accent); }
.footer__phone { font-size: 20px; font-weight: 800; color: var(--white) !important; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}
.social:hover { background: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom p { color: #9a8b80; font-size: 14px; text-align: center; }

/* ===== Плавающая кнопка ===== */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 12px 28px -8px rgba(232,100,60,.8);
  z-index: 40;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,100,60,.5); }
  70% { box-shadow: 0 0 0 16px rgba(232,100,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,100,60,0); }
}

/* ===== Анимация появления ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
  .cards, .features, .steps, .dishes { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; }
  .order__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__phone, .header__cta { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 18px 20px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 460px) {
  .cards, .features, .steps, .gallery { grid-template-columns: 1fr; }
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dish__name { font-size: 13px; padding: 10px 10px 12px; }
  .hero__stats { gap: 20px; }
}
