/* Сазанчик Green Park — один мотив: чешуя сазана (полукруг сверху, прямой низ).
   Она маскирует фотографии, рисует полосу на карточке, служит маркером в меню и строит знак в подвале. */

:root {
  /* цвета логотипа: красные буквы, чёрная обводка, золотая рыбка */
  --bg: #fafafa;
  --surface: #f1f1f1;
  --surface-2: #e3e3e3;
  --ink: #1b1716;
  --muted: #5e5654;
  --accent: #d6141a;
  --accent-ink: #ffffff;
  --gold: #f5b324;
  --field-1: #d6141a;
  --field-1-ink: #ffffff;
  --field-deep: #a50f14;
  --field-dark: #1b1716;
  --input: #b8121a;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --step-display: clamp(2.75rem, 1rem + 5.4vw, 6.25rem);

  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(96px, 12vw, 200px);
  --arch: 9999px 9999px 0 0;
  --pill: 9999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
p { max-width: 52ch; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 8px; }

h1, h2 { font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }

/* ---------- кнопки: форма чешуи, вытянутая в пилюлю ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: var(--pill);
  font: 600 var(--step-body)/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--field-deep); } }
.bar .btn, .hero .btn, .where .btn { background: var(--accent); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.btn-light { background: var(--gold); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: #ffc94d; } }
.link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* ---------- верхняя панель ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: var(--bg);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; }
.mark img { height: 44px; width: auto; }
.bar-links { display: flex; gap: 28px; margin-left: auto; }
.bar-links a { text-decoration: none; font-weight: 500; font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) { .bar-links a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.cart-btn b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: var(--pill); background: var(--bg); color: var(--ink); font-size: 0.8125rem; }
.cart-btn.bump { animation: bump 320ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ---------- первый экран ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 0 var(--gutter);
  min-height: calc(100svh - 68px);
}
.hero-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  min-height: 100%;
}
.scale-band { width: 100%; height: 80px; flex: none; }
.hero-body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; gap: 0; flex: 1; justify-content: center; }
.hero-logo { width: clamp(200px, 18vw, 260px); height: auto; margin-bottom: 36px; }
.hero h1 { font-size: clamp(2.5rem, 0.4rem + 4.4vw, 4.75rem); }
.hero-lead { margin-top: 36px; max-width: 34ch; font-size: var(--step-body); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-open { font-weight: 500; font-size: var(--step-small); }
.hero-open[data-state="open"]::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: var(--arch); background: var(--accent); }
.hero-links { display: flex; gap: 28px; padding: 0 clamp(28px, 4vw, 64px) 28px; font-size: var(--step-small); font-weight: 500; }
.hero-links a { text-underline-offset: 4px; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  position: absolute; inset: 0 0 32px; width: 100%; height: calc(100% - 32px); object-fit: cover;
  border-radius: var(--arch);
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-photo img.is-on { opacity: 1; }
.hero-photo img:nth-child(3) { background: var(--surface); }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: var(--step-small); color: var(--muted); }

/* ---------- меню ---------- */
.menu { padding: var(--section) var(--gutter) 0; }
.menu-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.menu-head p { max-width: 44ch; }

.calc {
  margin-top: 72px;
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "t s" "c s" "r s" "b s" "h s";
  column-gap: 64px; row-gap: 20px;
  background: var(--field-1); color: var(--field-1-ink);
  padding: clamp(28px, 4vw, 56px);
}
.calc h3 { grid-area: t; font-size: var(--step-head); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
.calc-row { grid-area: r; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.stepper { display: inline-flex; align-items: center; background: var(--field-deep); border-radius: var(--pill); }
.step-btn {
  width: 52px; height: 52px; border: 0; border-radius: var(--pill); background: transparent; color: var(--field-1-ink);
  font: 500 1.5rem/1 var(--font); cursor: pointer; transition: transform 120ms var(--ease-out), background-color 200ms ease;
}
.step-btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .step-btn:hover { background: var(--field-dark); } }
.calc-people { min-width: 9.5ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-fish select {
  height: 52px; padding: 0 44px 0 20px; border: 0; border-radius: var(--pill);
  background: var(--field-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center / 12px;
  color: var(--field-1-ink); font: 500 var(--step-body)/1 var(--font); appearance: none; cursor: pointer;
}
.calc-result { grid-area: c; font-size: var(--step-lead); }
.calc-result b { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.03em; display: inline-block; font-variant-numeric: tabular-nums; }
.calc-result span { display: block; font-variant-numeric: tabular-nums; }
.calc > .btn { grid-area: b; justify-self: start; background: var(--field-1-ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .calc > .btn:hover { background: var(--surface); } }
.calc-hint { grid-area: h; font-size: var(--step-small); max-width: 46ch; }
.calc-scales { grid-area: s; display: flex; flex-wrap: wrap-reverse; align-content: flex-start; gap: 8px; align-self: end; min-height: 260px; }
.calc-scales i {
  width: clamp(44px, 5.6vw, 84px); height: clamp(36px, 4.6vw, 70px); border-radius: var(--arch); background: var(--gold);
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out);
}
.calc-scales i.half { width: 20px; border-radius: 9999px 0 0 0; }
.calc-scales i.new { opacity: 0; transform: translateY(12px) scale(0.9); }

.menu-tabs {
  position: sticky; top: 68px; z-index: 10;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 56px calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter);
  background: var(--bg);
}
.menu-tabs a {
  flex: none; padding: 10px 18px; border-radius: var(--pill); background: var(--surface);
  text-decoration: none; font-weight: 600; font-size: var(--step-small);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.menu-tabs a:active { transform: scale(0.97); }
.menu-tabs a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }

.cat { padding-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); column-gap: 64px; }
.cat-pic { grid-row: 1 / span 3; position: sticky; top: 140px; align-self: start; }
.cat-pic img { width: 100%; height: auto; aspect-ratio: 3 / 3.6; object-fit: cover; border-radius: var(--arch); background: var(--surface); }
.cat-pic figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.cat > :not(.cat-pic) { grid-column: 2; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 12px; }
.cat-head h3 { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cat-head span { font-size: var(--step-body); }
.cat-note { margin-bottom: 40px; max-width: 60ch; }
.items { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 36px; }
.item { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: start; }
.item-pic { width: 64px; height: 64px; border-radius: var(--arch); overflow: hidden; background: var(--surface); }
.item-pic img { width: 100%; height: 100%; object-fit: cover; }
.item-pic.dot { width: 22px; height: 18px; margin: 6px 0 0 21px; background: var(--accent); }
.item-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; align-items: baseline; }
.item-name { font-weight: 700; }
.item-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-price small { font-weight: 400; font-size: var(--step-small); }
.item-desc { margin-top: 4px; max-width: 40ch; font-size: 1rem; }
.item-add { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.add-btn {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--pill);
  background: var(--surface); color: var(--ink); font: 600 var(--step-small)/1 var(--font); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.add-btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .add-btn:hover { background: var(--surface-2); } }
.add-btn.in { background: var(--accent); color: var(--accent-ink); }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: var(--pill); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font: 500 1.25rem/1 var(--font); cursor: pointer; border-radius: var(--pill); transition: transform 120ms var(--ease-out); }
.qty button:active { transform: scale(0.9); }
.qty output { min-width: 5ch; text-align: center; font-weight: 600; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.menu-note { margin-top: 64px; font-size: var(--step-small); color: var(--muted); }

/* ---------- полоса воды: чешуйчатый край ---------- */
.water-band {
  margin: var(--section) var(--gutter) 0; height: clamp(180px, 26vw, 380px); overflow: hidden;
  border-radius: var(--arch);
  background: var(--surface) url("img/water-poster.jpg") center / cover;
}
.water-band video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- о ресторане ---------- */
.story { padding: 12px var(--gutter) 0; }
.story-panel {
  position: relative; overflow: hidden;
  background: var(--field-dark); color: #fff;
  min-height: 100svh;
  display: grid; grid-template-columns: 58% 1fr; grid-template-rows: auto 1fr;
  padding: clamp(32px, 4vw, 56px);
  column-gap: 48px;
}
.story-panel::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 42%; height: 40%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpath d='M0 28V20a20 20 0 0 1 40 0v8z' fill='%23f5b324' fill-opacity='.12'/%3E%3Cpath d='M-20 14V6a20 20 0 0 1 40 0v8zM20 14V6a20 20 0 0 1 40 0v8z' fill='%23d6141a' fill-opacity='.2'/%3E%3C/svg%3E"); pointer-events: none; }
.story h2 { grid-column: 1; font-size: var(--step-head); max-width: 8em; }
.story-text { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 56px; padding-top: 8px; position: relative; z-index: 1; }
.story-text h3 { margin-bottom: 12px; }
.story-text p { max-width: 36ch; }
.story-text .btn { align-self: flex-start; }
.story-photo { grid-column: 1; grid-row: 2; align-self: end; margin: 64px 0 calc(-1 * clamp(32px, 4vw, 56px)); }
.story-photo img { width: min(38vw, 100%); aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--arch); transform: translateY(18%); }

/* ---------- как заказать ---------- */
.how { padding: var(--section) var(--gutter) 0; }
.how-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.how-head p { max-width: 44ch; }
.how-diagram { width: 100%; height: auto; margin-top: 56px; }
.how-diagram path { transition: transform 900ms var(--ease-out), opacity 600ms ease; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 32px; }
.how-steps b { display: block; font-size: var(--step-lead); margin-bottom: 8px; }
.how-steps span { display: block; max-width: 34ch; }

/* ---------- купон заказа ---------- */
.order { padding: var(--section) var(--gutter) 0; }
.coupon {
  --notch: 18px;
  position: relative;
  display: grid; grid-template-columns: 46% 1fr;
  background: var(--field-1); color: var(--field-1-ink);
  max-width: 1180px; margin: 0 auto;
}
.coupon::before, .coupon::after { content: ""; position: absolute; left: calc(46% - var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--bg); }
.coupon::before { top: calc(-1 * var(--notch)); }
.coupon::after { bottom: calc(-1 * var(--notch)); }
.coupon-left { padding: 48px; display: flex; flex-direction: column; gap: 24px; border-right: 6px dotted var(--bg); }
.coupon-left h2 { font-size: var(--step-head); }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.cart-list .c-name { font-weight: 600; }
.cart-list .c-sum { font-variant-numeric: tabular-nums; text-align: right; }
.cart-list .c-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: var(--step-small); }
.cart-list .c-meta button { min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--pill); background: var(--field-deep); color: var(--field-1-ink); font: 500 var(--step-small)/1 var(--font); cursor: pointer; transition: transform 120ms var(--ease-out); }
.cart-list .c-meta button:active { transform: scale(0.94); }
.cart-list li.leaving { opacity: 0; transform: translateX(-12px); transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.cart-empty a { color: inherit; }
.cart-sum { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.cart-sum div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.cart-sum .cart-total { font-size: var(--step-lead); font-weight: 800; margin-top: 6px; }
.coupon-right { padding: 48px; display: flex; flex-direction: column; gap: 10px; }
.mode { border: 0; margin: 0 0 6px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; background: var(--field-deep); border-radius: var(--pill); }
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode span { display: grid; place-items: center; height: 44px; border-radius: var(--pill); font-weight: 600; transition: background-color 200ms ease, color 200ms ease; }
.mode input:checked + span { background: var(--field-1-ink); color: var(--accent); }
.mode input:focus-visible + span { outline: 3px solid var(--field-1-ink); outline-offset: 2px; }
.field input {
  width: 100%; height: 54px; padding: 0 20px; border: 2px solid transparent; border-radius: 0;
  background: var(--input); color: var(--field-1-ink); font: 400 var(--step-body)/1 var(--font);
  transition: border-color 160ms ease;
}
.field input::placeholder { color: #ffd9d6; }
.field input:focus { outline: none; border-color: var(--field-1-ink); }
.field input[aria-invalid="true"] { border-color: var(--gold); }
.field[hidden] { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; } /* taste-skill-ignore: hidden spam trap, not a rule */
.submit {
  margin-top: 6px; height: 56px; border: 0; border-radius: var(--pill);
  background: var(--field-1-ink); color: var(--ink); font: 700 var(--step-body)/1 var(--font); cursor: pointer;
  transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.submit:active { transform: scale(0.98); }
.submit[disabled] { opacity: 0.6; cursor: progress; }
.form-msg { min-height: 1.5em; font-weight: 500; }
.form-msg.ok { font-size: var(--step-lead); font-weight: 700; }

/* ---------- адрес ---------- */
.where { padding: var(--section) var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.where-text { display: flex; flex-direction: column; gap: 28px; }
.where-text p { max-width: 40ch; }
.facts { display: flex; flex-direction: column; gap: 12px; }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; }
.facts dt { font-weight: 600; }
.facts a { text-underline-offset: 4px; }
.where-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.where-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.arch img { width: 100%; object-fit: cover; border-radius: var(--arch); }
.arch-tall img { aspect-ratio: 3 / 4; }
.arch-wide img { aspect-ratio: 3 / 4; }
.arch figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }

/* ---------- подвал: знак из чешуек-блоков ---------- */
.foot { margin-top: var(--section); background: var(--field-dark); color: #fff; padding: 48px var(--gutter) 28px; }
.foot-mark { display: flex; align-items: flex-end; gap: 4px; height: clamp(150px, 30svh, 320px); }
.foot-mark span:nth-child(even) { background: var(--gold); color: var(--ink); }
.foot-mark span {
  flex: 1; display: grid; place-items: end center; padding-bottom: 0.08em;
  background: var(--accent); color: #fff; border-radius: var(--arch);
  font-weight: 800; font-size: clamp(1.75rem, 6.2vw, 6.5rem); line-height: 1;
}
.foot-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; margin-top: 56px; }
.foot-cols nav { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.foot-cols a { text-underline-offset: 4px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-last { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 56px; }
.credits { font-size: var(--step-small); max-width: 58ch; }
.foot .btn-small { background: var(--accent); color: #fff; flex: none; }

/* ---------- плашка корзины на телефоне ---------- */
.cart-dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: none; justify-content: space-between; align-items: center;
  min-height: 58px; padding: 0 24px; border-radius: var(--pill);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px rgba(120, 10, 14, 0.3); /* taste-skill-ignore: floating cart bar */
  transition: transform 260ms var(--ease-out), opacity 200ms ease;
}
.cart-dock[hidden] { display: none !important; }
.cart-dock.away { transform: translateY(140%); opacity: 0; }

/* ---------- появление ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .hero-photo img { transition: none; }
  .calc-scales i, .how-diagram path { transition: none; }
}

/* ---------- планшет ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 52svh; }
  .hero-photo img { inset: 0; height: 100%; }
  .hero-photo figcaption { display: none; }
  .hero-card { margin-top: -24px; position: relative; z-index: 1; margin-inline: 12px; }
  .hero h1 { font-size: clamp(2.25rem, 7.4vw, 4rem); }
  .items { grid-template-columns: minmax(0, 1fr); }
  .bar-links { display: none; }
  .cart-btn { margin-left: auto; }
  .calc { grid-template-columns: 1fr; grid-template-areas: "t" "c" "s" "r" "b" "h"; }
  .calc-scales { min-height: 0; align-self: start; }
  .story-panel { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 48px; }
  .story-text, .story h2, .story-photo { grid-column: 1; grid-row: auto; }
  .story-photo { justify-self: center; margin-top: 0; }
  .story-photo img { width: min(86vw, 520px); }
  .where { grid-template-columns: 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 720px) {
  .menu-tabs { position: static; gap: 6px; }
  .menu-tabs a { padding: 9px 14px; }
  .hero h1 { font-size: 9.4vw; }
  .hero-photo { order: -1; height: 48svh; }
  .scale-band { height: 56px; }
  .hero-body { padding: 28px 22px 20px; }
  .hero h1 { font-size: 9.4vw; }
  .hero-lead, .hero-actions { margin-top: 24px; }
  .hero-logo { width: 62%; margin-bottom: 24px; }
  .mark img { height: 38px; }
  .hero-links { padding: 0 22px 22px; flex-wrap: wrap; gap: 12px 24px; }
  .menu-head, .how-head { grid-template-columns: 1fr; gap: 20px; }
  .calc { margin-inline: calc(-1 * var(--gutter)); padding: 32px var(--gutter); }
  .calc h3 { font-size: 9vw; }
  .items { grid-template-columns: 1fr; row-gap: 32px; }
  .item { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .item-pic { width: 52px; height: 52px; }
  .item-pic.dot { margin-left: 15px; }
  .cat { grid-template-columns: 1fr; }
  .cat > :not(.cat-pic) { grid-column: 1; }
  .cat-pic { position: static; grid-row: auto; margin-bottom: 28px; }
  .cat-pic img { aspect-ratio: 16 / 9; max-height: 220px; }
  .cat-pic figcaption { display: none; }
  .story { padding-inline: 10px; }
  .story-panel { padding: 32px 20px; }
  .story h2 { font-size: 12vw; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .coupon { grid-template-columns: 1fr; margin-inline: -4px; }
  .coupon::before, .coupon::after { left: calc(-1 * var(--notch)); top: calc(var(--cut, 50%) - var(--notch)); bottom: auto; }
  .coupon::after { left: auto; right: calc(-1 * var(--notch)); }
  .coupon-left { border-right: 0; border-bottom: 6px dotted var(--bg); padding: 32px 22px; }
  .coupon-right { padding: 32px 22px; }
  .where { gap: 48px; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-mark { height: 22svh; }
  .foot-last { flex-direction: column; align-items: flex-start; }
  .cart-dock { display: flex; }
}
