/* Hero - Start */
.md-hero-section {
	padding-top: 30px;
	padding-bottom: 0;
}

.md-hero-grid {
	align-items: stretch;
}

.md-hero-text-col {
	gap: 20px;
}

.md-hero-title,
.md-hero-subtitle {
	margin: 0;
}

.md-hero-text {
	font-family: var(--font-family-2);
	font-size: 15px;
	line-height: 23px;
	margin: 0;
}

.md-hero-btn {
	min-width: 244px;
	margin-top: 10px;
	align-self: flex-start;
}

.md-hero-image {
	width: 100%;
	overflow: hidden;
	min-height: 490px;
	height: 100%;
}

.md-hero-image picture,
.md-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Hero - End */


/* Info Cards - Start */
.md-cards-section {
	padding-top: 60px;
	padding-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.md-card {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
}

.md-card-title {
	margin: 0;
}

.md-text {
	font-family: var(--font-family-2);
	font-size: 15px;
	line-height: 23px;
	margin: 0;
}

.md-list {
	font-family: var(--font-family-2);
	font-size: 15px;
	line-height: 23px;
	margin: 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.md-list li {
	padding-left: 4px;
}
/* Info Cards - End */


/* CTA Form - Start */
.md-cta-section {
	padding-top: 80px;
	padding-bottom: 80px;
	scroll-margin-top: 100px;
}

.md-cta-grid {
	align-items: stretch;
}

.md-cta-form-col {
	justify-content: center;
}

.md-cta-form-wrap {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.md-cta-title {
	margin: 0;
}

.md-cta-text {
	font-family: var(--font-family-2);
	font-size: 15px;
	line-height: 23px;
	margin: 0;
	max-width: 559px;
}

.md-cta-form .form-data-group {
	display: flex;
	gap: 20px;
}

.md-cta-form .form-data-group .col-50 {
	flex: 1;
	min-width: 0;
}

.md-cta-submit {
	display: flex;
	align-items: center;
	gap: 25px;
	margin-top: 5px;
}

.md-cta-submit .btn {
	min-width: 250px;
}

.md-cta-image {
	width: 100%;
	overflow: hidden;
	min-height: 469px;
	height: 100%;
}

.md-cta-image picture,
.md-cta-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* CTA Form - End */


@media (max-width: 1680px) {
	.md-cards-section,
	.md-cta-section {
		padding-top: 60px;
	}

	.md-cta-section {
		padding-bottom: 60px;
	}

	.md-card {
		padding: 30px;
	}
}


@media (max-width: 1279px) {
	.md-hero-section {
		padding-top: 15px;
	}

	.md-hero-image-col {
		order: -1;
	}

	.md-hero-image {
		min-height: auto;
		aspect-ratio: 355 / 250;
	}

	.md-hero-btn {
		/* На мобільному кнопка на всю ширину — max-width 285px робив її вужчою за блок (Notion QA #13) */
		width: 100%;
		max-width: 100%;
	}

	.md-cards-section {
		padding-top: 40px;
		gap: 20px;
	}

	.md-card {
		padding: 25px;
	}

	.md-text,
	.md-list {
		font-size: 14px;
		line-height: 22px;
	}

	.md-cta-section {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.md-cta-image-col {
		order: -1;
	}

	.md-cta-image {
		min-height: auto;
		aspect-ratio: 355 / 390;
	}

	.md-cta-form .form-data-group {
		flex-direction: column;
		gap: 15px;
	}

	.md-cta-submit .btn {
		min-width: auto;
		width: 100%;
	}
}


@media (max-width: 768px) {
	.md-card {
		padding: 20px;
		gap: 15px;
	}

	.md-list {
		padding-left: 20px;
	}
}
