/* PIZZA ROMA — палітра: сонячний жовтий, золотий, чорний, білий, помаранчеві акценти */
:root {
  --yellow: #FFCC00;
  --gold: #F5A800;
  --sun: #FFE15A;
  --ink: #15120A;
  --paper: #FFFDF4;
  --orange: #FF6B1A;
  --tomato: #E8431C;
  --muted: #5B5240;

  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;

  --wrap: min(1240px, 100% - 2.5rem);
  --r-lg: 34px;
  --r-md: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--yellow);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--yellow); padding: .7rem 1rem; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 1rem; }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0 0 1.2rem;
}
.h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.05; margin: 0 0 .8rem; }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: var(--yellow);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange); border-radius: inherit;
  transform: translateY(102%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--dark:hover { color: var(--ink); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { color: var(--ink); border-color: var(--orange); }
.btn--line-light { --bg: transparent; --fg: var(--paper); border-color: rgba(255,253,244,.5); }
.btn--line-light:hover { color: var(--ink); border-color: var(--orange); }

/* ---------- Інтро ---------- */
.intro {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--yellow);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.intro::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .22; mix-blend-mode: multiply; pointer-events: none; }
.no-intro .intro { display: none; }
.intro__disc {
  position: absolute; width: min(62vmin, 560px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(120, 60, 0, .55);
  transform: scale(0) rotate(-120deg);
}
.intro__disc img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); }
.intro__title {
  position: relative; z-index: 2;
  display: grid; justify-items: center;
  font-family: var(--display); color: var(--ink);
  font-size: clamp(4.5rem, 19vw, 17rem); line-height: .82;
}
@media (max-aspect-ratio: 1/1) { .intro__title { font-size: 22vw; } }
.intro__row { display: flex; overflow: hidden; padding: .04em .06em; }
.intro__row span { display: inline-block; will-change: transform; }
.intro__row--bottom { color: var(--paper); -webkit-text-stroke: .03em var(--ink); paint-order: stroke fill; text-shadow: .045em .045em 0 var(--ink); padding-bottom: .08em; }
.intro__tag {
  position: absolute; bottom: 7vh; left: 0; right: 0; text-align: center; z-index: 2;
  font-weight: 800; letter-spacing: .02em; margin: 0; opacity: 0;
}
.intro__burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.intro__burst .ing { position: absolute; width: clamp(48px, 8vmin, 90px); height: clamp(48px, 8vmin, 90px); opacity: 0; }

