/*
Sections styles.
*/

/* =========================
   Общие стили секций
   ========================= */

.section {
	padding: 80px 16px;
}

.section__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}

.section__header {
	margin-bottom: 36px;
}

.section__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
	color: var(--color-text);
}

/* =========================
   Services section
   ========================= */

.section-services {
	background: #ffffff;
}

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

.service-card {
	display: block;
	padding: 28px;
	border-radius: 18px;
	background: #f3f8fb;
	color: var(--color-text);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
	color: var(--color-text);
}

.service-card h3 {
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 1.25;
	color: var(--color-text);
}

.service-card p {
	margin: 0;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.5;
}

/* =========================
   Consultation section
   ========================= */

.section-consultation {
	background: #0b7fa8;
	color: #ffffff;
}

.section-consultation__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.section-consultation__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.15;
	color: #ffffff;
}

.section-consultation__text {
	margin: 0;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.86);
}

.section-consultation__button {
	background: #f55743;
	color: #ffffff;
}

.section-consultation__button:hover {
	background: #df4936;
	color: #ffffff;
}

/* =========================
   Adaptive
   ========================= */

@media (max-width: 1280px) {
	.section-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.section-consultation__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.section {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.section-services__grid {
		grid-template-columns: 1fr;
	}
}