/* Дім млинців — стилі */
:root {
	--cream: #faf6f0;
	--cream-dark: #f0e8dc;
	--brown: #4a3228;
	--brown-light: #6b4f42;
	--peach: #e8a86a;
	--peach-light: #f5d4b0;
	--gold: #c9924a;
	--shadow: rgba(74, 50, 40, 0.12);
	--radius: 16px;
	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Nunito", system-ui, sans-serif;
	--header-h: 80px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--brown);
	background: var(--cream);
	overflow-x: hidden;
}

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

a {
	color: var(--brown);
	text-decoration: none;
	transition: color 0.25s;
}

a:hover {
	color: var(--gold);
}

.container {
	width: min(1140px, 92vw);
	margin-inline: auto;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(250, 246, 240, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(74, 50, 40, 0.08);
	transition: box-shadow 0.3s;
}

.header--scrolled {
	box-shadow: 0 4px 24px var(--shadow);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.logo__img {
	height: 52px;
	width: auto;
}

.logo__text {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.1;
}

.nav {
	display: flex;
	gap: 2rem;
}

.nav a {
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
}

.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--peach);
	transition: width 0.3s;
}

.nav a:hover::after,
.nav a.is-active::after {
	width: 100%;
}

.nav a.is-active {
	color: var(--gold);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle span {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--brown);
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn--primary {
	background: var(--brown);
	color: var(--cream);
	box-shadow: 0 8px 24px rgba(74, 50, 40, 0.25);
}

.btn--primary:hover {
	background: var(--brown-light);
	color: var(--cream);
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(74, 50, 40, 0.3);
}

.btn--outline {
	background: transparent;
	border-color: var(--brown);
	color: var(--brown);
}

.btn--outline:hover {
	background: var(--brown);
	color: var(--cream);
	transform: translateY(-2px);
}

/* Hero */
.hero {
	position: relative;
	min-height: 100vh;
	padding-top: var(--header-h);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 168, 106, 0.25), transparent),
		radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 146, 74, 0.15), transparent),
		var(--cream);
	z-index: 0;
}

.hero__float {
	position: absolute;
	border-radius: 50%;
	background: var(--peach-light);
	opacity: 0.4;
	animation: float 8s ease-in-out infinite;
	z-index: 0;
}

.hero__float--1 { width: 120px; height: 120px; top: 15%; left: 5%; animation-delay: 0s; }
.hero__float--2 { width: 80px; height: 80px; top: 60%; right: 8%; animation-delay: -2s; }
.hero__float--3 { width: 60px; height: 60px; bottom: 20%; left: 25%; animation-delay: -4s; }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-24px) rotate(8deg); }
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	padding: 4rem 0 6rem;
}

.hero__tag {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gold);
	margin-bottom: 1rem;
	padding: 0.35rem 1rem;
	background: rgba(232, 168, 106, 0.2);
	border-radius: 999px;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.05;
	margin-bottom: 1.25rem;
}

.hero__title span {
	color: var(--gold);
}

.hero__lead {
	font-size: 1.15rem;
	max-width: 32ch;
	margin-bottom: 2rem;
	color: var(--brown-light);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.hero__stats {
	display: flex;
	gap: 2.5rem;
}

.hero__stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--gold);
	line-height: 1;
}

.hero__stat span {
	font-size: 0.85rem;
	color: var(--brown-light);
}

.hero__visual {
	position: relative;
}

.hero__owl {
	width: min(380px, 90%);
	margin-inline: auto;
	animation: owlPulse 4s ease-in-out infinite;
	filter: drop-shadow(0 20px 40px var(--shadow));
}

@keyframes owlPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}

.hero__plate {
	position: absolute;
	width: 140px;
	border-radius: var(--radius);
	box-shadow: 0 16px 40px var(--shadow);
	object-fit: cover;
	aspect-ratio: 1;
	animation: plateFloat 6s ease-in-out infinite;
}

.hero__plate--1 {
	top: -10%;
	right: -5%;
	animation-delay: 0s;
}

.hero__plate--2 {
	bottom: 5%;
	left: -10%;
	width: 120px;
	animation-delay: -2s;
}

@keyframes plateFloat {
	0%, 100% { transform: translateY(0) rotate(-3deg); }
	50% { transform: translateY(-12px) rotate(3deg); }
}

.hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--brown-light);
	z-index: 1;
}

.hero__scroll-line {
	width: 1px;
	height: 48px;
	background: linear-gradient(var(--peach), transparent);
	animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
	0%, 100% { transform: scaleY(0.3); opacity: 0.5; }
	50% { transform: scaleY(1); opacity: 1; }
}

/* Sections */
.section {
	padding: 5rem 0;
}

.section--alt {
	background: var(--cream-dark);
}

.section__head {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3.5rem;
}

.section__label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--gold);
	margin-bottom: 0.5rem;
}

.section__title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.section__subtitle {
	color: var(--brown-light);
}

/* About */
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.about__text p + p {
	margin-top: 1rem;
}

.about__quote {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--peach);
	background: rgba(232, 168, 106, 0.12);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
}

/* Gallery */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.gallery__item {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4/5;
	box-shadow: 0 12px 32px var(--shadow);
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
	transform: scale(1.08);
}

.gallery__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 2rem 1.25rem 1.25rem;
	background: linear-gradient(transparent, rgba(74, 50, 40, 0.85));
	color: var(--cream);
	font-weight: 600;
	transform: translateY(100%);
	transition: transform 0.4s;
}

