/* USED BY: index.php (direct <link>). */
/*
 * Heyri homepage modernization foundation.
 * Scope: main homepage only, under .home-modern.
 * Phase 1 intentionally avoids visible redesign and global selectors.
 */

.home-modern {
	--home-space-xs: 0.5rem;
	--home-space-sm: 0.75rem;
	--home-space-md: 1rem;
	--home-space-lg: 1.5rem;
	--home-space-xl: 2rem;
	--home-radius-sm: 8px;
	--home-radius-md: 16px;
	--home-radius-lg: 24px;
	--home-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
	--home-shadow-lifted: 0 18px 44px rgba(0, 0, 0, 0.12);
	--home-transition-fast: 160ms ease;
	--home-transition-base: 240ms ease;
}

.home-modern,
.home-modern *,
.home-modern *::before,
.home-modern *::after {
	box-sizing: border-box;
}

.home-modern img {
	max-width: 100%;
}

.home-modern .home-media,
.home-modern .home-trio {
	position: relative;
}

.home-modern .home-trio {
	margin-top: clamp(1.5rem, 4vw, 3rem);
	background: transparent;
}

.home-footer-prelude {
	padding: 0 0 2rem;
}

.home-footer-prelude__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.1rem;
	padding: 1.15rem 1.25rem;
	margin-top: 1rem;
	border: 1px solid rgba(126, 104, 81, 0.12);
	border-radius: 18px;
	background: rgba(255, 253, 248, 0.95);
	box-shadow: 0 14px 30px rgba(66, 49, 34, 0.06);
}

.home-footer-prelude__content {
	min-width: 0;
	max-width: 540px;
}

.home-footer-prelude__eyebrow {
	margin: 0 0 0.2rem;
	color: #8f6249;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-footer-prelude__title {
	margin: 0;
	color: #2f241c;
	font-family: var(--font-body);
	font-size: clamp(1.18rem, 2.1vw, 1.55rem);
	line-height: 1.28;
}

.home-footer-prelude__description {
	margin: 0.28rem 0 0;
	color: #5c5147;
	font-family: var(--font-sans);
	font-size: 0.93rem;
	line-height: 1.55;
	word-break: keep-all;
}

.home-footer-prelude__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.home-footer-prelude__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.6rem 1.05rem;
	border: 1px solid rgba(44, 95, 88, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #2c5f58;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.home-footer-prelude__action--primary {
	border-color: #2c5f58;
	background: #2c5f58;
	color: #fff;
}

.home-footer-prelude__action:hover {
	border-color: #244f49;
	color: #244f49;
	text-decoration: none;
}

.home-footer-prelude__action--primary:hover {
	background: #244f49;
	color: #fff;
}

.home-footer-prelude__action:focus-visible {
	outline: 2px solid rgba(44, 95, 88, 0.3);
	outline-offset: 2px;
}

.home-modern .home-media__header {
	max-width: 720px;
	margin-right: auto;
	margin-left: auto;
}

.home-modern .home-trio__intro-title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	font-weight: 700;
	line-height: 1.3;
}

.home-modern .home-trio__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: clamp(1rem, 2vw, 1.5rem);
}

.home-modern .home-trio__status-card,
.home-modern .home-trio__intro-card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid rgba(126, 104, 81, 0.12);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 12px 26px rgba(66, 49, 34, 0.06);
}

.home-modern .home-trio__status-card {
	justify-content: flex-start;
	text-align: left;
}

.home-modern .home-trio__intro-card {
	transition: transform var(--home-transition-base), box-shadow var(--home-transition-base);
}

.home-modern .home-trio__intro-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(66, 49, 34, 0.1);
}

.home-modern .home-trio__eyebrow {
	margin-bottom: 0.6rem;
	color: #8f6249;
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-modern .home-trio__detail {
	margin-bottom: 1rem;
	color: #5c5147;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	line-height: 1.6;
}

.home-modern .home-trio__detail strong {
	color: #2c5f58;
}

.home-modern .home-trio__reservation-list {
	display: flex;
	flex-direction: column;
	margin: 0 0 1rem;
	padding: 0 0 0 0.35rem;
	list-style: none;
}

.home-modern .home-trio__reservation-list li {
	position: relative;
	padding: 0.62rem 0 0.62rem 1.95rem;
	color: #5c5147;
	font-family: var(--font-sans);
	font-size: 0.88rem;
	line-height: 1.5;
	border-bottom: 1px solid rgba(126, 104, 81, 0.1);
	word-break: keep-all;
}

.home-modern .home-trio__reservation-list li::before {
	content: "";
	position: absolute;
	top: 0.77rem;
	left: 0.15rem;
	width: 1.15rem;
	height: 1.15rem;
	border: 1px solid rgba(44, 95, 88, 0.22);
	border-radius: 50%;
	background:
		linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
		#edf4ea;
	box-shadow: 0 4px 10px rgba(44, 95, 88, 0.08);
}

.home-modern .home-trio__reservation-list li::after {
	content: "";
	position: absolute;
	top: 1.07rem;
	left: 0.49rem;
	width: 0.46rem;
	height: 0.46rem;
	border-radius: 50%;
	background: #2c5f58;
	opacity: 0.74;
}

.home-modern .home-trio__reservation-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.home-modern .home-trio__reservation-list li strong {
	color: #2c5f58;
}

.home-modern .home-trio__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	color: #2c5f58;
	font-family: var(--font-sans);
	font-weight: 700;
	text-decoration: none;
}