/* ---------- Навігація ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(1240px, 100% - 1.5rem);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem .6rem .55rem 1.2rem;
  border-radius: 999px;
  transition: background .45s var(--ease), box-shadow .45s, color .45s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(21, 18, 10, .92); color: var(--yellow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.nav.is-hidden { transform: translate(-50%, -130%); }
.nav__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.15rem; letter-spacing: .01em; }
.nav__logo svg { width: 34px; height: 34px; color: var(--ink); transition: transform .8s var(--ease); }
.nav.is-scrolled .nav__logo svg { color: var(--yellow); }
.nav__logo:hover svg { transform: rotate(360deg); }
.nav__links { display: flex; gap: .3rem; margin-left: auto; }
.nav__links a {
  position: relative; padding: .55rem .95rem; border-radius: 999px;
  text-decoration: none; font-weight: 700;
  transition: background .3s, color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: translateX(-50%) scale(1); }
.nav.is-scrolled .nav__cta { --bg: var(--yellow); --fg: var(--ink); }
.nav__cta { min-height: 46px; padding: .7rem 1.3rem; }
.nav__burger {
  display: none; margin-left: auto; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--ink); position: relative;
}
.nav.is-scrolled .nav__burger { background: var(--yellow); }
.nav__burger span {
  position: absolute; left: 15px; right: 15px; height: 2.5px; border-radius: 2px; background: var(--yellow);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger span:first-child { top: 20px; }
.nav__burger span:last-child { top: 28px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--yellow);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 6rem 1.5rem 2rem;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .7s var(--ease);
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mobile-nav nav { display: grid; gap: .4rem; }
.mobile-nav nav a {
  font-family: var(--display); font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.1; text-decoration: none;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.mobile-nav nav a:hover { color: var(--orange); }
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: .06s; }
.mobile-nav.is-open nav a:nth-child(3) { transition-delay: .12s; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: .18s; }
.mobile-nav .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(60% 70% at 80% 45%, var(--sun) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 100%, var(--gold) 0%, transparent 70%),
    var(--yellow);
  overflow: hidden;
}
.hero__grain { position: absolute; inset: 0; background: var(--grain); opacity: .2; mix-blend-mode: multiply; pointer-events: none; }
.hero__inner {
  position: relative; width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem;
}
.hero__place { font-weight: 800; margin: 0 0 1rem; display: inline-flex; gap: .5rem; align-items: center; }
.hero__place::before { content: ""; width: 34px; height: 3px; background: var(--ink); border-radius: 2px; }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4rem, min(11vw, 17vh), 11rem); line-height: .84; letter-spacing: -.02em;
  margin: 0 0 1.4rem;
}
.hero__line { display: block; }
.hero__line--outline { color: var(--paper); -webkit-text-stroke: .03em var(--ink); paint-order: stroke fill; text-shadow: .045em .045em 0 var(--ink); }
.hero__slogan { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; font-weight: 800; max-width: 26ch; margin: 0 0 .9rem; }
.hero__desc { max-width: 46ch; margin: 0 0 2rem; color: #3D3420; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.hero__plate {
  position: absolute; inset: 4%;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(110, 50, 0, .7), 0 0 0 14px rgba(255,253,244,.45), 0 0 0 15px rgba(21,18,10,.08);
}
.hero__plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: scale(1.5) rotate(360deg); } }
.hero__price {
  position: absolute; left: -2%; bottom: 10%;
  display: grid; justify-items: center; place-content: center;
  width: 128px; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--yellow); text-align: center; line-height: 1.1;
  font-size: .82rem; font-weight: 700;
  transform: rotate(-12deg);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
}
.hero__price strong { font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: var(--paper); margin: .15rem 0; }
.float { position: absolute; width: 74px; height: 74px; filter: drop-shadow(0 10px 10px rgba(90,40,0,.25)); animation: bob 6s ease-in-out infinite; }
.f1 { top: -2%; left: 10%; width: 92px; --rot: -20deg; }
.f2 { top: 6%; right: -3%; animation-delay: -1s; --rot: 15deg; }
.f3 { bottom: 4%; right: 12%; width: 46px; height: 46px; animation-delay: -2s; }
.f4 { top: 44%; right: -6%; width: 64px; animation-delay: -3s; --rot: 30deg; }
.f5 { bottom: -3%; left: 34%; animation-delay: -4s; --rot: -10deg; }
.f6 { top: 38%; left: -8%; width: 70px; animation-delay: -2.5s; --rot: 140deg; }
@keyframes bob {
  0%, 100% { translate: 0 0; rotate: var(--rot, 0deg); }
  50% { translate: 0 -16px; rotate: calc(var(--rot, 0deg) + 10deg); }
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 30px; height: 48px; border: 2px solid var(--ink); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; background: var(--ink); border-radius: 2px; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--yellow); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.5deg); margin: -1.2rem -1rem 0; position: relative; z-index: 2; }
.ticker__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; }
.ticker__track span { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 2rem); white-space: nowrap; }
.ticker__track a { color: inherit; text-decoration: none; }
.ticker__track svg { width: 36px; height: 36px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Меню ---------- */
.menu { background: var(--paper); padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.menu::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .08; mix-blend-mode: multiply; pointer-events: none; }
.menu__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 2.2rem; }
.menu__head .h2 { margin: 0; }
.menu__lead { max-width: 44ch; margin: 0; color: var(--muted); justify-self: end; }

