.rom-home-hero {
	background: var(--rom-hero-bg, #f6f2ea);
	padding: 32px 24px 42px;
	font-family: "Manrope", Arial, sans-serif;
	color: #24342a;
}

.rom-home-hero * {
	box-sizing: border-box;
}

.rom-home-hero__wrap {
	max-width: 1540px;
	margin: 0 auto;
}

.rom-home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 22px;
}

.rom-home-hero__main {
	position: relative;
	min-height: var(--rom-hero-min-height, 600px);
	overflow: hidden;
	border-radius: var(--rom-hero-radius, 18px);
	border: 1px solid rgba(214, 202, 180, .75);
	background: #f6f2ea;
	box-shadow: 0 18px 55px rgba(36, 75, 52, .07);
}

.rom-home-hero__slides,
.rom-home-hero__slide,
.rom-home-hero__veil {
	position: absolute;
	inset: 0;
}

.rom-home-hero__slides--mobile {
	display: none;
}

.rom-home-hero__slide {
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.025);
	transition: opacity 1200ms ease, transform 6200ms ease;
}

.rom-home-hero__slide.is-active {
	opacity: 1;
	transform: scale(1);
}

.rom-home-hero__veil {
	z-index: 1;
	background: linear-gradient(90deg, rgba(252, 250, 245, .99) 0%, rgba(252, 250, 245, .94) 22%, rgba(252, 250, 245, .62) 42%, rgba(252, 250, 245, .20) 62%, rgba(252, 250, 245, 0) 100%);
	pointer-events: none;
}

.rom-home-hero__inner {
	position: relative;
	z-index: 2;
	min-height: var(--rom-hero-min-height, 600px);
	padding: 74px 52px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	align-items: center;
	gap: 46px;
}

.rom-home-hero__text {
	max-width: 720px;
}

.rom-home-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 22px;
	margin-bottom: 38px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .62);
	border: 1px solid rgba(214, 202, 180, .9);
	color: var(--rom-hero-accent, #48613f);
	font-size: 16px;
	font-weight: 500;
}

.rom-home-chip::before {
	content: "♧";
	color: #5e7750;
}

.rom-home-hero h1 {
	margin: 0 0 34px;
	font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	font-size: clamp(48px, 5.8vw, 92px);
	line-height: .98;
	font-weight: 500;
	color: #24342a;
	letter-spacing: 0;
}

.rom-home-hero__text p {
	max-width: 610px;
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
	color: #344139;
}

.rom-home-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
	margin-top: 48px;
	max-width: 680px;
}

.rom-home-benefit {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 14px;
	align-items: center;
	min-width: 0;
}

.rom-home-benefit__icon {
	width: 24px;
	height: 24px;
	color: #5e7750;
	font-size: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rom-home-benefit strong {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	color: var(--rom-hero-accent, #48613f);
}

.rom-home-benefit span {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	color: #5f675f;
}

.rom-tl-card {
	position: relative;
	z-index: 3;
	padding: 30px 28px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .42);
	border: 1px solid rgba(255, 255, 255, .58);
	box-shadow: 0 24px 70px rgba(36, 75, 52, .12);
	backdrop-filter: blur(14px) saturate(115%);
	-webkit-backdrop-filter: blur(14px) saturate(115%);
}

.rom-tl-card__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 800;
	color: #24342a;
}

.rom-tl-card__note {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: #6f756f;
}

.rom-tl-card [id^="block-search"],
.rom-tl-card [id^="tl-search-form"],
.rom-tl-card .tl-container-main {
	width: 100% !important;
	min-height: 210px;
}

.rom-tl-card input,
.rom-tl-card select {
	min-height: 52px !important;
	border-radius: 10px !important;
	border: 1px solid rgba(184, 174, 156, .72) !important;
	background: rgba(255, 255, 255, .72) !important;
	color: #24342a !important;
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 15px !important;
}