.gallery__item:hover .gallery__caption {
	transform: translateY(0);
}

/* Features */
.features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.feature {
	padding: 2rem;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 8px 24px var(--shadow);
	text-align: center;
	transition: transform 0.3s;
}

.feature:hover {
	transform: translateY(-6px);
}

.feature__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.feature h3 {
	font-family: var(--font-display);
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
}

.feature p {
	font-size: 0.95rem;
	color: var(--brown-light);
}

/* CTA strip */
.cta-strip {
	background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
	color: var(--cream);
	padding: 4rem 0;
	text-align: center;
}

.cta-strip h2 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	margin-bottom: 0.75rem;
}

.cta-strip p {
	opacity: 0.9;
	margin-bottom: 1.5rem;
	max-width: 50ch;
	margin-inline: auto;
}

.cta-strip .btn--primary {
	background: var(--peach);
	color: var(--brown);
}

.cta-strip .btn--primary:hover {
	background: var(--peach-light);
	color: var(--brown);
}

/* Page hero (inner pages) */
.page-hero {
	padding: calc(var(--header-h) + 3rem) 0 3rem;
	text-align: center;
	background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.page-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	margin-bottom: 0.5rem;
}

.page-hero p {
	color: var(--brown-light);
	max-width: 55ch;
	margin-inline: auto;
}

/* Menu / Catalog */
.menu-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 3rem;
}

.menu-nav button {
	padding: 0.6rem 1.25rem;
	border: 2px solid var(--cream-dark);
	background: #fff;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--brown);
	cursor: pointer;
	transition: all 0.25s;
}

.menu-nav button:hover,
.menu-nav button.is-active {
	background: var(--brown);
	border-color: var(--brown);
	color: var(--cream);
}

.menu-category {
	margin-bottom: 3rem;
}

.menu-category__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--peach-light);
}

.menu-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.menu-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: baseline;
	padding: 1rem 0;
	border-bottom: 1px dashed rgba(74, 50, 40, 0.15);
}

.menu-item__dots {
	grid-column: 1 / -1;
	height: 1px;
	border-bottom: 1px dotted var(--peach-light);
	margin-top: -0.5rem;
	display: none;
}

.menu-item__name {
	font-weight: 700;
}

.menu-item__desc {
	font-size: 0.9rem;
	color: var(--brown-light);
	grid-column: 1;
}

.menu-item__price {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--gold);
	white-space: nowrap;
}

.menu-note {
	text-align: center;
	font-size: 0.9rem;
	color: var(--brown-light);
	margin-top: 2rem;
	font-style: italic;
}

/* Contacts */
.locations {
	display: grid;
	gap: 2rem;
}

.location-card {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 0;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 12px 40px var(--shadow);
}

.location-card__body {
	padding: 2rem;
}

.location-card__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	background: var(--peach-light);
	color: var(--brown);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}

.location-card h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.location-card__city {
	font-size: 1rem;
	color: var(--brown);
	margin-bottom: 0.75rem;
}

.location-card p {
	color: var(--brown-light);
	margin-bottom: 1rem;
}

.location-card__map {
	min-height: 280px;
	background: var(--cream-dark);
}

.location-card__map iframe {
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 0;
}

.how-to {
	margin-top: 4rem;
}

.how-to__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.step {
	text-align: center;
	padding: 1.5rem;
}

.step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brown);
	color: var(--cream);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}

.info-box {
	padding: 1.5rem;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 8px 24px var(--shadow);
}

.info-box h3 {
	font-family: var(--font-display);
	margin-bottom: 0.5rem;
}

/* Footer */
.footer {
	background: var(--brown);
	color: var(--cream);
	padding: 3rem 0 1.5rem;
	margin-top: 4rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer .logo__text {
	color: var(--cream);
}

.footer__tagline {
	margin-top: 0.75rem;
	opacity: 0.85;
	font-size: 0.95rem;
}

.footer h4 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	color: var(--peach-light);
}

.footer ul {
	list-style: none;
}

.footer li + li {
	margin-top: 0.35rem;
}

.footer a {
	color: rgba(250, 246, 240, 0.85);
}

.footer a:hover {
	color: var(--peach);
}

.footer__bottom {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.7;
}

.footer__credit {
	margin-top: 0.5rem;
}

.footer__checkbox-link {
	text-decoration: none;
	opacity: 1;
}

.footer__checkbox-link:hover {
	opacity: 1;
}

.checkbox-brand {
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #d4d4d4;
}

.checkbox-brand__box {
	background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Reveal animations */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
	.hero__grid,
	.about__grid,
	.location-card {
		grid-template-columns: 1fr;
	}

	.gallery__grid,
	.features__grid,
	.how-to__steps,
	.footer__grid,
	.contact-info {
		grid-template-columns: 1fr;
	}

	.hero__plate {
		display: none;
	}

	.location-card__map {
		min-height: 220px;
	}

	.hero__copy,
	.about__text {
		text-align: center;
	}

	.hero__copy {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero__lead {
		margin-inline: auto;
	}

	.hero__actions,
	.hero__stats {
		justify-content: center;
	}

	.hero__visual {
		margin-inline: auto;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 1.5rem;
		background: var(--cream);
		border-bottom: 1px solid rgba(74, 50, 40, 0.1);
		gap: 1rem;
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.35s, opacity 0.35s;
	}

	.nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.hero__stats {
		flex-wrap: wrap;
		gap: 1.5rem;
		justify-content: center;
	}

	.container {
		padding-inline: 1rem;
	}
}