.home-modern .home-trio__link:hover {
	color: #244f49;
	text-decoration: none;
}

.home-modern .home-trio__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: auto;
}

.home-modern .home-trio__links .home-trio__link {
	flex: 1 1 auto;
	min-height: 42px;
	margin-top: 0;
	padding: 0.5rem 1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.85rem;
	transition: transform var(--home-transition-base), box-shadow var(--home-transition-base), background-color var(--home-transition-base), color var(--home-transition-base), border-color var(--home-transition-base);
}

.home-modern .home-trio__link--primary {
	background: #2c5f58;
	color: #fff;
	box-shadow: 0 10px 20px rgba(44, 95, 88, 0.18);
}

.home-modern .home-trio__link--primary:hover {
	background: #244f49;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(44, 95, 88, 0.22);
}

.home-modern .home-trio__link--secondary {
	border-color: rgba(44, 95, 88, 0.28);
	background: rgba(255, 255, 255, 0.6);
	color: #2c5f58;
}

.home-modern .home-trio__link--secondary:hover {
	border-color: rgba(44, 95, 88, 0.5);
	background: #fff;
	color: #244f49;
	transform: translateY(-1px);
}

.home-modern .home-media__preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.home-modern .home-media__preview-tile {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid rgba(126, 104, 81, 0.12);
	border-radius: 12px;
	background: #f4efe8;
	box-shadow: 0 8px 16px rgba(66, 49, 34, 0.06);
	transition: box-shadow var(--home-transition-base), border-color var(--home-transition-base);
}

.home-modern .home-trio__intro-card:hover .home-media__preview-tile {
	border-color: rgba(44, 95, 88, 0.2);
	box-shadow: 0 16px 32px rgba(66, 49, 34, 0.12);
}

.home-modern .home-media__preview-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-modern .home-corporate {
	margin: clamp(2.5rem, 5vw, 4.5rem) auto;
	padding-right: clamp(0.75rem, 2vw, 1.5rem);
	padding-left: clamp(0.75rem, 2vw, 1.5rem);
}

.home-modern .home-corporate__inner {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(1.35rem, 3vw, 2.25rem);
	border: 1px solid rgba(126, 104, 81, 0.12);
	border-radius: 28px;
	background:
		radial-gradient(circle at 88% 16%, rgba(174, 195, 176, 0.18), transparent 26%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 239, 232, 0.9)),
		#fdfbf7;
	box-shadow: 0 18px 42px rgba(66, 49, 34, 0.08);
}

.home-modern .home-corporate__header {
	max-width: 840px;
}

.home-modern .home-corporate__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin-bottom: 0.7rem;
	padding: 0.25rem 0.7rem;
	border: 1px solid rgba(44, 95, 88, 0.14);
	border-radius: 999px;
	background: rgba(174, 195, 176, 0.18);
	color: #2c5f58;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
}

.home-modern .home-corporate__title {
	margin: 0;
	color: #2f241c;
	font-family: var(--font-body);
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.3;
}

.home-modern .home-corporate__description {
	max-width: 680px;
	margin: 0.7rem 0 0;
	color: #5c5147;
	font-family: var(--font-sans);
	font-size: clamp(0.95rem, 1.5vw, 1.05rem);
	line-height: 1.65;
}

.home-modern .home-corporate__description-desktop {
	display: inline;
}

.home-modern .home-corporate__description-mobile {
	display: none;
}

.home-modern .home-corporate__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.85rem;
}

.home-modern .home-corporate__chip {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0.22rem 0.58rem;
	border: 1px solid rgba(143, 98, 73, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	color: #6d5a49;
	font-family: var(--font-sans);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
}

.home-modern .home-corporate__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.6vw, 1rem);
	margin-top: clamp(1.35rem, 2.5vw, 1.9rem);
}

.home-modern .home-corporate__card {
	min-width: 0;
	padding: 1.05rem 1rem;
	border: 1px solid rgba(44, 95, 88, 0.12);
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58)),
		rgba(255, 255, 255, 0.62);
	box-shadow: 0 12px 26px rgba(66, 49, 34, 0.07);
}

.home-modern .home-corporate__metric {
	display: block;
	margin-bottom: 0.35rem;
	color: #8f6249;
	font-family: var(--font-body);
	font-size: clamp(1.75rem, 3.2vw, 2.45rem);
	font-weight: 800;
	line-height: 1;
}

