.services-section {
	width: 100%;
	padding: 80px 0;
	/* background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); */
}

.services-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

.services-title {
	font-size: 48px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 60px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.service-card {
	position: relative;
	display: block;
	height: 500px;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 50%, #1a1a1a 100%);
}

.service-card::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
}

.service-card:hover::after {
	opacity: 1;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(74, 74, 74, 0.8) 50%, rgba(26, 26, 26, 0.9) 100%);
	z-index: 2;
	transition: opacity 0.4s ease;
}

.service-card:hover::before {
	opacity: 0.7;
}

.service-card-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 120px;
	height: 120px;
	color: rgba(255, 255, 255, 0.9);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0.8;
}

.service-card-icon svg {
	width: 100%;
	height: 100%;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-icon {
	transform: translate(-50%, -50%) scale(1.15);
	opacity: 1;
	color: rgba(255, 255, 255, 1);
}

.service-card:hover .service-card-icon svg {
	filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.3));
}

.service-card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.service-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
	z-index: 2;
}

.service-card-title {
	font-size: 42px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 3px;
	position: relative;
	z-index: 3;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	transition: all 0.4s ease;
}

.service-card:hover .service-card-title {
	transform: translateY(-5px);
	text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

/* Градиенты для каждой карточки */
.service-card-insurance {
	background: linear-gradient(135deg, #2661c5 0%, #3c75d7 50%, #1e52a8 100%);
}

.service-card-insurance::before {
	background: linear-gradient(135deg, rgba(38, 97, 197, 0.9) 0%, rgba(60, 117, 215, 0.8) 50%, rgba(30, 82, 168, 0.9) 100%);
}

.service-card-calculator {
	background: linear-gradient(135deg, #0F9181 0%, #15b5a3 50%, #0d7567 100%);
}

.service-card-calculator::before {
	background: linear-gradient(135deg, rgba(15, 145, 129, 0.9) 0%, rgba(21, 181, 163, 0.8) 50%, rgba(13, 117, 103, 0.9) 100%);
}

.service-card-tariffs {
	background: linear-gradient(135deg, #7db8e8 0%, #5a9fd4 50%, #4a8bc4 100%);
}

.service-card-tariffs::before {
	background: linear-gradient(135deg, rgba(125, 184, 232, 0.9) 0%, rgba(90, 159, 212, 0.8) 50%, rgba(74, 139, 196, 0.9) 100%);
}

@media (max-width: 1200px) {
	.services-grid {
		gap: 30px;
	}
	
	.service-card {
		height: 450px;
	}
	
	.service-card-title {
		font-size: 36px;
	}
}

@media (max-width: 968px) {
	.services-section {
		padding: 60px 0;
	}
	
	.services-container {
		padding: 0 20px;
	}
	
	.services-title {
		font-size: 36px;
		margin-bottom: 40px;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.service-card {
		height: 400px;
	}
	
	.service-card-content {
		padding: 30px;
	}
	
	.service-card-title {
		font-size: 32px;
	}
}

@media (max-width: 640px) {
	.services-section {
		padding: 40px 0;
	}
	
	.services-title {
		font-size: 28px;
		margin-bottom: 30px;
	}
	
	.service-card {
		height: 350px;
	}
	
	.service-card-content {
		padding: 25px;
	}
	
	.service-card-title {
		font-size: 28px;
		letter-spacing: 2px;
	}
}

