/* ═══════════════════════════════════════════════════════════
   GRAND FEST — main.css (v3)
   Кольори взяті з фото закладу:
   стіни зали, ліпнина, вивіска фасаду, латунь, оксамитовий диван, шавлієві доріжки.
   Стилі mobile-first: базові — для телефона, @media — для ширших екранів.
   ═══════════════════════════════════════════════════════════ */

:root {
	/* Типографіка (перевизначається з Customizer через trost_typography_css) */
	--font-heading: 'Prata', serif;
	--font-body: 'Commissioner', sans-serif;
	--font-size-base: 16px;
	--font-weight-heading: 400;

	/* Палітра */
	--wall: #EDF1EB;          /* м'ятно-білі стіни зали */
	--stucco: #FAFBF7;        /* ліпнина, «папір» меню і форми */
	--sign: #2E2019;          /* шоколадна вивіска фасаду */
	--sign-deep: #241812;
	--brass: #C9A35A;         /* латунь вивіски — на темному */
	--brass-light: #E4C680;
	--brass-dark: #8C6C2C;    /* латунь для тексту на світлому (контраст 4.5+) */
	--velvet: #24443B;        /* оксамитовий диван */
	--sage: #9DAE99;          /* доріжки на столах */
	--sage-line: #CDD6CA;

	--ink: #2E2019;
	--muted: #5C5048;
	--on-dark: #F3EBDD;
	--on-dark-muted: #C9C0B2;
	--error: #A33A2B;

	/* Шкала (велика терція 1.25 від 16px) */
	--fs-sm: 0.875rem;
	--fs-md: 1rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5625rem;
	--fs-2xl: 1.95rem;
	--fs-3xl: 2.45rem;

	--gutter: 20px;
	--section-y: 72px;
	--nav-h: 64px;
	--measure: 62ch;
}

@media (min-width: 960px) {
	:root {
		--gutter: clamp(32px, 5vw, 80px);
		--section-y: 128px;
		--nav-h: 76px;
	}
}

/* ── Base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 8px);
	-webkit-text-size-adjust: 100%
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: 1.6;
	color: var(--ink);
	background: var(--wall);
	-webkit-font-smoothing: antialiased
}

body.menu-open {
	overflow: hidden
}

img {
	display: block;
	max-width: 100%;
	height: auto
}

a {
	color: inherit
}

button {
	font: inherit;
	color: inherit
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-heading);
	line-height: 1.12;
	text-wrap: balance
}

:focus-visible {
	outline: 2px solid var(--brass-dark);
	outline-offset: 3px
}

.contact :focus-visible,
.nav :focus-visible,
.mobile-menu :focus-visible,
.lightbox :focus-visible,
.call-bar :focus-visible,
.hero-sign :focus-visible {
	outline-color: var(--brass-light)
}

.form-card :focus-visible {
	outline-color: var(--brass-dark)
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 3000;
	padding: 10px 16px;
	background: var(--stucco);
	color: var(--ink);
	text-decoration: none
}

.skip-link:focus {
	top: 12px
}

.site {
	overflow-x: clip
}

/* ── Логотип ─────────────────────────────────────────────── */
.logo {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	line-height: 1
}

.logo-grand {
	font-family: var(--font-heading);
	font-size: 30px;
	color: var(--brass-light)
}

.logo-fest {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.24em;
	color: var(--brass)
}

/* ── Кнопки ──────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 2px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s
}

.btn-brass {
	background: var(--brass);
	color: var(--sign);
	border: 1px solid var(--brass)
}

.btn-brass:hover {
	background: var(--brass-light);
	border-color: var(--brass-light)
}

.btn-line,
.btn-line-dark {
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(46, 32, 25, 0.4)
}

.btn-line:hover,
.btn-line-dark:hover {
	border-color: var(--ink)
}

.btn-line-light {
	background: transparent;
	color: var(--on-dark);
	border: 1px solid rgba(243, 235, 221, 0.4)
}

.btn-line-light:hover {
	border-color: var(--brass-light);
	color: var(--brass-light)
}

/* ═══════════════════════════════════════════ NAV */
.nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--nav-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	gap: 32px;
	background: var(--sign);
	border-bottom: 1px solid rgba(201, 163, 90, 0.35)
}

