/*
Geo map section: Moscow and Moscow Oblast service area.
File: sections-modules/geo-map/geo-map.css
Version: v.3.14
*/

.geo-map,
.geo-map * {
	box-sizing: border-box;
}

.geo-map {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0;
	padding: clamp(60px, 5.5vw, 88px) 0 clamp(62px, 5.8vw, 92px);
	background:
		radial-gradient(circle at 78% 8%, rgba(11, 150, 198, 0.10) 0, rgba(11, 150, 198, 0) 34%),
		radial-gradient(circle at 20% 4%, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0) 38%),
		linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #edf7fd 100%);
	color: #151b2a;
	content-visibility: auto;
	contain-intrinsic-size: 980px;
}

.geo-map::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(circle, rgba(7, 31, 99, 0.08) 1px, transparent 1.7px);
	background-size: 15px 15px;
	background-position: right 76px top 62px;
	opacity: 0.24;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 78%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, transparent 62%, #000 78%, #000 100%);
}

.geo-map__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(300px, 0.40fr) minmax(600px, 0.60fr);
	gap: clamp(28px, 4vw, 58px);
	align-items: center;
	width: min(1480px, calc(100% - 36px));
	margin: 0 auto;
}

.geo-map__content {
	position: relative;
	z-index: 2;
	max-width: 570px;
}

.geo-map__eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 18px;
	padding: 9px 18px;
	border: 1px solid rgba(7, 31, 99, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 14px 34px rgba(7, 31, 99, 0.055);
	color: rgba(7, 31, 99, 0.70);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.geo-map__title {
	margin: 0;
	color: #071f63;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.geo-map__lead {
	margin-top: 20px;
	color: rgba(21, 27, 42, 0.78);
	font-size: clamp(16px, 1.08vw, 18px);
	font-weight: 400;
	line-height: 1.68;
}

.geo-map__text {
	margin-top: 16px;
	color: rgba(21, 27, 42, 0.70);
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.62;
}

.geo-map__lead p,
.geo-map__text p {
	margin: 0;
}

.geo-map__lead p + p,
.geo-map__text p + p {
	margin-top: 10px;
}

.geo-map__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 28px;
	padding: 0 26px;
	border-radius: 14px;
	background: linear-gradient(135deg, #1f8fc4 0%, #0b72b7 58%, #075ba2 100%);
	box-shadow: 0 16px 34px rgba(11, 114, 183, 0.22);
	color: #ffffff;
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.geo-map__button:hover,
.geo-map__button:focus-visible {
	color: #ffffff;
	box-shadow: 0 22px 44px rgba(11, 114, 183, 0.30);
	text-decoration: none;
	transform: translateY(-2px);
	outline: none;
}

.geo-map__desktop-cities {
	max-width: 560px;
	margin: 16px 0 0;
}

.geo-map__desktop-cities-summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	color: rgba(7, 31, 99, 0.72);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
}

.geo-map__desktop-cities-summary::-webkit-details-marker {
	display: none;
}

.geo-map__desktop-cities-summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.18s ease;
}

.geo-map__desktop-cities[open] .geo-map__desktop-cities-summary::after {
	transform: rotate(225deg) translate(-1px, -1px);
}

.geo-map__desktop-cities-summary:hover,
.geo-map__desktop-cities-summary:focus-visible {
	color: #071f63;
	outline: none;
}

.geo-map__desktop-cities-body {
	max-height: 260px;
	margin-top: 14px;
	padding: 16px;
	overflow: auto;
	border: 1px solid rgba(7, 31, 99, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
}

.geo-map__desktop-cities-title {
	margin: 0 0 12px;
	color: #071f63;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.25;
}

.geo-map__desktop-cities-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.geo-map__desktop-cities-list li {
	margin: 0;
	padding: 0;
}

.geo-map__desktop-cities-list span,
.geo-map__desktop-cities-list a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 7px 11px;
	border: 1px solid rgba(11, 150, 198, 0.14);
	border-radius: 999px;
	background: rgba(232, 248, 255, 0.62);
	color: rgba(7, 31, 99, 0.76);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
}

.geo-map__desktop-cities-list a:hover,
.geo-map__desktop-cities-list a:focus-visible {
	border-color: rgba(11, 150, 198, 0.30);
	background: #ffffff;
	color: #071f63;
	text-decoration: none;
	outline: none;
}