.home-modern .home-corporate__card h3 {
	margin: 0;
	color: #2c5f58;
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.3;
}

.home-modern .home-corporate__card p {
	margin: 0.3rem 0 0;
	color: #5c5147;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	line-height: 1.45;
}

.home-modern .home-corporate__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(1rem, 2vw, 1.5rem);
	padding-top: 1rem;
	border-top: 1px solid rgba(126, 104, 81, 0.12);
}

.home-modern .home-corporate__note {
	margin: 0;
	color: #6d5a49;
	font-family: var(--font-sans);
	font-size: 0.86rem;
	line-height: 1.5;
}

.home-modern .home-corporate__cta {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.home-modern .home-corporate__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.55rem 1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: transform var(--home-transition), box-shadow var(--home-transition), background-color var(--home-transition), color var(--home-transition);
}

.home-modern .home-corporate__button:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.home-modern .home-corporate__button--primary {
	background: #2c5f58;
	color: #fff;
	box-shadow: 0 12px 24px rgba(44, 95, 88, 0.18);
}

.home-modern .home-corporate__button--primary:hover {
	color: #fff;
	background: #244f49;
	box-shadow: 0 14px 28px rgba(44, 95, 88, 0.22);
}

.home-modern .home-corporate__button--secondary {
	border-color: rgba(143, 98, 73, 0.18);
	background: rgba(255, 255, 255, 0.72);
	color: #6d5a49;
}

.home-modern .home-corporate__button--secondary:hover {
	color: #2f241c;
	background: #fff;
	box-shadow: 0 10px 20px rgba(66, 49, 34, 0.08);
}

@media (max-width: 991.98px) {
	.home-modern {
		--home-space-lg: 1.25rem;
		--home-space-xl: 1.5rem;
	}

	.home-modern .home-trio__grid {
		grid-template-columns: 1fr;
	}

	.home-modern .home-corporate__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-modern .home-corporate__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.home-footer-prelude__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.8rem;
	}

}

@media (max-width: 767.98px) {
	.home-modern .home-corporate {
		margin: 2.4rem auto 1.45rem;
	}

	.home-modern .home-corporate__description-desktop {
		display: none;
	}

	.home-modern .home-corporate__description-mobile {
		display: inline;
	}

	.home-modern .home-corporate__chips {
		display: none;
	}
}

@media (max-width: 575.98px) {
	.home-modern {
		--home-space-md: 0.875rem;
		--home-space-lg: 1rem;
		--home-radius-lg: 18px;
	}

	.home-modern .home-trio {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}

	.home-footer-prelude {
		padding-bottom: 0.75rem;
	}

	.home-footer-prelude__inner {
		gap: 0.65rem;
		padding: 1rem;
	}

	.home-footer-prelude__title {
		font-size: 0.98rem;
	}

	.home-footer-prelude__description {
		font-size: 0.78rem;
		line-height: 1.4;
	}

	.home-footer-prelude__actions {
		width: 100%;
		flex-direction: column;
		gap: 0.5rem;
	}

	.home-footer-prelude__action {
		width: 100%;
		min-height: 38px;
	}

	.home-modern .home-media__header {
		margin-bottom: 2rem;
	}

	.home-modern .home-corporate {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}

	.home-modern .home-corporate__inner {
		padding: 1rem;
		border-radius: 22px;
	}

	.home-modern .home-corporate__eyebrow {
		min-height: 27px;
		margin-bottom: 0.55rem;
		font-size: 0.76rem;
	}

	.home-modern .home-corporate__title {
		font-size: 1.32rem;
		line-height: 1.34;
	}

	.home-modern .home-corporate__description {
		margin-top: 0.55rem;
		font-size: 0.84rem;
		line-height: 1.52;
	}

	.home-modern .home-corporate__grid {
		gap: 0.65rem;
		margin-top: 1rem;
	}

	.home-modern .home-corporate__card {
		padding: 0.68rem;
		border-radius: 15px;
	}

	.home-modern .home-corporate__metric {
		margin-bottom: 0.25rem;
		font-size: 1.45rem;
	}

	.home-modern .home-corporate__card h3 {
		font-size: 0.82rem;
	}

	.home-modern .home-corporate__card p {
		margin-top: 0.25rem;
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.home-modern .home-corporate__footer {
		gap: 0.8rem;
		margin-top: 0.9rem;
		padding-top: 0.85rem;
	}

	.home-modern .home-corporate__note {
		font-size: 0.76rem;
		line-height: 1.45;
	}

	.home-modern .home-corporate__cta {
		width: 100%;
	}

	.home-modern .home-corporate__button {
		flex: 1 1 130px;
		min-height: 40px;
		padding: 0.5rem 0.75rem;
		font-size: 0.82rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-modern *,
	.home-modern *::before,
	.home-modern *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
