/* =========================================================
   V2 — стиль за референсом (кадр камери, антиква, моно-підписи)
   Підключається ПІСЛЯ style.css і перекриває його.
   ========================================================= */
:root { --f-s: "Cormorant Garamond", Georgia, serif; --f-m: "JetBrains Mono", ui-monospace, monospace; }
.mono { font: 500 11.5px/1.5 var(--f-m); letter-spacing: .14em; text-transform: uppercase; }
.y { color: var(--y); font-style: normal; }

/* заголовки */
.sec__title { font: 600 clamp(46px, 6.6vw, 104px)/.95 var(--f-s); letter-spacing: -.015em; text-transform: none; }
.sec__title em { font-style: italic; font-weight: 500; color: var(--y); }
.eyebrow { font: 500 12px var(--f-m); letter-spacing: .18em; color: var(--muted); }
.eyebrow::before { display: none; }
.eyebrow b { color: var(--y); font-weight: 700; margin-right: 6px; }
.split .w > span { will-change: transform, filter, opacity; }

/* ---------- HERO v2 ---------- */
.hero { display: block; min-height: 0; padding: 0; }
.hero__stage { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.06); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 70% 55%, transparent 0, rgba(13,11,9,.35) 60%, rgba(13,11,9,.9) 100%),
  linear-gradient(90deg, rgba(13,11,9,.95) 0%, rgba(13,11,9,.55) 42%, rgba(13,11,9,.1) 70%, rgba(13,11,9,.45) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero__glow { right: -20vmax; bottom: -55vmax; width: 80vmax; height: 80vmax; opacity: .7; }
.hero__grid { position: relative; grid-template-columns: 1fr 1.05fr; padding-top: var(--hdr); }
.hero__kicker { color: var(--muted); margin: 0 0 22px; }
.hero__title { font: 600 clamp(84px, 13.4vw, 228px)/.82 var(--f-s); letter-spacing: -.02em; text-transform: uppercase; }
.hero__title .ln--sub { font: 600 clamp(24px, 3vw, 46px)/1.1 var(--f-s); letter-spacing: .06em; margin-top: .25em; }
.hero__title .ln--sub b { font-weight: 600; margin-right: .2em; }
.hero__meta { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--text); }
.hero__meta.is-closed .kicker__dot { background: var(--fire); animation: none; }
.hero__lead { margin: 18px 0 30px; max-width: 470px; }
.hero__visual { width: min(100%, 680px); }
.hero__pizza { inset: 6%; }
.hero__pizza img { animation-duration: 90s; }
.burst { position: absolute; inset: 0; pointer-events: none; }
.bp { position: absolute; left: 50%; top: 50%; width: 12%; will-change: transform, opacity; filter: drop-shadow(0 16px 18px rgba(0,0,0,.55)); }
.bp img { width: 100%; height: auto; }
.hero__scroll { width: auto; height: auto; border: 0; margin: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); bottom: 34px; }
.hero__scroll span { position: relative; left: 0; top: 0; margin: 0; width: 1px; height: 46px; border-radius: 0; background: linear-gradient(var(--y), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* видошукач */
.vf { position: absolute; inset: calc(var(--hdr) + 14px) 22px 22px; pointer-events: none; z-index: 2; }
.vf__c { position: absolute; width: 30px; height: 30px; border: 1.5px solid rgba(246,239,227,.55); }
.vf__c--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.vf__c--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vf__c--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.vf__c--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.vf__tl, .vf__tr, .vf__bl, .vf__br { position: absolute; color: rgba(246,239,227,.75); font-size: 10.5px; }
.vf__tl { left: 44px; top: 6px; display: flex; align-items: center; gap: 8px; }
.vf__tr { right: 44px; top: 6px; text-align: right; }
.vf__bl { left: 44px; bottom: 4px; display: flex; align-items: center; gap: 10px; }
.vf__bl b { color: var(--y); }
.vf__br { right: 44px; bottom: 4px; }
.vf__dim { color: var(--dim); }
.vf__fire { color: var(--fire); }
.vf__line { position: relative; width: 120px; height: 1px; background: rgba(255,255,255,.15); margin-left: 6px; }
.vf__line i { position: absolute; inset: 0; background: var(--y); transform-origin: left; transform: scaleX(0); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blink 1.2s steps(2) infinite; }

/* HUD-індикатор розділу (знизу зліва) */
.hud { position: fixed; z-index: 40; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 14px; border-radius: 999px; background: rgba(13,11,9,.6); backdrop-filter: blur(12px); border: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.hud.is-on { opacity: 1; transform: none; }
.hud b { color: var(--y); }
.hud__line { width: 26px; height: 1px; background: var(--line-2); }

/* курсивна бігуча стрічка */
.smarq { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; }
.smarq__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 38s linear infinite; }
.smarq span { font: italic 500 clamp(26px, 3vw, 44px)/1 var(--f-s); color: var(--text); white-space: nowrap; }
.smarq i { font-style: normal; color: var(--y); font-size: 18px; }

/* акції */
.pcard__title { font-family: var(--f-s); font-weight: 700; letter-spacing: -.02em; }
.pcard__sub { font: italic 500 26px/1.1 var(--f-s); }
.pcard__kicker { font-family: var(--f-m); font-weight: 500; letter-spacing: .16em; }

/* меню */
.mgroup__head h3 { font: 600 clamp(34px, 4vw, 56px)/1 var(--f-s); text-transform: none; letter-spacing: -.01em; }
.mgroup__head p { font: 500 11.5px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mgroup__head p::before { content: "// "; color: var(--y); }
.card__name { font: 600 26px/1.05 var(--f-s); letter-spacing: -.005em; }
.price { font: 700 30px/1 var(--f-s); letter-spacing: -.01em; }
.price small { font-family: var(--f-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.modal__body h3 { font: 600 clamp(36px, 4vw, 52px)/1 var(--f-s); letter-spacing: -.01em; }
.tab { font-family: var(--f-m); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.tab small { font-family: var(--f-m); }

/* ---------- конструктор 2+1 ---------- */
.build__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.build__step { margin: 0 0 14px; color: var(--muted); }
.build__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.bcat { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.bcat:hover { transform: translateY(-3px); }
.bcat__ico { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.bcat__ico img { width: 100%; height: 100%; object-fit: cover; }
.bcat b { font: 600 22px/1 var(--f-s); }
.bcat span { font: 500 10.5px var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bcat.is-active { border-color: var(--y); background: linear-gradient(180deg, rgba(255,194,26,.1), rgba(255,194,26,.02)); }
.bcat.is-active .bcat__ico { border-color: var(--y); }
.build__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bitem { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); text-align: left; transition: border-color .3s, background .3s; }
.bitem:hover { border-color: var(--line-2); }
.bitem img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.bitem.is-round img { border-radius: 50%; }
.bitem b { display: block; font: 600 19px/1.1 var(--f-s); }
.bitem small { font: 500 11px var(--f-m); color: var(--muted); letter-spacing: .08em; }
.bitem i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); font-weight: 800; color: var(--y); }
.bitem.is-in { border-color: rgba(255,194,26,.6); background: rgba(255,194,26,.06); }
.bitem.is-in i { background: var(--y); color: #120d00; }
.build__panel { position: sticky; top: calc(var(--hdr) + 90px); padding: 26px; border-radius: var(--r-lg); background: radial-gradient(120% 80% at 50% 0%, rgba(255,110,20,.12), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.build__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.slot { position: relative; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; color: var(--dim); font: 500 11px var(--f-m); letter-spacing: .1em; text-transform: uppercase; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; animation: pop .6s var(--ease); }
.slot.is-full { border-style: solid; border-color: transparent; }
.slot.is-free::after { content: "🎁 подарунок"; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 9px; border-radius: 99px; background: var(--ok); color: #04210f; font: 800 10px var(--f-b); letter-spacing: .04em; text-transform: uppercase; }
.slot.is-free img { box-shadow: 0 0 0 3px var(--ok), 0 0 30px rgba(61,220,132,.4); }
.build__names { min-height: 48px; margin: 14px 0 18px; font: italic 500 21px/1.25 var(--f-s); color: var(--muted); }
.build__sum { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.build__sum span { color: var(--muted); display: block; }
.build__sum s { font: 600 18px var(--f-s); color: var(--dim); }
.build__sum b { font: 700 46px/1 var(--f-s); }
.build__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 18px; }
.build__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--fire-2), var(--y)); transition: width .6s var(--ease); }
.build__reset { display: block; margin: 14px auto 0; }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- інгредієнти ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 19vw, 280px); gap: 14px; }
.bt { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.bt--big { grid-column: span 2; grid-row: span 2; }
.bt--tall { grid-row: span 2; }
.bt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.85); }
.bt:hover img { transform: scale(1.12); filter: saturate(1.05) brightness(1); }
.bt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13,11,9,.92)); }
.bt figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 4px; }
.bt figcaption .mono { color: var(--y); font-size: 10.5px; }
.bt figcaption b { font: 600 clamp(24px, 2.2vw, 34px)/1 var(--f-s); }
.bt--big figcaption b { font-size: clamp(34px, 3.6vw, 54px); }
.bt figcaption small { color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 360px; }