.nav-home {
	text-decoration: none;
	margin-right: auto
}

.nav-links {
	display: none
}

.nav-cta {
	display: none
}

.burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	width: 44px;
	height: 44px;
	padding: 0 9px;
	background: none;
	border: none;
	cursor: pointer
}

.burger span {
	display: block;
	height: 1.5px;
	background: var(--brass-light);
	transition: transform .25s
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg) }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-4.25px) rotate(-45deg) }

.mobile-menu {
	position: fixed;
	inset: var(--nav-h) 0 0 0;
	z-index: 999;
	padding: 32px var(--gutter);
	background: var(--sign)
}

.mobile-menu[hidden] {
	display: none
}

.mobile-menu nav {
	display: flex;
	flex-direction: column
}

.mobile-menu a {
	padding: 14px 0;
	border-bottom: 1px solid rgba(201, 163, 90, 0.2);
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	color: var(--on-dark);
	text-decoration: none
}

@media (min-width: 960px) {
	.burger,
	.mobile-menu {
		display: none !important
	}

	.nav-links {
		display: flex;
		gap: 28px
	}

	.nav-links a {
		position: relative;
		padding: 8px 0;
		font-size: 15px;
		color: var(--on-dark);
		text-decoration: none;
		transition: color .2s
	}

	.nav-links a:hover {
		color: var(--brass-light)
	}

	.nav-cta {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 22px;
		border: 1px solid var(--brass);
		border-radius: 2px;
		font-size: 15px;
		font-weight: 500;
		color: var(--brass-light);
		text-decoration: none;
		transition: background-color .2s, color .2s
	}

	.nav-cta:hover {
		background: var(--brass);
		color: var(--sign)
	}
}

/* ═══════════════════════════════════════════ HERO — вивіска */
.hero {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	background: var(--wall)
}

.hero-sign {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px 0;
	background: var(--sign)
}

/* Світлові лінії по краю пілона, як LED-контур вивіски */
.hero-sign::before {
	content: '';
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(228, 198, 128, 0.55);
	box-shadow: 0 0 12px rgba(228, 198, 128, 0.18), inset 0 0 12px rgba(228, 198, 128, 0.12);
	pointer-events: none
}

.fleur {
	width: 34px;
	height: 28px;
	color: var(--brass)
}

.hero-fleur--bottom {
	transform: scaleY(-1)
}

.hero-sign-word {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--font-heading);
	font-size: 44px;
	line-height: 0.95;
	color: var(--brass-light)
}

/* Літери «загоряються» по черзі — єдина анімація на сторінці */
.hero-sign-word span {
	opacity: 0.16;
	animation: sign-on 0.6s ease-out forwards;
	animation-delay: calc(0.35s + var(--i) * 0.16s)
}

@keyframes sign-on {
	0%   { opacity: 0.16; text-shadow: none }
	55%  { opacity: 1;    text-shadow: 0 0 22px rgba(228, 198, 128, 0.9) }
	100% { opacity: 1;    text-shadow: 0 0 10px rgba(228, 198, 128, 0.35) }
}

.hero-sign-fest {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.3em;
	padding-left: 0.3em;
	color: var(--brass)
}

.hero-photo {
	position: relative;
	min-height: 62svh
}

.hero-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 55%
}

.hero-text {
	grid-column: 1 / -1;
	padding: 40px var(--gutter) 56px
}

.hero-title {
	font-size: var(--fs-2xl);
	color: var(--ink);
	max-width: 14ch
}

.hero-lead {
	margin-top: 20px;
	max-width: 46ch;
	font-size: var(--fs-md);
	line-height: 1.65;
	color: var(--muted)
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px
}

.hero-actions .btn {
	flex: 1 1 200px
}

