/* =========================================
   Splash page - Fattoria Galasso
========================================= */

.fg-splash-page {
	background: #ede7df;
	width: 100%;
	min-height: 100dvh;
	padding: 10px;
	display: flex;
	flex-direction: column;
}

.fg-splash-page,
.fg-splash-page * {
	box-sizing: border-box;
}

body.page-template-splash,
body.page-template-splash-php {
	margin: 0;
	background: #ede7df;
}

body.page-template-splash #content,
body.page-template-splash-php #content,
body.page-template-splash .site-content,
body.page-template-splash-php .site-content {
	margin: 0;
	padding: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

.fg-splash-hero {
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.fg-splash-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
}

.fg-splash-column {
	position: relative;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	background: #d9d0c4;
}

.fg-splash-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #d9d0c4;
	z-index: 1;
}

.fg-splash-column--restaurant .fg-splash-bg {
	background-position: center center;
}

.fg-splash-column--lab .fg-splash-bg {
	background-position: center center;
}

.fg-splash-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(46, 31, 26, 0.28);
}

.fg-splash-content {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 50px 60px;
}

.fg-splash-logo-wrap {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	width: 150px;
    height: 150px;
	background: #ede7df;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fg-splash-logo {
	display: block;
	width: 100%;
	height: auto;
}

.fg-splash-title {
	margin: 0 0 18px;
	font-size: 4rem;
	line-height: 0.95;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #f6efe7;
	text-transform: uppercase;
}

.fg-splash-subtitle {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f1d3bc;
}

.fg-splash-divider {
	width: 58px;
	height: 1px;
	background: rgba(246, 239, 231, 0.9);
	margin: 20px 0 22px;
}

.fg-splash-text {
    font-family: "Cormorant Garamond", sans-serif;
	margin: 0 0 26px;
	font-size: 1.3rem;
	line-height: 1.28;
	font-style: italic;
	font-weight: 400;
	color: #f6efe7;
	max-width: 360px;
}

.fg-splash-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 250px;
	padding: 20px 30px;
	font-size: 0.9rem;
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	transition: all 0.25s ease;
	border-radius: 10px;
}

.fg-splash-button::after {
	content: "→";
	display: inline-block;
	margin-left: 10px;
	font-size: 1rem;
	line-height: 1;
}

.fg-splash-button--restaurant {
	background: #3a4328;
}

.fg-splash-button--restaurant:hover,
.fg-splash-button--restaurant:focus {
	background: #2d351f;
	color: #fff;
}

.fg-splash-button--lab {
	background: #59352b;
}

.fg-splash-button--lab:hover,
.fg-splash-button--lab:focus {
	background: #3f241d;
	color: #fff;
}

/* =========================================
   Footer
========================================= */

.fg-splash-footer {
	width: 100%;
    margin: 0;
	background: #101612;
	padding: 20px 28px 16px;
	flex: 0 0 auto;
}

.fg-splash-footer-top {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	align-items: center;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(216, 207, 195, 0.28);
}

.fg-footer-feature {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 0;
	text-align: center;
}

.fg-footer-feature:not(:last-child) {
	padding-right: 14px;
	border-right: 1px solid rgba(216, 207, 195, 0.22);
}

.fg-footer-feature__icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(216, 207, 195, 0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d8cfc3;
}

.fg-footer-feature__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.fg-footer-feature__content h3 {
	margin: 0 0 3px;
	font-size: 1rem;
	line-height: 1.1;
	font-weight: 600;
	text-transform: uppercase;
	color: #f5ebdd;
}

.fg-footer-feature__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.fg-footer-feature__content p {
	margin: 0;
	font-size: 0.83rem;
	line-height: 1.25;
	color: #d8cfc3;
}

.fg-splash-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding-top: 14px;
}

.fg-splash-footer-address {
	margin: 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 0.95rem;
	line-height: 1.2;
	color: #f5ebdd;
	text-align: center;
}

.fg-splash-footer-social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fg-splash-footer-social a {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(216, 207, 195, 0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f5ebdd;
	text-decoration: none;
	transition: all 0.25s ease;
}

.fg-splash-footer-social a:hover,
.fg-splash-footer-social a:focus {
	background: rgba(245, 235, 221, 0.08);
	color: #fff;
}

.fg-splash-footer-social svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1200px) {
	.fg-splash-page {
		padding: 8px;
	}

	.fg-splash-column {
		min-height: 0;
	}

	.fg-splash-title {
		font-size: 3.5rem;
	}

	.fg-splash-text {
		font-size: 1rem;
		max-width: 320px;
	}

	.fg-splash-footer-top {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 18px;
	}

	.fg-footer-feature:nth-child(2),
	.fg-footer-feature:nth-child(4) {
		border-right: none;
		padding-right: 0;
	}
}

@media (max-width: 991px) {
	.fg-splash-columns {
		grid-template-columns: 1fr;
	}

	.fg-splash-column {
		min-height: 520px;
	}

	.fg-splash-logo-wrap {
		width: 128px;
		top: 10px;
	}

	.fg-splash-content {
		padding: 110px 36px 50px;
	}

	.fg-splash-title {
		font-size: 3.2rem;
	}

	.fg-splash-footer {
		padding: 20px 22px 16px;
	}

	.fg-splash-footer-top {
		grid-template-columns: 1fr 1fr;
	}

	.fg-splash-footer-bottom {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.fg-splash-page {
		padding: 6px;
	}

	.fg-splash-columns {
		gap: 8px;
	}

	.fg-splash-column {
		min-height: 460px;
	}

	.fg-splash-logo-wrap {
		position: absolute;
		top: 8px;
		width: 110px;
		padding: 8px 8px 10px;
	}

	.fg-splash-content {
		padding: 105px 24px 40px;
	}

	.fg-splash-title {
		font-size: 2.7rem;
		margin-bottom: 14px;
	}

	.fg-splash-subtitle {
		font-size: 0.86rem;
		letter-spacing: 0.1em;
	}

	.fg-splash-divider {
		margin: 16px 0 18px;
	}

	.fg-splash-text {
		font-size: 1.15rem;
		line-height: 1.25;
		max-width: 280px;
		margin-bottom: 22px;
	}

	.fg-splash-button {
		min-width: 220px;
		padding: 16px 22px;
		font-size: 0.88rem;
	}

	.fg-splash-footer {
		margin-top: 8px;
		padding: 18px 18px 14px;
	}

	.fg-splash-footer-top {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.fg-footer-feature {
		border-right: none !important;
		padding-right: 0 !important;
	}

	.fg-footer-feature__icon {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
	}

	.fg-footer-feature__content h3 {
		font-size: 0.94rem;
	}

	.fg-footer-feature__content p {
		font-size: 0.8rem;
	}

	.fg-splash-footer-address {
		font-size: 0.9rem;
	}

	.fg-splash-footer-social a {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 480px) {
	.fg-splash-column {
		min-height: 420px;
	}

	.fg-splash-title {
		font-size: 2.3rem;
	}

	.fg-splash-text {
		font-size: 1.02rem;
		max-width: 240px;
	}

	.fg-splash-button {
		min-width: 200px;
		font-size: 0.82rem;
		padding: 15px 20px;
	}

	.fg-splash-footer {
		padding: 16px 14px 12px;
	}
}