/* ============================================================
	PARTS PAGE
	Дополнения поверх sto.css
============================================================ */


/* ============================================================
	HERO
============================================================ */

.parts-page .parts-hero__title {
	max-width: 690px;
}

.parts-page .parts-certificates {
	flex: 0 0 42%;
}

.parts-page .parts-certificates .sto-certificate {
	flex: 1 1 50%;
	height: 340px;
}


/* ============================================================
	CONTACTS
============================================================ */

.parts-contacts__button {
	margin-top: 32px;
}


/* ============================================================
	WHY US
============================================================ */

.parts-advantages__row {
	display: flex;
	align-items: stretch;
	gap: 48px;
}

.parts-advantages-list {
	flex: 1 1 55%;
}

.parts-page .parts-gallery {
	display: block;
	flex: 0 0 45%;
	width: 45%;
	min-width: 0;
}


/* Временная заглушка до получения фотографий */

.parts-gallery-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 540px;

	padding: 40px;

	border: 2px dashed rgba(24, 55, 71, .22);
	border-radius: 18px;

	color: #183747;
	background: rgba(255, 255, 255, .72);

	text-align: center;
}

.parts-gallery-placeholder__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 62px;
	height: 62px;

	margin-bottom: 20px;

	border-radius: 50%;

	color: #ffffff;
	background: #10aaa6;

	font-size: 36px;
	line-height: 1;
}

.parts-gallery-placeholder strong {
	display: block;

	margin-bottom: 9px;

	color: #183747;

	font-size: 20px;
	line-height: 1.3;
}

.parts-gallery-placeholder span {
	display: block;

	max-width: 310px;

	color: #68747a;

	font-size: 14px;
	line-height: 1.55;
}


/* ============================================================
	CTA
============================================================ */

.parts-cta-section {
	background: #183747;
}

.parts-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 50px;
}

.parts-cta__content {
	flex: 1 1 auto;
	max-width: 800px;
}

.parts-cta__eyebrow {
	margin-bottom: 10px;

	color: #18c8c2;

	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.parts-cta h2 {
	margin: 0;

	color: #ffffff;

	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: none;
}

.parts-cta p {
	max-width: 720px;

	margin: 15px 0 0;

	color: rgba(255, 255, 255, .78);

	font-size: 17px;
	line-height: 1.6;
	text-align: left;
}

.parts-cta__button {
	flex: 0 0 auto;
}


/* ============================================================
	СТАРЫЙ CSS САЙТА — ЗАЩИТА ЦВЕТОВ
============================================================ */

.parts-page a.sto-btn:link,
.parts-page a.sto-btn:visited {
	text-decoration: none;
}

.parts-page .sto-contact-card a:link,
.parts-page .sto-contact-card a:visited {
	color: #183747;
}

.parts-page .sto-contact-card a:hover {
	color: #078f8c;
}

.parts-page .sto-contact-card--time {
	color: #ffffff;
}

.parts-page .sto-contact-card--time h3 {
	color: #ffffff;
}

.parts-page .sto-contact-card--time p {
	color: rgba(255, 255, 255, .82);
}

.parts-page
.sto-contact-card--time
.sto-contact-card__big {
	color: #18c8c2;
}


/* ============================================================
	RESPONSIVE
============================================================ */

@media (max-width: 1000px) {

	.parts-advantages__row {
		gap: 32px;
	}

}


@media (max-width: 900px) {

	.parts-page .parts-certificates {
		flex: 0 0 auto;
		width: 100%;
		max-width: 620px;
	}

	.parts-advantages__row {
		flex-direction: column;
	}

	.parts-advantages-list,
	.parts-page .parts-gallery {
		flex-basis: auto;
		width: 100%;
	}

	.parts-gallery-placeholder {
		min-height: 430px;
	}

	.parts-cta {
		align-items: flex-start;
		flex-direction: column;

		gap: 28px;
	}

	.parts-cta h2 {
		font-size: 33px;
	}

}


@media (max-width: 700px) {

	.parts-page .parts-certificates {
		gap: 8px;
	}

	.parts-page
	.parts-certificates
	.sto-certificate {
		height: 250px;
	}

	.parts-gallery-placeholder {
		min-height: 330px;

		padding: 28px 20px;

		border-radius: 14px;
	}

	.parts-cta h2 {
		font-size: 29px;
	}

	.parts-cta p {
		font-size: 15px;
	}

	.parts-cta__button {
		width: 100%;
	}

	.parts-cta__button .sto-btn {
		width: 100%;
	}

}


@media (max-width: 480px) {

	.parts-page .parts-certificates {
		flex-wrap: nowrap;
	}

	.parts-page
	.parts-certificates
	.sto-certificate {
		flex-basis: 50%;
		height: 220px;
	}

	.parts-gallery-placeholder {
		min-height: 280px;
	}

}