.hero-phone {
	margin-top: 24px;
	font-size: 15px;
	color: var(--muted)
}

.hero-phone a {
	color: var(--ink);
	font-weight: 500;
	text-underline-offset: 4px
}

@media (min-width: 960px) {
	.hero {
		grid-template-columns: clamp(140px, 12vw, 190px) minmax(0, 1.05fr) minmax(0, 1fr);
		min-height: calc(100svh - var(--nav-h))
	}

	.hero-sign {
		gap: 18px;
		padding: 48px 0
	}

	.hero-sign::before {
		inset: 14px
	}

	.fleur {
		width: 48px;
		height: 40px
	}

	.hero-sign-word {
		font-size: clamp(60px, 5.8vw, 96px)
	}

	.hero-sign-fest {
		font-size: 15px
	}

	.hero-photo {
		min-height: 0
	}

	.hero-text {
		grid-column: auto;
		align-self: center;
		padding: 64px var(--gutter) 64px clamp(40px, 5vw, 88px)
	}

	.hero-title {
		font-size: clamp(2.1rem, 3vw, 3.1rem)
	}

	.hero-lead {
		font-size: 1.125rem;
		line-height: 1.6
	}

	.hero-actions .btn {
		flex: 0 0 auto
	}
}

/* ═══════════════════════════════════════════ SECTION BASICS */
.section-title {
	font-size: var(--fs-2xl);
	color: var(--ink)
}

.section-text {
	max-width: var(--measure);
	font-size: var(--fs-md);
	line-height: 1.7;
	color: var(--muted)
}

.section-intro {
	display: grid;
	gap: 16px;
	margin-bottom: 40px
}

@media (min-width: 960px) {
	.section-title {
		font-size: var(--fs-3xl)
	}

	.section-intro {
		grid-template-columns: 5fr 7fr;
		align-items: end;
		gap: 64px;
		margin-bottom: 64px
	}

	.section-text {
		font-size: 1.0625rem;
		line-height: 1.7
	}
}

/* ═══════════════════════════════════════════ ЗАЛА — аркада */
.hall {
	padding: var(--section-y) var(--gutter)
}

/* Мозаїка: велике фото + три менші */
.hall-mosaic {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px
}

.hall-tile {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	aspect-ratio: 1
}

.hall-tile:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 4 / 3
}

.hall-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%
}

.hall-tile figcaption {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 4px 10px;
	background: rgba(250, 251, 247, 0.92);
	border-radius: 2px;
	font-size: 13px;
	color: var(--ink)
}

@media (max-width: 599px) {
	.hall-tile:not(:first-child) figcaption {
		display: none
	}
}

@media (min-width: 960px) {
	.hall-mosaic {
		grid-template-columns: 6fr 3fr 3fr;
		grid-template-rows: 280px 280px;
		gap: 12px
	}

	.hall-tile,
	.hall-tile:first-child {
		aspect-ratio: auto
	}

	.hall-tile:first-child {
		grid-column: 1;
		grid-row: 1 / 3
	}

	.hall-tile:nth-child(2) {
		grid-column: 2 / 4
	}

	.hall-tile figcaption {
		left: 12px;
		bottom: 12px;
		font-size: 14px
	}
}

/* ═══════════════════════════════════════════ СВЯТА */
.events {
	display: grid;
	gap: 40px;
	padding: var(--section-y) var(--gutter);
	background: var(--stucco)
}

.events-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 2px
}

.events-list {
	list-style: none;
	margin-top: 32px;
	border-bottom: 1px solid var(--sage-line)
}

.event {
	padding: 28px 0;
	border-top: 1px solid var(--sage-line)
}

.event-title {
	font-size: var(--fs-xl);
	color: var(--ink)
}

.event-desc {
	margin-top: 10px;
	max-width: 52ch;
	color: var(--muted)
}

.event-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 8px;
	font-weight: 500;
	color: var(--velvet);
	text-decoration: underline;
	text-decoration-color: var(--brass);
	text-underline-offset: 6px;
	text-decoration-thickness: 1px
}