.rom-tl-card button,
.rom-tl-card input[type="submit"],
.rom-tl-card .tl-button,
.rom-tl-card .tl-search-button,
.rom-tl-card [class*="button"],
.rom-tl-card [class*="Button"],
.rom-tl-card [class*="submit"],
.rom-tl-card [class*="Submit"] {
	min-height: 56px !important;
	border-radius: 10px !important;
	background: var(--rom-hero-button, #244b34) !important;
	background-color: var(--rom-hero-button, #244b34) !important;
	border-color: var(--rom-hero-button, #244b34) !important;
	color: #fff !important;
	font-family: "Manrope", Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	box-shadow: 0 14px 34px rgba(36, 75, 52, .22) !important;
}

.rom-tl-card button:hover,
.rom-tl-card input[type="submit"]:hover,
.rom-tl-card .tl-button:hover,
.rom-tl-card .tl-search-button:hover,
.rom-tl-card [class*="button"]:hover,
.rom-tl-card [class*="Button"]:hover,
.rom-tl-card [class*="submit"]:hover,
.rom-tl-card [class*="Submit"]:hover {
	background: var(--rom-hero-button-hover, #173727) !important;
	background-color: var(--rom-hero-button-hover, #173727) !important;
	border-color: var(--rom-hero-button-hover, #173727) !important;
}

.rom-home-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 22px;
}

.rom-side-card {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid rgba(214, 202, 180, .72);
	box-shadow: 0 18px 45px rgba(36, 75, 52, .06);
}

.rom-side-card__img {
	height: 116px;
	background-size: cover;
	background-position: center;
}

.rom-side-card__body {
	position: relative;
	min-height: 170px;
	padding: 24px 22px 30px;
}

.rom-side-card h3 {
	margin: 0 0 12px;
	font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	font-size: 33px;
	line-height: .98;
	font-weight: 600;
	color: #24342a;
	letter-spacing: 0;
}

.rom-side-card p {
	max-width: 180px;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.45;
	color: #5f675f;
}

.rom-side-card a {
	color: var(--rom-hero-accent, #48613f) !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 700;
}

.rom-side-card__icon {
	position: absolute;
	right: 22px;
	bottom: 24px;
	width: 34px;
	height: 34px;
	object-fit: contain;
}

@media (max-width: 1200px) {
	.rom-home-hero__grid {
		grid-template-columns: 1fr;
	}

	.rom-home-side {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.rom-home-hero__inner {
		grid-template-columns: 1fr;
	}

	.rom-tl-card {
		max-width: 520px;
	}
}

@media (max-width: 900px) {
	.rom-home-hero {
		padding: 16px 14px 28px;
	}

	.rom-home-hero__main {
		min-height: auto;
	}

	.rom-home-hero__slide {
		animation: romHeroMobilePan 18s ease-in-out infinite alternate;
		background-position: 38% center;
	}

	.rom-home-hero--has-mobile-slides .rom-home-hero__slides--desktop {
		display: none;
	}

	.rom-home-hero__slides--mobile {
		display: block;
	}

	.rom-home-hero__veil {
		background: linear-gradient(180deg, rgba(252, 250, 245, .82) 0%, rgba(252, 250, 245, .68) 34%, rgba(252, 250, 245, .28) 62%, rgba(252, 250, 245, .08) 100%);
	}

	.rom-home-hero__inner {
		min-height: auto;
		padding: 42px 22px 300px;
		gap: 28px;
	}

	.rom-home-chip {
		min-height: 38px;
		padding: 0 16px;
		margin-bottom: 26px;
		font-size: 14px;
	}

	.rom-home-hero h1 {
		margin-bottom: 24px;
		font-size: clamp(40px, 14vw, 54px);
	}

	.rom-home-hero__text p {
		font-size: 17px;
	}

	.rom-home-benefits {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 34px;
	}

	.rom-home-benefits,
	.rom-home-hero--hide-benefits-mobile .rom-home-benefits {
		display: none !important;
	}

	.rom-tl-card {
		padding: 24px 20px;
		background: rgba(255, 255, 255, .72);
	}

	.rom-home-side {
		grid-template-columns: 1fr;
	}

	.rom-home-hero--compact-side-mobile .rom-home-side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card {
		border-radius: 12px;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card__img {
		height: 86px;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card__body {
		min-height: 132px;
		padding: 14px 12px 16px;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card h3 {
		margin-bottom: 8px;
		font-size: clamp(23px, 7vw, 30px);
		line-height: .98;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card p {
		max-width: none;
		margin-bottom: 10px;
		font-size: 13px;
		line-height: 1.35;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card a {
		font-size: 13px;
	}

	.rom-home-hero--compact-side-mobile .rom-side-card__icon {
		right: 12px;
		bottom: 12px;
		width: 24px;
		height: 24px;
	}

	.rom-home-hero--hide-side-mobile .rom-home-side {
		display: none;
	}
}

@keyframes romHeroMobilePan {
	0% {
		background-position: 34% center;
	}

	100% {
		background-position: 66% center;
	}
}
