/* Hero /contacts/ — выравнивание и типографика как в макете */

.contacts-hero.top_page_bg_bl {
	min-height: 420px;
	height: auto;
	overflow: hidden;
}

.contacts-hero .top_page_txt_bl.contacts-hero__inner {
	text-align: left;
	padding: 80px 0 64px;
	vertical-align: middle;
}

.contacts-hero .top_page_txt_bl .standart_width {
	max-width: 1470px;
	width: 100%;
	padding: 0 85px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

.contacts-hero__content {
	max-width: 640px;
	margin: 0;
	text-align: left;
}

.contacts-hero__label {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ff8fa3;
}

.contacts-hero h1.contacts-hero__title {
	margin: 0 0 16px;
	padding: 0;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-align: left;
	color: #fff;
}

.contacts-hero h1.contacts-hero__title:before,
.contacts-hero h1.contacts-hero__title:after {
	display: none !important;
	content: none !important;
}

.contacts-hero__desc {
	margin: 0 0 28px;
	max-width: 620px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.contacts-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.contacts-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 6px;
	transition: 0.25s;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: border-box;
	font-family: Roboto, Arial, Helvetica, sans-serif;
}

.contacts-hero__btn svg,
.contacts-hero__btn-icon {
	flex-shrink: 0;
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 4px;
}

.contacts-hero__btn-icon--max {
	width: 24px;
	height: 24px;
	border-radius: 6px;
}

.contacts-hero__btn--primary {
	color: #fff;
	background: #9D283A;
	border: 1px solid #B0173A;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.contacts-hero__btn--primary:hover {
	background: #B0173A;
	border-color: #B0173A;
	color: #fff;
}

.contacts-hero__btn--outline {
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

.contacts-hero__btn--outline:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.contacts-hero__status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

.contacts-hero__status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3DCC7A;
	box-shadow: 0 0 0 3px rgba(61, 204, 122, 0.22);
	flex-shrink: 0;
}

.contacts-hero__script {
	position: absolute;
	right: 85px;
	bottom: 28px;
	z-index: 3;
	max-width: 280px;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 22px;
	line-height: 1.25;
	color: rgba(255, 160, 175, 0.85);
	text-align: right;
	pointer-events: none;
	transform: rotate(-4deg);
}

.contacts-hero__script:after {
	content: "";
	display: block;
	width: 72%;
	height: 2px;
	margin: 8px 0 0 auto;
	background: rgba(185, 40, 60, 0.75);
	border-radius: 2px;
}

@media (max-width: 991px) {
	.contacts-hero .top_page_txt_bl.contacts-hero__inner {
		padding: 56px 0 48px;
	}

	.contacts-hero .top_page_txt_bl .standart_width {
		padding: 0 30px;
	}

	.contacts-hero h1.contacts-hero__title {
		font-size: 36px;
	}

	.contacts-hero__content,
	.contacts-hero__desc {
		max-width: 100%;
	}

	.contacts-hero__script {
		right: 30px;
		bottom: 18px;
		font-size: 18px;
		max-width: 200px;
	}
}

@media (max-width: 767px) {
	.contacts-hero .top_page_txt_bl.contacts-hero__inner {
		padding: 44px 0 40px;
	}

	.contacts-hero .top_page_txt_bl .standart_width {
		padding: 0 20px;
	}

	.contacts-hero h1.contacts-hero__title {
		font-size: 30px;
	}

	.contacts-hero__desc {
		font-size: 15px;
		margin-bottom: 22px;
	}

	.contacts-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.contacts-hero__btn {
		width: 100%;
	}

	.contacts-hero__script {
		display: none;
	}
}
