/* Modern homepage */

.home-hero {
	--rvuz-red: #a12c2f;
	--rvuz-ink: #12171c;
	position: relative;
	min-height: min(78vh, 720px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
}

.home-hero-media,
.home-hero-shade {
	position: absolute;
	inset: 0;
}

.home-hero-media {
	background:
		linear-gradient(120deg, rgba(18, 23, 28, 0.25), rgba(161, 44, 47, 0.18)),
		url('/assets/images/slide.jpg') center center / cover no-repeat;
	transform: scale(1.04);
	animation: homeHeroZoom 18s ease-out forwards;
}

.home-hero-shade {
	background:
		linear-gradient(180deg, rgba(18, 23, 28, 0.28) 0%, rgba(18, 23, 28, 0.72) 58%, rgba(18, 23, 28, 0.92) 100%),
		linear-gradient(90deg, rgba(18, 23, 28, 0.55) 0%, rgba(18, 23, 28, 0.15) 70%, transparent 100%);
}

.home-hero-inner {
	position: relative;
	z-index: 1;
	padding: 72px 15px 64px;
}

.home-hero-copy {
	max-width: 760px;
	animation: homeFadeUp 0.8s ease both;
}

.home-brand {
	margin: 0 0 18px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(42px, 8vw, 72px);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 0.95;
}

.home-hero h1 {
	margin: 0 0 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

.home-hero-lead {
	margin: 0 0 28px;
	max-width: 560px;
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
	animation: homeFadeUp 0.9s ease 0.1s both;
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	animation: homeFadeUp 1s ease 0.18s both;
}

.home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	border-radius: 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.home-btn--primary {
	background: var(--rvuz-red);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(161, 44, 47, 0.35);
}

.home-btn--primary:hover {
	background: #861f22;
	color: #fff !important;
}

.home-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff !important;
}

.home-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff !important;
}

.home-btn--text {
	background: transparent;
	color: rgba(255, 255, 255, 0.9) !important;
	padding-left: 8px;
	padding-right: 8px;
}

.home-section {
	padding: 72px 0;
}

.home-features {
	background: #f6f8fa;
}

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

.home-feature h2 {
	margin: 0 0 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #12171c;
}

.home-feature p {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: #5c6670;
}

.home-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: rgba(161, 44, 47, 0.1);
	color: #a12c2f;
	font-size: 18px;
}

.home-ad {
	margin-top: 36px;
}

.home-ad--lead {
	margin-top: 0;
	margin-bottom: 40px;
}

.home-ad--compact {
	margin-top: 0;
	margin-bottom: 28px;
}

.home-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.home-section-head h2 {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	color: #12171c;
}

.home-section-head--light h2 {
	color: #fff;
}

.home-kicker {
	margin: 0 0 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a12c2f;
}

.home-section-head--light .home-kicker {
	color: #e07275;
}

.home-link {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #a12c2f;
	text-decoration: none;
	white-space: nowrap;
}

.home-link i {
	margin-left: 6px;
}

.home-link:hover {
	color: #861f22;
	text-decoration: none;
}

.home-link--light {
	color: #fff;
}

.home-link--light:hover {
	color: #fff;
	opacity: 0.85;
}

.home-unis {
	background: #fff;
	padding-top: 36px;
}

.home-uni-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.home-uni-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid #e8edf1;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-uni-card:hover {
	transform: translateY(-3px);
	border-color: #d7c0c1;
	box-shadow: 0 18px 40px rgba(18, 23, 28, 0.1);
	text-decoration: none;
	color: inherit;
}

.home-uni-rank {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	min-width: 36px;
	padding: 6px 9px;
	border-radius: 999px;
	background: #a12c2f;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.home-uni-media {
	display: block;
	height: 140px;
	background: #f6f8fa;
}

.home-uni-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
}

.home-uni-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 18px;
}

.home-uni-city {
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	color: #5c6670;
}

.home-uni-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #12171c;
}

.home-uni-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	color: #5c6670;
}

.home-uni-meta i {
	margin-right: 4px;
	color: #a12c2f;
}

.home-uni-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.home-uni-badges span {
	padding: 4px 8px;
	border-radius: 999px;
	background: #f6f8fa;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	color: #5c6670;
}

.home-specs {
	background:
		radial-gradient(ellipse 70% 80% at 10% 0%, rgba(161, 44, 47, 0.28), transparent 55%),
		linear-gradient(180deg, #1a2228 0%, #12171c 100%);
	color: #fff;
}

.home-spec-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.home-spec-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 150px;
	padding: 22px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.home-spec-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(224, 114, 117, 0.55);
	transform: translateY(-2px);
	text-decoration: none;
}

.home-spec-code {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #e07275;
}

.home-spec-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.home-cities {
	background: #f6f8fa;
}

.home-city-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.home-city-chip {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e8edf1;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	color: #12171c;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-city-chip:hover {
	border-color: #d7c0c1;
	color: #a12c2f;
	text-decoration: none;
}

.home-city-chip--bold {
	font-weight: 700;
	border-color: #d7c0c1;
}

.home-cta {
	background: #fff;
	padding: 56px 0 72px;
}

.home-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 32px 36px;
	border-radius: 22px;
	background:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(161, 44, 47, 0.16), transparent 55%),
		#12171c;
	color: #fff;
}

.home-cta h2 {
	margin: 0 0 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: #fff;
}

.home-cta p {
	margin: 0;
	max-width: 560px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

@keyframes homeFadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes homeHeroZoom {
	from { transform: scale(1.08); }
	to { transform: scale(1.02); }
}

@media (max-width: 1199px) {
	.home-uni-grid,
	.home-spec-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 991px) {
	.home-hero {
		min-height: 620px;
	}

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

	.home-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.home-section {
		padding: 52px 0;
	}

	.home-hero-inner {
		padding: 56px 15px 48px;
	}

	.home-features-grid,
	.home-uni-grid,
	.home-spec-grid {
		grid-template-columns: 1fr;
	}

	.home-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-cta-inner {
		padding: 28px 22px;
	}
}