/* ---------- піч ---------- */
.step h3 { font: 600 clamp(36px, 4vw, 60px)/1 var(--f-s); letter-spacing: -.01em; }
.step__n { font: 500 12px var(--f-m); letter-spacing: .18em; }
.step__n::before { content: "// "; }

/* ---------- відгуки ---------- */
.rcard p { font: italic 500 23px/1.3 var(--f-s); }
.rcard__who { font-family: var(--f-m); font-size: 11px; letter-spacing: .08em; }

/* ---------- бронювання ---------- */
.book__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.book__card { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 14px; }
.book__card .build__step { margin: 6px 0 0; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { padding: 12px 4px; border-radius: 14px; border: 1px solid var(--line-2); text-align: center; transition: border-color .3s, background .3s, color .3s; }
.day small { display: block; font: 500 10px var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day b { display: block; font: 600 30px/1.1 var(--f-s); }
.day.is-active { background: var(--y); color: #120d00; border-color: var(--y); }
.day.is-active small { color: #120d00; }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tslot { padding: 11px 0; border-radius: 12px; border: 1px solid var(--line-2); font: 500 13px var(--f-m); transition: background .3s, color .3s, border-color .3s; }
.tslot:hover { border-color: var(--y); }
.tslot.is-active { background: var(--fire-2); border-color: var(--fire-2); color: #fff; }
.tslot:disabled { opacity: .25; pointer-events: none; text-decoration: line-through; }
.stepper--wide { width: 100%; justify-content: space-between; height: 54px; }
.book__sum { padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); line-height: 1.7; }
.book__sum b { color: var(--y); font-weight: 700; }
.book__done { position: absolute; inset: 0; border-radius: inherit; background: var(--bg-2); padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; text-align: center; }
.book__done[hidden] { display: none; }
.book__done b { font: 600 34px var(--f-s); }
.book__done p { margin: 0 0 8px; color: var(--muted); }

/* шапка — повне лого (чорний фон зникає через lighten) */
.brand__logo--full { width: auto; height: 50px; border-radius: 0; box-shadow: none; overflow: visible; }
.brand__logo--full img { width: auto; height: 100%; object-fit: contain; mix-blend-mode: lighten; }

@media (max-width: 1100px) {
  .build__grid, .book__grid { grid-template-columns: 1fr; }
  .build__panel { position: relative; top: 0; }
}
@media (max-width: 900px) {
  .hero__stage { height: auto; min-height: 100svh; padding: calc(var(--hdr) + 58px) 0 70px; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .hero__visual { order: 0; width: min(88vw, 440px); margin: 34px auto 0; justify-self: center; }
  .hero__scroll { display: none; }
  .hero__lead { font-size: 16px; }
  .hero__title { font-size: clamp(76px, 22vw, 130px); }
  .vf { inset: calc(var(--hdr) + 8px) 12px 12px; }
  .vf__tr, .vf__br { display: none; }
  .vf__tl, .vf__bl { left: 38px; }
  .hud { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .bt--big { grid-column: span 2; grid-row: span 1; }
  .bt--tall { grid-row: span 1; }
  .slots { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .build__list { grid-template-columns: 1fr; }
  .build__cats { gap: 8px; }
  .bcat { padding: 16px 6px; }
  .bcat__ico { width: 44px; height: 44px; }
  .bcat b { font-size: 19px; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .book__card, .build__panel { padding: 20px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bt--big { grid-column: auto; }
  .card__name { font-size: 20px; }
  .price { font-size: 23px; }
  .sec__title { font-size: clamp(42px, 12vw, 60px); }
}

/* ---------- відео-герой (?hero=a|b|c) ---------- */
.hero--video .hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero--c .hero__bg video { object-position: 58% 50%; }
.hero--video .hero__bg img { display: none; }
.hero--video .hero__glow, .hero--video .hero__visual { display: none; }
.hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,11,9,.92) 0%, rgba(13,11,9,.62) 30%, rgba(13,11,9,.12) 55%, rgba(13,11,9,0) 70%),
    linear-gradient(180deg, rgba(13,11,9,.75) 0%, rgba(13,11,9,0) 18%, rgba(13,11,9,0) 72%, #0d0b09 100%); }
.hero--video .hero__grid { grid-template-columns: minmax(0, 620px) 1fr; }
.hero--video .hero__title { text-shadow: 0 6px 40px rgba(0,0,0,.55); }
.hv-switch { position: fixed; z-index: 200; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px;
  background: rgba(20,17,14,.9); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; backdrop-filter: blur(10px); font-size: 11px; }
.hv-switch a { padding: 8px 12px; border-radius: 999px; color: #f3ead8; text-decoration: none; white-space: nowrap; }
.hv-switch a.is-on { background: #FFC21A; color: #0d0b09; }
@media (max-width: 900px) {
  .hero--video .hero__bg video { object-position: 64% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(13,11,9,.85) 0%, rgba(13,11,9,.55) 45%, rgba(13,11,9,.2) 70%, #0d0b09 100%); }
  .hero--video .hero__grid { grid-template-columns: 1fr; }
  .hv-switch { bottom: 84px; font-size: 10px; max-width: calc(100vw - 24px); overflow-x: auto; }
}
/* десктоп: відео вписане цілком (contain) праворуч, щоб піца і сир влазили в кадр; краї розчиняються в тлі */
@media (min-width: 901px) {
  .hero--video .hero__bg { background: #0d0b09; }
  .hero--video .hero__bg video { inset: calc(var(--hdr) + 8px) 0 0 auto; width: min(100%, calc((100svh - var(--hdr)) * 16 / 9 * 1.04)); height: auto;
    aspect-ratio: 16 / 9; max-height: calc(100% - var(--hdr) - 8px); object-fit: cover; object-position: 60% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 80%, transparent 100%); mask-composite: intersect; }
  .hero--video .hero__shade { background:
    linear-gradient(90deg, rgba(13,11,9,.85) 0%, rgba(13,11,9,.45) 28%, rgba(13,11,9,0) 50%),
    linear-gradient(180deg, rgba(13,11,9,0) 75%, #0d0b09 100%); }
}
/* телефон: відео окремим блоком під кнопками, а не тлом під текстом */
@media (max-width: 900px) {
  .hero--video .hero__stage { padding-bottom: calc(min(50svh, 96vw) + 10px); }
  .hero--video .hero__bg { background: #0d0b09; }
  .hero--video .hero__bg video { inset: auto 0 0 0; width: 100%; height: min(50svh, 96vw); object-fit: cover; object-position: 66% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 86%, transparent 100%); }
  .hero--video .hero__shade { background: none; }
}

/* відгуки тягнуться пальцем — CSS-анімацію замінює JS (dragRows) */
.rrow { animation: none !important; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; will-change: transform; }
.rrow.is-drag { cursor: grabbing; }
.rcard { -webkit-user-drag: none; }
/* натиск на телефоні */
@media (hover: none) {
  .btn:active { transform: scale(.96); transition: transform .12s; }
  .add:active, .stepper button:active { filter: brightness(.88); }
}
/* телефон: галерея — карусель пальцем (scroll-snap), активне фото більше, решта приглушені */
@media (max-width: 900px) {
  .gallery__pin { min-height: 0; gap: 24px; }
  .gallery__track { gap: 14px; padding: 6px 13vw 10px; scroll-padding: 0 13vw; overscroll-behavior-x: contain; }
  .g, .g--tall { width: 74vw; height: min(96vw, 60svh); align-self: auto; scroll-snap-align: center; scroll-snap-stop: always; transition: transform .45s var(--ease), opacity .45s; }
  .g:not(.is-active) { transform: scale(.88); opacity: .55; }
  .g img { transform: none; }
  .gnav { display: flex; align-items: center; justify-content: center; gap: 14px; }
  .gnav__dots { display: flex; gap: 6px; }
  .gnav__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .35s var(--ease), background .35s; }
  .gnav__dots i.is-on { width: 22px; background: var(--y); }
  .gnav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--y); font: 600 18px var(--f-b); }
  .bt, .step__media { will-change: clip-path; }
}
@media (min-width: 901px) { .gnav { display: none; } }

/* меню на телефоні: колонки не розпирає, «+» і лічильник однакової висоти — нічого не стрибає */
@media (max-width: 640px) {
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; }
  .card__foot .price { min-width: 0; flex-wrap: wrap; row-gap: 2px; }
  .card .add, .card .stepper { width: 100%; height: 40px; border-radius: 999px; }
  .card .add:hover { transform: none; }
  .card .stepper { justify-content: space-between; padding: 0 4px; }
  .card .stepper button { width: 34px; height: 34px; }
}
@media (max-width: 380px) { .mgrid { grid-template-columns: minmax(0, 1fr); } }
/* нічого не має розширювати сторінку вбік (виїзди карток на телефоні) */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.places, .promo, .fire, .ingredients { overflow-x: clip; }

/* телефон: герой на весь екран і закріплюється — сир тягнеться за скролом, як на ПК */
@media (max-width: 900px) {
  .hero--video .hero__stage { height: 100svh; min-height: 560px; padding: calc(var(--hdr) + 34px) 0 0; }
  .hero--video .hero__lead { display: none; }
  .hero--video .hero__bg video { height: 60svh; object-position: 64% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 92%, transparent 100%); }
}

/* футер: підпис замість контурного «ТУТ Є» */
.ftr__giant { display: none; }
.ftr__sign { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 80px); margin: clamp(50px, 8vw, 110px) 0 clamp(30px, 4vw, 50px); padding-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line); }
.ftr__say { margin: 0; font: 500 clamp(54px, 9.5vw, 168px)/.9 var(--f-s); letter-spacing: -.02em; }
.ftr__say em { display: block; font-style: italic; color: var(--y); padding-left: .55em; }
.ftr__say small { display: block; margin-top: 22px; font: 500 12px/1.6 var(--f-m); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.seal { position: relative; flex: none; width: clamp(150px, 17vw, 240px); aspect-ratio: 1; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 22s linear infinite; }
.seal text { font: 600 10.4px var(--f-m); letter-spacing: .32em; fill: var(--y); text-transform: uppercase; }
.seal img { position: absolute; inset: 22%; width: 56%; height: 56%; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 10px 30px rgba(255,106,26,.35)); }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .ftr__sign { flex-direction: column-reverse; text-align: center; }
  .ftr__say em { padding-left: 0; }
}
