/* ═══════════════════════════════════════════════════════════
   Brighton · Magistr — дизайн-система
   Палитра снята с интерьера: живые стены зелени, светлое дерево.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #f5f2ea;
  --bg-2:      #ece6d9;
  --surface:   #fffdf8;
  --surface-2: #faf6ee;
  --ink:       #1a1f1a;
  --ink-2:     #5b665d;
  --ink-3:     #8b958c;
  --line:      rgba(26,31,26,.11);
  --line-2:    rgba(26,31,26,.06);
  --brand:     #2f6b46;
  --brand-2:   #3f8b5c;
  --brand-sf:  #e6efe7;
  --gold:      #b3853c;
  --on-brand:  #fffdf8;
  --shadow:    0 1px 2px rgba(26,31,26,.05), 0 10px 30px -12px rgba(26,31,26,.16);
  --shadow-lg: 0 24px 60px -20px rgba(26,31,26,.32);

  --f-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-dp: 'Playfair Display', Georgia, serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --wrap: 1220px;
  --gut: clamp(18px, 4vw, 44px);
  --hdr-h: 68px;
  --tools-h: 118px;

  --ease: cubic-bezier(.22,.72,.24,1);
}

html[data-theme="dark"] {
  --bg:        #10140f;
  --bg-2:      #161c15;
  --surface:   #1a211a;
  --surface-2: #202821;
  --ink:       #ecf1e9;
  --ink-2:     #a3b0a4;
  --ink-3:     #74806f;
  --line:      rgba(236,241,233,.14);
  --line-2:    rgba(236,241,233,.07);
  --brand:     #79c99a;
  --brand-2:   #97dcb3;
  --brand-sf:  #1e2b21;
  --gold:      #d7ac68;
  --on-brand:  #0e150f;
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 12px 34px -14px rgba(0,0,0,.7);
  --shadow-lg: 0 26px 70px -22px rgba(0,0,0,.85);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(15px, .35vw + 14px, 17px)/1.62 var(--f-ui);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; z-index: 200; inset: 12px auto auto 12px;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 18px; border-radius: 999px; font-weight: 700;
}

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

/* ── типографика ───────────────────────────────────────── */
.h2 {
  font: 400 clamp(30px, 4.4vw, 54px)/1.06 var(--f-dp);
  letter-spacing: -.015em;
}
.h2 em { font-style: italic; color: var(--brand); }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.lede { color: var(--ink-2); max-width: 62ch; margin-top: 16px; }
.lede b { color: var(--ink); font-weight: 700; }
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec__h { margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 780px; }

