body {
	background-color: #3F1521;
	overflow-x: hidden;
}

.contacts-hero {
	background-color: #3F1521;
	padding-top: 140px;
	padding-bottom: 140px;
	position: relative;
	overflow: hidden;
	max-width: 100vw;
}

.contacts-hero_container {
	min-width: 0;
}

.contacts-hero_title {
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	margin: 80px 0px;
	position: relative;
	z-index: 2;
	text-align: center;
	position: relative;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.contacts-hero_title span {
	position: relative;
}

.contacts-hero_title span::before {
	content: "";
	position: absolute;
	top: -26px;
	right: -46px;
	width: 337px;
	height: 131px;
	background-image: url('../img/contacts/circle.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.contacts-hero_text {
	padding: 100px 0px;
	position: relative;
}

.contacts-hero_items {
	padding: 100px 0px;
	position: relative;
	background-color: #FFFBF3;
	min-width: 0;
}

.contacts-hero_items::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background-color: #FFFBF3;
	z-index: 0;
}

.bg_top {
	position: absolute;
	top: -20px;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	z-index: 1;
	pointer-events: none;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.bg_top img {
	display: block;
	width: 100%;
	height: auto;
	flex: 0 0 auto;
}

.bg_bottom {
	top: auto;
	bottom: -20px;
	transform: translateX(-50%) scaleY(-1);
}

.opt_text {
	text-align: center;
	position: relative;
	z-index: 3;
	font-size: 29px;
	line-height: 1;
	color: #3F1521;
	margin-bottom: 30px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.opt_text span {
	color: #F5440A;
	font-style: italic;
}

.opt_subtext {
	text-align: center;
	position: relative;
	z-index: 3;
	font-size: 29px;
	line-height: 1;
	color: #3F1521;
	margin-bottom: 40px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.opt_last_text {
	text-align: center;
	position: relative;
	z-index: 3;
	font-size: 29px;
	line-height: 1;
	color: #F5440A;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.contact {
	background-color: #3F1521;
	color: #FFFBF3;
	padding: 100px 0px 120px 0px;
	overflow: hidden;
}

.contact_header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 68px;
}

.contact_header_title {
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.contact_header_info {
	display: flex;
	align-items: flex-start;
	gap: 47px;
	min-width: 265px;
}

.contact_header_img {
	width: 316px;
	padding-top: 4px;
}

.contact_header_img img {
	display: block;
	width: 100%;
	height: auto;
}

.contact_header_contact {
	font-size: 32px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.contact_main {
	display: grid;
	grid-template-columns: 360px 1fr;
	align-items: stretch;
	border-radius: 20px;

}

.contact_main_image {
	position: relative;
	z-index: 2;
	height: 670px;
	overflow: hidden;
	border-radius: 40px;
	min-width: 0;
}

.contact_main_image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 40px;
}

.contact_main_content {
	position: relative;
	background-color: #FFFBF3;
	border-radius: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 60px;
	min-width: 0;
}

.contact_main_content::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background-color: #461321;
	transform: translateY(-50%);
	z-index: 3;
}

.contact_main_content::after {
	right: -42px;
}

.contact_main_content form {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 840px;
	min-width: 0;
}

.form_title {
	font-weight: 600;
	font-size: 48px;
	line-height: 1;
	color: #461321;
	margin-bottom: 20px;
	font-style: italic;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.form_subtitle {
	font-weight: 500;
	font-size: 29px;
	line-height: 1;
	color: #461321;
	margin-bottom: 40px;
}

.form_text {
	font-weight: 500;
	font-size: 29px;
	line-height: 1;
	color: #461321;
	margin-bottom: 24px;
}

.contact_main_content input,
.contact_main_content textarea {
	display: block;
	width: 100%;
	background: transparent;
	border-bottom: 2px solid #461321;
	border-radius: 0;
	color: #461321;
	font: inherit;
	font-size: 29px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	outline: none;
}

.contact_main_content input {
	height: 40px;
	margin-bottom: 15px;
}

.contact_main_content textarea {
	height: 80px;
	resize: none;
	overflow: hidden;
}

.contact_main_content input::placeholder,
.contact_main_content textarea::placeholder {
	color: #461321;
	opacity: 1;
}

.contact_main_content button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 224px;
	height: 44px;
	margin-top: 30px;
	border: 2px solid #461321;
	border-radius: 35px;
	background: transparent;
	color: #461321;
	cursor: pointer;
}

.contact_main_content button p {
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.contact_main_content button img {
	display: block;
	width: 26px;
	height: auto;
}

@media (max-width: 1200px) {
	.contacts-hero {
		padding-top: 120px;
		padding-bottom: 110px;
	}

	.contacts-hero_title {
		font-size: 52px;
		margin: 64px 0;
	}

	.contacts-hero_title span::before {
		top: -22px;
		right: -34px;
		width: 278px;
		height: 108px;
	}

	.contacts-hero_items {
		padding: 82px 0;
	}

	.opt_text,
	.opt_subtext,
	.opt_last_text {
		font-size: 25px;
	}

	.contacts-hero_item {
		height: 220px;
	}

	.contacts-hero_item:nth-child(3) {
		max-width: calc(50% - 10px);
	}

	.contact {
		padding: 78px 0 96px;
	}

	.contact_header {
		margin-bottom: 48px;
	}

	.contact_header_title {
		font-size: 30px;
	}

	.contact_header_info {
		gap: 28px;
	}

	.contact_header_img {
		width: 220px;
	}

	.contact_header_contact {
		font-size: 24px;
	}

	.contact_main {
		grid-template-columns: 1fr;
	}

	.contact_main_image {
		height: 540px;
		border-radius: 32px;
	}

	.contact_main_image img {
		border-radius: 32px;
	}

	.contact_main_content {
		border-radius: 32px;
		padding: 36px 48px;
	}

	.contact_main_content::after {
		width: 64px;
		height: 64px;
		right: -32px;
	}

	.contact_main_content form {
		max-width: 680px;
	}

	.form_title {
		font-size: 38px;
	}

	.form_subtitle,
	.form_text,
	.contact_main_content input,
	.contact_main_content textarea {
		font-size: 23px;
	}

	.contact_main_image {
		display: none;
	}
}

@media (max-width: 900px) {
	.contacts-hero {
		padding-top: 104px;
		padding-bottom: 82px;
	}

	.contacts-hero_title {
		font-size: 42px;
		margin: 48px 0;
	}

	.contacts-hero_title span::before {
		top: -16px;
		right: -26px;
		width: 218px;
		height: 85px;
	}

	.contacts-hero_items {
		padding: 66px 0;
	}

	.bg_top img {
		width: 1100px;
		max-width: none;
	}

	.opt_text,
	.opt_subtext,
	.opt_last_text {
		font-size: 21px;
	}

	.opt_text {
		margin-bottom: 24px;
	}

	.opt_subtext {
		margin-bottom: 30px;
	}

	.contacts-hero_item {
		height: 180px;
		border-width: 4px;
	}

	.contact {
		padding: 64px 0 78px;
	}

	.contact_header {
		align-items: center;
		gap: 24px;
		margin-bottom: 34px;
	}

	.contact_header_title {
		font-size: 24px;
	}

	.contact_header_info {
		gap: 18px;
		min-width: 0;
	}

	.contact_header_img {
		width: 148px;
	}

	.contact_header_contact {
		font-size: 18px;
	}



	.contact_main_content {
		border-radius: 24px;
		padding: 28px 34px 28px 48px;
	}

	.contact_main_content::after {
		width: 48px;
		height: 48px;
		right: -24px;
	}

	.form_title {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.form_subtitle {
		margin-bottom: 22px;
	}

	.form_text {
		margin-bottom: 16px;
	}

	.form_subtitle,
	.form_text,
	.contact_main_content input,
	.contact_main_content textarea {
		font-size: 17px;
	}

	.contact_main_content input {
		height: 32px;
		margin-bottom: 10px;
	}

	.contact_main_content textarea {
		height: 58px;
	}

	.contact_main_content button {
		width: 170px;
		height: 34px;
		margin-top: 22px;
	}

	.contact_main_content button p {
		font-size: 13px;
	}

	.contact_main_content button img {
		width: 22px;
	}
}

@media (max-width: 720px) {
	.contacts-hero {
		padding-top: 92px;
		padding-bottom: 66px;
	}

	.contacts-hero_title {
		font-size: 34px;
		margin: 38px 0;
	}

	.contacts-hero_title br {
		display: none;
	}

	.contacts-hero_title span::before {
		top: -12px;
		right: -18px;
		width: 176px;
		height: 68px;
	}

	.contacts-hero_items {
		padding: 54px 0;
	}

	.opt_text,
	.opt_subtext,
	.opt_last_text {
		font-size: 18px;
		line-height: 1.08;
	}

	.opt_text br {
		display: none;
	}

	.contacts-hero_item,
	.contacts-hero_item:nth-child(3) {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 16 / 9;
		justify-self: center;
		grid-column: auto;
	}

	.bg_top {
		top: -12px;
	}

	.bg_bottom {
		bottom: -12px;
	}

	.contact_header {
		align-items: flex-start;
	}

	.contact_header_info {
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
	}

	.contact_header_img {
		width: 120px;
	}

	.contact_main {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin: 0 auto;
	}

	.contact_main_image {
		width: min(250px, 62vw);
		height: auto;
		aspect-ratio: 362 / 520;
		margin: 0 0 -30px 18px;
		border-radius: 26px;
	}

	.contact_main_image img {
		border-radius: 26px;
		object-position: 52% 30%;
	}

	.contact_main_content {
		min-height: 0;
		border-radius: 28px;
		padding: 58px 32px 34px;
	}

	.contact_main_content::after {
		display: none;
	}

	.contact_main_content form {
		max-width: none;
	}
}

@media (max-width: 620px) {
	.contact {
		padding: 48px 0 60px;
	}

	.contact_container {
		padding: 0 20px;
	}

	.contact_header {
		flex-direction: column;
		gap: 14px;
		margin-bottom: 24px;
	}

	.contact_header_info {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		min-width: 0;
		justify-content: flex-start;
	}

	.contact_header_title {
		font-size: 22px;
	}

	.contact_header_contact {
		font-size: 16px;
		text-align: left;
		white-space: normal;
	}

	.contact_header_img {
		width: 116px;
	}

	.bg_top img {
		width: 860px;
	}

	.contacts-hero_item,
	.contacts-hero_item:nth-child(3) {
		max-width: 330px;
	}

	.contacts-hero_title {
		font-size: 22px;
		max-width: 330px;
		margin-left: auto;
		margin-right: auto;
	}

	.contacts-hero_title span::before {
		top: -8px;
		right: -10px;
		width: 122px;
		height: 48px;
	}

	.opt_text,
	.opt_subtext,
	.opt_last_text {
		font-size: 15px;
		line-height: 1.12;
		max-width: 330px;
		margin-left: auto;
		margin-right: auto;
	}

	.contact_main {
		max-width: 420px;
	}

	.form_title {
		font-size: 21px;
		white-space: normal;
	}

	.form_subtitle,
	.form_text,
	.contact_main_content input,
	.contact_main_content textarea {
		font-size: 15px;
	}
}

@media (max-width: 420px) {
	.contacts-hero {
		padding-top: 82px;
		padding-bottom: 52px;
	}

	.contacts-hero_title {
		font-size: 22px;
		max-width: 330px;
		margin: 30px 0;
		margin-left: auto;
		margin-right: auto;
	}

	.contacts-hero_title span::before {
		top: -8px;
		right: -10px;
		width: 122px;
		height: 48px;
	}

	.contacts-hero_items {
		padding: 42px 0;
	}

	.bg_top img {
		width: 760px;
	}

	.opt_text,
	.opt_subtext,
	.opt_last_text {
		font-size: 15px;
		line-height: 1.12;
		max-width: 330px;
	}

	.opt_text {
		margin-bottom: 18px;
	}

	.opt_subtext {
		margin-bottom: 22px;
	}

	.contacts-hero_item {
		border-width: 3px;
	}

	.contact {
		padding: 38px 0 48px;
	}

	.contact_container {
		padding: 0 15px;
	}

	.contact_header_info {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.contact_header_img {
		width: 92px;
	}

	.contact_header_contact {
		font-size: 13px;
		white-space: normal;
		text-align: left;
	}

	.contact_main_image {
		width: min(210px, 68vw);
		margin-left: 10px;
		margin-bottom: -24px;
		border-radius: 22px;
	}

	.contact_main_image img {
		border-radius: 22px;
	}

	.contact_main_content {
		border-radius: 24px;
		padding: 48px 20px 26px;
	}

	.form_title {
		font-size: 21px;
	}

	.form_subtitle,
	.form_text,
	.contact_main_content input,
	.contact_main_content textarea {
		font-size: 13px;
	}

	.contact_main_content input {
		height: 28px;
		margin-bottom: 8px;
	}

	.contact_main_content textarea {
		height: 52px;
	}

	.contact_main_content button {
		width: 142px;
		height: 30px;
		margin-top: 18px;
	}

	.contact_main_content button p {
		font-size: 11px;
	}
}
