:root {
	--color-ink: #062b52;
	--color-ink-soft: #244569;
	--color-paper: #fbf7ee;
	--color-warm: #efe4d2;
	--color-border: #dfd3c0;
	--color-gold: #a28755;
	--color-body: #2c2b28;
	--font-serif: "Cormorant Garamond", Georgia, serif;
	--font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--color-paper);
	color: var(--color-body);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
video {
	display: block;
	max-width: 100%;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(251, 247, 238, 0.9);
	border-bottom: 1px solid rgba(6, 43, 82, 0.08);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1180px, calc(100% - 32px));
	min-height: 84px;
	margin: 0 auto;
	gap: 28px;
}

.custom-logo {
	width: auto;
	max-height: 62px;
}

.site-logo-image img {
	width: 170px;
	height: auto;
}

.site-logo-text {
	display: inline-grid;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 0.9;
	text-transform: uppercase;
}

.site-logo-text strong {
	font-size: 1.65rem;
	font-weight: 700;
}

.site-nav__list,
.footer-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav a {
	color: var(--color-ink);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--color-border);
	background: transparent;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--color-ink);
}

.hero {
	position: relative;
	display: grid;
	min-height: clamp(620px, 78vh, 860px);
	overflow: hidden;
	isolation: isolate;
}

.hero__media,
.hero__slide,
.hero__slide img,
.hero__slide video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__slide {
	opacity: 0;
	transition: opacity 700ms ease;
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__slide img,
.hero__slide video {
	object-fit: cover;
}

.hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	background: linear-gradient(90deg, rgba(251, 247, 238, 0.94) 0%, rgba(251, 247, 238, 0.72) 42%, rgba(251, 247, 238, 0.18) 100%);
}

.hero__content {
	position: relative;
	z-index: 2;
	align-self: center;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 90px 0;
}

.hero__content p:first-child {
	margin: 0 0 8px;
	color: var(--color-gold);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero h1,
.section h2,
.story-band h2,
.page-hero h1,
.single-content h1 {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.98;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 580px;
	font-size: clamp(3.15rem, 7vw, 7.5rem);
}

.hero__content div {
	max-width: 440px;
	margin: 24px 0 32px;
	color: #2f2d27;
	font-size: 1.04rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	border: 1px solid var(--color-ink);
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.button--primary {
	background: var(--color-ink);
	color: #fff;
}

.hero__dots {
	position: absolute;
	z-index: 3;
	right: 34px;
	bottom: 30px;
	display: flex;
	gap: 10px;
}

.hero__dots button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
	background: transparent;
}

.hero__dots button.is-active {
	background: var(--color-ink);
}

.section,
.content-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 78px 0;
}

.section__header {
	margin-bottom: 34px;
	text-align: center;
}

.section__action {
	margin: 34px 0 0;
	text-align: center;
}

.section h2,
.story-band h2,
.page-hero h1 {
	font-size: clamp(2.2rem, 4vw, 4rem);
}

.estavas-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.estavas-product {
	display: grid;
	align-content: start;
	min-height: 100%;
	text-align: center;
}

.estavas-product__media {
	display: grid;
	place-items: end center;
	aspect-ratio: 3 / 4;
	padding: 18px;
	background: linear-gradient(180deg, #fffaf2 0%, #f2e8d7 100%);
	border: 1px solid rgba(6, 43, 82, 0.08);
}

.estavas-product__media img {
	width: auto;
	max-height: 100%;
	object-fit: contain;
}

.estavas-product h3 {
	margin: 16px 0 4px;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.45rem;
	line-height: 1.1;
}

.estavas-product__price {
	margin: 0;
	color: var(--color-ink-soft);
	font-weight: 700;
}

.story-band {
	min-height: 430px;
	display: grid;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(251, 247, 238, 0.95), rgba(251, 247, 238, 0.68), rgba(251, 247, 238, 0.12)),
		url("../img/herdade-estavas.png") center / cover;
	border-block: 1px solid rgba(6, 43, 82, 0.08);
}

.story-band__content {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.story-band p {
	max-width: 430px;
}

.story-band a {
	color: var(--color-ink);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.split-section {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.split-section h2 {
	margin: 0 0 16px;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1;
	text-transform: uppercase;
}

.split-section img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid rgba(6, 43, 82, 0.08);
}

.values__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-block: 1px solid var(--color-border);
}

.values article {
	padding: 34px;
	text-align: center;
	border-right: 1px solid var(--color-border);
}

.values article:last-child {
	border-right: 0;
}

.values span {
	color: var(--color-gold);
	font-size: 2rem;
}

.values h3 {
	margin: 10px 0;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.5rem;
	text-transform: uppercase;
}

.page-hero {
	display: grid;
	place-items: center;
	min-height: 270px;
	padding: 56px 16px;
	background: var(--color-warm);
	text-align: center;
}

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

.post-card {
	background: #fffaf2;
	border: 1px solid rgba(6, 43, 82, 0.08);
}

.post-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-card h2,
.post-card p {
	padding-inline: 18px;
}

.single-content {
	max-width: 820px;
}

.product-single {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.product-single__media {
	display: grid;
	place-items: center;
	min-height: 480px;
	background: linear-gradient(180deg, #fffaf2 0%, #f2e8d7 100%);
	border: 1px solid rgba(6, 43, 82, 0.08);
}

.product-single__media img {
	max-height: 560px;
	object-fit: contain;
}

.product-single__kicker,
.product-single__price {
	color: var(--color-ink);
	font-weight: 800;
}

.product-single h1 {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: clamp(2.4rem, 5vw, 5rem);
	line-height: 1;
	text-transform: uppercase;
}

.feature-list {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 26px 0;
	list-style: none;
}

.feature-list li::before {
	margin-right: 9px;
	color: var(--color-gold);
	content: "•";
}

.recipe-single {
	max-width: 860px;
}

.recipe-single__ingredients {
	padding: 26px;
	margin: 26px 0;
	background: #fffaf2;
	border: 1px solid rgba(6, 43, 82, 0.08);
}

.recipe-single__ingredients h2 {
	margin-top: 0;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 2rem;
}

.single-content__header img {
	width: 100%;
	margin: 28px 0;
}

.site-footer {
	background: var(--color-ink);
	color: #fff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 44px;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 48px 0;
}

.site-footer .site-logo-text {
	color: #fff;
}

.site-footer .site-logo-image img {
	filter: brightness(0) invert(1);
}

.site-footer h2 {
	margin: 0 0 8px;
	font-family: var(--font-serif);
	font-size: 1.7rem;
	text-transform: uppercase;
}

.site-footer p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.footer-nav {
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.85rem;
}

.site-footer__copy {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.82rem;
}

@media (max-width: 860px) {
	.site-nav {
		position: fixed;
		inset: 84px 0 auto 0;
		display: none;
		padding: 22px 16px;
		background: var(--color-paper);
		border-bottom: 1px solid var(--color-border);
	}

	body.is-menu-open .site-nav {
		display: block;
	}

	.site-nav__list {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		width: min(1180px, calc(100% - 32px));
		margin: 0 auto;
	}

	.menu-toggle {
		display: block;
	}

	.hero {
		min-height: 660px;
	}

	.hero::after {
		background: linear-gradient(180deg, rgba(251, 247, 238, 0.96), rgba(251, 247, 238, 0.74), rgba(251, 247, 238, 0.3));
	}

	.estavas-products,
	.post-grid,
	.product-single,
	.split-section,
	.values__grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.values article {
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.values article:last-child {
		border-bottom: 0;
	}
}
