.nicolau-restaurant-hero {
	--nicolau-restaurant-hero-bg: var(--nicolau-color-cream, #f6f3e4);
	--nicolau-restaurant-hero-ink: var(--nicolau-color-green-dark, #022e22);
	--nicolau-restaurant-hero-font-heading: var(--nicolau-font-heading, sans-serif);

--nicolau-restaurant-hero-accent: var(--nicolau-restaurant-color, var(--nicolau-color-green-soft, #70a990));
--nicolau-restaurant-hero-accent-dark: var(--nicolau-restaurant-color-dark, var(--nicolau-color-green-dark, #022e22));
--nicolau-restaurant-hero-accent-contrast: #fff;

	min-height: 100svh;
	background: var(--nicolau-restaurant-hero-bg);
	color: var(--nicolau-restaurant-hero-ink);
}

.nicolau-restaurant-hero,
.nicolau-restaurant-hero * {
	box-sizing: border-box;
}

.nicolau-restaurant-hero__inner {
	display: grid;
	grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.05fr);
	align-items: center;
	gap: clamp(48px, 7vw, 118px);
	min-height: 100svh;
}

.nicolau-restaurant-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: var(--nicolau-layout-width-compact);
}

.nicolau-restaurant-hero__location {
	margin: 0 0 22px;
	font-family: var(--nicolau-restaurant-hero-font-heading);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.nicolau-restaurant-hero__logo {
	width: 100%;
	margin: 0 0 22px;
}

.nicolau-restaurant-hero__logo-image {
	display: block;
	width: auto;
	max-width: min(290px, 100%);
	max-height: 150px;
	object-fit: contain;
}

.nicolau-restaurant-hero__title {
	margin: 0;
	font-family: var(--nicolau-restaurant-hero-font-heading);
	font-weight: 800;
	line-height: 0.95;
	text-transform: uppercase;
}

.nicolau-restaurant-hero__text {
	max-width: 350px;
	margin: 0 0 30px;
	font-family: var(--nicolau-restaurant-hero-font-heading);
	font-weight: 400;
	line-height: 1.34;
}

.nicolau-restaurant-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	transition:
		opacity 420ms ease,
		transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nicolau-restaurant-hero__button {
	min-width: 164px;
	max-width: 100%;
	min-height: 48px;
	padding: 0 24px;
	font-family: var(--nicolau-restaurant-hero-font-heading);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.24em;
	border: 1px solid var(--nicolau-restaurant-hero-ink);
	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.nicolau-restaurant-hero__button:hover,
.nicolau-restaurant-hero__button:focus-visible {
	transform: translateY(-1px);
}

.nicolau-restaurant-hero__button--primary {
		color: #fff;
	background: var(--nicolau-restaurant-hero-accent);
	border-color: var(--nicolau-restaurant-hero-accent);
	text-shadow: 0 1px 2px rgba(var(--nicolau-color-green-dark-rgb, 2, 46, 34), 0.28);
}

.nicolau-restaurant-hero__button--primary:hover,
.nicolau-restaurant-hero__button--primary:focus-visible {
	color: #fff;
	background: var(--nicolau-restaurant-hero-accent-dark);
	border-color: var(--nicolau-restaurant-hero-accent-dark);
	text-shadow: 0 1px 2px rgba(var(--nicolau-color-green-dark-rgb, 2, 46, 34), 0.32);
}

.nicolau-restaurant-hero__button--secondary {
	color: var(--nicolau-restaurant-hero-accent-dark);
	background: transparent;
	border-color: var(--nicolau-restaurant-hero-accent-dark);
}

.nicolau-restaurant-hero__button--secondary:hover,
.nicolau-restaurant-hero__button--secondary:focus-visible {
	color: var(--nicolau-restaurant-hero-accent-contrast);
	background: var(--nicolau-restaurant-hero-accent-dark);
	border-color: var(--nicolau-restaurant-hero-accent-dark);
}

.nicolau-restaurant-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.nicolau-restaurant-hero__portrait {
	position: relative;
	width: min(42vw, 700px);
	max-width: 100%;
	aspect-ratio: 1 / 1.05;
	transform: rotate(-2deg);
	transform-origin: 50% 0%;
	animation: nicolau-restaurant-hero-portrait-sway 2.4s linear infinite alternate;
}

.nicolau-restaurant-hero__portrait-window {
	position: absolute;
	z-index: 1;
	top: 25%;
	right: 15%;
	bottom: 10%;
	left: 15%;
	overflow: hidden;
	background: transparent;
}

.nicolau-restaurant-hero__illustration,
.nicolau-restaurant-hero__portrait-window img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nicolau-restaurant-hero__illustration-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(var(--nicolau-color-green-dark-rgb, 2, 46, 34), 0.08);
}

.nicolau-restaurant-hero__frame {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.nicolau-restaurant-hero__notice {
	padding: 16px;
	color: #7a3d00;
	background: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 6px;
}

/* Themify tablet */
@media (max-width: 1024px) {
	.nicolau-restaurant-hero__inner {
		grid-template-columns: minmax(210px, 0.72fr) minmax(300px, 1fr);
		gap: clamp(28px, 5vw, 58px);
	}

	.nicolau-restaurant-hero__content {
		max-width: 270px;
	}

	.nicolau-restaurant-hero__location {
		margin-bottom: 34px;
		font-size: 11px;
		letter-spacing: 0.18em;
	}

	.nicolau-restaurant-hero__logo {
		margin-bottom: 22px;
	}

	.nicolau-restaurant-hero__logo-image {
		max-width: 210px;
		max-height: 110px;
	}

	.nicolau-restaurant-hero__text {
		max-width: 230px;
		margin-bottom: 24px;
		line-height: 1.16;
	}

	.nicolau-restaurant-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		max-width: 220px;
	}

	.nicolau-restaurant-hero__button {
		width: 100%;
		min-width: 0;
		min-height: 44px;
		font-size: 9px;
		letter-spacing: 0.22em;
	}

	.nicolau-restaurant-hero__portrait {
		width: min(48vw, 390px);
	}
}

/* Themify mobile */
@media (max-width: 768px) {
	.nicolau-restaurant-hero {
		min-height: auto;
		padding-bottom: 84px;
	}

	.nicolau-restaurant-hero__inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		min-height: auto;
		padding-block: 104px 34px;
	}

	.nicolau-restaurant-hero__content {
		display: contents;
	}

	.nicolau-restaurant-hero__visual {
		order: 1;
		width: 100%;
		margin-bottom: 34px;
	}

	.nicolau-restaurant-hero__portrait {
		width: min(100%, 292px);
	}

	.nicolau-restaurant-hero__location {
		display: none;
	}

	.nicolau-restaurant-hero__logo {
		order: 2;
		width: 100%;
		margin: 0 0 24px;
	}

	.nicolau-restaurant-hero__logo-image {
		margin: 0 auto;
		max-width: 224px;
		max-height: 118px;
	}

	.nicolau-restaurant-hero__text {
		order: 3;
		max-width: 285px;
		margin: 0 auto 28px;
		line-height: 1.18;
		text-align: center;
	}

	.nicolau-restaurant-hero__actions {
	order: 4;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	width: min(100%, 282px);
	max-width: 100%;
	margin: 0 auto;
	transition:
		opacity 220ms ease,
		transform 220ms ease;
}

.nicolau-restaurant-hero__button {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 48px;
	padding: 0 18px;
	font-size: 9px;
	letter-spacing: 0.22em;
}

.nicolau-restaurant-hero__actions.is-mobile-sticky {
	position: fixed;
	z-index: 9998;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 8px;
	background: color-mix(in srgb, var(--nicolau-restaurant-hero-bg) 88%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(var(--nicolau-color-green-dark-rgb, 2, 46, 34), 0.12);
	animation: nicolau-restaurant-sticky-actions-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nicolau-restaurant-hero__actions.is-mobile-sticky .nicolau-restaurant-hero__button--secondary {
	display: none;
}

.nicolau-restaurant-hero__actions.is-mobile-sticky .nicolau-restaurant-hero__button--primary {
	min-height: 50px;
	box-shadow: none;
}

	.nicolau-restaurant-hero__actions.is-mobile-sticky .nicolau-restaurant-hero__button--primary {
		min-height: 54px;
		box-shadow: 0 8px 24px rgba(var(--nicolau-color-green-dark-rgb, 2, 46, 34), 0.16);
	}
}

/* Themify small mobile */
@media (max-width: 600px) {
	.nicolau-restaurant-hero__inner {
		padding-top: 96px;
	}

	.nicolau-restaurant-hero__portrait {
		width: min(100%, 286px);
	}

	.nicolau-restaurant-hero__visual {
		margin-bottom: 32px;
	}

	.nicolau-restaurant-hero__logo-image {
		max-width: 218px;
	}

	.nicolau-restaurant-hero__text {
		max-width: 272px;
	}
}

@keyframes nicolau-restaurant-sticky-actions-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nicolau-restaurant-hero-portrait-sway {
	from {
		transform: rotate(-2deg);
	}

	to {
		transform: rotate(2deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nicolau-restaurant-hero__portrait {
		animation: none;
		transform: rotate(-2deg);
	}

	.nicolau-restaurant-hero__actions.is-mobile-sticky {
		animation: none;
	}
}
