/* ══════════════════════════════════════════════════
   binz — кофейня, бабл-ти и корпусные десерты, Курск
   Бренд: яркая маджента (как в реальном айдентити binz).
   Лэйаут: доставочный стиль pepefood.ru.
   ══════════════════════════════════════════════════ */

:root {
  --pink:      #E6157F;   /* фирменная маджента binz */
  --pink-dk:   #C10D68;
  --pink-lt:   #FF7DBE;
  --pink-soft: #FCE1EE;
  --grape:     #8B2FA0;   /* вторичный акцент */
  --lime:      #C7E15E;   /* «веган» */

  --ink:       #26101B;   /* тёмный сливово-чёрный текст */
  --ink-soft:  #8A6A7A;
  --paper:     #FFFFFF;
  --cream:     #FFF5FA;   /* очень светлый розовый фон */
  --cream-2:   #FDE7F1;
  --dark:      #1C0E16;   /* тёмные секции */
  --line:      #F1DCE7;
  --line-dk:   rgba(255,125,190,.22);

  --radius:    22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --shadow:    0 26px 60px -28px rgba(120, 12, 66, .40);
  --shadow-sm: 0 12px 30px -14px rgba(120, 12, 66, .28);

  --ff-display: "Baloo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-hand:    "Caveat", cursive;

  --container: 1240px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --spring:    cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Гарантия: элементы с явным display (flex/grid) остаются скрытыми при [hidden],
   иначе класс-селектор перебивает низкоприоритетное UA-правило для атрибута hidden. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

/* ── Лейблы и заголовки ── */
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pink); font-weight: 800; margin-bottom: 18px;
}
.eyebrow--light { color: var(--pink-lt); }