.menu__controls { position: sticky; top: 84px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; margin-bottom: 1.6rem; background: linear-gradient(var(--paper) 75%, transparent); }
.menu__controls > * { min-width: 0; max-width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: .7rem 1.15rem; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: .95rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.chip em { font-style: normal; display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin-left: .3rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .8em; }
.chip:hover { transform: translateY(-2px); background: var(--sun); }
.chip.is-active { background: var(--ink); color: var(--yellow); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu__controls { flex-wrap: nowrap; align-items: flex-start; }
.menu__controls .chips { flex: 1; }
.search { position: relative; flex: none; width: 260px; }
.search input {
  width: 100%; height: 46px; padding: 0 1rem 0 2.6rem; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff; font: inherit; font-weight: 600; color: var(--ink);
}
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.search svg { position: absolute; left: .95rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.menu__empty { padding: 2rem 0; color: var(--muted); font-weight: 600; }

.grid__group, .grid__note, .grid__list { grid-column: 1 / -1; }
.grid__group h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 1.4rem 0 0; display: flex; align-items: center; gap: .8rem; }
.grid__group h3::after { content: ""; flex: 1; height: 2px; background: var(--ink); opacity: .12; }
.grid__group:first-child h3, .grid__note + .grid__group h3 { margin-top: 0; }
.grid__note { font-weight: 700; color: var(--muted); margin-bottom: -.4rem; }

.rows { list-style: none; margin: 0; padding: .4rem 1.4rem; background: #fff; border-radius: var(--r-lg); columns: 2; column-gap: 3rem;
  box-shadow: 0 1px 0 rgba(21,18,10,.06), 0 20px 40px -28px rgba(110, 60, 0, .45); }
.row { break-inside: avoid; display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: .3rem 1rem; padding: .75rem 0; border-bottom: 1px dashed rgba(21,18,10,.14); }
.row__main { min-width: 0; }
.row__name { font-weight: 800; }
.row__ing { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; margin-top: .15rem; }
.row__w { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.row__p { font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.row__p small { font-family: var(--body); font-weight: 700; font-size: .75rem; }
.row__ask { font-weight: 800; font-size: .85rem; color: var(--ink); background: var(--yellow); padding: .2rem .6rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 0 rgba(21,18,10,.06), 0 20px 40px -28px rgba(110, 60, 0, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card.is-hidden { display: none; }
.card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 30px 60px -28px rgba(110, 60, 0, .6); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sun); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.09); }
.card__badge {
  position: absolute; top: 14px; left: 14px; padding: .35rem .75rem; border-radius: 999px;
  background: var(--tomato); color: #fff; font-weight: 800; font-size: .8rem;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.card__name { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; margin: 0 0 .45rem; }
.card__ing { color: var(--muted); font-size: .95rem; line-height: 1.45; margin: 0 0 1.1rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__price { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.card__price small { font-family: var(--body); font-weight: 700; font-size: .85rem; margin-left: .2rem; }
.card__size { font-size: .82rem; font-weight: 700; color: var(--muted); }
.card__price.is-flip { animation: flip .45s var(--ease); }
@keyframes flip { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-10px); opacity: 0; } 55% { transform: translateY(10px); opacity: 0; } 100% { transform: none; opacity: 1; } }

.card__ask {
  display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1rem; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .92rem; text-decoration: none;
  transition: background .3s, transform .3s var(--ease);
}
.card__ask:hover { background: var(--orange); transform: translateY(-2px); }
.card--ask .card__ing { font-style: italic; }

/* ---------- Про нас ---------- */
.about { background: var(--gold); padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .18; mix-blend-mode: multiply; pointer-events: none; }
.about::after {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -25vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, var(--yellow) 0 45%, transparent 46%), repeating-conic-gradient(from 0deg, rgba(255,204,0,.5) 0 10deg, transparent 10deg 20deg);
  opacity: .55; pointer-events: none;
}
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "main text" "hall text" "hall food"; gap: 1.5rem 3.5rem; align-items: start; }
.about__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about__photo:hover img { transform: scale(1.05); }
.about__photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: .5rem .9rem; border-radius: 14px; background: rgba(21,18,10,.78); color: var(--paper); font-size: .88rem; font-weight: 600; width: fit-content; }
.about__photo--main { grid-area: main; aspect-ratio: 16 / 10; }
.about__photo--hall { grid-area: hall; aspect-ratio: 4 / 3; width: 78%; justify-self: end; }
.about__photo--food { grid-area: food; aspect-ratio: 3 / 2; border-radius: 50% 50% var(--r-lg) var(--r-lg); }
.about__text { grid-area: text; padding-top: 1rem; }
.about__big { font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.3; font-weight: 800; margin: 0 0 1.4rem; max-width: 26ch; }
.about__text p { max-width: 54ch; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.facts li { background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 1rem; display: grid; gap: .3rem; align-content: start; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--yellow); line-height: 1.05; }
.facts span { font-size: .86rem; line-height: 1.35; opacity: .85; }

/* ---------- Контакти ---------- */
.contacts { background: var(--ink); color: var(--paper); padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.contacts::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .12; pointer-events: none; }
.contacts__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: stretch; }
.contacts .h2 { color: var(--yellow); }
.contacts__phone {
  display: inline-block; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; text-decoration: none;
  margin-bottom: 2.2rem; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 4px no-repeat; transition: background-size .5s var(--ease); padding-bottom: .2rem;
}
.contacts__phone:hover { background-size: 100% 4px; }
.contacts__list { margin: 0 0 2.2rem; display: grid; gap: 1.3rem; }
.contacts__list div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255,253,244,.14); }
.contacts__list dt { color: var(--yellow); font-weight: 800; }
.contacts__list dd { margin: 0; }
.contacts__list small { display: block; opacity: .6; font-size: .85rem; margin-top: .25rem; }
.contacts__list a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.contacts__map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--yellow); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.contacts__maplink { position: absolute; right: 12px; bottom: 12px; background: var(--yellow); color: var(--ink); font-weight: 800; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; transition: transform .3s var(--ease); }
.contacts__maplink:hover { transform: translateY(-3px); }