.geo-map__points {
	display: none !important;
}

.geo-map__visual {
	position: relative;
	z-index: 1;	
	min-width: 0;
}

.geo-map__visual::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 52%;
	z-index: -1;
	width: 86%;
	height: 72%;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(11, 150, 198, 0.15), rgba(11, 150, 198, 0) 64%);
	filter: blur(10px);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.geo-map__canvas {
	position: relative;
	width: 106%;
	margin-left: -3%;
	aspect-ratio: 1492 / 1054;
	min-height: 0;
}

.geo-map__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 24px 46px rgba(7, 31, 99, 0.11));
	user-select: none;
}

.geo-map__points {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.geo-map__city {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}


.geo-map__city-dot {
	position: absolute;
	left: var(--geo-map-x);
	top: var(--geo-map-y);
	display: block;
	width: 9px;
	height: 9px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: #0b96c6;
	box-shadow:
		0 0 0 3px rgba(11, 150, 198, 0.18),
		0 8px 18px rgba(7, 31, 99, 0.18);
	transform: translate(-50%, -50%);
	z-index: 3;
}

.geo-map__city-dot--featured {
	width: 15px;
	height: 15px;
	background: #071f63;
	box-shadow:
		0 0 0 4px rgba(11, 150, 198, 0.22),
		0 0 0 10px rgba(11, 150, 198, 0.10),
		0 12px 22px rgba(7, 31, 99, 0.20);
}

.geo-map__city-dot--quiet {
	width: 8px;
	height: 8px;
	opacity: 0.92;
}

.geo-map__city-label {
	position: absolute;
	left: var(--geo-map-label-x);
	top: var(--geo-map-label-y);
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 2px 6px;
	border: 1px solid rgba(7, 31, 99, 0.09);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 10px 22px rgba(7, 31, 99, 0.08);
	color: #071f63;
	font-size: clamp(7.4px, 0.56vw, 9.2px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.012em;
	white-space: nowrap;
	text-decoration: none;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	pointer-events: auto;
	z-index: 4;
}

.geo-map__city-label--right {
	transform: translate(5px, -50%);
}

.geo-map__city-label--left {
	transform: translate(calc(-100% - 5px), -50%);
}

.geo-map__city-label--top {
	transform: translate(-50%, calc(-100% - 5px));
}

.geo-map__city-label--bottom {
	transform: translate(-50%, 5px);
}

.geo-map__city-label:visited,
.geo-map__city-label:hover,
.geo-map__city-label:focus-visible {
	color: #071f63;
	text-decoration: none;
}

.geo-map__city-label--featured {
	min-height: 20px;
	padding: 3px 7px;
	font-size: clamp(8.2px, 0.62vw, 10px);
	background: rgba(255, 255, 255, 0.92);
	z-index: 5;
}

.geo-map__city-label--quiet {
	opacity: 0.9;
}

.geo-map__city-label--small {
	min-height: 16px;
	padding: 2px 5px;
	font-size: clamp(6.8px, 0.50vw, 8.2px);
}

.geo-map__cities {
	display: none;
	grid-column: 1 / -1;
	position: relative;
	margin-top: clamp(4px, 1vw, 12px);
	padding: clamp(18px, 2vw, 24px);
	border: 1px solid rgba(7, 31, 99, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 20px 54px rgba(7, 31, 99, 0.07);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.geo-map__cities-title {
	margin: 0 0 14px;
	color: #071f63;
	font-size: clamp(18px, 1.45vw, 22px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.016em;
}

.geo-map__cities-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.geo-map__cities-list-wrap {
	position: relative;
}

.geo-map__cities-toggle-button {
	display: none;
}

.geo-map__cities-toggle-text--less {
	display: none;
}

.geo-map__cities-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.geo-map__cities-list li {
	margin: 0;
	padding: 0;
}

.geo-map__cities-list span,
.geo-map__cities-list a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 12px;
	border: 1px solid rgba(11, 150, 198, 0.16);
	border-radius: 999px;
	background: rgba(232, 248, 255, 0.70);
	color: rgba(7, 31, 99, 0.76);
	font-size: 13.5px;
	font-weight: 650;
	line-height: 1.15;
	text-decoration: none;
}

.geo-map__cities-list a:hover,
.geo-map__cities-list a:focus-visible {
	border-color: rgba(11, 150, 198, 0.34);
	background: #ffffff;
	color: #071f63;
	text-decoration: none;
	outline: none;
}

@media (max-width: 1180px) {
	.geo-map__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.geo-map__content {
		max-width: 920px;
	}

	.geo-map__visual {
		width: min(100%, 980px);
		margin: 0 auto;
	}
}


@media (max-width: 920px) {
	.geo-map__desktop-cities {
		display: none;
	}

	.geo-map__cities {
		display: block;
		padding: 18px;
		border-radius: 20px;
	}

	.geo-map__cities-list-wrap {
		max-height: 112px;
		overflow: hidden;
		transition: max-height 0.28s ease;
	}

	.geo-map__cities-list-wrap::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 46px;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94) 74%);
		pointer-events: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-list-wrap {
		max-height: 760px;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-list-wrap::after {
		display: none;
	}

	.geo-map__cities-toggle-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		margin-top: 12px;
		padding: 0 16px;
		border: 1px solid rgba(11, 150, 198, 0.24);
		border-radius: 999px;
		background: #ffffff;
		box-shadow: 0 12px 24px rgba(7, 31, 99, 0.08);
		color: #071f63;
		font-size: 13.5px;
		font-weight: 800;
		line-height: 1.1;
		cursor: pointer;
		user-select: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-toggle-button .geo-map__cities-toggle-text--more {
		display: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-toggle-button .geo-map__cities-toggle-text--less {
		display: inline;
	}
}

@media (max-width: 760px) {
	.geo-map {
		padding: 52px 0 58px;
		contain-intrinsic-size: 1280px;
	}

	.geo-map__desktop-cities {
		display: none;
	}

	.geo-map__inner {
		width: min(100% - 24px, 1480px);
	}

	.geo-map__title {
		font-size: 34px;
		line-height: 1.08;
	}

	.geo-map__lead {
		font-size: 15.5px;
		line-height: 1.58;
	}

	.geo-map__text {
		font-size: 14.5px;
		line-height: 1.56;
	}

	.geo-map__canvas {
		width: calc(100% + 18px);
		margin-left: -9px;
	}

	.geo-map__city-label {
		display: none;
	}

	.geo-map__city-dot {
		width: 8px;
		height: 8px;
		box-shadow:
			0 0 0 2px rgba(11, 150, 198, 0.15),
			0 6px 14px rgba(7, 31, 99, 0.15);
	}

	.geo-map__city-dot--featured {
		width: 13px;
		height: 13px;
	}

	.geo-map__cities {
		display: block;
		padding: 18px;
		border-radius: 20px;
	}

	.geo-map__cities-list-wrap {
		max-height: 112px;
		overflow: hidden;
		transition: max-height 0.28s ease;
	}

	.geo-map__cities-list-wrap::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 46px;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94) 74%);
		pointer-events: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-list-wrap {
		max-height: 760px;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-list-wrap::after {
		display: none;
	}

	.geo-map__cities-toggle-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		margin-top: 12px;
		padding: 0 16px;
		border: 1px solid rgba(11, 150, 198, 0.24);
		border-radius: 999px;
		background: #ffffff;
		box-shadow: 0 12px 24px rgba(7, 31, 99, 0.08);
		color: #071f63;
		font-size: 13.5px;
		font-weight: 800;
		line-height: 1.1;
		cursor: pointer;
		user-select: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-toggle-button .geo-map__cities-toggle-text--more {
		display: none;
	}

	.geo-map__cities-toggle:checked ~ .geo-map__cities-toggle-button .geo-map__cities-toggle-text--less {
		display: inline;
	}

	.geo-map__cities-list {
		gap: 7px;
	}

	.geo-map__cities-list span,
	.geo-map__cities-list a {
		min-height: 30px;
		padding: 7px 10px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.geo-map__inner {
		width: min(100% - 18px, 1480px);
	}

	.geo-map__title {
		font-size: 30px;
	}

	.geo-map__button {
		width: 100%;
		min-height: 52px;
		padding: 0 18px;
	}

	.geo-map__cities-list span,
	.geo-map__cities-list a {
		font-size: 12.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.geo-map__button,
	.geo-map__desktop-cities-summary::after,
	.geo-map__cities-list-wrap,
	.geo-map__cities-list a {
		transition: none;
	}
}
