
.contacts {
	display: flex;
}

.contacts a {
	text-decoration: none;
}

.contacts--header .contacts__messenger,
.contacts__messenger,
.contacts__phone {
	transition: background .4s;
}

.contacts__messenger, .contacts__phone {
	border-radius: 44px;
}

.contacts__messenger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 53px;
	height: 53px;
	color: var(--text-white);
	font-size: 24px;
}

.mobile-menu-on .contacts__messenger {
	color: var(--text-main);
}


.contacts--header .contacts__messenger {
	margin-right: 16px;
}

.contacts__phone {
	padding: 8px 16px;
	align-self: center;
}

.contacts__phone-text, .contacts__phone-number {
	display: block;
	line-height: 120%;
	white-space: nowrap;
}

.contacts__phone-text {
	color: var(--text-main);
	font-size: 12px;
	font-weight: 400;
}

.contacts__phone-number {
	color: var(--text-main);
	font-size: 14px;
}


.contacts--header .contacts__messenger {
	background: transparent;
}

.contacts--header .contacts__messenger:hover {
	background: var(--color-darker);
}

.contacts__phone {
	background-color: var(--brand-yellow);
}

.contacts__phone:hover {
	background-color: var(--faded-yellow);
}

.contacts__phone-text, .contacts__phone-number {
	text-align: center;
}

@media (max-width: 1399px) {
	.contacts--header .contacts__messenger {
		margin-right: 8px;
	}

	.contacts__messenger {
		width: 38px;
		height: 38px;
	}

	.contacts__phone {
		align-self: center;
	}

	.contacts__phone-text {
		display: none;
	}
}


@media (max-width: 1199px) {
	.contacts--header .contacts__messenger {
		margin-right: 16px;
	}

	.contacts__messenger {
		width: 48px;
		height: 48px;
	}

	.contacts__phone {
		padding: 16px 18px;
	}
}

@media (max-width: 575px) {
	.contacts__messenger {
		width: 38px;
		height: 38px;
	}

	.contacts__phone {
		padding: 10px 18px;
	}
}