/* ---------- Футер ---------- */
.footer { background: var(--yellow); padding: 2.4rem 0 4.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; font-weight: 600; }
.footer__logo { font-family: var(--display); font-size: 1.5rem; }
.footer__copy { opacity: .7; }

/* ---------- Водяний знак ---------- */
.watermark {
  position: fixed; left: 14px; bottom: 12px; z-index: 120;
  font-family: var(--body); font-weight: 800; font-size: .72rem; letter-spacing: .12em;
  text-decoration: none; cursor: pointer;
  color: var(--ink); opacity: .65;
  padding: .3rem .55rem; border-radius: 8px;
  transition: opacity .3s, color .3s, transform .35s var(--ease), background .3s;
}
.watermark.is-light { color: #fff; }
.watermark:hover { opacity: 1; transform: translateY(-2px); background: rgba(127,127,127,.18); }

/* ---------- Анімації появи ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js .card { opacity: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; justify-self: center; order: -1; width: min(82%, 36vh); }
  .hero__title { font-size: clamp(4rem, 14vw, 9.5rem); margin-bottom: 1rem; }
  .hero__inner { gap: 1.2rem; }
  .hero { padding: 5.5rem 0 3.5rem; }
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "text" "main" "hall" "food"; }
  .about__photo--hall { width: 100%; }
  .contacts__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding-left: 1rem; }
  .menu__head { grid-template-columns: 1fr; }
  .menu__lead { justify-self: start; }
  .menu__controls { top: 74px; flex-direction: column-reverse; align-items: stretch; gap: .7rem; }
  .menu__controls .chips { flex-wrap: nowrap; overflow-x: auto; }
  .search { width: 100%; max-width: 420px; }
  .rows { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding-top: 5.5rem; }
  .hero__visual { width: min(76%, 42vh); }
  .hero__inner { gap: 1.2rem; }
  .hero__title { margin-bottom: 1rem; }
  .hero__price { width: 104px; font-size: .74rem; }
  .hero__price strong { font-size: 1.25rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .menu__controls { top: 64px; flex-direction: column-reverse; align-items: stretch; gap: .6rem; margin: 0 -16px 1rem; padding: .6rem 16px .7rem; }
  .menu__controls .chips { flex-wrap: nowrap; overflow-x: auto; gap: .4rem; margin: 0 -16px; padding: 2px 16px; }
  .chip { padding: .5rem .85rem; font-size: .86rem; }
  .search { width: 100%; }
  .search input { height: 42px; }
  .grid { grid-template-columns: 1fr; gap: .8rem; }
  .grid__group h3 { margin-top: .8rem; }
  .rows { columns: 1; padding: .2rem 1rem; border-radius: var(--r-md); }
  .row { gap: .2rem .7rem; padding: .65rem 0; }
  .row__w { font-size: .72rem; }
  .card { flex-direction: row; border-radius: var(--r-md); }
  .card:hover { transform: none; }
  .card__media { flex: none; width: 108px; aspect-ratio: auto; min-height: 118px; }
  .card__media img { position: absolute; inset: 0; }
  .card__badge { top: 8px; left: 8px; padding: .2rem .5rem; font-size: .68rem; }
  .card__body { padding: .8rem .9rem .85rem; min-width: 0; }
  .card__name { font-size: 1.2rem; margin-bottom: .25rem; }
  .card__ing { font-size: .84rem; line-height: 1.35; margin-bottom: .6rem; }
  .card__price { font-size: 1.35rem; }
  .card__size { font-size: .75rem; }
  .card__ask { min-height: 34px; padding: .35rem .8rem; font-size: .82rem; }
  .facts { grid-template-columns: 1fr; }
  .contacts__list div { grid-template-columns: 1fr; gap: .3rem; }
  .contacts__map { min-height: 340px; }
  .contacts__actions .btn { flex: 1 1 100%; }
}
/* Телефон горизонтально */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; padding: 5.5rem 0 3rem; }
  .hero__inner { grid-template-columns: 1.25fr .75fr; gap: 1.5rem; }
  .hero__visual { order: 0; width: 100%; max-width: 70vh; justify-self: end; }
  .hero__title { font-size: 18vh; }
  .hero__price, .f5, .f6, .hero__scroll { display: none; }
  .float { width: 44px; height: 44px; }
  .intro__title { font-size: 26vh; }
  .menu__controls { position: static; }
  .mobile-nav { gap: 1.2rem; padding-top: 4.5rem; }
  .mobile-nav nav a { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .card { opacity: 1; transform: none; }
}

