/* ==================== МИНИМАЛИСТИЧНАЯ СЕКЦИЯ УСЛУГ ==================== */


.services-minimal-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 60px;
	color: var(--primary-dark);
	font-weight: 600;
	letter-spacing: -0.3px;
	position: relative;
}

.services-minimal-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	background: var(--secondary);
	margin: 15px auto 0;
}

/* Сетка услуг */
.services-minimal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

/* Карточка услуги */
.services-minimal-card {
	background: white;
	border-radius: 12px;
	padding: 40px 30px;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 61, 123, 0.08);
	position: relative;
	overflow: hidden;
}

.services-minimal-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
	border-color: rgba(0, 61, 123, 0.15);
}

.services-minimal-icon {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	background: var(--bg-light);
	border: 1px solid rgba(0, 61, 123, 0.1);
}

.services-minimal-icon img,
.services-minimal-icon svg {
	color: var(--primary);
	width: 28px;           /* Ширина иконки */
	height: 28px;          /* Высота иконки */
	object-fit: contain;   /* ← Сохраняет пропорции без искажений */
	display: block;        /* Убирает лишние отступы */
}

.services-minimal-card:hover .services-minimal-icon {
	background: var(--primary);
}

.services-minimal-card:hover .services-minimal-icon img,
.services-minimal-card:hover .services-minimal-icon svg {
	filter: brightness(0) invert(1);
}

/* Заголовок карточки */
.services-minimal-card-title {
	font-size: 1.375rem;
	margin-bottom: 15px;
	color: var(--primary-dark);
	font-weight: 600;
	line-height: 1.3;
}

/* Текст карточки */
.services-minimal-card p {
	color: var(--primary-dark);
	opacity: 0.8;
	line-height: 1.6;
	font-size: 1rem;
	margin: 0;
}

/* Акцентная линия при hover */
.services-minimal-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.services-minimal-card:hover::after {
	width: 100%;
}

/* Счетчик услуг */
.services-minimal-counter {
	text-align: center;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid rgba(0, 61, 123, 0.1);
}

.services-minimal-counter-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 5px;
}

.services-minimal-counter-text {
	color: var(--primary-dark);
	opacity: 0.7;
	font-size: 1rem;
}


.services-minimal-icon img {
	width: 48px !important;
	height: 48px !important;
	min-width: 48px;
	min-height: 48px;
}

/* Адаптивность */
@media (max-width: 1024px) {
	.services-minimal {
		padding: 80px 0;
	}

	.services-minimal-title {
		font-size: 2rem;
		margin-bottom: 50px;
	}
}

@media (max-width: 768px) {
	.services-minimal {
		padding: 60px 0;
	}

	.services-minimal-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.services-minimal-card {
		padding: 30px 25px;
	}

	.services-minimal-title {
		font-size: 1.75rem;
		margin-bottom: 40px;
	}
}

@media (max-width: 480px) {
	.services-minimal {
		padding: 50px 0;
	}

	.services-minimal-card {
		padding: 25px 20px;
	}

	.services-minimal-icon {
		width: 50px;
		height: 50px;
		margin-bottom: 20px;
	}

	.services-minimal-icon img,
	.services-minimal-icon svg {
		width: 24px;
		height: 24px;
	}
}