/* Блок программ поддержки на главной */

.home-programs-section .home-programs-tile__circle {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(86, 91, 235, 0.1);
}

.home-programs-tile__icon {
	font-size: 1.75rem;
	line-height: 1;
	font-weight: 700;
	color: #565beb;
}

.home-programs-tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 32px 40px;
}

.home-programs-tile {
	grid-column: span 2;
	display: block;
	padding: 28px 24px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #eee;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-programs-tile:hover,
.home-programs-tile:focus {
	border-color: #565beb;
	box-shadow: 0 12px 36px rgba(86, 91, 235, 0.16);
	transform: translateY(-2px);
	outline: none;
}

/* Нижний ряд: 2 плитки по центру */
.home-programs-tile:nth-child(4) {
	grid-column: 2 / 4;
}

.home-programs-tile:nth-child(5) {
	grid-column: 4 / 6;
}

@media (max-width: 991px) {
	.home-programs-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-programs-tile,
	.home-programs-tile:nth-child(4),
	.home-programs-tile:nth-child(5) {
		grid-column: auto;
	}

	.home-programs-tile:nth-child(5) {
		grid-column: 1 / -1;
		max-width: calc(50% - 20px);
		justify-self: center;
	}
}

@media (max-width: 767px) {
	.home-programs-tiles {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.home-programs-tile:nth-child(5) {
		grid-column: auto;
		max-width: none;
		justify-self: stretch;
	}
}