/* ---------- Кошик ---------- */
.add {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: .35rem;
  min-height: 42px; padding: .45rem 1rem .45rem .7rem; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--yellow); font: 800 .9rem/1 var(--body); cursor: pointer;
  transition: transform .3s var(--ease), background .3s;
}
.add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.add:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
.add:active { transform: scale(.94); }
.add:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.add--sm { min-height: 34px; padding: .3rem .7rem .3rem .45rem; font-size: .78rem; }
.add--sm svg { width: 15px; height: 15px; }
.add--sm:not(:has(span)) { padding: 0; width: 36px; min-height: 36px; justify-content: center; }
.add.in-cart::after {
  content: attr(data-q); position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--tomato); color: #fff; font: 800 .7rem/20px var(--body); text-align: center;
}
.add.is-added { animation: addPop .5s var(--ease); }
@keyframes addPop { 0% { transform: scale(1); } 35% { transform: scale(1.18); } 100% { transform: scale(1); } }
.card__pw { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.row--buy { grid-template-columns: 1fr auto auto auto; }
.row__add { display: inline-flex; gap: .3rem; align-self: center; }

.cartbtn {
  position: fixed; right: 16px; bottom: 16px; z-index: 130; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 58px; padding: .5rem 1.2rem .5rem .9rem; border-radius: 999px; border: 3px solid var(--yellow);
  background: var(--ink); color: var(--yellow); font: 800 1rem/1 var(--body); cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(21,18,10,.55); transition: transform .35s var(--ease);
}
.cartbtn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.cartbtn__n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--tomato); color: #fff; font-size: .8rem; line-height: 24px; text-align: center; margin-left: -.9rem; margin-top: -1.4rem; }
.cartbtn:hover { transform: translateY(-3px); }
.cartbtn.is-bump { animation: addPop .5s var(--ease); }
.cart-open, .cart-open body { overflow: hidden; }
.cart-open .cartbtn { opacity: 0; pointer-events: none; }

