.contacts-list {
	display: flex;
	flex-direction: column;
	gap: 36px;
	margin-top: 36px;
}

.contacts__details {
	margin-top: 100px;
	margin-bottom: var(--spacing-xxl);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contacts__details-title {
	font-family: var(--font-family-primary);
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
	color: #283238;
	margin: 0;
}

.contacts__details-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contacts__details-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.contacts__details-label {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--color-gray-dark);
	flex-shrink: 0;
	min-width: 280px;
}

.contacts__details-value {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--color-primary);
	flex: 1;
	min-width: 0;
}

.contacts__download {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	text-decoration: none;
	color: var(--color-primary);
	transition: opacity 0.3s ease;
}

.contacts__download:hover {
	opacity: 0.7;
}

.contacts__download-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.contacts__download-text {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--color-primary);
}

.contacts__block {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.contacts__info {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

.contacts__section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.contacts__section--address {
	width: 519px;
	max-width: 100%;
}

.contacts__section--phone,
.contacts__section--email {
	width: 193px;
	max-width: 100%;
}

.contacts__section--hours {
	width: 194px;
	max-width: 100%;
}

.contacts__section-title {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: var(--color-primary);
	margin: 0;
}

.contacts__section-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contacts__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contacts__item-text {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--color-primary);
	margin: 0;
}

.contacts__item-label {
	font-family: var(--font-family-primary);
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	color: var(--color-gray-dark);
}

.contacts__item-link {
	font-family: var(--font-family-primary);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--color-primary);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.contacts__item-link:hover {
	opacity: 0.7;
}

.contacts__map {
	width: 100%;
	height: 531px;
	border-radius: 20px;
	overflow: hidden;
	background-color: var(--color-gray-light);
}

.contacts__map .ymaps-2-1-79-map {
	width: 100%;
	height: 100%;
}

@media (max-width: 992px) {
	.contacts-list {
		margin-top: 20px;
		gap: 20px;
	}

	.contacts__details {
		margin-top: 20px;
		gap: 18px;
	}

	.contacts__details-title {
		font-size: 20px;
		font-weight: 600;
		line-height: 24px;
	}

	.contacts__details-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.contacts__details-label {
		font-size: 16px;
		font-weight: 500;
		line-height: 20px;
		min-width: auto;
	}

	.contacts__details-value {
		font-size: 16px;
		line-height: 20px;
	}

	.contacts__block {
		gap: 20px;
	}

	.contacts__info {
		flex-direction: column;
		gap: 16px;
	}

	.contacts__section,
	.contacts__section--address,
	.contacts__section--phone,
	.contacts__section--email,
	.contacts__section--hours {
		width: 100%;
	}

	.contacts__map {
		height: 395px;
	}
}

@media (max-width: 480px) {
	.contacts__section {
		gap: 8px;
	}

	.contacts__section-title {
		font-size: 16px;
		line-height: 20px;
	}

	.contacts__section-content {
		gap: 8px;
	}

	.contacts__item-text,
	.contacts__item-link {
		font-size: 16px;
		line-height: 20px;
	}

	.contacts__item-label {
		font-size: 16px;
		line-height: 20px;
	}
}