.event-link:hover {
	text-decoration-thickness: 2px
}

@media (min-width: 960px) {
	.events {
		grid-template-columns: 5fr 6fr;
		gap: clamp(48px, 6vw, 112px);
		align-items: start
	}

	.events-photo {
		position: sticky;
		top: calc(var(--nav-h) + 32px)
	}

	.events-photo img {
		aspect-ratio: auto;
		height: calc(100svh - var(--nav-h) - 64px);
		max-height: 820px
	}

	.event {
		padding: 36px 0
	}
}

/* ═══════════════════════════════════════════ КУХНЯ + МЕНЮ */
.kitchen {
	padding: var(--section-y) var(--gutter)
}

.dishes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 14px
}

.dish img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 2px
}

.dish figcaption {
	margin-top: 10px;
	font-size: 15px;
	color: var(--muted)
}

@media (min-width: 960px) {
	.dishes {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: clamp(16px, 2vw, 32px)
	}
}

/* Меню як друкована карта з подвійною латунною рамкою */
.menu-card {
	margin-top: 64px;
	padding: 40px 20px;
	background: var(--stucco);
	box-shadow:
		inset 0 0 0 1px var(--brass),
		inset 0 0 0 7px var(--stucco),
		inset 0 0 0 8px rgba(201, 163, 90, 0.5)
}

.menu-card-title {
	font-size: var(--fs-2xl);
	text-align: center
}

.menu-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
	margin: 20px 0 36px
}

.menu-tab {
	min-height: 44px;
	padding: 0 2px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: var(--fs-md);
	color: var(--muted);
	cursor: pointer;
	transition: color .2s, border-color .2s
}

.menu-tab:hover {
	color: var(--ink)
}

.menu-tab.active {
	color: var(--ink);
	font-weight: 500;
	border-bottom-color: var(--brass-dark)
}

.menu-panel {
	display: none
}

.menu-panel.active {
	display: block
}

.menu-group {
	break-inside: avoid;
	margin-bottom: 40px
}

.menu-group-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--sage-line);
	font-size: var(--fs-lg);
	color: var(--velvet)
}

.menu-item {
	padding: 10px 0
}

/* Страва з фото: мініатюра ліворуч, торкнутися — відкрити */
.menu-item.has-photo {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: start
}

.menu-item-photo {
	display: block;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 2px;
	cursor: zoom-in
}

.menu-item-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.menu-item-line {
	display: flex;
	align-items: baseline;
	gap: 8px
}

.menu-item-name {
	font-weight: 500
}

.menu-item-leader {
	flex: 1;
	min-width: 20px;
	border-bottom: 1px dotted var(--sage);
	transform: translateY(-4px)
}

.menu-item-price {
	font-family: var(--font-heading);
	font-size: var(--fs-lg);
	color: var(--brass-dark);
	white-space: nowrap
}

.menu-item-meta {
	margin-top: 2px;
	max-width: 52ch;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted)
}

.menu-item-weight {
	margin-left: 0.6em;
	white-space: nowrap;
	color: #66755F
}

.menu-item-weight.is-alone {
	margin-left: 0
}

.menu-more {
	display: flex;
	justify-content: center;
	margin-top: 16px
}

.menu-empty {
	max-width: 46ch;
	margin: 0 auto;
	padding: 24px 0 8px;
	text-align: center;
	color: var(--muted)
}

.menu-empty .btn {
	margin-top: 20px
}

@media (min-width: 960px) {
	.menu-card {
		margin-top: 96px;
		padding: 72px clamp(40px, 6vw, 96px)
	}

	.menu-card-title {
		font-size: var(--fs-2xl)
	}

	.menu-columns {
		columns: 2;
		column-gap: clamp(48px, 6vw, 96px)
	}
}

/* ═══════════════════════════════════════════ ФОТО */
.gallery {
	padding: var(--section-y) var(--gutter);
	background: var(--stucco)
}

.gallery-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 28px
}

