/* ==========================================================
   CSS Cable — страница «Контакты»
   ========================================================== */

.cssc-contacts {
	--contacts-accent: var(--c-accent, #c04852);
	--contacts-dark: #0d203f;
	--contacts-light: #f5f6f8;
	--contacts-text: #172033;
	--contacts-muted: #677083;
	--contacts-line: #e2e5ea;

	position: relative;
	width: 100%;
	overflow: hidden;
	color: var(--contacts-text);
	background: var(--contacts-light);
	font-family: var(--font);
}

.cssc-contacts *,
.cssc-contacts *::before,
.cssc-contacts *::after {
	box-sizing: border-box;
}

.cssc-contacts__container {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 64px), 1320px);
	margin-right: auto;
	margin-left: auto;
}

/* Первый экран */

.cssc-contacts__hero {
	position: relative;
	padding: clamp(72px, 8vw, 128px) 0 clamp(62px, 7vw, 105px);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(
			circle at 82% 18%,
			rgba(192, 72, 82, 0.22),
			transparent 27%
		),
		linear-gradient(135deg, #07162a 0%, var(--contacts-dark) 100%);
}

.cssc-contacts__hero::before {
	position: absolute;
	top: -220px;
	right: -130px;
	width: 570px;
	height: 570px;
	border: 90px solid rgba(255, 255, 255, 0.035);
	border-radius: 50%;
	content: "";
}

.cssc-contacts__hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
	content: "";
}

.cssc-contacts__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	color: #ef7a84;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.cssc-contacts__eyebrow::before {
	display: block;
	width: 38px;
	height: 2px;
	background: currentColor;
	content: "";
}

.cssc-contacts__title {
	max-width: 980px;
	margin: 0;
	color: #fff;
	font-size: clamp(54px, 8vw, 112px);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.055em;
	text-transform: uppercase;
}

.cssc-contacts__intro {
	max-width: 720px;
	margin-top: 36px;
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(17px, 1.8vw, 22px);
	line-height: 1.55;
}

.cssc-contacts__intro p {
	margin: 0;
}

/* Основное содержимое */

.cssc-contacts__main {
	padding: clamp(72px, 8vw, 118px) 0;
	background: var(--contacts-light);
}

.cssc-contacts__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(38px, 6vw, 92px);
	align-items: start;
}

