.contacts-page {
	color: #161616;
}

.contacts-page section {
	margin-bottom: 56px;
}

.contacts-crumbs {
	margin-bottom: 22px;
	font-size: 15px;
	color: #666;
}

.contacts-crumbs a {
	color: inherit;
}

.contacts-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	gap: 26px;
	align-items: stretch;
	padding: 54px;
	border-radius: 32px;
	background: #ffffff;
}

.contacts-hero__label,
.contacts-card span,
.contacts-office span {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #6a5b00;
}

.contacts-hero h1 {
	margin-bottom: 18px;
}

.contacts-hero__lead {
	max-width: 760px;
	margin-bottom: 28px;
	font-size: 21px;
	line-height: 1.5;
}

.contacts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.contacts-actions .btn,
.contacts-actions .contacts-link-button {
	min-width: 166px;
}

.contacts-link-button,
.contacts-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	background: #ffffff;
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

.contacts-link-button:hover,
.contacts-copy:hover,
.contacts-card--link:hover,
.contacts-office a:hover {
	color: #111;
	text-decoration: none;
}

.contacts-link-button:focus-visible,
.contacts-copy:focus-visible,
.contacts-card--link:focus-visible,
.contacts-office a:focus-visible,
.contacts-faq summary:focus-visible {
	outline: 3px solid rgba(249, 66, 58, .35);
	outline-offset: 3px;
}

.contacts-hero__panel {
	display: grid;
	gap: 12px;
	align-content: center;
}

.contacts-hero__panel div {
	padding: 18px;
	border-radius: 8px;
	background: #fbdd40;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.contacts-section {
	padding: 42px;
	border-radius: 28px;
	background: #ffffff;
}

.contacts-section--yellow {
	background: #fbdd40;
}

.contacts-section h2,
.contacts-callback h2 {
	margin-bottom: 24px;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
}

.contacts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.contacts-card,
.contacts-office {
	min-height: 100%;
	padding: 24px;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	background: #ffffff;
}

.contacts-card--link {
	color: #111;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease;
}

.contacts-card--link:hover {
	border-color: #c9a900;
	transform: translateY(-2px);
}

.contacts-card--accent {
	border-color: #fbdd40;
	box-shadow: inset 0 0 0 2px #fbdd40;
}

.contacts-card--max {
	border-color: #e7e7e7;
}

.contacts-card strong,
.contacts-office h3,
.contacts-requisites strong {
	display: block;
	margin-bottom: 12px;
	font-size: 22px;
	line-height: 1.25;
	color: #111;
}

.contacts-card p,
.contacts-office p,
.contacts-section p,
.contacts-faq p,
.contacts-route p {
	font-size: 17px;
	line-height: 1.55;
}

.contacts-offices {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 18px;
}

.contacts-section--yellow .contacts-office {
	border-color: rgba(0, 0, 0, .12);
}

.contacts-office--main {
	box-shadow: inset 0 0 0 3px #111;
}

.contacts-office a {
	display: inline-flex;
	margin-top: 6px;
	color: #111;
	font-weight: 700;
}

.contacts-reasons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.contacts-reasons div {
	padding: 18px;
	border-radius: 8px;
	background: #f7f7f7;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.contacts-section__head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.contacts-section__head h2 {
	margin-bottom: 0;
}

.contacts-copy {
	cursor: pointer;
}

.contacts-requisites {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	overflow: hidden;
}

.contacts-requisites div {
	display: grid;
	grid-template-columns: minmax(140px, .42fr) minmax(0, 1fr);
	gap: 16px;
	padding: 18px;
	border-right: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}

.contacts-requisites div:nth-child(2n) {
	border-right: 0;
}

.contacts-requisites div:last-child {
	grid-column: 1 / -1;
	border-right: 0;
	border-bottom: 0;
}

.contacts-requisites span {
	color: #666;
	font-size: 16px;
}

.contacts-requisites strong {
	margin-bottom: 0;
	font-size: 18px;
}

.contacts-callback {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: 34px;
	align-items: center;
	padding: 46px;
	border-radius: 28px;
	background: #fbdd40;
}

.contacts-callback p {
	max-width: 720px;
	font-size: 19px;
	line-height: 1.55;
}

.contacts-form {
	padding: 26px;
	border-radius: 8px;
	background: #ffffff;
}

.contacts-form .formtel {
	text-align: left !important;
}

.contacts-form input {
	width: 100%;
}

.contacts-form .btn {
	width: 100%;
	margin-top: 12px;
}

.contacts-faq details {
	border-top: 1px solid #e2e2e2;
}

.contacts-faq details:last-child {
	border-bottom: 1px solid #e2e2e2;
}

.contacts-faq summary {
	cursor: pointer;
	padding: 18px 0;
	font-size: 20px;
	font-weight: 700;
}

.contacts-faq details p {
	padding-bottom: 18px;
	margin-bottom: 0;
}

.contacts-route__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.contacts-route__grid div {
	padding: 24px;
	border-radius: 8px;
	background: #f7f7f7;
}

.contacts-route h3 {
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 700;
}

.contacts-map {
	min-height: 400px;
	overflow: hidden;
	border-radius: 8px;
	background: #f7f7f7;
}

.contacts-map iframe {
	display: block;
	width: 100%;
	max-width: 100%;
}

@media (max-width: 991px) {
	.contacts-hero,
	.contacts-callback {
		grid-template-columns: 1fr;
	}

	.contacts-grid,
	.contacts-offices,
	.contacts-reasons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.contacts-hero,
	.contacts-section,
	.contacts-callback {
		padding: 28px 22px;
		border-radius: 22px;
	}

	.contacts-hero__lead,
	.contacts-callback p {
		font-size: 18px;
	}

	.contacts-actions {
		align-items: stretch;
	}

	.contacts-actions .btn,
	.contacts-actions .contacts-link-button {
		width: 100%;
		min-width: 0;
		min-height: 48px;
	}

	.contacts-section h2,
	.contacts-callback h2 {
		font-size: 28px;
	}

	.contacts-grid,
	.contacts-offices,
	.contacts-reasons,
	.contacts-requisites,
	.contacts-callback,
	.contacts-route__grid {
		grid-template-columns: 1fr;
	}

	.contacts-requisites div,
	.contacts-requisites div:nth-child(2n) {
		grid-template-columns: 1fr;
		border-right: 0;
		border-bottom: 1px solid #e7e7e7;
	}

	.contacts-requisites div:last-child {
		border-bottom: 0;
	}
}