.gallery-ig {
	font-weight: 500;
	color: var(--velvet);
	text-decoration-color: var(--brass);
	text-underline-offset: 5px
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px
}

.gallery-item {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 2px;
	cursor: zoom-in
}

.gallery-item.is-extra {
	display: none
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .2s
}

.gallery-item:hover img {
	opacity: 0.88
}

.gallery-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(46, 32, 25, 0.62);
	font-family: var(--font-heading);
	font-size: var(--fs-xl);
	color: var(--on-dark)
}

@media (min-width: 960px) {
	.gallery-head {
		margin-bottom: 40px
	}

	.gallery-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 10px
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap
}

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 12px;
	background: rgba(36, 24, 18, 0.95)
}

.lightbox[hidden] {
	display: none
}

.lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain
}

.lightbox-btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: none;
	border: none;
	color: var(--brass-light);
	cursor: pointer
}

.lightbox-btn svg {
	width: 28px;
	height: 28px
}

.lightbox-close { top: 8px; right: 8px }
.lightbox-prev  { left: 4px;  top: 50%; transform: translateY(-50%) }
.lightbox-next  { right: 4px; top: 50%; transform: translateY(-50%) }

@media (min-width: 960px) {
	.lightbox { padding: 64px 96px }
	.lightbox-prev { left: 24px }
	.lightbox-next { right: 24px }
}

/* ═══════════════════════════════════════════ КОНТАКТИ */
.contact {
	display: grid;
	gap: 48px;
	padding: var(--section-y) var(--gutter);
	background: var(--sign);
	color: var(--on-dark)
}

.contact .section-title {
	color: var(--on-dark)
}

.contact-lead {
	margin-top: 16px;
	max-width: 42ch;
	color: var(--on-dark-muted)
}

.contact-phone {
	display: inline-block;
	margin: 20px 0 36px;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	color: var(--brass-light);
	text-decoration: none
}

.contact-phone:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px
}

.contact-list {
	display: grid;
	gap: 20px
}

.contact-list dt {
	font-size: 14px;
	color: var(--sage)
}

.contact-list dd {
	margin-top: 2px
}

.contact-list a {
	text-underline-offset: 4px
}

.form-card {
	padding: 32px 20px;
	background: var(--stucco);
	color: var(--ink);
	border-radius: 2px
}

.form-title {
	font-size: var(--fs-xl)
}

.form-hint {
	margin-top: 6px;
	color: var(--muted)
}

.booking-form {
	display: grid;
	gap: 18px;
	margin-top: 28px
}

.field {
	display: grid;
	gap: 6px
}

.field label {
	font-size: 15px;
	font-weight: 500
}

.field-optional {
	font-weight: 400;
	color: var(--muted)
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select {
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #BFC8BC;
	border-radius: 2px;
	font: inherit;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s
}

.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--velvet);
	box-shadow: 0 0 0 3px rgba(36, 68, 59, 0.18)
}

.field [aria-invalid="true"] {
	border-color: var(--error)
}

.field-error {
	font-size: 14px;
	color: var(--error)
}

.field-error:empty {
	display: none
}

.field-row {
	display: grid;
	gap: 18px
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400 !important;
	cursor: pointer
}

.consent input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	accent-color: var(--velvet)
}

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden
}

.form-status:empty {
	display: none
}

.form-status.is-success {
	padding: 12px 14px;
	background: #E3EDE6;
	border-left: 3px solid var(--velvet);
	color: var(--velvet)
}

.form-status.is-error {
	padding: 12px 14px;
	background: #F6E7E3;
	border-left: 3px solid var(--error);
	color: var(--error)
}

.form-submit {
	width: 100%
}

.form-submit:disabled {
	opacity: 0.6;
	cursor: progress
}

@media (min-width: 600px) {
	.field-row {
		grid-template-columns: 1fr 1fr
	}
}

@media (min-width: 960px) {
	.contact {
		grid-template-columns: 1fr 1fr;
		gap: clamp(48px, 7vw, 128px);
		align-items: start
	}

	.contact .section-title {
		font-size: var(--fs-3xl)
	}

	.form-card {
		padding: 48px
	}
}