.cssc-contacts__section-number {
	margin-bottom: 22px;
	color: var(--contacts-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.15em;
}

.cssc-contacts__heading {
	margin: 0 0 34px;
	color: var(--contacts-text);
	font-size: clamp(30px, 3.5vw, 50px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

/* Контактные строки */

.cssc-contacts__list {
	border-top: 1px solid var(--contacts-line);
}

.cssc-contacts__contact {
	position: relative;
	display: grid;
	grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 86px;
	padding: 17px 4px;
	border-bottom: 1px solid var(--contacts-line);
	transition:
		color 180ms ease,
		padding 180ms ease;
}

.cssc-contacts__contact:not(.cssc-contacts__contact--static):hover {
	padding-right: 12px;
	padding-left: 12px;
	color: var(--contacts-accent);
}

.cssc-contacts__contact-label {
	color: var(--contacts-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cssc-contacts__contact-value {
	min-width: 0;
	font-size: clamp(16px, 1.7vw, 22px);
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
}

.cssc-contacts__contact-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--contacts-accent);
	font-size: 21px;
	line-height: 1;
	transition: transform 180ms ease;
}

.cssc-contacts__contact:hover .cssc-contacts__contact-arrow {
	transform: translate(3px, -3px);
}

/* Адреса */

.cssc-contacts__address-list {
	border-top: 1px solid var(--contacts-line);
}

.cssc-contacts__address {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 22px;
	padding: 27px 0;
	border-bottom: 1px solid var(--contacts-line);
}

.cssc-contacts__address-index {
	color: var(--contacts-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.cssc-contacts__address h3 {
	margin: 0 0 9px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.cssc-contacts__address p {
	max-width: 450px;
	margin: 0;
	color: var(--contacts-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* Карта */

.cssc-contacts__map-section {
	margin-top: clamp(80px, 9vw, 140px);
}

.cssc-contacts__map-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
	gap: 50px;
	align-items: end;
	margin-bottom: 36px;
}

.cssc-contacts__map-head .cssc-contacts__heading {
	margin-bottom: 0;
}

.cssc-contacts__map-head > p {
	max-width: 470px;
	margin: 0 0 5px auto;
	color: var(--contacts-muted);
	font-size: 16px;
	line-height: 1.65;
}

.cssc-contacts__map {
	position: relative;
	width: 100%;
	min-height: 520px;
	overflow: hidden;
	background: #dfe3e9;
}

.cssc-contacts__map iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.25);
}

/* Нижняя часть */

.cssc-contacts__bottom {
	display: grid;
	grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
	gap: 22px;
	margin-top: 22px;
}

.cssc-contacts__requisites {
	padding: clamp(30px, 4vw, 52px);
	background: #fff;
	border: 1px solid var(--contacts-line);
}

.cssc-contacts__requisites .cssc-contacts__heading {
	margin-bottom: 26px;
	font-size: clamp(25px, 2.6vw, 38px);
}

.cssc-contacts__requisites-text {
	color: var(--contacts-muted);
	font-size: 14px;
	line-height: 1.75;
}

.cssc-contacts__requisites-text p {
	margin: 0 0 9px;
}

.cssc-contacts__requisites-text p:last-child {
	margin-bottom: 0;
}

.cssc-contacts__requisites-text strong {
	color: var(--contacts-text);
	font-size: 16px;
}

/* CTA */

.cssc-contacts__cta {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 400px;
	padding: clamp(35px, 5vw, 68px);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(
			circle at 90% 10%,
			rgba(255, 255, 255, 0.1),
			transparent 30%
		),
		var(--contacts-dark);
}

.cssc-contacts__cta::after {
	position: absolute;
	right: -125px;
	bottom: -215px;
	width: 430px;
	height: 430px;
	border: 68px solid rgba(192, 72, 82, 0.18);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.cssc-contacts__cta-content,
.cssc-contacts__cta-button {
	position: relative;
	z-index: 2;
}

.cssc-contacts__cta h2 {
	max-width: 620px;
	margin: 0;
	color: #fff;
	font-size: clamp(35px, 5vw, 66px);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}

.cssc-contacts__cta p {
	max-width: 620px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 16px;
	line-height: 1.65;
}

.cssc-contacts__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	align-self: flex-start;
	gap: 40px;
	min-width: 245px;
	margin-top: 40px;
	padding: 16px 19px 16px 22px;
	color: #fff;
	background: var(--contacts-accent);
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.cssc-contacts__cta-button:hover {
	background: #a83d47;
	transform: translateY(-2px);
}

.cssc-contacts__cta-button span:last-child {
	font-size: 18px;
	transition: transform 180ms ease;
}

.cssc-contacts__cta-button:hover span:last-child {
	transform: translate(2px, -2px);
}

/* Elementor */

.elementor-editor-active .cssc-contacts {
	overflow: visible;
}

/* Адаптив */

@media (max-width: 960px) {
	.cssc-contacts__top,
	.cssc-contacts__bottom {
		grid-template-columns: minmax(0, 1fr);
	}

	.cssc-contacts__addresses {
		margin-top: 25px;
	}

	.cssc-contacts__map {
		min-height: 430px;
	}
}

@media (max-width: 720px) {
	.cssc-contacts__container {
		width: min(calc(100% - 38px), 1320px);
	}

	.cssc-contacts__hero {
		padding: 62px 0 58px;
	}

	.cssc-contacts__title {
		font-size: clamp(46px, 17vw, 72px);
	}

	.cssc-contacts__intro {
		margin-top: 25px;
		font-size: 16px;
	}

	.cssc-contacts__main {
		padding: 66px 0;
	}

	.cssc-contacts__contact {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 18px;
		padding: 19px 0;
	}

	.cssc-contacts__contact-label {
		grid-column: 1 / -1;
	}

	.cssc-contacts__contact--static {
		display: block;
	}

	.cssc-contacts__contact--static .cssc-contacts__contact-value {
		display: block;
		margin-top: 8px;
	}

	.cssc-contacts__map-head {
		display: block;
	}

	.cssc-contacts__map-head > p {
		margin: 18px 0 0;
	}

	.cssc-contacts__map {
		min-height: 360px;
	}

	.cssc-contacts__bottom {
		margin-top: 16px;
	}

	.cssc-contacts__cta {
		min-height: 370px;
	}

	.cssc-contacts__cta-button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.cssc-contacts__contact-value {
		font-size: 16px;
	}

	.cssc-contacts__address {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 12px;
	}

	.cssc-contacts__map {
		min-height: 320px;
	}
}
/* Официальный виджет 2GIS */

.cssc-contacts__map {
	position: relative;
	display: block;
	width: 100%;
	height: 600px;
	min-height: 600px;
	overflow: hidden;
	background: #e5e7eb;
	border: 1px solid var(--contacts-line);
}

.cssc-contacts__map iframe {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	border: 0 !important;
}

.cssc-contacts__map .dg-widget-link {
	position: absolute;
	z-index: 3;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 16px;
	color: #fff;
	background: var(--contacts-dark);
	box-shadow: 0 10px 28px rgba(13, 32, 63, 0.2);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.cssc-contacts__map .dg-widget-link:hover {
	color: #fff;
	background: var(--contacts-accent);
	transform: translateY(-2px);
}

.cssc-contacts__map-noscript {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 300px;
	padding: 30px;
	color: #c00;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 720px) {
	.cssc-contacts__map {
		height: 430px;
		min-height: 430px;
	}

	.cssc-contacts__map .dg-widget-link {
		right: 12px;
		bottom: 12px;
		max-width: calc(100% - 24px);
	}
}

@media (max-width: 480px) {
	.cssc-contacts__map {
		height: 380px;
		min-height: 380px;
	}
}
