/* ЗОЛОТЫЕ ЛОКАЦИИ */
.locations-intro {
	padding: 140px 0 40px;
}

.locations-title {
	font-size: clamp(34px, 5vw, 60px);
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--green-deep);
}

.locations-subtitle {
	font-size: 18px;
	color: var(--muted);
	/* max-width: 600px; */
}

/* ФИЛЬТРЫ */
.locations-filters {
	padding: 20px 0 30px;
}

.locations-filter-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.locations-filter {
	border: none;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255,255,255,0.7);
	border: 1px solid rgba(0,0,0,0.06);
	font-weight: 600;
	cursor: pointer;
}

.locations-filter.active,
.locations-filter:hover {
	background: var(--green);
	color: #fff;
}

/* КАРТА */
.locations-map {
	width: 100%;
	height: 600px;
	border-radius: 24px;
	overflow: hidden;
	margin-bottom: 40px;
}

/* .map-card {
	width: 220px;
}

.map-card-image {
	height: 120px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	margin-bottom: 10px;
} */

.locations-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.location-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.location-card-img img {
	width: 100%;
	border-radius: 14px;
}

.location-card-title {
	margin-top: 8px;
	font-weight: 600;
}

.ymaps-2-1-79-image {
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

/* .map-card-gallery {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
}

.map-card-gallery img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
} */

/* КАРТОЧКА КАРТЫ */
.tour-map-card {
	width: 260px;
	font-family: 'Manrope', sans-serif;
	border-radius: 20px;
	overflow: hidden;
}

.tour-map-card-media {
	position: relative;
	height: 150px;
	border-radius: 18px;
	overflow: hidden;
	background: #e8dfd1;
	margin-bottom: 14px;
}

.tour-map-card-media img,
.tour-map-card-media div {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-size: cover;
	background-position: center;
	display: block;
}

.tour-map-card-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-bottom: 14px;
}

.tour-map-card-gallery a {
	display: block;
	height: 68px;
	border-radius: 12px;
	overflow: hidden;
	background: #e8dfd1;
}

.tour-map-card-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tour-map-card-title {
	display: block;
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.18;
	font-weight: 800;
	color: var(--green-deep);
}

.tour-map-card-text {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted);
}

.tour-map-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--green);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
}

.tour-map-card-link:hover {
	background: var(--green-deep);
	color: #fff !important;
}
/* КОНЕЦ */

.map-pin,
.route-map-pin {
	width: 180px;
	height: 106px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	pointer-events: auto;
}

.map-pin-img,
.route-map-pin-img {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 4px solid #fff;
	box-shadow: 0 10px 24px rgba(0,0,0,0.22);
	flex-shrink: 0;
}

.map-pin-title,
.route-map-pin-title {
	margin-top: 8px;
	max-width: 170px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,0.96);
	color: var(--green-deep);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* SINGLE LOCATION */
.location-single {
	position: relative;
}

/* HERO */
.location-hero {
	position: relative;
	min-height: 720px;
	display: flex;
	align-items: flex-end;
	padding: 180px 0 110px;
	overflow: hidden;
	color: #fff;
}

.location-hero-bg {
	position: absolute;
	inset: 0;
}

.location-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.location-hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(10,16,14,0.08) 0%,
			rgba(10,16,14,0.3) 40%,
			rgba(10,16,14,0.84) 100%
		);
}

.location-hero-content {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.location-title {
	font-size: clamp(42px, 6vw, 84px);
	line-height: .92;
	font-weight: 800;
	margin-bottom: 18px;
	letter-spacing: -0.05em;
}

.location-short {
	font-size: 20px;
	line-height: 1.8;
	color: rgba(255,255,255,0.86);
	max-width: 620px;
}

/* CONTENT */
.location-content-section {
	padding: 90px 0;
}

.location-content {
	font-size: 18px;
	line-height: 1.9;
	color: var(--text);
}

.location-content h2,
.location-content h3 {
	font-weight: 800;
	color: var(--green-deep);
	margin-top: 1.8em;
	margin-bottom: .7em;
}

/* GALLERY */
.location-gallery-section {
	padding: 0 0 120px;
}

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

.location-gallery-item {
	position: relative;
	display: block;
	border-radius: 24px;
	overflow: hidden;
}

.location-gallery-item img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	transition: transform .6s ease;
}

.location-gallery-item:hover img {
	transform: scale(1.06);
}

/* VIDEO LOCATION */
.location-video-section {
	padding: 0 0 90px;
}

.location-video-preview {
	position: relative;
	display: block;
	aspect-ratio: 16 / 8;
	border-radius: 34px;
	overflow: hidden;
	background: #d8cdbc;
	box-shadow: 0 28px 80px rgba(21,39,33,0.14);
}

.location-video-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s ease;
}

.location-video-preview::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 20% 18%, rgba(215,169,75,0.18), transparent 26%),
		linear-gradient(180deg, rgba(10,16,14,0.04) 0%, rgba(10,16,14,0.52) 100%);
	pointer-events: none;
}

.location-video-preview:hover img {
	transform: scale(1.055);
}

.location-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.92);
	color: var(--green-deep);
	font-size: 25px;
	box-shadow:
		0 18px 44px rgba(0,0,0,0.18),
		0 0 0 14px rgba(255,255,255,0.18);
	transition: .35s ease;
}

.location-video-play i {
	margin-left: 4px;
}

.location-video-preview:hover .location-video-play {
	transform: translate(-50%, -50%) scale(1.08);
	background: var(--gold);
	color: #2d2412;
}

.location-video-caption {
	position: absolute;
	left: 28px;
	bottom: 28px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.22);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

@media (max-width: 991.98px) {
	.location-video-preview {
		aspect-ratio: 16 / 9;
		border-radius: 28px;
	}
}

@media (max-width: 767.98px) {
	.location-video-section {
		padding: 0 0 70px;
	}

	.location-video-preview {
		border-radius: 22px;
	}

	.location-video-play {
		width: 64px;
		height: 64px;
		font-size: 20px;
	}

	.location-video-caption {
		left: 16px;
		bottom: 16px;
		min-height: 36px;
		padding: 0 12px;
		font-size: 12px;
	}
}