.contacts-layout-section {
	padding: 177px 0 72px;
	background-image: url('/skin/ukexpes_skin/frontend/img/contact-page/images/contact-page_bg.png?v=1');
	background-repeat: no-repeat;
	background-position: center -150px;
	background-size: cover;
}

.contacts-layout {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 56px;
}

.contacts-layout__right .ui-section-heading__title {
	margin: 0 0 16px;
	font-family: Manrope;
	font-weight: 700;
	font-size: 32px;
	line-height: 140%;
	color: #001F48;
}

.contacts-layout__right .ui-section-heading__subtitle {
	margin: 0 0 32px;
	font-family: Manrope;
	font-weight: 400;
	font-size: 18px;
	line-height: 140%;
	color: #001F48;
}

.contacts-layout__left {
	width: 100%;
	max-width: 600px;
	flex: 0 0 600px;
}

.contacts-layout__right {
	width: 100%;
	max-width: 695px;
	flex: 1 1 auto;
}

.contact-list {
	width: 100%;
	max-width: 600px;
}

.contact-list__title {
	margin: 0 0 32px;
	font-family: Manrope;
	font-weight: 700;
	font-size: 48px;
	line-height: 140%;
	text-align: left;
	color: #001F48;
}

.contact-list__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(264px, 264px));
	justify-content: space-between;
	row-gap: 72px;
}

.contact-list__item {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-list__item-title {
	margin: 0;
	font-family: Manrope;
	font-weight: 700;
	font-size: 24px;
	line-height: 120%;
	color: #001F48;
}

.contact-list__item-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-list__item-content a,
.contact-list__text {
	font-family: Manrope;
	font-weight: 400;
	font-size: 18px;
	line-height: 130%;
	color: #001F48;
	margin: 0;
	transition: color 0.3s ease;
}

@media (hover: hover) {
	.contact-list__item-content a:hover {
		color: #1E17E0;
		text-decoration: none;
	}
}

.contact-list__text {
	max-width: 240px;
}

.contact-list__link,
.contact-list__text {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

.contact-list__link svg,
.contact-list__text svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.contact-list__text {
	align-items: flex-start;
}

.contact-list__socials,
.contact-messengers__list {
	display: flex;
	gap: 8px;
}

.contact-socials {
	display: flex;
	gap: 16px;
	flex-direction: row;
}

.contact-list__social-link,
.contact-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #D9EAFC;
	background-color: #D9EAFC;
	flex-shrink: 0;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	cursor: pointer;
}

.contact-list__social-link svg path,
.contact-social-link svg path {
	fill: #001F48; 
}

@media (hover: hover) {
	.contact-list__social-link:hover,
	.contact-messengers__link:hover,
	.contact-social-link:hover {
		background-color: transparent;
		border-color: #1E17E0;
	}

	.contact-list__social-link:hover svg path,
	.contact-messengers__link:hover svg path,
	.contact-social-link:hover svg path {
		fill: #1E17E0;
	}
}

.contact-social-icon {
	width: 24px;
	height: 24px;
	transition: color 0.3s ease;
	flex-shrink: 0;
}

.contact-list__social-link:hover .contact-social-icon,
.contact-messengers__link:hover .contact-social-icon,
.contact-social-link:hover .contact-social-icon {
	color: #1E17E0;
}

.contacts-form {
	margin: 0;
	width: 100%;
}

.contacts-form__card {
	width: 100%;
	background: #ffffff;
	border-radius: 16px;
	padding: 32px;
}

.contacts-form__form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 24px;
}

.contacts-form__form .ui-btn--primary {
	font-family: Manrope;
	max-width: 236px;
	margin-left: auto;
}

@media (max-width: 1260px) {
	.contacts-layout {
		gap: 36px;
	}

	.contacts-layout-section {
		background-position: center
	}

	.contacts-layout__left {
		max-width: 480px;
		flex-basis: 480px;
	}

	.contacts-layout__right {
		max-width: 520px;
	}

	.contacts-form__card {
		padding: 24px;
	}
}

@media (max-width: 991px) {
	.contacts-layout-section {
		padding: 80px 0 64px;
		background-position: center
	}

	.contacts-layout {
		flex-direction: column;
		gap: 64px;
	}

	.contacts-layout__left,
	.contacts-layout__right {
		max-width: none;
		flex-basis: auto;
	}

	.contacts-form__card {
		padding: 20px;
	}

	.contact-list {
		margin: 0 auto;
		width: 100%;
		max-width: 100%;
	}

	.contact-list__title {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.contact-list__grid {
		grid-template-columns: 1fr 1fr;
		max-width: 100%;
		column-gap: 24px;
	}
}

@media (max-width: 768px) {
	.contacts-layout {
		flex-direction: column;
		gap: 24px;
	}

	.contact-list__title {
		font-size: 32px;
	}

	.contacts-layout__left,
	.contacts-layout__right {
		max-width: 100%;
		width: 100%;
	}

	.contacts-form__card {
		padding: 16px;
	}

	.contacts-form__form {
		gap: 16px;
	}

	.contacts-form__form .ui-btn--primary {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 560px) {
	.contacts-form__form {
		gap: 12px;
	}

	.contact-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
		column-gap: 16px;
	}

	.contact-list__item {
		grid-column: 1 / -1;
	}

	.contact-list__item:nth-last-child(-n+2) {
		grid-column: auto;
	}
}