.display { display: grid; line-height: .98; }
.display__grotesk { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.display__serif   { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.01em; color: var(--pink); }
.display--hero .display__grotesk, .display--hero .display__serif { font-size: clamp(3rem, 9vw, 7rem); }
.display--md .display__grotesk, .display--md .display__serif { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
.display--sm .display__grotesk, .display--sm .display__serif { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 28px; background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: 100px;
  font-family: var(--ff-body); font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn--accent { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn--accent:hover { background: var(--pink-dk); border-color: var(--pink-dk); }
.btn--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--pink-dk); border-color: #fff; }
.btn--glass-light { background: transparent; color: #fff; border-color: var(--line-dk); }
.btn--glass-light:hover { background: #fff; color: var(--pink-dk); border-color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .85rem; }
.btn__ico {
  display: grid; place-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.24); font-size: .95rem; line-height: 1;
  transition: transform .45s var(--spring);
}
.btn:hover .btn__ico { transform: translate(3px, -1px) scale(1.08); }

/* ── Логотип binz ── */
.brand { display: inline-flex; align-items: center; gap: .12em; }
.brand__logo { display: block; height: 44px; width: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px -8px rgba(120,12,66,.55); transition: transform .35s var(--spring); }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__logo--footer { height: 60px; width: 60px; border-radius: 16px; }
.brand__name {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem;
  color: var(--pink); letter-spacing: -.02em; line-height: 1;
}
.brand__name--sm { font-size: 1.4rem; color: #fff; }
.brand__heart { color: var(--pink); font-size: .9rem; transform: translateY(-.5em); }

/* ══ Шапка ══ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding: 0 28px; height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav__links { display: flex; gap: 26px; justify-self: start; }
.nav__links a, .nav__meta { color: #fff; }
.nav__links a { font-weight: 600; font-size: .92rem; position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.brand { justify-self: center; }
.nav__meta { justify-self: end; display: flex; align-items: center; gap: 16px; font-size: .85rem; }
.nav__city { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.nav__city::before { content: "📍"; font-size: .85em; }
.nav__phone { font-weight: 700; }
.nav.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__links a, .nav.is-scrolled .nav__meta { color: var(--ink); }
.nav.is-scrolled .nav__links a:hover { color: var(--pink-dk); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; justify-content: center; justify-self: start; }
.nav__burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav__burger.is-open span { background: var(--ink); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; padding: 18px 28px 32px; gap: 2px;
  box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu__phone { font-family: var(--ff-body) !important; font-size: 1.05rem !important; color: var(--pink-dk) !important; border-bottom: none !important; margin-top: 10px; }

/* ══ Hero ══ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 110px 0 70px; overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center;
  background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=1600&q=80");
  animation: heroZoom 16s var(--ease) infinite alternate;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero__video[hidden] { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,8,13,.90) 0%, rgba(18,8,13,.66) 46%, rgba(18,8,13,.42) 100%),
    linear-gradient(0deg, rgba(18,8,13,.55), rgba(18,8,13,0) 55%);
}
@keyframes heroZoom { to { transform: scale(1.08); } }
.hero__inner { position: relative; color: #fff; max-width: 760px; }
.hero__pill {
  display: inline-block; padding: 9px 18px; border-radius: 100px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  font-size: .8rem; letter-spacing: .04em; font-weight: 600; margin-bottom: 26px;
}
.hero .display__grotesk { color: #fff; }
.hero .display__serif { color: var(--pink-lt); }
.hero__lead { margin-top: 24px; max-width: 540px; font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: rgba(255,255,255,.92); }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-badge {
  display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  font-size: .84rem; font-weight: 600; backdrop-filter: blur(4px);
}

/* ══ Строка часов ══ */
.hours-strip { background: var(--dark); color: #fff; }
.hours-strip__inner { display: flex; align-items: center; gap: 12px; padding-block: 16px; font-size: .95rem; }
.hours-strip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(199,225,94,.25); flex-shrink: 0; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(199,225,94,0); } }
.hours-strip__inner p { color: rgba(255,255,255,.75); }
.hours-strip__inner b { color: #fff; font-weight: 700; }

/* ══ Заказ: доставка / самовывоз ══ */
.order { padding: clamp(30px, 5vw, 56px) 0 0; }
.order__inner { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.order__toggle { position: relative; display: flex; width: fit-content; background: var(--cream-2); border-radius: 100px; padding: 6px; margin-bottom: 22px; }
.order__tab { position: relative; z-index: 1; flex: 1; white-space: nowrap; text-align: center; padding: 12px 28px; border: none; background: none; cursor: pointer; font-family: var(--ff-body); font-weight: 700; font-size: .95rem; color: var(--ink-soft); border-radius: 100px; transition: color .35s var(--ease); }
.order__tab.is-active { color: #fff; }
.order__thumb { position: absolute; top: 6px; left: 6px; z-index: 0; height: calc(100% - 12px); width: calc(50% - 6px); background: var(--pink); border-radius: 100px; transition: transform .45s var(--spring); }
.order__toggle.delivery .order__thumb { transform: translateX(100%); }
.order__panel { display: none; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.order__panel.is-active { display: flex; animation: fadeUp .45s var(--ease) both; }
.order__info { display: flex; align-items: flex-start; gap: 16px; max-width: 560px; }
.order__ico { font-size: 2rem; line-height: 1; }
.order__info b { font-family: var(--ff-display); font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.order__info p { color: var(--ink-soft); margin-top: 2px; }
.order__cta { flex-shrink: 0; }

/* ══ Промо-сторис ══ */
.stories { padding: clamp(34px, 5vw, 64px) 0; }
.stories__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); padding: 22px;
  overflow: hidden; display: flex; flex-direction: column; color: #fff; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: var(--shadow-sm);
}
.story::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.story::after { content: ""; position: absolute; inset: 0; z-index: -1; mix-blend-mode: multiply; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story:hover::before { transform: scale(1.08); }
.story::after { background: linear-gradient(180deg, rgba(18,8,13,.15) 0%, rgba(18,8,13,.28) 42%, rgba(18,8,13,.9) 100%); }
.story__kicker, .story__title, .story__go { text-shadow: 0 1px 12px rgba(18,8,13,.45); }
.story--1::before { background-image: url("https://images.unsplash.com/photo-1517701550927-30cf4ba1dba5?auto=format&fit=crop&w=600&q=80"); }
.story--2::before { background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=600&q=80"); }
.story--3::before { background-image: url("https://images.unsplash.com/photo-1541167760496-1628856ab772?auto=format&fit=crop&w=600&q=80"); }
.story--4::before { background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=600&q=80"); }
.story__kicker { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; opacity: .95; }
.story__title { margin-top: auto; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1; }
.story__go { margin-top: 12px; font-weight: 700; font-size: .84rem; opacity: .95; transition: transform .4s var(--ease); }
.story:hover .story__go { transform: translateX(4px); }

/* ══ Меню: сайдбар + карточки ══ */
.menu { padding: clamp(70px, 10vw, 130px) 0; }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.menu__note { max-width: 330px; color: var(--ink-soft); font-size: .95rem; }
.menu__layout { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.menu__nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 6px; }
.menu__navbtn {
  text-align: left; padding: 13px 18px; border-radius: var(--radius-sm); border: none;
  background: transparent; font-family: var(--ff-body); font-weight: 700; font-size: .98rem;
  color: var(--ink-soft); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.menu__navbtn:hover { background: var(--cream-2); color: var(--ink); transform: translateX(3px); }
.menu__navbtn.is-active { background: var(--pink); color: #fff; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.menu-cat { grid-column: 1 / -1; font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin: 10px 0 2px; }
.menu-cat:first-child { margin-top: 0; }
.menu-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); animation: fadeUp .5s var(--ease) both;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.menu-card__img { position: relative; aspect-ratio: 5 / 4; background-size: cover; background-position: center; }
.menu-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.menu-badge { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: #fff; background: var(--pink); padding: 4px 9px; border-radius: 100px; box-shadow: var(--shadow-sm); }
.menu-badge--new { background: var(--grape); }
.menu-badge--veg { background: var(--lime); color: var(--ink); }
.menu-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.menu-card__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); line-height: 1.1; }
.menu-card__desc { color: var(--ink-soft); font-size: .84rem; line-height: 1.45; flex: 1; }
.menu-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.menu-card__price { font-family: var(--ff-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.menu-card__add {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--cream-2); color: var(--pink-dk);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring);
}
.menu-card__add:hover { background: var(--pink); color: #fff; transform: scale(1.12) rotate(90deg); }
.menu-card__add.is-added { background: var(--dark); color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ══ Конфигуратор ══ */
.builder { padding: clamp(70px, 10vw, 130px) 0; background: var(--dark); color: #fff; }
.builder__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.builder__intro .display__grotesk { color: #fff; }
.builder__text { margin-top: 22px; color: var(--pink-lt); max-width: 420px; font-size: 1.05rem; }
.builder__card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.builder__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.builder__row:first-child { padding-top: 0; }
.builder__label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--line); background: transparent;
  color: var(--ink); font-family: var(--ff-body); font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--pink); }
.chip.is-active { background: var(--pink); color: #fff; border-color: var(--pink); }
.builder__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.builder__total { display: flex; align-items: baseline; gap: 12px; }
.builder__total span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; }
.builder__total b { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.builder__hint { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
.builder__hint.is-done { color: var(--pink-dk); font-weight: 700; }

/* ══ Клуб binz: карта лояльности ══ */
.loyalty { padding: clamp(70px, 10vw, 130px) 0; }
.loyalty__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.loyalty__card { background: linear-gradient(150deg, var(--pink), var(--grape)); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.loyalty__card::after { content: "♥"; position: absolute; right: -10px; bottom: -46px; font-size: 11rem; color: rgba(255,255,255,.10); line-height: 1; }
.loyalty__card-top { display: flex; align-items: center; gap: 12px; }
.loyalty__count { margin-left: auto; font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; opacity: .95; }
.loyalty__count b { font-size: 1.7rem; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 30px 0; position: relative; z-index: 1; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.55); display: grid; place-content: center; font-size: 1.2rem; color: rgba(255,255,255,.6); transition: transform .3s var(--spring), background .3s var(--ease), border-color .3s var(--ease); }
.stamp.is-filled { background: #fff; border-style: solid; border-color: #fff; color: var(--pink-dk); }
.stamp.is-gift { background: var(--dark); border-color: var(--dark); color: var(--pink-lt); }
.stamp.pop { transform: scale(1.2); }
.loyalty__card-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.loyalty__card-bot > span { font-weight: 600; }
.loyalty__text { margin-top: 22px; color: var(--ink-soft); max-width: 420px; font-size: 1.05rem; }

/* ══ Розыгрыш ══ */
.giveaway { padding: clamp(24px, 4vw, 56px) 0; }
.giveaway__card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 74px) clamp(24px, 4vw, 60px);
  background: linear-gradient(135deg, var(--pink) 0%, var(--grape) 100%); box-shadow: var(--shadow);
}
.giveaway__glow { position: absolute; width: 65%; height: 150%; top: -25%; right: -12%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%); pointer-events: none; }
.giveaway__badge { font-size: 3rem; line-height: 1; margin-bottom: 12px; animation: float 3s var(--ease) infinite; }
@keyframes float { 50% { transform: translateY(-9px) rotate(-7deg); } }
.giveaway__kicker { position: relative; z-index: 1; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.giveaway__title { position: relative; z-index: 1; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1; max-width: 18ch; margin: 0 auto; }
.giveaway__desc { position: relative; z-index: 1; margin: 20px auto 0; max-width: 560px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.giveaway__meta { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.giveaway__prize, .giveaway__period { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 100px; padding: 9px 18px; font-size: .9rem; font-weight: 600; }
.giveaway__meta b { font-weight: 800; }
.giveaway__cta { position: relative; z-index: 1; margin-top: 30px; }

/* ══ Мини-игра: пятнашки ══ */
.game { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.game__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.game__text { margin-top: 22px; color: var(--ink-soft); max-width: 420px; font-size: 1.05rem; }
.game__stats { display: flex; gap: 34px; margin-top: 30px; }
.game__stat { display: flex; flex-direction: column; }
.game__stat b { font-family: var(--ff-display); font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.game__stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 800; margin-top: 6px; }
.game__grid .btn { margin-top: 30px; }
.game__board-wrap { justify-self: center; width: 100%; max-width: 440px; }
.game__board { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 7px; aspect-ratio: 1; width: 100%; padding: 7px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.tile { border-radius: 12px; background-size: 300% 300%; cursor: pointer; background-image: linear-gradient(rgba(230,21,127,.05), rgba(230,21,127,.05)), url("https://images.unsplash.com/photo-1541167760496-1628856ab772?auto=format&fit=crop&w=600&q=80"); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.tile:hover { box-shadow: inset 0 0 0 3px var(--pink); }
.tile.empty { background: transparent; cursor: default; box-shadow: inset 0 0 0 1px var(--line); }
.tile.empty:hover { box-shadow: inset 0 0 0 1px var(--line); }
.game__win { margin-top: 18px; text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--pink-dk); }

/* ══ Атмосфера / галерея ══ */
.place { padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 100px); }
.place .display { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; padding-inline: 28px; max-width: 1400px; margin-inline: auto; }
.gallery__item { border-radius: var(--radius-sm); background-size: cover; background-position: center; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), filter .5s var(--ease); }
.gallery__item:hover { transform: scale(1.02) translateY(-3px); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:nth-child(1) { background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=700&q=80"); }
.gallery__item:nth-child(2) { background-image: url("https://images.unsplash.com/photo-1461023058943-07fcbe16d735?auto=format&fit=crop&w=600&q=80"); }
.gallery__item:nth-child(3) { background-image: url("https://images.unsplash.com/photo-1517701550927-30cf4ba1dba5?auto=format&fit=crop&w=600&q=80"); }
.gallery__item:nth-child(4) { background-image: url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=1000&q=80"); }
.gallery__item:nth-child(5) { background-image: url("https://images.unsplash.com/photo-1558857563-b371033873b8?auto=format&fit=crop&w=600&q=80"); }
.place__quote { margin-top: clamp(50px, 7vw, 90px); text-align: center; }
.place__quote blockquote { max-width: 800px; margin-inline: auto; font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.3; color: var(--ink); }
.place__quote cite { display: block; margin-top: 22px; font-family: var(--ff-body); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 800; }

/* ══ Видео / рилс ══ */
.video { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.video .display { margin-bottom: 36px; }
.video__row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.video__card { position: relative; flex: 0 0 auto; width: min(288px, 74vw); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow-sm); scroll-snap-align: start; transition: transform .4s var(--ease); }
.video__card:hover { transform: translateY(-5px); }
.video__card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__sound { position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(18,8,13,.5); color: #fff; font-size: 1.05rem; cursor: pointer; backdrop-filter: blur(4px); display: grid; place-content: center; transition: transform .25s var(--spring), background .25s var(--ease); }
.video__sound:hover { background: var(--pink); transform: scale(1.1); }

/* ══ Контакты ══ */
.contacts { padding: clamp(70px, 10vw, 120px) 0; background: var(--dark); color: #fff; }
.contacts .display__grotesk { color: #fff; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
.contacts__rows { margin-top: 38px; display: grid; gap: 4px; }
.contacts__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dk); }
.contacts__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-lt); font-weight: 800; padding-top: 3px; }
.contacts__row p { color: #fff; font-size: 1.05rem; }
.contacts__row a:hover { color: var(--pink-lt); }
.contacts__social { display: flex; gap: 20px; flex-wrap: wrap; }
.contacts__social a { color: var(--pink-lt); font-weight: 700; }
.contacts__social a:hover { color: #fff; }
.contacts__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 430px; box-shadow: var(--shadow); border: 6px solid var(--line-dk); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }

/* ══ Футер ══ */
.footer { background: #12080D; color: var(--pink-lt); padding: 60px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; align-items: start; }
.footer__brand .brand__name { color: var(--pink-lt); }
.footer__brand .brand__heart { color: var(--pink-lt); }
.footer__brand p { color: rgba(255,125,190,.7); font-size: .92rem; margin-top: 10px; }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a { color: var(--pink-lt); font-weight: 600; transition: color .25s; }
.footer__nav a:hover { color: #fff; }
.footer__meta { text-align: right; display: grid; gap: 8px; font-size: .92rem; }
.footer__copy { margin-top: 12px; color: rgba(255,125,190,.5); font-size: .84rem; }

/* ══ Карточка товара (модалка) ══ */
.menu-card { cursor: pointer; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(18,8,13,.6); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transform: translateY(18px) scale(.97); transition: transform .4s var(--spring);
}
.modal-overlay.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(18,8,13,.55); color: #fff; font-size: 1rem; cursor: pointer;
  display: grid; place-content: center; transition: background .25s var(--ease), transform .25s var(--spring);
}
.modal-close:hover { background: var(--pink); transform: rotate(90deg); }
.modal-card__img { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-card__body { padding: 26px 26px 28px; }
.modal-card__badges { display: flex; gap: 6px; margin-bottom: 10px; }
.modal-card__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.modal-card__desc { color: var(--ink-soft); margin-top: 6px; font-size: .96rem; }
.nutrition { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.nutrition__item { text-align: center; background: var(--cream-2); border-radius: 12px; padding: 10px 4px; }
.nutrition__item b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.nutrition__item span { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 700; }
.nutrition__hint { font-size: .74rem; color: var(--ink-soft); margin-top: 8px; }
.modal-card__comp { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.modal-card__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 800; }
.modal-card__comp p { margin-top: 6px; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.modal-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; gap: 4px; background: var(--cream-2); border-radius: 100px; padding: 4px; }
.qty-stepper button { width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent; font-size: 1.1rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .2s; }
.qty-stepper button:hover { background: #fff; }
.qty-stepper span { min-width: 26px; text-align: center; font-weight: 700; }

/* ══ Корзина ══ */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--pink); border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
  box-shadow: var(--shadow); display: grid; place-content: center;
  transition: transform .35s var(--spring), background .3s var(--ease);
}
.cart-fab:hover { transform: translateY(-3px) scale(1.04); background: var(--pink-dk); }
.cart-fab__badge {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 100px;
  background: var(--dark); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-content: center;
  border: 2px solid var(--cream);
}
.cart-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(18,8,13,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260; width: min(420px, 100vw);
  background: var(--paper); box-shadow: -20px 0 60px -20px rgba(18,8,13,.4);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; }
.cart-drawer__head .modal-close { position: static; background: var(--cream-2); color: var(--ink); }
.cart-drawer__head .modal-close:hover { background: var(--pink); color: #fff; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-drawer__empty { color: var(--ink-soft); text-align: center; padding: 60px 10px; font-size: .95rem; }
.cart-drawer__list { display: flex; flex-direction: column; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-item__name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.cart-item__price { font-size: .82rem; color: var(--ink-soft); }
.cart-item__stepper { display: flex; align-items: center; gap: 6px; }
.cart-item__stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-weight: 700; cursor: pointer; }
.cart-item__stepper button:hover { background: var(--cream-2); }
.cart-item__remove { grid-row: 1 / 3; align-self: start; background: none; border: none; color: var(--ink-soft); font-size: 1rem; cursor: pointer; padding: 2px; }
.cart-item__remove:hover { color: var(--pink); }
.cart-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart-drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-drawer__total span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.cart-drawer__total b { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); }

.cart-checkout { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.cart-checkout__note { font-size: .86rem; color: var(--ink-soft); background: var(--cream-2); border-radius: 12px; padding: 12px 14px; }
.cart-checkout label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.cart-checkout input, .cart-checkout textarea {
  font-family: var(--ff-body); font-size: .95rem; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--cream); color: var(--ink);
}
.cart-checkout input:focus, .cart-checkout textarea:focus { outline: none; border-color: var(--pink); }
.cart-checkout textarea { min-height: 70px; resize: vertical; }
.cart-checkout__err { color: #C1123E; font-size: .84rem; min-height: 1.2em; }
.cart-checkout__actions { display: flex; gap: 10px; }
.cart-checkout__actions .btn { flex: 1; justify-content: center; }

.cart-success { padding: 50px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cart-success__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 1.4rem; display: grid; place-content: center; margin-bottom: 6px; }
.cart-success h4 { font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.cart-success p { color: var(--ink-soft); font-size: .92rem; max-width: 30ch; }
.cart-success .btn { margin-top: 10px; }

/* ══ Reveal ══ */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.present .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
.present .hero { min-height: 640px; }
.present { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ══ Адаптив ══ */
@media (max-width: 1000px) {
  .nav__links, .nav__meta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: center; }
  .builder__grid, .loyalty__grid, .contacts__grid, .game__grid { grid-template-columns: 1fr; }
  .loyalty__card { order: 2; }
  .game__board-wrap { order: 2; }
  .menu__layout { grid-template-columns: 1fr; }
  .menu__nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-bottom: 20px; }
  .menu__navbtn { white-space: nowrap; }
  .menu__navbtn:hover { transform: none; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .stories__row { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__meta { text-align: left; }
}
@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .nav__inner { padding-inline: 18px; }
  .menu__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-card__body { padding: 12px 13px 14px; }
  .contacts__row { grid-template-columns: 1fr; gap: 6px; }
  .gallery { grid-template-columns: 1fr 1fr; padding-inline: 18px; }
  .gallery__item--tall { grid-row: span 1; }
  .stamps { gap: 9px; }
  .display--hero .display__grotesk, .display--hero .display__serif { font-size: clamp(2.6rem, 15vw, 4.4rem); }
}
