.as2-contacts,
.as2-contacts * {
	box-sizing: border-box;
}

.as2-contacts {
	color: #17212b;
	font-size: 15px;
	line-height: 1.5;
	margin: 18px 0 30px;
	text-align: left;
}

.as2-contacts a {
	color: #07588a;
	text-decoration: none;
}

.as2-contacts a:hover {
	text-decoration: underline;
}

/* Главный блок */

.as2-contacts__hero {
	background: #edf7fc;
	border: 1px solid #cfe3ee;
	border-radius: 14px;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) 260px;
	margin-bottom: 20px;
	padding: 26px;
}

.as2-contacts__label {
	color: #07588a;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .04em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.as2-contacts__hero h2 {
	color: #063d61;
	font-size: 27px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.as2-contacts__intro {
	color: #334454;
	font-size: 16px;
	margin: 0;
}

.as2-contacts__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
}

a.as2-contacts__button {
	align-items: center;
	border: 1px solid #07588a;
	border-radius: 8px;
	display: flex;
	font-size: 15px;
	font-weight: bold;
	justify-content: center;
	min-height: 46px;
	padding: 10px 15px;
	text-align: center;
}

.as2-contacts__button:hover {
	text-decoration: none !important;
}

.as2-contacts__button--primary {
	background: #07588a;
	color: #fff !important;
}

.as2-contacts__button--primary:hover {
	background: #063d61;
}

.as2-contacts__button--secondary {
	background: #fff;
	color: #07588a !important;
}

.as2-contacts__free-call {
	color: #5c6873;
	font-size: 12px;
	margin: -3px 0 0;
	text-align: center;
}

/* Карточки контактов */

.as2-contacts__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 25px;
}

.as2-contacts__card {
	background: #fff;
	border: 1px solid #d8e1e8;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(26, 54, 74, .06);
	min-width: 0;
	padding: 20px;
}

.as2-contacts__card-title {
	align-items: center;
	color: #063d61;
	display: flex;
	font-size: 17px;
	font-weight: bold;
	gap: 10px;
	margin: 0 0 12px;
}

.as2-contacts__icon {
	align-items: center;
	background: #07588a;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 17px;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	width: 38px;
}

a.as2-contacts__main-link {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3;
	margin-bottom: 4px;
	overflow-wrap: anywhere;
}

.as2-contacts__note {
	color: #5c6873;
	font-size: 13px;
	margin: 7px 0 0;
}

.as2-contacts__messengers {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

.as2-contacts__messengers a {
	background: #f5f8fa;
	border: 1px solid #d8e1e8;
	border-radius: 7px;
	display: inline-block;
	font-weight: bold;
	padding: 7px 10px;
}

/* Адрес и реквизиты */

.as2-contacts__section-title {
	color: #063d61;
	font-size: 23px;
	line-height: 1.25;
	margin: 0 0 14px;
}

.as2-contacts__info {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
}

.as2-contacts__address,
.as2-contacts__requisites {
	border: 1px solid #d8e1e8;
	border-radius: 12px;
	padding: 22px;
}

.as2-contacts__address {
	background: #fff;
}

.as2-contacts__requisites {
	background: #f7f9fa;
}

.as2-contacts__address h3,
.as2-contacts__requisites h3 {
	color: #063d61;
	font-size: 18px;
	margin: 0 0 10px;
}

.as2-contacts__address-text {
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5;
	margin: 0 0 10px;
}

.as2-contacts__address-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 15px;
}

.as2-contacts__address-links a {
	font-weight: bold;
	font-size:18px;
}

.as2-contacts__requisites dl {
	margin: 0;
}

.as2-contacts__requisites dt {
	color: #5c6873;
	font-size: 12px;
	margin: 10px 0 2px;
	text-transform: uppercase;
}

.as2-contacts__requisites dt:first-child {
	margin-top: 0;
}

.as2-contacts__requisites dd {
	font-weight: bold;
	margin: 0;
	overflow-wrap: anywhere;
}

/* Мобильная версия */

@media screen and (max-width: 760px) {
	.as2-contacts {
		font-size: 14px;
	}

	.as2-contacts__hero {
		grid-template-columns: 1fr;
		padding: 20px 17px;
	}

	.as2-contacts__hero h2 {
		font-size: 23px;
	}

	.as2-contacts__grid,
	.as2-contacts__info {
		grid-template-columns: 1fr;
	}

	.as2-contacts__card,
	.as2-contacts__address,
	.as2-contacts__requisites {
		padding: 18px;
	}

	.as2-contacts__section-title {
		font-size: 21px;
	}

	.as2-contacts__button {
		width: 100%;
	}
}