.cart { position: fixed; inset: 0; z-index: 300; }
.cart__back { position: absolute; inset: 0; background: rgba(21,18,10,.55); opacity: 0; transition: opacity .35s; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.5);
}
.cart.is-open .cart__back { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--yellow); }
.cart__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.cart__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--yellow); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.cart__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .6rem 1.3rem 1.4rem; }
.cart__closed { background: var(--tomato); color: #fff; font-weight: 700; border-radius: 14px; padding: .8rem 1rem; }
.cart__empty { color: var(--muted); font-weight: 600; padding: 2rem 0; text-align: center; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .4rem 0 .2rem; font-weight: 800; font-size: .95rem; }
.cart__clear { border: 0; background: none; color: var(--muted); font: 700 .85rem/1 var(--body); text-decoration: underline; cursor: pointer; padding: .4rem 0; }
.cart__clear:hover { color: var(--ink); }
.cg { margin: 1.1rem 0 .5rem; display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cg::after { content: ""; flex: 1; height: 1px; background: rgba(21,18,10,.14); }
.ci {
  display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "img main rm" "img q sum";
  align-items: center; gap: .5rem .9rem; padding: .75rem; margin-bottom: .6rem;
  background: #fff; border-radius: 18px; box-shadow: 0 1px 0 rgba(21,18,10,.06), 0 8px 24px -18px rgba(21,18,10,.5);
}
.ci__img { grid-area: img; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--yellow); display: grid; place-items: center; font-family: var(--display); font-size: 1.8rem; color: var(--ink); align-self: start; }
.ci__main { grid-area: main; min-width: 0; align-self: start; }
.ci__main b { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.ci__main small { display: inline-block; font-weight: 700; color: var(--muted); margin-right: .5rem; }
.ci__main small { margin: .1rem .5rem 0 0; }
.ci__main span { display: inline; margin-top: .15rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
.ci__rm { grid-area: rm; align-self: start; justify-self: end; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(21,18,10,.06); color: var(--muted); font: 700 1.1rem/1 var(--body); cursor: pointer; }
.ci__rm:hover { background: var(--tomato); color: #fff; }
.ci__q { grid-area: q; display: inline-flex; align-items: center; gap: .2rem; background: var(--paper); border-radius: 999px; padding: 3px; width: fit-content; }
.ci__q button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font: 800 1.15rem/1 var(--body); cursor: pointer; }
.ci__q output { min-width: 28px; text-align: center; font-weight: 800; }
.ci__sum { grid-area: sum; align-self: center; text-align: right; font-family: var(--display); font-weight: 400; font-size: 1.2rem; white-space: nowrap; }
.ci__sum small { font-family: var(--body); font-size: .75rem; font-weight: 700; color: var(--muted); }
/* Крок 2: коротке нагадування, що замовляємо */
.cart__back-btn { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: none; font: 800 .92rem/1 var(--body); color: var(--ink); padding: .6rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.recap { background: #fff; border-radius: 18px; padding: .9rem 1rem; margin: .3rem 0 0; box-shadow: 0 8px 24px -18px rgba(21,18,10,.5); }
.recap h3 { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.recap ul { list-style: none; margin: 0; padding: 0; }
.recap li { display: grid; grid-template-columns: 2.4em 1fr auto; gap: .5rem; padding: .3rem 0; font-weight: 700; border-bottom: 1px dashed rgba(21,18,10,.12); }
.recap li:last-child { border-bottom: 0; }
.recap li b { color: var(--tomato); font-weight: 900; }
.recap li span:last-child { white-space: nowrap; }
.cart__panel[data-step="form"] .cart__form h3 { margin-top: 1.3rem; }
.cart__form h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin: 1.6rem 0 .9rem; }
.cf { display: block; margin-bottom: .8rem; }
.cf > span { display: block; font-size: .8rem; font-weight: 800; color: var(--muted); margin-bottom: .3rem; }
.cf input, .cf textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 14px; border: 2px solid rgba(21,18,10,.15);
  background: #fff; font: 600 1rem/1.3 var(--body); color: var(--ink);
}
.cf textarea { resize: vertical; min-height: 70px; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow); }
.cf__note { margin: -.3rem 0 .9rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.seg { display: flex; gap: .4rem; margin-bottom: .9rem; background: #fff; border-radius: 16px; padding: 4px; box-shadow: inset 0 0 0 1.5px rgba(21,18,10,.12); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: .3rem .5rem; border-radius: 12px; font-weight: 800; font-size: .9rem; text-align: center; cursor: pointer; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cart__err { color: var(--tomato); font-weight: 800; min-height: 1.2em; margin: .4rem 0 0; }
.cart__foot { padding: .9rem 1.3rem calc(.9rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid rgba(21,18,10,.1); display: grid; gap: .7rem; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.cart__total strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.cart__send { width: 100%; }
.cart__how { margin: 0; font-size: .88rem; font-weight: 600; color: var(--muted); text-align: center; }
.cart__call { gap: .5rem; text-decoration: none; text-align: center; }
.cart__send:disabled { opacity: .55; cursor: default; transform: none; }
.cart__done { text-align: center; padding: 3rem .5rem; }
.cart__ok { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; }
.cart__done h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 0 0 .7rem; }
.cart__done p { color: var(--muted); font-weight: 600; margin: 0 0 1.6rem; }

@media (max-width: 560px) {
  .card__foot { gap: .6rem; }
  .card .add:not(.add--sm) { padding: 0; width: 40px; min-height: 40px; justify-content: center; }
  .card .add:not(.add--sm) span { display: none; }
  .row--buy { grid-template-columns: 1fr auto auto; grid-template-areas: "main main main" "w p add"; align-items: center; }
  .row--buy .row__main { grid-area: main; }
  .row--buy .row__w { grid-area: w; }
  .row--buy .row__p { grid-area: p; justify-self: end; }
  .row--buy .row__add { grid-area: add; justify-self: end; }
  .cartbtn { right: 12px; bottom: 12px; min-height: 54px; }
  .cart__panel { width: 100%; }
  .cart__head { padding: .9rem 16px; }
  .cart__scroll { padding: .4rem 16px 1.2rem; }
  .cart__foot { padding-left: 16px; padding-right: 16px; }
  .ci { grid-template-columns: 64px 1fr auto; gap: .45rem .7rem; padding: .6rem; }
  .ci__img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart__panel, .cart__back { transition: none; }
}
.cart[hidden], .cart [hidden], .cartbtn[hidden] { display: none !important; }