/* ── кнопки ────────────────────────────────────────────── */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--bh); padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn--primary:hover { background: var(--brand-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.icobtn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.icobtn:hover { border-color: var(--brand); color: var(--brand); }
.icobtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ═══ Шапка ═══ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: var(--hdr-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.hdr__in {
  height: 100%; width: min(100% - var(--gut) * 2, 1400px); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 36px);
}
.hdr.is-stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.hdr:not(.is-stuck) .icobtn { border-color: rgba(255,255,255,.35); }
.hdr:not(.is-stuck) .icobtn:hover { border-color: #fff; color: #fff; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { border-radius: 12px; }
.brand__tx { display: grid; line-height: 1.15; }
.brand__tx b { font: 800 14px/1 var(--f-ui); letter-spacing: .14em; white-space: nowrap; }
.brand__tx b span { opacity: .45; margin: 0 2px; }
.brand__tx > i { font: italic 400 12px/1.4 var(--f-dp); opacity: .72; }

.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-inline-end: auto; font-size: 14.5px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; opacity: .88; }
.nav a::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-cur::after { transform: scaleX(1); }

.hdr__act { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.hdr:not(.is-stuck) .lang { border-color: rgba(255,255,255,.35); }
.lang button {
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  opacity: .7; transition: background-color .2s, opacity .2s, color .2s;
}
.lang button:hover { opacity: 1; }
.lang button.is-on { background: var(--brand); color: var(--on-brand); opacity: 1; }
.hdr:not(.is-stuck) .lang button.is-on { background: #fff; color: #17301f; }

.i-moon { display: none; }
html[data-theme="dark"] .i-sun { display: none; }
html[data-theme="dark"] .i-moon { display: block; }

.hdr__tel span { font-variant-numeric: tabular-nums; }
.hdr:not(.is-stuck) .hdr__tel { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.hdr:not(.is-stuck) .hdr__tel:hover { background: rgba(255,255,255,.22); color: #fff; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__tel { display: none; font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) { .hdr__tel span { display: none; } .hdr__tel { width: 40px; padding: 0; border-radius: 50%; } }
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav__tel { display: block; color: var(--brand); font-weight: 800; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto; z-index: 89;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px;
    clip-path: inset(0 0 100% 0); opacity: 0;
    transition: clip-path .4s var(--ease), opacity .25s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; }
  .nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line-2); }
  .nav a::after { display: none; }
}
@media (max-width: 620px) {
  .hdr__tel { display: none; }
  .hdr__in { gap: 10px; }
  .brand { margin-inline-end: auto; }
}
@media (max-width: 560px) { .brand__tx { display: none; } }

/* ═══ Герой ═══ */
.hero {
  position: relative; min-height: min(94svh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hdr-h) + 60px) 0 0; color: #fff; isolation: isolate;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: scale(1.06); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,14,9,.72) 0%, rgba(8,14,9,.28) 34%, rgba(8,14,9,.62) 70%, rgba(8,14,9,.92) 100%),
    radial-gradient(120% 80% at 12% 100%, rgba(20,52,32,.6), transparent 62%);
}
.hero__in { width: min(100% - var(--gut) * 2, var(--wrap)); margin: auto auto 0; padding-bottom: clamp(36px, 5vw, 66px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 15px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #7fe0a5; box-shadow: 0 0 0 4px rgba(127,224,165,.24); }

.hero__h {
  font: 400 clamp(48px, 11vw, 132px)/.92 var(--f-dp);
  letter-spacing: -.03em; margin: 18px 0 0; text-wrap: balance;
}
.hero__h em { display: block; font-style: italic; color: #a8e6c0; }
.hero__p { max-width: 54ch; margin-top: 20px; color: rgba(255,255,255,.86); font-size: clamp(15px, 1.2vw, 18px); }

.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.status__d { width: 9px; height: 9px; border-radius: 50%; background: #7fe0a5; box-shadow: 0 0 0 4px rgba(127,224,165,.22); }
.status.is-closed .status__d { background: #ef8f6c; box-shadow: 0 0 0 4px rgba(239,143,108,.22); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.facts {
  position: relative; list-style: none; padding: 0;
  width: min(100% - var(--gut) * 2, var(--wrap)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.facts li { padding: 20px 6px 24px; display: grid; gap: 3px; }
.facts li + li { border-left: 1px solid rgba(255,255,255,.16); padding-left: clamp(12px, 2vw, 26px); }
.facts b { font: 400 clamp(19px, 2.2vw, 27px)/1.1 var(--f-dp); }
.facts span { font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.66); }
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 6px; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* ═══ Бегущая строка ═══ */
.ticker {
  overflow: hidden; background: var(--brand); color: var(--on-brand);
  padding: 13px 0; user-select: none;
}
.ticker__row { display: flex; width: max-content; gap: 0; animation: tick 46s linear infinite; }
.ticker__row span {
  padding: 0 22px; font: italic 400 clamp(16px, 1.6vw, 21px)/1 var(--f-dp);
  display: inline-flex; align-items: center; gap: 22px; white-space: nowrap;
}
.ticker__row span::after { content: "✳"; font-style: normal; font-size: .55em; opacity: .6; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }

/* ═══ Три кафе ═══ */
.sec--venues { background: var(--bg-2); }
.venues { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vn {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.vn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vn.is-cur { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.vn__im { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2);
           flex: 0 0 auto; min-height: 0; }
.vn__im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vn:hover .vn__im img { transform: scale(1.05); }
.vn__badge {
  position: absolute; inset: 12px 12px auto auto;
  background: var(--brand); color: var(--on-brand);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.vn__b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vn__b h3 { font: 400 clamp(23px, 2.4vw, 29px)/1.12 var(--f-dp); }
.vn__tag { font: italic 400 15px/1.4 var(--f-dp); color: var(--brand); }
.vn__about {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(4 * 1.55em);
}
.vn__meta { display: grid; gap: 0; margin: 4px 0 0; }
.vn__meta > div { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-2); }
.vn__meta dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); min-width: 96px; }
.vn__meta dd { margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.vn__meta a:hover { color: var(--brand); }
.vn__addr { font-size: 13.5px; color: var(--ink-2); }
.vn__b .btn { align-self: flex-start; margin-top: auto; }

/* ═══ Вкладки кафе в панели меню ═══ */
.vtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.vtabs::-webkit-scrollbar { display: none; }
.vtabs button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.vtabs button:hover { border-color: var(--brand); color: var(--ink); }
.vtabs button.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.vtabs button b { font-size: 11.5px; font-weight: 700; opacity: .6; }

/* ═══ Панель инструментов меню ═══ */
.sec--menu { padding-top: clamp(56px, 7vw, 96px); }
.tools {
  position: sticky; top: var(--hdr-h); z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-block: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 46px);
}
.tools__in { display: grid; gap: 12px; padding: 14px 0 4px; }
.tools__in > .chips { margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 12px; }
.tools__in > .vtabs { margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 0; }

.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 15px; width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 44px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.search__x { position: absolute; right: 8px; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink-3); }
.search__x:hover { background: var(--bg-2); color: var(--ink); }

.tgls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tgl {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line); background: var(--surface);
  white-space: nowrap; flex: 0 0 auto;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tgl:hover { border-color: var(--brand); }
.tgl.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.sel { margin-left: auto; position: relative; display: flex; }
.sel select {
  appearance: none; height: 38px; padding: 0 34px 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.sel::after { content: "▾"; position: absolute; right: 14px; top: 50%; translate: 0 -52%; pointer-events: none; color: var(--ink-3); font-size: 12px; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: 0 0 auto; height: 36px; padding: 0 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chips button:hover { color: var(--ink); border-color: var(--brand); }
.chips button.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips button b { font-weight: 700; opacity: .5; margin-left: 5px; font-size: 12px; }

@media (max-width: 600px) {
  .tgls { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .tgls::-webkit-scrollbar { display: none; }
  .sel { margin-left: 0; }
}
@media (min-width: 760px) {
  .tools__in { grid-template-columns: minmax(240px, 340px) 1fr; align-items: center; }
  .tools__in > .vtabs,
  .tools__in > .chips { grid-column: 1 / -1; }
}

/* ═══ Меню ═══ */
.menu { display: grid; gap: clamp(40px, 5vw, 68px); }
.mgroup__h {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.mgroup__h h3 { font: 400 clamp(24px, 2.8vw, 34px)/1.1 var(--f-dp); letter-spacing: -.01em; }
.mgroup__h span { font-size: 13px; color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.mgroup__h i { font-style: normal; font-size: 1.1em; }

.cards { display: grid; gap: clamp(10px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-l); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }

.card__im { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); flex: 0 0 auto; min-height: 0; }
.card__im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__im img { transform: scale(1.06); }
.card__ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-sf), var(--bg-2));
  font-size: clamp(38px, 6vw, 54px); opacity: .5;
}

.card__tags { position: absolute; inset: 9px 9px auto; display: flex; gap: 5px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
  background: rgba(255,255,255,.9); color: #1a1f1a; white-space: nowrap;
}
.tag--hit { background: #f2c14e; color: #3a2c07; }
.tag--veg { background: rgba(205,236,215,.94); width: 26px; height: 26px; padding: 0; display: grid; place-items: center; font-size: 13px; }

.card__b { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__n { font-size: 15px; font-weight: 700; line-height: 1.28; letter-spacing: -.012em; text-wrap: balance; }
.card__d { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 620px) { .card__n { font-size: 16px; } .card__d { font-size: 13px; } }

.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.opts button {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--ink-2); transition: all .18s;
}
.opts button:hover { border-color: var(--brand); color: var(--brand); }
.opts button.is-on { background: var(--brand-sf); border-color: var(--brand); color: var(--brand); }

.card__f { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 10px; }
.card__p { font-size: 17px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card__p small { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-left: 3px; letter-spacing: 0; }
.add {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-sf); color: var(--brand); font-size: 20px; line-height: 1;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.add:hover { background: var(--brand); color: var(--on-brand); }
.add:active { transform: scale(.9); }
.add.is-in { background: var(--brand); color: var(--on-brand); }

.empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 60px 0; }
.empty b { font: 400 26px/1.2 var(--f-dp); }
.empty span { color: var(--ink-2); }
.empty .btn { margin-top: 10px; }

/* ═══ О кафе ═══ */
.sec--about { background: var(--bg-2); }
.about { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.05fr; } }
.about__tx p:not(.kicker) { color: var(--ink-2); margin-top: 18px; max-width: 56ch; }
.about__tx .h2 { margin-bottom: 4px; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pills li {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.about__im { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--1 { grid-column: 1 / -1; aspect-ratio: 16 / 7.6; }
.ph--2, .ph--3 { aspect-ratio: 4 / 3.4; }

/* ═══ Галерея ═══ */
.grid-gal {
  display: grid; gap: 12px; grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(96px, 11.5vw, 168px);
}
.grid-gal button {
  position: relative; overflow: hidden; border-radius: var(--r-m);
  background: var(--bg-2);
}
.grid-gal button:nth-child(8n+1),
.grid-gal button:nth-child(8n+6) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 980px) { .grid-gal { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(92px, 14vw, 150px); } }
@media (max-width: 620px) { .grid-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 26vw; gap: 8px; } }
.grid-gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.grid-gal button:hover img { transform: scale(1.07); }
.grid-gal button::after {
  content: "⤢"; position: absolute; inset: auto 12px 12px auto;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #1a1f1a; font-size: 15px;
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.grid-gal button:hover::after { opacity: 1; transform: translateY(0); }

/* ═══ Доставка ═══ */
.sec--del { background: var(--bg-2); }
.del { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.del__c {
  position: relative; display: grid; align-content: start; gap: 7px;
  padding: 26px 24px 28px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.del__c:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.del__n { font: 400 24px/1.2 var(--f-dp); }
.del__d { font-size: 13.5px; color: var(--ink-2); }
.del__a { position: absolute; top: 22px; right: 22px; color: var(--ink-3); font-size: 18px; transition: color .2s, transform .3s var(--ease); }
a.del__c:hover .del__a { color: var(--brand); transform: translate(3px, -3px); }
.del__c--own { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.del__c--own .del__d { color: color-mix(in srgb, var(--on-brand) 78%, transparent); }
.del__c--own .btn { margin-top: 12px; justify-self: start; background: var(--on-brand); color: var(--brand); }

/* ═══ Контакты ═══ */
.cts { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ct {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l);
  transition: border-color .3s, box-shadow .3s var(--ease);
}
.ct.is-cur { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.ct__b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ct__b h3 { font: 400 clamp(21px, 2.2vw, 26px)/1.15 var(--f-dp); }
.ct__addr { font-size: 15px; }
.ct__addr small { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.ct__list { display: grid; gap: 0; margin: 2px 0 0; }
.ct__list > div { padding: 10px 0; border-top: 1px solid var(--line-2); display: flex; gap: 12px; align-items: baseline; }
.ct__list dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); min-width: 96px; }
.ct__list dd { margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ct__list a { border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.ct__list a:hover { color: var(--brand); border-color: var(--brand); }
.ct__wifi { font-size: 12.5px; color: var(--ink-3); }
.ct__b .btn { align-self: flex-start; margin-top: auto; }

.map { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--bg-2);
        overflow: hidden; flex: 0 0 auto; min-height: 0; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__ov {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; justify-items: center;
  background: linear-gradient(rgba(10,18,12,.3), rgba(10,18,12,.6));
  color: #fff; font-weight: 700; font-size: 14px; transition: background-color .3s;
}
.map:hover .map__ov { background: linear-gradient(rgba(10,18,12,.2), rgba(10,18,12,.48)); }
.map__pin { font-size: 26px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.map__f { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }

/* ═══ Подвал ═══ */
.ft { background: var(--ink); color: var(--bg); padding: clamp(44px, 6vw, 72px) 0 40px; }
html[data-theme="dark"] .ft { background: #0a0d0a; color: var(--ink); }
.ft__in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .ft__in { grid-template-columns: auto 1fr auto; gap: 40px; } }
.ft__b { display: flex; align-items: center; gap: 12px; }
.ft__b img { border-radius: 11px; }
.ft__b p { display: grid; line-height: 1.3; }
.ft__b b { font: 800 15px/1 var(--f-ui); letter-spacing: .16em; }
.ft__b span { font: italic 400 13px/1.4 var(--f-dp); opacity: .6; }
.ft__n { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; font-weight: 600; }
.ft__n a { opacity: .75; transition: opacity .2s; }
.ft__n a:hover { opacity: 1; }
.ft__c { font-size: 13px; opacity: .6; line-height: 1.7; }
@media (min-width: 860px) { .ft__c { text-align: right; } }
.ft__c a { border-bottom: 1px solid currentColor; }
.ft__note { display: inline-block; margin-top: 10px; }
.ft__b b { white-space: nowrap; }

/* ═══ Корзина ═══ */
.fab {
  position: fixed; z-index: 70; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--brand); color: var(--on-brand);
  font-weight: 800; font-size: 15px; box-shadow: var(--shadow-lg);
  animation: pop .35s var(--ease);
  transition: transform .2s var(--ease), background-color .2s;
}
.fab:hover { transform: translateY(-3px); background: var(--brand-2); }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fab__n {
  position: absolute; top: -3px; left: 30px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--gold); color: #1a1206;
  font-size: 12px; display: grid; place-items: center; border: 2px solid var(--bg);
}
.fab__s { font-variant-numeric: tabular-nums; }
.fab.is-bump { animation: bump .4s var(--ease); }
@keyframes pop { from { transform: scale(.8) translateY(10px); opacity: 0; } }
@keyframes bump { 30% { transform: scale(1.09); } }

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__bd { position: absolute; inset: 0; background: rgba(8,14,9,.5); backdrop-filter: blur(3px); animation: fade .3s var(--ease); }
.drawer__p {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 440px);
  background: var(--bg); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: slide .38s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .drawer__p, .drawer__bd, .fab { animation: none; } }

.drawer__h { display: flex; align-items: center; gap: 12px; padding: 20px var(--gut) 16px; border-bottom: 1px solid var(--line); }
.drawer__t { margin-right: auto; display: grid; line-height: 1.15; }
.drawer__t span { font: 400 25px/1.1 var(--f-dp); }
.drawer__t b { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-top: 4px; }
.drawer__h .icobtn { font-size: 26px; line-height: 1; }
.drawer__b { flex: 1; overflow-y: auto; padding: 6px var(--gut) 16px; }
.drawer__f { padding: 16px var(--gut) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }

.ci { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.ci__im { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--bg-2); }
.ci__ph { display: grid; place-items: center; font-size: 24px; }
.ci__n { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.ci__u { font-size: 12px; color: var(--ink-3); }
.ci__p { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-top: 3px; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; font-size: 17px; line-height: 1; color: var(--ink-2); }
.qty button:hover { background: var(--bg-2); color: var(--ink); }
.qty b { min-width: 20px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }

.cart__empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 56px 20px; color: var(--ink-2); }
.cart__empty span { font-size: 42px; }
.cart__tot { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart__tot b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cart__act { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.cart__act .btn:first-child { grid-column: 1 / -1; }
.cart__note { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: center; }

/* ═══ Лайтбокс ═══ */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(6,10,7,.95); display: grid; place-items: center; animation: fade .25s var(--ease); }
.lb__f { margin: 0; max-width: min(96vw, 1500px); max-height: 90svh; display: grid; gap: 12px; }
.lb__f img { max-width: 100%; max-height: 84svh; object-fit: contain; border-radius: 8px; }
.lb__f figcaption { color: rgba(255,255,255,.6); font-size: 13px; text-align: center; }
.lb__x, .lb__nav {
  position: absolute; z-index: 2; color: #fff; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  transition: background-color .2s;
}
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.24); }
.lb__x { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lb__nav { top: 50%; translate: 0 -50%; width: 48px; height: 48px; font-size: 32px; line-height: 1; }
.lb__nav--p { left: 16px; }
.lb__nav--n { right: 16px; }

/* ═══ Появление при скролле ═══ */
[data-rev] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rev].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rev] { opacity: 1; transform: none; transition: none; }
  .card, .btn, .grid-gal img, .card__im img { transition: none !important; }
}
