@charset "UTF-8";

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff1f1;
	color: #1f1515;
	min-width: 320px;
}

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

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

button {
	font: inherit;
}

main {
	overflow: hidden;
}

.header {
	background: #711622;
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 20;
}

.header__inner,
.menu-overlay__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	min-height: 99px;
	padding: 16px 24px;
}

.menu-close {
	gap: 0;
	height: 70px;
	position: relative;
	width: 93px;
}

.menu-close span {
	background: currentColor;
	display: block;
	height: 4px;
	position: absolute;
	width: 38px;
}

.menu-close span:first-child {
	transform: rotate(45deg);
}

.menu-close span:last-child {
	transform: rotate(-45deg);
}

.menu-overlay__nav {
	display: grid;
	gap: 20px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 36px 24px;
}

.menu-overlay__nav a {
	font-size: 1.5rem;
	line-height: 1.4;
}

.hero {
	margin: 0 auto;
	max-width: 1280px;
	padding: 48px 0 0;
	position: relative;
}

.hero__slider-viewport {
	overflow: hidden;
	position: relative;
	width: 100%;
}

.hero__slider-track {
	display: flex;
	gap: 10px;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	width: max-content;
}

.hero__slider-track--no-transition {
	transition: none !important;
}

.hero__slider-track--no-transition .hero__slide {
	transition: none !important;
}

.hero__slide {
	border-radius: 10px;
	flex-shrink: 0;
	height: 640px;
	overflow: hidden;
	position: relative;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	width: 856px;
	opacity: 0.4;
	transform: scale(0.96);
	background: #b6dcdd;
	cursor: pointer;
}

.hero__slide img,
.feature img {
	height: 100%;
	object-fit: cover;
	width: 100%;
	background: #b6dcdd;
}

.hero__slide--active {
	opacity: 0.9;
	transform: scale(1);
	cursor: pointer;
}

.hero__slide--active[data-index="0"] {
	cursor: default;
}

.hero__slide:not(.hero__slide--active):hover {
	opacity: 0.6;
}

.hero__copy {
	color: #101010;
	left: 41px;
	position: absolute;
	top: 28px;
	z-index: 10;
	pointer-events: none;
}

.hero__copy p {
	font-size: clamp(2.1rem, 4vw, 3.75rem);
	line-height: 1.22;
	margin: 0;
}

.hero__dots {
	bottom: 31px;
	display: flex;
	gap: 6px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	z-index: 10;
}

.hero__dot {
	background: #fff;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 10px;
	padding: 0;
	width: 10px;
	transition: background 0.3s;
}

.hero__dot--active {
	background: #4f8f92;
}

.news {
	display: grid;
	grid-template-columns: minmax(240px, 339px) minmax(0, 1fr);
	margin: 18px auto 0;
	max-width: 1190px;
	padding: 0 14px;
}

.news__heading {
	align-content: center;
	background: #9b2b3a;
	border: 6px solid #9b2b3a;
	border-radius: 18px 0 0 18px;
	color: #fff;
	display: grid;
	gap: 6px;
	min-height: 258px;
	padding: 28px 22px;
}

.news__heading p,
.news__heading h2 {
	margin: 0;
}

.news__heading p {
	font-size: 1.2rem;
	letter-spacing: 0.06em;
}

.news__heading h2 {
	font-size: 2rem;
	font-weight: 400;
}

.news__list {
	background: #fff;
	border: 6px solid #9b2b3a;
	border-left-width: 0;
	border-radius: 0 18px 18px 0;
	display: grid;
	grid-template-rows: repeat(3, 1fr);
	min-height: 258px;
	padding: 0;
	overflow: hidden;
}

.news__item {
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	display: grid;
	gap: 16px;
	grid-template-columns: auto 1fr;
	padding: 0 26px;
	transition: background-color 0.2s ease;
}

.news__item:hover {
	background-color: rgba(155, 43, 58, 0.05);
}

.news__item:last-child {
	border-bottom: 0;
}

.news__item time,
.news__item span {
	font-size: 1.02rem;
	line-height: 1.7;
}

.features {
	display: grid;
	gap: 64px;
	margin: 82px auto 0;
	max-width: 1190px;
	padding: 0 24px;
}

.feature {
	align-items: center;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.feature--reverse {
	flex-direction: row-reverse;
}

.feature img {
	border-radius: 18px;
	flex: 0 1 560px;
	height: 371px;
	min-width: 320px;
}

.feature__text {
	flex: 1 1 320px;
	text-align: center;
}

.feature__text h2 {
	font-size: clamp(1.9rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.45;
	margin: 0;
}

.link-cards {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 98px auto 0;
	max-width: 1190px;
	padding: 0 15px;
}

.link-card {
	background: linear-gradient(180deg, #f5d2db 0%, #f2d3da 100%);
	border-radius: 16px;
	box-shadow: 10px 10px 0 #9b2b3a;
	color: #221212;
	display: block;
	min-height: 281px;
	padding: 18px 18px 22px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover,
.link-card:focus-visible {
	box-shadow: 14px 14px 0 #9b2b3a;
	transform: translate(-2px, -2px);
}

.link-card p,
.link-card h2,
.link-card span {
	margin: 0;
}

.link-card p {
	font-size: 1.08rem;
	line-height: 1.3;
}

.link-card h2 {
	font-size: clamp(1.9rem, 3vw, 3rem);
	font-weight: 400;
	line-height: 1.08;
	margin-top: 4px;
}

.link-card span {
	display: block;
	font-size: 1rem;
	line-height: 1.6;
	margin-top: 16px;
	max-width: 20em;
}



@media (max-width: 1180px) {
	.hero {
		padding-inline: 14px;
	}

	.news,
	.features,
	.link-cards {
		padding-inline: 14px;
	}
}

@media (max-width: 900px) {
	.header__nav-link {
		display: none;
	}

	.hero__slide {
		width: calc(100vw - 28px);
		height: 460px;
	}

	.news {
		grid-template-columns: 1fr;
	}

	.news__heading {
		border-radius: 18px 18px 0 0;
		min-height: auto;
	}

	.news__list {
		border-left-width: 6px;
		border-radius: 0 0 18px 18px;
		border-top-width: 0;
	}

	.feature,
	.feature--reverse {
		flex-direction: column;
	}

	.feature img {
		flex-basis: auto;
		min-width: 0;
		width: 100%;
	}

	.link-cards {
		grid-template-columns: 1fr;
	}


}

@media (max-width: 560px) {
	.header__inner,
	.menu-overlay__header {
		min-height: 82px;
		padding-inline: 16px;
	}

	.header__logo,
	.menu-overlay__logo {
		font-size: 1.1rem;
	}

	.hero__slide {
		height: 360px;
	}

	.hero__copy {
		left: 18px;
		top: 56px;
	}

	.hero__copy p {
		font-size: 2rem;
	}

	.news__heading p {
		font-size: 1rem;
	}

	.news__heading h2 {
		font-size: 1.6rem;
	}

	.news__list {
		padding: 0;
	}

	.news__item {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 12px 18px;
	}

	.news__item time,
	.news__item span,
	.link-card span {
		font-size: 0.95rem;
	}

	.feature img {
		height: 250px;
	}

	.link-card {
		min-height: 240px;
	}


}