.contact-direct {
	margin: -12px 0 32px
}

/* ═══════════════════════════════════════════ FOOTER */
.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 48px var(--gutter) calc(48px + 64px + env(safe-area-inset-bottom));
	background: var(--sign-deep);
	text-align: center
}

.footer-note {
	font-size: 15px;
	color: var(--on-dark-muted)
}

.footer-copy {
	font-size: 14px;
	color: #9C9184
}

@media (min-width: 960px) {
	.footer {
		padding-bottom: 48px
	}
}

/* ═══════════════════════════════════════════ МОБІЛЬНА ПАНЕЛЬ ДЗВІНКА */
.call-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--sign);
	border-top: 1px solid rgba(201, 163, 90, 0.4)
}

.call-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	font-weight: 500;
	text-decoration: none
}

.call-bar-phone {
	color: var(--brass-light)
}

.call-bar-book {
	background: var(--brass);
	color: var(--sign)
}

@media (min-width: 960px) {
	.call-bar {
		display: none
	}
}

/* ═══════════════════════════════════════════ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto
	}

	.hero-sign-word span {
		animation: none;
		opacity: 1;
		text-shadow: 0 0 10px rgba(228, 198, 128, 0.35)
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important
	}
}

/* ═══════════════════════════════════════════ СТОРІНКА МЕНЮ (/menu/) */
.menu-page {
	background: var(--stucco)
}

.mp-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px var(--gutter);
	background: var(--sign)
}

.mp-home {
	text-decoration: none
}

.mp-logo .logo-grand {
	font-size: 26px
}

.mp-title {
	font-size: var(--fs-lg);
	color: var(--on-dark)
}

/* Закріплена панель: види меню + категорії */
.mp-bar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--stucco);
	border-bottom: 1px solid var(--sage-line)
}

.mp-tabs {
	display: flex;
	gap: 4px;
	padding: 8px var(--gutter) 0;
	overflow-x: auto;
	scrollbar-width: none
}

.mp-tab {
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 14px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	color: var(--muted);
	cursor: pointer
}

.mp-tab.active {
	color: var(--ink);
	font-weight: 500;
	border-bottom-color: var(--brass-dark)
}

.mp-chips {
	position: relative;
	display: flex;
	gap: 8px;
	padding: 10px var(--gutter) 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none
}

.mp-chips[hidden] {
	display: none
}

.mp-tabs::-webkit-scrollbar,
.mp-chips::-webkit-scrollbar {
	display: none
}

.mp-chip {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--sage-line);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: background-color .15s, color .15s, border-color .15s
}

.mp-chip.active {
	background: var(--velvet);
	border-color: var(--velvet);
	color: #fff
}

.mp-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 8px var(--gutter) 40px
}

.mp-panel[hidden] {
	display: none
}

.mp-cat {
	padding-top: 28px;
	scroll-margin-top: 120px
}

.mp-cat-title {
	margin-bottom: 6px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--sage-line);
	font-size: var(--fs-xl);
	color: var(--velvet)
}

.mp-cat .menu-item {
	padding: 14px 0;
	border-bottom: 1px solid #EEF1EC
}

.mp-cat .menu-item:last-child {
	border-bottom: none
}

.mp-empty {
	padding: 48px 0;
	text-align: center;
	color: var(--muted)
}

.mp-empty .btn {
	margin-top: 20px
}

.mp-foot {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--sage-line);
	font-size: 14px;
	color: var(--muted)
}

.mp-foot p + p {
	margin-top: 8px
}

.mp-foot a {
	color: var(--velvet);
	text-underline-offset: 4px
}

@media (min-width: 960px) {
	.mp-tabs,
	.mp-chips {
		justify-content: center
	}

	.menu-item.has-photo {
		grid-template-columns: 88px minmax(0, 1fr)
	}

	.menu-item-photo {
		width: 88px;
		height: 88px
	}
}
